:root {
  --content-width: 800px;
  --page-padding: clamp(16px, 5vw, 40px);
  --wine: #350000;
  --wine-light: #640707;
  --red: #b20812;
  --gold: #f7c948;
  --gold-deep: #b47a09;
  --cream: #fff7e4;
  --ink: #17100d;
  --white: #fff;
  --line: rgba(247, 201, 72, 0.55);
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --duration-fast: 180ms;
  --duration-normal: 520ms;
}

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

html {
  scroll-behavior: smooth;
  background: #1b0502;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 132, 0, 0.22), transparent 24rem),
    radial-gradient(circle at 85% 50%, rgba(187, 0, 0, 0.22), transparent 28rem),
    #170402;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.8;
  font-feature-settings: "palt" 1;
  overflow-wrap: anywhere;
}

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: rgba(247, 201, 72, 0.24);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #47c7ff;
  outline-offset: 4px;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-shell {
  position: relative;
  width: 100%;
  max-width: var(--content-width);
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
  background: var(--wine);
  box-shadow: 0 0 42px rgba(255, 119, 0, 0.18);
}

.site-shell::before,
.site-shell::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 10;
  width: 5px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #6e2a00, #ffd35e, #6e2a00);
}

.site-shell::before { left: 0; }
.site-shell::after { right: 0; transform: scaleX(-1); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 710px;
  padding: clamp(26px, 7vw, 56px) var(--page-padding) 52px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(27, 0, 0, 0.1), rgba(27, 0, 0, 0.8)),
    repeating-radial-gradient(circle at 50% 33%, rgba(255, 198, 54, 0.35) 0 2px, transparent 3px 24px),
    radial-gradient(circle at 50% 32%, #ad1a08 0, #5e0803 42%, #250000 78%);
  border-bottom: 4px solid var(--gold-deep);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  width: 390px;
  height: 390px;
  border: 2px solid rgba(255, 207, 92, 0.24);
  content: "";
  transform: rotate(45deg);
}

.hero::before { top: -260px; left: -160px; }
.hero::after { right: -180px; bottom: -260px; }

.hero__cms-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero__cms-media[hidden] { display: none; }

.hero__cms-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(118deg, transparent 32%, rgba(255,255,255,0.13) 48%, transparent 58%);
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.hero__logo {
  width: min(82%, 620px);
  margin: 0 auto clamp(22px, 6vw, 48px);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
}

.hero__eyebrow,
.section__kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: clamp(0.875rem, 0.82rem + 0.2vw, 1rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: clamp(0.1em, 0.6vw, 0.18em);
}

.hero__title {
  margin: 0;
  color: #fff8d5;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 7.6vw, 4.25rem);
  line-height: 1.32;
  text-shadow: 0 3px 0 #5c0000, 0 8px 22px #000;
}

.hero__lead {
  margin: var(--space-5) auto 0;
  font-weight: 700;
  line-height: 1.8;
}

