
.hero{
   width: 100%;
   height: 500px;
   position: relative;
}
.item{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: img-change 20s infinite;
    opacity: 0;
}
.item:nth-child(1){
    animation-delay: 0s;
}
.item:nth-child(2){
    animation-delay: 5s;
}
.item:nth-child(3){
    animation-delay: 10s;
}
.item:nth-child(4){
    animation-delay: 15s;
}
.item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes img-change{
  0%{opacity: 0;
  }
  10%{opacity: 1;
  }
  20%{opacity: 1;
  }
  30%{opacity: 1;
  }
  40%{opacity: 0;
  }
  100%{opacity: 0;
  }
}


.about{
    padding: 30px;
    text-align: center;
    background-color:#fff;
}
.about h2{
    font-size: clamp(22px,3.2vw,36px);
    margin-bottom: 20px;
}
.about p{
    font-size: clamp(16px,4vw,24px);
}
.YOKO{
    background-color: #F8F2F7;
    display: flex;
    align-items: center;
}
.YOKOtext{
    max-width: 60%;
    padding: 20px;
    font-size: clamp(16px,4vw,24px)
}
.YOKOtext h2{
    font-size: 32px;
    margin-bottom: 5px;
}
.YOKOimg{
    max-width: 40%;
}

.TATSU{
    background-color: #E5EDE9;
    display: flex;
    align-items: center;
}

.TATSUimg{
    max-width: 40%;
   
}
.TATSUtext{
 font-size: clamp(16px,4vw,24px);
 max-width: 60%;
 padding: 20px;
}
.TATSUtext h2{
 font-size: 32px;
 margin-bottom: 5px;
}
.ig{
    padding-top: 15px;
    padding-right: 20px;
    text-align: right;
}