@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@500;700;900&family=Yuji+Syuku&family=Noto+Serif+JP:wght@400;700;900&display=swap');

:root {
  --blood-pure: #8a0b0b;
  --blood-bright: #e60000;
  --blood-dark: #3a0000;
  --dark-void: #030303;
  --dark-surface: #0a0a0c;
  --ghost-paper: #ded5c6;
  --ghost-white: #eae5e0;
  --decay-green: #1a2215;
  --ofuda-yellow: #dfce9f;
  --ofuda-ink: #110808;
}

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

html {
  width: 100%;
  height: 100%;
  background-color: var(--dark-void);
  overflow-x: hidden;
}

body {
  position: relative;
  width: 100%;
  min-height: 100%;
  background-color: var(--dark-void);
  color: var(--ghost-white);
  font-family: 'Shippori Mincho B1', 'Yuji Syuku', 'Noto Serif JP', serif;
  overflow-x: hidden;
  line-height: 1.8;
  letter-spacing: 0.08em;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

/* 文字化け時の文字幅変化による行揺れ（レイアウトシフト）をスマホ含め完全防止 */
p, li, .story-lead, .section-desc, .info-card-val, .info-card-sub, .notice-list li {
  overflow-wrap: break-word;
  word-break: break-all;
}

/* ========================================================
   背景と環境オーバーレイ
   ======================================================== */
.haunted-bg {
  position: fixed;
  top: -120px;
  bottom: -120px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh + 240px);
  height: calc(100dvh + 240px);
  z-index: 1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% 50%, rgba(15, 20, 10, 0.4) 0%, rgba(3, 3, 3, 0.95) 80%),
    repeating-linear-gradient(45deg, #050604 0px, #050604 2px, #030303 2px, #030303 6px);
  opacity: 0.9;
}

/* 枯れたとうもろこし畑のシルエット壁紙 */
.cornfield-silhouette {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45vh;
  pointer-events: none;
  z-index: 2;
  opacity: 0.15;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  filter: blur(1px);
}

/* CRT走査線・フィルムグレイン（恐怖モード用・デフォルト非表示） */
.crt-overlay {
  position: fixed;
  top: -120px;
  bottom: -120px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh + 240px);
  height: calc(100dvh + 240px);
  pointer-events: none;
  z-index: 9990;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
              linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 255, 0, 0.02));
  background-size: 100% 4px, 6px 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* 画面全体のビネット（通常モードも穏やかに適用、恐怖モードで全開） */
.vignette-overlay {
  position: fixed;
  top: -120px;
  bottom: -120px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh + 240px);
  height: calc(100dvh + 240px);
  pointer-events: none;
  z-index: 9989;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.96), inset 0 0 240px rgba(0, 0, 0, 0.88);
  opacity: 0.6;
  transition: opacity 1.5s ease;
}

/* ========================================================
   CANVAS群（懐中電灯、目玉）
   ======================================================== */
/* ========================================================
   懐中電灯システム（通常モード・恐怖モード共通）
   縦方向のみ-120pxの垂直ブリードでiOS Safariステータスバー・下部バーを完全密閉
   横幅は100%厳守で横揺れ・80%縮小を永久遮断
   ======================================================== */
#flashlight-canvas {
  position: fixed;
  top: -120px;
  bottom: -120px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh + 240px);
  height: calc(100dvh + 240px);
  z-index: 9900;
  pointer-events: none;
  display: block;
  margin: 0;
  padding: 0;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* ========================================================
   大小様々な目玉スロット（恐怖モードで開眼・出現）
   ======================================================== */
.haunted-eye-slot {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease-out;
  filter: contrast(1.2) brightness(0.85) drop-shadow(0 0 16px rgba(180, 0, 0, 0.5));
  z-index: 15;
}

/* 恐怖モード解放後、一斉に出現 */
body.horror-active .haunted-eye-slot {
  display: block;
  opacity: 0.85;
}

