:root {
  color-scheme: light;
  --ink: #193044;
  --navy: #12304a;
  --muted: #526a7a;
  --line: #d7e2e9;
  --paper: #ffffff;
  --canvas: #f5f8fa;
  --sky: #d9eaf4;
  --link: #075981;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
a { color: var(--link); text-underline-offset: .2em; }
a:hover { color: #003e5e; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #147aa8;
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 10; padding: 8px 14px; background: white; }
.skip-link:focus { top: 10px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.4; }
small { font-size: .82em; }
.container { width: min(100% - 40px, 1060px); margin-inline: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { color: var(--navy); font-weight: 800; letter-spacing: .05em; text-decoration: none; white-space: nowrap; }
.brand::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 9px; border: 2px solid #78a9c4; border-radius: 50%; }
.header-link { font-size: .88rem; font-weight: 700; }
.site-footer { margin-top: 80px; padding: 28px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer p { margin: 0; }
main { min-height: 60vh; }

.hero { background: var(--navy); color: white; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .65fr); gap: 64px; align-items: end; padding-block: 72px 76px; }
.eyebrow { margin-bottom: 14px; color: #a9cbdf; font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.hero h1 { margin-bottom: 14px; font-size: clamp(2.05rem, 4.5vw, 3.75rem); letter-spacing: .08em; }
.hero-copy { margin-bottom: 10px; font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif; font-size: clamp(1.25rem, 2.7vw, 1.9rem); font-weight: 600; }
.hero-description { max-width: 38em; margin-bottom: 27px; color: #d6e6ef; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid #bfd7e6; color: white; font-weight: 700; text-decoration: none; }
.action.primary { background: #f8fcfe; border-color: #f8fcfe; color: var(--navy); }
.action:hover { color: var(--navy); background: #d9eaf4; }
.hero-aside { padding: 24px 0 0 24px; border-left: 2px solid #7fb2d0; }
.hero-aside strong { display: block; margin-bottom: 9px; font-size: 1.1rem; }
.hero-aside p { margin-bottom: 0; color: #d6e6ef; font-size: .9rem; }
.hero-aside .aside-number { display: block; margin-bottom: 13px; font-family: Georgia, serif; font-size: 3rem; line-height: 1; color: #9ac5dc; }

.content-section { padding-top: 64px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 22px; }
.section-head h2 { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 3vw, 2rem); }
.section-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.date-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.date-choice { display: flex; flex-direction: column; justify-content: center; min-height: 82px; padding: 14px 17px; border: 1px solid var(--line); background: white; color: var(--ink); text-decoration: none; }
.date-choice:hover, .date-choice[aria-current="date"] { border-color: #6f9db8; background: #e9f3f8; color: var(--navy); }
.date-choice[aria-current="date"] { box-shadow: inset 4px 0 var(--navy); }
.date-choice strong { font-size: 1rem; }
.date-choice span { color: var(--muted); font-size: .82rem; }
.all-dates { margin-top: 14px; }
.all-dates summary { display: inline-block; cursor: pointer; color: var(--link); font-weight: 700; }
.date-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.date-links a { display: inline-flex; min-height: 40px; align-items: center; padding: 6px 12px; border: 1px solid var(--line); background: white; text-decoration: none; }
.date-links a[aria-current="date"] { color: var(--navy); font-weight: 800; border-color: #6f9db8; background: #e9f3f8; }
.region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.region-group { min-width: 0; background: var(--paper); border: 1px solid var(--line); }
.region-group summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 14px 20px; cursor: pointer; color: var(--navy); font-size: 1.08rem; font-weight: 800; list-style: none; }
.region-group summary::-webkit-details-marker { display: none; }
.region-group summary::after { content: "+"; color: var(--link); font-size: 1.4rem; line-height: 1; }
.region-group[open] summary::after { content: "−"; }
.region-group .count { margin-left: auto; color: var(--muted); font-size: .78rem; font-weight: 500; }
.region-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0 20px 18px; list-style: none; gap: 2px 15px; }
.region-links a { display: block; min-height: 42px; padding: 7px 3px; border-bottom: 1px solid #edf2f5; text-decoration: none; overflow-wrap: anywhere; }
.feature-strip { margin-top: 68px; padding: 30px 34px; border-top: 2px solid #a5c7da; background: #eaf3f8; }
.feature-strip h2 { margin-bottom: 6px; color: var(--navy); font-size: 1.3rem; }
.feature-strip p { margin: 0; color: #38586e; }

.forecast-page { padding-top: 32px; }
.breadcrumbs { margin-bottom: 25px; color: var(--muted); font-size: .84rem; }
.breadcrumbs a { color: var(--muted); }
.archive-notice { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 26px; padding: 16px 20px; background: #eaf3f8; border-left: 3px solid #689eba; }
.archive-notice strong { flex: none; color: var(--navy); font-size: .85rem; letter-spacing: .06em; }
.archive-notice p { margin: 0; font-size: .9rem; }
.page-title { margin-bottom: 5px; color: var(--navy); font-size: clamp(1.65rem, 3.8vw, 2.75rem); letter-spacing: .02em; }
.page-subtitle { margin-bottom: 30px; color: var(--muted); }
.state-pill { display: inline-block; margin-left: 10px; padding: 3px 9px; background: #e7eff3; color: #35566d; font-size: .76rem; font-weight: 700; vertical-align: middle; }
.selector-block { margin-top: 30px; padding: 23px 26px; background: var(--paper); border: 1px solid var(--line); }
.selector-block h2 { margin-bottom: 12px; color: var(--navy); font-size: 1.04rem; }
.date-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px; align-items: stretch; }
.date-nav a, .date-nav span { display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 8px 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.date-nav a:hover { border-color: #6f9db8; background: #f1f7fa; }
.date-nav .current { text-align: center; align-items: center; background: var(--navy); border-color: var(--navy); color: white; font-weight: 800; }
.date-nav .disabled { color: #748794; background: #f5f7f8; }
.date-nav small { color: inherit; opacity: .8; }
.area-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; min-width: 86px; padding: 8px 16px; border: 1px solid #b8ccd8; color: var(--navy); font-weight: 700; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.area-tabs a:hover, .area-tabs a[aria-current="page"] { border-color: var(--navy); background: var(--navy); color: white; }
.area-tabs a[aria-current="page"]::before { content: "✓"; margin-right: 6px; font-size: .8rem; }
.timeline-section { margin-top: 52px; }
.timeline-intro { margin-bottom: 28px; color: var(--muted); }
.timeline { border-left: 2px solid #bfd4e0; margin-left: 12px; padding-left: 27px; }
.timeline-entry { position: relative; margin-bottom: 22px; padding: 23px 27px 25px; background: white; border: 1px solid var(--line); min-width: 0; }
.timeline-entry::before { content: ""; position: absolute; top: 29px; left: -36px; width: 14px; height: 14px; border: 3px solid var(--navy); border-radius: 50%; background: var(--canvas); }
.issue-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; margin-bottom: 20px; }
.issue-head h3 { margin: 0; color: var(--navy); font-size: 1.34rem; }
.issue-head time { font-variant-numeric: tabular-nums; }
.issue-kind { display: inline-block; padding: 1px 9px; border: 1px solid #93b8ca; color: #265873; font-size: .78rem; font-weight: 800; }
.issue-note { width: 100%; margin: 0; color: var(--muted); font-size: .82rem; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metric { min-width: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.metric h4 { margin-bottom: 8px; color: var(--muted); font-size: .84rem; font-weight: 700; }
.metric ul { margin: 0; padding: 0; list-style: none; }
.metric li { margin-bottom: 9px; min-width: 0; }
.metric-period { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.metric-value { display: block; color: var(--ink); font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.metric-empty { margin: 0; color: var(--muted); font-size: .84rem; }
.metric-more { padding-top: 3px; }
.metric-more summary { color: var(--link); cursor: pointer; font-size: .82rem; font-weight: 700; }
.metric-more ul { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.details-block { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.details-block summary { color: var(--link); font-size: .88rem; font-weight: 700; cursor: pointer; }
.details-block dl { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 5px 12px; margin-bottom: 10px; font-size: .82rem; }
.details-block dt { color: var(--muted); }
.details-block dd { margin: 0; overflow-wrap: anywhere; }
.details-block code { font-size: .78rem; overflow-wrap: anywhere; }
.details-block ul { padding-left: 1.3em; font-size: .82rem; }
.snapshot { margin-top: 56px; padding: 28px 32px; border-top: 3px solid #7caac4; background: #eaf3f8; }
.snapshot h2 { margin-bottom: 4px; color: var(--navy); font-size: 1.35rem; }
.snapshot > p { margin-bottom: 14px; color: #38586e; font-size: .9rem; }
.snapshot .timeline-entry { margin: 12px 0 0; }
.snapshot .timeline-entry::before { display: none; }
.snapshot-unavailable { border-top-color: #a9b8c1; background: #f0f3f5; }
.snapshot-unavailable .message { margin-bottom: 0; color: var(--ink); font-weight: 700; }
.empty-page { padding: 72px 0; }
.empty-page h1 { color: var(--navy); }

@media (max-width: 760px) {
  .hero .container { grid-template-columns: 1fr; gap: 34px; padding-block: 54px 58px; }
  .hero-aside { padding: 16px 0 0 20px; }
  .hero-aside .aside-number { display: none; }
  .metrics { grid-template-columns: 1fr; gap: 9px; }
  .metric { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .metric h4 { margin: 0; }
  .metric li { margin-bottom: 8px; }
  .metric-more { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1060px); }
  .site-header .container { min-height: 62px; }
  .brand { font-size: .97rem; }
  .header-link { font-size: .8rem; }
  .content-section { padding-top: 48px; }
  .date-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region-grid { grid-template-columns: 1fr; }
  .feature-strip { margin-top: 50px; padding: 25px 22px; }
  .archive-notice { display: block; padding: 15px 17px; }
  .archive-notice strong { display: block; margin-bottom: 4px; }
  .selector-block { padding: 19px 16px; }
  .date-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .date-nav .current { grid-row: 1; grid-column: 1 / -1; }
  .date-nav .previous { grid-row: 2; grid-column: 1; }
  .date-nav .next { grid-row: 2; grid-column: 2; }
  .area-tabs a { flex: 1 1 auto; }
  .timeline { padding-left: 21px; margin-left: 7px; }
  .timeline-entry { padding: 20px 17px; }
  .timeline-entry::before { left: -30px; }
  .snapshot { padding: 22px 17px; }
  .details-block dl { grid-template-columns: 1fr; gap: 1px; }
  .details-block dd { margin-bottom: 7px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
