/* まとめた数字のページ（/next/stats）。本文は読みやすい大きさで、罫線は表だけに引く */
.nx-stats { font-size: 18px; line-height: 1.9; }
.nx-stats h1 { margin: 12px 0 16px; font-size: clamp(24px, 3vw, 34px); line-height: 1.4; font-weight: 900; }
.nx-stats h2 { margin: 48px 0 10px; font-size: 21px; line-height: 1.5; font-weight: 900; }
.nx-stats p { margin: 0 0 14px; }
.nx-stats a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.nx-stats .nx-crumbs a { text-decoration: none; }
.nx-stats-lead { font-size: 18px; }
.nx-stats-asof { font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }
.nx-stats-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nx-stats-table { width: 100%; border-collapse: collapse; background: var(--sheet); font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.nx-stats-table caption { caption-side: top; padding: 0 0 6px; text-align: left; font-size: 13.5px; color: var(--ink-3); }
.nx-stats-table th, .nx-stats-table td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); text-align: right; white-space: nowrap; }
.nx-stats-table th:first-child { text-align: left; }
.nx-stats-table thead th { border-bottom-width: 2px; font-size: 13px; font-weight: 800; color: var(--ink-2); white-space: normal; vertical-align: bottom; }
.nx-stats-table tbody th { font-weight: 800; }
.nx-stats-table tr.nx-stats-total th, .nx-stats-table tr.nx-stats-total td { background: var(--sheet-2); font-weight: 800; }
.nx-stats-table tr.nx-stats-sub th { padding-left: 28px; font-weight: 600; }
.nx-stats-table--index td { text-align: left; white-space: normal; }
.nx-stats-table--index td:last-child { white-space: nowrap; color: var(--ink-3); }
.nx-stats-note { font-size: 14px; line-height: 1.8; color: var(--ink-2); margin: 8px 0 0; }
.nx-stats-csv { font-size: 14px; margin: 8px 0 0; }
.nx-stats-how, .nx-stats-rel { margin: 0; padding-left: 1.3em; }
.nx-stats-how li, .nx-stats-rel li { margin: 0 0 8px; }
.nx-stats-src { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.nx-stats-src summary { cursor: pointer; }
@media (max-width: 640px) {
  .nx-stats { font-size: 17.5px; }
  .nx-stats-lead { font-size: 17.5px; }
  .nx-stats h2 { font-size: 19px; margin-top: 40px; }
  .nx-stats-table { font-size: 13.5px; }
  .nx-stats-table th, .nx-stats-table td { padding: 7px 5px; }
}

/* 11/14 見出しは「：」の前後をまとまりで折る（スマホで「多い／月：」と折れた）。本文は最後の行に1〜2字だけ落ちないよう pretty（「3年続／けてです」） */
.nx-stats-hpart { display: inline-block; }
.nx-stats p, .nx-stats li { text-wrap: pretty; }
