:root {
  --navy: #14204a;
  --navy-deep: #0b1230;
  --red: #a8322d;
  --ink: #1f2433;
  --muted: #5f6678;
  --line: #e3e5ec;
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --gold: #c9a45c;
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --serif-ja: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-variant-numeric: lining-nums;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  background: rgba(11, 18, 48, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(11, 18, 48, 0.94); }
.brand {
  font-family: var(--serif-en); font-style: italic; font-weight: 600;
  font-size: 1.7rem; color: #fff; text-decoration: none; letter-spacing: .02em;
}
.menu-btn {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 10px;
}
.menu-btn span { display: block; height: 2px; background: #fff; transition: transform .3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--navy-deep);
  display: flex; flex-direction: column; padding: 8px 16px 20px;
  transform: translateY(-120%); transition: transform .35s ease;
  z-index: -1;
}
.nav.open { transform: none; }
.nav a {
  color: #fff; text-decoration: none; padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem;
}
.nav a.nav-cta { border: 0; margin-top: 12px; text-align: center; background: var(--red); border-radius: 999px; }

@media (min-width: 960px) {
  .menu-btn { display: none; }
  .site-header { padding: 0 32px; }
  .nav {
    position: static; transform: none; background: none;
    flex-direction: row; align-items: center; gap: 4px; padding: 0; z-index: auto;
  }
  .nav a { border: 0; padding: 8px 12px; font-size: .9rem; opacity: .9; }
  .nav a:hover { opacity: 1; }
  .nav a.nav-cta { margin: 0 0 0 8px; padding: 8px 20px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; text-decoration: none; letter-spacing: .05em;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(168,50,45,.35); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
/* スマホ：スライド（横長）を上、テキストを下に配置 */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; padding-top: var(--header-h); }
.hero-slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-slides::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,18,48,0) 55%, rgba(11,18,48,1) 100%);
}
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.4s ease, transform 7s ease-out;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-dots {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dots button {
  width: 22px; height: 3px; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(255,255,255,.4); transition: background .3s, width .3s;
}
.hero-dots button[aria-selected="true"] { background: #fff; width: 36px; }
/* 見た目は細い線だが、タップ範囲は広めに確保 */
.hero-dots button { position: relative; }
.hero-dots button::before { content: ""; position: absolute; inset: -12px -4px; }
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  padding: 8px 16px 56px; text-align: center;
  max-width: 900px; margin: 0 auto;
}
/* タブレット以上：全面背景 */
@media (min-width: 768px) {
  .hero { min-height: 100svh; display: flex; align-items: flex-end; padding-top: 0; }
  .hero-slides { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-slides::after {
    background: linear-gradient(180deg, rgba(11,18,48,.15) 0%, rgba(11,18,48,.2) 40%, rgba(11,18,48,.95) 88%);
  }
  .hero-slide { object-position: 50% 30%; }
  .hero-dots { bottom: 20px; }
  .hero-inner { padding: 120px 32px 72px; }
}
.hero-kicker { font-size: .7rem; letter-spacing: .3em; opacity: .8; margin: 1em 0 12px; }
.hero-title {
  font-family: var(--serif-en); font-style: italic; font-weight: 500;
  font-size: clamp(4rem, 17vw, 6.5rem); line-height: 1; margin: 0;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-sub { font-family: var(--serif-ja); font-weight: 500; font-size: clamp(1rem, 3.8vw, 1.35rem); letter-spacing: .12em; margin: 8px 0 20px; line-height: 1.6; }
.hero-date { font-family: var(--serif-en); margin: 0; line-height: 1; font-variant-numeric: lining-nums; }
.hero-date .num { font-size: clamp(3.4rem, 14vw, 5.5rem); font-weight: 600; color: #fff; }
.hero-date .dow { font-style: italic; font-size: clamp(1.6rem, 6vw, 2.4rem); color: var(--gold); margin-left: 6px; }
.hero-meta { font-size: .95rem; opacity: .92; margin: 12px 0 28px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.badge {
  display: inline-block; border: 1px solid rgba(255,255,255,.6); border-radius: 999px;
  padding: 10px 18px; font-weight: 700; letter-spacing: .15em; font-size: .9rem;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-deep); color: #fff; }
.section-dark .section-title, .section-dark a { color: #fff; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 760px; }
@media (min-width: 768px) { .container { padding: 0 32px; } .section { padding: 110px 0; } }

.eyebrow {
  font-family: var(--serif-en); font-style: italic; color: var(--red);
  font-size: 1.2rem; margin: 0; letter-spacing: .04em;
}
.section-dark .eyebrow { color: var(--gold); }
.section-title {
  font-family: var(--serif-ja); font-weight: 700; color: var(--navy);
  font-size: clamp(1.5rem, 5vw, 2.1rem); margin: 0 0 32px; letter-spacing: .08em;
}
.section-title::after {
  content: ""; display: block; width: 40px; height: 2px; background: var(--red); margin-top: 14px;
}
.section-dark .section-title::after { background: var(--gold); }
.muted { color: var(--muted); font-size: .9em; }
.lead { margin: 0 0 28px; }

/* ---------- Info ---------- */
.info-list { margin: 0; border-top: 1px solid var(--line); }
.info-list > div {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.info-list dt { font-weight: 700; color: var(--navy); font-size: .85rem; letter-spacing: .1em; }
.info-list dd { margin: 0; }
@media (min-width: 640px) {
  .info-list > div { grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 8px; }
  .info-list dt { font-size: .95rem; }
}

/* ---------- About ---------- */
.about { display: grid; gap: 36px; align-items: center; }
.about-text p { margin: 0 0 1em; }
.about-photo { margin: 0; }
.about-photo img { border-radius: 6px; box-shadow: 0 20px 50px rgba(20,32,74,.18); width: 100%; height: auto; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

/* ---------- Trailer ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; background: #000;
  border-radius: 6px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.video iframe, .video-play, .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { padding: 0; cursor: pointer; background: #000; }
.video-play img { object-fit: cover; opacity: .85; transition: opacity .3s; }
.video-play:hover img { opacity: 1; }
.play-icon {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(168,50,45,.92); box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.play-icon::after {
  content: ""; position: absolute; left: 31px; top: 24px;
  border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff;
}
.video-note { text-align: right; margin: 14px 0 0; font-size: .9rem; }

/* ---------- Gallery (carousel) ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track a {
  flex: 0 0 82%; scroll-snap-align: start; display: block; overflow: hidden;
  border-radius: 6px; aspect-ratio: 3 / 2; background: var(--bg-alt);
}
.carousel-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carousel-track img.pos-top { object-position: 50% 20%; }
.carousel-track a:hover img { transform: scale(1.04); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.8rem; line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
@media (min-width: 640px) { .carousel-track a { flex-basis: calc((100% - 12px) / 2); } }
@media (min-width: 960px) {
  .carousel-track a { flex-basis: calc((100% - 24px) / 3); }
  .carousel-btn.prev { left: -22px; }
  .carousel-btn.next { right: -22px; }
}

/* ---------- Reserve ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.steps span {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: .85rem; font-weight: 700;
}
.reserve-form, .form-done {
  background: #fff; border-radius: 8px; padding: 28px 20px;
  box-shadow: 0 10px 40px rgba(20,32,74,.08);
}
@media (min-width: 640px) { .reserve-form, .form-done { padding: 40px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.field em {
  font-style: normal; font-size: .7rem; color: #fff; background: var(--red);
  border-radius: 3px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px;
}
.field input, .field select {
  width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid #cfd3de; border-radius: 6px; background: #fff;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314204a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,32,74,.12); }
.field.invalid input, .field.invalid select { border-color: var(--red); background-color: #fdf4f3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 4px 0 20px; overflow-wrap: anywhere; }
.form-error {
  color: var(--red); background: #fdf4f3; border-left: 3px solid var(--red);
  padding: 10px 14px; font-size: .9rem; margin: 0 0 20px;
}
.reserve-form .btn { width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.05rem; }
.reserve-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form-done { text-align: center; outline: none; }
.form-done p { margin: 0 0 12px; }
.done-title { font-family: var(--serif-ja); font-weight: 700; color: var(--navy); font-size: 1.3rem; }

/* ---------- Access ---------- */
.access { display: grid; gap: 28px; }
.map { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; }
.access-text h3 { font-family: var(--serif-ja); color: var(--navy); font-size: 1.3rem; margin: 0; }
.access-text p { margin: 0 0 6px; }
.walk { font-size: 1.15rem; color: var(--red); margin-top: 12px !important; }
.routes { list-style: none; padding: 0; margin: 12px 0 24px; }
.access-links { display: flex; flex-wrap: wrap; gap: 10px; }
.access-map { margin: 40px auto 0; max-width: 686px; }
.access-map img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.access-map figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.routes li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.line { font-size: .75rem; font-weight: 700; color: #fff; padding: 2px 10px; border-radius: 4px; }
.line.seibu { background: #1d6fc4; }
.line.oedo { background: #b6007a; }
@media (min-width: 860px) { .access { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; } }

/* ---------- FAQ ---------- */
details { background: #fff; border-radius: 6px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(20,32,74,.05); }
summary {
  cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 700; color: var(--navy); position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q."; font-family: var(--serif-en); color: var(--red); font-size: 1.2rem; margin-right: 8px; }
summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--muted); transition: transform .2s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 20px 20px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.8); text-align: center;
  padding: 56px 16px 110px; font-size: .88rem;
}
.site-footer p { margin: 4px 0; }
.footer-title { font-family: var(--serif-en); font-style: italic; font-size: 2.2rem; color: #fff; }
.contact { margin-top: 20px !important; font-size: .78rem; opacity: .75; }
.contact a { color: inherit; }
.copy { margin-top: 8px !important; opacity: .6; font-size: .78rem; }
@media (min-width: 960px) { .site-footer { padding-bottom: 56px; } }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 40; text-align: center; padding: 15px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .08em;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform: translateY(150%); transition: transform .35s ease;
}
.sticky-cta.show { transform: none; }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,8,20,.94);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 4px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2.6rem; width: 56px; height: 56px; line-height: 1;
}
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- Seat reservation page ---------- */
.header-back { color: #fff; text-decoration: none; font-size: .88rem; opacity: .9; }
.seat-section { padding-top: calc(var(--header-h) + 40px); min-height: 70vh; }
.seat-event { margin: -16px 0 24px; color: var(--muted); font-size: .92rem; }
.seat-status { padding: 14px 16px; border-radius: 6px; background: var(--bg-alt); margin: 0 0 20px; }
.seat-status[data-state="success"] { background: #eef6ee; color: #1f5d2c; border-left: 3px solid #3b8a4b; font-weight: 700; }
.seat-status[data-state="error"] { background: #fdf4f3; color: var(--red); border-left: 3px solid var(--red); }
.seat-greeting { margin: 0 0 16px; }
.seat-greeting.has-seat { font-weight: 700; color: var(--navy); }
.seat-legend { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; }
.seat-legend li { display: flex; align-items: center; gap: 6px; }
.seat-legend .seat { width: 18px; height: 18px; display: inline-block; }
.seat-hint { font-size: .78rem; color: var(--muted); margin: 0 0 8px; }
@media (min-width: 760px) { .seat-hint { display: none; } }

.seat-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -16px;
  scrollbar-width: thin;
}
.seat-theater {
  --s: 24px; --lab: 18px; --gap: 2px;
  width: max-content; margin: 0 auto; padding: 20px 16px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
@media (min-width: 960px) { .seat-theater { --s: 32px; --lab: 28px; --gap: 3px; padding: 28px 28px 20px; } }
.screen {
  margin: 0 auto 28px; width: 80%; text-align: center; padding-top: 10px;
  border-top: 6px solid var(--navy); border-radius: 50% 50% 0 0 / 12px 12px 0 0;
  font-family: var(--serif-en); letter-spacing: .5em; color: var(--navy); font-weight: 600;
}
.seat-map {
  display: grid; gap: 5px var(--gap);
  grid-template-columns: repeat(4, var(--s)) var(--lab) repeat(13, var(--s)) var(--lab) repeat(4, var(--s));
  grid-auto-rows: var(--s);
}
.row-label { display: grid; place-items: center; font-weight: 700; color: var(--muted); font-size: .8rem; }
/* スマホで横スクロールしても列名が見えるよう、端に固定 */
.row-label.is-left { position: sticky; left: 0; z-index: 1; pointer-events: none; }
@media (max-width: 959px) {
  .row-label.is-left {
    justify-self: start; width: 18px; background: rgba(20,32,74,.85); color: #fff;
    border-radius: 0 4px 4px 0; font-size: .72rem;
  }
}
.seat {
  width: var(--s); height: var(--s); padding: 0; cursor: pointer;
  font: 600 .66rem/1 var(--sans); color: var(--navy);
  background: #fff; border: 1.5px solid #9aa1b5; border-radius: 4px 4px 9px 9px;
  transition: background .15s, transform .15s;
}
.seat-left { transform: translateY(var(--dy)) rotate(10deg); }
.seat-right { transform: translateY(var(--dy)) rotate(-10deg); }
@media (hover: hover) { .seat:not(:disabled):hover { background: #e9ecf6; border-color: var(--navy); } }
.seat.is-selected { background: var(--red); border-color: var(--red); color: #fff; }
.seat.is-mine { background: var(--gold); border-color: #a8863f; color: #fff; cursor: default; }
.seat.is-taken { background: #d5d8e0; border-color: #d5d8e0; color: #9aa0ae; cursor: not-allowed; }
.seat.is-blocked { background: #3a3f52; border-color: #3a3f52; color: #8b90a0; cursor: not-allowed; }
.seat:focus-visible { outline: 3px solid rgba(20,32,74,.4); outline-offset: 2px; }
.seat-exit { font-size: .75rem; color: var(--muted); margin: 16px 0 0; }

.seat-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: 0 -8px 30px rgba(20,32,74,.15);
}
.seat-bar[hidden] { display: none; }
.seat-bar p { margin: 0; font-size: .9rem; }
.seat-bar strong { font-size: 1.1rem; color: var(--red); }
.seat-bar .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 0 22px; flex: none; }
.seat-bar .btn:disabled { opacity: .6; cursor: wait; }
@media (min-width: 760px) { .seat-bar { justify-content: center; gap: 32px; } }
.seat-page .site-footer { padding-bottom: 56px; }
.seat-page.bar-open .site-footer { padding-bottom: 120px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: opacity .01s; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
