@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600&family=Noto+Serif:wght@600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #10264e;
  --muted: #445675;
  --red: #d31f26;
  --red-dark: #ae1920;
  --paper: #fffdfb;
  --mist: #fbf7f4;
  --line: #e5e5e8;
  --soft-red: #fff2ef;
  --font: 'Be Vietnam Pro', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--font); }
body > main { flex: 1 0 auto; }
body > footer { margin-top: auto; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #264c81; outline-offset: 4px; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }
.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.narrow { width: min(100% - 48px, 820px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo-link { flex: 0 1 286px; display: block; text-decoration: none; }
.logo-link img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav a:hover, .text-link:hover { color: var(--red-dark); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 1px solid var(--red); border-radius: 4px; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; text-decoration: none; white-space: nowrap; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.button.secondary { background: #fff; color: var(--ink); border-color: #9aa9a8; }
.button.secondary:hover { background: var(--mist); border-color: var(--ink); }
.button.ghost { background: transparent; color: var(--red-dark); }
.button.ghost:hover { background: var(--soft-red); }
.text-link { color: var(--red-dark); font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.eyebrow { margin: 0 0 18px; color: var(--red-dark); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, h4, p { word-break: auto-phrase; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.025em; }
h1, h2 { font-family: 'Noto Serif', Georgia, serif; }
h1 { margin: 0; font-size: clamp(2.25rem, 4.2vw, 3.8rem); font-weight: 700; }
h2 { margin: 0 0 12px; font-size: clamp(1.85rem, 3vw, 2.8rem); font-weight: 700; }
h3 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 600; }
p { margin-top: 0; }
.lead { max-width: 690px; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.15rem); }
.section { padding-block: 68px; }
.section.mist { background: var(--mist); }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 34px; }
.section-header .lead { margin-bottom: 0; }
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: 68px; background: url('/assets/japan-wash.svg') center bottom / cover no-repeat, linear-gradient(120deg, #fffdfb 0%, #fffaf7 60%, #f7f0ed 100%); }
.hero::before { content: ''; position: absolute; z-index: -1; left: -20px; bottom: -80px; width: 350px; height: 190px; opacity: .35; background: repeating-radial-gradient(circle at 50% 100%, transparent 0 13px, #ead9cc 14px 15px, transparent 16px 25px); mask-image: linear-gradient(to top, #000, transparent 95%); }
.hero::after { content: ''; position: absolute; z-index: -1; right: -75px; top: -80px; width: 310px; height: 310px; border-radius: 50%; background: radial-gradient(circle, #f6e2dd 1px, transparent 2px); background-size: 28px 28px; opacity: .2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); align-items: center; gap: clamp(32px, 4vw, 60px); }
.hero-title { max-width: 690px; font-size: clamp(2.2rem, 3.3vw, 2.95rem); }
.hero-title span { color: var(--ink); }
.hero .lead { margin: 24px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.hero-art { position: relative; min-height: 380px; margin: 0; }
.hero-art img { width: 100%; height: 380px; object-fit: cover; object-position: center 70%; border-radius: 140px 140px 8px 8px; box-shadow: 0 18px 48px rgba(36, 36, 46, .13); }
.hero-caption { position: absolute; z-index: 2; right: -14px; bottom: 16px; padding: 10px 15px; background: rgba(255,253,251,.97); border: 1px solid var(--line); box-shadow: 0 10px 25px rgba(16,43,38,.08); color: var(--ink); font-size: 11px; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.event-card { display: flex; flex-direction: column; min-height: 340px; padding: 32px; border: 1px solid var(--line); background: #fff; }
.event-card.primary { border-color: #e7aaa4; background: var(--soft-red); }
.event-topline { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 32px; }
.event-day { font-size: clamp(2.4rem, 4.3vw, 4.2rem); line-height: 1; font-weight: 600; letter-spacing: -.065em; }
.event-month { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tag { display: inline-flex; padding: 5px 10px; border-radius: 2px; border: 1px solid #b7c6c3; color: #35544e; font-size: 11px; font-weight: 700; line-height: 1.4; }
.tag.red { border-color: #e8aaa4; color: var(--red-dark); }
.event-card p { color: var(--muted); margin-bottom: 10px; }
.event-card .button, .event-card .event-foot { margin-top: auto; align-self: flex-start; }
.event-foot { padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.school-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.school-card { display: flex; flex-direction: column; min-width: 0; padding: 6px 6px 17px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 5px 18px rgba(16,38,78,.035); transition: box-shadow .18s ease, border-color .18s ease; }
.school-card:hover { border-color: #b9c2d2; box-shadow: 0 16px 32px rgba(16,38,78,.09); }
.school-photo { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 3px; background: #f3f0ee; }
.school-photo img { width: 100%; height: 100%; object-fit: cover; }
.school-card:nth-child(2) .school-photo img { object-position: left center; }
.school-card h3 { min-height: 3em; margin: 12px 7px 10px; font-size: .93rem; line-height: 1.5; }
.school-card p { display: none; }
.school-links { display: flex; flex-direction: column; align-items: stretch; gap: 9px; margin-top: auto; padding: 0 7px; }
.school-links a { font-size: 11px; font-weight: 700; text-align: center; text-underline-offset: 4px; }
.school-links a:first-child { display: block; padding: 8px 6px; border: 1px solid #c3ccda; border-radius: 4px; text-decoration: none; }
.school-links a:first-child { color: var(--red-dark); }
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.topic { padding: 30px; background: #fff; }
.topic strong { display: block; margin: 18px 0 10px; font-size: 16px; line-height: 1.5; }
.topic p { margin: 0; font-size: 13px; color: var(--muted); }
.topic svg { width: 26px; height: 26px; color: var(--red); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-card { border: 1px solid var(--line); background: #fff; }
.story-art { display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(145deg, #edf3f0, #f7f8f5); color: #6b8580; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.story-copy { padding: 24px; }
.story-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; padding-block: 17px; list-style: none; cursor: pointer; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: 0 0 auto; color: var(--red); font-size: 26px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 14px; }
.cta-band { padding-block: 72px; background: var(--red); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-band h2 { max-width: 720px; margin-bottom: 0; }
.cta-band .button { flex: 0 0 auto; background: #fff; border-color: #fff; color: var(--red-dark); }
.cta-band .button:hover { background: #fff5f2; }
.site-footer { padding-block: 42px 22px; background: #10264e; color: #e9edf6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-logo { display: block; width: 270px; max-width: 100%; height: auto; aspect-ratio: 2172 / 724; object-fit: contain; padding: 7px 12px; border-radius: 4px; background: #fff; }
.site-footer h3 { color: #fff; font-size: 14px; }
.site-footer p, .site-footer a { color: #d0d8e7; font-size: 12px; }
.site-footer a { text-underline-offset: 4px; }
.footer-bottom { margin-top: 44px; padding-top: 18px; border-top: 1px solid #344448; color: #a5b4b1; font-size: 11px; }
.page-intro { padding-block: 72px 58px; background: var(--mist); }
.page-intro h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); }
.page-intro .lead { margin: 24px 0 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-underline-offset: 4px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
.detail-panel { padding: 28px; border: 1px solid var(--line); background: var(--mist); }
.detail-panel .button { width: 100%; margin-top: 12px; }
.detail-panel p { font-size: 13px; color: var(--muted); }
.detail-body h2 { margin-top: 48px; font-size: 1.65rem; }
.detail-body h2:first-child { margin-top: 0; }
.simple-list { padding: 0; margin: 20px 0 0; list-style: none; }
.simple-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.notice { padding: 20px 24px; border-left: 3px solid var(--red); background: var(--soft-red); color: #5b403b; font-size: 14px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 48px; align-items: start; }
.form-card { padding: 34px; border: 1px solid var(--line); background: #fff; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #a7b6b3; border-radius: 3px; background: #fff; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checkline { display: flex; align-items: start; gap: 10px; margin: 6px 0 24px; font-size: 12px; }
.checkline input { margin-top: 5px; }
.form-status { min-height: 24px; margin-bottom: 15px; color: var(--red-dark); font-size: 13px; font-weight: 600; }
.form-status[data-state="success"] { padding: 14px 16px; border-left: 3px solid #2f7a55; background: #eef6f1; color: #1f5a3d; font-size: 14px; }
.form-card .button { width: 100%; }
.form-card .button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.story-empty { padding: 56px 28px; border: 1px dashed #a9bbb7; background: var(--mist); text-align: center; }
.story-empty p { max-width: 520px; margin: 10px auto 0; color: var(--muted); }
@media (max-width: 980px) {
  .header-inner { min-height: 74px; }
  .logo-link { flex-basis: 240px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; }
  .nav .button { margin-top: 10px; }
  .hero-grid { grid-template-columns: 1fr .75fr; gap: 25px; }
  .hero-art { min-height: 310px; }
  .hero-art img { height: 310px; }
  .school-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .container, .narrow { width: min(100% - 40px, 1160px); }
  .logo-link { flex-basis: 208px; }
  .hero { padding-block: 60px 48px; }
  .hero-grid, .detail-grid, .form-layout { grid-template-columns: 1fr; }
  .hero-art { display: block; min-height: 0; margin-top: 32px; }
  .hero-art img { height: min(73vw, 350px); border-radius: 100px 100px 6px 6px; }
  .hero-caption { right: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .section { padding-block: 64px; }
  .section-header { display: block; }
  .section-header .text-link { display: inline-block; margin-top: 12px; }
  .event-grid, .school-grid, .story-grid, .footer-grid { grid-template-columns: 1fr; }
  .event-card { min-height: 300px; }
  .school-card { min-height: 0; }
  .topics { grid-template-columns: 1fr; }
  .topic { padding: 22px; }
  .cta-band { padding-block: 58px; }
  .cta-band .container { align-items: stretch; flex-direction: column; }
  .cta-band .button { width: 100%; }
  .page-intro { padding-block: 58px 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 20px; }
  .detail-panel { order: -1; }
  .form-layout .detail-panel { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
