/* ============================================
   ノエスタ怪奇調査 〜秘密のバックヤードと幽霊のウワサ〜 LP
   GAME / DETECTIVE UI DESIGN
   ============================================ */

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Variables ===== */
:root {
  /* ベースカラー（さらに白寄り・淡い赤に底上げ／KVセクションの画像は暗いまま） */
  --color_bg:            #55343c;
  --color_bg_secondary:  #603c45;
  --color_bg_card:       #6a434d;
  --color_bg_card_hover: #784c57;
  --color_bg_highlight:  #8a5763;

  /* テキスト（白〜生成り） */
  --color_text:          #fff;
  --color_text_muted:    #fff;
  --color_text_dim:      #e0c8c4;

  /* アクセント（明るめクリムゾンレッド） */
  --color_accent:        #f15a60;
  --color_accent_bright: #ff7177;
  --color_accent_dim:    rgba(241, 90, 96, 0.12);
  --color_accent_glow:   rgba(241, 90, 96, 0.4);

  /* 警告・危険（レッド） */
  --color_danger:        #f15a60;
  --color_danger_dim:    rgba(241, 90, 96, 0.14);
  --color_danger_glow:   rgba(241, 90, 96, 0.3);

  /* クリムゾンレッド */
  --color_crimson:       #a3393f;
  --color_crimson_deep:  #2c0f12;   /* KV用の暗さは維持 */
  --color_crimson_bright:#d85a61;
  --color_crimson_dim:   rgba(163, 57, 63, 0.4);

  /* 解決・発見 */
  --color_success:       #d2575e;
  --color_success_dim:   rgba(210, 87, 94, 0.16);

  /* ボーダー */
  --color_divider:       rgba(230, 190, 188, 0.20);
  --color_divider_dim:   rgba(230, 90, 98, 0.14);

  /* フォント */
  --font_game:    'VT323', monospace;
  --font_mono:    'Share Tech Mono', 'Courier New', monospace;
  --font_serif:   'Noto Serif JP', 'YuMincho', serif;
  --font_sans:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

  --inner_max:  1120px;
  --section_v:  96px;
  --section_h:  24px;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color_bg);
  color: var(--color_text);
  font-family: var(--font_sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 本文中のリンク（URL等）はアクセント色＋下線で区別 */
.ticket_notice a,
.ticket_meta_value a,
.faq_answer a,
.faq_answer_list a {
  color: var(--color_accent_bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
  transition: color 0.2s;
}

.ticket_notice a:hover,
.ticket_meta_value a:hover,
.faq_answer a:hover,
.faq_answer_list a:hover {
  color: #ff8a90;
}

/* ===== スキャンライン（CRT風） ===== */
/* ===== 点滅カーソル ===== */
.blink {
  animation: anim_blink 1s step-end infinite;
  color: var(--color_text);
}

@keyframes anim_blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ===== フェードインアニメーション ===== */
.js_fade_in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js_fade_in.is_visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== グリッチアニメーション ===== */
@keyframes anim_glitch_1 {
  0%, 88%, 100% { clip-path: none; transform: translate(0); }
  89%  { clip-path: inset(15% 0 70% 0); transform: translate(-4px, 0); color: var(--color_danger); }
  91%  { clip-path: inset(65% 0 5% 0);  transform: translate(4px, 0); }
  93%  { clip-path: inset(35% 0 45% 0); transform: translate(-2px, 0); color: var(--color_text); }
  95%  { clip-path: none; transform: translate(0); }
}

@keyframes anim_glitch_2 {
  0%, 88%, 100% { clip-path: none; transform: translate(0); opacity: 1; }
  90%  { clip-path: inset(50% 0 30% 0); transform: translate(5px, 0); opacity: 0.7; }
  92%  { clip-path: inset(10% 0 80% 0); transform: translate(-5px, 0); }
  94%  { clip-path: none; transform: translate(0); opacity: 1; }
}

/* ===== 共通レイアウト ===== */
.section_inner {
  max-width: var(--inner_max);
  margin: 0 auto;
  padding: var(--section_v) var(--section_h);
}

/* ===== セクション区切り ===== */
.section_intro,
.section_movie,
.section_story,
.section_role,
.section_areas,
.section_characters,
.section_flow,
.section_outline,
.section_ticket,
.section_faq,
.section_sponsors {
  position: relative;
}

.section_intro::before,
.section_movie::before,
.section_story::before,
.section_role::before,
.section_areas::before,
.section_characters::before,
.section_flow::before,
.section_outline::before,
.section_ticket::before,
.section_faq::before,
.section_sponsors::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color_divider), transparent);
}

/* ===== 共通タイポグラフィ ===== */
.section_label {
  font-family: var(--font_game);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--color_text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section_label::after {
  content: '';
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, var(--color_text), transparent);
}

.section_title {
  font-family: var(--font_serif);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color_text);
  margin-bottom: 24px;
}

.section_desc {
  font-size: 18px;
  color: var(--color_text_muted);
  line-height: 1.9;
  margin-bottom: 56px;
}

/* ===== ゲームUI コーナーブラケット（汎用） ===== */
.game_frame {
  position: relative;
}

.game_frame::before,
.game_frame::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
}

.game_frame::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--color_accent);
  border-left: 2px solid var(--color_accent);
}

.game_frame::after {
  top: 0;
  right: 0;
  border-top: 2px solid var(--color_accent);
  border-right: 2px solid var(--color_accent);
}

/* ===== ボタン ===== */
.btn_primary {
  display: inline-block;
  border: 1px solid var(--color_accent);
  color: var(--color_text);
  padding: 14px 40px;
  font-family: var(--font_game);
  font-size: 20px;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  background-color: transparent;
  position: relative;
}

.btn_primary::before,
.btn_primary::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  transition: width 0.2s, height 0.2s;
}

.btn_primary::before {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid var(--color_accent);
  border-left: 2px solid var(--color_accent);
}

.btn_primary::after {
  top: 0;
  right: 0;
  border-top: 2px solid var(--color_accent);
  border-right: 2px solid var(--color_accent);
}

.btn_primary:hover,
.btn_primary:focus-visible {
  background-color: var(--color_accent_dim);
  color: var(--color_accent_bright);
  box-shadow: 0 0 20px var(--color_accent_glow), inset 0 0 20px rgba(224, 68, 74, 0.05);
  outline: none;
}

.btn_primary:hover::before,
.btn_primary:hover::after {
  width: 18px;
  height: 18px;
}

.btn_primary--large {
  padding: 18px 56px;
  font-size: 24px;
  margin-top: 40px;
}

/* ===== FV ===== */
.section_fv {
  position: relative;
  /* 高さは内容（MV＋スライド）に合わせる。100vh強制だと画面が縦長のときスライド下に余白が出るため解除 */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--color_crimson_deep);
}

/* メインビジュアル（mv.webp）を左右余白付きで全体表示 */
.fv_inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 56px 24px 48px;
  width: 100%;
  background: url('../images/kv_hero_wide.webp') no-repeat center center / cover;
}

.fv_sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.fv_poster {
  max-width: min(92vw, 600px);
}

.fv_poster_img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

/* ▼ メインビジュアル：100vh・画像1枚差し替え用プレースホルダー（仮図形） */
.fv_mv_placeholder {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100vh;
  height: 100svh;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(224, 68, 74, 0.05) 0 18px, transparent 18px 36px),
    linear-gradient(135deg, #2a1416 0%, #160b0c 100%);
  border: 2px dashed rgba(224, 68, 74, 0.45);
  box-sizing: border-box;
}

.fv_mv_placeholder_text {
  font-family: var(--font_mono);
  font-size: clamp(28px, 7vw, 64px);
  letter-spacing: 0.12em;
  color: rgba(224, 68, 74, 0.85);
}

.fv_mv_placeholder_note {
  font-family: var(--font_mono);
  font-size: clamp(11px, 2.4vw, 14px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

/* メインビジュアル：ポスターを全幅・自然な縦横比で表示（SP/PC出し分け） */
.fv_mv_img {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
}

/* PC=横長(kv_pc) / SP=縦長(kv_sp)。表示切替はラッパー側で制御 */
.fv_mv_fx_wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  line-height: 0;
}
.fv_mv_fx_wrap .fv_mv_img {
  z-index: auto;
}
.fv_mv_pc_wrap {
  --title-src: url(../images/kv_title.webp);
}
.fv_mv_sp_wrap {
  --title-src: url(../images/kv_title_sp.webp);
  display: none;
}
@media (max-width: 768px) {
  .fv_mv_pc_wrap {
    display: none;
  }
  .fv_mv_sp_wrap {
    display: block;
  }
}

/* ===== PC限定：タイトル「懐中電灯で照らす」演出 ===== */
.fv_title_fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  --spot-x: 50%;
  --spot-y: 22%;
  --spot-r: 200px;
}

.fv_title_dim,
.fv_title_reveal {
  position: absolute;
  inset: 0;
  background-image: var(--title-src);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

/* SPのタイトル枠は中央寄り（JS未動作時のフォールバック位置） */
.fv_mv_sp_wrap .fv_title_fx {
  --spot-x: 50%;
  --spot-y: 37%;
}

/* 焼き込み済みの明るいタイトルを暗く伏せる（同位置に暗いタイトルを重ねる） */
.fv_title_dim {
  filter: brightness(0.13) blur(0.4px);
}

/* 懐中電灯の輪が当たった所だけ明るいタイトルを再表示 */
.fv_title_reveal {
  filter: brightness(1.42)
          drop-shadow(0 0 14px rgba(255, 226, 168, 0.55))
          drop-shadow(0 0 34px rgba(224, 68, 74, 0.3));
  -webkit-mask-image: radial-gradient(circle var(--spot-r) at var(--spot-x) var(--spot-y),
          #000 0%, #000 42%, rgba(0, 0, 0, 0) 72%);
  mask-image: radial-gradient(circle var(--spot-r) at var(--spot-x) var(--spot-y),
          #000 0%, #000 42%, rgba(0, 0, 0, 0) 72%);
  will-change: -webkit-mask-image, mask-image;
}

@media (prefers-reduced-motion: reduce) {
  .fv_title_reveal {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 226, 168, 0.4));
  }
}

/* ノイズテクスチャ */
.fv_noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ① KVイメージ背景レイヤー（暗めに敷いて雰囲気づくり） */
.fv_kv_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/kv_hero2.webp') no-repeat center 18% / cover;
  opacity: 0.42;
  filter: saturate(1.05) contrast(1.02);
}

/* ① 背景グラデーション（クリムゾンレッド × ピッチライト） */
.section_fv::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 40% at 50% 78%, rgba(224, 68, 74, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 50%, rgba(60, 21, 23, 0.25) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(20, 9, 9, 0.78) 0%, rgba(60, 21, 23, 0.52) 45%, rgba(12, 7, 7, 0.92) 100%);
}

/* グリッドオーバーレイ（調査システム画面風） */
.section_fv::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(224, 68, 74, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 68, 74, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* 起動メッセージ */
.fv_boot {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 3;
  font-family: var(--font_mono);
  font-size: 11px;
  color: var(--color_text);
  opacity: 0.55;
  line-height: 1.9;
}

.fv_boot_prompt {
  color: var(--color_success);
  margin-right: 6px;
}

.fv_content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px var(--section_h);
  max-width: 840px;
  width: 100%;
}

.fv_label {
  font-family: var(--font_game);
  font-size: 15px;
  letter-spacing: 0.4em;
  color: var(--color_text);
  opacity: 0.7;
  margin-bottom: 28px;
}

.fv_preheadline {
  font-family: var(--font_serif);
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--color_text_muted);
  font-style: italic;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}

.fv_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}

.fv_title_venue {
  font-family: var(--font_serif);
  font-size: clamp(13px, 2vw, 20px);
  font-weight: 300;
  color: var(--color_text_muted);
  letter-spacing: 0.25em;
}