.hero__date {
  display: grid;
  gap: 2px;
  width: min(100%, 580px);
  margin: var(--space-5) auto;
  padding: var(--space-3) var(--space-4);
  color: var(--ink);
  background: linear-gradient(130deg, #fff8dc, #f1c257);
  border: 2px solid #fff0a0;
  box-shadow: var(--shadow);
}

.hero__date span { font-weight: 800; }
.hero__date strong { color: var(--red); font-size: clamp(1.65rem, 7vw, 2.8rem); line-height: 1.2; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 480px);
  min-height: 56px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.45;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  transition: transform var(--duration-fast) ease, filter var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.button::after {
  margin-left: 0.65em;
  content: "→";
  transition: transform var(--duration-fast) ease;
}

@media (hover: hover) {
  .button:hover {
    filter: brightness(1.1);
    box-shadow: 0 11px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
  }

  .button:hover::after { transform: translateX(4px); }
}

.button:active { transform: translateY(2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.32); }
.button--gold { color: #2b1100; background: linear-gradient(#ffe792, #e9a40c); border-color: #fff3b9; }
.button--red { color: #fff; background: linear-gradient(#d42424, #880208); border-color: #f3be50; }

.section {
  position: relative;
  padding: clamp(var(--space-7), 9vw, 76px) var(--page-padding);
  text-align: center;
}

.section--dark {
  background:
    radial-gradient(circle at top, rgba(183, 27, 10, 0.45), transparent 25rem),
    linear-gradient(#2b0000, #160000);
}

.section--dark + .section--dark { border-top: 1px solid var(--line); }

.section--flame {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 164, 28, 0.32), transparent 35%),
    linear-gradient(145deg, #6f0a00, #260000 55%, #6a0800);
  border-block: 3px solid var(--gold-deep);
}

.section--cream { color: var(--ink); background: var(--cream); }
.section--links { padding-block: 34px; background: #1c0000; }

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: #fff3c7;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  line-height: 1.38;
}

.section-title::before,
.section-title::after {
  flex: 1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-title::after { transform: scaleX(-1); }
.section-title--dark { color: #4d0500; }
.section__kicker--red { color: var(--red); }

.media-frame {
  border: clamp(4px, 1.4vw, 9px) solid #c48110;
  box-shadow: var(--shadow), inset 0 0 0 2px #fff2a2;
}

.media-frame--light { border-color: #176b56; box-shadow: 0 12px 30px rgba(58, 31, 0, 0.2); }

.announcement-copy,
.feature-copy {
  margin-top: var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
}

.announcement-copy p,
.feature-copy p { margin: 4px 0; }
.announcement-copy__date { color: var(--gold); font-size: clamp(1.1rem, 4vw, 1.4rem); font-weight: 800; }
.feature-copy strong { color: var(--gold); font-size: clamp(1.15rem, 5vw, 1.6rem); }
.feature-copy { margin-top: 0; margin-bottom: var(--space-5); }

[data-cms-multiline="true"] { white-space: pre-line; }
[data-cms-key="information.phone_link"] { color: inherit; font-weight: 700; }

.cms-video {
  width: 100%;
  margin-top: var(--space-5);
  overflow: hidden;
  background: #100;
  border: clamp(4px, 1.4vw, 9px) solid #c48110;
  box-shadow: var(--shadow);
}

.cms-video[hidden] { display: none; }
.cms-video video,
.cms-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; object-fit: contain; }

.event-list { display: grid; gap: var(--space-5); }
.event-card { overflow: hidden; margin: 0; background: #160000; border: 2px solid #d59117; box-shadow: var(--shadow); }
.event-card__body { padding: 16px; }
.event-card__body h3 { margin: 0; color: var(--gold); font-size: 1.25rem; }
.event-card__body p { margin: 4px 0 0; }
.event-card__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--space-2); color: var(--gold); font-weight: 800; }
.event-card__link[hidden] { display: none; }

.time-grid { display: grid; gap: 10px; margin: 24px 0 0; }
.time-grid div { display: grid; grid-template-columns: 42% 1fr; align-items: center; min-height: 72px; border: 2px solid #176b56; background: #fff; }
.time-grid dt { align-self: stretch; display: grid; place-items: center; padding: 10px; color: #fff; background: #176b56; font-weight: 800; }
.time-grid dd { margin: 0; padding: 10px; color: var(--red); font-size: clamp(1.35rem, 6vw, 2rem); font-weight: 900; }

.information-table { width: 100%; border-collapse: collapse; text-align: left; background: #fff7e8; color: var(--ink); box-shadow: var(--shadow); }
.information-table th,
.information-table td { padding: 14px 12px; border: 1px solid #d7b76e; vertical-align: top; overflow-wrap: anywhere; }
.information-table th { width: 31%; color: #fff; background: #6b0905; }

.map-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 24px;
  overflow: hidden;
  color: #453c30;
  background:
    linear-gradient(28deg, transparent 46%, #d7d1c5 47% 51%, transparent 52%),
    linear-gradient(120deg, transparent 40%, #cbc6b8 41% 44%, transparent 45%),
    #eeeae0;
  border: 2px solid #cabd9d;
}

.map-placeholder span { font-size: clamp(3rem, 15vw, 7rem); font-weight: 900; opacity: 0.12; }
.map-placeholder strong { padding: 5px 12px; background: rgba(255,255,255,0.86); }
.access-copy { margin: 20px 0; }
.access-copy p { margin: 3px 0; }

.link-grid { display: grid; gap: 12px; }
.link-grid button,
.link-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 18px;
  color: #ffe9a4;
  background: linear-gradient(#620900, #2b0000);
  border: 2px solid #ce8e12;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  transition: transform var(--duration-fast) ease, filter var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

@media (hover: hover) {
  .link-grid :is(button, a):not([data-placeholder="true"]):hover {
    filter: brightness(1.14);
    transform: translateY(-2px);
  }
}

button[data-placeholder="true"] {
  cursor: not-allowed;
  filter: saturate(0.72);
  opacity: 0.78;
}

button[data-placeholder="true"]::after {
  margin-left: 0.55em;
  content: "準備中";
  font-size: 0.75em;
  font-weight: 700;
  white-space: nowrap;
}

.button[data-placeholder="true"]::after { content: "⌛"; }

.footer {
  padding: 38px var(--page-padding) 42px;
  color: #e8d6bb;
  text-align: center;
  background: #100000;
  border-top: 3px solid var(--gold-deep);
}

.footer img { width: min(75%, 440px); margin: 0 auto 22px; }
.footer p { margin: var(--space-1) 0; font-size: 1rem; line-height: 1.75; }
.footer small { display: block; margin-top: 24px; }
.footer__policy { min-height: 44px; margin-top: 14px; color: #e8d6bb; background: transparent; border: 0; text-decoration: underline; cursor: pointer; }

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: 3px;
  pointer-events: none;
  background: rgba(53, 0, 0, 0.35);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.floating-cta {
  position: fixed;
  right: max(var(--space-3), env(safe-area-inset-right));
  bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  left: max(var(--space-3), env(safe-area-inset-left));
  z-index: 900;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 240ms ease, transform 240ms ease;
}

.floating-cta.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.floating-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 480px);
  min-height: 52px;
  padding: var(--space-3) var(--space-5);
  color: #2b1100;
  background: linear-gradient(#ffe792, #e9a40c);
  border: 2px solid #fff3b9;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  transition: transform var(--duration-fast) ease, filter var(--duration-fast) ease;
}

.floating-cta__link::after { margin-left: 0.65em; content: "→"; }
.floating-cta__link:active { transform: translateY(2px); }

.reveal-target {
  opacity: 1;
  transform: translate3d(0, 18px, 0);
  transition: opacity var(--duration-normal) ease-out, transform var(--duration-normal) ease-out;
}

.reveal-target.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 600px) {
  .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .time-grid div { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
}

@media (min-width: 768px) {
  .site-shell { margin-block: 24px; border-radius: 4px; }
  .hero { min-height: 760px; }
  .section { padding-inline: 54px; }

  .floating-cta {
    right: max(var(--space-5), calc((100vw - var(--content-width)) / 2 + var(--space-5)));
    bottom: var(--space-5);
    left: auto;
  }

  .floating-cta__link { width: 240px; }
}

@media (max-width: 430px) {
  .hero__glow { transform: none; will-change: auto; }
  .floating-cta__link { min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }

  .hero__glow,
  .reveal-target,
  .reveal-target.is-revealed {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}
