﻿
/* Local-only aliases keep legacy selectors readable without network font requests. */
@font-face {
  font-display: swap;
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 100 900;
  src: local("Noto Sans JP"), local("Yu Gothic"), local("YuGothic"), local("Meiryo");
}

@font-face {
  font-display: swap;
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 100 900;
  src: local("Noto Serif JP"), local("Yu Mincho"), local("YuMincho"), local("Hiragino Mincho ProN");
}

@font-face {
  font-display: swap;
  font-family: "Klee One";
  font-style: normal;
  font-weight: 400;
  src: local("Klee One"), local("Klee"), local("UD Digi Kyokasho N"), local("Yu Mincho"), local("Meiryo");
}

@font-face {
  font-display: swap;
  font-family: "Klee One";
  font-style: normal;
  font-weight: 500 900;
  src: local("Klee One SemiBold"), local("Klee SemiBold"), local("UD Digi Kyokasho N Bold"), local("Yu Mincho Demibold"), local("Meiryo Bold");
}

:root {
  color-scheme: light;
  --bg: #f5f1e7;
  --paper: #fffdf8;
  --paper-soft: #faf6ea;
  --ink: #171918;
  --text: #30342f;
  --muted: #72766f;
  --line: #ddd4c2;
  --line-strong: #a99f8d;
  --green: #2e6b57;
  --green-dark: #174738;
  --green-soft: #e8f2ec;
  --blue: #285f8f;
  --blue-soft: #e8f1f8;
  --amber: #a9631b;
  --amber-soft: #fff1d9;
  --red: #a5442c;
  --red-soft: #fde9df;
  --shadow: 0 18px 46px rgba(40, 35, 26, 0.08);
  font-family:
    "Noto Sans JP", "Noto Sans", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "palt" 1;
}

/* WO-008 B3 newspaper redesign */
:root {
  --bg: #f6f2e8;
  --paper: #fffdf8;
  --ink: #1a1c1a;
  --text: #33362f;
  --muted: #75796f;
  --line: #e0d8c6;
  --green: #20604b;
  --green-soft: #e8f2ec;
  --blue: #28618f;
  --blue-soft: #eaf1f8;
  --amber: #a9631b;
  --amber-soft: #fdf3e3;
  --red: #a5442c;
  --red-soft: #fbeee9;
  --marker: #ffe58a;
  --stamp: #c0392b;
  --pencil: #8a8478;
  --radius: 8px;
  --gap: 40px;
}

html {
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

/* キーボード操作のフォーカス可視化（従来サイト全体で未定義）。offsetで暗色ボタンでも紙地側に枠が出る */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* 暗色パネル内のリンク/ボタンは明るいアウトラインで視認性を確保 */
.article-meta-panel :focus-visible,
.service-score-panel :focus-visible,
.article-consult-panel :focus-visible,
.consult-panel :focus-visible,
.editor-note :focus-visible {
  outline-color: #add0bf;
}

/* 本文へ飛ぶスキップリンク（各ページの body 直後に配置） */
.skip-link {
  background: var(--ink);
  color: var(--paper);
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -60px;
  transition: top 140ms ease;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  margin: 0 auto;
  max-width: 1160px;
  padding: 0 24px;
}

.sr-only {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.hand,
.kicker {
  color: var(--pencil);
  font-family: "Klee One", cursive;
  font-weight: 600;
  letter-spacing: 0;
}

.tag,
.tag-pill,
.feed-type,
.service-label,
.article-kicker {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  line-height: 1;
  padding: 6px 10px;
}

.tag::before,
.tag-pill::before,
.feed-type::before,
.service-label::before,
.article-kicker::before {
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.tag.news,
.feed-type.news {
  background: var(--red-soft);
  color: var(--red);
}

.tag.tool,
.feed-type.tool {
  background: var(--blue-soft);
  color: var(--blue);
}

.tag.case,
.feed-type.case {
  background: var(--green-soft);
  color: var(--green);
}

.tag.guide,
.feed-type.guide,
.tag-pill {
  background: var(--amber-soft);
  color: var(--amber);
}

.tag.news::before,
.feed-type.news::before {
  background: var(--red);
}

.tag.tool::before,
.feed-type.tool::before {
  background: var(--blue);
}

.tag.case::before,
.feed-type.case::before {
  background: var(--green);
}

.tag.guide::before,
.feed-type.guide::before,
.tag-pill::before {
  background: var(--amber);
}

.mast {
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
}

.mast-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  min-height: 36px;
}

.mast-main {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 360px) 1fr;
  padding-bottom: 18px;
  padding-top: 18px;
}

.daiji {
  color: var(--ink);
  display: inline-grid;
  font-family: "Noto Serif JP", serif;
  gap: 5px;
  text-decoration: none;
}

.daiji strong {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 900;
  line-height: 0.95;
}

.daiji small {
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.rules {
  border-bottom: 4px double var(--ink);
  display: block;
  height: 0;
}

.global-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: end;
}

.global-nav a {
  border-bottom: 2px solid transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 0;
  text-decoration: none;
}

.global-nav a:hover {
  border-color: var(--ink);
}

.site-header {
  align-items: end;
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  padding: 18px max(20px, calc((100vw - 1160px) / 2));
  position: static;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: grid;
  gap: 10px;
  grid-template-columns: 40px minmax(0, 1fr);
  text-decoration: none;
}

.brand-mark {
  background: center / contain no-repeat url("favicon.svg");
  color: transparent;
  display: block;
  height: 40px;
  width: 40px;
}

.brand strong {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}

.header-cta,
.compare-cta,
.text-link,
.ghost-link,
.selected-link,
.featured-link {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  display: inline-flex;
  font-weight: 800;
  min-height: 40px;
  padding: 0 16px;
  text-decoration: none;
}

.header-cta:hover,
.compare-cta:hover,
.text-link:hover,
.ghost-link:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  border-bottom: 1px solid var(--line);
  padding: 42px 0 48px;
}

.hero-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.hero-copy h1 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
  margin: 12px 0 18px;
}

.mkr {
  background: linear-gradient(transparent 58%, var(--marker) 58%);
  padding: 0 4px;
}

.lede {
  font-size: 17px;
  line-height: 1.9;
  margin: 0;
  max-width: 620px;
}

.search {
  background: var(--paper);
  border: 2px solid var(--ink);
  display: grid;
  gap: 0;
  grid-template-columns: 1fr auto;
  margin-top: 28px;
  max-width: 620px;
}

.search input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  min-height: 54px;
  min-width: 0;
  padding: 0 16px;
}

.search button {
  background: var(--ink);
  border: 0;
  color: var(--paper);
  font: inherit;
  font-weight: 900;
  min-width: 88px;
}

.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  min-height: 34px;
  padding: 0 12px;
}

.chip:hover {
  border-color: var(--ink);
}

.feed {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(26, 28, 26, 0.08);
  padding: 22px;
}

.feed-head {
  align-items: center;
  border-bottom: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.feed-head p {
  margin: 0;
}

.latest-row {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 46px 74px 1fr;
  padding: 14px 0;
}

.latest-row time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.latest-row strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.band,
.featured-compare,
.b3-archive {
  padding: 52px 0;
}

.band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.sec-h {
  align-items: end;
  border-bottom: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 10px;
}

.sec-h h2 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
}

.sec-h p {
  margin: 0;
}

.feat {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr) minmax(220px, 0.55fr);
}

.feat-main {
  border-right: 1px solid var(--line);
  padding-right: 24px;
  position: relative;
}

.stamp {
  border: 3px solid var(--stamp);
  color: var(--stamp);
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  margin-bottom: 14px;
  padding: 5px 10px;
  transform: rotate(-5deg);
}

.feat-main h3 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  margin: 14px 0;
}

.feat-main p,
.memo p {
  line-height: 1.85;
}

.byline {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 10px;
  margin: 18px 0;
}

.face {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-block;
  height: 30px;
  width: 30px;
}

.feat-list {
  display: grid;
  gap: 0;
}

.feat-list a {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding: 0 0 18px;
  text-decoration: none;
}

.feat-list a + a {
  padding-top: 18px;
}

.feat-list strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

.feat-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.memo {
  align-self: start;
  background: var(--amber-soft);
  border: 1px solid var(--line);
  padding: 18px;
}

.fusen {
  background: var(--marker);
  color: var(--ink);
  display: inline-block;
  font-family: "Klee One", cursive;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 5px 10px;
}

.compare-one {
  max-width: 760px;
}

.compare-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  display: grid;
  gap: 18px;
  padding: 22px;
}

.compare-card-head {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.compare-card h3 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  margin: 10px 0 0;
}

.cnt {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 9px;
  white-space: nowrap;
}

.issue {
  line-height: 1.75;
  margin: 0;
}

.rank-list {
  border-top: 1px solid var(--line);
}

.rank-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 44px 44px 1fr;
  min-height: 70px;
  padding: 12px 0;
  text-decoration: none;
}

.medal {
  align-items: center;
  border-radius: 999px;
  color: var(--paper);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.m1 {
  background: var(--amber);
}

.m2 {
  background: var(--blue);
}

.m3 {
  background: var(--green);
}

.logo-frame {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.logo-frame img {
  max-height: 30px;
  max-width: 30px;
}

.rank-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rank-copy strong {
  color: var(--ink);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.rank-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.more-compare {
  margin-top: 18px;
}

.ghost-link {
  background: transparent;
  color: var(--ink);
}

.b3-archive {
  max-width: 1160px;
}

.b3-archive .archive-main {
  width: 100%;
}

.archive-title {
  border-bottom: 2px solid var(--ink);
  margin-bottom: 20px;
}

.archive-title h2 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
}

.content-feed {
  display: grid;
  gap: 12px;
}

.feed-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 18px;
  text-decoration: none;
}

.feed-item h3 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 21px;
  margin: 0 0 8px;
}

.feed-item p {
  line-height: 1.7;
  margin: 0;
}

.meta-line {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
}

.empty {
  background: var(--paper);
  border: 1px dashed var(--line);
  padding: 24px;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding: 26px max(20px, calc((100vw - 1160px) / 2));
}

@media (max-width: 900px) {
  .wrap {
    padding: 0 18px;
  }

  .mast-main,
  .hero-grid,
  .feat,
  .site-header {
    grid-template-columns: 1fr;
  }

  .mast-main {
    align-items: start;
  }

  .global-nav {
    justify-content: start;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .global-nav a {
    flex: 0 0 auto;
  }

  .hero {
    padding: 32px 0;
  }

  .hero-grid {
    gap: 28px;
  }

  .feed {
    box-shadow: none;
  }

  .feat-main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
    padding-right: 0;
  }

  .latest-row {
    grid-template-columns: 42px 70px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .mast-top {
    align-items: start;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .daiji strong {
    font-size: 38px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .search {
    grid-template-columns: 1fr;
  }

  .search button {
    min-height: 44px;
  }

  .latest-row {
    grid-template-columns: 1fr;
  }

  .sec-h {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .compare-card-head {
    flex-direction: column;
  }

  .rank-row,
  .feed-item {
    grid-template-columns: 1fr;
  }

  .rank-row {
    align-items: start;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  letter-spacing: 0;
  text-align: left;
  vertical-align: top;
}

.site-header {
  align-items: center;
  background: rgba(255, 253, 248, 0.95);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 280px 1fr auto;
  min-height: 66px;
  padding: 0 42px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}

.global-nav {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 26px;
  justify-content: center;
}

.global-nav a {
  border-bottom: 2px solid transparent;
  padding: 23px 0 21px;
}

.global-nav a:hover {
  border-color: var(--green);
  color: var(--ink);
}

.header-cta {
  align-items: center;
  background: var(--ink);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  padding: 0 16px;
  white-space: nowrap;
}

.editorial-front {
  padding: 22px 42px 42px;
}

.front-status {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  padding: 14px 16px;
}

.front-status span,
.front-status strong {
  display: block;
}

.front-status span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.front-status strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  margin-top: 3px;
}

.operation-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.operation-item {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  display: inline-flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 700;
  gap: 1px;
  min-width: 86px;
  padding: 7px 9px;
}

.operation-item strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.05;
}

.breaking-line {
  align-items: center;
  background: #17201c;
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  min-height: 42px;
  overflow: hidden;
  padding: 0 16px;
}

.breaking-line > span {
  color: #add0bf;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

#breaking-list {
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  gap: 20px;
  min-width: 0;
  overflow: hidden;
}

#breaking-list strong {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.workbench-grid {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(480px, 1.42fr) minmax(290px, 0.84fr);
  margin-top: 14px;
}

.kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.weekly-panel {
  background: #17201c;
  color: #fff;
  display: grid;
  gap: 16px;
  min-height: 590px;
  padding: 22px;
}

.weekly-panel .kicker {
  color: #add0bf;
}

.weekly-panel h1 {
  color: #fff;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.weekly-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
}

.weekly-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.weekly-list button {
  background: transparent;
  border: 0;
  color: #fff;
  display: grid;
  gap: 11px;
  grid-template-columns: 34px 1fr;
  padding: 13px 0;
  text-align: left;
  width: 100%;
}

.rank {
  color: #add0bf;
  font-size: 13px;
  font-weight: 800;
  padding-top: 3px;
}

.weekly-list strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.weekly-list small {
  color: rgba(255, 255, 255, 0.62);
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
}

.focus-panel,
.timeline-panel,
.search-compare,
.compare-desk,
.failure-map,
.popular-area,
.vendor-section,
.ad-map {
  background: var(--paper);
  border: 1px solid var(--line);
}

.focus-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.focus-meta {
  align-items: center;
  border-bottom: 3px solid var(--ink);
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
}

.focus-meta span,
.focus-meta time,
.article-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.featured-article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.article-kicker {
  margin: 0 0 8px;
}

.featured-article h2 {
  color: var(--ink);
  font-size: 43px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.13;
  margin: 0;
}

.featured-article p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  margin: 15px 0 0;
}

.feature-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.featured-link {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  margin-top: 16px;
  padding: 0 14px;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.featured-link:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}

.feature-facts span,
.tag-pill,
.feed-type,
.intent-badge,
.change-badge {
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
}

.feature-facts span {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--muted);
}

.tag-row,
.feed-tags,
.vendor-tags,
.mini-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row {
  margin-top: 15px;
}

.tag-pill {
  background: var(--green-soft);
  border: 1px solid #c7dbcf;
  color: var(--green-dark);
}

.comparison-snapshot {
  display: grid;
  gap: 10px;
}

