*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #f0ede4;
  --ink:       #18160f;
  --muted:     #9a9285;
  --hole-c:    #18160f;
  --nav-h:     52px;
  --hero-c:    #18160f;
  --news-c:    #e8402a;
  --story-c:   #b8600a;
  --cast-c:    #1a5fe0;
  --trailer-c: #12b35a;

  /* section background tints (light, matching accent) */
  --hero-bg:    #f0ede4;
  --news-bg:    #fdf0ee;
  --story-bg:   #fdf5ee;
  --cast-bg:    #eef2fd;
  --trailer-bg: #edfaf3;
  --staff-bg:   #f5eef8;
  --footer-bg:  #18160f;
  --footer-ink: #f0ede4;
}

html, body {
  width: 100%; height: 100%;
  background: var(--hero-bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

/* =====================================================
   GLOBAL NAV
===================================================== */
#gnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  background: var(--hero-bg);
  border-bottom: 1px solid rgba(24,22,15,0.1);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  transition: background 0.45s ease, border-color 0.45s ease;
}

.gnav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 17px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink); cursor: pointer; flex-shrink: 0;
}

.gnav-logo span {
  display: inline-block; width: 7px; height: 7px;
  background: var(--ink); border-radius: 50%;
  margin-left: 3px; vertical-align: middle; position: relative; top: -1px;
}

/* ── デスクトップ: 通常のリンク一覧 ── */
.gnav-links {
  display: flex; align-items: center; gap: 2px; flex-wrap: nowrap;
}

.gnav-link {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--muted); padding: 5px 9px; border-radius: 20px;
  cursor: pointer; border: none; background: none;
  transition: color 0.2s, background 0.2s; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center;
}

.gnav-link:hover { color: var(--ink); background: rgba(24,22,15,0.06); }
.gnav-link.active { color: #fff; background: var(--ink); }
.gnav-link[data-target="HERO"].active    { background: var(--hero-c); }
.gnav-link[data-target="NEWS"].active    { background: var(--news-c); }
.gnav-link[data-target="STORY"].active   { background: var(--story-c); }
.gnav-link[data-target="CAST"].active    { background: var(--cast-c); }
.gnav-link[data-target="TRAILER"].active { background: var(--trailer-c); }
.gnav-link[data-target="FOOTER"].active  { background: var(--ink); }

/* ── ハンバーガーボタン: スマホのみ表示 ── */
#gnav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 0; flex-shrink: 0;
}
#gnav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* ── ドロワーメニュー ── */
#gnav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 899;
  background: var(--hero-bg);
  border-bottom: 1px solid rgba(24,22,15,0.1);
  padding: 8px 16px 16px;
  display: flex; flex-direction: column; gap: 2px;
  /* 初期状態: 非表示（GSAPで制御） */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: background 0.45s ease;
}

.gnav-drawer-link {
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--muted);
  padding: 10px 12px; border-radius: 8px;
  cursor: pointer; border: none; background: none;
  text-align: left; width: 100%;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap; text-decoration: none;
  display: flex; align-items: center; justify-content: space-between;
}
.gnav-drawer-link:hover { color: var(--ink); background: rgba(24,22,15,0.05); }
.gnav-drawer-link.active { color: var(--ink); background: rgba(24,22,15,0.07); }

/* アクティブ時の左アクセントライン */
.gnav-drawer-link.active::before {
  content: '';
  display: inline-block;
  width: 3px; height: 14px;
  border-radius: 2px;
  background: var(--ink);
  margin-right: 10px;
  flex-shrink: 0;
}
.gnav-drawer-link[data-target="NEWS"].active::before    { background: var(--news-c); }
.gnav-drawer-link[data-target="STORY"].active::before   { background: var(--story-c); }
.gnav-drawer-link[data-target="CAST"].active::before    { background: var(--cast-c); }
.gnav-drawer-link[data-target="TRAILER"].active::before { background: var(--trailer-c); }
.gnav-drawer-link[data-target="STAFF"].active::before   { background: #8e44ad; }

/* ハンバーガー オープン状態 */
#gnav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#gnav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
#gnav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── スマホ用 メディアクエリ ── */
@media (max-width: 640px) {
  .gnav-links    { display: none; }        /* デスクトップリンクを隠す */
  #gnav-hamburger { display: flex; }       /* ハンバーガーを表示 */
}

#nav-progress {
  position: fixed; top: var(--nav-h); left: 0;
  height: 2px; width: 0%; z-index: 901;
  transition: width 0.4s ease, background 0.4s;
}

/* =====================================================
   APP — background transitions here, not on sections
===================================================== */
#app {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  overflow: hidden;
  background: var(--hero-bg);
  transition: background 0.45s ease;
}

