:root {
  color-scheme: light;
  --navy: #12283e;
  --ink: #1a3146;
  --subtle: #415c70;
  --gold: #f0cd8e;
  --teal: #24584e;
  --pale: #ecf2f8;
  --mint: #e7f1ed;
  --line: #cfdee7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.65 var(--sans); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #93702d; outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; }
:lang(ja) .en, html[lang="en"] .ja { display: none; }
html[lang="en"] .en { display: revert; }
.wrap { width: min(100% - 64px, 1200px); margin-inline: auto; }
.header { border-bottom: 1px solid #e9eff3; }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.wordmark { text-decoration: none; color: var(--navy); font: 700 1.6rem/1 var(--serif); white-space: nowrap; display: flex; align-items: baseline; gap: .55rem; }
.wordmark span { font: 700 .75rem/1.25 var(--sans); letter-spacing: .09em; }
nav { display: flex; margin-left: auto; gap: 24px; }
nav a, .footer a { text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.language { cursor: pointer; border: 1px solid var(--line); background: white; color: var(--navy); border-radius: 4px; font-size: .875rem; font-weight: 700; min-width: 48px; min-height: 44px; }
.hero-wrap { margin-top: 30px; }
.hero { display: grid; grid-template-columns: .87fr 1.13fr; min-height: 402px; background: var(--navy); }
.hero-copy { padding: clamp(32px, 5vw, 64px); color: white; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font: 400 clamp(2.55rem, 5.2vw, 4.9rem)/.98 var(--serif); letter-spacing: -.035em; }
.hero h1 span { display: block; margin-top: .08em; color: var(--gold); }
.hero-subtitle { margin-top: 16px; color: #f3f6fa; }
.hero-dates { margin-top: 24px; padding-top: 16px; border-top: 1px solid #546a7e; }
.hero-dates strong { font-size: clamp(1rem, 2vw, 1.3rem); }
.hero-dates div { color: var(--gold); margin-top: 4px; font-size: .875rem; letter-spacing: .09em; font-weight: 700; }
.hero-art { width: 100%; height: 100%; min-width: 0; object-fit: cover; border-left: 3px solid var(--gold); }
.actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; font-weight: 700; min-height: 46px; padding: 10px 17px; color: white; background: var(--navy); border: 1px solid var(--navy); border-radius: 4px; }
.button:hover { background: #234666; border-color: #234666; }
.button.outline { color: var(--navy); background: white; border-color: #a3b4c2; }
.button.outline:hover { background: var(--pale); }
.section { padding-block: clamp(44px, 7vw, 78px); }
h2 { font: 400 clamp(2rem, 4vw, 3.45rem)/1.08 var(--serif); letter-spacing: -.025em; color: var(--navy); }
.section-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; margin-bottom: 27px; }
.section-intro p { max-width: 57ch; color: var(--subtle); }
.section-intro .intro-lead { margin-bottom: 8px; font-size: 1.14rem; font-weight: 750; color: var(--navy); }
.classes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.classes article { background: var(--pale); padding: 22px 26px 25px; }
.classes article:nth-child(2) { background: var(--mint); }
.class-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 8px; }
.class-heading h3 { font: 400 1.7rem/1.2 var(--serif); }
.tag { color: var(--teal); font-weight: 750; font-size: .875rem; }
.classes p { color: var(--subtle); }
.programme { background: #f3f7fb; }
.programme-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 25px; }
.programme-heading > div > p { margin-top: 8px; color: var(--subtle); }
.hours { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; color: var(--teal); white-space: nowrap; }
.hours span { font-size: .875rem; }
.days { border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary { padding: 16px 8px; min-height: 76px; display: grid; align-items: center; grid-template-columns: 105px minmax(0,1fr) 26px; gap: 14px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { background: #e9f1f8; }
.date { display: flex; gap: 8px; align-items: baseline; color: var(--navy); white-space: nowrap; }
.date time { font-weight: 800; }
.date span { font-size: .875rem; color: var(--teal); }
.activity strong { display: block; font-size: 1.12rem; }
.activity span, .day-detail p { color: var(--subtle); }
.expand { position: relative; width: 24px; height: 24px; color: var(--teal); }
.expand::before, .expand::after { content: ""; position: absolute; top: 11px; left: 5px; width: 14px; height: 2px; background: currentColor; }
.expand::after { transform: rotate(90deg); }
details[open] .expand::after { display: none; }
.day-detail { padding: 2px 44px 18px 127px; }
.contact { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: clamp(25px, 4.5vw, 52px); gap: 24px; background: var(--navy); color: white; }
.contact h2 { color: white; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.contact p { margin-top: 10px; color: #e0ecf4; }
.contact-button { background: var(--gold); border-color: var(--gold); color: var(--navy); white-space: nowrap; }
.contact-button:hover { background: #ffdfa7; border-color: #ffdfa7; }
.footer { border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 23px; }
.footer span[lang="en"] { font-size: .88rem; font-weight: 700; }
@media (max-width: 760px) {
  .wrap { width: min(100% - 34px, 1200px); }
  .header-inner { min-height: 62px; gap: 12px; }
  .wordmark { margin-right: auto; }
  nav { display: none; }
  .hero-wrap { margin-top: 16px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 27px 25px 24px; }
  .hero h1 { font-size: clamp(2.1rem, 6.8vw, 3.6rem); }
  .hero h1 span { display: inline; white-space: nowrap; }
  .hero-subtitle { margin-top: 8px; }
  .hero-dates { margin-top: 16px; padding-top: 10px; }
  .hero-dates div { margin-top: 3px; }
  .hero-art { aspect-ratio: 1.75; border-left: 0; border-top: 3px solid var(--gold); }
  .section-intro, .classes, .contact { grid-template-columns: 1fr; }
  .section-intro { gap: 12px; }
  .section-intro h2 br { display: none; }
  .programme-heading { align-items: start; flex-direction: column; }
  summary { grid-template-columns: 71px minmax(0,1fr) 24px; gap: 8px; padding-inline: 3px; }
  .date { gap: 5px; }
  .activity strong { font-size: 1rem; }
  .activity span { font-size: .94rem; }
  .day-detail { padding: 0 30px 16px 82px; }
  .contact-button { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.visit-group { margin-top: 24px; padding: clamp(16px, 3vw, 24px); background: var(--pale); }
.visit-group h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 10px; }
.visit-group p + p { margin-top: 9px; }
.rates { width: 100%; max-width: 620px; border-collapse: collapse; text-align: left; }
.rates th, .rates td { padding: 9px clamp(6px, 2.2vw, 18px); border-bottom: 1px solid var(--line); }
.rates thead { color: white; background: var(--navy); }
.rates td, .rates tbody th { font-variant-numeric: tabular-nums; }
.rates td[colspan] { text-align: center; }

.rates thead th { line-height: 1.45; vertical-align: middle; font-size: .875rem; }
.discount-note { margin-top: 12px; }