/* サイズバリエーション */
.haunted-eye-slot.size-xl {
  width: min(240px, 45vw);
  aspect-ratio: 480 / 720;
}

.haunted-eye-slot.size-lg {
  width: min(180px, 35vw);
  aspect-ratio: 480 / 720;
}

.haunted-eye-slot.size-md {
  width: min(120px, 25vw);
  aspect-ratio: 480 / 720;
}

.haunted-eye-slot.size-sm {
  width: min(80px, 18vw);
  aspect-ratio: 480 / 720;
}

.haunted-eye-slot.size-xs {
  width: min(50px, 12vw);
  aspect-ratio: 480 / 720;
}

/* 目玉動画の共通スタイル（闇に溶け込む楕円マスク） */
.haunted-eyes-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 70%);
}

/* ページ固定配置（スクロール追従せず、ページ上の定位置に留まる） */
.haunted-eye-slot.page-eye {
  position: absolute;
  z-index: 12;
}

.haunted-eye-slot.eye-pos-1 {
  top: 180px;
  right: max(16px, calc(50vw - 460px));
}

.haunted-eye-slot.eye-pos-2 {
  top: 900px;
  left: max(16px, calc(50vw - 470px));
}

.haunted-eye-slot.eye-pos-3 {
  top: 1750px;
  right: max(16px, calc(50vw - 465px));
}

.haunted-eye-slot.eye-pos-4 {
  top: 2550px;
  left: max(16px, calc(50vw - 460px));
}

/* ========================================================
   恐怖モード用 血痕・手形散布レイヤー（ブロック・Google Mapの上に配置）
   ======================================================== */
.horror-scatter-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  min-height: 100%;
  pointer-events: none;
  z-index: 500;
  overflow: visible;
  display: none;
}

body.horror-active .horror-scatter-container {
  display: block;
}

.horror-mark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0;
  will-change: transform, opacity;
}

.horror-mark.visible {
  opacity: var(--mark-opacity, 0.85);
}

.horror-mark.mark-hand {
  filter: drop-shadow(0 0 10px rgba(180, 0, 0, 0.75)) contrast(1.15) brightness(1.05);
}

.horror-mark.mark-blood1 {
  filter: drop-shadow(0 0 12px rgba(220, 0, 0, 0.8)) contrast(1.2) brightness(1.08);
}

.horror-mark.mark-blood2 {
  filter: drop-shadow(0 0 12px rgba(220, 0, 0, 0.8)) contrast(1.2) brightness(1.08);
}

/* ========================================================
   BGM 音響切替ボタン
   ======================================================== */
.bgm-toggle-btn {
  position: fixed;
  top: max(16px, env(safe-area-inset-top, 16px));
  right: max(18px, env(safe-area-inset-right, 18px));
  z-index: 100010;
  background: rgba(22, 16, 16, 0.94);
  border: 1px solid rgba(220, 30, 30, 0.7);
  color: #fff;
  border-radius: 20px;
  padding: 7px 15px;
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 10px rgba(180, 0, 0, 0.4);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.bgm-toggle-btn:hover {
  background: rgba(45, 12, 12, 0.98);
  border-color: var(--blood-bright);
  color: #fff;
  box-shadow: 0 0 16px rgba(230, 0, 0, 0.75);
  transform: scale(1.04);
}

.bgm-toggle-btn.muted {
  opacity: 0.75;
  border-color: #666;
  color: #ccc;
  background: rgba(25, 25, 25, 0.92);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
}

/* ========================================================
   通常モード時 画面下部 スクロール誘導インジケーター（▽下へ）
   ======================================================== */
.scroll-down-indicator {
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom, 22px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 9950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: rgba(18, 14, 14, 0.88);
  border: 1px solid rgba(220, 40, 40, 0.55);
  border-radius: 24px;
  color: var(--ghost-white);
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(180, 0, 0, 0.35);
  transition: opacity 0.4s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  animation: scrollDownBounce 2.2s infinite ease-in-out;
}

.scroll-down-indicator:hover {
  background: rgba(38, 14, 14, 0.96);
  border-color: var(--blood-bright);
  box-shadow: 0 0 16px rgba(230, 0, 0, 0.75);
  animation-play-state: paused;
  transform: translateX(-50%) scale(1.05);
}

.scroll-down-indicator:active {
  transform: translateX(-50%) scale(0.96);
}

.scroll-down-indicator.hidden-by-scroll {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
}

/* 恐怖モード突入時は完全非表示 */
body.horror-active .scroll-down-indicator {
  display: none !important;
}

@keyframes scrollDownBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ========================================================
   懐中電灯切れかけ・完全暗転＆全画面動画オーバーレイ
   ======================================================== */
.blackout-overlay {
  position: fixed;
  top: -120px;
  bottom: -120px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh + 240px);
  height: calc(100dvh + 240px);
  z-index: 99997;
  pointer-events: none;
  background-color: #000;
  opacity: 0;
}

