
    :root {
      color-scheme: light dark;
      --bg: #f7f7f8;
      --panel: #ffffff;
      --text: #151515;
      --muted: #666;
      --line: #e6e6e8;
      --accent: #d83a56;
      --accent-bg: #fff0f3;
      --shadow: 0 12px 30px rgba(0,0,0,.08);
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #111114;
        --panel: #1a1a1f;
        --text: #f4f4f5;
        --muted: #a1a1aa;
        --line: #2a2a31;
        --accent: #ff637f;
        --accent-bg: #2a151b;
        --shadow: 0 12px 30px rgba(0,0,0,.35);
      }
    }

    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
    }

    a { color: inherit; text-decoration: none; }
    .wrap { width: min(1120px, calc(100% - 32px)); margin: auto; }

    header {
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(16px);
      background: color-mix(in srgb, var(--bg) 82%, transparent);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      font-weight: 800;
      letter-spacing: .02em;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      font-size: 14px;
      color: var(--muted);
    }

    .hero {
      padding: 72px 0 40px;
      display: grid;
      grid-template-columns: 1.25fr .75fr;
      gap: 32px;
      align-items: center;
    }

    .badge {
      display: inline-flex;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--accent-bg);
      color: var(--accent);
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 18px;
    }

    h1 {
      font-size: clamp(28px, 4.2vw, 42px);
      line-height: 1.3;
      margin: 0 0 20px;
      letter-spacing: .01em;
    }

    .lead {
      font-size: 18px;
      color: var(--muted);
      margin: 0 0 28px;
    }

    .cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 16px 26px;
      border-radius: 16px;
      background: var(--accent);
      color: #fff;
      font-weight: 800;
      font-size: 17px;
      box-shadow: var(--shadow);
    }

    .cta-note {
      margin: 12px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .hero-card, .card {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 24px;
      padding: 22px;
      box-shadow: var(--shadow);
    }

    .stat {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid var(--line);
    }

    .stat:last-child { border-bottom: 0; }
    .stat span { color: var(--muted); }
    .stat strong { font-size: 18px; }

    section { padding: 34px 0; }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 16px;
      margin-bottom: 18px;
    }

    h2 {
      font-size: 28px;
      line-height: 1.25;
      margin: 0;
      letter-spacing: -.03em;
    }

    .section-head p {
      margin: 6px 0 0;
      color: var(--muted);
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .card h3 { margin: 0 0 8px; font-size: 18px; }
    .card p { margin: 0; color: var(--muted); font-size: 14px; }

    .table {
      overflow: hidden;
      border-radius: 22px;
      border: 1px solid var(--line);
      background: var(--panel);
    }

    .row {
      display: grid;
      grid-template-columns: 1.2fr repeat(3, 1fr);
      gap: 12px;
      padding: 16px 18px;
      border-bottom: 1px solid var(--line);
      align-items: center;
    }

    .row:last-child { border-bottom: 0; }
    .row.head {
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }

    .pill {
      display: inline-flex;
      padding: 4px 9px;
      border-radius: 999px;
      background: var(--accent-bg);
      color: var(--accent);
      font-size: 12px;
      font-weight: 700;
    }

    .links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .links a {
      padding: 10px 14px;
      border-radius: 999px;
      background: var(--panel);
      border: 1px solid var(--line);
      color: var(--muted);
      font-size: 14px;
    }

    footer {
      margin-top: 40px;
      padding: 36px 0;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 14px;
    }

    footer p { margin: 0 0 10px; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
    .credit { font-size: 13px; }
    .r18 { font-weight: 700; color: var(--text); }

    @media (max-width: 820px) {
      .hero { grid-template-columns: 1fr; padding-top: 48px; }
      .grid { grid-template-columns: 1fr; }
      .row { grid-template-columns: 1.1fr .9fr; }
      .row span:nth-child(3), .row span:nth-child(4) { display: none; }
      .nav-links { display: none; }
    }
  
.crumbs{padding:14px 0 0;color:var(--muted);font-size:13px}
.crumbs a{color:var(--accent)}
.tbl-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
table.data{border-collapse:collapse;width:100%;font-size:14px}
table.data th,table.data td{padding:11px 14px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}
table.data th{position:sticky;top:0;background:var(--panel);cursor:pointer;color:var(--muted);font-size:13px;user-select:none}
table.data th[data-type=num]{text-align:right}
table.data td.num{text-align:right;font-variant-numeric:tabular-nums}
table.data tbody tr:hover{background:var(--accent-bg)}
.kana-nav{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 8px}
.kana-nav a{padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-weight:700}
.note{color:var(--muted);font-size:13px;margin-top:10px}
.cov-list{margin:8px 0 0;padding-left:1.2em;color:var(--text);font-size:14px;line-height:1.95}
.cov-list strong{color:var(--text)}
.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:6px 0 4px}
.metric{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:16px}
.metric b{display:block;font-size:26px}
.metric span{color:var(--muted);font-size:13px}
.article{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px 24px;margin:0 0 18px;line-height:1.85}
.article h1{font-size:24px;margin:0 0 14px}
.article h2{font-size:19px;margin:22px 0 8px}
.article h3{font-size:16px;margin:16px 0 6px}
.article p{margin:10px 0;color:var(--text)}
.article ul{margin:10px 0;padding-left:1.2em}
.article a{color:var(--accent)}
.art-date{color:var(--muted);font-size:13px}
.work-card{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--bg);padding:12px;margin:14px 0;text-decoration:none}
.work-card:hover{background:var(--accent-bg)}
.work-thumb{flex:0 0 120px}
.work-thumb img{width:120px;height:auto;border-radius:8px;display:block}
.work-title{font-weight:700;color:var(--text);margin-bottom:6px}
.work-badges{display:flex;flex-wrap:wrap;gap:6px}
.badge-sm{font-size:12px;padding:3px 8px;border-radius:999px;background:var(--accent-bg);color:var(--accent);border:1px solid var(--line)}
.badge-sm.off{color:var(--muted);background:transparent}
.work-card.missing{color:var(--muted);font-size:13px;display:block}
.pickup-card .pickup-thumb img{width:100%;height:150px;object-fit:cover;border-radius:12px;margin-bottom:10px;display:block}
.trend-row{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--line)}
.trend-k{flex:0 0 96px;color:var(--muted);font-size:13px;padding-top:3px}
.trend-row > div{display:flex;flex-wrap:wrap;gap:6px;flex:1}
.trend-note{margin:10px 0 2px;color:var(--text);font-size:14px}
.erabar{display:flex;width:100%;height:14px;border-radius:8px;overflow:hidden;background:var(--bg)}
.erabar .seg{height:100%}
.seg.s0,.dot.s0{background:var(--accent)}
.seg.s1,.dot.s1{background:#7aa2ff}
.seg.s2,.dot.s2{background:#b8c2d9}
.seg.s3,.dot.s3{background:#e3e7ef}
.erabar-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;color:var(--muted);font-size:12px;width:100%}
.erabar-legend i.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}
footer .beta{color:var(--text);font-size:13px;background:var(--accent-bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:10px 0}
footer .beta strong{color:var(--accent)}
