:root{--green:#14532d;--light:#f4f7f5;--line:#d8e1db;--red:#9f1239}*{box-sizing:border-box}body{margin:0;background:var(--light);color:#1f2937;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif}header{background:var(--green);color:#fff;padding:18px max(24px,calc((100% - 1280px)/2));display:flex;justify-content:space-between;align-items:center}h1{font-size:21px;margin:0 0 4px}h2{font-size:18px;margin:0 0 16px}nav{display:flex;gap:16px}nav a{color:#fff}main{max-width:1440px;margin:24px auto;padding:0 20px}.card,.stats article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:20px;box-shadow:0 2px 8px #0000000a}.filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap}label{display:grid;gap:6px;font-size:14px}input,select,button{font:inherit;padding:9px 11px;border:1px solid #aab7ae;border-radius:6px;background:#fff}button,.button{background:var(--green);color:#fff;border:0;padding:10px 16px;border-radius:6px;text-decoration:none;display:inline-block;cursor:pointer}button:disabled{opacity:.5}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stats article{display:grid;gap:8px}.stats strong{font-size:30px;color:var(--green)}.stats .date{font-size:17px}.grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head h2{margin:0}.sub-button,.pager a{background:#eef4f0;color:var(--green);border:1px solid #b7cbbd;padding:7px 11px;border-radius:6px;text-decoration:none;white-space:nowrap}.pager{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0}.pager a{color:var(--green)}.pager .disabled{opacity:.35;pointer-events:none}.pager.bottom{margin:14px 0 0}.table-wrap{overflow:auto;max-height:650px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:9px;border-bottom:1px solid var(--line)}th{position:sticky;top:0;background:#eef4f0;white-space:nowrap}td:last-child,th:last-child{text-align:right;white-space:nowrap}.category{display:inline-block;background:#e7f3eb;color:#14532d;border-radius:999px;padding:3px 8px;white-space:nowrap}.total{font-weight:700;background:#f0f7f2}.notice,.error{padding:12px 16px;border-radius:7px;background:#dcfce7}.error{background:#ffe4e6;color:var(--red)}.login{max-width:480px;margin:10vh auto}.login input{width:100%}.login button{width:100%;margin-top:15px}footer{text-align:center;padding:30px;color:#6b7280;font-size:13px}@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}}@media(max-width:800px){.stats{grid-template-columns:1fr}header{align-items:flex-start;gap:16px;flex-direction:column}.section-head{align-items:flex-start}}
.chart-wrap{width:100%;overflow-x:auto}.line-chart{display:block;width:100%;min-width:760px;height:auto}.chart-grid{stroke:#dfe7e1;stroke-width:1}.chart-y-label{fill:#66736b;font-size:12px;text-anchor:end}.chart-x-label{fill:#66736b;font-size:12px;text-anchor:middle}.chart-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-site{stroke:#14532d}.chart-top{stroke:#2563eb}.chart-site-point{fill:#fff;stroke:#14532d;stroke-width:3}.chart-top-point{fill:#fff;stroke:#2563eb;stroke-width:3}.chart-site-point:hover,.chart-top-point:hover{r:7}.chart-legend{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;margin-top:10px;font-size:14px}.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend i{display:inline-block;width:24px;height:4px;border-radius:2px}.legend-site{background:#14532d}.legend-top{background:#2563eb}
.comparison-table{min-width:1100px}.comparison-table th,.comparison-table td{text-align:right;white-space:nowrap}.comparison-table th:first-child{position:sticky;left:0;z-index:2;text-align:left;background:#eef4f0}.comparison-table thead th:first-child{z-index:3}.comparison-table tbody tr:not(.comparison-rate) td:last-child{font-weight:700;background:#f0f7f2}.comparison-rate th,.comparison-rate td{color:#4b6355;background:#f8faf9}.comparison-rate td:last-child{font-weight:700}
.comparison-rate td.is-below-target{color:#dc2626;font-weight:700}