.blackout-overlay.flickering {
  pointer-events: all;
  animation: bulbFlickerDie 1.8s forwards;
}

.blackout-overlay.blackout {
  pointer-events: all;
  opacity: 1;
}

@keyframes bulbFlickerDie {
  0%   { opacity: 0; }
  5%   { opacity: 0.9; }
  10%  { opacity: 0.1; }
  18%  { opacity: 0.95; }
  25%  { opacity: 0.05; }
  32%  { opacity: 0.85; }
  38%  { opacity: 0.2; }
  50%  { opacity: 0.95; }
  60%  { opacity: 0.1; }
  72%  { opacity: 0.8; }
  85%  { opacity: 0.3; }
  92%  { opacity: 0.98; }
  100% { opacity: 1; }
}

.fullscreen-video-overlay {
  position: fixed;
  top: -120px;
  bottom: -120px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh + 240px);
  height: calc(100dvh + 240px);
  z-index: 99999;
  background-color: #000;
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.fullscreen-video-overlay.active {
  display: flex;
}

.fullscreen-video-overlay video {
  width: 100%;
  max-width: 100vw;
  height: calc(100vh + 240px);
  height: calc(100dvh + 240px);
  object-fit: cover;
  display: block;
}

/* ========================================================
   恐怖モード トップ到達時 ジャンプスケアオーバーレイ (horror.jpg)
   上下-120px垂直ブリードでiOSバウンス時にも隙間ゼロ
   ======================================================== */
.horror-jumpscare-overlay {
  position: fixed;
  top: -120px;
  bottom: -120px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh + 240px);
  height: calc(100dvh + 240px);
  z-index: 100005;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.horror-jumpscare-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  animation: jumpscareFlash 0.4s ease-out forwards;
}

.horror-jumpscare-img {
  width: 100%;
  max-width: 100vw;
  height: calc(100vh + 240px);
  height: calc(100dvh + 240px);
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.35) brightness(0.95);
  animation: jumpscareShake 0.4s ease-out;
}

@keyframes jumpscareFlash {
  0% {
    opacity: 1;
    background-color: #770000;
  }
  15% {
    opacity: 1;
    background-color: #000;
  }
  75% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
  }
}

@keyframes jumpscareShake {
  0% {
    transform: scale(1.15) translate(0, 0);
  }
  20% {
    transform: scale(1.22) translate(-8px, 6px);
  }
  40% {
    transform: scale(1.18) translate(8px, -6px);
  }
  60% {
    transform: scale(1.20) translate(-4px, -4px);
  }
  80% {
    transform: scale(1.16) translate(4px, 4px);
  }
  100% {
    transform: scale(1.14) translate(0, 0);
  }
}

.btn-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.btn-label {
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  font-weight: bold;
}

.btn-subtext {
  font-size: 0.78rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
  font-family: 'Shippori Mincho B1', serif;
  margin-top: 4px;
}

/* クイック演出切替バー（上部固定） */
.mode-indicator-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99996;
  background: rgba(12, 10, 10, 0.85);
  border: 1px solid #3a2222;
  border-radius: 30px;
  padding: 6px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  font-size: 0.8rem;
  color: #ccc;
  transition: all 0.3s ease;
}

