html
{
  background-color: #fff;
}

#BIOGRAPHY,
#MUSICVIDEO,
#DISCOGRAPHY 
{
  scroll-margin-top: 100px; /* 固定ヘッダーの高さ＋α */
}

a {
  text-decoration: none;
}


/* トップメニュー */
.header
{
  display: flex;
  align-items: center;
  position: fixed;
  top: 0; 
  z-index: 1000;
  width: 100%;
  background-color: #26004E;
}

.header_left
{
  align-items: center;
  padding-top: 1%;
  padding-bottom: 1%;
  padding-right: 5.1%;
  padding-left: 1%;
}

.Log
{
  margin: 0;
  margin-left: 50px;
}

.Log img 
{
  height: 50px;
  width: auto;
}

.headerClass
{
  width: 30%;
}

.header_right
{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin: 0;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-left: 0;
  padding-right: 5.2%;
}

.header_list
{
  margin: 0;
  margin-left: 50px;
  font-size: 20px;
}

.menulink
{
  color: #fff;
  white-space: nowrap;
}


/* トップメニュー(ハンバーガー) */
.hamburger-overlay 
{
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: none; /* デフォルトでは非表示 */
}

.hamburger-overlay__line 
{
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #fff;
  transition: all .6s;
}

.hamburger-overlay__line:nth-of-type(1) { top: 14px; }
.hamburger-overlay__line:nth-of-type(2) { top: 23px; }
.hamburger-overlay__line:nth-of-type(3) { top: 32px; }
.hamburger-overlay.active .hamburger-overlay__line 
{
  background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) 
{
  transform: translateY(9px) rotate(-45deg);
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) 
{
  opacity: 0;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) 
{
  transform: translateY(-9px) rotate(45deg);
}

.nav-overlay 
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #26004E;
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 1000;
}

.nav-overlay.active 
{
  visibility: visible;
  opacity: 1;
}

.nav-overlay__content 
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.nav-overlay__list 
{
  display: flex;
  flex-direction: column;
  gap: 30px; /* メニュー同士の間隔を均等に */
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-overlay__item 
{
  margin: 0; /* 不要な外側マージンをなくす */
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s;
  text-align: center; /* 文字中央揃え */
}

.nav-overlay__link 
{
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  line-height: 1.5; /* 行間を調整して見た目を安定 */
  transition: color .3s;
}
.nav-overlay.active .nav-overlay__item 
{
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
.nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
.nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }

.nav-overlay__link:hover 
{
  color:plum;
}



/* トップ画面 */
.firstView
{
  width: 100%;
  padding-top: 6%;
  background-color: #26004E;
}

.firstView img
{
  width: 100%;
}

/* .secondView
{
  padding-top: 3%;
  padding-left: 10%;
  padding-right: 10%;
} */

.secondView {
  padding-top: 3%;
  padding-left: 5%;   /* 画面幅に応じてほどよく余白を確保 */
  padding-right: 5%;
  max-width: 1200px;  /* 中身の最大幅を決める */
  margin: 0 auto;     /* 中央揃えにする */
}



/* 流星隊について */
.subtitle1
{
  font-size: 30px;
  font-weight: bold;
  color: #26004E;
}

.detail
{
  padding-top: 1%;
  font-size: 18px;
  font-weight: bold;
  line-height: 2.0rem;
  color: #26004E;
}

.member 
{
  display: flex;
  width: 100;
  padding-top: 5%;
  padding-right: 3%;
  justify-content: center;
  align-items: flex-start;
  gap: 6%;
}

.member-item 
{
  width: 180px;
  text-align: center;
}

.member-item a
{
  text-decoration: none;
}

.member-item img 
{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: solid 8px #26004E;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.member-item:hover img 
{
  transform: scale(1.08);
  box-shadow: 0 8px 16px rgba(38, 0, 78, 0.3);
}

.member-item:active img 
{
  transform: scale(0.95);
  box-shadow: 0 0 0 4px #26004E inset;
}

.member-item p 
{
  margin-top: 10px;
  padding-left: 4%;
  font-weight: bold;
  font-size: 18px;
  color: #26004E;
  text-align: left;
}





/* 動画 */
.MUSICVIDEO
{
  margin-top: 8%;
  padding-top: 3%;
}

.subtitle2
{
  margin-top: 5%;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5%;
  color: #26004E;
}

.MUSICALL
{
  display: flex;
  margin-right: -0.5%;
  justify-content: center;
  gap:10px;
}

.VideoALL 
{
  width: 90%;
  object-fit: cover;
  border: solid 10px #26004E;
  border-radius: 10px;
  margin-bottom: 10%;

  transition: transform 0.5s ease, box-shadow 0.5s ease; /* アニメーションを滑らかに */
}

.VideoALL:hover 
{
  transform: scale(1.08); 
  box-shadow: 0 12px 24px rgba(38, 0, 78, 0.3);
}

.VideoALL:active 
{
  transform: scale(1.00); /* 押し込む */
  box-shadow: 0 0 0 6px #26004E inset;
}

.button-3
{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  margin:0 auto;
  padding: .9em 2em;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
  background-color: #26004e;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
}

.button-3::after
{
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: '';
}

.button-3:hover 
{
  background-color: #000000;
}




/* 円盤紹介 */
.DISCOGRAPHY
{
  margin-top: 8%;
}

.hani
{
  margin-bottom: 10%;
}

.CDList
{
  display: flex;
  justify-content: center;
  gap:50px;
  margin-bottom: 4%;
}

.CDList img
{
  width: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.CDList :hover img 
{
  transform: scale(1.08); 
  box-shadow: 0 12px 24px rgba(38, 0, 78, 0.3);
}

.CDList :active img
{
  transform: scale(1.00); /* 押し込む */
  box-shadow: 0 0 0 6px #26004E inset;
}



/* スマホサイズのときにハンバーガー表示 */
@media (max-width: 768px) 
{
  .Log
  {
    margin: 0;
    margin-left: 20px;
    padding-top: 4%;
  }

  .headerClass
  {
    width: 20%;
  }

  .header_right 
  {
    display: none;
  }

  .hamburger-overlay 
  {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .firstView
  {
    width: 100%;
    margin-top: 3%;
    background-color: #26004E;
  }

  /* メンバー一覧 */
  .member 
  {
    flex-wrap: wrap;
    justify-content:flex-start;
    gap: 30px;
    padding-right: 0;
  }

  .member-item 
  {
    width: 45%; /* 2列に収まるサイズに調整 */
    box-sizing: border-box;
  }

  .member-item p 
  {
    padding-left: 0;
    text-align: center;
  }


  
  /* 動画セクションを縦並びに */
  .MUSICALL 
  {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .VideoALL 
  {
    width: 90%;
  }

  /* 円盤紹介も縦並びに */
  .CDList 
  {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .CDList img 
  {
    width: 90%;
  }

  .VideoALL,
  .CDList img 
  {
    display: block;
    margin: 0 auto;
  }
}