:root {
  --ink: #203f42;
  --muted: #526e70;
  --blue: #13847e;
  --deep: #106a66;
  --wash: #f4faf8;
  --line: #d9e9e5;
  --paper: #fff;
  --mint: #e1f2ec;
  --mint-ink: #226657;
  --orange: #985325;
  --coral: #e89079;
  --sun: #f5cb65;
  --display: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "Yu Gothic", Meiryo, sans-serif;
  --body: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--wash); color: var(--ink); font: 1rem/1.8 var(--body); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; border: 0; background: none; }
a { color: var(--deep); text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #b77514; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.6; }
img { max-width: 100%; }
main { max-width: 1392px; padding: 0 36px; margin: auto; }
.site-header { min-height: 88px; max-width: 1392px; margin: auto; padding: 12px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); font: 800 1.5rem/1.5 var(--display); letter-spacing: .035em; }
.brand-icon { display: block; width: 61px; height: 61px; object-fit: contain; flex-shrink: 0; }
.brand small { display: block; font: 500 .75rem/1.5 var(--body); letter-spacing: .05em; }
.header-nav { display: flex; gap: 22px; align-items: center; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: none; }
.header-link:hover { text-decoration: underline; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .07em; color: var(--deep); }
/* The photograph brings people into the page; all search text stays on plain surfaces. */
.hero { display: grid; grid-template-columns: .95fr 1.25fr; position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; background: #eaf6f0; margin: 8px 0 26px; }
.hero-photo { grid-column: 2; grid-row: 1; margin: 0; position: relative; min-height: 310px; }
.hero-photo img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 51% 51%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #eaf6f0 0%, #eaf6f000 17%); pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 1; bottom: 10px; right: 12px; padding: 2px 9px; background: #fffffff0; border-radius: 6px; color: var(--muted); font-size: .75rem; }
.hero-copy { grid-column: 1; grid-row: 1; align-self: center; padding: 29px 0 29px 36px; position: relative; z-index: 2; }
.hero h1 { font: 800 clamp(1.55rem, 2.8vw, 2.5rem)/1.6 var(--display); letter-spacing: .025em; margin: 11px 0 15px; }
.hero h1 span { color: var(--deep); }
.hero-description { font-size: 1rem; line-height: 1.9; }
.hero-footnote { margin-top: 16px; color: var(--muted); font-size: .75rem; }
.finder-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 17px; }
.finder-heading h2 { font: 800 1.5rem/1.6 var(--display); }
.finder-guide, .source-guide { display: flex; align-items: center; gap: 18px; min-width: 0; }
.guide-character { display: block; object-fit: contain; background: white; border: 1px solid var(--line); border-radius: 20px; width: 110px; height: 110px; flex-shrink: 0; }
.edition { display: flex; align-items: baseline; gap: 8px; font-size: .75rem; color: var(--muted); flex-wrap: wrap; justify-content: flex-end; }
.edition strong { font-family: "Avenir Next", var(--body); color: var(--ink); font-weight: 600; }
.edition span { padding-left: 8px; border-left: 1px solid #bbd3cb; }
.region-nav { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 24px; }
.region-nav button { background: white; border: 1px solid #c8ddd5; padding: 8px 15px; min-height: 46px; border-radius: 99px; font-size: .875rem; font-weight: 600; display: flex; gap: 10px; align-items: center; transition: background .15s, border-color .15s; }
.region-nav button.active { background: var(--deep); color: white; border-color: var(--deep); }
.region-nav button:hover:not(.active) { background: #e7f4ee; border-color: var(--blue); }
.region-nav .count { font-family: "Avenir Next", sans-serif; font-size: .8125rem; }
.workspace { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); gap: 30px; align-items: start; }
.map-panel { background: white; border: 1px solid var(--line); border-radius: 24px; position: sticky; top: 18px; overflow: hidden; box-shadow: 0 8px 26px #17463b06; }
.map-title { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 24px 0; }
.map-title h2 { font: 700 1.125rem/1.6 var(--display); }
.map-title > span { font-size: .75rem; color: var(--muted); }
.map-frame { position: relative; background-image: radial-gradient(circle, #dbece7 .8px, transparent 1px); background-size: 18px 18px; }
.map-caption { position: absolute; top: 22px; left: 24px; max-width: 43%; pointer-events: none; }
.map-caption p { font: 700 1.25rem/1.6 var(--display); }
.map-caption small { font-size: .75rem; color: var(--muted); display: block; max-width: 180px; }
.map-mascot { display: block; width: 116px; height: auto; margin: 10px 0 0 6px; transform: rotate(-5deg); }
.map-frame svg { display: block; width: 100%; max-height: 520px; }
.inset-box { fill: white; stroke: var(--line); stroke-dasharray: 5 4; }
.inset-label { font-size: 16px; fill: var(--muted); }
.prefecture-shape { fill: #e1e8e6; stroke: white; stroke-width: 1.2; stroke-linejoin: round; cursor: pointer; transition: fill .13s; }
.prefecture-shape.has-info { fill: #88cfc0; }
.prefecture-shape.in-region { fill: #bde3d8; }
.prefecture-shape.is-selected { fill: var(--deep); stroke: #08504d; stroke-width: 1.6; }
.prefecture-shape:hover, .prefecture-shape:focus { fill: #f2c36c; stroke: #87550a; stroke-width: 1.5; outline: none; }
.map-bottom { padding: 0 24px 16px; }
.legend { display: flex; gap: 17px; font-size: .75rem; color: var(--muted); margin: 4px 0 18px; flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { display: block; width: 12px; height: 12px; border-radius: 3px; }
.legend .has-events { background: #88cfc0; }
.legend .no-events { background: #e1e8e6; }
.legend .selected { background: var(--deep); }
.pref-select { font-size: .875rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pref-select select { max-width: 62%; width: 260px; }
.map-results-link { display: flex; align-items: center; justify-content: center; margin: 0 24px 14px; text-align: center; border: 1px solid var(--line); border-radius: 99px; font-size: .875rem; min-height: 46px; padding: 9px 12px; text-decoration: none; background: #f2f9f5; }
.map-results-link:hover { background: #e1f2e9; }
.map-credit { padding: 0 24px 19px; color: var(--muted); font-size: .75rem; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 2px; }
.result-head h2 { font: 700 1.35rem/1.6 var(--display); }
.result-head h2 span { font: 400 .875rem/1.5 var(--body); margin-left: 7px; color: var(--muted); white-space: nowrap; }
.text-button { font-size: .875rem; white-space: nowrap; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.filters { display: flex; gap: 8px; margin: 17px 0 8px; }
.search-label { display: flex; align-items: center; background: white; border: 1px solid #bdd4cc; border-radius: 11px; flex: 1; min-width: 0; padding-left: 12px; }
.search-label svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 1.7; flex-shrink: 0; }
.search-label input { border: 0; width: 100%; min-width: 0; min-height: 48px; padding: 10px; background: transparent; font-size: 1rem; color: var(--ink); border-radius: 11px; }
.search-label input::placeholder { color: #627877; }
select { border: 1px solid #bdd4cc; border-radius: 11px; padding: 10px 25px 10px 10px; color: var(--ink); background: white; font-size: .875rem; min-height: 48px; }
.results-note { font-size: .75rem; color: var(--muted); margin-bottom: 17px; }
.event-card { padding: 23px 25px; background: white; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 16px; box-shadow: 0 3px 14px #17463b04; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.event-date { font-family: "Avenir Next", var(--body); font-size: 1.125rem; font-weight: 700; letter-spacing: .03em; color: var(--deep); }
.pref-label { font-size: .875rem; color: var(--muted); white-space: nowrap; }
.event-card h3 { font: 700 1.125rem/1.7 var(--display); margin-bottom: 10px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 14px; }
.tag { font-size: .75rem; padding: 3px 9px; background: var(--wash); color: var(--muted); border-radius: 6px; }
.tag.handson { background: var(--mint); color: var(--mint-ink); }
.event-detail { display: grid; grid-template-columns: 3em 1fr; gap: 4px 10px; font-size: .9375rem; line-height: 1.8; margin: 0; }
.event-detail dt { color: var(--muted); }
.event-detail dd { margin: 0; overflow-wrap: anywhere; }
.condition { font-size: .875rem; color: var(--orange); margin-top: 12px; line-height: 1.8; }
.detail-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; margin-top: 4px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #e9f1ed; margin-top: 15px; padding-top: 14px; }
.card-bottom small { font-size: .75rem; color: var(--muted); }
.event-link { font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 46px; display: inline-flex; align-items: center; gap: 6px; padding: 0 15px; border-radius: 99px; background: #e7f4ed; color: var(--deep); }
.event-link:hover { background: #d6ece0; text-decoration: underline; }
.show-more { display: block; width: 100%; min-height: 48px; border: 1px solid #c4dcd1; border-radius: 12px; background: white; color: var(--deep); font-weight: 700; margin: 18px 0; }
.show-more:hover { background: #e7f4ed; }
.coverage-note { font-size: .75rem; color: var(--muted); padding: 4px 0 18px; }
.sources { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); }
.source-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 25px; }
.source-heading h2 { font: 800 1.6rem/1.6 var(--display); margin-top: 6px; }
.source-heading > p { color: var(--muted); font-size: 1rem; }
.source-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.source-grid > div { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.source-grid h3 { font-size: 1rem; padding-bottom: 12px; border-bottom: 2px solid var(--line); color: var(--deep); }
.source-grid ul { list-style: none; padding: 0; margin: 0; }
.source-grid li { padding: 6px 0 12px; border-bottom: 1px solid var(--line); }
.source-grid li:last-child { border-bottom: 0; padding-bottom: 0; }
.source-grid a { display: flex; align-items: center; font-size: .875rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.source-grid a:hover { text-decoration: underline; }
.source-grid small { display: block; color: var(--muted); font-size: .75rem; }
.about { margin: 48px 0 34px; padding: 30px 34px; background: #e7f4ed; border: 1px solid #d9eade; border-radius: 28px; display: grid; grid-template-columns: .95fr 1.2fr; align-items: center; gap: 35px; }
.about-visual { display: flex; align-items: center; gap: 18px; }
.about-visual > img { width: 42%; height: auto; max-width: 205px; flex-shrink: 0; }
.about h2 { font: 800 clamp(1.15rem,1.7vw,1.6rem)/1.8 var(--display); margin-top: 8px; }
.about-copy > p { font-size: 1rem; color: var(--muted); margin-bottom: 12px; }
.about-copy > p:last-child { margin-bottom: 0; }
.about-copy .prototype-note { font-size: .75rem; color: var(--muted); padding-top: 12px; border-top: 1px solid #caddcf; }
footer { max-width: 1392px; margin: auto; padding: 24px 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .875rem; }
footer span:first-child { font-weight: 700; }
footer span:last-child { text-align: right; }
footer small { display: block; font-size: .75rem; margin-top: 4px; }
#empty { background: white; border: 1px dashed #a8cabc; border-radius: 20px; padding: 28px 26px; text-align: center; }
#empty h3 { font-size: 1.125rem; margin: 12px 0; }
#empty p { font-size: .875rem; color: var(--muted); }
.empty-mascot { display: block; width: 115px; height: auto; margin: auto; }
.primary { background: var(--deep); color: white; border-radius: 99px; min-height: 48px; padding: 10px 20px; margin-top: 20px; font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -100px; left: 12px; background: white; z-index: 5; padding: 10px; }
.skip:focus { top: 10px; }
[hidden] { display: none !important; }
@media (max-width: 1100px) {
  main { padding: 0 24px; }
  .site-header { padding: 12px 24px; }
  .hero-copy { padding-left: 28px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-description { font-size: .9375rem; }
  .workspace { gap: 22px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .map-title { padding: 18px 18px 0; }
  .map-title > span { display: none; }
  .map-caption { top: 18px; left: 18px; }
  .map-caption p { font-size: 1.0625rem; }
  .map-mascot { width: 92px; }
  .map-bottom { padding: 0 18px 16px; }
  .pref-select { display: block; }
  .pref-select select { max-width: none; width: 100%; margin-top: 8px; }
  .map-results-link { margin-inline: 18px; }
  .map-credit { padding-inline: 18px; }
  .event-card { padding: 20px; }
  .result-head h2 { font-size: 1.2rem; }
  .result-head { flex-wrap: wrap; }
  .event-card h3 { font-size: 1.0625rem; }
  .source-heading > p { font-size: .875rem; }
  .source-grid > div { padding: 18px; }
  .about { grid-template-columns: 1fr 1.1fr; gap: 25px; padding: 28px; }
  .about-visual { flex-direction: column; align-items: flex-start; gap: 6px; }
  .about-visual > img { width: 175px; }
  .about h2 { font-size: 1.35rem; }
}
@media (max-width: 760px) {
  .site-header { min-height: 82px; padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
  .brand { font-size: 1.25rem; gap: 8px; }
  .brand small { font-size: .75rem; letter-spacing: 0; }
  .brand-icon { width: 47px; height: 47px; }
  .header-nav { gap: 12px; flex-wrap: wrap; }
  .header-link { font-size: .875rem; }
  main { padding: 0 16px; }
  .hero { display: block; border-radius: 24px; margin: 4px 0 22px; }
  .hero-photo { min-height: 0; height: 185px; width: 100%; margin: 0; }
  .hero-photo img { object-position: 50% 61%; }
  .hero-photo::after { background: linear-gradient(0deg, #eaf6f0, #eaf6f000 18%); }
  .hero-copy { padding: 18px 24px 24px; }
  .hero h1 { font-size: clamp(1.375rem,5.9vw,1.9rem); line-height: 1.55; margin: 8px 0 10px; }
  .hero-description { font-size: .9375rem; line-height: 1.8; }
  .hero-footnote { margin-top: 10px; }
  .hero-photo figcaption { bottom: auto; top: 8px; right: 8px; }
  .finder-heading { gap: 12px; align-items: flex-start; }
  .finder-heading h2 { font-size: 1.3rem; }
  .finder-guide, .source-guide { gap: 12px; }
  .guide-character { width: 83px; height: 96px; border-radius: 16px; }
  .finder-heading .eyebrow { font-size: .75rem; }
  .edition { display: block; text-align: right; font-size: .75rem; flex-shrink: 0; }
  .edition strong { display: block; }
  .edition span { display: none; }
  .region-nav { gap: 8px; padding-bottom: 20px; }
  .region-nav button { padding: 7px 12px; gap: 8px; font-size: .875rem; }
  .workspace { display: flex; flex-direction: column; gap: 26px; }
  .map-panel { width: 100%; position: static; }
  .map-frame svg { max-height: 400px; }
  .map-caption { top: 16px; left: 18px; max-width: 41%; }
  .map-caption p { font-size: 1.0625rem; }
  .map-caption small { max-width: 132px; }
  .map-mascot { display: none; }
  .map-title > span { display: block; }
  .map-bottom { padding-bottom: 12px; }
  .legend { margin: 0 0 13px; }
  .pref-select { display: flex; gap: 8px; }
  .pref-select select { width: 55%; max-width: 55%; margin: 0; }
  .list-panel { width: 100%; scroll-margin-top: 14px; }
  .result-head { flex-wrap: wrap; }
  .result-head h2 { font-size: 1.25rem; }
  .filters { flex-wrap: wrap; }
  .filters > select { max-width: 48%; }
  .event-card { padding: 19px; }
  .card-bottom { gap: 8px; }
  .event-link { padding-inline: 12px; }
  .event-date { font-size: 1.0625rem; }
  .sources { margin-top: 28px; padding-top: 26px; }
  .source-heading { display: block; }
  .source-heading > p { margin-top: 12px; }
  .source-heading h2 { font-size: 1.35rem; }
  .source-grid { grid-template-columns: 1fr; gap: 16px; }
  .source-grid > div { padding: 22px; }
  .about { margin-top: 30px; padding: 24px; grid-template-columns: 1fr; gap: 22px; border-radius: 24px; }
  .about-visual { flex-direction: row; align-items: center; gap: 16px; }
  .about-visual > img { width: 35%; }
  .about h2 { font-size: 1.2rem; }
  .about-copy > p { font-size: .9375rem; }
  footer { padding: 22px 16px; flex-wrap: wrap; gap: 12px; }
  footer span:last-child { text-align: left; }
}
@media (max-width: 400px) {
  .site-header { gap: 0; }
  .header-nav { width: 100%; justify-content: flex-end; gap: 18px; }
  .hero-photo { height: 154px; }
  .hero-copy { padding-inline: 20px; }
  .finder-heading { flex-wrap: wrap; }
  .edition { margin-left: auto; display: flex; gap: 6px; }
  .card-bottom { align-items: flex-start; flex-direction: column; }
  .event-link { align-self: flex-end; }
  .about-visual { gap: 12px; }
  .about h2 { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