.mode-switch-btn {
  background: #221212;
  border: 1px solid var(--blood-pure);
  color: #ffcccc;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-switch-btn:hover {
  background: var(--blood-pure);
  color: #fff;
  box-shadow: 0 0 10px red;
}

/* ========================================================
   メインレイアウト
   ======================================================== */
.site-wrapper {
  position: relative;
  z-index: 10;
  max-width: 840px;
  margin: 0 auto;
  padding: 80px 24px 180px;
}

/* 暗闇に潜む隠し文字（懐中電灯を直接当てると浮かぶ） */
.hidden-curse {
  color: #111113;
  font-size: 0.85rem;
  margin: 30px 0;
  text-align: center;
  letter-spacing: 0.25em;
  font-weight: bold;
  user-select: none;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* ========================================================
   ファーストビュー（HERO）
   ======================================================== */
.hero-section {
  text-align: center;
  padding: 60px 0 100px;
  position: relative;
}

.hero-sub {
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: #8a7c7c;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-title-box {
  position: relative;
  display: block;
  max-width: 800px;
  margin: 0 auto 25px;
}

.hero-main-title {
  font-family: 'Yuji Syuku', serif;
  font-size: clamp(3.2rem, 10vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ghost-paper);
  text-shadow: 
    0 0 15px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(138, 11, 11, 0.5),
    2px 2px 2px #000;
  margin: 0;
  line-height: 1.15;
  transition: text-shadow 0.2s ease;
}

.hero-logo-img {
  width: min(780px, 94vw);
  max-height: 320px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(220, 20, 20, 0.5)) drop-shadow(0 0 40px rgba(138, 11, 11, 0.35));
  transition: filter 0.35s ease, transform 0.35s ease;
  user-select: none;
}

.hero-logo-img:hover {
  filter: drop-shadow(0 0 30px rgba(255, 30, 30, 0.85)) drop-shadow(0 0 60px rgba(200, 10, 10, 0.6));
  transform: scale(1.02);
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--blood-bright);
  letter-spacing: 0.25em;
  font-weight: bold;
  margin-top: 15px;
  text-shadow: 0 0 10px rgba(230, 0, 0, 0.6);
}

.scroll-whisper {
  margin-top: 60px;
  font-size: 0.82rem;
  color: #665;
  letter-spacing: 0.4em;
  animation: breatheFade 3s infinite alternate;
}

.scroll-whisper::after {
  content: '▼';
  display: block;
  font-size: 0.75rem;
  color: var(--blood-pure);
  margin-top: 8px;
}

/* ========================================================
   セクション共通
   ======================================================== */
.section-block {
  margin: 120px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.section-title {
  font-family: 'Yuji Syuku', serif;
  font-size: 2.2rem;
  color: var(--ghost-paper);
  letter-spacing: 0.2em;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blood-bright), transparent);
}

.section-desc {
  font-size: 0.95rem;
  color: #999;
  margin-top: 10px;
}

/* ========================================================
   物語（LORE）セクション
   ======================================================== */
.story-scroll-box {
  background: rgba(8, 7, 7, 0.8);
  border: 1px solid #2a1515;
  padding: 40px 32px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.story-scroll-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blood-pure);
}

.story-lead {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #ccc;
  line-height: 2.2;
}

.story-highlight {
  font-size: 1.35rem;
  font-family: 'Yuji Syuku', serif;
  color: var(--blood-bright);
  margin: 30px 0;
  text-align: center;
  letter-spacing: 0.25em;
  text-shadow: 0 0 15px rgba(230, 0, 0, 0.4);
}

/* 物語の背景イラスト演出（お菊・木桶の霊影を文字の背後に重ねる） */
.story-scroll-box {
  background: rgba(8, 7, 7, 0.88);
  border: 1px solid #2a1515;
  padding: 45px 36px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.85);
  position: relative;
  overflow: hidden;
}

