/*
* ===============================================
*  Darts Power Promotion - Player LP Common Style
*  真・究極最終完成版 120% (vFinal Omega - The Genesis)
* ===============================================
*/


/* --- 基本設定 --- */
:root {
  /* 
  * ===============================================
  *  基本テーマ（誰も私服を持ってない時のための予備）
  * ===============================================
  */
  --pink-accent: #FF50B0;
  /* 元のカラーコード（フォールバック用） */
  --pink-accent-h: 326;
  /* 色相 (Hue) */
  --pink-accent-s: 100%;
  /* 彩度 (Saturation) */
  --pink-accent-l: 65%;
  /* 明度 (Lightness) */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: #888;
  --bg-base: #1a1a1a;
  --bg-surface-primary: rgba(0, 0, 0, 0.2);
  --bg-surface-secondary: rgba(0, 0, 0, 0.3);
  --bg-footer: #111;
  --border-primary: 1px solid rgba(255, 255, 255, 0.2);
  --border-secondary: 1px solid rgba(255, 255, 255, 0.3);

  /* 各ステージの背景フィルター色の予備 (スマホデフォルトは半透明黒に) */
  --overlay-section1: transparent;
  /* 1枚目の画像は半透明オーバーレイなしに */
  --overlay-section2: rgba(30, 20, 80, 0.75);
  --overlay-section4: rgba(0, 60, 80, 0.75);
  --overlay-section5: rgba(90, 30, 40, 0.75);
  --overlay-section6: rgba(20, 20, 20, 0.75);
  --overlay-section7: rgba(0, 0, 0, 0.2);
  --gradient-section3: linear-gradient(45deg, #1d2b64, #f8cdda);
}

html {}

/* PCではscroll-snap-typeとscroll-paddingは適用しない */
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
}


a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

* {
  box-sizing: border-box;
}


/* --- ヘッダー（メニュー） --- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
}

#header.scrolled {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.logo {
  margin: 0;
  z-index: 1001;
}

/* ★ロゴもメニューより手前に！★ */
.logo a {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.6);
}

.logo span {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  opacity: 1;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.nav-toggle {
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

/* ★メニューより確実に手前に！★ */
.nav-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  left: 5px;
  transition: all 0.4s ease-in-out;
}

.nav-toggle span:nth-child(1) {
  top: 10px;
}

.nav-toggle span:nth-child(2) {
  top: 19px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  max-width: 80%;
  height: 100%;
  background-color: #000;
  backdrop-filter: none;
  padding-top: 100px;
  transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
}

/* ★メニューは1000番！★ */
.nav-menu.active {
  right: 0;
}

.nav-menu ul li a {
  display: block;
  padding: 18px 30px;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.2s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.nav-menu ul li a:hover {
  background-color: var(--pink-accent);
}

/* スクロール前のハンバーガーアイコンの背景色（トップ画像の上だけ） */
#header:not(.scrolled) .nav-toggle {
  background-color: hsla(var(--pink-accent-h), var(--pink-accent-s), var(--pink-accent-l), 0.7);
  border-radius: 0px;
  transition: background-color 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}

/* スクロール後のハンバーガーアイコンの背景色（透明に戻す） */
#header.scrolled .nav-toggle {
  background-color: transparent;
  border-radius: 0px;
  transition: background-color 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}


/* --- メインコンテンツ & ステージ --- */
#main {
  position: relative;
  z-index: 1;
}

.full-screen {
  height: 100vh;
  min-height: 600px;
  position: relative;
  background-size: cover;
  background-position: center;
  /* デフォルトの背景位置を維持 */
  background-attachment: fixed;
  /* PCではfixedのまま！ */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 20px 40px;
  overflow: hidden;
}

.full-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: background-color 0.5s ease-in-out;
  z-index: 1;
}

/* z-indexを追加して確実に背景の上にくるように */
#section1::before {
  background-color: var(--overlay-section1) !important;
  display: block;
}

/* display: block; を追加して確実に表示 */
#section2::before {
  background-color: var(--overlay-section2);
}

#section4::before {
  background-color: var(--overlay-section4);
}

#section5::before {
  background-color: var(--overlay-section5);
}

#section6::before {
  background-color: var(--overlay-section6);
}

#section7::before {
  background-color: var(--overlay-section7);
}

#section3 {
  background-attachment: scroll;
  background-image: var(--gradient-section3);
}

#section3::before {
  display: none;
}

/* --- Uchibori Haruka: LP-style flow layout test --- */
body[data-player-name="uchibori-haruka"] .full-screen {
  height: auto;
  min-height: auto;
  padding: 0;
  background: none !important;
  background-attachment: scroll;
  align-items: stretch;
}

body[data-player-name="uchibori-haruka"] .full-screen::before {
  display: none;
}

body[data-player-name="uchibori-haruka"] .section-header,
body[data-player-name="uchibori-haruka"] .section-content {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}

body[data-player-name="uchibori-haruka"] .section-title {
  margin: 0 0 12px;
  text-align: left;
}

body[data-player-name="uchibori-haruka"] .section-title::after {
  margin-left: 0;
}

body[data-player-name="uchibori-haruka"] .section-title-inner {
  margin-top: 0;
}

.player-section {
  width: 100%;
  margin: 0 auto 32px;
  background: #000;
  color: #fff;
  border-radius: 0;
  overflow: hidden;
}

.player-section:last-of-type {
  margin-bottom: 0;
}

.player-section .section-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.player-section .section-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
  z-index: 1;
  pointer-events: none;
}

.player-section .section-image.tint::after {
  background:
    linear-gradient(to bottom, rgba(var(--theme-color-main-rgb, 255, 255, 255), 0.28), rgba(var(--theme-color-main-rgb, 255, 255, 255), 0.12)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}

.player-section .section-image::before {
  content: "";
  display: block;
  padding-top: calc(16 / 9 * 100%);
}

.player-section .section-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.player-section .image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: 24px 18px;
  gap: 8px;
}

.player-section .image-overlay h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
  line-height: 1.2;
}

.player-section .image-overlay .overlay-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.player-section .image-overlay .overlay-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

/* ファーストビューを強調（内堀はるかのみ） */
body[data-player-name="uchibori-haruka"] .player-section:first-of-type .image-overlay {
  padding: 16px 16px 20px;
  background: none;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
}

body[data-player-name="uchibori-haruka"] .player-section:first-of-type .image-overlay h2 {
  font-size: clamp(1.9rem, 4.8vw, 2.4rem);
  letter-spacing: 1.5px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);
}

body[data-player-name="uchibori-haruka"] .player-section:first-of-type .image-overlay .overlay-lead {
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  font-weight: 700;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
}

body[data-player-name="uchibori-haruka"] .player-section:first-of-type .section-body {
  display: none;
}

body[data-player-name="uchibori-haruka"] .player-section:first-of-type .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}