.snapshot-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.snapshot-head h2,
.related-block h2,
.timeline-head h2,
.section-lead h2,
.archive-title h2,
.consult-panel h2 {
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.snapshot-head span {
  background: var(--amber-soft);
  border-radius: 6px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
}

.table-scroll {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-color: var(--line-strong) var(--paper-soft);
  scrollbar-width: thin;
}

.comparison-snapshot table {
  min-width: 0;
}

.compare-table-wrap table {
  min-width: 760px;
}

thead th {
  background: #f1eadb;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 9px 10px;
}

tbody th,
tbody td {
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
  padding: 11px 10px;
}

tbody th {
  color: var(--ink);
  font-weight: 800;
}

.related-block {
  display: grid;
  gap: 8px;
}

.related-list {
  display: grid;
}

.related-list article {
  border-top: 1px solid var(--line);
}

.related-list button {
  background: transparent;
  border: 0;
  display: grid;
  gap: 4px;
  padding: 12px 0;
  text-align: left;
  width: 100%;
}

.related-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.related-list strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.related-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.timeline-panel {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 18px;
  position: sticky;
  top: 84px;
}

.timeline-head {
  border-bottom: 3px solid var(--ink);
  padding-bottom: 12px;
}

.latest-timeline {
  display: grid;
}

.timeline-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 46px 1fr;
  padding: 12px 0;
}

.timeline-item time {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding-top: 2px;
}

.timeline-item span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}

.timeline-item h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.timeline-item p {
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 0;
}

.rail-ad,
.inline-ad {
  background: var(--amber-soft);
  border: 1px solid #e5c586;
  border-radius: 8px;
  color: #624003;
  display: grid;
  gap: 7px;
  padding: 14px;
}

.rail-ad span,
.inline-ad span,
.editor-note span,
.selected-panel > span,
.consult-panel > span,
.ad-slot span {
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  justify-self: start;
  padding: 3px 7px;
}

.rail-ad strong,
.inline-ad strong {
  color: #342300;
  font-size: 15px;
}

.rail-ad p,
.inline-ad p {
  line-height: 1.6;
  margin: 0;
}

.search-compare,
.compare-desk,
.failure-map,
.popular-area,
.archive-grid,
.vendor-section,
.ad-map {
  margin: 0 42px 18px;
}

.search-compare {
  display: grid;
  gap: 24px;
  grid-template-columns: 300px 1fr;
  padding: 26px;
}

.search-copy p:not(.kicker),
.section-lead p {
  color: var(--muted);
  line-height: 1.75;
  margin: 12px 0 0;
}

.search-main {
  display: grid;
  gap: 14px;
}

.search-input {
  display: grid;
  gap: 7px;
}

.search-input span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-input input {
  background: #fff;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  height: 54px;
  outline: none;
  padding: 0 15px;
}

.search-input input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 107, 87, 0.13);
}

.type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button,
.tag-button {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 7px 10px;
}

.filter-button.active,
.tag-button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.category-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 13px;
  text-align: left;
}

.category-card:hover,
.failure-card:hover,
.popular-row:hover,
.feed-item:hover,
.feed-item.active,
.vendor-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.category-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.category-card strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.category-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.category-card em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.tag-cloud {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.compare-desk,
.failure-map,
.popular-area,
.vendor-section,
.ad-map {
  padding: 28px;
}

.section-lead {
  max-width: 760px;
}

.compare-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 340px;
  margin-top: 18px;
}

.compare-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 18px;
}

.compare-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1168px;
}

.compare-table thead th {
  vertical-align: middle;
  white-space: nowrap;
}

.compare-table tbody th,
.compare-table tbody td {
  background: #fff;
  min-width: 110px;
}

.compare-table thead th:first-child,
.compare-table tbody td:first-child {
  min-width: 52px;
  text-align: center;
  width: 52px;
}

.compare-table tbody tr:nth-child(even) th,
.compare-table tbody tr:nth-child(even) td {
  background: #fffdf9;
}

.compare-table .service-column {
  left: 0;
  min-width: 236px;
  position: sticky;
  z-index: 2;
}

.compare-table thead .service-column {
  background: #f1eadb;
  z-index: 4;
}

.compare-table tbody .service-column {
  box-shadow: 1px 0 0 var(--line);
}

.compare-table .service-column strong,
.compare-table .service-column span,
.compare-table td small {
  display: block;
}

.compare-table .service-column span,
.compare-table td small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin-top: 5px;
}

.score-cell {
  white-space: nowrap;
}

.score-cell strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.score-cell span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-left: 2px;
}

.table-rules {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.table-rules div {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding: 12px 14px;
}

.table-rules div:nth-child(3n) {
  border-right: 0;
}

.table-rules div:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.table-rules p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.support-badge,
.price-badge {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  line-height: 1;
  padding: 0 10px;
  white-space: nowrap;
  width: fit-content;
}

.support-yes {
  background: var(--green-soft);
  border-color: #c7dbcf;
  color: var(--green-dark);
}

.support-partial {
  background: var(--blue-soft);
  border-color: #c6d8e7;
  color: var(--blue);
}

.support-check,
.price-inquiry {
  background: var(--amber-soft);
  border-color: #f1d5a4;
  color: var(--amber);
}

.support-no {
  background: var(--red-soft);
  border-color: #efc5b8;
  color: var(--red);
}

.price-unknown {
  background: var(--paper-soft);
  border-color: var(--line);
  color: var(--muted);
}

.table-footnote {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 0 0;
}

.table-rank {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  min-width: 28px;
  padding: 0 8px;
}

.table-link {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-weight: 800;
  padding: 0;
  text-align: left;
}

.table-link:hover {
  color: var(--green);
  text-decoration: underline;
}

.change-badge {
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  min-width: 38px;
  justify-content: center;
}

.editor-note {
  background: #17201c;
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.editor-note span {
  color: #add0bf;
}

.editor-note h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
  margin: 0;
}

.editor-note p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin: 0;
}

.rag-memo-section {
  display: grid;
  gap: 18px;
}

.memo-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  margin-top: 4px;
}

.memo-main {
  min-height: 292px;
}

.memo-main h3 {
  font-size: 28px;
  max-width: 720px;
}

.memo-checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.memo-checklist h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  margin: 0;
}

.memo-checklist ol {
  counter-reset: memo;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.memo-checklist li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  grid-template-columns: 34px 1fr;
  padding: 13px 0;
}

.memo-checklist li::before {
  align-items: center;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  content: counter(memo, decimal-leading-zero);
  counter-increment: memo;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.memo-checklist strong {
  color: var(--ink);
  font-size: 14px;
}

.memo-checklist span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  grid-column: 2;
  line-height: 1.6;
}

.rag-failure-paths {
  margin-top: 0;
}

.failure-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.failure-card small {
  border-top: 1px solid var(--line);
  color: var(--green-dark);
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  padding-top: 10px;
}

.failure-paths {
  display: grid;
  gap: 10px;
  grid-template-columns: 1.15fr 0.9fr 1fr 0.82fr;
  margin-top: 18px;
}

.failure-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 138px;
  padding: 17px;
  text-align: left;
}

.failure-card:nth-child(2) {
  margin-top: 26px;
}

.failure-card:nth-child(4) {
  margin-top: 12px;
}

.failure-card strong {
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.failure-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.popular-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 320px;
  margin-top: 16px;
}

.popular-comparisons {
  background: #fff;
  border: 1px solid var(--line);
}

.popular-row {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  display: grid;
  gap: 12px;
  grid-template-columns: 44px 1.4fr 0.7fr 0.62fr 100px;
  min-height: 60px;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.popular-row:last-child {
  border-bottom: 0;
}

.popular-row strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.popular-row span:not(.table-rank),
.popular-row time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.ranking-grid {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.ranking-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto 1fr auto;
  min-height: 392px;
  padding: 18px;
}

.ranking-card-head {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 70px;
}

.ranking-number {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.ranking-card h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}

.ranking-card-head p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin: 5px 0 0;
}

.ranking-change {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  min-width: 42px;
  padding: 0 10px;
}

.ranking-change.up {
  background: var(--green-soft);
  color: var(--green-dark);
}

.ranking-change.down {
  background: var(--red-soft);
  color: var(--red);
}

.ranking-change.same {
  background: var(--paper-soft);
  color: var(--muted);
}

.ranking-change.new {
  background: var(--amber-soft);
  color: var(--amber);
  min-width: 54px;
}

.ranking-reason {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  padding: 12px;
}

.ranking-reason strong {
  color: var(--ink);
  display: block;
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.ranking-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ranking-facts div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.ranking-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ranking-facts dd {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  margin: 4px 0 0;
}

.ranking-cta {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  text-align: center;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  width: 100%;
}

.ranking-cta:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}

.archive-grid {
  background: transparent;
  border: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 340px;
  padding: 0;
}

.archive-main,
.context-rail {
  min-width: 0;
}

.archive-title {
  align-items: end;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 20px;
}

.archive-title > span {
  background: var(--green-soft);
  border-radius: 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
}

.content-feed {
  display: grid;
  gap: 10px;
}

.feed-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 110px 1fr 98px;
  padding: 17px;
}

.feed-type {
  align-self: start;
  background: var(--green-soft);
  color: var(--green-dark);
  justify-self: start;
}

.feed-item h3 {
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0;
}

.feed-item p {
  color: var(--text);
  line-height: 1.68;
  margin: 8px 0 0;
}

.meta-line {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 9px;
}

.feed-tags {
  margin-top: 10px;
}

.intent-badge {
  align-self: start;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  justify-self: end;
}

.inline-ad {
  margin: 4px 0;
}

.empty {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 20px;
}

.context-rail {
  align-self: start;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 84px;
}

.selected-panel,
.consult-panel,
.mini-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.selected-panel > span {
  color: var(--green);
}

.selected-panel h3,
.mini-panel h3,
.vendor-card h3,
.ad-slot h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.selected-panel p,
.mini-panel p,
.vendor-card p,
.ad-slot p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.selected-link,
.vendor-card a {
  color: var(--green);
  font-weight: 800;
}

.consult-panel {
  background: #17201c;
  border-color: #17201c;
  color: #fff;
}

.consult-panel > span {
  color: #add0bf;
}

.consult-panel h2 {
  color: #fff;
  font-size: 24px;
}

.consult-panel ol {
  counter-reset: consult;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.consult-panel li {
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 10px;
  grid-template-columns: 26px 1fr;
  line-height: 1.55;
}

.consult-panel li::before {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff;
  content: counter(consult);
  counter-increment: consult;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.consult-panel a {
  align-items: center;
  background: #fff;
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  justify-self: start;
  padding: 0 12px;
}

.vendor-list {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.vendor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 13px;
  grid-template-rows: auto auto auto 1fr auto auto;
  min-height: 420px;
  padding: 18px;
}

.vendor-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.vendor-card small {
  color: var(--amber);
  font-weight: 800;
}

.vendor-rank {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
  white-space: nowrap;
}

.vendor-summary {
  min-height: 78px;
}

.vendor-meta {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  margin: 0;
}

.vendor-meta div {
  display: grid;
  gap: 5px;
  padding: 11px 0;
}

.vendor-meta div + div {
  border-top: 1px solid var(--line);
}

.vendor-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.vendor-meta dd {
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.vendor-meta .price-badge {
  margin-right: 6px;
  vertical-align: middle;
}

.vendor-detail-link {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: #fff !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  margin-top: 2px;
  padding: 0 14px;
  text-align: center;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  width: 100%;
}

.vendor-detail-link:hover {
  background: #fff;
  color: var(--ink) !important;
  transform: translateY(-1px);
}

.vendor-pr-slot {
  background: #17201c;
  border: 1px solid #17201c;
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 14px;
  min-height: 420px;
  padding: 18px;
}

.vendor-pr-slot span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: #add0bf;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 42px;
}

.vendor-pr-slot h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
  margin: 0;
}

.vendor-pr-slot p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
  margin: 0;
}

.vendor-pr-slot a {
  align-items: center;
  align-self: end;
  background: #fff;
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  padding: 0 14px;
}

.ad-map {
  background: #17201c;
  border-color: #17201c;
  color: #fff;
  display: grid;
  gap: 26px;
  grid-template-columns: 320px 1fr;
}

.ad-map .kicker {
  color: #add0bf;
}

.ad-map h2,
.ad-map p {
  color: #fff;
}

.ad-map p {
  color: rgba(255, 255, 255, 0.74);
}

.ad-slot-list {
  display: grid;
  gap: 10px;
}

.ad-slot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 90px 1fr;
  padding: 16px;
}

.ad-slot span {
  color: #add0bf;
}

.ad-slot small {
  color: rgba(255, 255, 255, 0.54);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
}

.ad-slot h3 {
  color: #fff;
}

.service-detail-page {
  display: grid;
  gap: 18px;
  padding: 22px 42px 42px;
}

.service-hero {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 280px;
  padding: 30px;
}

.service-hero-main {
  min-width: 0;
}

.service-breadcrumb {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 18px;
}

.service-breadcrumb a:hover {
  color: var(--green);
  text-decoration: underline;
}

.service-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.service-label {
  background: var(--green-soft);
  border: 1px solid #c7dbcf;
  border-radius: 6px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
}

.service-label-pr {
  background: var(--amber-soft);
  border-color: #f1d5a4;
  color: var(--amber);
}

.service-hero h1 {
  color: var(--ink);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  overflow-wrap: anywhere;
}

.service-company {
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  margin: 14px 0 0;
}

.service-summary {
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
  margin: 16px 0 0;
  max-width: 850px;
}

.service-positioning {
  border-left: 4px solid var(--green);
  color: var(--muted);
  line-height: 1.75;
  margin: 18px 0 0;
  max-width: 850px;
  padding-left: 14px;
}

.service-actions,
.service-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  min-height: 42px;
  justify-content: center;
  padding: 0 15px;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.primary-action {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
}