/* =====================================================
   SECTION
   All sections are display:flex always.
   Visibility (opacity/pointerEvents) managed by GSAP.
   Background is transparent — #app bg handles colour.
===================================================== */
.section {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  background: transparent;
  scrollbar-width: none;
  display: flex; flex-direction: column;
}
.section::-webkit-scrollbar { display: none; }

.section[data-name="FOOTER"] { color: var(--footer-ink); }

/* --sec-bg drives ticker fade-edge gradients */
.section[data-name="HERO"]    { --sec-bg: var(--hero-bg); }
.section[data-name="NEWS"]    { --sec-bg: var(--news-bg); }
.section[data-name="STORY"]   { --sec-bg: var(--story-bg); }
.section[data-name="CAST"]    { --sec-bg: var(--cast-bg); }
.section[data-name="TRAILER"] { --sec-bg: var(--trailer-bg); }
.section[data-name="STAFF"]   { --sec-bg: var(--staff-bg); }
.section[data-name="FOOTER"]  { --sec-bg: var(--footer-bg); }.sec-inner {
  min-height: 100%;
  display: flex; flex-direction: column;
}

/* =====================================================
   HERO
===================================================== */
.hero-body {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: clamp(32px, 6vw, 80px) clamp(24px, 6vw, 72px);
  gap: 20px;
}

.hero-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.3em;
  color: var(--muted);
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(52px, 11vw, 120px);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 0.95; color: var(--ink);
}

.hero-title em {
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}

.hero-desc {
  font-size: clamp(14px, 2vw, 16px); line-height: 1.7;
  color: var(--muted); max-width: 480px; font-weight: 400;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  background: var(--ink); color: var(--bg);
  border-radius: 40px; border: none; cursor: pointer;
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  transition: opacity 0.2s;
}
.hero-cta:hover { opacity: 0.8; }
.hero-cta svg { width: 14px; height: 14px; flex-shrink: 0; }

/* =====================================================
   TICKER HEADER
===================================================== */
.ticker-header {
  position: relative; height: 140px;
  flex-shrink: 0; overflow: hidden;
}

.ticker-stage {
  position: absolute; width: 220%; left: -60%; top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: center center; overflow: hidden;
}

.ticker-stage::before,
.ticker-stage::after {
  content: ''; position: absolute;
  top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.ticker-stage::before { left: 0;  background: linear-gradient(to right, var(--sec-bg, var(--bg)), transparent); }
.ticker-stage::after  { right: 0; background: linear-gradient(to left,  var(--sec-bg, var(--bg)), transparent); }

.ticker-strip {
  display: flex; align-items: center;
  white-space: nowrap; will-change: transform; padding: 4px 0;
}

.ticker-word {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800; letter-spacing: -0.01em;
  padding: 0 24px; line-height: 1;
  display: inline-block; flex-shrink: 0;
}
.ticker-word::after { content: ' ·'; opacity: 0.3; }

.section[data-name="NEWS"]    .ticker-word { color: var(--news-c); }
.section[data-name="STORY"]   .ticker-word { color: var(--story-c); }
.section[data-name="CAST"]    .ticker-word { color: var(--cast-c); }
.section[data-name="TRAILER"] .ticker-word { color: var(--trailer-c); }
.section[data-name="STAFF"]   .ticker-word { color: #8e44ad; }

/* =====================================================
   CONTENT AREA
===================================================== */
.sec-content {
  padding: 20px clamp(16px, 5vw, 56px) 0;
  flex: 1;
}

.sec-meta {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.28em; color: var(--muted); margin-bottom: 6px;
}

.sec-body-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 6vw, 44px); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 18px; line-height: 1;
}

/* --- Cards --- */
.sec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
  gap: 10px;
}