/* --- Nakaya Yuri: overlay headings on images --- */
body[data-player-name="nakaya-yuri"] #section1 {
  position: relative;
}
body[data-player-name="nakaya-yuri"] #section1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%);
  z-index: 1;
  pointer-events: none;
}
body[data-player-name="nakaya-yuri"] #section1 .hero-catchphrase {
  position: absolute;
  bottom: 20px;
  top: auto;
  left: 0;
  transform: none;
  padding: 0 18px 12px;
  width: 100%;
  z-index: 2;
  text-align: left;
}
body[data-player-name="nakaya-yuri"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 6px;
}
body[data-player-name="nakaya-yuri"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
}
body[data-player-name="nakaya-yuri"] #section1 .hero-catchphrase .main-line {
  font-size: clamp(1.9rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}
body[data-player-name="nakaya-yuri"] #section1 .hero-catchphrase .sub-line {
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.65);
}
body[data-player-name="nakaya-yuri"] .full-screen {
  position: relative;
}
body[data-player-name="nakaya-yuri"] .section-header {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 20px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  text-align: left;
  z-index: 2;
}
body[data-player-name="nakaya-yuri"] .section-header .section-title {
  margin: 0;
  text-align: left;
}
body[data-player-name="nakaya-yuri"] .section-content {
  padding-top: 140px;
}
body[data-player-name="nakaya-yuri"] .player-section:first-of-type .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="nakaya-yuri"] .player-section:first-of-type .section-body {
  display: none;
}
body[data-player-name="nakaya-yuri"] .player-section:first-of-type .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="nakaya-yuri"] .player-section:first-of-type .section-body {
  display: none;
}

/* --- Kaneko Ayaka: hero overlay + positioning --- */
body[data-player-name="kaneko-ayaka"] #section1 {
  position: relative;
}
body[data-player-name="kaneko-ayaka"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="kaneko-ayaka"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="kaneko-ayaka"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="kaneko-ayaka"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="kaneko-ayaka"] .player-section:first-of-type .section-body {
  display: none;
}

/* --- Matsumoto Rimika: hero overlay --- */
body[data-player-name="matsumoto-rimika"] #section1 {
  position: relative;
}
body[data-player-name="matsumoto-rimika"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="matsumoto-rimika"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="matsumoto-rimika"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="matsumoto-rimika"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="matsumoto-rimika"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="matsumoto-rimika"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Kamata Ai: hero overlay --- */
body[data-player-name="kamata-ai"] #section1 {
  position: relative;
}
body[data-player-name="kamata-ai"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="kamata-ai"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="kamata-ai"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="kamata-ai"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="kamata-ai"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="kamata-ai"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Kazama Yuta: hero overlay --- */
body[data-player-name="kazama-yuta"] #section1 {
  position: relative;
}
body[data-player-name="kazama-yuta"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}

/* --- Kaneko Kenta: hero overlay --- */
body[data-player-name="kaneko-kenta"] #section1 {
  position: relative;
}
body[data-player-name="kaneko-kenta"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="kaneko-kenta"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="kaneko-kenta"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="kaneko-kenta"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="kaneko-kenta"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="kaneko-kenta"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Kaneko Souta: hero overlay --- */
body[data-player-name="kaneko-souta"] #section1 {
  position: relative;
}
body[data-player-name="kaneko-souta"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="kaneko-souta"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="kaneko-souta"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="kaneko-souta"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="kaneko-souta"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="kaneko-souta"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Nishimura Saori: hero overlay --- */
body[data-player-name="nishimura-saori"] #section1 {
  position: relative;
}
body[data-player-name="nishimura-saori"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="nishimura-saori"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="nishimura-saori"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="nishimura-saori"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="nishimura-saori"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="nishimura-saori"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Kozaki Shin: hero overlay --- */
body[data-player-name="kozaki-shin"] #section1 {
  position: relative;
}
body[data-player-name="kozaki-shin"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="kozaki-shin"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="kozaki-shin"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="kozaki-shin"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="kozaki-shin"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="kozaki-shin"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Tonouchi Ryota: hero overlay --- */
body[data-player-name="tonouchi-ryota"] #section1 {
  position: relative;
}
body[data-player-name="tonouchi-ryota"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="tonouchi-ryota"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="tonouchi-ryota"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="tonouchi-ryota"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="tonouchi-ryota"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="tonouchi-ryota"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Takeyama Ikuko: hero overlay --- */
body[data-player-name="takeyama-ikuko"] #section1 {
  position: relative;
}
body[data-player-name="takeyama-ikuko"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="takeyama-ikuko"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="takeyama-ikuko"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="takeyama-ikuko"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="takeyama-ikuko"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="takeyama-ikuko"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Oka Kengo: hero overlay --- */
body[data-player-name="oka-kengo"] #section1 {
  position: relative;
}
body[data-player-name="oka-kengo"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="oka-kengo"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="oka-kengo"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="oka-kengo"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="oka-kengo"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="oka-kengo"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Osanai Ryo: hero overlay --- */
body[data-player-name="osanai-ryo"] #section1 {
  position: relative;
}
body[data-player-name="osanai-ryo"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="osanai-ryo"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="osanai-ryo"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="osanai-ryo"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="osanai-ryo"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="osanai-ryo"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}
body[data-player-name="kazama-yuta"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="kazama-yuta"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="kazama-yuta"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="kazama-yuta"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="kazama-yuta"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}
/* 角丸なし・上寄せレイアウト（内堀） */
body[data-player-name="uchibori-haruka"] .player-section,
body[data-player-name="uchibori-haruka"] .player-section .section-image,
body[data-player-name="uchibori-haruka"] .player-section img {
  border-radius: 0;
}

body[data-player-name="uchibori-haruka"] .player-section .image-overlay {
  justify-content: flex-end;
  padding-bottom: 20px;
}

/* Nakaya Yuri: LP style */
body[data-player-name="nakaya-yuri"] .full-screen {
  height: auto;
  min-height: auto;
  padding: 0;
  background: none !important;
  background-attachment: scroll;
  align-items: stretch;
}
body[data-player-name="nakaya-yuri"] .full-screen::before {
  display: none;
}
body[data-player-name="nakaya-yuri"] .section-header,
body[data-player-name="nakaya-yuri"] .section-content {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}
body[data-player-name="nakaya-yuri"] .section-title {
  margin: 0 0 12px;
  text-align: left;
}
body[data-player-name="nakaya-yuri"] .section-title::after {
  margin-left: 0;
}
body[data-player-name="nakaya-yuri"] .section-title-inner {
  margin-top: 0;
}
body[data-player-name="nakaya-yuri"] .section-content {
  padding-top: 140px;
}

