:root {
  --f60-bg: #080806;
  --f60-bg-soft: #11100c;
  --f60-panel: #17150f;
  --f60-gold: #ffd21c;
  --f60-cream: #fff4d0;
  --f60-text: #f4ecd5;
  --f60-muted: #c6b995;
  --f60-line: rgba(255, 210, 28, 0.22);
  --f60-wine: #7f2638;
  --f60-max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--f60-text);
  background: var(--f60-bg);
  font-family: "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(calc(100% - 40px), var(--f60-max)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--f60-line);
  background: rgba(8, 8, 6, 0.94);
  backdrop-filter: blur(14px);
}
.header__inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: grid; text-decoration: none; line-height: 1.35; }
.brand small { color: var(--f60-gold); font-weight: 800; }
.brand strong { color: var(--f60-cream); font-size: 0.95rem; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { min-height: 44px; display: grid; place-items: center; border-radius: 4px; padding: 7px 9px; text-align: center; text-decoration: none; font-size: 0.8rem; font-weight: 800; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { background: rgba(255, 210, 28, 0.12); color: var(--f60-gold); outline: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--f60-line); background: transparent; color: var(--f60-cream); }
.menu-toggle-line { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; }

.subpage-hero {
  min-height: 420px;
  display: flex;
  align-items: end;
  border-bottom: 1px solid var(--f60-line);
  background:
    linear-gradient(90deg, rgba(127, 38, 56, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(255, 210, 28, 0.12), transparent 54%),
    var(--f60-bg-soft);
}
.subpage-hero__inner { padding: 96px 0 64px; }
.eyebrow { margin: 0 0 12px; color: var(--f60-gold); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; }
.subpage-hero h1 { max-width: 900px; margin: 0; color: var(--f60-cream); font-size: clamp(2.3rem, 6vw, 5.2rem); line-height: 1.12; }
.subpage-hero__lead { max-width: 760px; margin: 22px 0 0; color: var(--f60-muted); font-size: 1.08rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-facts span { border: 1px solid var(--f60-line); border-radius: 4px; padding: 8px 12px; color: var(--f60-cream); font-weight: 700; }

.festa-band { padding: 76px 0; border-bottom: 1px solid rgba(255, 210, 28, 0.12); }
.festa-band--soft { background: var(--f60-bg-soft); }
.section-head { margin-bottom: 30px; }
.section-head h2 { margin: 0; color: var(--f60-cream); font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.3; }
.section-head p:last-child { max-width: 760px; color: var(--f60-muted); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--f60-line); border-radius: 4px; padding: 11px 18px; font-weight: 800; text-decoration: none; }
.btn--primary { border-color: var(--f60-gold); background: var(--f60-gold); color: #171306; }
.btn--ghost { background: transparent; color: var(--f60-cream); }
.btn:hover, .btn:focus-visible { transform: translateY(-1px); outline: 3px solid rgba(255, 210, 28, 0.25); outline-offset: 2px; }

.program-list { display: grid; gap: 0; border-top: 1px solid var(--f60-line); }
.program-session + .program-session { margin-top: 54px; }
.program-session__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 18px; }
.program-session__head p { width: 100%; margin: 0; color: var(--f60-gold); font-weight: 800; }
.program-session__head h2 { margin: 0 auto 0 0; color: var(--f60-cream); font-size: clamp(1.45rem, 3vw, 2rem); }
.program-session__head time { color: var(--f60-cream); font-family: "Oswald", sans-serif; font-size: 1.4rem; font-weight: 700; }
.program-session__head span, .program-session__head small { color: var(--f60-muted); }
.program-session__head .program-session__venue { margin: 4px 0 0; color: var(--f60-muted); font-weight: 500; line-height: 1.7; }
.program-item { display: grid; grid-template-columns: 110px minmax(180px, 0.7fr) 1.3fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--f60-line); }
.program-item__number { color: var(--f60-gold); font-family: "Oswald", sans-serif; font-size: 1.3rem; font-weight: 700; }
.program-item h2 { margin: 0; color: var(--f60-cream); font-size: 1.35rem; }
.program-item p { margin: 0; color: var(--f60-muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--f60-line); border-radius: 4px; }
.fee-table { width: 100%; min-width: 700px; border-collapse: collapse; background: var(--f60-panel); }
.fee-table th, .fee-table td { border-bottom: 1px solid var(--f60-line); padding: 15px; text-align: left; vertical-align: top; }
.fee-table th { color: var(--f60-cream); background: rgba(255, 210, 28, 0.06); }
.fee-table td { color: var(--f60-muted); }
.support-block + .support-block { margin-top: 54px; }
.support-block h2 { margin: 0 0 10px; color: var(--f60-cream); }
.support-block > p { color: var(--f60-muted); }
.support-purpose {
  margin: 0 0 48px;
  border-block: 1px solid rgba(214, 177, 91, 0.35);
  padding: 30px 0;
}
.support-purpose h2 { margin: 6px 0 16px; color: var(--f60-cream); }
.support-purpose h3 { margin: 24px 0 8px; color: var(--f60-cream); font-size: 1.1rem; }
.support-purpose p { max-width: 900px; color: var(--f60-muted); }
.support-purpose__message { margin-bottom: 0; color: var(--f60-gold) !important; font-size: 1.05rem; }
.support-use-list { max-width: 920px; margin: 12px 0 0; padding-left: 1.8em; color: var(--f60-muted); }
.support-use-list li { padding: 5px 0 5px 4px; line-height: 1.9; }
.support-use-list li::marker { color: var(--f60-gold); font-weight: 800; }
.fee-table th small { color: inherit; font-size: 0.72rem; font-weight: 500; }
.discount-guide { margin: 24px 0; border-block: 1px solid var(--f60-line); padding: 24px 0; }
.discount-guide h3 { margin: 0 0 8px; color: var(--f60-cream); font-size: 1.15rem; }
.discount-guide > p { color: var(--f60-muted); }
.table-wrap--compact { margin-top: 16px; }
.discount-table { min-width: 620px; }
.discount-table td strong { color: var(--f60-gold); }
.discount-example { margin: 14px 0 0; padding-left: 12px; border-left: 3px solid var(--f60-gold); }
.discount-example strong { color: var(--f60-cream); }
.discount-guide__link { margin-bottom: 0; }
.discount-guide__link a { color: var(--f60-gold); font-weight: 700; text-underline-offset: 4px; }
.note { margin-top: 18px; border-left: 4px solid var(--f60-gold); background: rgba(255, 210, 28, 0.06); padding: 14px 16px; color: var(--f60-muted); }

.faq-jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.faq-jump a { min-height: 72px; display: flex; align-items: center; border: 1px solid var(--f60-line); border-radius: 4px; padding: 14px; color: var(--f60-cream); font-weight: 800; text-decoration: none; }
.faq-jump a:hover, .faq-jump a:focus-visible { border-color: var(--f60-gold); background: rgba(255, 210, 28, 0.08); outline: none; }
.faq-group { scroll-margin-top: 96px; }
.faq-group + .faq-group { margin-top: 58px; }
.faq-group h2 { margin: 0 0 16px; color: var(--f60-cream); font-size: 1.6rem; }
.faq-list { border-top: 1px solid var(--f60-line); }
.faq-list details { border-bottom: 1px solid var(--f60-line); }
.faq-list summary { position: relative; min-height: 64px; display: flex; align-items: center; padding: 16px 54px 16px 0; color: var(--f60-cream); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 10px; color: var(--f60-gold); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] summary { color: var(--f60-gold); }
.faq-list details p { max-width: 820px; margin: 0; padding: 0 54px 22px 0; color: var(--f60-muted); }

.chronicle-intro { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.photo-library-filters { position: sticky; top: 74px; z-index: 10; background: rgba(8, 8, 6, 0.94); padding: 14px 0; }
.social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.social-link { border: 1px solid var(--f60-line); border-radius: 4px; padding: 20px; text-decoration: none; }
.social-link strong { display: block; color: var(--f60-cream); }
.social-link span { color: var(--f60-muted); }

.subpage-footer { padding: 34px 0; color: var(--f60-muted); font-size: 0.85rem; }
.top-button { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border: 1px solid var(--f60-line); border-radius: 50%; background: var(--f60-panel); color: var(--f60-gold); opacity: 0; pointer-events: none; }
.top-button.is-visible { opacity: 1; pointer-events: auto; }
.photo-library-status { color: var(--f60-muted); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; display: none; padding: 12px 20px 20px; background: #080806; border-bottom: 1px solid var(--f60-line); }
  .header.is-open .nav { display: grid; }
  .nav a { justify-content: start; text-align: left; }
  .program-item { grid-template-columns: 70px 1fr; }
  .program-item p { grid-column: 2; }
  .faq-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-links { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 28px), var(--f60-max)); }
  .brand strong { max-width: 250px; font-size: 0.78rem; }
  .subpage-hero { min-height: 360px; }
  .subpage-hero__inner { padding: 72px 0 44px; }
  .festa-band { padding: 54px 0; }
  .program-item { grid-template-columns: 1fr; gap: 8px; }
  .program-item p { grid-column: 1; }
  .faq-jump { grid-template-columns: 1fr; }
  .faq-jump a { min-height: 54px; }
  .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