.story-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.story-bg-art {
  position: absolute;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.6s ease, filter 0.6s ease;
}

/* 右奥に立ち現れるお菊の霊影 */
.story-bg-okiku {
  top: 5px;
  right: 20px;
  width: 176px;
  max-width: 35%;
  opacity: 0.23;
  filter: drop-shadow(0 0 25px rgba(220, 20, 20, 0.65));
}

/* 左奥に沈む蛇責めの木桶 */
.story-bg-oke {
  bottom: -10px;
  left: 20px;
  width: 184px;
  max-width: 35%;
  opacity: 0.19;
  filter: drop-shadow(0 0 25px rgba(180, 10, 10, 0.55));
}

.story-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ホバーで怪異の霊影がかすかに濃くなる演出 */
.story-scroll-box:hover .story-bg-okiku {
  opacity: 0.32;
  filter: drop-shadow(0 0 35px rgba(240, 20, 20, 0.9));
}

.story-scroll-box:hover .story-bg-oke {
  opacity: 0.27;
  filter: drop-shadow(0 0 35px rgba(200, 15, 15, 0.8));
}

/* 前面テキスト層（背景画像と重なっても文字が確実に浮き上がる立体陰影） */
.story-content-layer {
  position: relative;
  z-index: 2;
}

.story-content-layer .story-lead {
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.98),
    0 0 10px rgba(0, 0, 0, 0.95),
    0 0 20px rgba(0, 0, 0, 0.85);
}

@media (max-width: 600px) {
  .story-scroll-box {
    padding: 32px 18px;
  }
  .story-lead {
    font-size: 0.98rem;
    line-height: 2.05;
  }
  .story-bg-okiku {
    top: 10px;
    right: 10px;
    width: 116px;
    opacity: 0.22;
  }
  .story-bg-oke {
    bottom: -5px;
    left: 10px;
    width: 112px;
    opacity: 0.17;
  }
}



/* ========================================================
   開催情報・アクセス（CARD）
   ======================================================== */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.info-card {
  background: rgba(12, 10, 10, 0.85);
  border: 1px solid #261616;
  padding: 30px 24px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  transition: border-color 0.3s ease;
}

.info-card:hover {
  border-color: var(--blood-pure);
}

.info-card-label {
  font-family: 'Yuji Syuku', serif;
  font-size: 1.25rem;
  color: var(--blood-bright);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card-val {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
}

.info-card-sub {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

/* 地図ラッパー（ホラーネガ反転） */
.map-container {
  margin-top: 25px;
  border: 1px solid #332222;
  position: relative;
  overflow: hidden;
  height: 260px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(1.2) brightness(0.85);
  opacity: 0.88;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.map-container:hover iframe {
  opacity: 1;
  filter: grayscale(100%) contrast(1.1) brightness(0.95);
}

.video-route-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.route-btn {
  flex: 1;
  min-width: 150px;
  padding: 12px 16px;
  background: #141010;
  border: 1px solid #3a2222;
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
  text-align: center;
  transition: all 0.3s ease;
}

.route-btn:hover {
  background: #251010;
  border-color: var(--blood-bright);
  color: #fff;
}

/* ========================================================
   予約ボタン（LINE公式導線）
   ======================================================== */
.reserve-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 260px;
  background: linear-gradient(180deg, #06c755 0%, #049c43 100%);
  color: #fff;
  text-decoration: none;
  font-family: 'Yuji Syuku', serif;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  padding: 14px 24px;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-sizing: border-box;
}

.reserve-line-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(6, 199, 85, 0.6);
  filter: brightness(1.08);
}

.reserve-line-btn .btn-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.reserve-line-btn .btn-txt {
  white-space: nowrap;
}

/* 準備中（coming-soon）モード時のスタイル */
.reserve-line-btn.coming-soon {
  pointer-events: none; /* クリック・タップ無効化 */
  cursor: not-allowed;
  background: linear-gradient(180deg, #1b4d2a 0%, #10331b 100%);
  color: #a8d5b5;
  border: 1px dashed rgba(223, 206, 159, 0.45);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.85);
}

.reserve-line-btn.coming-soon:hover {
  transform: none;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.85);
  filter: none;
}

.reserve-line-btn .coming-soon-seal {
  display: none; /* 通常公開時は非表示 */
}

.reserve-line-btn.coming-soon .coming-soon-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -12px;
  right: -10px;
  background: #dfce9f; /* お札和紙色 */
  color: #8a0b0b;      /* 朱墨色 */
  border: 1.5px solid #8a0b0b;
  font-family: 'Yuji Syuku', serif;
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  padding: 2px 11px;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.9), 0 0 10px rgba(223, 206, 159, 0.35);
  transform: rotate(3deg);
  user-select: none;
}