.player-section .section-body {
  background: linear-gradient(to bottom,
      rgba(var(--theme-color-main-rgb, 255, 255, 255), 0.55) 0%,
      rgba(var(--theme-color-main-rgb, 255, 255, 255), 0.15) 35%,
      #000 75%);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 960px) {
  .player-section {
    max-width: 960px;
  }

  body[data-player-name="uchibori-haruka"] #main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* --- Arai Megumi: hero overlay --- */
body[data-player-name="arai-megumi"] #section1 {
  position: relative;
}
body[data-player-name="arai-megumi"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="arai-megumi"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="arai-megumi"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="arai-megumi"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="arai-megumi"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="arai-megumi"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Hamabe Nodoka: hero overlay --- */
body[data-player-name="hamabe-nodoka"] #section1 {
  position: relative;
}
body[data-player-name="hamabe-nodoka"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="hamabe-nodoka"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="hamabe-nodoka"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="hamabe-nodoka"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="hamabe-nodoka"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="hamabe-nodoka"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* --- Hino Yuko: hero overlay --- */
body[data-player-name="hino-yuko"] #section1 {
  position: relative;
}
body[data-player-name="hino-yuko"] #section1 .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
body[data-player-name="hino-yuko"] #section1 .hero-catchphrase {
  position: absolute;
  inset: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  transform: none;
}
body[data-player-name="hino-yuko"] #section1 .hero-catchphrase .main-line {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
body[data-player-name="hino-yuko"] #section1 .hero-catchphrase .sub-line {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
body[data-player-name="hino-yuko"] .player-section:first-of-type .section-body {
  display: none;
}
@media (min-width: 1024px) {
  body[data-player-name="hino-yuko"] #section1 .hero-catchphrase {
    top: auto;
    bottom: 22px;
    left: 22px;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0 18px 18px;
  }
}

/* Hamabe Nodoka: lighten overlay on UGC section for readability */
body[data-player-name="hamabe-nodoka"] #player-ugc {
  background: #f9f4ff;
  color: #1a1a1a;
}
body[data-player-name="hamabe-nodoka"] #player-ugc .section-image::after {
  background: none;
}
body[data-player-name="hamabe-nodoka"] #player-ugc .section-body {
  background: #f9f4ff;
  color: #1a1a1a;
  text-shadow: none;
}
body[data-player-name="hamabe-nodoka"] #player-ugc .section-body * {
  color: #1a1a1a;
  text-shadow: none;
}
body[data-player-name="hamabe-nodoka"] #player-ugc .section-title,
body[data-player-name="hamabe-nodoka"] #player-ugc .section-title-inner {
  color: #1a1a1a;
  text-shadow: none;
}

/* Nishimura Saori: lighten UGC section overlay */
body[data-player-name="nishimura-saori"] #player-ugc {
  background: #f9f4ff !important;
  color: #1a1a1a !important;
  position: relative;
}
body[data-player-name="nishimura-saori"] #player-ugc .section-image::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.65) 95%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)) !important;
}
body[data-player-name="nishimura-saori"] #player-ugc .section-body {
  background: #f9f4ff !important;
  color: #1a1a1a !important;
  text-shadow: none !important;
}
body[data-player-name="nishimura-saori"] #player-ugc .section-body * {
  color: #1a1a1a !important;
  text-shadow: none !important;
}
body[data-player-name="nishimura-saori"] #player-ugc .section-title,
body[data-player-name="nishimura-saori"] #player-ugc .section-title-inner {
  color: #1a1a1a !important;
  text-shadow: none !important;
}

/* Hamabe Nodoka: hard-disable overlay on UGC section */
body[data-player-name="hamabe-nodoka"] #player-ugc {
  background: #f9f4ff !important;
  color: #1a1a1a !important;
}
body[data-player-name="hamabe-nodoka"] #player-ugc .section-image::after,
body[data-player-name="hamabe-nodoka"] #player-ugc .section-image.tint::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.65) 95%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)) !important;
}
body[data-player-name="hamabe-nodoka"] #player-ugc .section-body {
  background: #f9f4ff !important;
  color: #1a1a1a !important;
  text-shadow: none !important;
}
body[data-player-name="hamabe-nodoka"] #player-ugc .section-body * {
  color: #1a1a1a !important;
  text-shadow: none !important;
}
body[data-player-name="hamabe-nodoka"] #player-ugc .section-title,
body[data-player-name="hamabe-nodoka"] #player-ugc .section-title-inner {
  color: #1a1a1a !important;
  text-shadow: none !important;
}

/* Uchibori Haruka: ensure UGC icons are round */
body[data-player-name="uchibori-haruka"] #player-ugc .ugc-icon img {
  border-radius: 50% !important;
}

@media (min-width: 1024px) {
  body[data-player-name="uchibori-haruka"] .player-section {
    background: transparent;
    color: #fff;
  }
}


/* --- ステージ内レイアウト --- 箱の中の調整*/
.section-header {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding-bottom: 20px;
  flex-shrink: 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--pink-accent);
  margin: 15px auto 0;
}

.section-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 850px;
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
}

/* overscroll-behavior: contain; を削除！ */
.section-content::-webkit-scrollbar {
  width: 5px;
}

.section-content::-webkit-scrollbar-thumb {
  background: var(--pink-accent);
  border-radius: 5px;
}



/* --- 各セクションの「内装」スタイル --- */
h2.section-title-inner {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-primary);
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: var(--border-secondary);
}

h2.section-title-inner:first-child {
  margin-top: 0;
}

h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 10px 0;
}

p {
  margin-top: 0;
}


/*
* ===============================================
*  生命の息吹（スクロールアニメーション）
* ===============================================
*/