.card { background: #fff; border-radius: 6px; overflow: hidden; }

.card-img {
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #fff;
}

.section[data-name="NEWS"]    .card-img { background: var(--news-c); }
.section[data-name="CAST"]    .card-img { background: var(--cast-c); }
.section[data-name="TRAILER"] .card-img { background: var(--trailer-c); }

.card-body { padding: 10px 12px; }
.card-body h3 { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.card-body p  { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* --- Story --- */
.story-block { max-width: 680px; }

.story-lead {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 4vw, 28px); font-weight: 700;
  line-height: 1.35; letter-spacing: -0.02em;
  margin-bottom: 24px; color: var(--ink);
}

.story-divider {
  width: 32px; height: 2px;
  background: var(--story-c); margin: 8px 0 20px;
  border-radius: 1px;
}

.story-body {
  font-size: clamp(14px, 2vw, 15px); line-height: 1.85;
  color: var(--muted); font-weight: 400;
  display: flex; flex-direction: column; gap: 16px;
}
.story-body p { margin: 0; }

/* =====================================================
   HOLE ZONE
===================================================== */
.hole-zone {
  display: flex; flex-direction: column;
  align-items: center; padding: 32px 0 28px;
  flex-shrink: 0;
}

.scroll-hint {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--muted); margin-bottom: 10px; transition: opacity 0.3s;
}

.hole {
  width: min(480px, 80vw);
  height: clamp(44px, 7vw, 64px);
  border-radius: 50%; background: var(--hole-c);
  position: relative; flex-shrink: 0;
  box-shadow:
    0 -2px 0 rgba(0,0,0,0.18),
    inset 0 6px 20px rgba(0,0,0,0.65),
    inset 0 -2px 6px rgba(255,255,255,0.02);
}
.hole::before {
  content: ''; position: absolute;
  top: 0; left: 12%; right: 12%; height: 3px;
  border-radius: 50%; background: rgba(255,255,255,0.1);
}
.hole::after {
  content: ''; position: absolute; inset: 8px 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 30%, #2a2418 0%, transparent 70%);
}
.hole.pulsing { animation: holePulse 0.7s ease forwards; }

@keyframes holePulse {
  0%   { transform: scaleX(1)    scaleY(1); }
  35%  { transform: scaleX(1.06) scaleY(1.2); }
  65%  { transform: scaleX(0.97) scaleY(0.88); }
  100% { transform: scaleX(1)    scaleY(1); }
}

.is-sucking .scroll-hint { opacity: 0; }

/* =====================================================
   FOOTER
===================================================== */
.footer-content {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: clamp(24px, 6vw, 60px);
  text-align: center; gap: 16px; min-height: 100%;
}

.footer-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 7vw, 64px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.1;
  color: var(--footer-ink);
}

.footer-sub { font-size: 12px; letter-spacing: 0.2em; color: rgba(240,237,228,0.5); font-weight: 700; }

.footer-links {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px;
}

.footer-link {
  padding: 8px 20px; border: 1.5px solid rgba(240,237,228,0.25);
  border-radius: 24px; font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--footer-ink); cursor: pointer; transition: background 0.2s, color 0.2s;
  background: none; text-decoration: none;
}
.footer-link:hover { background: var(--footer-ink); color: var(--footer-bg); }

.footer-copy { font-size: 10px; color: rgba(240,237,228,0.35); letter-spacing: 0.15em; margin-top: 24px; }

/* =====================================================
   TRANSITIONS
   Section enter/exit transitions are driven by
   inline styles set in revealSection() in main.js.
   (.sec-enter-* classes are no longer used)
===================================================== */

/* =====================================================
   SCROLL INDICATOR
===================================================== */
#scroll-indicator {
  position: fixed; bottom: 14px; right: 18px; z-index: 800;
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--muted);
  animation: bounce 1.8s ease-in-out infinite; transition: opacity 0.3s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* =====================================================
   外部リンク（THEATER）ナビボタン
===================================================== */
.gnav-external {
  text-decoration: none;
  border: 1px solid rgba(24,22,15,0.2);
}
.gnav-external:hover {
  border-color: var(--ink);
}

/* =====================================================
   STAFFセクション — テキストリスト形式
===================================================== */
.staff-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 540px;
}

.staff-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(24,22,15,0.08);
}
.staff-row:first-child { border-top: 1px solid rgba(24,22,15,0.08); }

.staff-role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  width: 90px;
  flex-shrink: 0;
}

.staff-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* =====================================================
   YouTubeモーダル（iframe埋め込み方式）
   opacity:0 + visibility:hidden で初期非表示。
   GSAPのautoAlphaで表示/非表示を制御する。
   ※ display:none はGSAPのautoAlphaで制御できないため使わない。
===================================================== */
#yt-modal {
  display: flex;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(18,16,9,0.88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

#yt-modal-inner {
  position: relative;
  width: min(860px, 95vw);
  background: #18160f;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
}

#yt-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: rgba(240,237,228,0.12);
  border: none;
  color: #f0ede4;
  font-size: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
#yt-modal-close:hover { background: rgba(240,237,228,0.25); }

/* 16:9 アスペクト比ボックス */
#yt-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
#yt-iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* =====================================================
   TRAILERカード — クリック可能な見た目
===================================================== */
.section[data-name="TRAILER"] .card[data-yt-id] {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.section[data-name="TRAILER"] .card[data-yt-id]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18,179,90,0.18);
}
.section[data-name="TRAILER"] .card-img {
  font-size: 28px;
  letter-spacing: 0;
}