/* 準備中注記メッセージ（has-coming-soonクラスが存在する時だけ表示） */
.reserve-coming-soon-note {
  display: none;
}

.has-coming-soon .reserve-coming-soon-note {
  display: block;
  font-size: 0.88rem;
  color: #c9bcac;
  margin-top: 14px;
  line-height: 1.75;
  letter-spacing: 0.05em;
}

/* ========================================================
   本物が剥がれるリアルなお札（縦横50%縮小: 85x360px）
   ======================================================== */
.ofuda-wrap {
  text-align: center;
  margin: 140px 0 100px;
  position: relative;
}

.ofuda-stage {
  position: relative;
  width: 120px;
  margin: 0 auto;
  perspective: 1400px;
}

/* リアルなお札（元画像 200x598px の比率に合わせた 120x360px） */
.peelable-ofuda {
  position: relative;
  width: 120px;
  height: 360px;
  margin: 0 auto;
  z-index: 20;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
  user-select: none;
  transform-style: preserve-3d;
}

.peelable-ofuda:hover {
  transform: translateY(-4px) rotate(-0.5deg) scale(1.015);
}

/* お札の台紙・画像ラッパー */
.ofuda-paper {
  position: relative;
  width: 120px;
  height: 360px;
  overflow: visible;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.85));
  transform-style: preserve-3d;
}

/* 本物のお札画像（オリジナル比率を維持） */
.ofuda-img {
  width: 120px;
  height: 360px;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

/* お札セクション ヘッダー（サブタイトル＋警告文） */
.ofuda-header {
  margin-bottom: 26px;
  text-align: center;
}

.ofuda-subtitle {
  font-family: 'Yuji Syuku', serif;
  font-size: 1.45rem;
  letter-spacing: 0.25em;
  color: #c9bfb5;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(138, 11, 11, 0.6);
}

/* お札の警告文（絶対ニはがさナいで：改行させず1行で中央表示） */
.ofuda-warning-text {
  margin: 0 auto;
  font-family: 'Yuji Syuku', serif;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--blood-bright);
  letter-spacing: 0.25em;
  text-shadow: 0 0 12px rgba(230, 0, 0, 0.7);
  animation: warningPulse 2.5s infinite ease-in-out;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  user-select: none;
  white-space: nowrap;
  display: inline-block;
}

/* お札が剥がれたら警告文を即座に消去 */
.peelable-ofuda.peeling-away ~ .ofuda-warning-text {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes warningPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); text-shadow: 0 0 18px rgba(255, 30, 30, 0.95); }
}