.fv_title_main {
  font-family: var(--font_serif);
  font-size: clamp(28px, 7vw, 66px);
  font-weight: 700;
  color: var(--color_text);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-shadow: 0 0 60px var(--color_accent_glow), 0 0 120px rgba(224, 68, 74, 0.15);
  animation: anim_glitch_1 8s ease-in-out infinite;
}

/* グリッチ用の複製レイヤー（::before） */
.fv_title_main::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  color: var(--color_danger);
  opacity: 0.6;
  animation: anim_glitch_2 8s ease-in-out infinite;
  animation-delay: 0.05s;
}

.fv_title_catch {
  font-family: var(--font_serif);
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 300;
  color: var(--color_text_muted);
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.fv_meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 44px;
  font-family: var(--font_mono);
  font-size: 13px;
  color: var(--color_text_muted);
  letter-spacing: 0.05em;
}

.fv_meta_sep {
  color: var(--color_divider);
}

/* スクロールインジケーター */
.fv_scroll_indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fv_scroll_indicator span {
  font-family: var(--font_game);
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--color_text_dim);
}

.fv_scroll_line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color_accent), transparent);
  animation: anim_scroll 2s ease-in-out infinite;
}

@keyframes anim_scroll {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.space_section {
    width: 100%;
    height: 80px;
    background: #712F31;;
}
.space_section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn_primary.btn_primary_kv {
  background: #fff;
}

.fv_poster_text {
  width: min(100%, 650px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fv_poster_text_main {
  font-family: var(--font_serif);
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}
.fv_poster_text_line {
  display: block;
  width: 60px;
  height: 1px;
  background: #fff;
}

/* ===== イントロダクション ===== */
.section_intro {
  /* background-color: #6b6b6b85; */
  overflow: hidden;
}

/* レンガ背景は廃止。ダーク地色のみ。 */
.intro_img_bg {
  display: none;
}

.intro_lead {
  font-family: var(--font_sans);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 2.1;
  color: var(--color_text_muted);
  margin-bottom: 56px;
}

.intro_lead p + p {
  margin-top: 24px;
}

.incident_list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.incident_item {
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider_dim);
  border-left: 2px solid transparent;
  transition: border-left-color 0.25s, background-color 0.25s;
  position: relative;
  overflow: hidden;
}

.incident_item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--color_accent_dim) 0%, transparent 30%);
  opacity: 0;
  transition: opacity 0.3s;
}

.incident_item:hover {
  border-left-color: var(--color_accent);
  background-color: var(--color_bg_card_hover);
}

.incident_item:hover::after {
  opacity: 1;
}

.incident_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  border-bottom: 1px solid var(--color_divider_dim);
  background-color: rgba(255,255,255,0.8);
}

.incident_file_id {
  font-family: var(--font_mono);
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--color_text_dim);
}

.incident_stamp {
  font-family: var(--font_game);
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 2px 10px;
  border: 1px solid;
}

.stamp_unresolved {
  color: var(--color_danger);
  border-color: var(--color_danger);
  text-shadow: 0 0 8px var(--color_danger_glow);
}

.stamp_resolved {
  color: var(--color_success);
  border-color: var(--color_success);
}

.incident_body {
  display: flex;
  gap: 24px;
  padding: 20px 20px 24px;
  position: relative;
  z-index: 1;
}

.incident_number {
  font-family: var(--font_game);
  font-size: 36px;
  color: var(--color_text);
  opacity: 0.3;
  min-width: 40px;
  line-height: 1;
  padding-top: 4px;
  flex-shrink: 0;
}

.incident_text h3 {
  font-family: var(--font_serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--color_text);
  margin-bottom: 8px;
}

.incident_text p {
  font-size: 16px;
  color: var(--color_text_muted);
  line-height: 1.85;
}

/* ===== movie section ===== */

.section_movie {
    position: relative;
    overflow: hidden;
}

/* レンガ背景は廃止。ダーク地色のみ。 */
.movie_parallax_bg {
  display: none;
}

.section_movie_frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: tra;
    object-fit: cover;
    z-index: 1;
}

.section_movie_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.section_movie_item {
    width: 80%;
    max-width: 500px;
    height: 100%;
    object-fit: cover;
    position: relative;
    border-radius: 10px;
}

.section_movie_light {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100%, -50%);
    height: 100%;
    aspect-ratio: 1;
}

.section_movie_image {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    overflow: hidden;
    border-radius: 10px;
}

/* ===== ストーリー ===== */
.section_story {
  background-color: var(--color_bg);
  position: relative;
  z-index: 1;
  /* background: url('../images/bg_sample1.webp') no-repeat center top / cover; */
}

.story_chapter {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.story_year {
  font-family: var(--font_game);
  font-size: 56px;
  color: var(--color_text);
  opacity: 0.5;
  line-height: 1;
  padding-top: 6px;
  text-shadow: 0 0 20px var(--color_accent_glow);
}

.story_year--past {
  color: var(--color_text_muted);
  opacity: 0.25;
  text-shadow: none;
}

.story_text h2 {
  font-family: var(--font_serif);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 400;
  color: var(--color_text);
  margin-bottom: 20px;
  line-height: 1.45;
}

.story_text p {
  font-size: 18px;
  color: var(--color_text_muted);
  line-height: 2;
  margin-bottom: 16px;
}

.story_highlight {
  margin-top: 24px;
  padding: 20px 24px;
  background-color: var(--color_bg_highlight);
  border: 1px solid var(--color_divider);
  border-left: 3px solid var(--color_accent);
  position: relative;
}

.story_highlight_label {
  font-family: var(--font_game);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color_text);
  display: block;
  margin-bottom: 8px;
}

.story_highlight p {
  font-size: 15px !important;
  color: var(--color_text) !important;
  margin-bottom: 0 !important;
}

.story_divider {
  text-align: center;
  margin: 56px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.story_divider::before,
.story_divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color_text);
}

.story_divider_text {
  font-family: var(--font_game);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color_text);
  white-space: nowrap;
}

.deco_group {
    position: absolute;
    left: 5%;
    bottom: 56%;
    z-index: 3;
    transform: rotate(-7deg);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: -1;
    pointer-events: none;
  }
  
  .deco_card {
    background-color: rgba(17, 16, 9, 0.88);
    border: 1px solid rgba(224, 68, 74, 0.5);
    padding: 14px 18px;
    min-width: 168px;
    position: relative;
    backdrop-filter: blur(4px);
  }
  
  .deco_card::before,
  .deco_card::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
  }
  
  .deco_card::before {
    top: 0;
    left: 0;
    border-top: 2px solid var(--color_accent_bright);
    border-left: 2px solid var(--color_accent_bright);
  }
  
  .deco_card::after {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--color_accent_bright);
    border-right: 2px solid var(--color_accent_bright);
  }
  
  .deco_card_label {
    font-family: var(--font_mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--color_text_dim);
    margin-bottom: 6px;
  }
  
  .deco_card_id {
    font-family: var(--font_game);
    font-size: 22px;
    color: var(--color_text);
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 0 10px var(--color_accent_glow);
  }
  
  .deco_card_status {
    font-family: var(--font_game);
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--color_danger);
    text-shadow: 0 0 8px var(--color_danger_glow);
  }
  
  .deco_tag {
    font-family: var(--font_mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    color: var(--color_text_dim);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 4px 10px;
    border: 1px solid var(--color_divider_dim);
  }

/* ===== あなたの役割 ===== */
.section_role {
  background-color: var(--color_bg_secondary);
  position: relative;
  overflow: hidden;
}
.section_role::before {
    height: 100%;
}

/* レンガ背景は廃止。ダーク地色のみ。 */
.role_parallax_bg {
  display: none;
}

.section_role .section_inner {
  position: relative;
  z-index: 1;
}

.role_card {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider);
  position: relative;
}

/* コーナーブラケット */
.role_card::before,
.role_card::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 1;
}

.role_card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--color_accent_bright);
  border-left: 2px solid var(--color_accent_bright);
}

.role_card::after {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--color_accent_bright);
  border-right: 2px solid var(--color_accent_bright);
}

/* CLASSIFIEDスタンプ */
.role_stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font_game);
  font-size: 16px;
  letter-spacing: 0.25em;
  color: var(--color_danger);
  border: 2px solid var(--color_danger);
  padding: 4px 12px;
  transform: rotate(-12deg);
  opacity: 0.7;
  text-shadow: 0 0 8px var(--color_danger_glow);
  box-shadow: 0 0 8px var(--color_danger_dim);
  pointer-events: none;
  z-index: 1;
}

.role_card_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--color_divider_dim);
  background-color: rgba(0,0,0,0.25);
  flex-wrap: wrap;
  gap: 8px;
}

.role_card_tag {
  font-family: var(--font_game);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--color_text);
}

.role_card_number {
  font-family: var(--font_mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color_text_dim);
}

.role_card_body {
  padding: 40px 28px 32px;
}

