:root {
  --bg: #fbfaf7; --fg: #1f1d1a; --muted: #6b665e; --line: #e4e0d8; --card: #ffffff;
  --c1: #2f6f4e; --c2: #c2552a; --c3: #d9a441; --c4: #8c8c8c; --c5: #4a6fa5; --c6: #9b5de5;
  --accent: #2f6f4e;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; line-height: 1.7; }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.brand { font-weight: 700; text-decoration: none; color: var(--fg); font-size: 1.1rem; }
header nav a { margin-left: 16px; color: var(--muted); text-decoration: none; }
main { max-width: 860px; margin: 0 auto; padding: 0 16px 48px; }
.hero { padding: 32px 0 12px; }
h1 { font-size: 1.6rem; line-height: 1.35; margin: 0 0 12px; }
h2 { font-size: 1.15rem; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 16px; }
.unit-switch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; }
.unit-switch button { border: 1px solid var(--line); background: var(--card); padding: 4px 10px; border-radius: 999px; cursor: pointer; font-size: .9rem; }
.unit-switch button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 16px 0 32px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.tile h2 { font-size: .85rem; color: var(--muted); font-weight: 600; }
.tile .period { margin: 0; font-size: .8rem; color: var(--muted); }
.tile .value { margin: 4px 0; font-size: 1.7rem; font-weight: 700; }
.tile .unit { font-size: .9rem; font-weight: 500; color: var(--muted); }
.tile .delta { margin: 0; font-size: .85rem; }
.tile .src { margin: 4px 0 0; font-size: .75rem; color: var(--muted); }
.block { margin: 0 0 40px; }
.block p { margin: 0 0 12px; }
.cta { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
svg.chart { width: 100%; height: auto; display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-family: inherit; }
.ch-title { font-size: 13px; font-weight: 600; fill: var(--fg); }
.ch-unit, .ch-tick, .ch-legend, .ch-band-label { font-size: 11.5px; fill: var(--muted); }
.chart-m .ch-tick, .chart-m .ch-legend, .chart-m .ch-band-label { font-size: 12px; }
.chart-m .ch-title { font-size: 13.5px; }
svg.chart-m { display: none; }
@media (max-width: 600px) { svg.chart-d { display: none; } svg.chart-m { display: block; } }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-grid-x { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.ch-line { fill: none !important; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-dashed { stroke-dasharray: 5 4; }
.ch-area { opacity: .22; stroke: none !important; }
.ch-band { fill: var(--c3); opacity: .12; }
.ch-c1 { stroke: var(--c1); fill: var(--c1); } .ch-c2 { stroke: var(--c2); fill: var(--c2); }
.ch-c3 { stroke: var(--c3); fill: var(--c3); } .ch-c4 { stroke: var(--c4); fill: var(--c4); }
.ch-c5 { stroke: var(--c5); fill: var(--c5); } .ch-c6 { stroke: var(--c6); fill: var(--c6); }
polyline.ch-area, polygon.ch-area { stroke: none; }
.chart-note { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.chart-empty { color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: .85rem; margin: 8px 0; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
details summary { cursor: pointer; color: var(--accent); }
footer { max-width: 860px; margin: 0 auto; padding: 16px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
a { color: var(--accent); }
@media (max-width: 480px) { h1 { font-size: 1.3rem; } .tile .value { font-size: 1.4rem; } table { font-size: .78rem; } th, td { padding: 4px 6px; } }
