/* 劇団 灯台座 — 劇場・舞台公演
   深紅のビロードと金。ディドー体の欧文と明朝で、開演前の高揚感を */
:root {
  --night: #1A0A0C;
  --night-2: #241013;
  --velvet: #3A1216;
  --crimson: #7A1420;
  --gold: #C9A45C;
  --gold-2: #E3C68C;
  --ivory: #F3E9DA;
  --muted: #B9A994;
  --line: rgba(201, 164, 92, .3);
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --en: "Bodoni Moda", "Shippori Mincho", serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ivory); font-family: var(--serif); font-size: 15.5px; line-height: 2; letter-spacing: .06em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 8px 14px; background: var(--ivory); color: var(--night); }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 130px) 0; }
.head { margin-bottom: clamp(30px, 4vw, 50px); }
.head--center { text-align: center; }
.label { font-family: var(--en); font-style: italic; font-size: 16px; letter-spacing: .3em; color: var(--gold); }
.h2 { font-weight: 600; font-size: clamp(27px, 3.4vw, 38px); line-height: 1.5; margin-top: 8px; letter-spacing: .14em; }
.note { margin-top: 12px; color: var(--muted); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 32px; border: 1px solid var(--gold); text-decoration: none; cursor: pointer; font-size: 15px; letter-spacing: .2em; transition: background .3s, color .3s; }
.btn--gold { background: var(--gold); color: var(--night); font-weight: 600; }
.btn--gold:hover { background: var(--gold-2); }
.btn--line { background: transparent; color: var(--gold-2); }
.btn--line:hover { background: rgba(201, 164, 92, .15); }
.btn--full { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; z-index: 60; inset: 0 0 auto; display: flex; align-items: center; gap: 26px; height: 70px; padding: 0 clamp(16px, 3vw, 40px); background: linear-gradient(rgba(26, 10, 12, .92), rgba(26, 10, 12, .6)); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .2em; line-height: 1.3; }
.logo svg { width: 38px; height: 38px; }
.logo small { display: block; font-family: var(--en); font-weight: 400; font-size: 8.5px; letter-spacing: .26em; color: var(--gold); }
.beam { transform-origin: 26px 10px; animation: beam 4s ease-in-out infinite; }
@keyframes beam { 0%, 100% { opacity: .2; } 50% { opacity: .9; } }
.gnav { display: flex; gap: 26px; margin-left: auto; }
.gnav a { text-decoration: none; font-size: 14px; letter-spacing: .2em; color: var(--muted); }
.gnav a:hover { color: var(--gold-2); }
.h-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; background: var(--crimson); border: 1px solid var(--gold); text-decoration: none; font-size: 13.5px; letter-spacing: .2em; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; text-align: center; }
.hero-media { position: absolute; inset: 0; background: #000 url("video/hero.webp") center / cover; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(26, 10, 12, .2) 20%, rgba(26, 10, 12, .9) 80%); }
.video-toggle { position: absolute; z-index: 3; right: clamp(16px, 3vw, 40px); bottom: 70px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(243, 233, 218, .5); background: rgba(26, 10, 12, .5); cursor: pointer; display: grid; place-items: center; }
.video-toggle .vt-pause { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.video-toggle.is-paused .vt-pause { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.hero-text { position: relative; z-index: 2; padding: 110px 20px 120px; }
.hero-season { font-family: var(--en); font-size: 14px; letter-spacing: .4em; color: var(--gold-2); display: inline-flex; gap: 14px; align-items: center; }
.hero-season em { font-style: normal; }
.hero-season span { font-style: italic; border: 1px solid var(--gold); padding: 0 12px; letter-spacing: .3em; }
.hero h1 { font-weight: 700; font-size: clamp(46px, 8vw, 104px); line-height: 1.2; letter-spacing: .18em; margin-top: 18px; text-shadow: 0 0 40px rgba(201, 164, 92, .35); }
.ruby { display: block; font-size: 13px; letter-spacing: .6em; font-weight: 500; color: var(--gold); margin-bottom: 6px; }
.hero-copy { font-size: clamp(16px, 2vw, 20px); letter-spacing: .4em; margin-top: 18px; color: var(--ivory); }
.hero-date { margin-top: 18px; font-family: var(--en); font-size: 18px; letter-spacing: .14em; color: var(--gold-2); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.countdown { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 13px; letter-spacing: .2em; color: var(--muted); white-space: nowrap; }
.countdown b { font-family: var(--en); font-size: 26px; color: var(--gold-2); margin: 0 4px; letter-spacing: .04em; }

/* ---------- あらすじ ---------- */
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.story-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 30px 60px -30px #000; }
.story .lead { margin-top: 22px; font-size: 19px; color: var(--gold-2); }
.story p:not(.label):not(.lead) { margin-top: 14px; color: rgba(243, 233, 218, .86); }
.spec { margin-top: 26px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec dt { color: var(--gold); letter-spacing: .2em; }

/* ---------- 出演 ---------- */
.cast { background: linear-gradient(180deg, var(--night), var(--velvet) 50%, var(--night)); }
.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cast-card { text-align: center; }
.cast-card figure { position: relative; overflow: hidden; }
.cast-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85); transition: transform .8s, filter .6s; }
.cast-card:hover img { transform: scale(1.04); filter: none; }
.cast-card figure::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 164, 92, .45); pointer-events: none; }
.cast-role { margin-top: 14px; font-size: 13px; color: var(--gold); letter-spacing: .2em; }
.cast-card h3 { font-weight: 600; font-size: 20px; letter-spacing: .2em; }
.cast-card h3 small { display: block; font-family: var(--en); font-style: italic; font-weight: 400; font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.director { display: flex; gap: 24px; align-items: center; max-width: 760px; margin: 50px auto 0; padding: 24px; border: 1px solid var(--line); background: rgba(26, 10, 12, .6); }
.director img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: center 25%; flex-shrink: 0; border: 2px solid var(--gold); }
.director .role { font-size: 12.5px; color: var(--gold); letter-spacing: .2em; }
.director h3 { font-weight: 600; font-size: 19px; letter-spacing: .2em; }
.director h3 small { font-family: var(--en); font-style: italic; font-weight: 400; font-size: 13px; margin-left: 10px; color: var(--muted); }
.director p:last-child { font-size: 14px; margin-top: 6px; color: rgba(243, 233, 218, .85); }

/* ---------- 日程 ---------- */
.sched { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 880px) { .sched { grid-template-columns: repeat(2, 1fr); } }
.sched button { width: 100%; height: 100%; padding: 14px 10px 12px; border: 1px solid var(--line); background: var(--night-2); cursor: pointer; text-align: center; line-height: 1.5; transition: border-color .2s, background .2s; }
.sched button:hover:not(:disabled) { border-color: var(--gold); }
.sched .d { display: block; font-family: var(--en); font-size: 24px; color: var(--ivory); letter-spacing: .04em; }
.sched .w { font-size: 12px; color: var(--muted); }
.sched .t { display: block; font-family: var(--en); font-size: 17px; color: var(--gold-2); }
.sched .st { display: inline-block; margin-top: 6px; font-size: 11.5px; padding: 0 12px; border-radius: 999px; }
.sched .st.ok { background: rgba(120, 180, 120, .2); color: #A9DDA9; }
.sched .st.few { background: rgba(201, 164, 92, .25); color: var(--gold-2); }
.sched .st.sold { background: rgba(255, 255, 255, .08); color: var(--muted); }
.sched .tag { display: block; font-size: 11px; color: var(--crimson); background: var(--gold); margin: 6px auto 0; width: fit-content; padding: 0 10px; }
.sched button[aria-checked="true"] { border-color: var(--gold); background: var(--crimson); }
.sched button:disabled { opacity: .45; cursor: default; }
.legend { display: flex; justify-content: center; gap: 24px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.lg-ok { background: #A9DDA9; } .lg-few { background: var(--gold-2); } .lg-sold { background: #6E5F5A; }

/* ---------- 座席 ---------- */
.seats { background: var(--night-2); }
.seats-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.map-box { min-width: 0; border: 1px solid var(--line); padding: clamp(14px, 2.5vw, 28px); background: var(--night); }
.map-title { text-align: center; color: var(--gold-2); font-size: 15px; }
.stage { margin: 14px auto 22px; width: 70%; text-align: center; font-family: var(--en); letter-spacing: .6em; font-size: 13px; padding: 10px 0; color: var(--night); background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.map-scroll { overflow-x: auto; }
.map { display: grid; gap: 5px; min-width: 520px; }
.map-hint { display: none; margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.row { display: grid; grid-template-columns: 22px repeat(var(--n), 1fr) 22px; gap: 4px; align-items: center; }
.row .rl { font-family: var(--en); font-size: 12px; color: var(--muted); text-align: center; }
.row .aisle { visibility: hidden; }
.seat { aspect-ratio: 1; min-width: 0; border-radius: 6px 6px 3px 3px; border: 0; cursor: pointer; padding: 0; transition: transform .15s, background .2s; }
.seat.s { background: #9A2433; }
.seat.a { background: #5E3A40; }
.seat:hover:not(:disabled) { transform: translateY(-2px); background: var(--gold-2); }
.seat:disabled { background: #2E2224; cursor: default; }
.seat[aria-pressed="true"] { background: var(--gold); box-shadow: 0 0 0 2px var(--ivory); }
.map-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.map-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px 4px 2px 2px; margin-right: 6px; vertical-align: -2px; }
.map-legend .s { background: #9A2433; } .map-legend .a { background: #5E3A40; } .map-legend .taken { background: #2E2224; border: 1px solid #4A3A3C; } .map-legend .mine { background: var(--gold); }
.order { border: 1px solid var(--gold); padding: clamp(18px, 2.5vw, 28px); background: var(--night); position: sticky; top: 90px; }
.order-title { font-weight: 600; font-size: 18px; letter-spacing: .2em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.picked { margin-top: 12px; display: grid; gap: 6px; }
.picked li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 8px 12px; background: var(--night-2); }
.picked li b { font-family: var(--en); color: var(--gold-2); }
.picked button { border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: 12px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 10px; }
.tk-type { margin-top: 12px; }
.tk-type label { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; padding: 6px 0; }
.tk-type select { background: var(--night-2); color: var(--ivory); border: 1px solid var(--line); padding: 6px 10px; font: inherit; font-size: 13.5px; }
.f { display: block; margin-top: 14px; }
.f > span { display: block; font-size: 13px; letter-spacing: .14em; color: var(--gold); margin-bottom: 6px; }
.f input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); background: var(--night-2); font-size: 16px; }
.f input:focus { outline: none; border-color: var(--gold-2); }
.f .is-invalid { border-color: #E07A7A; }
.err { display: block; min-height: 1em; color: #E8908A; font-size: 12.5px; margin-top: 4px; line-height: 1.6; }
.total { margin: 18px 0 4px; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.total b { font-family: var(--en); font-size: 28px; color: var(--gold-2); }
.done { text-align: center; padding: 20px 0; }
.done:focus { outline: none; }
.ticket { display: inline-flex; flex-direction: column; align-items: center; padding: 14px 30px; border: 2px dashed var(--gold); font-family: var(--en); letter-spacing: .3em; color: var(--gold-2); }
.ticket b { font-size: 26px; letter-spacing: .1em; color: var(--ivory); }
.done h3 { font-weight: 600; font-size: 20px; margin-top: 16px; letter-spacing: .14em; }
.done [data-done] { margin-top: 10px; font-size: 14px; }

/* ---------- 舞台写真・劇場 ---------- */
.scene { padding: 0; }
.scene img { width: 100%; height: clamp(320px, 56vw, 640px); object-fit: cover; }
.scene figcaption { text-align: center; font-size: 12.5px; color: var(--muted); padding: 12px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.spec--info div { grid-template-columns: 6em 1fr; }
.info-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.site-footer { text-align: center; padding: 50px 20px 30px; border-top: 1px solid var(--line); background: #120607; }
.f-logo { font-size: 20px; letter-spacing: .4em; color: var(--gold-2); }
.demo-note { max-width: 680px; margin: 18px auto 0; font-size: 12px; color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) { .gnav { display: none; } .h-btn { margin-left: auto; } }
@media (max-width: 880px) {
  .story-grid, .seats-grid, .info-grid { grid-template-columns: minmax(0, 1fr); }
  .cast-grid { grid-template-columns: 1fr 1fr; }
  .order { position: static; }
  .map-hint { display: block; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { height: 62px; gap: 10px; }
  .logo { font-size: 15px; letter-spacing: .12em; }
  .logo small { display: none; }
  .hero h1 { letter-spacing: .08em; }
  .hero-copy { letter-spacing: .2em; }
  .cast-grid { gap: 12px; }
  .cast-card h3 { font-size: 16px; letter-spacing: .1em; }
  .director { flex-direction: column; text-align: center; }
  .sched { grid-template-columns: 1fr 1fr; }
  .countdown { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .cast-card img, .seat { transition: none; }
}

/* ---- 日本語の改行（全サイト共通・2026-10-17 追加）----
   見出し・ボタンは文節で折り返し（Chrome/Edge）、本文は最後の行に1〜2文字だけ残るのを防ぐ。
   :where() で詳細度を0にしているので、各サイトの個別指定が常に優先される */
:where(h1, h2, h3, h4, h5, h6, dt, th, figcaption, button, label, [class*="lead"]) { word-break: auto-phrase; overflow-wrap: anywhere; text-wrap: balance; }
:where(p, li, dd, td, blockquote) { text-wrap: pretty; line-break: strict; }
:where(time, .nw) { white-space: nowrap; }

/* ---- フッターのナビと営業情報（2026-10-17 追加）---- 色と書体はフッターから受け継ぐ */
.pf-fnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 28px; margin: 26px auto 0; padding: 0 16px; }
.pf-fnav a { padding: 6px 0; font-size: 13px; letter-spacing: .12em; text-decoration: none; color: inherit; opacity: .82; transition: opacity .2s; }
.pf-fnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.pf-finfo { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin: 12px auto 0; padding: 0 16px; font-size: 12.5px; line-height: 1.8; opacity: .72; }
.pf-finfo span { white-space: nowrap; }
@media (max-width: 600px) { .pf-fnav { gap: 0 20px; } .pf-finfo { flex-direction: column; align-items: center; gap: 0; } .pf-finfo span { white-space: normal; text-wrap: balance; text-align: center; } }