.role_card_body h2 {
  font-family: var(--font_serif);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 300;
  color: var(--color_text_muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.role_card_body h2 strong {
  font-weight: 700;
  color: var(--color_text);
}

.role_card_body p {
  font-size: 16px;
  color: var(--color_text_muted);
  line-height: 1.95;
  margin-bottom: 16px;
  /* 日本語の行末で1〜数文字だけ孤立して折り返すのを防ぐ */
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.role_card_body p:last-of-type {
  margin-bottom: 28px;
}

.role_card_note {
  font-size: 15px !important;
  color: var(--color_text_muted) !important;
  border-left: 2px solid rgba(224, 68, 74, 0.5);
  padding-left: 12px;
}

.role_duties {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.role_duties li {
  font-size: 16px;
  color: var(--color_text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.duty_icon {
  color: var(--color_text);
  font-size: 11px;
  flex-shrink: 0;
}

.role_card_footer {
  padding: 14px 32px;
  border-top: 1px solid var(--color_divider_dim);
  text-align: right;
  font-family: var(--font_mono);
  font-size: 12px;
  color: var(--color_text_dim);
}

/* ===== 調査エリア ===== */
.section_areas {
  background-color: var(--color_bg_secondary);
}

.areas_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.area_card {
  background-color: #fff;
  padding: 0 0 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color_divider_dim);
  transition: border-color 0.25s, background-color 0.25s;
  cursor: default;
}

.area_card:last-of-type {
  padding-bottom: 0;
}

.area_card:hover {
  background-color: var(--color_bg_card_hover);
  border-color: var(--color_divider);
}

/* ホバーで左辺アクセントライン */
.area_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--color_accent);
  transition: height 0.35s ease;
}

.area_card:hover::before {
  height: 100%;
}

.area_access_level {
  font-family: var(--font_game);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--color_danger);
  background-color: var(--color_danger_dim);
  padding: 6px 16px;
  border-bottom: 1px solid rgba(212, 64, 64, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}

.area_access_level::before {
  content: '⚠';
  font-size: 9px;
}

.area_access_level--start {
  color: var(--color_success);
  background-color: var(--color_success_dim);
  border-bottom-color: rgba(193, 74, 80, 0.15);
}

.area_access_level--start::before {
  content: '▶';
}

.area_access_level--final {
  color: var(--color_text);
  background-color: var(--color_accent_dim);
  border-bottom-color: rgba(224, 68, 74, 0.15);
}

.area_access_level--final::before {
  content: '★';
  font-size: 8px;
}

.area_card_inner {
  padding: 24px 24px 20px;
}

/* ネストせずに各要素に直接paddingを適用 */
.area_number {
  font-family: var(--font_game);
  font-size: 16px;
  letter-spacing: 0.25em;
  color: var(--color_text);
  opacity: 1;
  font-weight: bold;
  padding: 16px 24px 8px;
}

/* FILE番号＋「調査予定地」スタンプの見出し行 */
.area_card_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 8px;
}

.area_card_head .area_number {
  padding: 0;
}

.area_stamp {
  font-family: var(--font_game);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: bold;
  color: var(--color_danger);
  border: 1.5px solid var(--color_danger);
  border-radius: 4px;
  padding: 2px 10px;
  transform: rotate(3deg);
  white-space: nowrap;
  opacity: 0.9;
}

.area_number--final {
  color: var(--color_text);
}

.area_stamp--final {
  color: var(--color_text);
  border-color: var(--color_accent);
  opacity: 1;
}

.area_card--final {
  background-color: #1c0f10;
}

.area_card--final .area_name {
  color: var(--color_text);
}

.area_card--final .area_desc {
  color: var(--color_text_muted);
}

/* ===== 調査場所：pattern3「調書カード」デザイン移植 ===== */
.dot_font {
  font-family: "DotGothic16", monospace;
  letter-spacing: 0.08em;
}

.file_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.file_card {
  background: #f8f4e9;          /* paper */
  color: #141832;              /* ink */
  border: 3px solid #060a1c;   /* navy-line */
  border-radius: 12px;
  box-shadow: 5px 5px 0 rgba(6, 10, 28, 0.7);
  padding: 1.2rem 1.4rem 1.3rem;
  position: relative;
}

.file_card_media {
  margin-bottom: 0.9rem;
  border: 2px solid #060a1c;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a0e24;
}

.file_card_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.file_card_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0rem;
}

.file_no {
  font-size: 0.82rem;
  color: #a8123e;              /* crimson */
}

.file_stamp {
  font-size: 0.7rem;
  font-weight: 700;
  color: #a8123e;
  border: 2px solid #a8123e;
  border-radius: 4px;
  padding: 0.05em 0.6em;
  transform: rotate(3deg);
  opacity: 0.85;
  white-space: nowrap;
}

.file_name {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.file_desc {
  font-size: 0.9rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .file_list {
    grid-template-columns: 1fr;
  }
}

.area_name {
  font-family: var(--font_serif);
  font-size: 24px;
  font-weight: bold;
  color: var(--color_bg);
  padding: 0 24px 12px;
  line-height: 1.3;
}

.area_desc {
  font-size: 16px;
  color: var(--color_bg);
  line-height: 1.9;
  font-weight: 500;
  padding: 0 24px 16px;
}

.area_phenomenon {
  font-family: var(--font_mono);
  font-size: 11px;
  color: var(--color_text_dim);
  padding: 10px 24px 16px;
  border-top: 1px solid var(--color_divider_dim);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.area_phenomenon_label {
  color: var(--color_text);
  opacity: 0.6;
}

.area_phenomenon span:last-child {
  color: var(--color_text_muted);
}

/* 最後はフル幅・縦積み */
.area_card--wide {
  grid-column: 1 / -1;
}


.area_card--wide .area_desc {
  padding: 16px 20px;
}

/* .area_card--wide .area_number {
    position: absolute;
    top: 20px;
    left: 0;
} */

.area_card--wide .area_phenomenon {
  border-top: none;
  padding-top: 0;
  align-self: center;
  white-space: nowrap;
  flex-wrap: nowrap;
}

/* ===== 登場人物 ===== */
.section_characters {
  background-color: var(--color_bg_secondary);
}

.characters_list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.character_card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 34px 32px;
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider_dim);
  position: relative;
  transition: border-color 0.25s;
}

.character_card:hover {
  border-color: var(--color_divider);
}

.character_card--key {
  border-color: rgba(224, 68, 74, 0.25);
  background: linear-gradient(135deg, var(--color_bg_card) 0%, #121008 100%);
}

/* WITNESSバッジ */
.character_status_badge {
  position: absolute;
  top: 0;
  right: 22px;
  font-family: var(--font_game);
  font-size: 15px;
  letter-spacing: 0.2em;
  padding: 4px 14px 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.status_witness {
  background-color: var(--color_accent_dim);
  color: var(--color_text);
  border: 1px solid var(--color_divider);
  border-top: none;
}

.status_key {
  background-color: var(--color_danger_dim);
  color: var(--color_danger);
  border: 1px solid rgba(212, 64, 64, 0.3);
  border-top: none;
  text-shadow: 0 0 8px var(--color_danger_glow);
}

.character_icon {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.character_silhouette {
  width: 140px;
  height: 140px;
  background-color: var(--color_bg);
  border: 1px solid var(--color_divider_dim);
  position: relative;
  overflow: hidden;
  object-fit: cover;
  object-position: top center;
}

/* CRTモニター風シルエット */
/* .character_silhouette::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  background-color: rgba(224, 68, 74, 0.2);
  border-radius: 50%;
}

.character_silhouette::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 38px;
  background-color: rgba(224, 68, 74, 0.12);
  border-radius: 18px 18px 0 0;
} */

.character_id {
  font-family: var(--font_mono);
  font-size: 10px;
  color: var(--color_text_dim);
  letter-spacing: 0.1em;
}

.character_info {
  flex: 1;
  min-width: 0;
  padding-top: 12px;
}

.character_role {
  font-family: var(--font_game);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color_text_dim);
  margin-bottom: 8px;
}

.character_name {
  font-family: var(--font_serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--color_text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.character_name span {
  font-size: 15px;
  color: var(--color_text_muted);
  font-weight: 300;
}

.character_desc {
  font-size: 15px;
  color: var(--color_text_muted);
  line-height: 1.95;
  margin-bottom: 16px;
}

.character_tag {
  display: inline-block;
  font-family: var(--font_game);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color_text_dim);
  border: 1px solid var(--color_divider_dim);
  padding: 3px 12px;
}

.character_tag--key {
  color: var(--color_text);
  border-color: var(--color_divider);
  background-color: var(--color_accent_dim);
}

/* ===== 体験の流れ ===== */
.section_flow {
  background-color: var(--color_bg_secondary);
}

/* ===== 体験ガイドカード ===== */
.flow_guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.flow_guide_card {
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider_dim);
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background-color 0.2s;
}

.flow_guide_card:hover {
  background-color: var(--color_bg_card_hover);
}

.flow_guide_icon {
  font-family: var(--font_game);
  font-size: 26px;
  color: var(--color_text);
  line-height: 1;
  margin-bottom: 6px;
}

.flow_guide_tag {
  font-family: var(--font_mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--color_text);
  opacity: 0.55;
}

.flow_guide_main {
  font-family: var(--font_serif);
  font-size: 15px;
  color: var(--color_text);
  line-height: 1.45;
  margin-top: 4px;
}

.flow_guide_sub {
  font-size: 12px;
  color: var(--color_text_muted);
  line-height: 1.75;
  opacity: 0.8;
}

/* ===== 異変探しとは？ ===== */
.flow_what_section {
  margin-bottom: 64px;
}

.flow_what_heading {
  margin-bottom: 32px;
}

.flow_what_heading_label {
  font-family: var(--font_game);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--color_text);
  display: block;
  margin-bottom: 8px;
}

.flow_what_heading_title {
  font-family: var(--font_serif);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  color: var(--color_text);
  margin-bottom: 12px;
  line-height: 1.45;
}

.flow_what_heading_desc {
  font-size: 15px;
  color: var(--color_text_muted);
  line-height: 1.9;
  max-width: 600px;
}

/* カード */
.flow_what_card {
  width: 90%;
  display: flex;
  margin-bottom: 16px;
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider_dim);
  overflow: hidden;
  transition: background-color 0.2s;
  min-height: 220px;
}

.flow_what_card:nth-of-type(even) {
    margin: 0 0 16px auto;
}
/* .flow_what_card:nth-of-type(3) {
    margin-left: calc((10 / 3) * 1%);
}
.flow_what_card:nth-of-type(4) {
    margin-left: calc((10 / 3) * 2%);
}
.flow_what_card:nth-of-type(5) {
    margin-left: calc((10 / 3) * 3%);
} */

.flow_what_card:hover {
  background-color: var(--color_bg_card_hover);
}

/* 画像エリア */
.flow_what_media {
  position: relative;
  flex-shrink: 0;
  width: 42%;
  overflow: hidden;
  background-color: var(--color_bg_secondary);
}

.flow_what_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.3) saturate(0.6) brightness(0.7);
  transition: filter 0.3s, transform 0.4s;
}

.flow_what_card:hover .flow_what_media img {
  filter: sepia(0.15) saturate(0.8) brightness(0.8);
  transform: scale(1.03);
}

.flow_what_media_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    var(--color_bg_card) 100%
  );
  pointer-events: none;
}

/* テキストエリア */
.flow_what_body {
  flex: 1;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.flow_what_sys_id {
  font-family: var(--font_mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color_text);
  opacity: 0.55;
}

.flow_what_title {
  font-family: var(--font_serif);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 400;
  color: var(--color_text);
  line-height: 1.4;
}

.flow_what_desc {
  font-size: 13px;
  color: var(--color_text_muted);
  line-height: 1.95;
}

.flow_what_desc strong {
  color: var(--color_accent_bright);
  font-weight: 400;
}

.flow_what_note {
  font-family: var(--font_mono);
  font-size: 13px;
  color: var(--color_text);
  letter-spacing: 0.04em;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color_divider_dim);
}

/* ===== タイムライン ===== */
.flow_timeline {
  position: relative;
  padding-left: 160px;
}

/* 左縦ライン */
.flow_timeline::before {
  content: '';
  position: absolute;
  left: 117px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--color_accent) 0%,
    rgba(224, 68, 74, 0.15) 100%
  );
}

.flow_item {
  display: flex;
  gap: 36px;
  margin-bottom: 44px;
  position: relative;
}

/* ノードダイヤ */
.flow_item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 10px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--color_accent);
  background-color: var(--color_bg);
  transform: rotate(45deg);
  opacity: 0.7;
  z-index: 1;
}

/* ===== クライマックスノード ===== */
.flow_item--climax::before {
  background-color: var(--color_accent);
  opacity: 1;
  box-shadow: 0 0 12px var(--color_accent_glow);
  width: 12px;
  height: 12px;
  left: -48px;
  top: 8px;
}

.flow_time_block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 80px;
  flex-shrink: 0;
  gap: 4px;
}

.flow_log_id {
  font-family: var(--font_mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--color_text_dim);
}

.flow_time {
  font-family: var(--font_game);
  font-size: 32px;
  color: var(--color_text);
  line-height: 1;
  letter-spacing: 0.05em;
}

.flow_content h3 {
  font-family: var(--font_serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--color_text);
  margin-bottom: 8px;
}

.flow_content p {
  font-size: 13px;
  color: var(--color_text_muted);
  line-height: 1.9;
}

.flow_duration {
  display: inline-block;
  font-family: var(--font_mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color_text);
  opacity: 0.5;
  border: 1px solid var(--color_divider_dim);
  padding: 2px 10px;
  margin-top: 10px;
}

.flow_total {
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--color_text);
  margin-top: 32px;
  padding: 16px 24px;
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider);
  display: inline-block;
  box-shadow: 0 0 20px var(--color_accent_dim);
}

/* ===== クライマックス予告 ===== */
.section_climax {
  position: relative;
  background-color: var(--color_bg_secondary);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* デコードバー */
.climax_decode_bar {
  width: 100%;
  background-color: rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--color_divider_dim);
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.climax_decode_bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--color_accent) 100%, transparent 100%);
  box-shadow: 0 0 10px var(--color_accent_glow);
}

.decode_text {
  font-family: var(--font_mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color_success);
}

.decode_pct {
  font-family: var(--font_game);
  font-size: 16px;
  color: var(--color_success);
  text-shadow: 0 0 8px rgba(193, 74, 80, 0.5);
}

.section_climax::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(20, 50, 100, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(224, 68, 74, 0.04) 0%, transparent 65%);
}

/* グリッド */
.section_climax::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224, 68, 74, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 68, 74, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

.climax_inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px var(--section_h);
  text-align: center;
  width: 100%;
}

.climax_inner .section_label {
  justify-content: center;
}

.climax_inner .section_label::after {
  display: none;
}

