
.container{
    width: 100%;
    display: flex;
}
.contents{
    width: 100%;
    margin: auto;
    background: #fff;
}
#sb_instagram .sb_instagram_header p, .sb_instagram_header p{
    color: #000;
}
/* =====  FV  ===== */
.fv{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background-image: url(../img/fv-new-background.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

}
.fv-contents{
    padding: 20rem 0 5rem;
}
.txt-gld {
    display: inline-block;
    color: black;
    font-weight: bold;
  }

  .txt-gld .gld-span {
    display: inline-block;
    animation: colorLoop 5s linear infinite;
    color: black;
  }
  
  /* アニメーションで一文字ずつ濃い青に */
  .txt-gld .gld-span:nth-child(1) { animation-delay: 0s; }
  .txt-gld .gld-span:nth-child(2) { animation-delay: 0.3s; }
  .txt-gld .gld-span:nth-child(3) { animation-delay: 0.6s; }
  .txt-gld .gld-span:nth-child(4) { animation-delay: 0.9s; }
  .txt-gld .gld-span:nth-child(5) { animation-delay: 1.2s; }
  .txt-gld .gld-span:nth-child(6) { animation-delay: 1.5s; }
  .txt-gld .gld-span:nth-child(7) { animation-delay: 1.8s; }
  .txt-gld .gld-span:nth-child(8) { animation-delay: 2.1s; }
  .txt-gld .gld-span:nth-child(9) { animation-delay: 2.4s; }
  
  @keyframes colorLoop {
    0%, 100% { color: black; }
    50%     { color: #00507e; }
  }
  
  @keyframes colorLoop {
    0%, 100%   { color: black; }
    50%        { color: #00507e; }
  }



/* ===== apl ===== */
.apl{
    width: 100%;
    display: flex;
    background-image: url(../img/wave-long.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    height: 1700px;
}
.apl-container{
    display: flex;
    position: relative;
    width: 100%;
}
.apl-container::before {
  position: absolute;
  content: '';
  left: 5%;
  top: var(--before-top, 10%);
  width: 25vw;
  height: 40vh;
  background-image: url(../img/apl-lt.png);
  /* background-position: 17% 0; */
  background-position: top;
  background-size: cover;
  border-radius: 10px;
  transition: top 0.2s ease-out;
  display: var(--display,block);

}
.apl-container::after {
  position: absolute;
  content: '';
  right: 5%;
  top: var(--after-top, 12%);
  width: 25vw;
  height: 40vh;
  background-image: url(../img/apl-rt.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  transition: top 0.2s ease-out;
  display: var(--display,1);
}
.apl-back{
    width: 25vw;
    /* width: 100vw; */
    height: 40vh;
    position: relative;
    z-index: 200;
    background-image: url(../img/apl-ct.jpeg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;

}
/* #scaling-box {
    position: fixed;
    width: 25vw;
    height: 40vh;
    transition: width 0.2s, height 0.2s;
    left: 50%;
    transform: translate(-50%, 75%);
    top: 0;
  } */
#scaling-box {
  position: sticky;       /* sticky のままでOK */
  top: 0;
  left: 50%;              /* 中央寄せのために必要 */
  width: 100vw;           /* scale(1)時の最大サイズにする */
  height: 100vh;
  transform: translate(-50%, 75%) scale(0.25); /* 中央起点で拡大 */
  transform-origin: center center;
  will-change: transform, opacity;
  z-index: 200;
  border-radius: 45px;
}

  #blackback{
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
  }
  #aplContents{
    width: 100%;
    height: 100%;
    z-index: 300;
    position: absolute; 
     opacity: 0;
     top: 0;
     display: flex;
      transition: opacity 0.4s ease !important;
  }
  .apl-box{
    display: flex;
    flex-direction: column;
    gap: 10rem;
    margin: 0 auto;
  }
  .apl-tp {
    display: flex;
    position: sticky;
    top: 55%;
    transform: translateY(-50%);
}
  .apl-tp>div{
    width: 80%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  .apl-top-rt-box{
    width: auto;
    height: auto;
    position: relative;
  }
  .apl-tp-rt img{
    max-width: 300px;
    width: 80%;
    aspect-ratio: 5/6;
    border-radius: 10px;
    position: relative;
    object-fit: cover;
  }
  .apl-top-rt-box::after{
    content: '';
    position: absolute;
    z-index: 3;
    background: url(../img/apl-lt.JPG);
    background-size: cover;
    width: 250px;
    aspect-ratio: 5/6;
    bottom: -100px;
    right: 0;
    border-radius: 10px;
}
  .apl-tp-lt{
   margin: auto;
  }
  .apl-tp-lt-h2{
    color: #fff;
  }
  .apl-tp-txt{
    line-height: 1.7;
    color: #fff;
  }
  .apl-btn{
    background: #fff;
  }
  .apl-btm{
    display: flex;
  }
  .apl-btm>div{
    width: 50%;
  }
  .apl-btm-lt{
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .apl-btm-lt a{
    background: #fff;
  }
  .apl-btm-rt{
    display: flex;
  }
  .apl-btm-rt img{
    width: 70%;
    height: 90%;
    margin-left: auto;
    object-fit: cover;
    border-radius: 10px;
  }
  /* =====PHRASE===== */
  .phrase{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
  }
  .phrase-msg{
    position: absolute;
    bottom: 10%;
    left: 10%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #fff;
  }
  .phrase-msg-box{
    padding: 1rem;
    font-weight: bold;
    border-radius: 10px;
  }
  .phrase img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    object-position: center;
  }
  .phrase-tp {
    display: flex;
    gap: 2rem;
    width: 100%;
    height: 25rem;
  }
  
  .phrase-tp-lt,
  .phrase-tp-ct,
  .phrase-tp-rt ,
.phrase-btm-lt,
  .phrase-btm-ct,
  .phrase-btm-rt {
    height: 100%;
    border-radius: 10px;
  }
  
  .phrase-tp-lt {
    flex: 4;
  }
  
  .phrase-tp-ct {
    flex: 4;
  }
  
  .phrase-tp-rt {
    flex: 2;
  }
  .phrase-btm {
    display: flex;
    gap: 2rem;
    width: 100%;
    height: 40rem;
  }
  
  .phrase-btm-lt {
    flex: 2;
  }
  
  .phrase-btm-ct {
    flex: 4;
  }
  
  .phrase-btm-rt {
    flex: 4;
  }

  
/* ===== PEOPLE ===== */
.people{
    display: flex;
    flex-direction: column;
    padding-bottom: 5rem;
    position: relative;
}
.peple-container{
    padding: 5rem 0;
}
/* COMMENT */
.comment-container{
    width: 100%;
    display: flex;
    padding: 3rem 0 0;
    flex-direction: column;
    gap: 3rem;
}
.comment-box{
    width: 100%;
    border-radius: 1rem;
    background: #fff;
    padding: 7rem 3rem;
    display: flex;
    border: 1px solid #00507e;
}
.comment-box>div{
    margin: 0 auto;
    display: flex;
    gap: 5rem;
    align-items: center;
}
.comment-txts{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.comment-h4{
  text-align: left;
  font-weight: 500;
}
.comment-box img{
    width: 200px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: top;
    margin: 0 auto;
    border-radius: 100rem;
}
/* =====WAVE===== */
.wave{
  width: 100%;
}
.wave img{
  object-fit: contain;
  width: 100%;
}
/* =====  SCHEDULE  ===== */

.schedule{
    width: 100%;
    padding: 5rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.schedule p{
    text-align: left;
}
.sch-box{
    overflow: scroll;
}
.sch-contents {
    overflow: scroll;
    scroll-behavior: smooth;
    /* padding: 3rem; */
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: left;
}
.sch-p{
    margin: 1rem 0 3rem;
}
.attention{
    color: #ff0000;
    text-align: start;
    margin-top: 3rem;
    margin-bottom: 1rem;
}
iframe {
    width: 100%;
}
/* =====BLOG===== */
.blog{
    display: flex;
    flex-direction: column;
}
.blog>h2{
    font-size: 2rem;
    color: #00507e;
    text-align: center;
    margin: auto;
}
.blog-container{
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    justify-content: space-between;
    
}

.club-card{
    margin: 5rem 0 0;
    width: 300px;
}
.blog-img-box{
    width: 100%;
}
.blog-img{
    width: 100%;
    object-fit: contain;
}
.blog-title{
    font-size: 16px;
    font-weight: bold;
    margin: 1rem 0;

}
 .mem-link-box{
    margin: 5rem auto;
 }
.pc-none{
    display: none;
}

/* インスタ */
.insta-container{
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  justify-content: space-between;
  margin-top: 30px;
}
.insta-hed{
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.insta-btn{
  margin-bottom: 30px;
}
.insta-txt{
  margin-top: 30px;
}
.insta-hed-rt{
  padding: 1rem 0;
}
@media(max-width:600px){
  h1.base-h1.fv-new-h1.txt-gld {
    font-size: 3.5rem;
}
    .pc-none{
        display: block;
    }
    .fv-contents{
        height: auto;
    }

    .fv-contents h1{
        font-size: 4rem;
    }
    .apl{
        height: 1600px;
        padding: 5rem 0;
    }
    .apl-box {
      position: relative;
      height: 100%;
    }
    .apl-tp{
        flex-direction: column;
        gap: 3rem;
        margin: 0;
        position: relative;
    }
    .apl-tp>div{
        width: 100%;
    }
    .main-box{
        justify-content: center;
    }
    .message-contaciner{
        flex-direction: column;
    }
    .apl-tp-rt img{
        width: 200px;
    }
    .apl-top-rt-box::after{
        width: 200px;
        right: 50px;
    }
    /* phrase */
    .phrase,.phrase-btm,.phrase-tp{
      gap: 1rem;
    }
    .phrase-btm-lt-sp{
      width: 100%;
      height: 20vh;
    }
    /* people */
    .comment-box{
      padding: 0;
    }
    .comment-box>div{
      flex-direction: column;
      padding: 5rem 3rem;
    }
    /* POST */
    .posts-box{
        flex-direction: column;
    }

    /* ABOUT */
    .select-btn{
        display: none;
    }
    .select-box{
        cursor: none;
    }
    .people-img-box{
        background-attachment: local;
    }
    .comment-box {
        margin: 3rem 0;
    }
    /* 画像拡大アニメーション */
    .comment-box img {
      width: 150px;
      height: 150px;
      object-fit: cover;
      transition: all 0.5s ease;
    }
    .comment-box img.enlarged {
      width: 100%;
      height: 200px;
      border-radius: 10px;
      object-position: center;
    }
    .insta-hed{
      flex-direction: column;
      gap: 10px;
      align-items: baseline;
    }
}