.secondary-action {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.primary-action:hover {
  background: #fff;
  color: var(--ink);
}

.secondary-action:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.service-score-panel {
  align-self: stretch;
  background: #17201c;
  color: #fff;
  display: grid;
  gap: 8px;
  min-height: 232px;
  padding: 22px;
}

.service-score-panel span {
  color: #add0bf;
  font-size: 12px;
  font-weight: 800;
}

.service-score-panel strong {
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.service-score-panel small,
.service-score-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

.service-snapshot {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-snapshot div {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding: 16px 18px;
}

.service-snapshot div:last-child {
  border-right: 0;
}

.service-snapshot span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.service-snapshot strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.service-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.service-main-column,
.service-rail {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.service-section,
.service-rail-panel,
.service-pr-notice,
.service-final-cta,
.service-empty {
  background: var(--paper);
  border: 1px solid var(--line);
  min-width: 0;
}

.service-section,
.service-rail-panel,
.service-pr-notice,
.service-final-cta,
.service-empty {
  padding: 28px;
}

.pricing-summary {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.pricing-summary div {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 7px;
  padding: 16px;
}

.pricing-summary div:last-child {
  border-right: 0;
}

.pricing-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pricing-summary strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.note-list {
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.7;
  margin: 14px 0 0;
  padding-left: 1.25em;
}

.service-fit-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.service-fit-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.service-fit-grid h3,
.service-rail-panel h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  margin: 0;
}

.service-fit-grid ul,
.service-rail-panel ol {
  color: var(--text);
  display: grid;
  gap: 8px;
  line-height: 1.65;
  margin: 0;
  padding-left: 1.25em;
}

.service-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 18px;
  min-width: 0;
}

.service-table {
  min-width: 700px;
}

.service-table th:first-child {
  min-width: 190px;
}

.score-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.score-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.score-row-head {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
}

.score-row-head strong,
.score-row-head span {
  display: block;
}

.score-row-head strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.score-row-head span,
.score-row p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 5px 0 0;
}

.score-row-head em {
  color: var(--green-dark);
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
}

.score-meter {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.score-meter span {
  background: var(--green);
  display: block;
  height: 100%;
  transition: width 420ms ease;
}

.service-two-tables {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.service-rail {
  position: sticky;
  top: 84px;
}

.service-rail-panel,
.service-pr-notice {
  border-radius: 8px;
  display: grid;
  gap: 12px;
}

.service-rail-panel > span,
.service-pr-notice span {
  border: 1px solid currentColor;
  border-radius: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  justify-self: start;
  padding: 3px 7px;
}

.service-rail-panel p,
.service-pr-notice p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.service-rail-panel .primary-action,
.service-rail-panel .secondary-action {
  width: 100%;
}

.service-pr-notice {
  background: var(--amber-soft);
  border-color: #e5c586;
}

.service-pr-notice span,
.service-pr-notice strong {
  color: var(--amber);
}

.service-final-cta {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.service-final-cta h2,
.service-empty h1 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
  margin: 0;
}

.service-final-cta p,
.service-empty p:not(.kicker) {
  color: var(--muted);
  line-height: 1.75;
  margin: 10px 0 0;
}

.service-empty {
  min-height: 320px;
}

.article-detail-page {
  display: grid;
  gap: 18px;
  padding: 22px 42px 42px;
}

.article-hero {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 300px;
  padding: 30px;
}

.article-hero-main {
  min-width: 0;
}

.article-hero h1 {
  color: var(--ink);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
  overflow-wrap: anywhere;
}

.article-description {
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
  margin: 16px 0 0;
  max-width: 860px;
}

.article-meta-panel {
  align-self: stretch;
  background: #17201c;
  color: #fff;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.article-meta-panel span {
  color: #add0bf;
  font-size: 12px;
  font-weight: 800;
}

.article-meta-panel strong {
  color: #fff;
  font-size: 26px;
  line-height: 1.25;
}

.article-meta-panel dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.article-meta-panel div {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 4px;
  padding: 10px 0;
}

.article-meta-panel dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.article-meta-panel dd {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.article-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.article-main-column,
.article-rail {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.article-summary-block,
.article-body-block,
.article-source-block,
.article-rail-panel,
.article-disclosure,
.article-consult-panel,
.article-final-cta {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
}

.article-summary-block h2,
.article-body-block h2,
.article-source-block h2,
.article-rail-panel h2,
.article-consult-panel h2,
.article-final-cta h2 {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
  margin: 0;
}

.article-summary-block p,
.article-body-block p,
.article-source-block p,
.article-consult-panel p,
.article-final-cta p {
  color: var(--text);
  line-height: 1.85;
  margin: 12px 0 0;
}

.article-summary-block ol {
  counter-reset: article-summary;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.article-summary-block li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  grid-template-columns: 34px 1fr;
  line-height: 1.7;
  padding: 13px;
}

.article-summary-block li::before {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  content: counter(article-summary);
  counter-increment: article-summary;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.article-body-block {
  display: grid;
  gap: 18px;
}

.article-body-block #body-title {
  border-bottom: 3px solid var(--ink);
  padding-bottom: 10px;
}

.article-body-block > h2:not(#body-title),
.article-body-block h3 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
  margin: 12px 0 0;
}

.article-body-block > p {
  font-size: 16px;
  max-width: 780px;
}

.article-body-block a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.article-body-block ul {
  color: var(--text);
  display: grid;
  gap: 10px;
  line-height: 1.85;
  margin: 0;
  max-width: 840px;
  padding-left: 1.3em;
}

.article-body-block li::marker {
  color: var(--green);
}

.article-check-items {
  list-style: none;
  padding-left: 0;
}

.article-check-items li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px 13px 42px;
  position: relative;
}

.article-check-items li::before {
  border: 2px solid var(--green);
  border-radius: 4px;
  content: "";
  height: 14px;
  left: 16px;
  position: absolute;
  top: 19px;
  width: 14px;
}

.article-markdown-table {
  margin: 2px 0;
}

.article-markdown-table table {
  background: #fff;
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.article-markdown-table th,
.article-markdown-table td {
  border: 1px solid var(--line);
  line-height: 1.7;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.article-markdown-table th {
  background: var(--green-soft);
  color: var(--ink);
  font-size: 14px;
}

.article-body-block .memo {
  max-width: 840px;
}

.article-body-block blockquote {
  background: #fff;
  border-left: 5px solid var(--green);
  color: var(--ink);
  line-height: 1.8;
  margin: 0;
  padding: 18px 20px;
}

.article-body-block blockquote p {
  margin: 0;
}

.article-body-block blockquote cite {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  margin-top: 10px;
}

.article-checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

/* 本文図解（tools/diagrams のフロー図など）。本文カラム幅に合わせて表示 */
.article-figure {
  margin: 26px 0;
  max-width: 840px;
}

.article-figure img {
  border: 1px solid var(--line);
  display: block;
  height: auto;
  width: 100%;
}

.article-figure figcaption {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 8px;
}

.article-checklist h3 {
  margin: 0;
}

.article-checklist ol {
  color: var(--text);
  display: grid;
  gap: 8px;
  line-height: 1.7;
  margin: 0;
  padding-left: 1.3em;
}

.article-inline-cta,
.article-editor-note {
  background: #17201c;
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.article-inline-cta span,
.article-editor-note span,
.article-rail-panel > span,
.article-consult-panel > span,
.article-disclosure span {
  border: 1px solid currentColor;
  border-radius: 4px;
  color: #add0bf;
  font-size: 11px;
  font-weight: 800;
  justify-self: start;
  padding: 3px 7px;
}

.article-inline-cta strong {
  color: #fff;
  font-size: 20px;
}

.article-inline-cta .primary-action {
  justify-self: start;
}

.article-editor-note p,
.article-inline-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.article-source-block ol {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.article-source-block li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
  padding: 14px 0;
}

.article-source-block li > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding-top: 3px;
}

.article-source-block a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.article-source-block small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}

.article-source-block p {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}

.article-rail {
  position: sticky;
  top: 84px;
}

.article-rail-panel,
.article-consult-panel,
.article-disclosure {
  border-radius: 8px;
  display: grid;
  gap: 12px;
}

.article-related-list {
  display: grid;
  gap: 10px;
}

.article-related-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  padding: 14px;
}

.article-related-card span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.article-related-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.article-related-card a {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.article-related-card .related-disabled {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-consult-panel {
  background: #17201c;
  border-color: #17201c;
  color: #fff;
}

.article-consult-panel h2 {
  color: #fff;
}

.article-consult-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.article-disclosure {
  background: var(--amber-soft);
  border-color: #e5c586;
}

.article-disclosure span {
  color: var(--amber);
}

.article-disclosure p {
  color: #624003;
  line-height: 1.7;
  margin: 0;
}

.article-final-cta {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.article-final-cta .service-final-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  padding: 24px 42px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 250px 1fr auto;
    padding: 0 24px;
  }

  .global-nav {
    gap: 16px;
  }

  .editorial-front {
    padding: 18px 24px 32px;
  }

  .workbench-grid,
  .search-compare,
  .compare-layout,
  .memo-layout,
  .popular-layout,
  .archive-grid,
  .ad-map,
  .service-hero,
  .service-layout,
  .service-final-cta,
  .article-hero,
  .article-layout,
  .article-final-cta {
    grid-template-columns: 1fr;
  }

  .weekly-panel {
    min-height: auto;
  }

  .timeline-panel,
  .context-rail,
  .service-rail,
  .article-rail {
    position: static;
  }

  .search-compare,
  .compare-desk,
  .failure-map,
  .popular-area,
  .archive-grid,
  .vendor-section,
  .ad-map {
    margin-left: 24px;
    margin-right: 24px;
  }

  .failure-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vendor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-snapshot,
  .service-two-tables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-rules div:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .table-rules div:nth-child(2n) {
    border-right: 0;
  }

  .table-rules div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .service-snapshot div:nth-child(2n) {
    border-right: 0;
  }

  .service-snapshot div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .failure-card:nth-child(2),
  .failure-card:nth-child(4) {
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    gap: 12px;
    grid-template-columns: 1fr auto;
    min-height: 60px;
    padding: 0 16px;
  }

  .global-nav {
    display: none;
  }

  .header-cta {
    font-size: 12px;
    height: 36px;
    padding: 0 12px;
  }

  .brand small {
    display: none;
  }

  .editorial-front {
    padding: 14px 14px 26px;
  }

  .service-detail-page,
  .article-detail-page {
    padding: 14px 14px 26px;
  }

  .front-status {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .operation-strip {
    justify-content: stretch;
  }

  .operation-item {
    flex: 1 1 120px;
  }

  .breaking-line {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 9px 12px;
  }

  #breaking-list {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #breaking-list strong:not(:first-child) {
    display: none;
  }

  .workbench-grid {
    margin-top: 10px;
  }

  .weekly-panel,
  .focus-panel,
  .timeline-panel {
    padding: 18px;
  }

  .service-hero,
  .service-section,
  .service-rail-panel,
  .service-pr-notice,
  .service-final-cta,
  .service-empty,
  .article-hero,
  .article-summary-block,
  .article-body-block,
  .article-source-block,
  .article-rail-panel,
  .article-disclosure,
  .article-consult-panel,
  .article-final-cta {
    padding: 18px;
  }

  .weekly-panel h1 {
    font-size: 27px;
  }

  .featured-article h2 {
    font-size: 30px;
  }

  .service-hero h1 {
    font-size: 34px;
  }

  .article-hero h1 {
    font-size: 32px;
  }

  .service-summary {
    font-size: 16px;
  }

  .article-description {
    font-size: 16px;
  }

  .snapshot-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .comparison-snapshot table {
    min-width: 640px;
  }

  .category-list,
  .failure-paths,
  .ranking-grid,
  .vendor-list {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    min-height: auto;
  }

  .vendor-card,
  .vendor-pr-slot {
    min-height: auto;
  }

  .vendor-summary {
    min-height: auto;
  }

  .ranking-card-head {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .memo-main,
  .memo-checklist {
    padding: 18px;
  }

  .memo-main {
    min-height: auto;
  }

  .memo-main h3 {
    font-size: 23px;
  }

  .table-rules {
    grid-template-columns: 1fr;
  }

  .service-snapshot,
  .pricing-summary,
  .service-fit-grid,
  .service-two-tables {
    grid-template-columns: 1fr;
  }

  .table-rules div,
  .table-rules div:nth-child(2n),
  .table-rules div:nth-child(3n) {
    border-right: 0;
  }

  .service-snapshot div,
  .service-snapshot div:nth-child(2n),
  .pricing-summary div {
    border-right: 0;
  }

  .table-rules div:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .service-snapshot div:nth-child(n + 2),
  .pricing-summary div:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .compare-table .service-column {
    min-width: 210px;
  }

  .search-compare,
  .compare-desk,
  .failure-map,
  .popular-area,
  .archive-grid,
  .vendor-section,
  .ad-map {
    margin-left: 14px;
    margin-right: 14px;
  }

  .search-compare,
  .compare-desk,
  .failure-map,
  .popular-area,
  .vendor-section,
  .ad-map {
    padding: 18px;
  }

  .popular-row,
  .feed-item,
  .ad-slot,
  .article-summary-block li,
  .article-source-block li {
    grid-template-columns: 1fr;
  }

  .popular-row {
    align-items: start;
    gap: 6px;
  }

  .feed-type,
  .intent-badge {
    justify-self: start;
  }

  .archive-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .article-final-cta .service-final-actions {
    justify-content: stretch;
  }

  .article-final-cta .primary-action,
  .article-final-cta .secondary-action {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 22px 14px;
  }
}

/* Editorial visual refresh v1 */
:root {
  --bg: #efefea;
  --paper: #ffffff;
  --paper-soft: #f6f6f1;
  --ink: #111111;
  --text: #252525;
  --muted: #6d6d66;
  --line: #d7d7cf;
  --line-strong: #111111;
  --green: #b3322b;
  --green-dark: #8f241f;
  --green-soft: #f7e6e3;
  --blue: #225b73;
  --blue-soft: #e4eef2;
  --amber: #8e5a12;
  --amber-soft: #f7eedf;
  --red: #b3322b;
  --red-soft: #f7e6e3;
  --shadow: none;
}

body {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 84px 84px,
    var(--bg);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--ink);
  border-top: 4px solid var(--ink);
  box-shadow: none;
  grid-template-columns: 300px 1fr auto;
  min-height: 72px;
  padding: 0 clamp(18px, 3vw, 44px);
}

.brand {
  gap: 12px;
}

.brand-mark {
  background: var(--ink);
  border-radius: 0;
  font-size: 0;
  height: 38px;
  width: 38px;
}

.brand-mark::before {
  content: "UH";
  font-size: 12px;
  font-weight: 800;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.global-nav {
  color: var(--ink);
  font-size: 13px;
  gap: 0;
  justify-content: center;
}

.global-nav a {
  border-bottom: 0;
  border-left: 1px solid var(--line);
  min-height: 68px;
  padding: 25px 16px 20px;
}

.global-nav a:last-child {
  border-right: 1px solid var(--line);
}

.global-nav a:hover {
  background: var(--ink);
  color: #fff;
}

.header-cta,
.featured-link,
.selected-link,
.vendor-card a,
.primary-action {
  background: var(--red);
  border-color: var(--red);
  border-radius: 0;
  color: #fff;
}

.header-cta {
  height: 38px;
  padding: 0 15px;
}

.editorial-front {
  padding: 18px clamp(14px, 3vw, 44px) 34px;
}

.editorial-front::before {
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  content: "AI Media 編集部 / Business AI Selection Journal";
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 auto 10px;
  max-width: 1600px;
  padding-bottom: 8px;
}

.front-status {
  background: var(--ink);
  border: 0;
  color: #fff;
  margin: 0 auto;
  max-width: 1600px;
  padding: 10px 14px;
}

.front-status span {
  color: #ffb4aa;
}

.front-status strong {
  color: #fff;
  font-size: 15px;
}

.operation-strip {
  gap: 0;
}

.operation-item {
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.66);
  min-width: 92px;
  padding: 5px 12px;
}

.operation-item strong {
  color: #fff;
  font-size: 18px;
}

.breaking-line {
  background: #fff;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  margin: 0 auto;
  max-width: 1600px;
  min-height: 42px;
}

.breaking-line > span {
  background: var(--red);
  color: #fff;
  margin-left: -16px;
  min-height: 42px;
  padding: 14px 14px 0;
}

#breaking-list {
  color: var(--ink);
}

#breaking-list strong {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
}

#breaking-list strong::before {
  color: var(--red);
  content: "更新";
  font-size: 10px;
  font-weight: 800;
  margin-right: 6px;
}

.workbench-grid {
  background: #fff;
  border-left: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  gap: 0;
  grid-template-columns: minmax(260px, 0.82fr) minmax(520px, 1.5fr) minmax(280px, 0.78fr);
  margin: 0 auto;
  max-width: 1600px;
}

.kicker {
  color: var(--red);
  font-size: 11px;
  margin-bottom: 9px;
}

.weekly-panel,
.focus-panel,
.timeline-panel {
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  border-radius: 0;
}

.weekly-panel {
  background: var(--ink);
  min-height: 650px;
  padding: 24px;
}

.weekly-panel .kicker,
.rank {
  color: #ffb4aa;
}

.weekly-panel h1 {
  color: #fff;
  font-size: clamp(38px, 4.2vw, 64px);
  letter-spacing: 0;
  line-height: 0.98;
}

.weekly-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
  margin: -4px 0 4px;
}

.weekly-list li {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.weekly-list button {
  padding: 14px 0;
}

.weekly-list button:hover {
  background: rgba(255, 255, 255, 0.07);
}

.weekly-list strong {
  font-size: 14px;
}

.focus-panel {
  background: #fff;
  gap: 18px;
  padding: 24px;
}

.focus-meta,
.timeline-head {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
}

.focus-meta span,
.focus-meta time,
.article-kicker {
  color: var(--red);
}

.featured-article {
  border-bottom: 3px solid var(--ink);
  padding-bottom: 20px;
}

.featured-article h2,
.featured-article h1 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: 0;
  line-height: 0.98;
}

.featured-article p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  max-width: 760px;
}

.feature-facts span,
.tag-pill,
.feed-type,
.intent-badge,
.change-badge,
.support-badge,
.price-badge {
  border-radius: 0;
}

.feature-facts span,
.tag-pill {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.featured-link:hover,
.primary-action:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.snapshot-head h2,
.related-block h2,
.timeline-head h2,
.section-lead h2,
.archive-title h2,
.consult-panel h2 {
  font-size: clamp(24px, 2.3vw, 34px);
}

.snapshot-head span {
  background: var(--ink);
  border-radius: 0;
  color: #fff;
}

thead th {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

tbody th,
tbody td {
  background: #fff;
  border-color: var(--line);
}

.timeline-panel {
  background: #fff;
  padding: 20px;
}

.timeline-item {
  border-bottom-color: var(--line);
  grid-template-columns: 52px 1fr;
}

.timeline-item time,
.timeline-item span {
  color: var(--red);
}

.rail-ad,
.inline-ad,
.article-disclosure,
.service-pr-notice {
  background: #fbf3e4;
  border: 1px dashed #9a6b26;
  border-radius: 0;
}

.rail-ad span,
.inline-ad span,
.editor-note span,
.selected-panel > span,
.consult-panel > span,
.ad-slot span,
.article-inline-cta span,
.article-editor-note span,
.article-rail-panel > span,
.article-consult-panel > span,
.article-disclosure span,
.service-rail-panel > span,
.service-pr-notice span {
  border-radius: 0;
}

.search-compare,
.compare-desk,
.failure-map,
.popular-area,
.archive-grid,
.vendor-section,
.ad-map,
.service-section,
.service-rail-panel,
.service-final-cta,
.article-summary-block,
.article-body-block,
.article-source-block,
.article-rail-panel,
.article-consult-panel,
.article-final-cta {
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}

.search-compare,
.compare-desk,
.failure-map,
.popular-area,
.archive-grid,
.vendor-section,
.ad-map {
  margin: 0 clamp(14px, 3vw, 44px) 18px;
  padding: clamp(20px, 3vw, 34px);
}

.search-compare {
  border-top-width: 5px;
  grid-template-columns: minmax(240px, 0.42fr) 1fr;
}

.search-input input {
  border: 1px solid var(--ink);
  border-radius: 0;
  height: 52px;
}

.search-input input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179, 50, 43, 0.13);
}

.filter-button,
.tag-button,
.category-card,
.failure-card,
.ranking-card,
.vendor-card,
.vendor-pr-slot,
.article-related-card,
.score-row,
.service-fit-grid article,
.memo-checklist,
.article-checklist {
  border-radius: 0;
  box-shadow: none;
}

.filter-button,
.tag-button {
  background: #fff;
  border-color: var(--ink);
}

.filter-button.active,
.tag-button.active {
  background: var(--ink);
  color: #fff;
}

.category-list {
  gap: 0;
}

.category-card {
  border-color: var(--line);
  border-left: 0;
  border-top: 0;
  min-height: 132px;
  padding: 16px;
}

.category-card:nth-child(3n + 1) {
  border-left: 1px solid var(--line);
}

.category-card:nth-child(-n + 3) {
  border-top: 1px solid var(--line);
}

.category-card span,
.failure-card span {
  color: var(--red);
}

.category-card:hover,
.failure-card:hover,
.popular-row:hover,
.feed-item:hover,
.feed-item.active,
.vendor-card:hover,
.ranking-card:hover {
  background: var(--paper-soft);
  border-color: var(--ink);
  box-shadow: none;
}

.compare-layout,
.popular-layout,
.archive-grid {
  gap: 0;
}

.compare-table-wrap,
.popular-comparisons,
.service-table-wrap {
  border-color: var(--ink);
  border-radius: 0;
}

.editor-note,
.article-inline-cta,
.article-editor-note,
.article-consult-panel,
.service-score-panel {
  background: var(--ink);
  border-radius: 0;
}

.failure-paths {
  gap: 0;
}

.failure-card {
  border-color: var(--line);
  border-left: 0;
  min-height: 160px;
}

.failure-card:first-child {
  border-left: 1px solid var(--line);
}

.failure-card:nth-child(2),
.failure-card:nth-child(4) {
  margin-top: 0;
}

.popular-row,
.feed-item {
  border-color: var(--line);
}

.popular-row {
  min-height: 68px;
}

.table-rank {
  background: var(--ink);
  border-radius: 0;
}

.ranking-card,
.vendor-card,
.vendor-pr-slot {
  border-color: var(--line);
}

.feed-item {
  border-radius: 0;
  grid-template-columns: 96px 1fr 132px;
}

.feed-type,
.intent-badge {
  background: var(--ink);
  color: #fff;
}

.selected-panel,
.consult-panel,
.mini-panel {
  border-radius: 0;
}

.ad-map {
  background: var(--ink);
}

.ad-slot {
  border-radius: 0;
}

.site-footer {
  background: var(--ink);
  border-top: 0;
  color: rgba(255, 255, 255, 0.72);
}

.reveal-on-scroll {
  transform: translateY(10px);
  transition: opacity 360ms ease, transform 360ms ease;
}

@media (max-width: 1180px) {
  .workbench-grid {
    border-right: 1px solid var(--ink);
    grid-template-columns: 1fr;
  }

  .weekly-panel,
  .focus-panel,
  .timeline-panel {
    min-height: auto;
  }

  .search-compare {
    grid-template-columns: 1fr;
  }

  .category-card:nth-child(n) {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .category-card:first-child {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  body {
    background: var(--bg);
  }

  .site-header {
    border-top-width: 3px;
    grid-template-columns: 1fr auto;
    min-height: 62px;
  }

  .brand-mark {
    height: 34px;
    width: 34px;
  }

  .header-cta {
    font-size: 12px;
    height: 34px;
  }

  .editorial-front::before {
    margin-bottom: 8px;
  }

  .front-status {
    gap: 10px;
  }

  .operation-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    flex: 1 1 48%;
    padding: 8px 0;
  }

  .breaking-line {
    grid-template-columns: 1fr;
  }

  .breaking-line > span {
    margin: 0 -12px;
    min-height: 0;
    padding: 7px 12px;
  }

  .weekly-panel h1 {
    font-size: 42px;
  }

  .weekly-list li:nth-child(n + 5) {
    display: none;
  }

  .featured-article h2,
  .featured-article h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .category-card:nth-child(n),
  .failure-card:nth-child(n) {
    border-left: 1px solid var(--line);
  }

  .failure-card:not(:first-child),
  .category-card:not(:first-child) {
    border-top: 0;
  }

  .feed-item {
    grid-template-columns: 1fr;
  }
}

/* Human editorial utility refresh v2 - final override */
:root {
  --bg: #f6f4ed;
  --paper: #fffefa;
  --paper-soft: #f4f1e8;
  --ink: #171915;
  --text: #2b2d28;
  --muted: #737469;
  --line: #d8d3c5;
  --line-strong: #8f8877;
  --green: #245f4a;
  --green-dark: #153d31;
  --green-soft: #e4efe8;
  --amber: #91631d;
  --amber-soft: #f5ebd7;
  --red: #8c3c31;
  --red-soft: #f2e3dd;
  --shadow: 0 12px 28px rgba(28, 25, 18, 0.06);
}

body {
  background: var(--bg);
}

.site-header {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 64px;
}

.brand-mark {
  border-radius: 4px;
  height: 32px;
  width: 32px;
}

.brand-mark::before {
  content: "AI";
}

.global-nav a {
  border-left: 0;
  min-height: 64px;
  padding: 23px 14px 18px;
}

.global-nav a:last-child {
  border-right: 0;
}

.global-nav a:hover {
  background: transparent;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.global-nav {
  justify-content: flex-start;
}

.header-cta {
  grid-column: 2;
  justify-self: end;
}

.header-cta,
.featured-link,
.selected-link,
.vendor-card a,
.primary-action {
  background: var(--ink);
  border-color: var(--ink);
  border-radius: 4px;
}

.editorial-front::before {
  border-bottom-color: var(--line);
  max-width: 1280px;
}

.front-status {
  background: transparent;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  max-width: 1280px;
  padding: 10px 0;
}

.front-status span,
.front-status strong,
.operation-item strong {
  color: var(--ink);
}

.front-status strong {
  font-size: 14px;
}

.operation-strip {
  gap: 8px;
}

.operation-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  min-width: 84px;
  padding: 6px 9px;
}

.operation-item strong {
  font-size: 16px;
}

.breaking-line {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
  color: var(--ink);
  max-width: 1280px;
  min-height: 38px;
}

.breaking-line > span {
  background: var(--paper-soft);
  color: var(--green-dark);
  margin-left: -16px;
  min-height: 38px;
  padding: 12px 14px 0;
}

#breaking-list strong::before {
  color: var(--green);
}

.workbench-grid {
  background: transparent;
  border: 0;
  gap: 14px;
  grid-template-columns: minmax(250px, 0.78fr) minmax(520px, 1.55fr) minmax(260px, 0.82fr);
  max-width: 1280px;
}

.weekly-panel,
.focus-panel,
.timeline-panel,
.search-compare,
.compare-desk,
.failure-map,
.popular-area,
.archive-grid,
.vendor-section,
.ad-map {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
}

.weekly-panel {
  background: var(--paper);
  color: var(--ink);
  min-height: auto;
  padding: 20px;
}

.editor-note,
.article-inline-cta,
.article-editor-note,
.article-consult-panel,
.service-score-panel {
  background: #17201c;
  color: #fff;
}

.weekly-panel .kicker,
.rank,
.focus-meta span,
.focus-meta time,
.article-kicker,
.timeline-item time,
.timeline-item span,
.category-card span,
.failure-card span {
  color: var(--green);
}

.weekly-panel h1 {
  color: var(--ink);
  font-size: clamp(31px, 3.2vw, 48px);
  line-height: 1.08;
}

.weekly-lead {
  color: var(--text);
  font-size: 13px;
}

.weekly-list li {
  border-top-color: var(--line);
}

.weekly-list button {
  color: var(--ink);
  grid-template-columns: 30px 1fr;
  padding: 12px 0;
}

.weekly-list button:hover {
  background: var(--paper-soft);
}

.weekly-list strong {
  font-size: 13px;
  line-height: 1.5;
}

.weekly-list small {
  color: var(--muted);
}

.focus-panel {
  padding: 22px;
}

.focus-meta,
.timeline-head,
.featured-article {
  border-bottom-color: var(--line-strong);
}

.featured-article h2,
.featured-article h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.03;
}