.climax_pretext {
  font-family: var(--font_sans);
  font-size: 18px;
  color: var(--color_text_muted);
  font-style: italic;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.climax_title {
  font-family: var(--font_serif);
  font-size: clamp(24px, 5vw, 46px);
  font-weight: 400;
  color: var(--color_text);
  line-height: 1.4;
  margin-bottom: 48px;
  text-shadow: 0 0 80px var(--color_accent_glow);
}

.climax_body {
  max-width: 560px;
  margin: 0 auto;
}

.climax_body p {
  font-size: 16px;
  color: var(--color_text_muted);
  line-height: 2.1;
  margin-bottom: 20px;
}

.climax_body strong {
  color: var(--color_text);
  font-weight: 400;
  text-shadow: 0 0 12px var(--color_accent_glow);
}

/* ===== 開催概要 ===== */
.section_outline {
  background-color: var(--color_bg_secondary);
}

.outline_table_wrap {
  overflow-x: auto;
}

.outline_table {
  width: 100%;
  border-collapse: collapse;
}

.outline_table th,
.outline_table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--color_divider_dim);
  vertical-align: top;
  line-height: 1.85;
  font-size: 15px;
}

.outline_table th {
  width: 150px;
  white-space: nowrap;
  color: var(--color_text);
  font-family: var(--font_game);
  font-size: 15px;
  letter-spacing: 0.08em;
  font-weight: normal;
}

.outline_table td {
  color: var(--color_text_muted);
}

.outline_table .outline_note {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color_text_dim);
}

/* 開催情報の下の注意書き */
.event_info_note {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--color_accent);
  background: rgba(224, 68, 74, 0.06);
  font-size: clamp(13px, 1.6vw, 14px);
  line-height: 1.7;
  color: var(--color_text_muted);
}

/* 開催概要：公演時間アコーディオン */
.time_accordion {
  margin: 6px 0 8px;
  border: 1px solid var(--color_divider_dim);
  background: rgba(0, 0, 0, 0.2);
}
.time_accordion > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 14px;
  font-family: var(--font_mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color_text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.time_accordion > summary::-webkit-details-marker {
  display: none;
}
.time_accordion > summary::before {
  content: '▸';
  transition: transform 0.2s;
}
.time_accordion[open] > summary::before {
  transform: rotate(90deg);
}
.time_accordion > summary:hover {
  color: var(--color_accent_bright);
}
.time_list {
  list-style: none;
  margin: 0;
  padding: 8px 14px 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 20px;
  border-top: 1px solid var(--color_divider_dim);
}
.time_list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  font-size: 13px;
  border-bottom: 1px dotted var(--color_divider_dim);
}
.time_start {
  font-family: var(--font_mono);
  font-weight: 700;
  color: var(--color_text);
  min-width: 48px;
}
.time_recept {
  font-size: 12px;
  color: var(--color_text_dim);
}
@media (max-width: 560px) {
  .time_list {
    grid-template-columns: 1fr;
  }
}

.outline_table tr:last-child th,
.outline_table tr:last-child td {
  border-bottom: none;
}

/* ===== 開催情報（YOUR ROLE と SYSTEM の間に新設） ===== */
.section_event_info {
  position: relative;
  background-color: var(--color_bg_secondary);
}

.event_info_layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
  margin-top: 36px;
}

.event_info_table_wrap {
  overflow-x: auto;
  background: rgba(20, 9, 9, 0.35);
  border: 1px solid var(--color_divider_dim);
  border-radius: 4px;
}

.event_info_table_wrap .outline_table th,
.event_info_table_wrap .outline_table td {
  padding: 16px 22px;
}
/* 見出し色をPC・タブレット・SPで統一 */
.event_info_table_wrap .outline_table th {
  color: var(--color_accent);
}

/* 中間幅（PCサイドバー併用で左カラムが狭い帯）では開催情報テーブルをリスト型に */
@media (max-width: 1100px) {
  .event_info_table_wrap .outline_table tr {
    display: block;
    border-bottom: 1px solid var(--color_divider_dim);
    padding: 4px 0;
  }
  .event_info_table_wrap .outline_table tr:last-child { border-bottom: none; }
  .event_info_table_wrap .outline_table th,
  .event_info_table_wrap .outline_table td {
    display: block;
    width: auto;
    border-bottom: none;
    white-space: normal;
    line-height: 1.6;
  }
  .event_info_table_wrap .outline_table th {
    padding: 9px 8px 1px;
    font-size: 15px;
    color: var(--color_accent);
  }
  .event_info_table_wrap .outline_table td {
    padding: 0 8px 9px;
    font-size: 15px;
  }
}

.event_exp_card {
  background: linear-gradient(135deg, #3a1d23 0%, #2a1418 100%);
  border: 1px solid rgba(241, 90, 96, 0.3);
  border-radius: 4px;
  padding: 28px 18px 30px;
}

.event_exp_title {
  font-family: var(--font_serif);
  font-size: clamp(16px, 2.1vw, 20px);
  font-weight: 700;
  color: var(--color_text);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color_divider_dim);
  /* 横幅いっぱいで1行に収める（折り返し防止） */
  white-space: nowrap;
}

.event_exp_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event_exp_list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color_text_muted);
}

.event_exp_list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 12px;
  color: var(--color_text);
}

@media (max-width: 768px) {
  .event_info_layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }
  .event_exp_card {
    padding: 22px 20px 24px;
  }
  /* スマホ幅では見出しを折り返し可に戻す（はみ出し防止） */
  .event_exp_title {
    white-space: normal;
  }
  .event_exp_list li {
    font-size: 15px;
  }
}

/* ===== チケット ===== */
.section_ticket {
  text-align: center;
  background-color: var(--color_bg_secondary);
}

.section_ticket .section_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ticket_cards {
  display: flex;
  gap: 3px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  width: 100%;
  max-width: 760px;
}

.ticket_card {
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider);
  padding: 0;
  text-align: center;
  flex: 1 1 0;
  min-width: 260px;
  position: relative;
  overflow: hidden;
}

/* コーナーブラケット */
.ticket_card::before,
.ticket_card::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 1;
}

.ticket_card::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--color_accent_bright);
  border-left: 2px solid var(--color_accent_bright);
}

.ticket_card::after {
  top: 0;
  right: 0;
  border-top: 2px solid var(--color_accent_bright);
  border-right: 2px solid var(--color_accent_bright);
}

.ticket_card--child {
  border-color: var(--color_divider_dim);
}

.ticket_card--child::before,
.ticket_card--child::after {
  border-color: var(--color_text_dim);
}

.ticket_access {
  font-family: var(--font_game);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color_success);
  background-color: var(--color_success_dim);
  padding: 6px 20px;
  border-bottom: 1px solid rgba(193, 74, 80, 0.15);
}

.ticket_type {
  font-family: var(--font_game);
  font-size: 16px;
  color: var(--color_text_muted);
  letter-spacing: 0.15em;
  padding: 20px 40px 8px;
}

.ticket_price {
  font-family: var(--font_serif);
  font-weight: 700;
  font-size: 40px;
  color: var(--color_text);
  line-height: 1.1;
  padding: 0 40px 8px;
  text-shadow: 0 0 20px var(--color_accent_glow);
}

.ticket_price span {
  font-family: var(--font_serif);
  font-weight: 400;
  font-size: 15px;
  color: var(--color_text);
}

.ticket_note {
  font-family: var(--font_mono);
  font-size: 15px;
  color: var(--color_text);
  letter-spacing: 0.06em;
  padding: 0 40px 24px;
}

/* 販売期間・チケット引き取り */
.ticket_meta {
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 32px;
  text-align: left;
}

.ticket_meta_item {
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider);
  padding: 18px 22px;
}

.ticket_meta_label {
  display: block;
  font-family: var(--font_game);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color_text);
  margin-bottom: 8px;
}

.ticket_meta_value {
  display: block;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color_text_muted);
}

.ticket_meta_value small {
  display: inline-block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--color_text);
}

.ticket_meta_value a {
  color: var(--color_accent_bright);
  word-break: break-all;
}

@media (max-width: 768px) {
  .ticket_meta {
    grid-template-columns: 1fr;
  }
}

.ticket_notice {
  width: 100%;
  max-width: 760px;
  background-color: #fff;
  border: 1px solid var(--color_divider_dim);
  text-align: left;
  overflow: hidden;
}

.ticket_notice_header {
  font-family: var(--font_game);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--color_bg);
  padding: 10px 24px;
  background-color: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--color_divider_dim);
}

.ticket_notice ul {
  list-style: none;
  padding: 8px 0;
}

.ticket_notice li {
  font-size: 16px;
  color: var(--color_bg);
  padding: 8px 24px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px solid var(--color_divider_dim);
}

.ticket_notice li:last-child {
  border-bottom: none;
}

.ticket_notice li::before {
  content: '>';
  color: var(--color_text);
  font-family: var(--font_mono);
  font-size: 11px;
  flex-shrink: 0;
  padding-top: 2px;
}

/* ===== PREVIEW (movie) ===== */
.section_movie {
  background-color: var(--color_bg_secondary);
}

.section_movie .section_inner {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 80px;
}

.section_movie_wrap {
  max-width: 800px;
  margin: 0 auto;
}

.section_movie_frame {
  border: 1px solid var(--color_divider);
  background-color: var(--color_bg_card);
  position: relative;
}

/* コーナーブラケット（左上・右上） */
.section_movie_frame::before,
.section_movie_frame::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 2;
  pointer-events: none;
}

.section_movie_frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--color_accent_bright);
  border-left: 2px solid var(--color_accent_bright);
}

.section_movie_frame::after {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--color_accent_bright);
  border-right: 2px solid var(--color_accent_bright);
}

/* 上部ステータスバー */
.section_movie_topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background-color: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--color_divider_dim);
}

.section_movie_file_id {
  font-family: var(--font_mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--color_text_dim);
}

.section_movie_rec {
  font-family: var(--font_game);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color_danger);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 映像エリア */
.section_movie_item {
  position: relative;
  width: 90%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 auto;
  background-color: #000;
}

.section_movie_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* COMING SOONオーバーレイ */
.section_movie_overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  gap: 16px;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.3s;
}

.section_movie_frame:hover .section_movie_overlay {
  background: rgba(0, 0, 0, 0.3);
}

.section_movie_play_btn {
  width: 64px;
  height: 64px;
  border: 2px solid var(--color_accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font_game);
  font-size: 26px;
  color: var(--color_text);
  padding-left: 4px;
  transition: box-shadow 0.25s, background-color 0.25s;
}

.section_movie_frame:hover .section_movie_play_btn {
  background-color: var(--color_accent_dim);
  box-shadow: 0 0 24px var(--color_accent_glow);
}

.section_movie_coming {
  font-family: var(--font_game);
  font-size: 18px;
  letter-spacing: 0.3em;
  color: var(--color_text);
  opacity: 0.7;
}

/* 下部フッターバー */
.section_movie_bottombar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background-color: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--color_divider_dim);
}

.section_movie_title {
  font-family: var(--font_mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color_text_muted);
}

.section_movie_duration {
  font-family: var(--font_game);
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--color_text);
  opacity: 0.6;
}

/* ===== アクセス ===== */
.section_access {
  position: relative;
  background-color: var(--color_bg_secondary);
}

.section_access::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color_divider), transparent);
}

.access_body {
  display: grid;
  grid-template-columns: 1fr; /* PCでも1カラム（情報→地図の縦並び） */
  gap: 36px;
  align-items: start;
}

.access_venue {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color_divider_dim);
}

.access_venue_name {
  font-family: var(--font_serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--color_text);
  margin-bottom: 6px;
}

.access_venue_address {
  font-family: var(--font_mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color_text_muted);
  opacity: 0.8;
}

.access_routes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.access_route_item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.access_route_icon {
  font-family: var(--font_game);
  font-size: 18px;
  color: var(--color_text);
  flex-shrink: 0;
  line-height: 1.4;
  opacity: 0.7;
}

.access_route_label {
  font-family: var(--font_mono);
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--color_text);
  opacity: 0.8;
  margin-bottom: 4px;
}

