/* インシデントレーダー。白地・紺と青・太い見出し・大きな数字。文字は 15px 以上、本文 #374151 以上の濃さ、スマホ前提 */
:root {
  --ink: #0f172a;
  --text: #374151;
  --muted: #4b5563;
  --line: #e5e7eb;
  --bg: #ffffff;
  --soft: #f8fafc;
  --soft2: #eff6ff;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --ok: #047857;
  --ok-bg: #ecfdf5;
  --red: #b91c1c;
  --red-bg: #fef2f2;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.4; font-weight: 800; letter-spacing: .01em; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* 頭 */
.site-head { border-bottom: 1px solid var(--line); background: #fff; }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__en { font-weight: 900; font-size: 19px; letter-spacing: .02em; }
.logo__ja { font-size: 15px; color: var(--accent-ink); font-weight: 700; }
.gnav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.gnav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.gnav a[aria-current] , .gnav a:hover { border-bottom-color: var(--accent); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 12px auto 0; padding: 0; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: #9ca3af; }
.crumbs a { color: var(--muted); }

.site-main { padding-bottom: 48px; }

/* トップの見出し（紺の方眼の上に、破られた蜘蛛の巣） */
.hero { background-color: var(--ink); color: #e5e7eb; padding: 40px 0 36px;
  background-image:
    linear-gradient(rgba(148,163,184,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.12) 1px, transparent 1px),
    linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: center top; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 24px 40px; align-items: center; }
.hero__eyebrow { margin: 0 0 8px; color: #93c5fd; font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.hero__title { color: #fff; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.2; margin: 0 0 22px; font-weight: 900; }
.hero__count { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 10px; margin: 0; color: #fff; padding-top: 16px; border-top: 1px solid rgba(148,163,184,.45);
  background: repeating-linear-gradient(90deg, rgba(148,163,184,.6) 0 1px, transparent 1px 10px) left top / 100% 6px no-repeat; }
.hero__count-label { font-weight: 700; font-size: 18px; color: #bfdbfe; align-self: center; }
.hero__num { font-size: clamp(56px, 8vw, 88px); font-weight: 900; line-height: .95; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hero__unit { font-size: 20px; font-weight: 700; margin-right: 6px; }
.hero__count-note { margin: 8px 0 18px; font-size: 15px; color: #cbd5e1; }
.hero__lead { max-width: 640px; margin: 0 0 22px; font-size: 17px; color: #e2e8f0; }
.hero__cta { margin: 0; }
.hero .btn { background: var(--accent); }

/* 蜘蛛の巣（inc/web.php・assets/js/web.js） */
.web { position: relative; margin: 0; }
.web__stage { animation: irFade .45s ease-out both; }
@keyframes irFade { from { opacity: 0; } to { opacity: 1; } }
.web__svg { display: block; width: 100%; height: auto; }
.web__dial path { stroke: #64748b; stroke-width: 2; }
.web__dial .web__dial-s { stroke: #475569; stroke-width: 1.2; }
.web__dial text { fill: #cbd5e1; font-size: 32px; font-weight: 700; text-anchor: middle; font-family: var(--font); }
.web__frame, .web__spokes { fill: none; stroke: rgba(148,163,184,.5); stroke-width: 1.1; }
.web__rings { fill: none; stroke: rgba(148,163,184,.62); stroke-width: 1.1; }
.web__hub { fill: none; stroke: rgba(148,163,184,.4); stroke-width: .9; }
.web__cut { cursor: pointer; }
.web__dg { fill: none; stroke-width: 2; stroke-linecap: round; transition: stroke .15s; }
.web__end { transition: fill .15s; }
.web__hit { fill: none; stroke: transparent; stroke-width: 24; pointer-events: stroke; }
.web__flash { fill: none; stroke: #e0f2fe; stroke-width: 1.5; pointer-events: none; }
.is-disclosed .web__dg { stroke: #60a5fa; }
.is-disclosed .web__end { fill: #60a5fa; }
.is-undisclosed .web__dg { stroke: #fbbf24; }
.is-undisclosed .web__end { fill: #fbbf24; }
.web__cut:hover .web__dg, .web__cut.is-on .web__dg { stroke: #fff; stroke-width: 3.2; }
.web__cut:hover .web__end, .web__cut.is-on .web__end { fill: #fff; }
.web__spider { pointer-events: none; }
.web__leg { fill: none; stroke: #93c5fd; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.web__palp { fill: none; stroke: #93c5fd; stroke-width: 1.2; stroke-linecap: round; }
.web__abd, .web__thx { fill: #0f172a; stroke: #93c5fd; stroke-width: 1.3; }
.web__pat { fill: none; stroke: #3b82f6; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.web__eye { fill: #e0f2fe; }
.web__cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 6px; font-size: 15px; color: #cbd5e1; line-height: 1.6; text-align: center; }
.web__key::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; background: #60a5fa; }
.web__key--undisclosed::before { background: #fbbf24; }
.web__how { flex-basis: 100%; }
.web__tip { position: absolute; z-index: 3; left: 0; top: 0; max-width: 270px; background: #fff; color: var(--ink); border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 12px; font-size: 15px; line-height: 1.55; box-shadow: 0 6px 20px rgba(15,23,42,.35); pointer-events: none; }
.web__tip strong { display: block; font-size: 16px; }
.web__tip span { display: block; color: var(--text); }
.web__tip a { display: inline-block; margin-top: 4px; font-weight: 700; pointer-events: auto; }

/* 部品 */
.block { margin-top: 44px; }
.block__title { position: relative; font-size: clamp(22px, 3.4vw, 28px); margin: 0 0 16px; padding: 0 0 12px 12px; border-left: 5px solid var(--accent); }
.block__title::after { content: ""; position: absolute; left: -5px; right: 0; bottom: 0; height: 8px; pointer-events: none;
  background:
    linear-gradient(#cbd5e1, #cbd5e1) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, #cbd5e1 0 1px, transparent 1px 8px) left bottom / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, #94a3b8 0 1px, transparent 1px 40px) left bottom / 100% 8px no-repeat; }
.block__lead { margin: -4px 0 16px; }
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--accent); font-size: 16px; line-height: 1.4; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn--ghost { background: #fff; color: var(--accent-ink); }
.btn--ghost:hover { background: var(--soft2); color: var(--accent-ink); }
.note { font-size: 15px; color: var(--muted); }
.more { margin: 16px 0 0; font-weight: 700; }
.more a { margin-right: 12px; }
.empty { padding: 20px; background: var(--soft); border-radius: var(--radius); }
.count { font-weight: 700; color: var(--ink); }

/* 数字 */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; background: #fff;
  background-image: repeating-linear-gradient(90deg, #cbd5e1 0 1px, transparent 1px 8px), repeating-linear-gradient(90deg, #94a3b8 0 1px, transparent 1px 40px);
  background-size: 100% 5px, 100% 9px; background-repeat: no-repeat; background-position: 0 0, 0 0; }
.stat__label { margin: 0; font-weight: 700; color: var(--ink); font-size: 15px; }
.stat__num { margin: 4px 0 0; font-size: clamp(34px, 5vw, 46px); font-weight: 900; color: var(--ink); line-height: 1.15; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2px 12px; }
.stat__n { white-space: nowrap; }
.stat__num small { font-size: 17px; margin-left: 4px; font-weight: 700; }
.stat__note { margin: 4px 0 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.card__meta, .card__company, .card__impact, .card__tags { margin: 0; font-size: 15px; }
.card__meta { color: var(--muted); }
.card__title { margin: 0; font-size: 17px; line-height: 1.5; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--accent-ink); text-decoration: underline; }
.card__company { color: var(--ink); font-weight: 700; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.badge, .tag { display: inline-block; font-size: 15px; line-height: 1.5; padding: 1px 9px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.badge--disclosed { background: var(--ok-bg); color: var(--ok); border: 1px solid #a7f3d0; }
.badge--partial { background: var(--soft2); color: var(--accent-ink); border: 1px solid #bfdbfe; }
.badge--undisclosed { background: var(--warn-bg); color: var(--warn); border: 1px solid #fde68a; }
.tag { background: var(--soft); color: var(--ink); border: 1px solid var(--line); font-weight: 600; }
.tag--link { text-decoration: none; }
.tag--link:hover { border-color: var(--accent); }

/* 物差し（inc/site.php の ruler()）。1件ごとに細い目盛り・5件ごとに中・10件ごとに長い目盛り。帯は物差しの上を伸びる */
.ruler { --tick: #64748b; --tick2: #a3adbb; position: relative; display: block; height: 28px; min-width: 0;
  background:
    linear-gradient(var(--tick), var(--tick)) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px calc(1000% / var(--scale))) left bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px calc(500% / var(--scale))) left bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--tick2) 0 1px, transparent 1px calc(100% / var(--scale))) left bottom / 100% 5px no-repeat; }
.ruler::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 14px; background: var(--tick); }
.ruler__band { position: absolute; left: 0; top: 2px; height: 10px; background: var(--accent); border-radius: 0 2px 2px 0; }
.ruler__band::after { content: ""; position: absolute; right: -1px; top: -2px; width: 2px; height: 26px; background: var(--ink); }
.ruler__band[data-zero]::after { background: #94a3b8; }
.ruler__mark { position: absolute; top: -4px; bottom: 0; border-left: 2px dotted var(--ink); }
.ruler--muted .ruler__band, .bars__row--muted .ruler__band { background: #94a3b8; }
.ruler-box { display: block; }
.ruler-axis { position: relative; display: block; height: 24px; font-size: 15px; line-height: 24px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ruler-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ruler-axis span:first-child { transform: none; }
.ruler-axis span:last-child { transform: translateX(-100%); }

/* 原因の種類ごとの件数（物差し） */
.bars__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars__row { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 4.5em; align-items: center; gap: 12px; }
.bars__row--axis { margin-bottom: 2px; }
.bars__label { font-weight: 700; font-size: 15px; color: var(--ink); }
.bars__num { text-align: right; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

/* 件数のゲージ（一覧・原因の種類） */
.gauge { max-width: 760px; margin: 4px 0 20px; }
.gauge__count { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 12px; margin: 0 0 8px; }
.gauge__lbl { font-weight: 700; align-self: center; }
.gauge__num { font-size: 40px; font-weight: 900; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__num small { font-size: 17px; margin-left: 3px; }
.gauge__of { font-weight: 700; color: var(--muted); }

/* 聖刻文字の数字（inc/site.php の hiero()）。位ごとに積む。飾りなので読み上げない */
@font-face { font-family: "IR Hieroglyph"; src: url("../fonts/hieroglyph-numerals.woff2") format("woff2"); font-display: swap; unicode-range: U+13000-1342F; }
.hiero { display: inline-flex; align-items: flex-end; gap: 0 .4em; font-family: "IR Hieroglyph", "Noto Sans Egyptian Hieroglyphs", "Segoe UI Historic", serif; font-size: 24px; line-height: 1; font-weight: 400; color: var(--accent-ink); letter-spacing: 0; white-space: nowrap; vertical-align: bottom; padding-bottom: 4px; }
.hiero__g { display: inline-grid; grid-template-columns: repeat(var(--c), auto); gap: 2px 1px; justify-items: center; align-items: end; }
.hiero--hero { font-size: 30px; color: #93c5fd; padding-bottom: 8px; }

.entry { background: var(--soft2); border-radius: var(--radius); padding: 18px 20px; }
.entry p { margin: 0 0 12px; }
.entry__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }

/* ページの頭 */
.page-head { margin: 22px 0 22px; }
.page-head h1 { font-size: clamp(26px, 4.4vw, 36px); margin: 6px 0 10px; }
.page-head__eyebrow { margin: 0; color: var(--accent-ink); font-weight: 700; }
.page-head__lead { font-size: 17px; }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.dates { font-size: 15px; color: var(--muted); margin: 0; }

/* 一覧 */
.filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.filter { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 700; color: var(--ink); min-width: 0; }
.filter select, .form select, .form input, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 10px; width: 100%; min-width: 0; }
.filters__btns { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.table-wrap { margin-top: 8px; }
.itable { width: 100%; border-collapse: collapse; font-size: 15px; }
.itable th { text-align: left; color: var(--ink); background: var(--soft); border-bottom: 2px solid var(--ink); padding: 8px; white-space: nowrap; font-size: 15px; }
.itable td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.itable .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.itable__main a { font-weight: 800; color: var(--ink); }
.itable__title { display: block; color: var(--muted); }
.sort { font: inherit; font-weight: 800; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.sort::after { content: " ↕"; color: #9ca3af; }
th[aria-sort="descending"] .sort::after { content: " ↓"; color: var(--accent); }
th[aria-sort="ascending"] .sort::after { content: " ↑"; color: var(--accent); }

/* 事件のページ */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.article h2 { font-size: clamp(21px, 3vw, 25px); margin: 40px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.article h3 { font-size: 18px; margin: 22px 0 8px; }
.summary { background: var(--soft2); border: 1px solid #bfdbfe; border-radius: var(--radius); padding: 18px 20px; }
.summary h2 { margin: 0 0 10px; border: 0; padding: 0; font-size: 20px; }
.summary__lead { font-weight: 700; color: var(--ink); }
.summary__dl { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 6px 12px; margin: 0; }
.summary__dl dt { font-weight: 800; color: var(--accent-ink); }
.summary__dl dd { margin: 0; color: var(--ink); }
.facts { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-weight: 700; color: var(--ink); padding-right: 12px; }
.status-line { display: flex; flex-wrap: wrap; gap: 6px; }
.box { border-radius: var(--radius); padding: 4px 20px 16px; margin-top: 36px; }
.box h2 { border: 0; margin-top: 14px; }
.box--user { background: var(--ok-bg); border: 1px solid #a7f3d0; }
.box--ops { background: var(--soft); border: 1px solid var(--line); }
.checks { padding-left: 0; list-style: none; }
.checks li { position: relative; padding-left: 28px; margin: 6px 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 16px; border: 2px solid var(--accent); border-radius: 4px; background: #fff; }
.refs { font-size: 15px; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--line); }
.timeline li { padding: 0 0 14px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: .5em; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); }
.timeline time { font-weight: 800; color: var(--ink); }
.timeline p { margin: 2px 0 0; }
.srcref { font-size: 15px; white-space: nowrap; }
.sources { padding-left: 1.2em; }
.sources li { margin: 6px 0; }
.sources__id { color: var(--muted); margin-right: 4px; }
.side__box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; position: sticky; top: 16px; }
.side__h { margin: 0 0 6px; font-weight: 800; color: var(--ink); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 5px 0; font-size: 15px; color: var(--text); text-decoration: none; }
.side li a:hover, .side li a[aria-current] { color: var(--accent-ink); font-weight: 700; }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.pills a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.pills a:hover { border-color: var(--accent); }

/* 文章のページ */
.prose h2 { font-size: 22px; margin: 32px 0 8px; }

/* フォーム */
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.req, .opt { font-size: 15px; font-weight: 700; margin-left: 4px; }
.req { color: var(--red); }
.opt { color: var(--muted); }
.field__help { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.field__err { margin: 4px 0 0; color: var(--red); font-weight: 700; font-size: 15px; }
.form [aria-invalid="true"] { border-color: var(--red); background: var(--red-bg); }
.form__privacy { font-size: 15px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 8px; background: var(--warn-bg); border: 1px solid #fde68a; color: #78350f; font-weight: 700; }
.alert--info { background: var(--soft2); border-color: #bfdbfe; color: var(--ink); }
.alert--error { background: var(--red-bg); border-color: #fecaca; color: #7f1d1d; }

/* 広告の枠（ADS_ENABLED が true のときだけ出る） */
.ad-slot { margin: 32px auto; min-height: 0; }

/* 足 */
.site-foot { background: var(--ink); color: #cbd5e1; padding: 40px 0 20px; margin-top: 40px;
  background-image: repeating-linear-gradient(90deg, rgba(148,163,184,.5) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgba(148,163,184,.8) 0 1px, transparent 1px 50px);
  background-size: 100% 6px, 100% 11px; background-repeat: no-repeat; }
.site-foot__glyph { font-size: 15px; color: #cbd5e1; margin: 22px auto 0; }
.site-foot__glyph a { color: #e2e8f0; }
.site-foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-foot__name, .site-foot__h { color: #fff; font-weight: 800; margin: 0 0 8px; }
.site-foot p { font-size: 15px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { color: #e2e8f0; font-size: 15px; text-decoration: none; display: inline-block; padding: 3px 0; }
.site-foot li a:hover { text-decoration: underline; color: #fff; }
.site-foot__copy { font-size: 15px; color: #94a3b8; margin-top: 20px; }

/* タブレット */
@media (max-width: 1000px) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side__box { position: static; }
}
/* スマホ */
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .cards--2 { grid-template-columns: minmax(0, 1fr); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bars__row { grid-template-columns: minmax(0, 1fr) 4em; gap: 2px 10px; }
  .bars__label { grid-column: 1 / -1; }
  .bars__row--axis > span:empty:first-child { display: none; }
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .web { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .site-foot__in { grid-template-columns: minmax(0, 1fr); }
  /* 表はカードの形にする（横にはみ出さないように） */
  .itable thead { display: none; }
  .itable, .itable tbody, .itable tr, .itable td { display: block; width: 100%; }
  .itable tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 14px; }
  .itable td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 8px; padding: 6px 0; text-align: left !important; white-space: normal !important; }
  .itable td:last-child { border-bottom: 0; }
  .itable td::before { content: attr(data-label); font-weight: 700; color: var(--muted); }
  .itable td.itable__main { display: block; }
  .itable td.itable__main::before { content: none; }
  .hero { padding: 20px 0 32px; }
}
@media (max-width: 400px) {
  .stats { gap: 8px; }
  .stat { padding: 12px; }
}
.itable td.nowrap { white-space: nowrap; }

/* 動きを減らす設定：巣は完成した絵のまま（web.js も動かさない） */
@media (prefers-reduced-motion: reduce) {
  .web__stage { animation: none; }
  .web__dg, .web__end { transition: none; }
}
/* web.js の演出中：まだ切れていない糸（ふつうの糸と同じ見た目） */
.web__cut.is-whole .web__dg { stroke: rgba(148,163,184,.62); stroke-width: 1.1; transition: none; }
.web__cut.is-whole .web__end { opacity: 0; }

/* 国（2026-10-09〜 海外の事件）。会社名の前の小さな札と、トップの国の一覧 */
.country{display:inline-block;margin-right:.4em;padding:.05em .5em;border:1px solid var(--accent);border-radius:999px;color:var(--accent);font-size:15px;font-weight:700;line-height:1.5;vertical-align:.1em;text-decoration:none}
a.country:hover{background:var(--accent);color:#fff}
.countries{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0;padding:0;list-style:none}
.countries li{display:flex;align-items:center;gap:.4rem;padding:.4rem .8rem;border:1px solid #e5e7eb;border-radius:999px;background:#fff}
.countries a{font-weight:700;color:var(--ink);text-decoration:none}
.countries a:hover{color:var(--accent)}
.countries span{color:#6b7280;font-size:15px}

/* 読みもの（2026-10-09〜 /report/{slug}/）。本文は data/reports/{slug}.html */
.card__desc { margin: 0; font-size: 15px; color: var(--text); }
.report__scope { margin: 10px 0 0; }
.report__eyecatch { display: block; width: 100%; height: auto; margin: 4px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.card__img { display: block; width: 100%; height: auto; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 6px; }
.report__body p { margin: 0 0 1em; }
.report__body h2 { font-size: clamp(21px, 3vw, 25px); margin: 44px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.report__body h3 { font-size: 18px; margin: 26px 0 8px; }
.report__body ul, .report__body ol { padding-left: 1.3em; margin: 0 0 1em; }
.report__body li { margin: 4px 0; }
.report__body blockquote { margin: 14px 0; padding: 10px 16px; border-left: 4px solid var(--accent); background: var(--soft); color: var(--ink); }
.report__body blockquote p { margin: 0; }
.report__body blockquote cite { display: block; margin-top: 4px; font-size: 15px; font-style: normal; color: var(--muted); }
.report__body .point { background: var(--soft2); border: 1px solid #bfdbfe; border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; color: var(--ink); }
.report__body .point p:last-child { margin-bottom: 0; }
.rtable-wrap { margin: 12px 0 18px; }
.rtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.rtable caption { text-align: left; font-weight: 800; color: var(--ink); padding: 0 0 6px; }
.rtable th, .rtable td { border-bottom: 1px solid var(--line); padding: 9px 8px; vertical-align: top; text-align: left; }
.rtable thead th { background: var(--soft); border-bottom: 2px solid var(--ink); color: var(--ink); }
.rtable td[data-label="公表日"] { white-space: nowrap; }
.report__body { margin-top: 22px; }
.rtable .num { text-align: right; white-space: nowrap; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.rbars { list-style: none; padding: 0 !important; margin: 10px 0 18px !important; display: grid; gap: 6px; }
.rbars li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 3.5em; gap: 10px; align-items: center; margin: 0 !important; }
.rbars__label { font-size: 15px; font-weight: 700; color: var(--ink); }
.rbars__bar { display: block; height: 12px; background: var(--soft); border-radius: 2px; position: relative; }
.rbars__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 2px; }
.rbars__bar--muted i { background: #94a3b8; }
.rbars__num { text-align: right; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .rbars li { grid-template-columns: minmax(0, 1fr) 3.5em; gap: 2px 10px; }
  .rbars__label { grid-column: 1 / -1; }
  .rtable thead { display: none; }
  .rtable caption { display: block; width: 100%; }
  .rtable, .rtable tbody, .rtable tr, .rtable td, .rtable th { display: block; width: 100%; }
  .rtable tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 6px 12px; }
  .rtable td, .rtable tbody th { border-bottom: 0; padding: 4px 0; }
  .rtable .num { text-align: left; }
  .rtable td[data-label]::before { content: attr(data-label) "："; font-weight: 700; color: var(--muted); }
}

/* 今週の発表（2026-10-13） */
.weekly { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid #e5e7eb; }
.weekly__item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #e5e7eb; font-size: 15px; line-height: 1.7; color: #374151; }
.weekly__item time { flex: none; width: 6.5em; color: #4b5563; }
.weekly__body a:first-child { font-weight: 700; }
.weekly__src { margin-left: 8px; font-size: 15px; white-space: nowrap; }
.weekly-nav h2 { font-size: 17px; margin: 0 0 8px; color: var(--ink); }
.weekly-nav ul { margin: 0 0 12px; padding-left: 1.2em; font-size: 15px; line-height: 1.9; }
@media (max-width: 600px) { .weekly__item { flex-direction: column; gap: 2px; } .weekly__item time { width: auto; } }
