:root {
  --ink: #1b1b1f;
  --accent: #b70003;
  --overseas: #858589;
  --line: #dedee1;
  --muted: #66666d;
  --surface: #f3f3f4;
  --gutter: clamp(20px, 3vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', Meiryo, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.75 var(--font); }
button, input { font: inherit; color: inherit; }
button, a, input { touch-action: manipulation; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, input:focus-visible, .table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
header { margin: 0 var(--gutter); padding: 18px 0; min-height: 106px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; flex: 0 1 440px; min-width: 0; }
.brand img { display: block; width: 100%; height: auto; }
.provider { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.provider svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
main { width: 100%; padding: 28px var(--gutter) 22px; }
h1, h2, p { margin: 0; }
h1 { color: var(--accent); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.45; letter-spacing: .01em; }
h2 { font-size: 22px; line-height: 1.5; font-weight: 700; }
.intro p { font-size: 19px; margin-top: 6px; }
.notice { color: var(--muted); font-size: 13px; margin-top: 14px; }
.summary { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); padding: 20px 0; margin: 20px 0 18px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat span { font-size: 14px; }
.stat strong { color: var(--accent); font-size: 32px; line-height: 1.4; font-weight: 700; }
.stat small { font-size: 17px; margin-left: 3px; }
.stat.check strong { font-size: 25px; line-height: 1.8; }
.filters { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 0 0 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; align-items: center; gap: 12px; min-width: 0; }
.filters label { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.filters input { background: #fff; border: 1px solid #cfcfd3; border-radius: 4px; padding: 8px 10px; height: 40px; min-width: 0; font-size: 13px; }
.filters input[type=month] { width: 148px; }
.search { flex: 0 1 470px; }
.search input { flex: 1; width: 100%; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 16px; }
.year-nav { display: flex; align-items: center; gap: 12px; }
.year-nav strong { font-size: 18px; text-align: center; min-width: 82px; }
.year-nav button { width: 38px; height: 38px; display: grid; place-items: center; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.year-nav svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.year-nav button:hover:enabled, .outline:hover:enabled { background: var(--surface); color: var(--accent); }
button:disabled { cursor: default; opacity: .35; }
.chart-section { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
#chart { height: 200px; }
#chart svg { width: 100%; height: 100%; display: block; }
.chart-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.legend { display: flex; gap: 24px; font-size: 13px; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 13px; height: 13px; display: inline-block; }
.domestic { background: var(--accent); }
.overseas { background: var(--overseas); }
.unknown { background: #c4c4c8; }
.chart-note { color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th, td { border-bottom: 1px solid var(--line); padding: 13px 14px; vertical-align: middle; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; border-bottom-color: #bcbcc2; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
td:first-child { font-weight: 600; white-space: nowrap; }
td:nth-child(2), td:nth-child(3) { white-space: nowrap; }
td:nth-child(4) { min-width: 135px; max-width: 180px; }
td:nth-child(5) { min-width: 280px; }
td:last-child { white-space: nowrap; }
.text-button { color: var(--accent); font-size: 13px; background: none; border: 0; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--muted); font-size: 13px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 20px 0 26px; font-size: 13px; }
.outline { background: #fff; border: 1px solid #cfcfd3; border-radius: 4px; padding: 8px 18px; font-size: 13px; }
.empty { color: var(--muted); padding: 36px 12px; text-align: center; }
footer { border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.error { color: var(--accent); font-size: 13px; padding: 8px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
dialog { width: min(620px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 6px; padding: 30px; color: var(--ink); font: 15px/1.75 var(--font); }
dialog::backdrop { background: #0006; }
dialog h2 { padding-right: 26px; margin-bottom: 16px; }
dialog p { margin: 10px 0; }
.close { position: absolute; right: 16px; top: 10px; font-size: 28px; background: none; border: 0; color: var(--muted); }
[hidden] { display: none !important; }
@media (max-width: 1000px) {
  .brand { flex-basis: 380px; }
  .provider { font-size: 13px; }
  .filters { flex-wrap: wrap; gap: 14px; }
  .search { flex: 1 1 300px; }
}
@media (max-width: 650px) {
  header { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 0; }
  .brand { flex-basis: auto; width: min(100%, 410px); }
  .provider { align-self: flex-end; font-size: 13px; white-space: normal; }
  main { padding-top: 24px; }
  h1 { font-size: 25px; line-height: 1.5; }
  .intro p { font-size: 15px; margin-top: 8px; }
  .notice { font-size: 13px; }
  .summary { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .stat:nth-child(even) { border: 0; }
  .stat:last-child { grid-column: 1 / -1; }
  .stat strong { font-size: 28px; }
  .stat span { font-size: 13px; }
  .stat.check strong { font-size: 22px; }
  .filters fieldset { display: grid; grid-template-columns: auto minmax(0,1fr) auto minmax(0,1fr); width: 100%; gap: 7px; }
  .filters input[type=month] { width: 100%; padding: 8px 3px; font-size: 13px; }
  .filters .search { flex: 1 1 100%; display: block; }
  .search input { display: block; margin-top: 6px; width: 100%; }
  h2 { font-size: 18px; }
  .year-nav { gap: 4px; }
  .year-nav strong { min-width: 68px; font-size: 16px; }
  .year-nav button { width: 32px; height: 34px; padding: 6px; }
  #chart { height: 180px; }
  .chart-caption { align-items: flex-start; flex-direction: column; gap: 8px; }
  .legend { font-size: 13px; gap: 20px; }
  .muted { font-size: 13px; }
  /* Keep each publication readable in document order without horizontal scrolling. */
  .table-wrap { overflow: visible; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  tbody tr { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 16px; row-gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
  tbody td { display: block; grid-column: 1 / -1; border: 0; padding: 0; min-width: 0; max-width: none; white-space: normal; overflow-wrap: anywhere; }
  tbody td:first-child { white-space: normal; font-size: 15px; }
  tbody td:nth-child(2) { grid-column: 1; grid-row: 2; color: var(--muted); }
  tbody td:nth-child(3) { grid-column: 2; grid-row: 2; color: var(--muted); white-space: normal; }
  tbody td:nth-child(4), tbody td:nth-child(5) { min-width: 0; max-width: none; }
  tbody td:nth-child(4)::before, tbody td:nth-child(5)::before { content: attr(data-label); display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
  tbody td:last-child { white-space: normal; }

  dialog { padding: 24px; }
}

.report-label{display:block;margin-top:4px;font-size: 13px;font-weight:400;color:#66666d;white-space:normal}