.access_route_desc {
  font-size: 15px;
  color: var(--color_text_muted);
  line-height: 1.85;
}

.access_note {
  font-size: 12px;
  color: var(--color_text);
  display: block;
  margin-top: 4px;
}

.access_map {
  height: 360px;
  width: 100%;
  max-width: 500px;
  border: 1px solid var(--color_divider_dim);
  overflow: hidden;
  position: relative;
}

.access_map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== FAQ ===== */
.section_faq {
  background-color: var(--color_bg_secondary);
}

.faq_list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.faq_item {
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider_dim);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq_item.is_open {
  border-color: var(--color_divider);
}

.faq_question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color_text);
  font-family: var(--font_sans);
  font-size: 15px;
  text-align: left;
  transition: background-color 0.2s;
}

.faq_question:hover,
.faq_question:focus-visible {
  background-color: var(--color_bg_card_hover);
  outline: none;
}

.faq_q_icon {
  font-family: var(--font_game);
  font-size: 20px;
  color: var(--color_text);
  flex-shrink: 0;
  line-height: 1;
}

.faq_icon {
  font-family: var(--font_game);
  font-size: 22px;
  color: var(--color_text);
  line-height: 1;
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.faq_item.is_open .faq_icon {
  transform: rotate(45deg);
}

.faq_answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* 開いた高さはJSが内容の実高さ（scrollHeight）をインラインで設定。
   JS無効時のフォールバックとして十分大きい値を確保 */
.faq_item.is_open .faq_answer {
  max-height: 1500px;
}

.faq_answer_inner {
  display: flex;
  gap: 12px;
  padding: 16px 24px 24px;
}

.faq_a_icon {
  font-family: var(--font_game);
  font-size: 20px;
  color: var(--color_success);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.faq_answer p {
  font-size: 15px;
  color: var(--color_text_muted);
  line-height: 1.95;
}

.faq_answer_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq_answer_list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--color_text_muted);
  line-height: 1.95;
}

.faq_answer_list li::before {
  content: "－";
  position: absolute;
  left: 0;
  color: var(--color_success);
}

/* ===== 追従チケットバナー ===== */
.sticky_cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.sticky_cta.is_visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.sticky_cta_link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 10px 18px 10px 18px;
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_accent);
  box-shadow: 0 0 24px var(--color_accent_glow), 4px 4px 0 rgba(0, 0, 0, 0.4);
  color: var(--color_text);
  transition: background-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.sticky_cta_link::before,
.sticky_cta_link::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
}

.sticky_cta_link::before {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid var(--color_accent);
  border-left: 2px solid var(--color_accent);
}

.sticky_cta_link::after {
  top: 0;
  right: 0;
  border-top: 2px solid var(--color_accent);
  border-right: 2px solid var(--color_accent);
}

.sticky_cta_link:hover {
  background-color: var(--color_accent_dim);
  box-shadow: 0 0 40px var(--color_accent_glow), 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.sticky_cta_label {
  font-family: var(--font_game);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color_text_dim);
  line-height: 1;
}

.sticky_cta_text {
  font-family: var(--font_game);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--color_accent_bright);
  line-height: 1.2;
}

.sticky_cta_arrow {
  font-family: var(--font_mono);
  font-size: 16px;
  color: var(--color_text);
  position: absolute;
  right: 12px;
  bottom: 12px;
  transition: transform 0.2s;
}

.sticky_cta_link:hover .sticky_cta_arrow {
  transform: translateX(3px);
}

/* ===== SPONSORS ===== */
.section_sponsors {
  background-color: var(--color_bg_secondary);
}

.sponsors_grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

/* 金額階層ごとの行 */
.sponsors_tier {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.sponsor_item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 155px;
  height: 80px;
  border: 1px solid var(--color_divider);
  background-color: #ffffff;
  border-radius: 4px;
  transition: border-color 0.3s, transform 0.3s;
}

.sponsor_item:hover {
  border-color: var(--color_accent);
  transform: translateY(-2px);
}

.sponsor_logo {
  display: block;
  max-width: 84%;
  max-height: 68%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ティア別サイズ（金額の差を反映） */
.sponsors_tier--1 .sponsor_item {
  width: 300px;
  height: 130px;
}

.sponsors_tier--2 .sponsor_item,
.sponsors_tier--3 .sponsor_item {
  width: 240px;
  height: 96px;
}

.sponsors_tier--4 .sponsor_item,
.sponsors_tier--5 .sponsor_item {
  width: 140px;
  height: 64px;
}

@media (max-width: 560px) {
  .sponsors_tier {
    gap: 12px;
  }
  .sponsors_tier--1 .sponsor_item {
    width: 80%;
    max-width: 260px;
    height: 110px;
  }
  .sponsors_tier--2 .sponsor_item,
  .sponsors_tier--3 .sponsor_item {
    width: 44%;
    max-width: 200px;
    height: 84px;
  }
  .sponsors_tier--4 .sponsor_item,
  .sponsors_tier--5 .sponsor_item {
    width: 28%;
    max-width: 110px;
    height: 56px;
  }
}

/* 画像が未設定・読み込み失敗時のフォールバック */
.sponsor_logo:not([src]),
.sponsor_logo[src=""] {
  min-width: 120px;
  min-height: 40px;
}

.sponsors_recruit {
  text-align: center;
  font-size: 15px;
  color: var(--color_text);
  line-height: 2;
}

.sponsors_contact {
  display: inline-block;
  margin-top: 4px;
  color: var(--color_text);
  font-family: var(--font_mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color_accent_dim);
  transition: color 0.2s, border-color 0.2s;
}

.sponsors_contact:hover {
  color: var(--color_accent_bright);
  border-color: var(--color_accent);
}

/* ===== FOOTER ===== */
.footer {
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(224, 68, 74, 0.08) 0%, transparent 70%),
    #160f0d;
  border-top: 1px solid var(--color_divider);
  padding: 56px var(--section_h) 0;
}

.footer_inner {
  max-width: var(--inner_max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 48px;
  row-gap: 32px;
}

/* ブランド */
.footer_brand {
  line-height: 1.5;
}

.footer_logo_label {
  font-family: var(--font_mono);
  font-size: 16px;
  color: var(--color_text);
  opacity: 0.7;
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 8px;
}

.footer_title {
  font-family: var(--font_serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--color_text);
  letter-spacing: 0.04em;
}

.footer_title_sub {
  font-family: var(--font_serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--color_text_dim);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* クレジット（ラベル枠＋社名） */
.footer_credits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.footer_credit {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer_credit_label {
  flex-shrink: 0;
  min-width: 168px;
  text-align: center;
  font-family: var(--font_sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color_text_dim);
  border: 1px solid var(--color_divider);
  padding: 6px 14px;
}

.footer_credit_value {
  margin: 0;
  font-family: var(--font_serif);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 500;
  color: var(--color_text);
  letter-spacing: 0.04em;
}

/* 色はそのまま継承し、リンクであることはホバー時のみ示す */
.footer_credit_value a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer_credit_value a:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer_cta {
  justify-self: end;
  font-family: var(--font_game);
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--color_text);
  border: 1px solid var(--color_accent);
  padding: 14px 30px;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.footer_cta:hover {
  background-color: var(--color_accent);
  color: #fff;
  box-shadow: 0 0 18px var(--color_accent_glow);
}

/* 横幅が狭い帯（PCサイドバー併用で実質幅が狭い）ではフッターを縦積み・中央寄せに
   （3カラムのままだと社名が縦書き状態に潰れるため） */
@media (max-width: 1100px) {
  .footer_inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 28px;
  }
  .footer_credit {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .footer_credit_label { min-width: 0; }
  .footer_cta { justify-self: center; }
}

/* 最下部コピーライト */
.footer_bottom {
  max-width: var(--inner_max);
  margin: 48px auto 0;
  padding: 18px 0 24px;
  border-top: 1px solid var(--color_divider_dim);
  text-align: center;
}

.footer_copy {
  font-family: var(--font_mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color_text_dim);
}


/* ===== intro section_inner を画像レイヤーの上に ===== */
.section_intro .section_inner {
  position: relative;
  z-index: 1;
}

/* ===== climax フィールド装飾（ピッチのセンターサークル風） ===== */
.climax_field_deco {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 180px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.climax_field_arc {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 120px;
  border: 1px solid rgba(224, 68, 74, 0.18);
  border-bottom: none;
  border-radius: 120px 120px 0 0;
}

.climax_field_arc::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;
  border: 1px solid rgba(224, 68, 74, 0.12);
  border-bottom: none;
  border-radius: 60px 60px 0 0;
}

.climax_field_arc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  width: 18px;
  height: 18px;
  border: 1px solid rgba(224, 68, 74, 0.25);
  border-radius: 50%;
}

.climax_field_deco::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(224, 68, 74, 0.2), transparent);
}

/* ===== ストーリーセクション 写真風フレーム ===== */
.story_chapter--past .story_text {
  position: relative;
}

/* ===== セクション背景の奥行き調整 ===== */
.section_story {
  background-color: var(--color_bg);
  position: relative;
  /* background: url('../images/bg_sample3.webp') no-repeat center center / cover; */
}
.section_story::before {
    height: 100%;
}

.section_story::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224, 68, 74, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 68, 74, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.section_story .section_inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
    .deco_group {
        display: none;
    }
}

/* ============================================
   ▼ 追加コンポーネント（改修分）
   ============================================ */

/* ===== 非表示トグル（素材・ネタバレ未確定セクション） ===== */
.is_draft {
  display: none !important;
}

/* ===== FVレイヤー順の微調整 ===== */
.fv_content {
  padding-bottom: 140px;
}
/* マーキー設置に伴いスクロール表示は非表示 */
.section_fv .fv_scroll_indicator {
  display: none;
}

/* ===== ② FVスライダー（Swiper・1画面3枚表示・16:9） ===== */
.fv_slider {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 16px 16px;
  background: linear-gradient(to top, rgba(12, 7, 7, 0.94) 0%, rgba(60, 21, 23, 0.4) 72%, transparent 100%);
  border-top: 1px solid var(--color_divider_dim);
}

.fv_swiper {
  width: 100%;
  overflow: hidden;
}

/* 自動再生をなめらかに流す（freeMode + linear）／高さは16:9スライド基準に */
.fv_swiper .swiper-wrapper {
  transition-timing-function: linear;
  height: auto;
  align-items: stretch;
}

.fv_swiper .swiper-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--color_divider_dim);
  background-color: var(--color_bg_card);
}

.fv_swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}

/* 場所＋現象キャプション */
.fv_slide_cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 26px 12px 12px;
  text-align: center;
  background: linear-gradient(to top, rgba(8, 4, 4, 0.88) 0%, rgba(8, 4, 4, 0.45) 55%, transparent 100%);
}

.fv_slide_place {
  font-family: var(--font_mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color_text);
}

.fv_slide_phenom {
  font-family: var(--font_serif);
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.fv_swiper .swiper-slide--illust {
  background-color: var(--color_crimson_deep);
}

.fv_swiper .swiper-slide--illust img {
  object-fit: contain;
  padding: 12px;
  filter: none;
}

/* ===== INTRODUCTION（テキスト＋イラスト2カラム） ===== */
.intro_body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.intro_illust {
  flex-shrink: 0;
  width: 200px;
  filter: drop-shadow(0 0 30px rgba(168, 69, 74, 0.35));
  animation: anim_float 5s ease-in-out infinite;
}

.intro_illust img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes anim_float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ===== PREVIEW 補足ノート ===== */
.section_movie_note {
  font-family: var(--font_mono);
  font-size: 12px;
  color: var(--color_text_dim);
  text-align: center;
  margin-top: 20px;
  letter-spacing: 0.04em;
}

/* ===== POINT（魅力3点） ===== */
.section_point {
  position: relative;
  background-color: var(--color_bg);
}
.section_point::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color_divider), transparent);
}