.featured-article p {
  max-width: 680px;
}

.timeline-panel {
  padding: 18px;
}

.timeline-item h3 {
  font-size: 13px;
}

.snapshot-head span,
.feed-type,
.intent-badge {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

thead th {
  background: var(--paper-soft);
  border-color: var(--line);
  color: var(--muted);
}

.filter-button,
.tag-button {
  border-color: var(--line-strong);
  border-radius: 4px;
  min-height: 36px;
}

.filter-button.active,
.tag-button.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.category-list {
  gap: 8px;
}

.category-card,
.category-card:nth-child(n) {
  border: 1px solid var(--line);
  min-height: 118px;
}

.category-card:hover,
.failure-card:hover,
.popular-row:hover,
.feed-item:hover,
.feed-item.active,
.vendor-card:hover,
.ranking-card:hover {
  background: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.editor-note {
  border: 1px solid var(--line);
}

.editor-note h3,
.editor-note p {
  color: var(--ink);
}

.editor-note p {
  color: var(--text);
}

.ad-map {
  background: var(--paper);
}

.ad-map .section-lead h2,
.ad-map .section-lead p,
.ad-slot h3,
.ad-slot p {
  color: var(--ink);
}

.rail-ad,
.inline-ad,
.article-disclosure,
.service-pr-notice {
  background: var(--amber-soft);
  border-style: solid;
}

.reveal-on-scroll,
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 1180px) {
  .workbench-grid {
    border: 0;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .front-status {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 12px;
  }

  .breaking-line > span {
    margin: 0 -12px;
  }

  .weekly-panel h1 {
    font-size: 34px;
  }

  .weekly-list li:nth-child(n + 6) {
    display: none;
  }

  .featured-article h2,
  .featured-article h1 {
    font-size: 31px;
  }
}

/* Site Production pass v4: B2B media portal, not a landing-page hero */
:root {
  --bg: #f7f5ef;
  --paper: #fffefa;
  --paper-soft: #f2efe6;
  --ink: #1c211d;
  --text: #343832;
  --muted: #6f736b;
  --line: #d9d4c8;
  --line-strong: #9c9485;
  --green: #1f5e48;
  --green-dark: #153d31;
  --green-soft: #e4eee7;
  --red: #7d3d34;
  --amber: #845f23;
  --amber-soft: #f4ead5;
}

body {
  background: var(--bg);
  color: var(--text);
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.site-header {
  background: rgba(255, 254, 250, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 52px;
  padding: 0 clamp(16px, 3vw, 32px);
}

.global-nav {
  gap: 0;
  justify-content: flex-start;
}

.global-nav a {
  border: 0;
  color: var(--ink);
  font-size: 13px;
  min-height: 52px;
  padding: 18px 14px 14px;
}

.global-nav a:hover {
  background: var(--paper-soft);
  color: var(--green-dark);
  text-decoration: none;
}

.header-cta {
  background: var(--ink);
  border-color: var(--ink);
  border-radius: 3px;
  font-size: 13px;
  height: 34px;
  padding: 0 14px;
}

.editorial-front::before {
  display: none;
}

#search.search-compare,
.front-status,
.breaking-line,
.workbench-grid,
.compare-desk,
.failure-map,
.popular-area,
.archive-grid,
.vendor-section,
.ad-map {
  max-width: 1280px;
}

#search.search-compare {
  align-items: start;
  border-color: var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 300px minmax(0, 1fr);
  margin: 16px auto 16px;
  padding: 20px 24px;
}

.search-copy h1 {
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.42;
  margin: 0;
  text-wrap: balance;
}

.search-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 12px 0 0;
}

.search-input input {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-size: 16px;
  height: 46px;
}

.type-filters {
  gap: 6px;
}

.filter-button,
.tag-button {
  border-color: var(--line);
  border-radius: 3px;
  font-size: 12px;
  min-height: 34px;
  padding: 7px 10px;
}

.filter-button.active,
.tag-button.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.category-list {
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.category-card:nth-child(n) {
  border-color: var(--line);
  border-radius: 3px;
  gap: 5px;
  min-height: 96px;
  padding: 12px;
}

.category-card span,
.category-card em,
.failure-card span {
  color: var(--green);
}

.category-card strong {
  font-size: 15px;
  font-weight: 700;
}

.category-card p {
  font-size: 12px;
  line-height: 1.6;
}

.tag-cloud {
  gap: 6px;
  padding-top: 10px;
}

.tag-cloud .tag-button:nth-child(n + 17) {
  display: none;
}

.editorial-front {
  padding: 0 clamp(14px, 3vw, 44px) 24px;
}

.front-status {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0 auto;
  padding: 8px 0;
}

.front-status span {
  color: var(--green);
}

.front-status strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.operation-item {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  min-width: 82px;
  padding: 3px 10px;
}

.operation-item strong {
  font-size: 15px;
}

.breaking-line {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  margin: 0 auto 12px;
  min-height: 34px;
}

.breaking-line > span {
  background: var(--green-soft);
  color: var(--green-dark);
  min-height: 34px;
  padding: 10px 12px 0;
}

#breaking-list {
  color: var(--text);
}

#breaking-list strong {
  font-size: 12px;
  font-weight: 500;
}

#breaking-list strong::before {
  color: var(--green);
}