/* シンプルなお札剥離アニメーション（上からペリッと剥がれて下へハラリと落ちて消える） */
.peelable-ofuda.peeling-away {
  pointer-events: none;
  transform-origin: center top;
  animation: simpleOfudaPeel 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes simpleOfudaPeel {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  25% {
    /* 上部がペリッと手前にめくれる */
    transform: perspective(600px) rotateX(-20deg) translateY(4px);
    opacity: 1;
  }
  55% {
    /* 粘着が剥がれ、手前に浮きながらわずかに傾く */
    transform: perspective(600px) rotateX(-28deg) translateY(35px) rotate(-3deg);
    opacity: 0.85;
  }
  100% {
    /* そのまま下へハラリと落ちて消える */
    transform: perspective(600px) rotateX(-32deg) translateY(140px) rotate(-5deg);
    opacity: 0;
    visibility: hidden;
  }
}

/* ========================================================
   サイト最深部（FOOTER）& クライマックス
   ======================================================== */
.deep-footer {
  text-align: center;
  padding: 80px 0 60px;
  border-top: 1px solid #1c1010;
  position: relative;
}

.farewell-text {
  font-family: 'Yuji Syuku', serif;
  font-size: 1.6rem;
  color: #aaa;
  letter-spacing: 0.3em;
  margin-bottom: 25px;
}

.copyright {
  font-size: 0.8rem;
  color: #555;
  letter-spacing: 0.15em;
}

/* ========================================================
   恐怖演出解放モード（body.horror-active）
   ======================================================== */
/* お札剥がれ後：お札スペースを完全消去して「道案内」とフッターの間を詰める */
body.horror-active .ofuda-wrap {
  display: none !important;
}

body.horror-active .deep-footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(230, 0, 0, 0.3);
}

body.horror-active .crt-overlay {
  opacity: 0.7;
}

body.horror-active .vignette-overlay {
  opacity: 1;
}

body.horror-active .haunted-bg {
  opacity: 0.95;
  filter: contrast(1.2);
}

body.horror-active .hero-main-title {
  animation: pulseGlitch 4s infinite alternate;
}

/* ========================================================
   アニメーション keyframes
   ======================================================== */
@keyframes breatheFade {
  0% { opacity: 0.3; }
  100% { opacity: 0.85; }
}

@keyframes pulseGlitch {
  0%, 100% { transform: scale(1); text-shadow: 0 0 15px rgba(230, 0, 0, 0.8); }
  50% { transform: scale(1.02); text-shadow: 0 0 25px rgba(230, 0, 0, 1), -2px 0 red, 2px 0 cyan; }
}

/* ========================================================
   モバイル対応
   ======================================================== */
@media (max-width: 768px) {
  .site-wrapper {
    padding: max(75px, calc(env(safe-area-inset-top, 44px) + 30px)) 16px max(140px, calc(env(safe-area-inset-bottom, 34px) + 80px));
  }
  .story-scroll-box {
    padding: 28px 18px;
  }
  .info-card-grid {
    grid-template-columns: 1fr;
  }
  .ofuda-stage {
    width: 92%;
  }
  .vignette-overlay {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 1), inset 0 0 180px rgba(0, 0, 0, 0.98);
  }
}

/* リアル文字化け（文字数・フォント不変） */
.corrupted-char {
  color: #e60000 !important;
  text-shadow: 0 0 6px rgba(230, 0, 0, 0.85);
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  display: inline;
}

/* ========================================================
   お札剥がし 3段階警告確認ダイアログ
   ======================================================== */