/* =====================================================
   オープニングアニメーション
   構成:
     1. 黒画面 + 中央に小さな穴
     2. タイトル文字が穴へ落下・縮小
     3. 穴がフルスクリーンまで拡大（楕円→overflow hidden で全面）
     4. オーバーレイ消去 → HEROセクション登場
===================================================== */

/* オーバーレイ全体：黒背景、全画面固定 */
#opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0e0d09;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* GSAPで visibility を制御するので display は変えない */
}

/* 穴：楕円、中央配置 */
#op-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  /* 初期サイズ: 小さな穴 */
  width: 160px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #000;
  /* 上縁のリム光沢 */
  box-shadow:
    0 -2px 0 rgba(255,255,255,0.08),
    inset 0 6px 24px rgba(0,0,0,0.9);
}
#op-hole::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

/* タイトル：穴の上に重なる形で表示 */
#op-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform-origin: center center;
  pointer-events: none;
}

.op-word {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f0ede4;
  text-align: center;
  white-space: nowrap;
}

.op-word em {
  font-style: normal;
  -webkit-text-stroke: 2px #f0ede4;
  color: transparent;
}

/* スキップボタン */
#op-skip {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: none;
  border: 1px solid rgba(240,237,228,0.25);
  color: rgba(240,237,228,0.5);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  z-index: 10;
}
#op-skip:hover {
  border-color: rgba(240,237,228,0.6);
  color: rgba(240,237,228,0.9);
}

/* =====================================================
   CASTカード — クリック可能
===================================================== */
.section[data-name="CAST"] .card[data-cast-id] {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.section[data-name="CAST"] .card[data-cast-id]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,95,224,0.15);
}

/* =====================================================
   CASTプロフィールモーダル
===================================================== */
#cast-modal {
  display: flex;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(18,16,9,0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#cast-modal-inner {
  position: relative;
  width: min(600px, 100%);
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
}

@media (min-width: 480px) {
  #cast-modal-inner {
    flex-direction: row;
    min-height: 320px;
  }
}

#cast-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: rgba(24,22,15,0.08);
  border: none;
  color: var(--ink);
  font-size: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
#cast-modal-close:hover { background: rgba(24,22,15,0.15); }

/* 写真エリア */
#cast-modal-photo {
  width: 100%;
  height: 180px;
  background: var(--cast-c);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 480px) {
  #cast-modal-photo {
    width: 200px;
    height: auto;
  }
}

/* テキストエリア */
#cast-modal-body {
  padding: 28px 28px 28px 24px;
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
#cast-modal-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
#cast-modal-role {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cast-c);
  margin-bottom: 8px;
}
#cast-modal-profile {
  font-size: 13px; line-height: 1.75;
  color: var(--muted);
}
#cast-modal-works {
  margin-top: 12px;
  padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 3px;
}
#cast-modal-works li {
  font-size: 11px; color: var(--muted);
  padding-left: 14px;
  position: relative;
}
#cast-modal-works li::before {
  content: '—';
  position: absolute; left: 0;
  color: rgba(24,22,15,0.3);
}

/* =====================================================
   右端ナビドット（セクション位置表示＆クリックで移動）
===================================================== */
#section-dots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.section-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.2;
  cursor: pointer;
  border: none; padding: 0;
  /* タップしやすいようにhit areaを広く */
  position: relative;
  transition: opacity 0.3s, transform 0.3s;
}
.section-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
}
.section-dot:hover { opacity: 0.5; }
.section-dot.active {
  opacity: 1;
  transform: scale(1.4);
  background: var(--ink);
}

/* フッターでは白ドット */
body.is-footer .section-dot { background: #f0ede4; }

/* =====================================================
   CASTモーダル NEXT/PREV ナビゲーション
===================================================== */
#cast-modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(24,22,15,0.08);
  gap: 12px;
}

#cast-modal-prev,
#cast-modal-next {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--muted);
  background: none; border: none; cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s;
}
#cast-modal-prev:hover,
#cast-modal-next:hover { color: var(--ink); }
#cast-modal-prev:disabled,
#cast-modal-next:disabled {
  opacity: 0.25;
  cursor: default;
}

#cast-modal-counter {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(24,22,15,0.3);
}

/* =====================================================
   SCROLLインジケーター → クリック可能ボタン
===================================================== */
#scroll-indicator {
  /* button reset */
  background: none; border: none;
  cursor: pointer;
  /* 既存スタイルを維持 */
  position: fixed; bottom: 14px; right: 18px; z-index: 800;
  display: flex; align-items: center; gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--muted);
  animation: bounce 1.8s ease-in-out infinite;
  transition: opacity 0.3s, color 0.2s;
  padding: 4px;
}
#scroll-indicator:hover { color: var(--ink); }