.workbench-grid {
  gap: 12px;
  grid-template-columns: minmax(240px, 0.7fr) minmax(500px, 1.45fr) minmax(260px, 0.82fr);
  margin: 0 auto;
}

.weekly-panel,
.focus-panel,
.timeline-panel {
  border-color: var(--line);
}

.weekly-panel {
  padding: 18px;
}

.weekly-panel h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.38;
  margin: 0;
}

.weekly-lead {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.weekly-list button {
  grid-template-columns: 28px 1fr;
  padding: 10px 0;
}

.weekly-list strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.weekly-list small {
  font-size: 11px;
}

.focus-panel {
  gap: 16px;
  padding: 20px;
}

.focus-meta,
.timeline-head {
  border-bottom: 1px solid var(--line-strong);
}

.featured-article {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 16px;
}

.featured-article h2,
.featured-article h1 {
  color: var(--ink);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  text-wrap: balance;
}

.featured-article p {
  font-size: 15px;
  line-height: 1.8;
}

.feature-facts,
.tag-row {
  gap: 6px;
}

.feature-facts span,
.tag-pill,
.snapshot-head span,
.feed-type,
.intent-badge,
.change-badge {
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

.featured-link {
  border-radius: 3px;
  height: 38px;
  margin-top: 14px;
}

.snapshot-head h2,
.related-block h2,
.timeline-head h2,
.section-lead h2,
.archive-title h2,
.consult-panel h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

thead th {
  background: var(--paper-soft);
  color: var(--muted);
}

tbody th,
tbody td {
  font-size: 13px;
}

.timeline-panel {
  padding: 18px;
}

.timeline-item {
  gap: 10px;
  grid-template-columns: 46px 1fr;
  padding: 10px 0;
}

.timeline-item h3 {
  font-size: 13px;
  font-weight: 700;
}

.timeline-item p {
  font-size: 11px;
}

.compare-desk,
.failure-map,
.popular-area,
.archive-grid,
.vendor-section,
.ad-map {
  margin-left: auto;
  margin-right: auto;
}

.compare-layout,
.popular-layout,
.popular-comparisons,
.archive-main,
.content-feed,
.context-rail,
.popular-row {
  min-width: 0;
}

.rail-ad,
.inline-ad,
.article-disclosure,
.service-pr-notice {
  border-color: #d9c99e;
  border-radius: 3px;
}

.ad-map {
  background: var(--paper);
}

.site-footer {
  margin-top: 24px;
}

.article-author-box {
  align-items: start;
  background: #fff;
  border: 1px solid var(--ink);
  display: grid;
  gap: 16px;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 20px;
}

.author-avatar {
  align-items: center;
  aspect-ratio: 1;
  background: var(--author-avatar-color, #20604b);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 800;
  justify-content: center;
  width: 56px;
}

.author-byline {
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.article-author-box p {
  color: var(--text);
  line-height: 1.75;
  margin: 8px 0 0;
}

.article-author-box a,
.author-article-section a,
.author-profile-page .article-meta-panel a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.article-author-box a {
  color: var(--green);
  display: inline-block;
  margin-top: 10px;
}

.article-inline-cta,
.article-editor-note {
  background: #17201c;
  color: #fff;
}

.article-inline-cta span,
.article-editor-note span {
  color: #add0bf;
}

.article-inline-cta strong {
  color: #fff;
}

.article-editor-note p,
.article-inline-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.article-consult-panel {
  background: #17201c;
  border-color: #17201c;
  color: #fff;
}

.article-consult-panel h2 {
  color: #fff;
}

.article-consult-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.article-consult-panel > span {
  color: #add0bf;
}

.author-heading {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-top: 22px;
}

.author-heading .author-avatar {
  width: 72px;
}

.author-role {
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  margin: 8px 0 0;
}

.author-hero .article-description {
  max-width: 900px;
}

.author-article-section li strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
  line-height: 1.5;
}

.author-article-section li p {
  margin-top: 8px;
}

@media (max-width: 1180px) {
  #search.search-compare,
  .workbench-grid,
  .compare-layout,
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 52px;
    padding: 0 14px;
  }

  .global-nav {
    display: flex;
    max-width: calc(100vw - 124px);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .global-nav a {
    flex: 0 0 auto;
    min-height: 52px;
    padding: 18px 10px 14px;
  }

  .header-cta {
    height: 34px;
    padding: 0 10px;
  }

  #search.search-compare {
    margin: 12px 14px;
    max-width: calc(100vw - 28px);
    padding: 16px;
  }

  .search-copy h1 {
    font-size: 24px;
    line-height: 1.42;
  }

  .category-list {
    grid-template-columns: 1fr;
  }

  .tag-cloud .tag-button:nth-child(n + 11) {
    display: none;
  }

  .editorial-front {
    padding: 0 14px 20px;
  }

  .compare-desk,
  .failure-map,
  .popular-area,
  .archive-grid,
  .vendor-section,
  .ad-map {
    max-width: calc(100vw - 28px);
  }

  .front-status {
    align-items: stretch;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 1fr;
    padding: 8px 0 12px;
  }

  .operation-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    flex: 1 1 48%;
    padding: 8px 0 0;
  }

  .breaking-line {
    margin-bottom: 10px;
  }

  .weekly-panel,
  .focus-panel,
  .timeline-panel {
    padding: 16px;
  }

  .rail-ad-top {
    display: none;
  }

  .weekly-panel h2 {
    font-size: 22px;
  }

  .featured-article h2,
  .featured-article h1 {
    font-size: 27px;
    line-height: 1.32;
  }

  .snapshot-head h2,
  .related-block h2,
  .timeline-head h2,
  .section-lead h2,
  .archive-title h2,
  .consult-panel h2 {
    font-size: 21px;
  }

  .article-author-box {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }

  .author-avatar {
    font-size: 20px;
    width: 44px;
  }

  .author-heading {
    align-items: flex-start;
    gap: 14px;
  }

  .author-heading .author-avatar {
    width: 56px;
  }
}

/* WO-008 final overrides: keep the mockup-aligned rules after legacy styles. */
body.b3-home {
  background: var(--bg);
}

.b3-home .mast,
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
  box-shadow: none;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  padding: 18px max(20px, calc((100vw - 1160px) / 2));
  position: static;
}

.b3-home .mast {
  display: block;
}

.site-header .brand {
  align-items: center;
  color: var(--ink);
  display: grid;
  gap: 10px;
  grid-template-columns: 40px minmax(0, 1fr);
  min-width: 0;
}

.site-header .brand-mark {
  background: center / contain no-repeat url("favicon.svg");
  border: 0;
  border-radius: 0;
  color: transparent;
  display: block;
  height: 40px;
  width: 40px;
}

.site-header .brand-mark::before {
  content: none;
}

.site-header .brand strong {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.site-header .brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}

.b3-home .mast-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  min-height: 36px;
}

.b3-home .mast-main {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 360px) 1fr;
  padding-bottom: 18px;
  padding-top: 18px;
}

.b3-home .daiji {
  color: var(--ink);
  display: inline-grid;
  font-family: "Noto Serif JP", serif;
  gap: 5px;
  text-decoration: none;
}

.b3-home .daiji strong {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 900;
  line-height: 0.95;
}

.b3-home .rules {
  border-bottom: 4px double var(--ink);
  display: block;
}

.b3-home .global-nav,
.site-header .global-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: end;
}

.b3-home .global-nav a,
.site-header .global-nav a {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  min-height: auto;
  padding: 8px 0;
}

.b3-home .global-nav a:hover,
.site-header .global-nav a:hover {
  border-color: var(--ink);
}

.b3-home .hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 42px 0 48px;
}

.b3-home .hero-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.b3-home .hero-copy h1 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
  margin: 12px 0 18px;
}

.b3-home .mkr {
  background: linear-gradient(transparent 58%, var(--marker) 58%);
  padding: 0 4px;
}

.b3-home .search {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr auto;
  margin-top: 28px;
  max-width: 620px;
  padding: 0;
}

.b3-home .search input {
  background: transparent;
  border: 0;
  color: var(--ink);
  min-height: 54px;
  min-width: 0;
  padding: 0 16px;
}

.b3-home .search button {
  background: var(--ink);
  border: 0;
  color: var(--paper);
  font-weight: 900;
  min-width: 88px;
}

.b3-home .feed {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 10px 10px 0 rgba(26, 28, 26, 0.08);
  padding: 22px;
}

.b3-home .latest-row {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 46px 74px 1fr;
  padding: 14px 0;
}

.b3-home .band,
.b3-home .featured-compare,
.b3-home .b3-archive {
  padding: 52px 0;
}

/* 記事一覧を他セクションと同じ器（中央寄せ・左右24px）に。archive-grid の幽霊340px右カラムを1列に畳む */
.b3-home .b3-archive {
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: 1160px;
  padding: 52px 24px;
}

/* トップの全セクション見出しの下罫線を統一（sec-h/compare-sec-h は罫線なし。archive-title だけ残る 2px を消す） */
.b3-home .archive-title {
  border-bottom: 0;
  padding-bottom: 0;
}

.b3-home .band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.b3-home .feat {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr) minmax(220px, 0.55fr);
}

.b3-home .feat-main {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.b3-home .compare-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.b3-home .rank-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 44px 1fr;
  min-height: 70px;
  padding: 12px 0;
  text-decoration: none;
}

.b3-home .logo-frame {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.b3-home .feed-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  display: grid;
  gap: 14px;
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 18px;
}

.b3-home .feat-thumb,
.b3-home .feat-list img,
.b3-home .feed-thumb {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  display: block;
  overflow: hidden;
}

.b3-home .feat-thumb {
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  object-fit: cover;
  width: 100%;
}

.b3-home .feat-list a {
  align-items: start;
  grid-template-columns: 112px minmax(0, 1fr);
}

.b3-home .feat-list a .tag,
.b3-home .feat-list a strong,
.b3-home .feat-list a small {
  grid-column: 2;
}

.b3-home .feat-list img {
  aspect-ratio: 16 / 9;
  grid-column: 1;
  grid-row: 1 / span 3;
  height: auto;
  object-fit: cover;
  width: 112px;
}

.b3-home .feed-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.b3-home .feed-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 900px) {
  .b3-home .mast-main,
  .b3-home .hero-grid,
  .b3-home .feat,
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: start;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 14px 18px;
  }

  .site-header > .brand,
  .site-header > .global-nav,
  .site-header > .header-cta {
    grid-column: 1 / -1 !important;
    justify-self: stretch;
    width: 100%;
  }

  .site-header .brand {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .site-header .brand strong {
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .b3-home .global-nav,
  .site-header .global-nav {
    flex-wrap: nowrap;
    justify-content: start;
    max-width: 100%;
    overflow-x: auto;
  }

  .b3-home .feat-main {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding-bottom: 22px;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .b3-home .mast-top {
    align-items: start;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .b3-home .hero-copy h1 {
    font-size: 40px;
  }

  .b3-home .search,
  .b3-home .latest-row,
  .b3-home .rank-row,
  .b3-home .feed-item {
    grid-template-columns: 1fr;
  }

  .b3-home .feat-list a {
    grid-template-columns: 1fr;
  }

  .b3-home .feat-list a .tag,
  .b3-home .feat-list a strong,
  .b3-home .feat-list a small,
  .b3-home .feat-list img {
    grid-column: 1;
  }

  .b3-home .feat-list img {
    grid-row: auto;
    width: 100%;
  }
}

/* WO-008 review fixes */
.tag,
.tag-pill,
.feed-type,
.service-label,
.article-kicker,
.chip,
.latest-row .tag,
.rank-copy .use-label {
  white-space: nowrap;
}

.b3-home .mast-main {
  grid-template-columns: minmax(440px, 520px) 1fr;
}

.b3-home .daiji strong {
  font-size: clamp(34px, 4.2vw, 54px);
  white-space: nowrap;
}

.b3-home .hero-copy h1 {
  font-size: clamp(42px, 5.4vw, 64px);
}

.b3-home .hero-line {
  display: inline-block;
  white-space: nowrap;
}

.b3-home .featured-compare .compare-sec-h {
  align-items: baseline;
  border-bottom: 0;
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 22px;
  padding-bottom: 0;
}

.b3-home .featured-compare .compare-sec-h h2 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
}

.b3-home .featured-compare .compare-sec-h .sub {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.b3-home .sec-h {
  align-items: baseline;
  border-bottom: 0;
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 22px;
  padding-bottom: 0;
}

.b3-home .sec-h h2 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
}

.b3-home .sec-h .sub {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.rank-copy .use-label {
  align-self: start;
  background: var(--green-soft);
  border-radius: 2px;
  color: var(--green);
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  margin-top: 4px;
  max-width: 100%;
  padding: 2px 9px;
  width: max-content;
}

@media (max-width: 900px) {
  .b3-home .mast-main {
    grid-template-columns: 1fr;
  }

  .b3-home .daiji strong {
    font-size: clamp(31px, 8.5vw, 42px);
  }
}

@media (max-width: 560px) {
  .b3-home .hero-copy h1 {
    font-size: clamp(31px, 9.2vw, 36px);
    line-height: 1.24;
  }

  .b3-home .featured-compare .compare-sec-h {
    align-items: baseline;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .b3-home .global-nav,
  .site-header .global-nav {
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: flex-start;
    max-width: 100%;
    overflow: visible;
  }

  .b3-home .global-nav a,
  .site-header .global-nav a {
    flex: 0 1 auto;
    min-height: auto;
    padding: 4px 0;
  }
}

/* WO-013 compare v2: score-free fact matrix */
.compare-v2-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.compare-v2-head {
  border-bottom: 1px solid var(--line);
  padding: 40px 0 28px;
}

.compare-v2-head h1 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  margin: 8px 0 12px;
}

.compare-v2-head .lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 760px;
}

.compare-v2-head .meta {
  align-items: baseline;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 6px 14px;
  margin-top: 14px;
}

/* メタ行はピルと素テキストの混在で高さが揃わないため、カテゴリタグも素テキスト化して統一 */
.compare-v2-head .meta .tag {
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  min-height: 0;
  padding: 0;
}

.compare-v2-head .meta .tag::before {
  display: none;
}

/* 項目間に薄い区切りを入れてベタ並びの不揃い感を消す */
.compare-v2-head .meta > * + * {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.compare-v2-criteria,
.compare-v2-disclaimer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  margin: 28px 0;
  padding: 20px 22px;
}

.compare-v2-criteria h2 {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.compare-v2-criteria ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-v2-criteria li {
  font-size: 13px;
  padding: 4px 0 4px 16px;
  position: relative;
}

.compare-v2-criteria li::before {
  background: var(--green);
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 13px;
  width: 7px;
}

.compare-v2-criteria p,
.compare-v2-disclaimer {
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 12px;
  padding-top: 12px;
}

.compare-v2-section {
  padding: 8px 0 28px;
}

.compare-v2-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 16px;
}

.compare-v2-heading h2 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0;
}

.compare-v2-heading p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0;
}