.point_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* 4枚版（異変探し STEP） */
.point_grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.section_point .section_desc {
  margin-bottom: 36px;
}

.section_point .em_accent {
  color: var(--color_accent_bright);
  font-weight: 500;
}

.section_point .flow_what_note {
  margin-top: 24px;
}

.point_card {
  background-color: var(--color_bg_card);
  border: 1px solid var(--color_divider_dim);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.point_card:hover {
  border-color: var(--color_crimson_bright);
  transform: translateY(-4px);
}

.point_media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color_crimson_deep);
  border-bottom: 1px solid var(--color_divider_dim);
}

.point_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.point_card:hover .point_media img {
  transform: scale(1.05);
}

.point_body {
  padding: 22px 22px 26px;
}

.point_num {
  font-family: var(--font_game);
  font-size: 17px;
  letter-spacing: 0.18em;
  color: var(--color_text);
  margin-bottom: 10px;
}

.point_title {
  font-family: var(--font_serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color_text);
  line-height: 1.4;
  margin-bottom: 10px;
}

.point_desc {
  font-size: 15px;
  color: var(--color_text_muted);
  line-height: 1.9;
}

/* ===== YOUR ROLE（イラスト＋カード2カラム） ===== */
.role_layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

.role_illust {
  position: relative;
  border: 1px solid var(--color_divider);
  background-color: var(--color_crimson_deep);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.role_illust img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
}

.role_illust_caption {
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: var(--font_mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--color_text);
  background-color: rgba(0,0,0,0.6);
  padding: 5px 12px;
}

.role_layout .role_card {
  margin: 0;
  max-width: none;
}

/* ===== PRE-INVESTIGATION FILE：カード画像 ===== */
.area_card_media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color_bg_secondary);
  border-bottom: 1px solid var(--color_divider_dim);
}

.area_card_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.82);
  transition: filter 0.3s, transform 0.4s;
}

.area_card:hover .area_card_media img {
  filter: saturate(1) brightness(0.95);
  transform: scale(1.04);
}

/* 写真準備中プレースホルダー */
.area_card_media--soon {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 20px),
    var(--color_bg_secondary);
}

.area_card_media_label {
  font-family: var(--font_game);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--color_text_dim);
  border: 1px solid var(--color_divider_dim);
  padding: 6px 16px;
}

/* wide カード：画像 + テキスト 横並び */
.area_card--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.area_card--wide .area_card_media {
  aspect-ratio: auto;
  height: 100%;
  border-bottom: none;
  border-right: 1px solid var(--color_divider_dim);
}

.area_card_wide_body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

/* wide カード内の体感テキストは折り返し許可（半幅列対応） */
.area_card--wide .area_card_wide_body .area_phenomenon {
  white-space: normal;
  flex-wrap: wrap;
}
.area_card--wide .area_card_wide_body .area_desc {
  padding: 0 24px 16px;
}

/* ===== SYSTEM セクション（異変探しとは） ===== */
.section_system {
  position: relative;
  background-color: var(--color_bg);
}
.section_system::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color_divider), transparent);
}
.section_system .flow_what_section {
  margin-bottom: 0;
}

/* ===== INCIDENT（スタッフ証言） ===== */
.section_incident {
  position: relative;
  background-color: var(--color_crimson_deep);
  overflow: hidden;
}

.section_incident::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color_crimson_bright), transparent);
}

.incident_bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(168, 69, 74, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(113, 47, 49, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.section_incident .section_inner {
  position: relative;
  z-index: 1;
}

.section_incident .section_title,
.section_incident .section_desc {
  color: var(--color_text);
}

.testimony_list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimony_card {
  position: relative;
  background-color: rgba(18, 10, 10, 0.72);
  border: 1px solid rgba(168, 69, 74, 0.4);
  border-left: 3px solid var(--color_crimson_bright);
  padding: 28px 32px 24px;
  backdrop-filter: blur(2px);
  transition: border-color 0.25s, transform 0.25s;
}

.testimony_card:nth-child(even) {
  margin-left: auto;
  width: 94%;
}
.testimony_card:nth-child(odd) {
  width: 94%;
}

.testimony_card:hover {
  border-left-color: var(--color_accent);
  transform: translateX(4px);
}

.testimony_head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.testimony_tag {
  font-family: var(--font_game);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--color_text);
}

.testimony_dept {
  font-family: var(--font_mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color_text_muted);
  border: 1px solid var(--color_divider_dim);
  padding: 2px 10px;
}

.testimony_stamp {
  margin-left: auto;
  font-family: var(--font_game);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color_danger);
  border: 1px solid var(--color_danger);
  padding: 2px 10px;
  text-shadow: 0 0 8px var(--color_danger_glow);
  transform: rotate(-2deg);
}

.testimony_quote {
  position: relative;
  font-family: var(--font_serif);
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.85;
  color: var(--color_text);
  padding-left: 46px;
  margin-bottom: 16px;
}

.testimony_mark {
  position: absolute;
  left: 0;
  top: -10px;
  font-family: var(--font_serif);
  font-size: 60px;
  line-height: 1;
  color: var(--color_crimson_bright);
  opacity: 0.6;
}

.testimony_speaker {
  font-family: var(--font_sans);
  font-size: 13px;
  color: var(--color_text_muted);
  text-align: right;
  margin-bottom: 14px;
}

.testimony_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color_divider_dim);
  font-family: var(--font_mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--color_text_dim);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  :root {
    --section_v: 64px;
    --section_h: 15px;
  }

  .fv_boot {
    display: none;
  }

  .climax_field_deco {
    display: none;
  }

  .story_chapter {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .story_year {
    font-size: 40px;
  }

  .areas_grid {
    grid-template-columns: 1fr;
  }

  .area_card--wide {
    grid-template-columns: 1fr;
    display: block;
  }

  .area_card--wide .area_phenomenon {
    padding-top: 10px;
    border-top: 1px solid var(--color_divider_dim);
  }

  .area_card--wide .area_number {
    position: relative;
    top: unset;
    left: unset;
}

  .flow_guide {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow_what_card {
    flex-direction: column;
    min-height: unset;
  }

  .flow_what_media {
    width: 100%;
    height: 200px;
  }

  .flow_what_media_overlay {
    background: linear-gradient(
      to bottom,
      transparent 60%,
      var(--color_bg_card) 100%
    );
  }

  .flow_what_body {
    padding: 24px 10px;
  }

  .flow_timeline {
    padding-left: 100px;
  }

  .flow_timeline::before {
    left: 70px;
  }

  .flow_item::before {
    left: -33px;
  }

  .flow_item--climax::before {
    left: -34px;
  }

  .flow_time {
    font-size: 22px;
  }

  .flow_total {
    font-size: 16px;
  }

  .character_card {
    flex-direction: column;
    gap: 16px;
  }

  .character_card--key {
    flex-direction: column;
  }

  /* SPでは全カード「画像→テキスト」の順に統一（依頼人カードはDOM順が逆のため） */
  .character_card .character_icon {
    order: -1;
  }

  .role_duties {
    grid-template-columns: 1fr;
  }

  .ticket_notice li {
    padding: 8px 14px;
  }

  .btn_primary--large {
    padding: 15px 20px;
  }

  .access_body {
    grid-template-columns: 1fr;
  }

  .footer_inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 28px;
  }

  .footer_credit {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .footer_credit_label {
    min-width: 0;
  }

  .footer_cta {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .fv_title_main {
    font-size: clamp(26px, 8vw, 44px);
  }

  .sticky_cta_text {
    font-size: 18px;
  }

  .section_desc {
    font-size: 16px;
  }

  .incident_body {
    flex-direction: column;
    gap: 8px;
  }

  .incident_number {
    font-size: 24px;
  }

  .fv_meta {
    flex-direction: column;
    gap: 6px;
  }

  .fv_meta_sep {
    display: none;
  }

  /* SPは横並びをやめて縦積み（ラベル→内容を全幅で表示） */
  .outline_table tr {
    display: block;
    border-bottom: 1px solid var(--color_divider_dim);
    padding: 4px 0;
  }
  .outline_table tr:last-child {
    border-bottom: none;
  }
  .outline_table th,
  .outline_table td,
  .event_info_table_wrap .outline_table th,
  .event_info_table_wrap .outline_table td {
    display: block;
    width: auto;
    border-bottom: none;
    white-space: normal;
    line-height: 1.6;
  }
  /* 見出し：左右余白を詰めて折り返しを防ぎ、値との間も詰める */
  .outline_table th,
  .event_info_table_wrap .outline_table th {
    padding: 9px 6px 1px;
    font-size: 15px;
    color: var(--color_accent);
  }
  .outline_table td,
  .event_info_table_wrap .outline_table td {
    padding: 0 6px 9px;
    font-size: 15px;
  }

  .flow_timeline {
    padding-left: 41px;
  }

  .flow_timeline::before {
    left: 20px;
  }

  .flow_item {
    gap: 16px;
  }

  .flow_item::before {
    left: -25px;
  }

  .flow_item--climax::before {
    left: -26px;
  }

  .flow_time_block {
    min-width: 56px;
  }

  .flow_time {
    font-size: 17px;
  }

  .flow_guide {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .flow_what_media {
    height: 160px;
  }

  .climax_decode_bar {
    padding: 8px 16px;
  }
}

/* ===== 追加コンポーネントのレスポンシブ ===== */
@media (max-width: 900px) {
  .point_grid {
    grid-template-columns: 1fr;
  }
  .role_layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .role_illust {
    max-width: 320px;
    margin: 0 auto;
  }
  .area_card--wide {
    grid-template-columns: 1fr;
  }
  .area_card--wide .area_card_media {
    aspect-ratio: 16 / 10;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--color_divider_dim);
  }
}

@media (max-width: 768px) {
  .fv_poster_text_main {
    font-size: 20px;
  }
  .fv_poster_text_line {
    display: none;
  }
  .btn_primary.btn_primary_kv {
    padding: 10px 20px;
    font-size: 16px;
  }

  .intro_body {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: left;
  }
  .intro_illust {
    width: 150px;
    order: -1;
  }
  .fv_slider {
    padding: 12px 12px;
  }
  .testimony_card,
  .testimony_card:nth-child(even),
  .testimony_card:nth-child(odd) {
    width: 100%;
    margin-left: 0;
    padding: 22px 20px 20px;
  }
  .testimony_quote {
    padding-left: 32px;
  }
  .testimony_mark {
    font-size: 44px;
  }
}

/* 異変探し4ステップ：列数のレスポンシブ */
@media (max-width: 1024px) {
  .point_grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .point_grid--4 { grid-template-columns: 1fr; }
}

/* ============================================================
   怪奇調査の流れ：見出し右の「異変中」グリッチ文字
   ============================================================ */
.point_title_row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 6px;
  margin-bottom: 24px;
}

.point_title_row .section_title {
  margin-bottom: 0;
}

.anomaly_text {
  position: relative;
  display: inline-block;
  font-family: var(--font_serif);
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 19px);
  letter-spacing: 0.04em;
  color: var(--color_accent_bright);
  text-shadow: 0 0 10px var(--color_accent_glow);
  /* 本体がときどき揺れる（異変が起きている状態） */
  animation: anim_glitch_1 3.4s ease-in-out infinite;
}

/* RGBずれの複製レイヤー（シアン／レッド） */
.anomaly_text::before,
.anomaly_text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
}

.anomaly_text::before {
  color: #3fe6e6;
  opacity: 0.55;
  animation: anim_glitch_2 3.4s ease-in-out infinite;
  animation-delay: 0.04s;
}

.anomaly_text::after {
  color: var(--color_danger);
  opacity: 0.55;
  animation: anim_glitch_2 3.4s ease-in-out infinite reverse;
  animation-delay: 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  .anomaly_text,
  .anomaly_text::before,
  .anomaly_text::after {
    animation: none;
  }
  .anomaly_text::before,
  .anomaly_text::after {
    display: none;
  }
}

