@charset "UTF-8";

/*
 * Aboutページ
 */

 /* トップ画像 */
#top-vg {
  overflow: hidden;
  width: 100%;
}
#top-vg img {
  width: 100%; /* divの幅いっぱいに */
  height: auto; /* 縦横比を保持 */
}

/* 動画 */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 のアスペクト比 */
  height: 0;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* 文章 */
.sentence {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 50px;
  margin-top: 1.65rem;
}

/* タブ要素 */
#tab-div {
  position: sticky;
  top: 43px; /* ← 固定したい位置（ヘッダーの高さ分ずらす） */
  z-index: 998; /* 他の要素より前に出す */
  background: #fff; /* 背景色をつけて重なり防止 */
  margin-top: 140px;
}

/* aboutページのmusicタブ */
#music-tab {
  color: #111 !important;
  padding-left: 0 !important;
  padding-right: 8px;
}

/* aboutページのタブ */
#video-tab {
  color: #111 !important;
  padding-left: 8px;
  padding-right: 0 !important;
}

/* aboutページのタブコンテンツのフォントサイズ */
.about-content-font {
  font-size: 16px;
  font-weight: 500;
}
/* Videoタブの動画サムネイル */
#video-tabcontent .video-thumbnail {
  position: absolute; 
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  z-index: 0; /* 必要に応じて追加 */
}

/* ホバー用のグレーオーバーレイ */
#video-tabcontent .video-thumbnail::after {
  content: '';
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* 初期は透明 */
  transition: background-color 0.3s ease;
  z-index: 2;
  pointer-events: none; /* hoverに干渉しないように */
}

/* ホバー時のオーバーレイ表示 */
#video-tabcontent .video-thumbnail:hover::after {
  background-color: rgba(0, 0, 0, 0.4); /* 黒の40%でグレー */
}

/* 動画サムネイル画像 */
#video-tabcontent .video-thumbnail img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* 再生ボタン */
#video-tabcontent .video-thumbnail .play-button {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  font-size: 3rem; 
  color: white; 
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 3;
}

/*Aboutページのタブの各コンテンツ */
.about-tab-contents {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.about-tab-contents.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 1023px以下 */
@media (max-width: 1023px) {
  /* 文章 */
  .sentence {
    margin-top: 1.0rem;
    font-size: 28px;
    line-height: 40px;
  }
  /* aboutページのタブコンテンツのフォントサイズ */
  .about-content-font{
    font-size: 14px;
  }
  #tab-div {
    margin-top: 120px;
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  /* 文章 */
  .sentence {
    font-size: 20px;
    line-height: 31px;
  }
  #tab-div {
    margin-top: 40px;
  }

}