/*
* アニメーションさせる全ての「個別要素」の「初期状態」
* （透明で、少し下にいて、まだ動く準備ができていない）
*/
.section-content>* {
  /* 浮かび上がるアニメーションの調整 */
  opacity: 0;
  /* 最初は透明 */
  transform: translateY(30px);
  /* 少し大きめに下からスタート（★これも変更するとより効果的） */

  /* ▼▼▼ この行を丸ごと置き換えます！ ▼▼▼ */
  transition: opacity 1.5s cubic-bezier(0.23, 1, 0.32, 1), transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/*
* JSから「is-visible」という合図が送られた後の「最終状態」
* （不透明になり、本来の位置に、ふわっと戻る）
*/
.section-content>*.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.info-table {
  width: 100%;
  line-height: 1.8;
}

.info-table td {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-secondary);
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table td:first-child {
  font-weight: bold;
  width: 120px;
  color: var(--text-secondary);
}

.info-table a {
  color: var(--pink-accent);
  font-weight: bold;
}

.strengths-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.strength-item {
  flex: 1 1 200px;
  background: var(--bg-surface-primary);
  padding: 20px;
  border-radius: 0px;
  text-align: center;
}

.hearts {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.strength-item h3 {
  font-size: 1rem;
}

.strength-description {
  background: var(--bg-surface-primary);
  border-radius: 0px;
  padding: 20px;
  margin-top: 25px;
  line-height: 1.8;
}

.gallery-wrapper-fullscreen {
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 3;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.gallery-track-fullscreen {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 20px 5%;
}

.gallery-track-fullscreen::-webkit-scrollbar {
  display: none;
}

.gallery-item-fullscreen {
  flex: 0 0 90%;
  max-width: 380px;
  scroll-snap-align: center;
  margin: 0 10px;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

/* ★この行の「max-width: 380px;」と「flex: 0 0 75%;」がポイントや！★ */
.gallery-item-fullscreen:hover {
  transform: scale(1);
}

.gallery-item-fullscreen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.achievement-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.stats-summary,
.store-testimonial {
  background-color: var(--bg-surface-primary);
  border-radius: 0px;
  padding: 20px 25px;
  border: var(--border-primary);
  margin: 0;
}

.store-testimonial p {
  margin: 0;
}

.store-testimonial h3 {
  color: var(--pink-accent);
  font-size: 1.1em;
  margin-bottom: 0.5em;
}

.price-items {
  margin-bottom: 25px;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 0;
}

.price-item:not(:last-child) {
  border-bottom: 2px dotted rgba(255, 255, 255, 0.3);
}

.price-item h3 {
  margin-bottom: 5px;
}

.price-note {
  background-color: var(--bg-surface-primary);
  border-radius: 0px;
  padding: 25px;
  margin-top: 25px;
  line-height: 1.8;
  border: var(--border-primary);
}

.okng-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ok-list,
.ng-list {
  background: var(--bg-surface-primary);
  border-radius: 0px;
  padding: 25px;
  border: var(--border-primary);
}

.ok-list h3,
.ng-list h3 {
  text-align: center;
}

.okng-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.okng-content li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.okng-content li::before {
  font-weight: bold;
  font-size: 1.2em;
}

.ok-list li::before {
  content: '◎';
  color: #32CD32;
}

.ng-list li::before {
  content: '✗';
  color: #FF4500;
}

.sponsor-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-surface-primary);
  border-radius: 0px;
  padding: 20px;
}

.sponsor-item h3 {
  margin-bottom: 10px;
}

.sponsor-btn {
  display: inline-block;
  background: var(--pink-accent);
  color: var(--text-primary);
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 15px;
  transition: transform 0.2s;
}

.sponsor-btn:hover {
  transform: scale(1.05);
}

/* ===============================================
 *  FAQ List Style (旧スタイル) - この部分を差し替えます
 * =============================================== */
/*
.faq-list { display: flex; flex-direction: column; gap: 15px; }
.faq-list p { margin: 0; opacity: 0.8; }
*/


/* ▼▼▼【ここから】新しいアコーディオン用のスタイルに差し替え ▼▼▼ */
/* ===============================================
 *  FAQ Accordion Style (アコーディオン版)
 * =============================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: var(--border-secondary);
}

.faq-list li {
  padding: 20px 0;
  border-bottom: var(--border-secondary);
  overflow: hidden;
  /* アニメーションに必須 */
}

/* 質問部分（クリックする場所） */
.faq-list h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
  cursor: pointer;
  position: relative;
  /* アイコンを配置するための基準 */
  padding-right: 35px;
  /* アイコン分のスペースを確保 */
  transition: color 0.3s;
}

.faq-list h3:hover {
  color: var(--pink-accent);
  /* ホバー時の色をテーマカラーに */
}

/* 質問の横に表示する「＋」アイコン */
.faq-list h3::before,
.faq-list h3::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-list h3::before {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list h3::after {
  transform: translateY(-50%) rotate(90deg);
}

/* 回答部分 */
.faq-list p {
  margin: 0;
  padding-top: 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  /* アニメーションの初期状態（閉じている状態） */
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease-out, opacity 0.4s ease-out, padding-top 0.5s ease-out;
}


/* --- ★開いた時のスタイル（JSで .is-open クラスが付与される） --- */

/* 開いた時の「＋」アイコンを「×」に変形 */
.faq-list li.is-open h3::before {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list li.is-open h3::after {
  transform: translateY(-50%) rotate(-45deg);
}

/* 開いた時の回答部分 */
.faq-list li.is-open p {
  max-height: 500px;
  /* 回答の高さに応じて十分な値を設定 */
  opacity: 1;
}

/* ▲▲▲【ここまで】新しいアコーディオン用のスタイル ▲▲▲ */
.recommend-list {
  list-style: '⭕️ ';
  padding-left: 20px;
}

.recommend-list li {
  margin-bottom: 10px;
}

.cta-message {
  display: flex;
  gap: 20px;
}

.cta-box {
  flex: 1;
  padding: 20px;
  border-radius: 0px;
  background-color: var(--bg-surface-primary);
}

.cta-final-lead {
  text-align: center;
  font-weight: bold;
  margin-top: 30px;
}

.textarea-container {
  position: relative;
  margin-top: 20px;
}

.contact-description {
  text-align: center;
  margin-bottom: 20px;
  opacity: 0.8;
}

textarea.input {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 0px;
  border: var(--border-secondary);
  font-size: 1rem;
  resize: vertical;
  min-height: 200px;
  background-color: var(--bg-surface-primary);
  color: var(--text-primary);
}

.copy-alert {
  text-align: center;
  padding: 12px;
  margin-top: 15px;
  border-radius: 0px;
  background: var(--text-primary);
  color: var(--bg-base);
}

.sns-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.sns-btn {
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.2s;
  color: var(--text-primary);
}

.sns-btn:nth-child(1) {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.sns-btn:nth-child(2) {
  background: #000;
  border: 2px solid var(--text-primary);
}

.sns-btn:hover {
  transform: scale(1.05);
}

.contact-note {
  text-align: center;
  margin-top: 20px;
  opacity: 0.8;
}


/*
* ===============================================
*  お問い合わせセクション (最終物理法則適用版)
* ===============================================
*/


/* --- フォーム全体のレイアウト --- */
.contact-description,
.contact-note {
  text-align: center;
  opacity: 0.9;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-description {
  margin-bottom: 20px;
}

.contact-note {
  margin-top: 20px;
  font-size: 0.9em;
}


/* --- テキストエリアとコピーボタンの「額縁」 --- */
.textarea-container {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  z-index: 10;
  /* ★★★ 聖なる刻印 その1 ★★★ */
}


textarea.input {
  display: block;
  width: 100%;
  padding: 20px;
  border-radius: 0px;
  border: var(--border-secondary);
  font-size: 1rem;
  line-height: 1.8;
  resize: vertical;
  min-height: 300px;
  background-color: var(--bg-surface-secondary);
  color: var(--text-primary);
  backdrop-filter: blur(2px);
  box-sizing: border-box;
}


/* ★★★【ここからが、新しい物理法則】★★★ */


/* --- コピーボタンの最終調整 --- */
.copy-btn {
  /* 位置の魔法を解き、通常の物理法則に従わせる！ */
  position: static;
  display: block;
  width: 100%;
  /* ★SNSボタンと幅を合わせるための準備 */
  max-width: 320px;
  /* ★SNSボタンと最大幅を合わせる */
  margin: 20px auto 0;
  /* ★上に余白を取り、中央揃えに */
  /* デザインの統一 */
  height: 55px;
  padding: 0 25px;
  border: 2px solid var(--text-primary);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
  font-weight: bold;
  border-radius: 50px;
  /* ★角を完全に丸くする */
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.copy-btn:hover {
  background: var(--text-primary);
  color: var(--bg-base);
  transform: scale(1.05);
}


.copy-alert {
  text-align: center;
  padding: 12px;
  margin: 15px auto 0;
  border-radius: 0px;
  background: var(--text-primary);
  color: var(--bg-base);
  max-width: 400px;
}


/* --- SNSボタン --- */
.sns-contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  position: relative;
  /* ★★★ 聖なる刻印 その2 ★★★ */
  z-index: 10;
  /* ★★★ 聖なる刻印 その3 ★★★ */
}


.sns-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* ★親要素の幅いっぱいに広げる */
  max-width: 320px;
  /* ★ただし、最大でも320pxまで */
  height: 55px;
  /* ★高さを統一！ */
  padding: 0 25px;
  border-radius: 50px;
  /* ★角を完全に丸くする */
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.2s;
  color: var(--text-primary);
  box-sizing: border-box;
}


.sns-btn:nth-child(1) {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.sns-btn:nth-child(2) {
  background: #000;
  border: 2px solid var(--text-primary);
}

.sns-btn:hover {
  transform: scale(1.05);
}


/* --- フッター --- */

#footer {
  text-align: center;
  padding: 40px;
  background: var(--bg-footer);
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  /* ★ここからスマホのスクロールスナップ用の設定を追加！★ */
  scroll-snap-align: start;
  /* スナップの基点にする */
  min-height: 100vh;
  /* ★最低でも画面1つ分の高さを確保！★ */
  display: flex;
  /* ★中身を中央に配置するための魔法★ */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {

  /* ★スマホでだけ、TikTok風スクロールを有効にする魔法★ */
  html {
    /* scroll-snap-type: y mandatory; */
    /* ← 無効化！ */
    /* scroll-snap-stop: always;     */
    /* ← 無効化！ */
    scroll-padding-top: 1px;
    /* ★スマホのみで吸着感度を上げる！★ */
    scroll-padding-bottom: 1px;
    /* ★スマホのみで吸着感度を上げる！★ */
  }

  .section-title {
    font-size: 2rem;
  }

  .logo a {
    font-size: 1.5rem;
  }

  .logo span {
    font-size: 0.7rem;
  }

  .gallery-item-fullscreen {
    flex: 0 0 83%;
  }

  .cta-message {
    flex-direction: column;
  }

  .stats-summary {
    font-size: 0.9em;
  }

  /* ★スマホでの背景画像調整 兼 スナップ設定★ */
  .full-screen {
    background-position: center 30% !important;
    background-attachment: scroll !important;
    scroll-snap-align: start;
  }

  /* ★各セクション内のコンテンツエリアでのスクロール設定★ */
  .section-content {
    overscroll-behavior: auto;
    scroll-snap-align: none;
  }

  /* スクロールダウンインジケーターのスマホ調整 */
  .scroll-down-indicator {
    bottom: 50px;
  }

  .scroll-down-indicator p {
    font-size: 0.8rem;
  }

  .arrow-icon {
    width: 15px;
    height: 15px;
    border-width: 0 2px 2px 0;
  }
}

/*
* ===============================================
*  PC表示 (幅769px以上) 専用の、構図調整魔法
* ===============================================
*
* スマホと同じ「縦の物語」のままで、
* PCの「横長の窓」から見ても、背景が最も美しく見えるように、
* 各ステージの画像の「構図」だけを、個別に調整します。
*/
@media (min-width: 769px) {

  /* ★PCの時だけ、スムーズスクロールを有効にする！★ */
  html {
    scroll-behavior: smooth;
  }

  /* PCの時だけ、1枚目にも半透明の黒いフィルターをかける */
  #section1 {
    --overlay-section1: rgba(0, 0, 0, 0.4);
  }

  /*
   * ★★★ PC専用の、背景画像の「構図」調整 ★★★
   * background-position を使って、各ステージの背景画像の
   *「どの部分を、重点的に見せるか」を指示します。
   */

  /* ステージ1 (トップビジュアル) */
  #section1 {
    background-position: center 30%;
    /* 少し上の方を基準に表示 */
  }

  /* ステージ2 (プロフィール) */
  #section2 {
    background-position: center 40%;
    /* center top 上端を基準に表示 */
  }

  /* ステージ4 (詳細情報) */
  #section4 {
    background-position: center 30%;
    /* 少し下の方を基準に表示 */
  }

  /* ステージ5 (スポンサー) */
  #section5 {
    background-position: center 30%;
    /* right center 右端を基準に表示 */
  }

  /* ステージ6 (お問い合わせ) */
  #section6 {
    background-position: center 30%;
    /* center bottom 下端を基準に表示 */
  }
}