.rec {
  border-top: 2px solid var(--ink);
}

.rec-row {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  padding: 20px 0;
}

.rec-row .no {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  padding-top: 4px;
}

.logo-box {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 10px;
  height: 56px;
  justify-content: center;
  line-height: 1.4;
  padding: 4px;
  text-align: center;
  width: 84px;
}

.rec-row h3 {
  color: var(--ink);
  display: inline;
  font-family: "Noto Serif JP", serif;
  font-size: 17.5px;
  font-weight: 900;
  line-height: 1.45;
}

.rec-row .co {
  color: var(--muted);
  font-size: 11.5px;
  margin-left: 8px;
}

.rec-row .use-label {
  background: var(--green-soft);
  border-radius: 2px;
  color: var(--green);
  display: inline-block;
  font-family: "Klee One", cursive;
  font-size: 13px;
  font-weight: 600;
  margin: 6px 0 8px;
  padding: 2px 12px;
}

.rec-row .reason {
  color: var(--text);
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
  max-width: 700px;
}

.rec-row .caution {
  color: var(--pencil);
  font-size: 12px;
  line-height: 1.7;
  margin: 6px 0 0;
}

.rec-row .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.rec-cta {
  align-self: center;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 18px;
  white-space: nowrap;
}

.matrix-scroll {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow-x: auto;
}

.matrix {
  border-collapse: collapse;
  font-size: 12px;
  min-width: 1640px;
  width: 100%;
}

.matrix th,
.matrix td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
}

.matrix thead .axis th {
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
}

.matrix thead .field th {
  background: var(--paper);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 800;
}

.matrix .svc {
  background: var(--paper);
  box-shadow: 1px 0 0 var(--line);
  font-weight: 800;
  left: 0;
  min-width: 190px;
  position: sticky;
  text-align: left;
  z-index: 1;
}

.matrix .svc span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 3px;
}

.v-yes,
.v-part,
.v-no,
.v-unv {
  border-radius: 2px;
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
}

.v-yes {
  background: var(--green-soft);
  color: var(--green);
}

.v-part {
  background: var(--amber-soft);
  color: var(--amber);
}

.v-no {
  background: var(--paper-soft);
  color: var(--muted);
}

.v-unv {
  background: var(--bg);
  border: 1px dashed var(--pencil);
  color: var(--pencil);
}

.fact-text {
  display: inline-block;
  font-size: 11.5px;
  line-height: 1.55;
  min-width: 92px;
  text-align: left;
}

.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  min-width: 110px;
}

.fact-chips span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
}

.legend {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 11.5px;
  gap: 12px;
  margin-top: 10px;
}

.evidence-note {
  color: var(--muted);
  font-size: 11px;
  margin: 6px 0 0;
}

.subcards,
.fails {
  display: grid;
  gap: 20px;
}

.subcards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fails {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subcard,
.fail {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px;
}

.subcard {
  border-top: 3px solid var(--ink);
}

.subcard h3,
.fail h3 {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.45;
  margin: 0 0 4px;
}

.subcard .co {
  color: var(--muted);
  font-size: 11px;
  margin: 0 0 8px;
}

.subcard p,
.fail p,
.aside-tools p {
  font-size: 12.5px;
  line-height: 1.75;
  margin: 0;
}

.subcard a {
  color: var(--green);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px;
}

.aside-tools {
  background: var(--bg);
  border: 1px dashed var(--pencil);
  margin-top: 20px;
  padding: 14px 18px;
}

.aside-tools .t {
  color: var(--green);
  font-family: "Klee One", cursive;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}

.faq dt {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 0 4px;
}

.faq dd {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  padding-bottom: 12px;
}

.service-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-table a {
  color: var(--green);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .compare-v2-page {
    max-width: calc(100vw - 28px);
    padding: 0 0 32px;
  }

  .rec-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rec-row .no,
  .rec-row .body,
  .rec-row .rec-cta {
    grid-column: 1 / -1;
  }

  .rec-row .rec-cta {
    justify-self: start;
  }

  .subcards,
  .fails {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Explore UX (2026-07-19, Claude): 記事一覧 / サービスDB / 比較ハブ /
   タグページ / 検索。B3紙面トークン準拠・新色は記事型の予約色のみ追加。
   ============================================================ */
:root {
  --purple: #5b4a78;
  --purple-soft: #efeaf5;
  --sumi: #4a4a46;
  --sumi-soft: #efefec;
}

/* 記事型の追加色(検証/リスク) + UPDATEバッジ */
.tag.review::before { background: var(--purple); }
.tag.incident::before { background: var(--sumi); }

/* ---- ページ骨格 ---- */
.explore-main { padding: 36px 0 80px; }
.explore-main .phead {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
  margin-bottom: 22px;
}
.explore-main .phead .kicker {
  font-family: "Klee One", cursive;
  color: var(--pencil);
  font-size: 13px;
  margin: 0 0 6px;
}
.explore-main .phead h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.explore-main .phead .lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  max-width: 740px;
  margin: 0 0 12px;
}
.phead-meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  align-items: center;
  row-gap: 6px;
}
.phead-meta > span { padding: 0 12px; border-left: 1px solid var(--line); }
.phead-meta > span:first-child { padding-left: 0; border-left: 0; }

/* ---- ファセット絞り込み ---- */
.facet-wrap { position: relative; }
.facet-bar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.facet-row { display: flex; gap: 10px; align-items: flex-start; }
.facet-row .flabel {
  font-family: "Klee One", cursive;
  font-size: 12.5px;
  color: var(--pencil);
  flex: none;
  min-width: 76px;
  padding-top: 8px;
}
.facet-options { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  min-height: 34px;
  line-height: 1;
}
.fchip:hover { border-color: var(--ink); }
.fchip:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.fchip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.fchip:disabled { opacity: 0.4; cursor: not-allowed; }
.fchip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.fchip .dot.news { background: var(--blue); }
.fchip .dot.tool { background: var(--green); }
.fchip .dot.case { background: var(--amber); }
.fchip .dot.guide { background: var(--red); }
.fchip .dot.review { background: var(--purple); }
.fchip .dot.incident { background: var(--sumi); }
.fchip .cnt2 { font-weight: 500; font-size: 11px; opacity: 0.65; }
.fchip .mono {
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
  background: var(--paper);
  color: var(--ink);
  flex: none;
}
.fchip[aria-pressed="true"] .mono { background: var(--paper); }
.facet-select {
  font-family: inherit;
  font-size: 12.5px;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  padding: 8px 10px;
  min-height: 34px;
}
.facet-select:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.facet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.facet-count { font-size: 12.5px; color: var(--muted); }
.facet-count strong { color: var(--ink); font-size: 15px; font-family: "Noto Serif JP", serif; }
.facet-clear {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px;
}
.facet-clear:hover { color: var(--ink); }
.facet-active-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.facet-active-row[hidden] { display: none; }
.facet-active-row .flabel2 { font-size: 11.5px; color: var(--muted); }
.fchip-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  border: 1px solid var(--green);
  color: var(--green);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  min-height: 30px;
}
.fchip-active .x { font-weight: 400; opacity: 0.8; }
.facet-toggle { display: none; }
.facet-apply { display: none; }
.facet-backdrop { display: none; }
.facet-more {
  background: none;
  border: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px 4px;
}

/* ---- 一覧リスト(記事) ---- */
.idx-list { display: grid; gap: 12px; margin-top: 14px; }
.idx-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  align-items: start;
}
.idx-item:hover { border-color: var(--ink); }
.idx-thumb {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}
.idx-tagrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.idx-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--stamp);
  border: 1.5px solid var(--stamp);
  border-radius: 3px;
  padding: 2px 6px;
  transform: rotate(-4deg);
  font-family: "Noto Serif JP", serif;
}
.idx-item h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 7px 0 6px;
}
.idx-item .idx-sum {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.idx-meta { margin-top: 8px; font-size: 11.5px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- サービスDBカード ---- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.svc-cat-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.svc-pr {
  font-size: 10px;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 3px;
  padding: 1px 6px;
}
.svc-card h3 { font-family: "Noto Serif JP", serif; font-weight: 900; font-size: 17.5px; line-height: 1.4; margin: 0; }
.svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h3 a:hover { text-decoration: underline; }
.svc-co { font-size: 12px; color: var(--muted); }
.svc-use {
  font-family: "Klee One", cursive;
  font-size: 12.5px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 4px;
  padding: 3px 10px;
  align-self: flex-start;
  transform: rotate(-0.5deg);
}
.svc-sum { font-size: 13px; line-height: 1.75; color: var(--text); margin: 0; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-chips span {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text);
}
.svc-price { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 9px; }
.svc-price strong { color: var(--ink); font-weight: 700; }
.svc-actions { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 4px; }
.svc-cta {
  border: 1.5px solid var(--green);
  color: var(--green);
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}
.svc-cta:hover { background: var(--green); color: var(--paper); }
.svc-official { font-size: 12px; color: var(--muted); }

/* ---- 比較ハブ ---- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 6px;
}
.hub-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.hub-card h2 { font-family: "Noto Serif JP", serif; font-weight: 900; font-size: 19px; line-height: 1.4; margin: 0; }
.hub-card h2 a { color: var(--ink); text-decoration: none; }
.hub-card h2 a:hover { text-decoration: underline; }
.hub-use {
  font-family: "Klee One", cursive;
  font-size: 12.5px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 4px;
  padding: 3px 10px;
  align-self: flex-start;
  transform: rotate(-0.5deg);
}
.hub-desc { font-size: 13px; line-height: 1.75; color: var(--text); margin: 0; }
.hub-axes { font-size: 11.5px; color: var(--muted); }
.hub-cnt {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}
.hub-cnt:hover { text-decoration: underline; }
.hub-status {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: var(--pencil);
  background: var(--bg);
  border: 1px dashed var(--pencil);
  border-radius: 4px;
  padding: 3px 9px;
}
.hub-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.hub-reltitle { font-size: 11.5px; color: var(--muted); margin: 4px 0 0; }
.hub-rel a { color: var(--green); font-size: 12px; }
.hub-pipeline {
  margin-top: 26px;
  background: var(--amber-soft);
  border: 1px dashed var(--pencil);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.hub-pipeline .t { font-family: "Klee One", cursive; color: var(--pencil); font-size: 13px; margin: 0 0 6px; }
.hub-pipeline p { font-size: 13px; line-height: 1.8; color: var(--text); margin: 0; }
.hub-policy { font-size: 11.5px; color: var(--muted); margin-top: 18px; }

/* ---- タグページ ---- */
.tagp-head { display: flex; gap: 16px; align-items: flex-start; }
.mono-lg {
  width: 54px;
  height: 54px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
  background: var(--paper);
  color: var(--ink);
  flex: none;
  margin-top: 4px;
}
.tagp-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin: 20px 0 6px;
}
.tagp-rel { margin-top: 30px; }
.tagp-rel h2, .tagp-cta-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 16px;
  margin: 0 0 10px;
}
.tagp-rel .facet-options { margin-top: 4px; }
.fchip-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  min-height: 34px;
  line-height: 1;
}
.fchip-link:hover { border-color: var(--ink); }
.tagp-cta {
  margin-top: 30px;
  background: var(--green-soft);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tagp-cta p { margin: 0; font-size: 13px; color: var(--text); }
.tagp-cta .svc-cta { background: var(--paper); }

/* ---- 検索ページ ---- */
.srch-form {
  display: flex;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 4px;
}
.srch-form input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  min-width: 0;
}
.srch-form input:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.srch-form button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.srch-hint { font-size: 12px; color: var(--muted); margin-top: 8px; }
.srch-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.srch-group { margin-top: 34px; }
.srch-group > h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 18px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.srch-group > h2 .cnt3 { font-size: 12px; color: var(--muted); font-weight: 500; font-family: "Noto Sans JP", sans-serif; }
.srch-direct {
  border: 1.5px solid var(--green);
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.srch-direct .lbl { font-family: "Klee One", cursive; font-size: 12.5px; color: var(--green-dark); }
.srch-direct a { font-weight: 700; color: var(--green); font-size: 14px; }

/* ---- 空状態 ---- */
.empty-state {
  margin-top: 20px;
  background: var(--paper);
  border: 1px dashed var(--pencil);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.empty-state h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
}
.empty-state p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0 0 14px; }
.empty-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- モバイル: 絞り込みは下から開くシートに ---- */
@media (max-width: 720px) {
  .explore-main { padding: 24px 0 64px; }
  .explore-main .phead h1 { font-size: 24px; }
  .facet-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    min-height: 44px;
  }
  .facet-toggle .n { color: var(--green); font-weight: 900; }
  .facet-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    max-height: 82vh;
    overflow-y: auto;
    border-radius: 14px 14px 0 0;
    border-top: 3px solid var(--ink);
    box-shadow: 0 -12px 32px rgba(28, 25, 18, 0.22);
    padding-bottom: 12px;
  }
  .facet-bar.open { display: flex; }
  .facet-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26, 28, 26, 0.42);
    z-index: 55;
  }
  body.sheet-open { overflow: hidden; }
  .facet-row { flex-direction: column; gap: 6px; }
  .facet-row .flabel { padding-top: 0; }
  .fchip, .fchip-link { min-height: 44px; }
  .facet-select { min-height: 44px; width: 100%; }
  .facet-apply {
    display: block;
    position: sticky;
    bottom: 0;
    width: 100%;
    background: var(--ink);
    color: var(--paper);
    border: 0;
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
  }
  .idx-item { grid-template-columns: 96px 1fr; gap: 12px; }
  .idx-item h3 { font-size: 15px; }
  .svc-grid, .hub-grid { grid-template-columns: 1fr; }
  .tagp-head { gap: 12px; }
  .mono-lg { width: 44px; height: 44px; font-size: 20px; }
}