/* 見出し自体を「異変中」グリッチにする（イントロ等の section_title 用） */
.anomaly_heading {
  position: relative;
  display: inline-block;
  animation: anim_glitch_1 3.4s ease-in-out infinite;
}

.anomaly_heading::before,
.anomaly_heading::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
}

.anomaly_heading::before {
  color: #3fe6e6;
  opacity: 0.5;
  animation: anim_glitch_2 3.4s ease-in-out infinite;
  animation-delay: 0.04s;
}

.anomaly_heading::after {
  color: var(--color_danger);
  opacity: 0.5;
  animation: anim_glitch_2 3.4s ease-in-out infinite reverse;
  animation-delay: 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  .anomaly_heading,
  .anomaly_heading::before,
  .anomaly_heading::after {
    animation: none;
  }
  .anomaly_heading::before,
  .anomaly_heading::after {
    display: none;
  }
}

/* 見出しを1文字ずつ不規則に侵食する異変演出（ちらつき＋跳ね＋色化け） */
.glitch_chars {
  display: inline-block;
  animation: headAnomaly 4.5s infinite;
}
/* 見出し全体に、はっきり分かる異変グリッチ（色ズレ＋断裂＋点滅）。間は静止で読みやすい */
@keyframes headAnomaly {
  0%, 78%, 100% { filter: none; transform: translate(0, 0); opacity: 1; clip-path: none; }
  79%   { filter: drop-shadow(4px 0 0 rgba(224,68,74,.95)) drop-shadow(-4px 0 0 rgba(90,180,255,.85)); transform: translateX(-4px); }
  80.5% { filter: drop-shadow(-5px 0 0 rgba(224,68,74,.95)) drop-shadow(5px 0 0 rgba(90,180,255,.85)); transform: translateX(4px) skewX(-3deg); }
  81.5% { opacity: 0.35; transform: translateX(-2px); }
  82.2% { opacity: 1; filter: brightness(1.7); transform: translateX(3px); clip-path: inset(34% 0 44% 0); }
  83%   { transform: translateX(-3px); clip-path: inset(58% 0 22% 0); }
  84%   { filter: none; transform: translate(0, 0); clip-path: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .glitch_chars { animation: none; } }
.glitch_chars .gc {
  display: inline-block;
  animation: gc_glow 5.5s ease-in-out infinite;
  will-change: text-shadow, opacity;
}
/* 各文字の開始位置をずらして、常にどこかが“異変”しているように見せる */
.glitch_chars .gc:nth-child(1)  { animation-delay: 0s; }
.glitch_chars .gc:nth-child(2)  { animation-delay: -2.6s; }
.glitch_chars .gc:nth-child(3)  { animation-delay: -1.1s; }
.glitch_chars .gc:nth-child(4)  { animation-delay: -3.4s; }
.glitch_chars .gc:nth-child(5)  { animation-delay: -0.7s; }
.glitch_chars .gc:nth-child(6)  { animation-delay: -4.0s; }
.glitch_chars .gc:nth-child(7)  { animation-delay: -1.9s; }
.glitch_chars .gc:nth-child(8)  { animation-delay: -3.0s; }
.glitch_chars .gc:nth-child(9)  { animation-delay: -0.4s; }
.glitch_chars .gc:nth-child(10) { animation-delay: -2.2s; }
.glitch_chars .gc:nth-child(11) { animation-delay: -3.7s; }
.glitch_chars .gc:nth-child(12) { animation-delay: -1.5s; }
.glitch_chars .gc:nth-child(13) { animation-delay: -0.9s; }

/* 動かさず、淡く赤くにじむグローだけ（酔わない・読みやすい異変） */
@keyframes gc_glow {
  0%, 100% {
    text-shadow: none;
    opacity: 1;
  }
  50% {
    text-shadow: 0 0 12px var(--color_accent_glow), 0 0 5px var(--color_accent_dim);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glitch_chars .gc {
    animation: none;
  }
}

/* ============================================================
   グットクルー（神戸発アイドルグループ）紹介セクション
   ============================================================ */
.gootcrew {
  position: relative;
  padding: 88px 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(224, 68, 74, 0.10) 0%, transparent 60%),
    var(--color_bg_secondary);
  border-top: 1px solid var(--color_divider_dim);
  overflow: hidden;
}

.gootcrew .section_title {
  text-align: center;
}

.gootcrew_photo {
  margin: 32px auto 0;
  max-width: 880px;
  border: 1px solid var(--color_divider_dim);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}

.gootcrew_photo img {
  display: block;
  width: 100%;
  height: auto;
}

.gootcrew_body {
  max-width: 760px;
  margin: 32px auto 0;
}

.gootcrew_lead {
  font-family: var(--font_sans);
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 2;
  color: var(--color_text);
}

.gootcrew_catch {
  margin-top: 18px;
  font-family: var(--font_serif);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 20px);
  text-align: center;
  color: var(--color_accent_bright);
}

/* メンバー */
.gootcrew_members {
  margin-top: 40px;
}

.gootcrew_members_label {
  display: block;
  font-family: var(--font_mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color_text);
  margin-bottom: 14px;
}

.gootcrew_member_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gootcrew_member {
  --member_color: var(--color_accent);
  padding: 9px 16px;
  border: 1px solid var(--member_color);
  border-left: 4px solid var(--member_color);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font_sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--color_text);
}