/*
* ===============================================
*  【追加】スクロールダウンインジケーター（オシャレな矢印）
* ===============================================
*/

/* スクロールダウンインジケーター全体の設定（矢印アイコン用） */
.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-primary);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  cursor: pointer;
  /* ★クリックできることを示すカーソルに変更！★ */
  pointer-events: auto;
  /* ★クリックイベントを受け取れるように！★ */
}

/* スクロールダウンインジケーターの表示状態を制御 */
.scroll-down-indicator.show {
  opacity: 1;
}

/* トップページ専用「Scroll Down」文字の設定 */
.scroll-down-text {
  position: absolute;
  /* 親要素（section1）に対して位置を固定 */
  bottom: 90px;
  /* ★矢印アイコンより上に配置！ここを調整！★ */
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  /* 文字に少し影をつけて見やすく */
  z-index: 4;
  /* アイコンより下、キャッチコピーより上 */
  opacity: 0;
  /* 初期状態はJSで制御するため透明 */
  transition: opacity 0.5s ease-out;
  /* フェードイン・アウト */
}

/* JavaScriptで'show'クラスが付いた時に表示 */
.scroll-down-text.show {
  opacity: 1;
}


/* 下矢印アイコンの設定 */
.arrow-icon {
  width: 20px;
  height: 20px;
  border: solid var(--text-primary);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* 矢印を上下にふわふわ動かすアニメーションの定義 */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  40% {
    transform: translateY(10px) rotate(45deg);
  }

  60% {
    transform: translateY(5px) rotate(45deg);
  }
}

/* スマホで見た時の調整 */
@media (max-width: 768px) {

  /* スクロールダウンインジケーター全体（矢印アイコン用）のスマホ調整 */
  .scroll-down-indicator {
    bottom: 30px;
    /* スマホでもPCと同じ位置に */
  }

  .arrow-icon {
    width: 15px;
    height: 15px;
    border-width: 0 2px 2px 0;
  }

  /* トップページ専用「Scroll Down」文字のスマホ調整 */
  .scroll-down-text {
    bottom: 110px;
    /* スマホでは矢印との距離を調整 */
    font-size: 0.8rem;
    /* スマホでは少し小さく */
  }
}

/*
* ===============================================
*  【新発想】メニュー展開時にメインコンテンツを隠す魔法
* ===============================================
*/

/* メインコンテンツの表示・非表示の切り替えを滑らかにする準備 */
#main {
  transition: opacity 0.5s, filter 0.5s;
}

/* ★メニュー展開時に、メインコンテンツを隠すためのスタイル★ */
body.nav-open #main {
  opacity: 0.3;
  /* うっすら透けるようにする（お好みで0.2〜0.5で調整！） */
  filter: blur(8px);
  /* さらにぼかす（オシャレ度アップ） */
  pointer-events: none;
  /* クリックなどの操作をできなくする */
}

/*
* ===============================================
*  【追加】トップビジュアルのキャッチコピーオーバーレイ
* ===============================================
*/