/* 記事詳細のタグリンク(タグ体系v2) */
a.tag-pill { text-decoration: none; color: inherit; }
a.tag-pill:hover { border-color: var(--ink); }
.article-foot-tags { margin-top: 18px; }

/* ========================================================================
   WO-029 — site structure v3 public shell
   Existing pages keep their current cascade. New shell rules are scoped to
   .site-v3 and intentionally live at the end of the stylesheet.
   ======================================================================== */
.site-v3 {
  --v3-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --v3-sans: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --v3-hand: "Klee One", "Klee", "UD Digi Kyokasho N-R", "Yu Mincho", serif;
  --muted: #5f645c;
  --pencil: #565b54;
  --shadow-card: 0 8px 22px rgba(40, 35, 26, 0.07);
  --shadow-lift: 0 14px 30px rgba(40, 35, 26, 0.11);
  --shadow-fusen: 2px 5px 10px rgba(40, 35, 26, 0.12);
  background: var(--bg);
  color: var(--text);
  font-family: var(--v3-sans);
  font-feature-settings: "palt" 1;
  line-height: 1.75;
}
.site-v3 *, .site-v3 *::before, .site-v3 *::after { box-sizing: border-box; }
.site-v3 img { max-width: 100%; height: auto; }
.site-v3 a { text-underline-offset: 3px; }
.site-v3 .wrap { max-width: 1160px; padding-left: 32px; padding-right: 32px; }
.site-v3 :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.site-v3 .skip-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.site-v3.v3-ready .legacy-home-fallback { display: none; }

.v3-utility { border-bottom: 1px solid var(--line); }
.v3-utility .wrap {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  justify-content: space-between;
  min-height: 36px;
  gap: 6px 20px;
}
.v3-mast { border-bottom: 1px solid var(--line); }
.v3-mast-main {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  padding-top: 24px;
}
.v3-brand {
  color: var(--ink);
  display: inline-grid;
  flex: 0 0 auto;
  font-family: var(--v3-serif);
  gap: 4px;
  text-decoration: none;
}
.v3-brand strong { font-size: 34px; font-weight: 900; line-height: 1.08; }
.v3-brand > span { border-bottom: 4px double var(--ink); }
.v3-brand small { font-family: var(--v3-sans); font-size: 12px; font-weight: 500; }
.v3-mast-meta { color: var(--text); font-family: var(--v3-hand); font-size: 12.5px; margin: 0; text-align: right; }
.v3-mast-meta span { color: var(--muted); font-family: var(--v3-sans); font-variant-numeric: tabular-nums; }
.v3-gnav { border-bottom: 3px solid var(--ink); }
.v3-gnav .wrap { display: flex; flex-wrap: wrap; }
.v3-gnav a {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  min-width: 44px;
  padding: 4px 17px;
  position: relative;
  text-decoration: none;
}
.v3-gnav a::after { background: var(--green); bottom: 5px; content: ""; height: 2px; left: 15px; position: absolute; right: 15px; transform: scaleX(0); transition: transform 150ms ease; }
.v3-gnav a:hover::after, .v3-gnav a:focus-visible::after, .v3-gnav a[aria-current="page"]::after { transform: scaleX(1); }
.v3-gnav .v3-gnav-search { border-left: 1px solid var(--line); color: var(--green); margin-left: auto; }

