.header{
    width: 1000px;
    height: 100%;
    background-color: #FF0000;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    padding-top: 20px;
}

.firstview{
    width: 100%;
    height: 100%;
    padding-bottom: 350px;
    background-image: url(./image/monst.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

.ibent{
    width: 2000px;
    height: 325px;
    justify-content: space-evenly;
    display: flex;
    flex-wrap: rap;
    overflow: hidden;
}

.ibent a:hover, .mi a:hover{
  color: blue;               
  transition: color 0.01s ease;
}

.ibent > div {
  width: 250px;
  height: 250px;
}

.tyozetu{
    position: relative;
    background-image: url(./image/izanami.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 300px;
    text-align: center;
    padding: 20px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0px;
}

.tyozetutext,.EXtext,.gouzetutext,.reizetutext,.tyoukyukyokutext,.sonotatext{
    color: black;
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;                   
    border-radius: 4px;  
}

.EX{
    position: relative;
    background-image: url(./image/avaron.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 300px;
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0px;
}

.gouzetu{
    position: relative;
    background-image: url(./image/syuringa_ra.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 300px;
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0px;
}

.reizetu{
    position: relative;
    background-image: url(./image/fo_sa_.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 300px;
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0px;
}

.tyoukyukyoku{
    position: relative;
    background-image: url(./image/da-vinsreibu.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 300px;
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0px;
}

.sonota{
    position: relative;
    background-image: url(./image/kappa.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 300px;
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0px;
}

.bun{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-size: 24px;
}

.tyubun{
    font-size: 20px;
}

.syoubun{
    font-size: 18px;
    margin: 10px 0px;
    text-align: center;
}

.setu{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    font-size: 24px;
    color: black;
    background-color: orange; 
    padding: 20px 0px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.sen {
  border: none;
  border-bottom: 5px solid #000000;
  margin: 16px 0;
}

.left{
    display: block;
  text-align: left;
  margin-left: 20px; 
  font-size: 24px; 
}

.srcimg{
    justify-content: center;
    align-items: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kakoi{
    background-color: rgba(85, 83, 83, 0.342); 
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);  
    margin-top: 10px;
    margin-bottom: 30px;
}

.maie{
    display: block;
    color: black;
    font-size: 24px;
    text-align: center;
}

#scro {
  width: 100%;
  white-space: nowrap;
  position: relative;
  margin-bottom: 35px;
}

#scro2 {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  color: black;
}