/* Official claret and white lead; ocean green is a small wayfinding accent.
   No remote fonts, frameworks, or image downloads are needed. */
:root {
  --ocean: #1e6b5a;
  --claret: #741e29;
  --ink: #282426;
  --paper: #fff;
  --line: #d9d5d6;
  --display: 'Arial Black', 'Arial', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
button { border: 0; font: inherit; color: inherit; cursor: pointer; }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.45; letter-spacing: -.04em; font-weight: 900; }
h3 { font-size: 1.2rem; line-height: 1.6; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--claret); outline-offset: 5px; box-shadow: 0 0 0 5px white; }
[hidden] { display: none !important; }
.small { font-size: .875rem; }
.eyebrow { font-size: .875rem; font-weight: 800; letter-spacing: .1em; margin-bottom: 14px; }
.skip { position: fixed; left: 16px; top: -100px; background: white; padding: 12px; z-index: 99; }
.skip:focus { top: 8px; }
.prototype-note { background: var(--ink); color: white; text-align: center; padding: 5px 12px; font-size: .75rem; letter-spacing: .05em; }
.prototype-note span { margin-left: 16px; }
.header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px max(24px, calc((100vw - 1120px)/2)); border-bottom: 2px solid var(--ink); z-index: 5; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand strong { font: 900 2.9rem/.9 var(--display); letter-spacing: -.09em; color: var(--claret); }
.brand span { font-size: .875rem; line-height: 1.5; font-weight: 700; }
.desktop-nav { display: flex; gap: 32px; font-size: .875rem; font-weight: 700; }
.desktop-nav a { padding: 12px 0; }
.menu-button { color: white; background: var(--claret); width: 56px; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.menu-label { font-size: .75rem; }
.menu-lines { width: 22px; height: 9px; border-top: 2px solid; border-bottom: 2px solid; }
.menu { position: absolute; top: 100%; right: 0; left: 0; padding: 20px 24px; background: var(--claret); color: white; }
.menu a { display: block; padding: 12px 0; border-bottom: 1px solid #ffffff65; }
.hero { overflow: hidden; background: var(--claret); color: white; padding: 24px max(24px, calc((100vw - 1120px)/2)) 28px; }
.hero-top, .hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-top { font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.hero-main { display: grid; grid-template-columns: 1.55fr 1fr; align-items: center; gap: 36px; padding: 42px 0 36px; }
.hero-title-block { min-width: 0; }
.school { font-size: 1rem; font-weight: 800; letter-spacing: .1em; }
h1 { display: flex; align-items: center; gap: 20px; margin-left: -.04em; }
.hero-number { font: 900 clamp(8rem, 23vw, 19rem)/.95 var(--display); letter-spacing: -.11em; }
.hero-kanji { font-size: clamp(2.4rem, 5.9vw, 4.8rem); font-weight: 900; line-height: 1.1; margin-left: .25em; }
.hero-message { justify-self: end; position: relative; padding-top: 80px; }
.hero-symbol { position: absolute; top: -40px; right: 10px; font: 900 8rem/1 Arial, sans-serif; }
.hero-copy { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 900; letter-spacing: -.06em; line-height: 1.85; transform: rotate(-5deg); }
.hero-copy span { color: var(--claret); background: white; padding: 5px 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-edition { font-size: .75rem; font-weight: 800; letter-spacing: .08em; line-height: 1.4; margin-top: 26px; text-align: right; }
.hero-bottom { color: white; border-top: 2px solid #ffffff80; padding-top: 20px; }
.dates { display: flex; align-items: center; gap: 16px; font: 900 clamp(1.8rem, 3.4vw, 2.9rem)/1.3 var(--display); letter-spacing: -.06em; }
.dates small { display: inline-block; font: 800 .75rem/1.5 Arial, sans-serif; letter-spacing: 0; margin-left: 8px; }
.date-dash { font-size: 1.5rem; }
.hero-bottom a { font-size: .875rem; font-weight: 700; padding: 12px 0; }
.hero-bottom a span { margin-left: 24px; }
.visit { background: white; color: var(--ink); border-bottom: 1px solid var(--line); }
.visit-inner { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.visit h2 { font-size: 1.35rem; letter-spacing: 0; }
.visit .small { margin-top: 8px; }
.visit .eyebrow { color: var(--claret); font-size: .75rem; }
.countdown { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-left: 32px; border-left: 1px dashed var(--line); max-width: 310px; }
.countdown > span:first-child { font-size: .875rem; }
.countdown strong { font: 900 4rem/1 var(--display); letter-spacing: -.07em; color: var(--claret); }
.countdown p span { margin-left: 8px; }
.countdown > .small { width: 100%; letter-spacing: .08em; }
.section { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 80px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.section-heading .eyebrow { color: var(--claret); }
.sample { font-size: .75rem; border-bottom: 1px solid var(--line); padding: 4px 0; white-space: nowrap; }
.features { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.feature-exhibit { margin-top: 64px; }
.feature-art { height: 310px; padding: 20px 24px; position: relative; overflow: hidden; color: white; background: var(--claret); }
.art-label { font-size: .75rem; letter-spacing: .13em; position: relative; z-index: 1; }
.stage-word, .exhibit-word { display: block; font-size: 4rem; line-height: 1.15; font-weight: 900; margin-top: 25px; position: relative; z-index: 1; letter-spacing: -.07em; }
.stage-word { transform: rotate(-6deg); transform-origin: left; }
.art-index { position: absolute; bottom: 16px; right: 24px; font: 900 3.5rem/1 var(--display); letter-spacing: -.09em; z-index: 1; }
.sound-lines { position: absolute; width: 240px; height: 240px; border: 30px solid #ffffff26; border-radius: 50%; right: -50px; top: 60px; }
.sound-lines::after { content: ''; position: absolute; inset: 22px; border: 12px solid #ffffff26; border-radius: 50%; }
.feature-exhibit .feature-art { background: var(--ink); color: white; height: 270px; }
.exhibit-word { font-size: 3.5rem; }
.exhibit-orbit { position: absolute; width: 200px; height: 200px; right: -35px; top: 30px; background: #ffffff26; clip-path: polygon(50% 0,61% 30%,85% 15%,70% 39%,100% 50%,70% 61%,85% 85%,61% 70%,50% 100%,39% 70%,15% 85%,30% 61%,0 50%,30% 39%,15% 15%,39% 30%); }
.feature-body { padding: 24px 0 0; }
.feature-body .eyebrow { font-size: .75rem; color: var(--claret); }
.feature-body > p:not(.eyebrow) { margin: 10px 0 14px; }
.text-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: transparent; border-bottom: 2px solid var(--ink); padding: 12px 0; min-height: 48px; font-weight: 700; width: 100%; text-align: left; }
.text-link span { font-size: 1.5rem; }
.search-row > div:first-child { flex-shrink: 0; }
.search-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 36px 0; margin-top: 48px; border-top: 1px solid var(--line); }
.categories { display: flex; gap: 8px; flex-wrap: wrap; max-width: 560px; }
.categories button { border: 1px solid var(--ink); background: white; min-height: 48px; padding: 8px 18px; font-size: .875rem; font-weight: 700; }
.categories button:first-child { background: var(--claret); color: white; }
.categories span { margin-left: 14px; }
.timetable { background: var(--claret); color: white; padding: 26px; display: flex; align-items: center; gap: 24px; border: 1px solid var(--ink); }
.timetable .eyebrow { margin: 0; font-size: .75rem; }
.timetable p:last-child { font-size: .875rem; margin-top: 4px; }
.time-icon { font-size: 3.5rem; line-height: 1; }
.circle-link { border: 1px solid currentColor; background: transparent; border-radius: 50%; min-width: 48px; height: 48px; font-size: 1.5rem; margin-left: auto; }
.guide-section { background: #f6f5f5; border-top: 1px solid #dedadb; border-bottom: 1px solid #dedadb; }
.guide-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.guide-copy .eyebrow { color: var(--claret); }
.guide-copy > p:not(.eyebrow) { margin: 18px 0 24px; }
.solid-button { display: flex; justify-content: space-between; gap: 24px; align-items: center; background: var(--claret); color: white; padding: 14px 22px; font-weight: 700; min-height: 52px; width: 100%; }
.crowd { display: flex; gap: 12px; align-items: center; margin-top: 26px; }
.crowd p { font-size: .875rem; }
.status-dot { width: 10px; height: 10px; background: var(--ocean); border-radius: 50%; flex-shrink: 0; }
.map-preview { padding: 20px; background: white; border: 2px solid var(--claret); transform: rotate(3deg); box-shadow: 8px 8px 0 var(--claret); }
.map-grid { position: relative; height: 270px; background-image: linear-gradient(#ebe8e9 1px, transparent 1px), linear-gradient(90deg, #ebe8e9 1px, transparent 1px); background-size: 24px 24px; }
.map-block { position: absolute; display: grid; place-items: center; border: 1px solid var(--claret); background: #e9e4e5; font-size: .875rem; font-weight: 700; }
.gym { left: 5%; top: 8%; width: 27%; height: 28%; }
.school-block { right: 6%; top: 8%; width: 50%; height: 28%; }
.yard { right: 6%; top: 48%; width: 50%; height: 37%; background: #f7f6f6; }
.map-path { position: absolute; top: 39%; left: 19%; width: 54%; height: 53%; border-left: 3px dashed var(--ocean); border-top: 3px dashed var(--ocean); }
.map-pin { position: absolute; left: 9%; bottom: 15%; background: var(--claret); color: white; padding: 4px 14px; font-size: .875rem; }
.map-gate { position: absolute; left: 14%; bottom: 0; font-size: .875rem; font-weight: 700; }
.map-caption { display: flex; justify-content: space-between; gap: 12px; font-size: .75rem; letter-spacing: .05em; margin-top: 16px; }
.map-caption span { letter-spacing: 0; }
.rally { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 40px 0; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.rally .eyebrow { color: var(--claret); }
.rally p:not(.eyebrow) { margin: 18px 0; }
.stamps { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.stamp { width: 105px; height: 105px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 2px dashed #beb7ba; border-radius: 50%; color: #746b6f; font: 900 1.7rem var(--display); }
.stamp.filled { color: var(--claret); background: white; border: 3px double var(--claret); font: 700 .875rem/1.15 sans-serif; transform: rotate(-14deg); }
.stamp b { font: 900 2.25rem/1 var(--display); letter-spacing: -.1em; }
.stamp small { font-size: .875rem; }
.news { padding-top: 0; }
.news summary { display: flex; align-items: center; gap: 28px; padding: 24px 0; cursor: pointer; list-style: none; min-height: 72px; }
.news summary::-webkit-details-marker { display: none; }
.news details { border-top: 1px solid var(--line); }
.news details:last-child { border-bottom: 1px solid var(--line); }
.news details > p { padding: 0 0 24px; max-width: 800px; }
.news-meta { font-size: .75rem; white-space: nowrap; color: var(--claret); }
.plus { margin-left: auto; font-size: 1.2rem; }
.news details[open] .plus { transform: rotate(45deg); }
footer { background: var(--ink); color: white; border-top: 10px solid var(--claret); }
.footer-inner { width: min(1120px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 0; font-size: .875rem; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand strong { font: 900 4.5rem/1 var(--display); letter-spacing: -.1em; color: white; }
.footer-brand span { font-size: .875rem; }
.footer-inner > p { font-size: .75rem; }
.footer-inner > a:not(.footer-brand) { padding: 12px 0; }
.mobile-shortcuts { display: none; }
dialog { border: 2px solid var(--claret); padding: 32px; width: min(480px, calc(100% - 40px)); color: var(--ink); background: white; }
dialog::backdrop { background: #282426b8; }
dialog h2 { font-size: 1.5rem; }
dialog p:not(.eyebrow) { margin: 16px 0 24px; }
body:has(dialog[open]) { overflow: hidden; }
@media (hover: hover) {
  .text-link:hover, .desktop-nav a:hover { color: var(--claret); }
  .categories button:hover { background: var(--claret); color: white; }
  .solid-button:hover, .menu-button:hover { background: #5c1820; }
  .circle-link:hover { background: var(--ink); color: white; }
}
@media (min-width: 761px) {
  .menu-button { display: none; }
  .menu { max-width: 420px; left: auto; min-width: 350px; }
}
@media (max-width: 760px) {
  .prototype-note span { margin-left: 6px; letter-spacing: 0; }
  .header { padding: 14px 20px; }
  .brand strong { font-size: 2.5rem; }
  .brand span { font-size: .75rem; }
  .desktop-nav { display: none; }
  .hero { padding: 20px 24px 22px; }
  .hero-top { font-size: .75rem; letter-spacing: .015em; gap: 12px; }
  .hero-top span:last-child { max-width: 90px; text-align: right; line-height: 1.3; }
  .hero-main { grid-template-columns: 1fr; gap: 18px; padding: 32px 0 28px; }
  .school { font-size: .875rem; letter-spacing: .02em; }
  h1 { gap: 12px; }
  .hero-number { font-size: clamp(7rem, 44vw, 18rem); }
  .hero-kanji { font-size: clamp(2.4rem, 10vw, 4.4rem); margin-left: .12em; }
  .hero-message { justify-self: stretch; padding: 0 2px; min-height: 96px; }
  .hero-copy { font-size: clamp(1.25rem, 5.3vw, 2rem); line-height: 1.95; transform: rotate(-4deg); }
  .hero-symbol { font-size: 5.5rem; top: 0; right: 0; }
  .hero-edition { display: none; }
  .hero-bottom { align-items: flex-start; gap: 8px; flex-direction: column; padding-top: 16px; }
  .dates { font-size: clamp(1.7rem, 7.7vw, 2.8rem); gap: 10px; }
  .dates small { margin-left: 6px; }
  .hero-bottom a { padding: 8px 0 0; }
  .visit-inner { align-items: stretch; flex-direction: column; gap: 22px; padding: 26px 0; }
  .visit h2 { font-size: 1.1rem; }
  .countdown { border-left: 0; border-top: 1px dashed var(--line); padding: 18px 0 0; max-width: none; gap: 14px; }
  .countdown strong { font-size: 3.3rem; }
  .countdown > .small { width: auto; margin: 0 0 0 auto; font-size: .75rem; max-width: 100px; }
  .section { padding: 52px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .features { grid-template-columns: 1fr; gap: 36px; }
  .feature-exhibit { margin-top: 0; }
  .feature-art, .feature-exhibit .feature-art { height: 255px; }
  .stage-word, .exhibit-word { font-size: 3.25rem; margin-top: 20px; }
  .feature-body { padding-top: 20px; }
  .search-row { display: block; margin-top: 32px; padding: 28px 0; }
  .categories { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .categories { max-width: none; }
  .categories button { display: flex; justify-content: space-between; }
  .categories button:first-child { grid-column: 1 / -1; }
  .timetable { gap: 14px; padding: 22px 16px; }
  .time-icon { display: none; }
  .timetable h3 { font-size: 1.05rem; }
  .timetable p:last-child { max-width: 220px; }
  .guide-inner { grid-template-columns: 1fr; gap: 32px; }
  .map-preview { transform: none; padding: 16px; box-shadow: 5px 5px 0 var(--claret); }
  .map-grid { height: 235px; }
  .map-caption { flex-direction: column; gap: 2px; }
  .rally { flex-direction: column; align-items: stretch; padding: 28px 0; gap: 28px; }
  .stamps { gap: 14px; }
  .stamp { width: 80px; height: 80px; }
  .stamp b { font-size: 1.9rem; }
  .news { padding-top: 0; }
  .news summary { flex-wrap: wrap; gap: 8px 14px; font-size: .9375rem; }
  .news-meta { width: 100%; }
  .news summary > span:nth-child(2) { flex: 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 36px 0 100px; gap: 24px; }
  .mobile-shortcuts { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 2px solid var(--ink); z-index: 10; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-shortcuts a { flex: 1; min-height: 58px; display: flex; gap: 8px; justify-content: center; align-items: center; font-size: .875rem; font-weight: 700; }
  .mobile-shortcuts a:first-child { background: var(--claret); color: white; }
  .mobile-shortcuts a + a { border-left: 1px solid var(--ink); }
}
@media (max-width: 360px) {
  .hero-symbol { font-size: 4rem; top: 14px; }
  .stamps { gap: 10px; }
  .stamp { width: 76px; height: 76px; }
  .mobile-shortcuts a { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