.hero-catchphrase {
  position: absolute;
  /* 親要素（section1）に対して位置を固定 */
  top: 70%;
  /* 縦方向の真ん中に寄せる */
  left: 50%;
  /* 横方向の真ん中に寄せる */
  transform: translate(-50%, -50%);
  /* 自分のサイズを考慮して完全に中央に配置 */
  text-align: left;
  /* テキストを中央揃え */
  color: var(--text-primary);
  /* 文字色はメインの白系 */
  z-index: 3;
  /* ロゴやスクロールダウンインジケーターより少し低いが、背景オーバーレイよりは上 */
  width: 90%;
  /* 画面の幅の90%まで広がる */
  max-width: 600px;
  /* ただし最大幅は600px */
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.6);
  /* ロゴの名前と同じくらいの、モコッと重なる影に！ */
}

.hero-catchphrase .main-line {
  font-size: 2.5rem;
  /* 「まだ秘密兵器」の文字の大きさ */
  font-weight: bold;
  /* 太字 */
  margin-bottom: 10px;
  /* 下の行との間隔 */
  letter-spacing: 1px;
}

.hero-catchphrase .sub-line {
  font-size: 1.1rem;
  /* 説明文の文字の大きさ */
  line-height: 1.6;
  /* 行の高さ */
  opacity: 0.9;
  /* 少しだけ透明にしてなじませる */
}

/* スマホで見た時の調整 */
@media (max-width: 768px) {
  .hero-catchphrase .main-line {
    font-size: 1.8rem;
    /* スマホでは少し小さく */
  }

  .hero-catchphrase .sub-line {
    font-size: 0.9rem;
    /* スマホでは少し小さく */
  }
}

/*
* ===============================================
*  【追加】パンくずリストのスタイル（フッター上配置版）
* ===============================================
*/
.breadcrumb-container {
  padding: 20px 30px;
  background-color: #111;
  /* フッターと同じ背景色で統一感を */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* フッターとの間に細い線を入れる */
  position: relative;
  z-index: 2;
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  /* 中央揃えでスッキリと */
}

.breadcrumb a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--pink-accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* ===============================================
 *  【所属団体リンクの共通スタイル】（設計図）
 * =============================================== */

/* 所属団体リンクの形や動きの基本設定 */
.info-table .org-link {
  font-weight: bold;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

/* リンクの後ろに追加するテキストのスタイル */
.link-suffix {
  margin-left: 10px;
  font-size: 0.9em;
  opacity: 0.8;
  font-weight: normal;
}

/* ===============================================
 *  【シンプル横スクロール】ギャラリースタイル
 * =============================================== */

/* ギャラリー全体を囲むラッパー */
.gallery-wrapper-fullscreen {
  width: 100%;
  position: relative;
  /* 左右をフェードアウトさせるためのマスク */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* スクロールするトラック部分 */
.gallery-track-fullscreen {
  display: flex;
  overflow-x: auto;
  /* 横スクロールを有効に */
  scroll-snap-type: x mandatory;
  /* スクロールがカード単位で止まるように */
  -webkit-overflow-scrolling: touch;
  /* スマホでの滑らかなスクロール */
  scrollbar-width: none;
  /* スクロールバーを非表示（Firefox） */
  padding: 20px 0;
}

/* スクロールバーを非表示（Chrome, Safari） */
.gallery-track-fullscreen::-webkit-scrollbar {
  display: none;
}

/* 各画像アイテム */
.gallery-item-fullscreen {
  flex: 0 0 70%;
  /* 画面幅の70%を基本の幅にする */
  max-width: 320px;
  /* ただし最大でも320pxまで */
  scroll-snap-align: center;
  /* 画面中央でスナップ */
  margin: 0 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform 0.4s ease;

  /* ★★★ ここが9:16比率の魔法 ★★★ */
  aspect-ratio: 9 / 16;
  height: auto;
  /* 高さは比率に任せる */
}

/* 中央に来たカードを少し大きくする（見栄えのため） */
.gallery-item-fullscreen:hover {
  transform: scale(1);
}

.gallery-item-fullscreen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PC表示での調整 */
@media (min-width: 769px) {
  .gallery-item-fullscreen {
    flex-basis: auto;
    /* flexの基本サイズをリセット */
    width: 280px;
    /* PCでは横幅を固定 */
  }
}

/*
* ===============================================
*  【追加】ギャラリーページネーション（点々のインジケーター）
* ===============================================
*/
.gallery-pagination {
  position: relative;
  /* z-indexを効かせるため */
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  /* ギャラリーとの間隔 */
  padding-bottom: 20px;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.pagination-dot.active {
  background-color: var(--pink-accent);
  /* アクティブな時の色をテーマカラーに */
  transform: scale(1.3);
  /* アクティブなドットを少し大きくして目立たせる */
}

/* --- 元々のCSSはここに記述されているものとします --- */
/* (省略) */


/* 
* ===============================================
*  PC表示用の追加スタイル (画面幅1024px以上で適用)
* ===============================================
*/
@media (min-width: 1024px) {

  /* --- 基本設定 --- */
  html,
  body {
    overflow: hidden;
    /* ページ全体のスクロールを禁止 */
    height: 100%;
    background-color: #000;
  }

  /* --- スマホ用要素の非表示 --- */
  #header,
  .scroll-down-indicator,
  .scroll-indicator {
    display: none !important;
  }


  /* --- PC用 背景レイヤー --- */
  #pc-background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .pc-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    /* 背景の切り替えアニメーション */
  }

  .pc-background-image.active {
    opacity: 1;
  }


  /* --- PC用 左側ナビゲーション --- */
  #pc-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    z-index: 10;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .brand-logo {
    text-align: center;
    margin-bottom: 50px;
  }

  .brand-logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  }

  #pc-nav nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #pc-nav nav li a {
    display: block;
    padding: 8px 25px;
    border-radius: 30px;
    color: #fff;
    background-color: #2c3e50;
    /* 非アクティブ時の色 */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  #pc-nav nav li a:hover {
    transform: translateX(10px);
    background-color: #34495e;
  }

  #pc-nav nav li a.active {
    background-color: #c5a06a;
    /* アクティブ時の色 */
    font-weight: bold;
    color: #fff;
  }

  .site-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .site-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9em;
  }

  .site-links a:hover {
    color: #fff;
  }

  /* --- 中央のコンテンツエリア --- */
  #wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    /* 画面の左から50%の位置に移動 */
    transform: translateX(-50%);
    /* 自分の幅の半分だけ左に戻る（これで完全な中央揃えになる） */
    max-width: 600px;
    /* 中央コンテンツの最大幅 */
    height: 100vh;
    overflow-y: scroll;
    /* このエリアだけ縦スクロールを許可 */
    z-index: 5;
    -ms-overflow-style: none;
    /* IE, Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  #wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
  }

  /* --- コンテンツセクションの調整 --- */
  .full-screen {
    /* 【ポイント①】スマホと同じ背景画像を表示させる設定！ */
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* 中央エリアでは背景を固定しない */

    /* 【ポイント②】文字を読みやすくするために、上にうすい黒い膜をかける準備 */
    position: relative;
    overflow: hidden;
    /* 角丸をキレイに見せるため */

    /* 元々のレイアウト設定はそのまま使うよ */
    margin: 0;
    /* 隙間をなくす */
    border-radius: 0;
    /* 角丸をなくす */
    height: auto;
    min-height: 100vh;
    /* ★最低でも画面の高さいっぱいに広がるように変更！ */
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    /* 上下の余白を少し調整して見やすく */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  /* 【ポイント③】これが「うすい黒い膜」の正体！ */
  .full-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 背景画像の濃さはここで調整できるよ (0.6を0.5にすると薄くなる) */
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    /* 必ず文字より下に配置する */
  }

  /* 【ポイント④】文字や写真が「うすい黒い膜」の上にちゃんと表示されるようにする命令 */
  .full-screen>* {
    position: relative;
    z-index: 2;
  }

  /* トップページだけは特別扱い */
  #section1 {
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
  }

  .hero-catchphrase {
    /* 必要に応じてPC用の位置調整 */
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    margin: auto;
  }

  footer#footer {
    min-height: auto;
  }
}