.v3-opening { padding: 42px 0 8px; }
.v3-opening-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
.v3-kicker { color: var(--green); font-family: var(--v3-hand); font-size: 13px; margin: 0 0 12px; }
.v3-opening h1, .v3-page-head h1 {
  color: var(--ink);
  font-family: var(--v3-serif);
  font-size: 33px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin: 0;
}
.v3-opening h1 > span { background: linear-gradient(transparent 64%, var(--marker) 0); padding: 0 3px; }
.v3-lede, .v3-page-head > p:not(.v3-kicker) { color: var(--muted); font-size: 14.5px; margin: 14px 0 0; max-width: 700px; }
.v3-search { background: var(--paper); border: 1.5px solid var(--ink); display: flex; margin-top: 22px; max-width: 620px; }
.v3-search input { background: transparent; border: 0; color: var(--ink); flex: 1; font-family: inherit; font-size: 16px; min-height: 48px; min-width: 0; padding: 10px 16px; }
.v3-search button { background: var(--ink); border: 0; color: var(--paper); cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 700; min-height: 48px; min-width: 80px; padding: 0 22px; }
.v3-search button:hover { background: var(--green); }
.v3-quick { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.v3-quick > span:first-child { color: var(--muted); font-family: var(--v3-hand); font-size: 12px; }
.v3-chip {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 12px;
  gap: 7px;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 14px;
  text-decoration: none;
}
.v3-chip:hover { border-color: var(--green); color: var(--green); }
.v3-chip b { color: var(--green); font-size: 12px; }
.v3-chip.is-disabled { border-style: dashed; color: var(--muted); }
.v3-chip.is-disabled b { color: var(--amber); }
.v3-index { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 18px 20px; }
.v3-index h2 { border-bottom: 2px solid var(--ink); color: var(--ink); font-size: 12.5px; letter-spacing: 0.14em; margin: 0; padding: 0 0 8px; }
.v3-index ol { list-style: none; margin: 0; padding: 0; }
.v3-index li { border-bottom: 1px solid var(--line); }
.v3-index a { align-items: center; display: flex; gap: 10px; justify-content: space-between; min-height: 44px; text-decoration: none; }
.v3-index b { color: var(--ink); font-size: 12.5px; }
.v3-index span { color: var(--muted); font-size: 12px; text-align: right; }
.v3-index p { color: var(--pencil); font-family: var(--v3-hand); font-size: 12px; margin: 10px 0 0; }

.v3-section { border-top: 3px solid var(--ink); margin-top: 44px; padding-top: 17px; position: relative; }
.v3-section::before { border-top: 1px solid var(--ink); content: ""; left: 0; position: absolute; right: 0; top: 4px; }
.v3-section-head { align-items: baseline; display: flex; flex-wrap: wrap; gap: 10px 15px; margin-bottom: 20px; }
.v3-section-head h2 { color: var(--ink); font-family: var(--v3-serif); font-size: 23px; font-weight: 900; margin: 0; }
.v3-section-head > span { color: var(--pencil); font-family: var(--v3-hand); font-size: 13px; }
.v3-section-head > a, .v3-more-link { color: var(--green); font-size: 12.5px; font-weight: 700; margin-left: auto; min-height: 44px; align-items: center; display: inline-flex; }
.v3-state { align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; color: var(--text); display: inline-flex; font-size: 12px; font-weight: 700; min-height: 28px; padding: 3px 9px; }
.v3-state-news { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.v3-state-live { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.v3-state-preparing { background: var(--amber-soft); border-style: dashed; color: var(--amber); }
.v3-state-wait { border: 1px dashed var(--pencil); color: var(--pencil); }
.v3-state-guide { background: var(--red-soft); border-color: var(--red); color: var(--red); }

.v3-news-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
.v3-news-list { list-style: none; margin: 0; padding: 0; }
.v3-news-list li { border-bottom: 1px solid var(--line); }
.v3-news-list a { display: grid; gap: 8px 12px; grid-template-columns: 56px auto 1fr; min-height: 92px; padding: 14px 4px; text-decoration: none; }
.v3-news-list time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 4px; }
.v3-news-list strong { color: var(--ink); font-family: var(--v3-serif); font-size: 16px; line-height: 1.55; }
.v3-news-meta { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 12px; gap: 6px 14px; grid-column: 3; }
.v3-news-meta b { color: var(--blue); }
.v3-planned { background: var(--paper); border: 1.5px dashed var(--pencil); padding: 20px; }
.v3-planned h3 { color: var(--ink); font-family: var(--v3-serif); font-size: 17px; margin: 14px 0 8px; }
.v3-planned p { color: var(--muted); font-size: 13px; margin: 0; }

.v3-compare-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-compare-card { background: var(--paper); border: 1px solid var(--line); color: var(--text); display: flex; flex-direction: column; min-height: 330px; padding: 20px; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.v3-compare-card.is-live { border-top: 3px solid var(--green); }
.v3-compare-card.is-live:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.v3-compare-card.is-preparing { border: 1.5px dashed var(--pencil); }
.v3-compare-card h3 { color: var(--ink); font-family: var(--v3-serif); font-size: 19px; margin: 14px 0 2px; }
.v3-compare-card .v3-hand { color: var(--green); font-family: var(--v3-hand); font-size: 12px; margin: 0; }
.v3-compare-number { align-items: baseline; display: flex; gap: 8px; margin: 18px 0 8px; }
.v3-compare-number strong { color: var(--ink); font-family: var(--v3-serif); font-size: 44px; line-height: 1; }
.v3-compare-number span { font-size: 12.5px; }
.v3-compare-card ul { font-size: 12.5px; margin: 0; padding-left: 20px; }
.v3-preparing-note { color: var(--muted); font-size: 13px; margin: 24px 0; }
.v3-card-foot { border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; font-size: 12px; gap: 8px; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.v3-card-foot b { color: var(--green); }
.v3-compare-policy { align-items: flex-start; display: flex; gap: 12px 24px; justify-content: space-between; margin-top: 14px; }
.v3-compare-policy span { color: var(--muted); font-size: 12px; }
.v3-compare-policy b { color: var(--pencil); font-family: var(--v3-hand); font-size: 12px; white-space: nowrap; }

.v3-axis-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-axis-grid > article { background: var(--paper); border: 1px solid var(--line); padding: 20px; }
.v3-axis-grid h3 { color: var(--ink); font-family: var(--v3-serif); font-size: 17px; margin: 12px 0 2px; }
.v3-axis-grid p { color: var(--muted); font-size: 12px; margin: 0 0 12px; }
.v3-axis-grid article > div { display: flex; flex-wrap: wrap; gap: 8px; }

.v3-guide-band { background: var(--paper-soft); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: 44px; padding: 0 0 42px; }
.v3-guide-band .v3-section { margin-top: 0; }
.v3-feature-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); }
.v3-feature-main h3 { font-family: var(--v3-serif); font-size: 26px; line-height: 1.5; margin: 14px 0 8px; }
.v3-feature-main h3 a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
  text-decoration: none;
}
.v3-feature-main > p { color: var(--muted); font-size: 13.5px; }
.v3-feature-image { border: 1px solid var(--line); display: block; margin-top: 12px; overflow: hidden; }
.v3-feature-image img { aspect-ratio: 1200 / 630; display: block; object-fit: cover; width: 100%; }
.v3-byline { border-bottom: 1px solid var(--line); color: var(--ink) !important; font-size: 12px !important; padding-bottom: 12px; }
.v3-byline span { color: var(--muted); margin-left: 12px; }
.v3-editor-memo { background: var(--amber-soft); box-shadow: var(--shadow-fusen); margin-top: 18px; padding: 15px 18px; position: relative; transform: rotate(-0.2deg); }
.v3-editor-memo::before { background: rgba(255, 229, 138, 0.7); content: ""; height: 18px; left: 50%; position: absolute; top: -9px; transform: translateX(-50%) rotate(-1deg); width: 82px; }
.v3-editor-memo b { color: var(--ink); font-family: var(--v3-hand); font-size: 12px; }
.v3-editor-memo p { font-size: 12.5px; margin: 5px 0 0; }
.v3-feature-list { border-left: 1px solid var(--line); }
.v3-feature-list > a { border-bottom: 1px solid var(--line); display: block; min-height: 110px; padding: 14px 0 14px 20px; text-decoration: none; }
.v3-feature-list > a > span { align-items: center; color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; }
.v3-feature-list > a > span b { color: var(--red); }
.v3-feature-list strong { color: var(--ink); display: block; font-family: var(--v3-serif); font-size: 15px; line-height: 1.55; margin-top: 8px; }
.v3-feature-list em { background: var(--blue-soft); color: var(--blue); display: inline-block; font-size: 12px; font-style: normal; margin-top: 6px; padding: 2px 7px; transform: rotate(-0.5deg); }

.v3-case-empty { background: var(--paper); border: 2px dashed var(--pencil); padding: 28px; position: relative; }
.v3-case-empty > span { background: var(--paper); border: 2px solid var(--stamp); color: var(--stamp); font-size: 12px; font-weight: 700; left: 22px; padding: 3px 10px; position: absolute; top: -14px; }
.v3-case-empty h3 { color: var(--ink); font-family: var(--v3-serif); font-size: 19px; margin: 6px 0 14px; }
.v3-case-empty ol { display: grid; gap: 8px 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.v3-case-empty li { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; font-size: 13px; gap: 10px; padding: 8px 2px; }
.v3-case-empty li > b { color: var(--stamp); font-family: var(--v3-serif); font-size: 15px; }
.v3-case-empty li span { display: grid; }
.v3-case-empty li small { color: var(--muted); font-size: 12px; }
.v3-case-empty > p { color: var(--muted); font-size: 12.5px; margin: 16px 0 0; }
.v3-case-empty > p strong { color: var(--ink); }
.v3-case-empty > a { color: var(--green); display: inline-flex; font-size: 12.5px; font-weight: 700; margin-right: 18px; margin-top: 8px; min-height: 44px; align-items: center; }

.v3-service-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
.v3-list-heading { align-items: baseline; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; margin: 0; padding-bottom: 8px; }
.v3-list-heading b { color: var(--ink); font-family: var(--v3-serif); font-size: 15px; }
.v3-list-heading span { color: var(--muted); font-size: 12px; }
.v3-service-list { list-style: none; margin: 0; padding: 0; }
.v3-service-list li { border-bottom: 1px solid var(--line); }
.v3-service-list a { display: block; min-height: 98px; padding: 14px 4px; text-decoration: none; }
.v3-service-head { align-items: baseline; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.v3-service-head strong { color: var(--ink); font-family: var(--v3-serif); font-size: 16px; }
.v3-service-head > span { color: var(--muted); font-size: 12px; }
.v3-service-use { color: var(--green); display: block; font-family: var(--v3-hand); font-size: 12px; margin-top: 3px; }
.v3-service-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.v3-service-chips > span { background: var(--bg); border: 1px solid var(--line); font-size: 12px; padding: 2px 7px; }
.v3-trust-box { background: var(--green-soft); border: 1px solid var(--green); padding: 20px; }
.v3-trust-box h3 { color: var(--ink); font-family: var(--v3-serif); font-size: 17px; margin: 0 0 12px; }
.v3-trust-box ul { font-size: 13px; margin: 0; padding-left: 20px; }
.v3-trust-box li { margin-bottom: 8px; }
.v3-trust-box p { color: var(--green); font-family: var(--v3-hand); font-size: 12px; margin: 14px 0 0; }

.v3-policy { border-top: 4px double var(--ink); margin-top: 44px; padding: 18px 0 36px; }
.v3-policy .v3-section-head { margin-bottom: 12px; }
.v3-policy .v3-section-head h2 { font-size: 17px; }
.v3-policy > div { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-policy > div span, .v3-policy > div a { align-items: center; background: var(--paper); border: 1px dashed var(--line-strong); color: var(--muted); display: inline-flex; font-size: 12px; min-height: 44px; min-width: 44px; padding: 5px 13px; }
.v3-policy > div a { text-decoration: none; }
.v3-policy > div a:hover { border-style: solid; color: var(--green); text-decoration: underline; }
.v3-policy > p { color: var(--muted); font-size: 12px; margin: 12px 0 0; }

.v3-footer { background: var(--ink); color: var(--paper); margin-top: 0; padding-top: 34px; }
.v3-footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v3-footer section { display: flex; flex-direction: column; }
.v3-footer h2 { border-bottom: 1px solid rgba(255,255,255,0.24); font-family: var(--v3-serif); font-size: 14px; margin: 0 0 8px; padding-bottom: 7px; }
.v3-footer a, .v3-footer section > span { align-items: center; color: var(--paper); display: inline-flex; font-size: 12px; min-height: 44px; text-decoration: none; }
.v3-footer section > span { color: rgba(255,255,255,0.58); }
.v3-footer a:hover { text-decoration: underline; }
.v3-footer-bottom { border-top: 1px solid rgba(255,255,255,0.24); display: flex; flex-wrap: wrap; font-size: 12px; justify-content: space-between; margin-top: 24px; min-height: 64px; padding-bottom: 16px !important; padding-top: 16px !important; }
.v3-footer-bottom span:last-child { font-family: var(--v3-hand); }

/* hub pages */
.v3-hub-main { padding: 38px 0 64px; }
.v3-page-head { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.v3-page-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.v3-page-status span { background: var(--paper); border: 1px solid var(--line); font-size: 12px; padding: 6px 10px; }
.v3-usecase-cards { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-usecase-card { background: var(--paper); border: 1px solid var(--line); padding: 18px; }
.v3-usecase-card h3 { font-family: var(--v3-serif); font-size: 18px; margin: 12px 0 6px; }
.v3-usecase-card h3 a {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
}
.v3-usecase-card p { color: var(--muted); font-size: 12.5px; margin: 0; min-height: 46px; }
.v3-usecase-card .v3-more-link { margin: 8px 0 0; }
.v3-waiting-row { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.v3-waiting-row b, .v3-waiting-row span { font-size: 12px; }
.v3-waiting-row span { border: 1px dashed var(--line-strong); color: var(--muted); padding: 5px 9px; }
.v3-issue-list { display: grid; gap: 0; }
.v3-issue-list a { align-items: baseline; border-bottom: 1px solid var(--line); display: grid; gap: 8px 20px; grid-template-columns: minmax(180px, 0.42fr) 1fr; min-height: 64px; padding: 12px 4px; text-decoration: none; }
.v3-issue-list b { color: var(--ink); font-family: var(--v3-serif); font-size: 15px; }
.v3-issue-list span { color: var(--muted); font-size: 12.5px; }
.v3-representative-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v3-representative { border-bottom: 1px solid var(--line); min-height: 170px; padding: 18px; text-decoration: none; }
.v3-representative:nth-child(odd) { border-right: 1px solid var(--line); }
.v3-representative > span { align-items: center; display: flex; justify-content: space-between; }
.v3-representative time { color: var(--muted); font-size: 12px; }
.v3-representative > strong { color: var(--ink); display: block; font-family: var(--v3-serif); font-size: 16px; line-height: 1.55; margin-top: 10px; }
.v3-representative > p { color: var(--muted); font-size: 12.5px; margin: 7px 0 0; }
.v3-failure-grid, .v3-related-compare-grid, .v3-next-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-failure-grid article, .v3-related-compare, .v3-next-grid a { background: var(--paper); border: 1px solid var(--line); padding: 18px; text-decoration: none; }
.v3-failure-grid b, .v3-related-compare > strong, .v3-next-grid b { color: var(--ink); display: block; font-family: var(--v3-serif); font-size: 16px; }
.v3-failure-grid p, .v3-related-compare p, .v3-next-grid span { color: var(--muted); display: block; font-size: 12.5px; margin: 8px 0; }
.v3-failure-grid a { color: var(--green); display: inline-flex; font-size: 12.5px; font-weight: 700; min-height: 44px; align-items: center; }
.v3-related-compare.is-live { border-top: 3px solid var(--green); }
.v3-related-compare.is-preparing { border-style: dashed; }
.v3-related-compare small { color: var(--muted); display: block; font-size: 12px; margin-top: 6px; }
.v3-disabled-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.v3-disabled-filters span { border: 1px dashed var(--line-strong); color: var(--muted); font-size: 13px; min-width: 160px; padding: 12px 14px; }
.v3-case-page { margin-top: 6px; }
.v3-next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v3-next-grid a { min-height: 130px; }
.v3-load-error { background: var(--paper); border: 1px dashed var(--pencil); margin: 40px auto; padding: 28px; }
.v3-load-error h1, .v3-load-error h2 { color: var(--ink); font-family: var(--v3-serif); }
.v3-load-error p, .v3-load-error a { font-size: 13px; }

/* WO-031: trust pages and footer trust navigation */
.trust-v3-main { padding: 42px 0 72px; }
.trust-v3-shell { margin: 0 auto; max-width: 920px; padding: 0 24px; }
.trust-v3-hero { border-bottom: 2px solid var(--ink); padding: 0 0 32px; }
.trust-v3-breadcrumb { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 12px; gap: 8px; margin-bottom: 28px; }
.trust-v3-breadcrumb a { align-items: center; color: var(--green); display: inline-flex; justify-content: center; min-height: 44px; min-width: 44px; }
.trust-v3-hero h1 { color: var(--ink); font-family: var(--v3-serif); font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.035em; line-height: 1.25; margin: 8px 0 14px; }
.trust-v3-lede { color: var(--muted); font-family: var(--v3-serif); font-size: 17px; line-height: 1.9; margin: 0; max-width: 760px; }
.trust-v3-content { font-size: 15px; line-height: 1.9; }
.trust-v3-content > section { border-top: 1px solid var(--line); margin-top: 42px; padding-top: 24px; }
.trust-v3-content > p:first-child { font-size: 16px; margin-top: 30px; }
.trust-v3-content h2 { color: var(--ink); font-family: var(--v3-serif); font-size: 23px; line-height: 1.45; margin: 0 0 14px; }
.trust-v3-content h3 { color: var(--ink); font-family: var(--v3-serif); font-size: 17px; line-height: 1.5; margin: 0 0 6px; }
.trust-v3-content p { margin: 12px 0; }
.trust-v3-content ul, .trust-v3-content ol { padding-left: 24px; }
.trust-v3-content li { margin: 8px 0; }
.trust-v3-content a, .trust-v3-callout a { align-items: center; color: var(--green); display: inline-flex; font-weight: 700; min-height: 44px; }
.trust-v3-principles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0 !important; }
.trust-v3-principles li { background: var(--paper); border: 1px solid var(--line); margin: 0; min-height: 170px; padding: 20px; }
.trust-v3-table-wrap { margin: 24px 0; overflow-x: auto; }
.trust-v3-table-wrap table { border-collapse: collapse; min-width: 620px; width: 100%; }
.trust-v3-table-wrap th, .trust-v3-table-wrap td { border: 1px solid var(--line); padding: 13px 15px; text-align: left; vertical-align: top; }
.trust-v3-table-wrap th { background: var(--paper-soft); color: var(--ink); font-weight: 700; }
.trust-v3-callout { background: var(--green-soft); border: 1px solid var(--green); margin: 30px 0; padding: 22px; }
.trust-v3-callout h2 { font-size: 19px; }
.trust-v3-status { background: var(--paper); border: 1px dashed var(--line-strong); color: var(--muted); padding: 16px; }
.site-footer .footer-trust-links { display: grid; flex-basis: 100%; gap: 4px 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 10px; }
.site-footer .footer-trust-links a { align-items: center; color: var(--paper); display: inline-flex; font-size: 12px; min-height: 44px; text-decoration: none; }
.site-footer .footer-trust-links a:hover { text-decoration: underline; }

/* WO-032: legacy-shell controls kept during v3 integration */
body:not(.site-v3) .global-nav a,
body:not(.site-v3) .header-cta,
body:not(.site-v3) .service-breadcrumb a,
body:not(.site-v3) a.tag-pill,
body:not(.site-v3) a.svc-cta,
body:not(.site-v3) a.rec-cta,
body:not(.site-v3) a.svc-official,
body:not(.site-v3) a.hub-cnt,
body:not(.site-v3) a.tag.tool {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}
body:not(.site-v3) .facet-select { min-height: 44px; }

.v3-motion #v3-home-app [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 380ms ease, transform 380ms ease; }
.v3-motion #v3-home-app [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .v3-opening-grid, .v3-news-grid, .v3-feature-grid, .v3-service-grid { grid-template-columns: 1fr; }
  .v3-compare-grid, .v3-axis-grid, .v3-usecase-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-feature-list { border-left: 0; }
  .v3-feature-list > a { padding-left: 0; }
  .v3-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-v3 .wrap { padding-left: 18px; padding-right: 18px; }
  .v3-utility .wrap { align-items: flex-start; flex-direction: column; justify-content: center; padding-bottom: 8px; padding-top: 8px; }
  .v3-mast-main { align-items: flex-start; flex-direction: column; gap: 10px; padding-bottom: 14px; padding-top: 18px; }
  .v3-brand strong { font-size: 28px; }
  .v3-mast-meta { text-align: left; }
  .v3-gnav .wrap { gap: 0; }
  .v3-gnav a { font-size: 12.5px; min-height: 44px; padding: 4px 12px; }
  .v3-gnav .v3-gnav-search { border-left: 0; margin-left: 0; }
  .v3-opening { padding-top: 28px; }
  .v3-opening h1, .v3-page-head h1 { font-size: 26px; }
  .v3-lede, .v3-page-head > p:not(.v3-kicker) { font-size: 15px; }
  .v3-index { margin-top: 4px; }
  .v3-section { margin-top: 36px; }
  .v3-section-head h2 { font-size: 21px; }
  .v3-section-head > a { margin-left: 0; width: 100%; }
  .v3-news-list a { grid-template-columns: 50px auto 1fr; }
  .v3-news-list strong { grid-column: 3; font-size: 15px; }
  .v3-news-meta { grid-column: 1 / -1; padding-left: 62px; }
  .v3-compare-grid, .v3-axis-grid, .v3-usecase-cards, .v3-failure-grid, .v3-related-compare-grid, .v3-next-grid { grid-template-columns: 1fr; }
  .v3-compare-card { min-height: 0; }
  .v3-compare-policy { flex-direction: column; }
  .v3-compare-policy b { white-space: normal; }
  .v3-feature-main h3 { font-size: 22px; }
  .v3-case-empty { padding: 26px 18px 20px; }
  .v3-case-empty ol { grid-template-columns: 1fr; }
  .v3-list-heading { align-items: flex-start; flex-direction: column; }
  .v3-footer-grid { grid-template-columns: 1fr 1fr; }
  .v3-issue-list a { grid-template-columns: 1fr; gap: 4px; }
  .v3-representative-list { grid-template-columns: 1fr; }
  .v3-representative:nth-child(odd) { border-right: 0; }
  .v3-disabled-filters span { min-width: 0; width: 100%; }
  .v3-hub-main { padding-top: 28px; }
  .trust-v3-main { padding-top: 28px; }
  .trust-v3-shell { padding: 0 18px; }
  .trust-v3-principles { grid-template-columns: 1fr; }
  .site-footer .footer-trust-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .v3-gnav a { padding-left: 9px; padding-right: 9px; }
  .v3-search button { min-width: 70px; padding-left: 14px; padding-right: 14px; }
  .v3-footer-grid { grid-template-columns: 1fr; }
  .site-footer .footer-trust-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .site-v3 *, .site-v3 *::before, .site-v3 *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .v3-motion #v3-home-app [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* WO-033: 小型タグチップは視覚寸法を基本チップ(約26px高)へ戻し、
   SPのタップ領域は透明な::afterで縦44pxを確保する */
body:not(.site-v3) a.tag-pill,
body:not(.site-v3) a.tag.tool {
  min-height: 0;
  min-width: 0;
  position: relative;
}
@media (max-width: 760px) {
  body:not(.site-v3) a.tag-pill::after,
  body:not(.site-v3) a.tag.tool::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 44px;
    transform: translateY(-50%);
  }
}

/* WO-033: 検索の調べ方説明 */
.srch-ways { margin-top: 26px; }
.srch-ways h2 { font-family: "Noto Serif JP", serif; font-weight: 900; font-size: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin: 0 0 12px; }
.srch-ways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.srch-ways li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 4px; }
.srch-ways li b { font-size: 13.5px; color: var(--ink); }
.srch-ways li span { font-size: 12.5px; line-height: 1.8; color: var(--text); }
.srch-ways li a { color: var(--green); font-size: 12.5px; font-weight: 700; text-decoration: underline; justify-self: start; }
@media (max-width: 760px) { .srch-ways li a { min-height: 44px; display: inline-flex; align-items: center; } }

.v3-search-note { color: var(--muted); font-size: 12.5px; margin: 8px 0 0; }

/* WO-033: v3ヘッダーのブランドマーク(favicon.svgを再利用) */
.v3-brand { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; }
.v3-brand-logo { display: block; width: 40px; height: 40px; grid-row: 1 / 4; grid-column: 1; align-self: center; }
.v3-brand strong, .v3-brand > span, .v3-brand small { grid-column: 2; }
@media (max-width: 760px) { .v3-brand-logo { width: 32px; height: 32px; } }

/* WO-034: AI活用事例カード */
.v3-case-list { display: grid; gap: 12px; }
@media (min-width: 900px) { .v3-case-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v3-case-list a { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 6px; align-content: start; color: inherit; text-decoration: none; }
.v3-case-list a:hover b { text-decoration: underline; }
.v3-case-list .v3-case-co { font-size: 12px; font-weight: 700; color: var(--green); }
.v3-case-list b { font-family: "Noto Serif JP", serif; font-weight: 900; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.v3-case-list .v3-case-sum { font-size: 12.5px; line-height: 1.8; color: var(--text); }
.v3-case-list .v3-case-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--muted); }
.v3-case-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.v3-case-note a { color: var(--green); font-weight: 700; text-decoration: underline; margin-left: 6px; }

/* WO-034 follow-up: SP非v3ヘッダーCTAのcontent-boxはみ出しを防ぐ */
@media (max-width: 900px) {
  body:not(.site-v3) .site-header > .header-cta { box-sizing: border-box; }
}
