@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');
* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

body{
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
    background-size: 16px 16px;
    background-repeat: repeat;
    background-position: center center;
    font-feature-settings: "palt";
}

header{
    width: 96%;
    margin-right: auto;
    margin-left: auto;
    display: block;

}

  
  /*** 全文字にアニメーションを適用 ***/
.bound{
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -5%;
}
.bound span{
    display: inline-block; /*横並びにしつつアニメーションを適用*/
    animation: .5s bound-anim ease-in-out infinite alternate;
    
}

@keyframes bound-anim{
    0%{transform: translateY(0);}
    100%{transform: translateY(3vw);}
  }

  
  /*** 各文字のスタート時間をずらす ***/
  /* 1文字目 */
  .bound span:nth-child(1){
    animation-delay: 0;
    font-size: 8vw;
    font-weight: bold;
    color: #A0E060;
    text-shadow: 1px 2px 3px #333; 
  }
  /* 2文字目 */
  .bound span:nth-child(2){
    animation-delay: 0.2s;
    font-size: 8vw;
    font-weight: bold;
    color: #FF5C8A;
    text-shadow: 1px 2px 3px #333; 
  }
  /* 3文字目 */
  .bound span:nth-child(3){
    animation-delay: 0.4s;
    font-size: 8vw;
    font-weight: bold;
    color: #FFE156;
    text-shadow: 1px 2px 3px #333; 
  }
  /* 4文字目 */
  .bound span:nth-child(4){
    animation-delay: 0.6s;
    font-size: 8vw;
    font-weight: bold;
    color: #89CFF0;
    text-shadow: 1px 2px 3px #333; 
  }
  .bound span:nth-child(5){
    animation-delay: 0.8s;
    font-size: 8vw;
    font-weight: bold;
    color: #A66DD4;
    text-shadow: 1px 2px 3px #333; 
  }
  /*** 装飾用 ***/
  .rayner_h1{
    text-align: center;
  }
.rayner_h1 a{
    color:  #FF6F61;
    text-decoration: none;
    font-size: 3vw;

}
.rayner_nav{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
   
    
}
.rayner_nav ul{
    display: flex;
    list-style: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  
}
.rayner_nav ul li{
    width: 25%;
    text-align: center;
  
}
.rayner_nav ul li a{
    text-decoration: none;
    color: #FF6F61;
    font-weight: 600;
    font-size: 3vw;
}



.rayner_container{
    width: 96%;
    margin-right: auto;
    margin-left: auto;
}


.rayner_main_visual{
    width: 100%;
    height: 40vw;
    margin-right: auto;
    margin-left: auto;
    position: relative;
 

}
.rayner_main_visual img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% 40%;
  
}

.box{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin: 2% auto;
    position: relative;
    
}

.rayner_p{
    width: 100%;
}
.rayner_p p{
    font-size: 16px;
}
.rayner_img{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    height: 50vw;
    overflow: hidden;
    display: none;
}

.rayner_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.1s;
    object-position: center -10vw;
    display: none;
    
}
.rayner_img img:hover{
    transform: scale(1.1);
    transition: 0.1s;
    display: none;
}

.introarea{
    width: 100%;
    height: 100%;

    color: #545a5d;
    font-size: 2vw;
    line-height: 2;
    font-weight: 600;
    
}
.introarea a{
   font-size: 3vw;
    color: #FF6F61;
}
.rayner_p p:nth-child(6){
    margin-top: 1vw;
}
.intro{
    color:  #FF6F61;
    font-size: 4vw;
    font-weight: 700;
    opacity: 0.7;
   
}

.member_introduction{
    display: flex;
    flex-direction: column;
    margin-bottom: 5%;

}

.txt {
    display: flex;
    overflow: hidden;
    
}

.txt p {
    
    font-weight: bold;
    letter-spacing: .06em;
    margin: 0;

    /* ここからアニメーション関係 */
    transform: translateY(2em);
    animation: textanimation 1s forwards;
}
/* 1文字目 */
.txt p:nth-child(1) {
    animation-delay: 0.2s;
    color: #FF6F61;
    font-size: 8vw;
}
/* 2文字目 */
.txt p:nth-child(2) {
    animation-delay: 0.4s;
    color: #FF6F61;
    font-size: 8vw;

}
/* 3文字目 */
.txt p:nth-child(3) {
    
    animation-delay: 0.6s;
    color: #FF6F61;
    font-size: 8vw;
/* 4文字目 */
}
.txt p:nth-child(4) {
    animation-delay: 0.8s;
    color: #FF6F61;
    font-size: 8vw;
}
/* 5文字目 */
.txt p:nth-child(5) {
    animation-delay: 1s;
    color: #FF6F61;
    font-size: 8vw;
}
/* 6文字目 */
.txt p:nth-child(6) {
    animation-delay: 1.2s;
    color: #FF6F61;
    font-size: 8vw;
}


@keyframes textanimation {
    0% {
        transform: translateY(2em);
    }

    100% {
        transform: translateY(0);
    }
}
.profile-card{
    
    width: 100%;
   height: 125vw;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    margin: 3% 0;
    border-radius: 1vw;    
}
.profile-name{
    color:#333333;
    text-align: center;
    font-size: 5vw;
    margin-top: 1.5vw;
    font-weight: bold;
    transform: capitalize;
  
}
.profile-description{
    line-height: 2;
   margin-top: 3%;
   font-weight: 600;
    color: #333333;
    font-size: 3.5vw;
}
.profile-content{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 8%;
}
.profile-picture{
    margin-right: auto;
    margin-left: auto;
    width: 30vw;
    height: 30vw;
    border-radius: 50%;
    overflow: hidden;
    border: 0.1vw solid #F9F9F9;
    
}
.profile-picture img{
    width: 100%;
    height: 100%;
 
    transition: 0.5s ease;
    object-fit: cover;
}
.profile-picture img:hover{
    transform: scale(1.08);
    cursor: pointer;
}

.social-icons{
    display: flex;
    justify-content: space-between;
    width: 40%;
    margin: 1% auto 0 auto;
    list-style-type: none;
    padding: 0;
}

.social-icons li a{
    font-size: 5vw;
    color: #F9F9F9;
   text-decoration: none;

   
}

.shimin{
    background-color: #FF5C8A;
}
.ray{
    background-color: #A0E060;
}
.rachel{
    background-color: #FFE156;
}
.bliss{
    background-color: #89CFF0;
}
footer{
    padding: 1%;
    background-color: #FF6F61;
    text-align: center;
    color: #F9F9F9;
}
.typing {
    width: 16ch; 
    animation: typing 2s steps(16), blink .5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden; 
    border-right: 0.2vw solid #FF6F61; 
    font-size: 24px;
    color: #FF6F61;
    font-weight: 600;
    margin-bottom: 3%;
  }
  
  @keyframes typing {
    from {
      width: 0 
    }
  }
      
  @keyframes blink {
    50% {
      border-color: transparent 
    }
  }
  