.gootcrew_member--blue   { --member_color: #3a8dde; }
.gootcrew_member--green  { --member_color: #3fbf73; }
.gootcrew_member--purple { --member_color: #9a6cd6; }
.gootcrew_member--yellow { --member_color: #e6c33a; }
.gootcrew_member--orange { --member_color: #e6913a; }
.gootcrew_member--red    { --member_color: #e0444a; }

/* リンク */
.gootcrew_links {
  margin-top: 32px;
  text-align: center;
}

.gootcrew_site_btn {
  display: inline-block;
  padding: 13px 30px;
  border: 1px solid var(--color_accent);
  border-radius: 3px;
  font-family: var(--font_mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--color_text);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.gootcrew_site_btn:hover {
  background-color: var(--color_accent);
  color: #fff;
}

/* テーマソング */
.gootcrew_song {
  margin-top: 44px;
  text-align: center;
}

.gootcrew_song_label {
  display: block;
  font-family: var(--font_mono);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--color_text);
}

.gootcrew_song_title {
  margin: 8px 0 18px;
  font-family: var(--font_serif);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--color_text);
}

.gootcrew_video {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color_divider_dim);
  background: #000;
}

.gootcrew_video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .gootcrew { padding: 64px 0; }
  .gootcrew_member_list { justify-content: center; }
}

/* ===== メインビジュアル（分割素材＋懐中電灯可動＋タイトル異変） ===== */
.mvx {
  position: relative; width: 100%; overflow: hidden; background: #000; z-index: 2;
}
.mvx_pc { aspect-ratio: 1920 / 1080; }
.mvx_sp { aspect-ratio: 873 / 1248; display: none; }
@media (max-width: 768px) {
  .mvx_pc { display: none; }
  .mvx_sp { display: block; }
}
.mvx_layer { position: absolute; pointer-events: none; }
.mvx_bg { inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* タイトル（TATSUMIまで含む全体）＋異変アニメ */
.mvx_title {
  z-index: 4; --title-src: url(../images/title_full.webp);
  animation: mvxBreath 5s ease-in-out infinite;
}
.mvx_title_img { position: absolute; inset: 0; background: var(--title-src) center / 100% 100% no-repeat; }
.mvx_base  { animation: mvxGlitch 8s infinite; }
.mvx_slice { animation: mvxTear 8s infinite; opacity: 0; }

@keyframes mvxBreath {
  0%, 100% { opacity: 1; transform: translate(0, 0); }
  50% { opacity: 0.95; transform: translate(-0.4px, 0.3px); }
}
@keyframes mvxGlitch {
  0%, 38% { filter: none; transform: translate(0,0) skewX(0) scaleX(1); }
  39% { filter: drop-shadow(4px 0 0 rgba(224,68,74,.9)) drop-shadow(-4px 0 0 rgba(90,180,255,.8)); transform: translate(-6px,0) skewX(0); }
  40% { transform: translate(6px,1px) skewX(-4deg); }
  41% { filter: none; transform: translate(0,0) skewX(0); }
  42%, 55% { filter: none; transform: translate(0,0) skewX(0); }
  57% { filter: drop-shadow(2px 0 0 rgba(224,68,74,.55)) drop-shadow(-2px 0 0 rgba(90,180,255,.45)); transform: translate(-2px,0); }
  60% { filter: drop-shadow(-2px 0 0 rgba(224,68,74,.55)) drop-shadow(2px 0 0 rgba(90,180,255,.45)); transform: translate(2px,0); }
  61% { filter: none; transform: translate(0,0); }
  62%, 76% { filter: none; transform: translate(0,0) skewX(0); }
  77% { filter: brightness(0.5); }
  78% { filter: none; }
  79% { filter: drop-shadow(6px 0 0 rgba(224,68,74,.9)) drop-shadow(-6px 0 0 rgba(90,180,255,.85)); transform: translate(-8px,1px) skewX(5deg); }
  81% { transform: translate(8px,-1px) skewX(-3deg) scaleX(1.02); }
  82% { filter: brightness(1.9); transform: translate(-2px,0) skewX(0) scaleX(1); }
  83% { filter: none; transform: translate(0,0); }
  84%, 100% { filter: none; transform: translate(0,0) skewX(0) scaleX(1); }
}
@keyframes mvxTear {
  0%, 38%, 100% { opacity: 0; }
  39%  { opacity: .9;  clip-path: inset(18% 0 70% 0); transform: translateX(-18px); }
  40.5%{ opacity: .9;  clip-path: inset(55% 0 30% 0); transform: translateX(16px); }
  41.5%{ opacity: 0; }
  57%  { opacity: .5;  clip-path: inset(40% 0 52% 0); transform: translateX(8px); }
  60%  { opacity: 0; }
  79%  { opacity: .92; clip-path: inset(24% 0 62% 0); transform: translateX(-20px); }
  81%  { opacity: .92; clip-path: inset(62% 0 24% 0); transform: translateX(20px); }
  82.5%{ opacity: 0; }
}

/* 右の縦書きキャッチ */
.mvx_rtext { z-index: 3; height: auto; }
.mvx_pc .mvx_rtext { left: 82.25%; top: 6.96%; width: 10.42%; }
.mvx_sp .mvx_rtext { left: 80%; top: 5%; width: 14%; }

/* 懐中電灯（本体の明るさで表現／JSで可動） */
.mvx_fl { z-index: 6; }
.mvx_fl img { display: block; width: 100%; height: auto; filter: brightness(1.15) contrast(1.04); }
.mvx_fl_left  { left: -3%; top: 14%; width: 54%; transform-origin: 12% 84%; }
.mvx_fl_right { right: -3%; top: 4%; width: 52%; transform-origin: 82% 70%; }
.mvx_fl_sp    { right: -6%; top: 12%; width: 90%; transform-origin: 88% 60%; }

.mvx_vignette {
  inset: 0; z-index: 7;
  background: radial-gradient(125% 105% at 50% 38%, transparent 60%, rgba(0,0,0,0.5) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .mvx_base, .mvx_slice, .mvx_title { animation: none; }
  .mvx_slice { opacity: 0; }
}

/* ============================================================
   修正バッチ（2026.8案件 サイト更新）
   ============================================================ */

/* FVスライダー：PCはスライダー化せず3枚を並べて表示（SPはSwiperで流す） */
@media (min-width: 769px) {
  .fv_slider { padding: 22px 24px; }
  .fv_swiper { overflow: visible; }
  .fv_swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    transform: none !important;
    height: auto;
  }
  .fv_swiper .swiper-slide {
    width: auto !important;
    margin: 0 !important;
  }
}

/* イントロ「夏になると…」：PCは中央揃え */
@media (min-width: 769px) {
  .section_intro .section_inner { text-align: center; }
  .section_intro .intro_lead { justify-items: center; }
}

/* 調査場所：各フィールド見出しを明朝体に */
.file_name {
  font-family: var(--font_serif);
}

/* チケット：前売券/当日券の2グループ */
.ticket_groups {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 8px;
  /* メタ（max-width:760px）と最大幅を統一し、カードもフル幅まで広げる */
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.ticket_group_label {
  text-align: center;
  font-family: var(--font_serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color_text);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  position: relative;
}
.ticket_group_label::before,
.ticket_group_label::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--color_accent);
  vertical-align: middle;
  margin: 0 12px;
}

/* スポンサー下の「他」 */
.sponsors_more {
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--color_text_dim);
}

/* アクセス：公式ページへのリンク */
.access_official_link {
  display: inline-block;
  margin-top: 16px;
  color: var(--color_accent_bright);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.access_official_link:hover { color: #ff8a90; }

/* ============================================================
   グローバルナビ（PC=右アイコンレール→クリックで大きく展開 / SP=ハンバーガー＋下部バー）
   ============================================================ */
.gnav {
  position: fixed; top: 0; right: 0; z-index: 95;
  height: 100vh; width: 78px;
  display: flex; flex-direction: column; padding: 14px 0;
  background: linear-gradient(180deg, rgba(34,16,20,0.98), rgba(22,10,13,0.98));
  border-left: 1px solid var(--color_divider);
  box-shadow: -6px 0 24px rgba(0,0,0,0.4);
  overflow: hidden;
  transition: width 0.32s cubic-bezier(0.5, 0, 0.18, 1);
}
body.nav-open .gnav { width: 248px; }

/* 開閉トグル（レール上部） */
.gnav_tab {
  flex-shrink: 0; width: 100%; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; transition: color 0.2s;
}
.gnav_tab::after { content: "\2261"; }
body.nav-open .gnav_tab::after { content: "\2715"; }
.gnav_tab:hover { color: var(--color_accent_bright); }

/* ブランド（展開時のみ） */
.gnav_brand {
  flex-shrink: 0; display: none;
  font-family: var(--font_serif); font-weight: 700; font-size: 18px;
  color: var(--color_text); letter-spacing: 0.05em; padding: 0 18px 10px;
  white-space: nowrap; text-shadow: 0 0 12px rgba(241,90,96,0.4);
}
body.nav-open .gnav_brand { display: block; }

.gnav_list { list-style: none; flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.gnav_list a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 10px 4px; color: var(--color_text); white-space: nowrap;
  border-right: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gnav_ic { width: 27px; height: 27px; flex-shrink: 0; }
.gnav_tx { font-size: 10px; letter-spacing: 0.02em; }

/* グループ見出し（閉=区切り線 / 開=ラベル） */
.gnav_group { list-style: none; margin: 8px 16px 6px; padding-top: 7px; border-top: 1px solid var(--color_divider_dim); }
.gnav_group span { display: none; }
body.nav-open .gnav_group { margin: 0; padding: 12px 20px 5px; border-top: none; }
body.nav-open .gnav_group span { display: block; font-family: var(--font_mono); font-size: 11px; letter-spacing: 0.16em; color: var(--color_accent_bright); }

.gnav_list a:hover,
.gnav_list a.is_active {
  background: var(--color_accent_dim); color: var(--color_accent_bright);
  border-right-color: var(--color_accent);
}
/* 展開：アイコン＋大きい文字を横並び */
body.nav-open .gnav_list a { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 12px 20px; }
body.nav-open .gnav_ic { width: 24px; height: 24px; }
body.nav-open .gnav_tx { font-size: 17px; font-family: var(--font_serif); }

.gnav_ticket {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin: 10px 8px 0; padding: 10px 4px;
  background: var(--color_accent); color: #fff; border-radius: 6px;
  font-weight: 700; white-space: nowrap; transition: background 0.2s;
}
.gnav_ticket .gnav_tx { font-size: 10px; }
.gnav_ticket:hover { background: var(--color_accent_bright); }
body.nav-open .gnav_ticket { flex-direction: row; justify-content: center; gap: 8px; padding: 12px; }
body.nav-open .gnav_ticket .gnav_tx { font-size: 14px; }

/* ドロワー下部：チケット購入＋×閉じる（×はSPドロワーのみ表示） */
.gnav_foot { display: flex; align-items: stretch; gap: 8px; margin: 10px 8px 0; }
.gnav_foot .gnav_ticket { flex: 1; margin: 0; }
.gnav_close {
  display: none; flex-shrink: 0; width: 48px;
  align-items: center; justify-content: center;
  background: rgba(40,20,25,0.65); color: #fff;
  border: 1px solid var(--color_divider); border-radius: 6px; cursor: pointer;
  transition: background 0.2s;
}
.gnav_close svg { width: 22px; height: 22px; }
.gnav_close:hover { background: rgba(70,32,38,0.9); }

/* 本文：右レール分の余白（PC） */
@media (min-width: 769px) {
  #page { margin-right: 78px; }
  /* 追従CTAは右レールに重ならないよう左にずらす／メニュー展開中は隠す */
  .sticky_cta { right: 100px; }
  body.nav-open .sticky_cta { opacity: 0; pointer-events: none; }
}

/* SP専用要素はPCで非表示 */
.gnav_burger, .gnav_bottom { display: none; }
.gnav_overlay { display: none; }

@media (max-width: 768px) {
  .gnav_tab { display: none; }
  #page { margin-right: 0; }
  .gnav {
    width: min(82vw, 320px); right: auto; left: 0;
    transform: translateX(-100%); transition: transform 0.28s ease;
    z-index: 110; padding: 22px 14px 14px; border-left: none; border-right: 1px solid var(--color_divider);
  }
  body.nav-open .gnav { transform: translateX(0); width: min(82vw, 320px); }
  .gnav_brand { display: block; }
  .gnav_list a { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 11px 12px; }
  .gnav_tx { font-size: 15px; }
  .gnav_ic { width: 24px; height: 24px; }
  .gnav_group { margin: 0; padding: 12px 12px 5px; border-top: none; }
  .gnav_group span { display: block; font-family: var(--font_mono); font-size: 11px; letter-spacing: 0.16em; color: var(--color_accent_bright); }
  .gnav_ticket { flex-direction: row; justify-content: center; gap: 8px; padding: 12px; }
  .gnav_ticket .gnav_tx { font-size: 14px; }
  .gnav_close { display: flex; }

  .gnav_overlay {
    display: block; position: fixed; inset: 0; z-index: 105;
    background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: opacity 0.28s;
  }
  body.nav-open .gnav_overlay { opacity: 1; pointer-events: auto; }

  .gnav_burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    position: fixed; top: 12px; right: 12px; z-index: 120;
    width: 44px; height: 44px; padding: 0 10px;
    background: rgba(40,20,25,0.92); border: 1px solid var(--color_divider); border-radius: 8px; cursor: pointer;
  }
  .gnav_burger span { display: block; height: 2px; width: 100%; background: var(--color_text); transition: transform 0.25s, opacity 0.25s; }
  body.nav-open .gnav_burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .gnav_burger span:nth-child(2) { opacity: 0; }
  body.nav-open .gnav_burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gnav_bottom {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: rgba(40,20,25,0.95); border-top: 1px solid var(--color_divider);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .gnav_bottom_btn {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 0 10px; font-size: 11px; color: var(--color_text);
    background: none; border: none; cursor: pointer; text-decoration: none;
  }
  .gnav_bottom_icon { font-size: 20px; line-height: 1; }
  .gnav_bottom_btn:active { color: var(--color_accent_bright); }

  body { padding-bottom: 62px; }
  .sticky_cta { display: none; }
}

/* ===== 上に戻るボタン ===== */
.to_top {
  position: fixed; z-index: 96;
  right: 100px; bottom: 110px;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(40, 20, 25, 0.92); border: 1px solid var(--color_divider);
  color: var(--color_text); cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, border-color 0.2s;
}
.to_top svg { width: 22px; height: 22px; }
.to_top.is_visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to_top:hover { background: var(--color_accent); border-color: var(--color_accent); }
@media (min-width: 769px) {
  body.nav-open .to_top { opacity: 0; pointer-events: none; }
}
@media (max-width: 768px) {
  .to_top { right: 16px; bottom: 76px; }
}

/* 横スクロール防止 */
html, body { overflow-x: hidden; }

/* ===== スライド：1枚ごとの“異変”オーバーレイ（案A：CSS） ===== */
.fv_slider { position: relative; }
.anom { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

/* --- 医務室：人影がふっと現れて消える＋照明のちらつき --- */
.anom_ghost {
  position: absolute; left: 50%; top: 14%; width: 20%; height: 74%;
  transform: translateX(-50%);
  background:
    radial-gradient(46% 30% at 50% 22%, rgba(228,230,240,0.6), transparent 70%),
    radial-gradient(60% 58% at 50% 72%, rgba(208,210,226,0.42), transparent 74%);
  filter: blur(6px);
  opacity: 0;
  animation: anomGhost 7s ease-in-out infinite;
}
@keyframes anomGhost {
  0%, 62%, 100% { opacity: 0; transform: translateX(-50%); }
  70% { opacity: 0.6; transform: translateX(-50%) translateX(-3px); }
  74% { opacity: 0.12; }
  80% { opacity: 0.62; transform: translateX(-50%) translateX(2px); }
  88% { opacity: 0; }
}
.anom_flick {
  position: absolute; inset: 0; background: rgba(8,4,4,0);
  animation: anomFlick 7s steps(1, end) infinite;
}
@keyframes anomFlick {
  0%, 67%, 100% { background: rgba(8,4,4,0); }
  68% { background: rgba(6,3,3,0.5); }
  69% { background: rgba(8,4,4,0); }
  72% { background: rgba(6,3,3,0.55); }
  73% { background: rgba(8,4,4,0); }
}

/* 全画面オーバーレイ（base画像と同じcoverで重ねて位置を合わせる） */
.anom_layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none;
}

/* --- ロッカー：3枚をフェードで循環するパラパラ漫画
   base(fb1=無人) の上に fb2(着席), fb3(探偵調査) を重ね、
   無人→着席→調査→無人 とクロスフェードでループ --- */
.lockerfb { opacity: 0; }
.lockerfb2 { animation: lockerFb2 10s ease-in-out infinite; }
.lockerfb3 { animation: lockerFb3 10s ease-in-out infinite; }
@keyframes lockerFb2 {            /* 選手の影が一斉に着席 */
  0%, 22% { opacity: 0; }
  30%, 88% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes lockerFb3 {            /* 探偵2人が調査に入る */
  0%, 55% { opacity: 0; }
  63%, 88% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .lockerfb { animation: none; opacity: 0; } }

/* --- ピッチ：無人のスタンド→サポーターが現れる、をフェードで循環（パラパラ漫画） --- */
.pitchfb { opacity: 0; }
.pitchfb2 { animation: pitchFb2 8s ease-in-out infinite; }
@keyframes pitchFb2 {
  0%, 22% { opacity: 0; }       /* 無人のスタンド */
  35%, 78% { opacity: 1; }      /* サポーターが浮かび上がる */
  90%, 100% { opacity: 0; }     /* ふっと消える */
}
@media (prefers-reduced-motion: reduce) { .pitchfb { animation: none; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .anom_ghost, .anom_flick { animation: none; opacity: 0; }
}

/* ===== 追記：登場人物「and more...」／アンバサダー来場告知／休止公演 ===== */
.characters_more {
  margin: 30px 0 0;
  text-align: center;
  font-family: var(--font_mono);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--color_text_muted);
}
.gootcrew_visit {
  margin: 12px 0 0;
  text-align: center;
  font-family: var(--font_serif);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--color_accent_bright);
}
.gootcrew_visit_note {
  margin: 6px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--color_text_dim);
}
.time_list .time_off { opacity: 0.62; }
.time_list .time_off .time_recept { color: var(--color_text_dim); }