/*
* ===============================================
*  【最終修正】スマホでの「透けちゃう問題」を解決する魔法
* ===============================================
*/

/* --- まず、基本ルールとしてPC用メニューを「完全に存在しない」ことにしておく --- */
#pc-nav,
#pc-background-layer {
  display: none;
}

/* 
* ===============================================
*  【最終修正】PC表示用のスタイル上書き
* ===============================================
*/
@media (min-width: 1024px) {

  /* --- PCのときだけ、さっき消した部品を「復活」させる --- */
  #pc-nav {
    display: flex;
  }

  #pc-background-layer {
    display: block;
  }

  /* --- スマホ用ヘッダーの完全消去 --- */
  #header {
    display: none !important;
  }
}

/* ===============================================
 *  【追加】前後のプレイヤーへのナビゲーションデザイン (サイバーVer)
 * =============================================== */

/* ナビゲーションとパンくずをまとめる親要素 */
.page-footer-nav {
  padding: 20px 30px;
  background: linear-gradient(to top, #000000, #0a0a14);
  /* 黒から濃紺へのグラデーション */
  border-top: 1px solid var(--theme-color-primary, #00d0ff);
  /* テーマカラーのライン */
  box-shadow: 0 -5px 15px rgba(0, 208, 255, 0.1);
}

/* ナビゲーションのレイアウト */
.player-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 20px auto;
}

/* ナビゲーションのリンク（矢印と名前） */
.player-pagination a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 50px;
  /* 角を丸くしてカプセル型に */
  transition: all 0.3s ease;
}

/* ★★★ ホバーした時の光るエフェクト ★★★ */
.player-pagination a:hover {
  color: #fff;
  background-color: rgba(0, 208, 255, 0.1);
  border-color: rgba(0, 208, 255, 0.5);
  /* 文字を光らせる */
  text-shadow: 0 0 5px rgba(0, 208, 255, 0.8), 0 0 10px rgba(0, 208, 255, 0.5);
}

/* 矢印のスタイル */
.player-pagination .arrow {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--theme-color-primary, #00d0ff);
  /* テーマカラーを矢印に適用 */
  transition: transform 0.3s ease;
}

.player-pagination a:hover .arrow {
  transform: scale(1.2);
  /* ホバー時に矢印を少し大きく */
}

/* ===============================================
 *  【モバイル用】ナビゲーションの調整
 * =============================================== */
@media (max-width: 768px) {

  /* ナビとパンくずを縦に並べる */
  .page-footer-nav {
    padding: 15px;
  }

  .player-pagination {
    margin-bottom: 15px;
  }

  /* リンクの文字を少し小さく */
  .player-pagination a {
    font-size: 0.9rem;
    padding: 8px 15px;
    gap: 10px;
  }

  /* 矢印も少し小さく */
  .player-pagination .arrow {
    font-size: 1.5rem;
  }

  /* ★★★ 画面が特に狭い場合 (400px以下) の調整 ★★★ */
  @media (max-width: 400px) {

    /* 選手名を小さくして、最大2行まで表示できるようにする */
    .player-pagination .name {
      font-size: 0.75rem;
      /* 文字を小さく */
      line-height: 1.3;
      /* 行間を詰める */
      display: -webkit-box;
      /* 複数行の省略表示を有効に */
      -webkit-line-clamp: 2;
      /* 2行まで表示 */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }
}

/* ===============================================
 *  【デザイン改修】セクション7（ナビゲーション＆広告）
 * =============================================== */

/* --- セクション7全体のレイアウト調整 --- */
#section7 .section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 全体を上下中央に */
  align-items: center;
  /* 全体を左右中央に */
  padding: 20px;
}


/* --- ① 広告エリアの調整 --- */
.ad-space {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* 中身を縦に並べる */
  align-items: center;
  /* 中身を左右中央に */
  gap: 15px;
  /* 「- お知らせ -」とバナーの間隔 */
  margin-bottom: auto;
  /* ★上に寄せるための魔法★ */
}

/* 「- お知らせ -」のテキストスタイル */
.ad-space p {
  font-size: 1rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* バナー画像自体のスタイル（念のため） */
.ad-space a,
.ad-space img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* --- ② ナビゲーションとパンくずのエリア --- */
.page-footer-nav {
  width: 100%;
  max-width: 800px;
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.2);
  /* 少しだけ背景色をつける */
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  /* ★下に寄せるための魔法★ */
}


/* --- 前後のプレイヤーナビゲーションのデザイン --- */
/* (以前のデザインを流用し、少し調整) */
.player-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 25px auto;
  /* パンくずとの間隔 */
}

.player-pagination a {
  color: #e0e0e0;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 15px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.player-pagination a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.player-pagination .arrow {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--pink-accent);
  /* テーマカラーを矢印に適用 */
  transition: transform 0.3s ease;
}

.player-pagination a:hover .arrow {
  transform: scale(1.2);
}


/* --- パンくずリストのデザイン --- */
.breadcrumb-container {
  padding: 0;
  background: none;
  border-top: none;
  width: 100%;
  /* 幅を確保 */
}

.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* パンくずリストの各要素を横並びに */
.breadcrumb a,
.breadcrumb span {
  display: inline-block;
  /* 横並びにする */
  vertical-align: middle;
  /* 上下中央を揃える */
}

/* リンクのスタイル */
.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--pink-accent);
}

/* 矢印(>)のスタイル */
.breadcrumb span {
  margin: 0 8px;
}

/* 最後の要素（選手名）の直前の矢印(>)で、強制的に改行する */
.breadcrumb span:last-of-type {
  display: block;
  /* ブロック要素にして改行させる */
  margin: 5px auto;
  /* 上下の余白を調整 */
}


/* --- モバイル用の微調整 --- */
@media (max-width: 768px) {
  .player-pagination a {
    font-size: 0.9rem;
  }
}

/* ===============================================
 *  【z-index最終修正】セクション7の要素を全て最前面に
 * =============================================== */

/* セクション7内の全ての主要な箱に、直接重ね順を指定する */

.ad-space {
  position: relative;
  /* z-indexを有効化 */
  z-index: 3;
  /* 膜(1)、コンテンツ(2)よりも、さらに手前に */
}

.player-pagination {
  position: relative;
  z-index: 3;
}