.curse-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: 100vw;
  z-index: 99998;
  background: rgba(4, 2, 2, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.curse-dialog-overlay.active {
  display: flex;
  opacity: 1;
}

.curse-dialog-box {
  max-width: 480px;
  width: 88%;
  background: radial-gradient(circle at center, #180909 0%, #080404 100%);
  border: 2px solid #8b0000;
  border-radius: 8px;
  padding: 32px 24px 28px;
  text-align: center;
  color: #eee;
  font-family: 'Shippori Mincho B1', serif;
  box-shadow: 0 0 35px rgba(180, 0, 0, 0.65), inset 0 0 25px rgba(120, 0, 0, 0.35);
  animation: dialogBoxPulse 2.4s infinite alternate;
}

@keyframes dialogBoxPulse {
  0% { box-shadow: 0 0 25px rgba(180, 0, 0, 0.5), inset 0 0 15px rgba(120, 0, 0, 0.25); }
  100% { box-shadow: 0 0 45px rgba(220, 0, 0, 0.8), inset 0 0 30px rgba(180, 0, 0, 0.45); }
}

.curse-dialog-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px #ff2222);
}

.curse-dialog-title {
  font-family: 'Yuji Syuku', serif;
  font-size: 1.4rem;
  color: #ff3333;
  letter-spacing: 0.25em;
  margin-bottom: 18px;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.curse-dialog-msg {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #f2e8e8;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.curse-dialog-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.curse-dialog-btn {
  cursor: pointer;
  padding: 12px 30px;
  font-size: 1rem;
  font-family: 'Shippori Mincho B1', serif;
  border-radius: 4px;
  transition: all 0.2s ease;
  letter-spacing: 0.15em;
  font-weight: bold;
}

.curse-dialog-btn.btn-confirm {
  background: #660000;
  color: #fff;
  border: 1px solid #ff2222;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}

.curse-dialog-btn.btn-confirm:hover {
  background: #990000;
  box-shadow: 0 0 22px rgba(255, 0, 0, 0.9);
  transform: scale(1.04);
}

.curse-dialog-btn.btn-cancel {
  background: #18181c;
  color: #aaa;
  border: 1px solid #444;
}

.curse-dialog-btn.btn-cancel:hover {
  background: #2a2a32;
  color: #fff;
  transform: scale(1.04);
}

/* ========================================================
   初回訪問時 音響確認モーダル
   ======================================================== */
.sound-init-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: 100vw;
  z-index: 100000;
  background: rgba(3, 2, 2, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.sound-init-dialog-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.sound-init-dialog-box {
  max-width: 480px;
  width: 88%;
  background: radial-gradient(circle at center, #1a0a0a 0%, #080303 100%);
  border: 2px solid #8b1111;
  border-radius: 8px;
  padding: 34px 26px 30px;
  text-align: center;
  color: #eee;
  font-family: 'Shippori Mincho B1', serif;
  box-shadow: 0 0 35px rgba(180, 10, 10, 0.65), inset 0 0 25px rgba(120, 5, 5, 0.35);
  animation: soundDialogPulse 2.8s infinite alternate;
}

@keyframes soundDialogPulse {
  0% { box-shadow: 0 0 25px rgba(180, 10, 10, 0.5), inset 0 0 15px rgba(120, 5, 5, 0.25); }
  100% { box-shadow: 0 0 45px rgba(220, 20, 20, 0.85), inset 0 0 30px rgba(180, 10, 10, 0.5); }
}

.sound-init-dialog-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px #ff2222);
}

.sound-init-dialog-title {
  font-family: 'Yuji Syuku', serif;
  font-size: 1.45rem;
  color: #ff3333;
  letter-spacing: 0.25em;
  margin-bottom: 18px;
  text-shadow: 0 0 12px rgba(255, 0, 0, 0.8);
}

.sound-init-dialog-msg {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #ede2e2;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}

.sound-init-dialog-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.sound-init-btn {
  cursor: pointer;
  padding: 12px 28px;
  font-family: 'Shippori Mincho B1', serif;
  border-radius: 6px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.sound-init-btn .btn-sound-main {
  font-size: 1.35rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

.sound-init-btn .btn-sound-sub {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  margin-top: 4px;
  opacity: 0.85;
}

.sound-init-btn.btn-sound-on {
  background: linear-gradient(180deg, #660505 0%, #3d0000 100%);
  color: #fff;
  border: 1px solid #ff2222;
  box-shadow: 0 0 14px rgba(255, 0, 0, 0.45);
}

.sound-init-btn.btn-sound-on:hover {
  background: linear-gradient(180deg, #8a0808 0%, #540000 100%);
  box-shadow: 0 0 25px rgba(255, 30, 30, 0.95);
  transform: scale(1.05);
}

.sound-init-btn.btn-sound-off {
  background: linear-gradient(180deg, #1c1a1a 0%, #100f0f 100%);
  color: #aaa;
  border: 1px solid #444;
}

.sound-init-btn.btn-sound-off:hover {
  background: linear-gradient(180deg, #2a2626 0%, #1a1818 100%);
  color: #ddd;
  border-color: #666;
  transform: scale(1.04);
}

