:root {
      --navy: #132b55;
      --blue: #284b83;
      --red: #e13a3a;
      --green: #2d6a3e;
      --bg: #f4f8fc;
      --border: #d8e3f1;
      --text: #1d2b3f;
      --muted: #64748b;
      --wide: 1080px;
      --db: #0f4c5c;
      --db-light: #e6f4f7;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
      background: #e8eef5;
      color: var(--text);
      line-height: 1.6;
    }
    .mock-banner {
      position: sticky;
      top: 0;
      z-index: 99;
      padding: 10px 16px;
      background: linear-gradient(90deg, #0f4c5c, #132b55);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }
    .page { max-width: var(--wide); margin: 24px auto 80px; padding: 0 16px; }

    .hero {
      padding: 28px;
      border-radius: 18px;
      background: linear-gradient(135deg, #fff 0%, var(--bg) 100%);
      border: 1px solid var(--border);
      box-shadow: 0 16px 40px rgba(19, 43, 85, .08);
    }
    .kicker { color: var(--db); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
    .hero h1 { margin: 10px 0 8px; color: var(--navy); font-size: 26px; line-height: 1.45; }
    .hero-sub { color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 16px; }

    /* DB Snapshot */
    .db-snapshot {
      padding: 18px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--navy) 0%, #1a3d6b 100%);
      color: #fff;
    }
    .db-snapshot-head {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 14px;
    }
    .voxy-db-page .db-snapshot-head h2 {
      margin: 0 0 0 0;
      padding: 0 0 0 0;
      font-size: 15px;
      font-weight: 900;
    }
    .db-fresh {
      padding: 3px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.15);
      font-size: 10px;
      font-weight: 800;
    }
    .db-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }
    .db-stat {
      padding: 12px 10px;
      border-radius: 10px;
      background: rgba(255,255,255,.1);
      text-align: center;
    }
    .db-stat b {
      display: block;
      font-size: 20px;
      font-weight: 900;
      line-height: 1.2;
    }
    .db-stat span { font-size: 10px; opacity: .85; font-weight: 700; }
    .db-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }
    .db-btn {
      padding: 8px 14px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 900;
      text-decoration: none;
    }
    .db-btn.primary { background: #fff; color: var(--navy); }
    .db-btn.secondary { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.3); }

    .db-sources {
      margin-top: 14px;
      padding: 14px 16px;
      border-radius: 12px;
      background: #fff;
      border: 1px solid var(--border);
    }
    .voxy-db-page .db-sources h3 {
  margin: 0 0 8px 0;
  padding: 0 0 0 0;
  font-weight: bold;
  font-size: 13px;
  color: var(--navy);
}
    .db-source-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }
    .db-source {
      padding: 10px;
      border-radius: 8px;
      background: var(--bg);
      font-size: 11px;
      font-weight: 700;
      text-align: center;
    }
    .db-source em { display: block; font-style: normal; color: var(--db); font-size: 10px; margin-bottom: 2px; }

    .flywheel {
      margin: 18px 0;
      padding: 14px;
      border-radius: 12px;
      background: var(--db-light);
      border: 1px solid #b8dde6;
      font-size: 11px;
      font-weight: 700;
      color: var(--db);
      text-align: center;
    }

    .dashboard { display: grid; gap: 14px; margin-top: 18px; }
    .scope, .toc {
      padding: 18px;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: #fff;
    }
    .voxy-db-page .scope h2,
    .voxy-db-page .toc h2 {
  margin: 0 0 10px 0;
  padding: 0 0 0 0;
  font-weight: bold;
  color: var(--navy);
  font-size: 16px;
}
    .scope ol { padding-left: 1.2em; font-size: 13px; font-weight: 700; }
    .toc-grid { display: grid; gap: 8px; }
    .toc-item {
      display: grid;
      grid-template-columns: 36px 52px 1fr 72px auto;
      gap: 8px;
      align-items: center;
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg);
      font-size: 12px;
      font-weight: 700;
      text-decoration: none;
      color: inherit;
    }
    .toc-item .db-tag {
      font-size: 9px;
      color: var(--db);
      font-weight: 900;
      text-align: right;
    }
    .toc-item span.num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px; height: 32px;
      border-radius: 8px;
      background: var(--navy);
      color: #fff;
      font-size: 12px;
      font-weight: 900;
    }
    .badge {
      display: inline-flex;
      padding: 3px 8px;
      border-radius: 999px;
      font-size: 10px;
      font-weight: 900;
      white-space: nowrap;
    }
    .badge.must { background: #fde8e8; color: var(--red); }
    .badge.do { background: #e8f0fd; color: var(--blue); }
    .badge.proof { background: #eef8ee; color: var(--green); }
    .badge.contract { background: #fff5e6; color: #9a6200; }
    .badge.ref { background: #f0f0f5; color: var(--muted); }
    .badge.db { background: var(--db-light); color: var(--db); }

    .flow {
      margin: 20px 0;
      padding: 14px;
      border-radius: 14px;
      background: #fff;
      border: 1px dashed var(--border);
      font-size: 12px;
      font-weight: 700;
      color: var(--muted);
      text-align: center;
    }
    .flow b { color: var(--navy); }

    .chapter {
      margin-bottom: 28px;
      padding: 22px;
      border: 2px solid var(--border);
      border-radius: 16px;
      background: #fff;
    }
    .chapter.is-core { border-color: #b8c9e8; }
    .chapter.is-new { border-color: #f5c2c2; }
    .chapter.is-db { border-color: #7ec8d8; border-width: 2px; }
    .chapter-label {
      display: inline-flex;
      margin-bottom: 12px;
      padding: 3px 10px;
      border-radius: 999px;
      font-size: 10px;
      font-weight: 900;
    }
    .chapter-label.merge { background: #fde8e8; color: var(--red); }
    .chapter-label.db-heavy { background: var(--db-light); color: var(--db); }

    .ch-head {
      display: grid;
      grid-template-columns: 52px 1fr auto;
      gap: 12px;
      align-items: start;
      margin-bottom: 14px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border);
    }
    .ch-num {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px; height: 44px;
      border-radius: 12px;
      background: var(--navy);
      color: #fff;
      font-size: 15px;
      font-weight: 900;
    }
    .voxy-db-page .ch-head h2 {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  font-weight: bold;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.4;
}
    .ch-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 6px;
      font-size: 10px;
      font-weight: 700;
      color: var(--muted);
    }
    .ch-meta span {
      padding: 2px 8px;
      border-radius: 4px;
      background: var(--bg);
    }

    .db-keybox {
      margin-bottom: 14px;
      padding: 14px 16px;
      border: 1px solid #b8dde6;
      border-radius: 12px;
      background: linear-gradient(180deg, #fff 0%, var(--db-light) 100%);
    }
    .db-keybox > b {
      display: inline-flex;
      margin-bottom: 8px;
      padding: 3px 10px;
      border-radius: 999px;
      background: var(--db);
      color: #fff;
      font-size: 11px;
    }
    .db-keybox ul { list-style: none; display: grid; gap: 6px; }
    .db-keybox li {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 8px;
      font-size: 12px;
      font-weight: 700;
    }
    .db-keybox li i {
      font-style: normal;
      padding: 1px 6px;
      border-radius: 4px;
      background: #fff;
      color: var(--db);
      font-size: 10px;
      font-weight: 900;
      white-space: nowrap;
    }

    .db-widget {
      margin-bottom: 12px;
      padding: 14px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #fff;
    }
    .voxy-db-page .db-widget h4 {
      margin: 0 0 10px 0;
      padding: 0 0 8px 0;
      border-bottom: 1px solid var(--border);
      color: var(--db);
      font-size: 12px;
      font-weight: 900;
    }
    .voxy-db-page .db-widget h4 small {
      float: right;
      color: var(--muted);
      font-size: 10px;
      font-weight: 700;
    }

    .dual-market {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .market-card {
      padding: 16px;
      border-radius: 12px;
      border: 1px solid var(--border);
    }
    .market-card.hero-market {
      background: linear-gradient(180deg, var(--db-light) 0%, #fff 100%);
      border-color: #7ec8d8;
      text-align: center;
    }
    .market-card.hero-market span { font-size: 11px; font-weight: 800; color: var(--db); }
    .market-card.hero-market b { display: block; margin: 6px 0 4px; font-size: 36px; color: var(--navy); line-height: 1; }
    .market-card.hero-market p { font-size: 13px; font-weight: 700; color: var(--text); }
    .market-card.hero-market .sub { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 8px; }
    .market-verdict {
      display: inline-flex;
      margin-top: 10px;
      padding: 6px 14px;
      border-radius: 999px;
      background: var(--navy);
      color: #fff;
      font-size: 12px;
      font-weight: 900;
    }
    .market-footnote {
      margin-top: 10px;
      padding: 10px 12px;
      border-radius: 8px;
      background: #fff;
      border: 1px dashed var(--border);
      font-size: 10px;
      font-weight: 600;
      color: var(--muted);
      text-align: left;
    }
    .judgment-tier {
      display: inline-flex;
      padding: 8px 16px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 900;
    }
    .judgment-tier.good { background: #eef8ee; color: var(--green); }
    .judgment-tier.ok { background: #fff5e6; color: #9a6200; }
    .judgment-tier.bad { background: #fde8e8; color: var(--red); }

    .bar-chart { display: grid; gap: 6px; }
    .bar-row {
      display: grid;
      grid-template-columns: 100px 1fr auto;
      gap: 8px;
      align-items: center;
      font-size: 11px;
      font-weight: 700;
    }
    .bar-track {
      height: 10px;
      border-radius: 999px;
      background: #e8eef5;
      overflow: hidden;
    }
    .bar-fill { height: 100%; border-radius: 999px; background: var(--blue); }
    .bar-fill.warn { background: var(--red); }
    .bar-fill.good { background: var(--green); }

    .judgment-panel {
      padding: 14px;
      border-radius: 10px;
      background: var(--bg);
    }
    .judgment-panel strong { font-size: 14px; color: var(--navy); }
    .data-note {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px !important;
}
    .freq-label {
      font-size: 10px;
      font-weight: 800;
      color: var(--muted);
      white-space: nowrap;
    }
    .freq-label.many { color: var(--red); }
    .freq-label.top { color: var(--navy); }

    .dist-chart {
      margin-top: 10px;
      padding: 12px 10px 8px;
      border-radius: 10px;
      background: #f4f7fb;
      border: 1px solid var(--border);
    }
    .dist-chart-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
      font-size: 10px;
      font-weight: 700;
      color: var(--muted);
    }
    .dist-chart-head strong { color: var(--navy); }
    .dist-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 6px;
      align-items: end;
      height: 100px;
    }
    .dist-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      height: 100%;
      gap: 4px;
    }
    .dist-count {
      font-size: 9px;
      font-weight: 800;
      color: var(--muted);
      line-height: 1;
    }
    .dist-bar {
      width: 100%;
      max-width: 52px;
      border-radius: 4px 4px 0 0;
      background: linear-gradient(180deg, #4a9fd4 0%, var(--blue) 100%);
      box-shadow: inset 0 -2px 0 rgba(0,0,0,.06);
    }
    .dist-bar.you {
      background: linear-gradient(180deg, #f06 0%, var(--red) 100%);
      box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red);
    }
    .dist-range {
      font-size: 9px;
      font-weight: 800;
      color: var(--navy);
      text-align: center;
      line-height: 1.2;
    }
    .dist-col.is-you .dist-range { color: var(--red); }
    .dist-you-tag {
      font-size: 8px;
      font-weight: 900;
      color: #fff;
      background: var(--red);
      padding: 2px 5px;
      border-radius: 4px;
      line-height: 1;
    }

    .rank-list { display: grid; gap: 6px; }
    .rank-item {
      display: grid;
      grid-template-columns: 28px 1fr auto;
      gap: 8px;
      align-items: center;
      padding: 8px 10px;
      border-radius: 8px;
      background: var(--bg);
      font-size: 11px;
      font-weight: 700;
    }
    .rank-item .freq { color: var(--red); font-weight: 900; font-size: 10px; }

    .faq-db {
      padding: 12px;
      border-radius: 10px;
      background: var(--bg);
      border-left: 4px solid var(--db);
    }
    .faq-db dt { font-size: 12px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
    .faq-db dd { font-size: 11px; font-weight: 600; color: var(--text); }
    .faq-db .verdict {
      display: inline-flex;
      margin-top: 6px;
      padding: 2px 8px;
      border-radius: 4px;
      background: #eef8ee;
      color: var(--green);
      font-size: 10px;
      font-weight: 900;
    }

    .h3-grid { display: grid; gap: 10px; }
    .h3-card {
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg);
    }
    .voxy-db-page .h3-card h3 {
  margin: 0 0 4px 0;
  padding: 0 0 0 0;
  font-weight: bold;
  color: var(--blue);
  font-size: 13px;
}
    .h3-card p { font-size: 11px; color: var(--muted); font-weight: 600; }

    .blocks {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 8px;
      margin-top: 8px;
    }
    .block {
      padding: 10px;
      border-radius: 8px;
      background: #fff;
      border: 1px dashed #c5d4e8;
      font-size: 10px;
      font-weight: 700;
      color: var(--muted);
      text-align: center;
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .block.cta { background: #fdeaea; border-color: #f0b4b4; color: var(--red); }
    .block.db { background: var(--db-light); border-color: #b8dde6; color: var(--db); }

    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
    .step {
      padding: 10px 8px;
      border-radius: 10px;
      background: #fff;
      border: 1px solid var(--border);
      font-size: 10px;
      font-weight: 800;
      text-align: center;
      color: var(--navy);
    }
    .step small { display: block; margin-top: 4px; color: var(--db); font-size: 9px; }

    .legend {
      margin-top: 28px;
      padding: 18px;
      border-radius: 14px;
      background: #f8f9fb;
      border: 1px solid var(--border);
      font-size: 11px;
      font-weight: 700;
      color: var(--muted);
    }
    .voxy-db-page .legend h2 {
  margin: 0 0 10px 0;
  padding: 0 0 0 0;
  font-weight: bold;
  font-size: 14px;
  color: var(--navy);
}
    .legend ul { padding-left: 1.2em; display: grid; gap: 4px; }

    @media (max-width: 720px) {
      .db-stats, .db-source-grid, .dual-market { grid-template-columns: 1fr 1fr; }
      .toc-item { grid-template-columns: 32px 1fr; }
      .toc-item .db-tag, .toc-item .badge:last-child { display: none; }
      .steps { grid-template-columns: 1fr; }
    }
.loading { padding: 40px; text-align: center; color: #64748b; font-weight: 700; }
.site-header { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 16px; }
.site-header-inner { max-width: var(--wide); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-header img { height: 32px; width: auto; }
.site-header a { color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.preview-banner { padding: 8px 16px; background: #0f4c5c; color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.preview-banner a { color: #b8dde6; }
.hero-top { display: grid; grid-template-columns: 1fr minmax(280px, 320px); gap: 16px; align-items: start; margin-bottom: 16px; }
.hero-supervisor { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-size: 11px; margin-top: 12px; }
.hero-supervisor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.hero-supervisor strong { display: block; color: var(--navy); font-size: 13px; }
.hero-supervisor ul { margin-top: 4px; padding-left: 1.1em; color: var(--muted); font-weight: 600; }
.hero-car img { width: 100%; border-radius: 12px; }
.article-img { margin: 12px 0; text-align: center; }
.article-img img { max-width: 100%; height: auto; border-radius: 10px; }
.cta-card { display: block; margin: 12px 0; padding: 16px; border-radius: 12px; background: linear-gradient(135deg, #fdeaea, #fff); border: 1px solid #f0b4b4; text-decoration: none; color: var(--navy); }
.cta-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.cta-card span { font-size: 12px; color: var(--red); font-weight: 800; }
.page-footer { margin-top: 32px; padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-size: 12px; color: var(--muted); font-weight: 600; }
.page-footer a { color: var(--blue); }
.block a { color: inherit; text-decoration: none; width: 100%; display: flex; align-items: center; justify-content: center; }
@media (max-width: 720px) { .hero-top { grid-template-columns: 1fr; } .hero-car { order: -1; width: 100%; } .hero-car img { width: 100%; max-width: none; } }