.breadcrumb-container {
  position: relative;
  z-index: 3;
}

/* 見出しと下線を中央寄せに強制 */
.section-header {
  text-align: center;
}

/* 見出しをインライン化して中央に置く */
.section-header .section-title {
  display: inline-block;
  position: relative;
}

/* 左起点を中央起点に補正 */
.section-header .section-title::after {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* ===== FAQ 共通フレーム ===== */
.faq-stack {
  position: relative;
  max-width: 900px;
  margin: 12px auto 0;
}

.faq-stack::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #a855f7, #7c3aed);
  border-radius: 2px;
  opacity: .9;
}

/* 質問行（イベント: h3 / ライセンス: summary）を共通見た目に */
#faq-events .faq-item h3,
#faq-pro-license .faq-item summary {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  position: relative;
  padding: 18px 42px 18px 56px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

#faq-events .faq-item h3:hover,
#faq-pro-license .faq-item summary:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
}

/* ネイティブのディスクロージャーマーカーを非表示 */
#faq-pro-license .faq-item summary::-webkit-details-marker {
  display: none;
}

/* 左の Q. マーク（両方に） */
#faq-events .faq-item h3::before,
#faq-pro-license .faq-item summary::before {
  content: "Q.";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  color: #b182ff;
}

/* 右の▼矢印（開閉で回転） */
#faq-events .faq-item h3::after,
#faq-pro-license .faq-item summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .25s ease;
}

#faq-events .faq-item.is-open h3::after,
#faq-pro-license .faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* 回答ボックス（両方に適用） */
#faq-events .faq-item p,
#faq-pro-license .faq-item .faq-answer {
  margin: 10px 0 0 56px;
  padding: 12px 16px;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.9;
  background: rgba(255, 255, 255, .02);
  border-left: 2px dashed rgba(255, 255, 255, .25);
  border-radius: 6px 0 0 6px;
}

/* 間隔と区切り線を揃える */
#faq-events .faq-item,
#faq-pro-license .faq-item {
  padding: 0 0 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#faq-events .faq-item:last-child,
#faq-pro-license .faq-item:last-of-type {
  border-bottom: none;
}

/* --- 広告コンテナのスタイル --- */
.ad-container {
  /* 中央揃えにする */
  margin-left: auto;
  margin-right: auto;

  /* コンテナ自身の最大幅を広告の元の幅に設定 */
  max-width: 728px;

  /* 中身（画像）も中央に配置する */
  text-align: center;

  /* 上下に少し余白を持たせる（お好みで調整） */
  margin-top: 20px;
  margin-bottom: 20px;
}

/* --- 広告コンテナ内の画像に対するスタイル --- */
.ad-container img {
  /* 親要素の幅に合わせて画像の幅を自動調整 */
  max-width: 100%;

  /* 縦横比を維持する */
  height: auto;

  /* 念のため垂直方向の位置を調整 */
  vertical-align: middle;
}

.ad-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 中央揃え */
  gap: 12px;
  margin: 16px 0;
}

.ad-container img {
  max-width: 100%;
  height: auto;
}

.ad-card {
  background: #23222b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  box-sizing: border-box;
}

.ad-card:active {
  transform: scale(0.98);
}

.ad-card.ad-deepit {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-image: url('https://dartspropower.com/deepit/images/logo2.jpg');
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
}

.ad-card.ad-deepit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

.ad-content-overlay {
  position: relative;
  z-index: 2;
  padding: 16px;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.ad-deepit-title {
  font-size: 24px;
  font-weight: 800;
  margin: 4px 0 0 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
}

.ad-deepit-desc {
  font-size: 14px;
  color: white;
  margin: 0;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  line-height: 1.5;
}

/* 【特別ルール】ギャラリーセクションだけ高さを自動にする */
#section3 {
  height: auto;
  min-height: auto;
}

/* 【特別ルール】ギャラリーセクションだけ高さを自動にする */
#section7 {
  height: auto;
  min-height: auto;
}

/* 
* ===============================================
*  価格表示の強調スタイル
* ===============================================
*/
.price-accent {
  color: var(--pink-accent);
  /* テーマのアクセントカラーを適用 */
  font-weight: bold;
  font-size: 1.2em;
  /* 文字を少し大きく */
  display: inline-block;
  /* 余白調整のため */
  margin-top: 5px;
}

.price-supplement {
  display: block;
  /* 価格の下に改行して表示 */
  font-size: 0.8em;
  color: #eee;
  margin-top: 3px;
}

/* =========================================================
 *  Player 3D Gallery Styles (Common)
 * =========================================================
 */
.player-gallery-wrapper {
  width: 100%;
  position: relative;
  padding: 40px 0 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pg-container {
  width: 100%;
  max-width: 1000px;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1200px;
}

.pg-track-area {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pg-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.pg-card {
  position: absolute;
  width: 280px;
  height: 500px;
  left: 50%;
  top: 50%;
  margin-left: -140px;
  margin-top: -250px;
  border-radius: 16px;
  background-color: #000;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.pg-card.center {
  z-index: 10;
  transform: translateZ(0) scale(1.0);
  border-color: var(--pink-accent, #FF50B0);
  box-shadow: 0 20px 50px rgba(255, 80, 176, 0.3), 0 10px 20px rgba(0, 0, 0, 0.5);
}

.pg-card.center img {
  filter: brightness(1.1);
}

.pg-card.right-1 {
  z-index: 5;
  transform: translateX(220px) translateZ(-250px) rotateY(-25deg) scale(0.85);
  opacity: 0.7;
  filter: brightness(0.5);
}

.pg-card.right-2 {
  z-index: 1;
  transform: translateX(400px) translateZ(-300px) rotateY(-45deg);
  opacity: 0;
}

.pg-card.left-1 {
  z-index: 5;
  transform: translateX(-220px) translateZ(-250px) rotateY(25deg) scale(0.85);
  opacity: 0.7;
  filter: brightness(0.5);
}

.pg-card.left-2 {
  z-index: 1;
  transform: translateX(-400px) translateZ(-300px) rotateY(45deg);
  opacity: 0;
}

.pg-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateZ(-500px);
}

.pg-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pg-nav-btn:hover {
  background: var(--pink-accent, #FF50B0);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px var(--pink-accent, rgba(255, 80, 176, 0.5));
}

.pg-prev {
  left: 20px;
}

.pg-next {
  right: 20px;
}

.pg-info {
  text-align: center;
  margin-top: 20px;
  color: #fff;
}

#pg-count {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .pg-container {
    height: 420px;
  }

  .pg-card {
    width: 220px;
    height: 390px;
    margin-left: -110px;
    margin-top: -195px;
  }

  .pg-card.right-1 {
    transform: translateX(120px) translateZ(-200px) rotateY(-25deg) scale(0.85);
  }

  .pg-card.left-1 {
    transform: translateX(-120px) translateZ(-200px) rotateY(25deg) scale(0.85);
  }

  .pg-nav-btn {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: -60px;
    transform: none;
  }

  .pg-prev {
    left: 30%;
  }

  .pg-next {
    right: 30%;
  }

  .pg-info {
    margin-top: 70px;
  }
}
