@charset "UTF-8";
/* ==========================================================================
   TRUSTORIGIN DVE — 製品トップページ（www.trustorigin.io）
   配色は管理画面（frontend/tailwind.config.js）から抽出したトークンに準拠
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. トークン
   -------------------------------------------------------------------------- */
:root {
  /* 主色（管理画面 primary-600 系） */
  --c-primary: #2563eb;
  --c-primary-dark: #1d4ed8;
  --c-primary-darker: #1e40af;
  --c-primary-tint: #eff6ff;
  --c-primary-tint-2: #dbeafe;

  /* 状態色（Before/After と注意喚起にのみ使用） */
  --c-danger: #b91c1c;
  --c-danger-tint: #fef2f2;
  --c-success: #15803d;
  --c-success-tint: #f0fdf4;
  --c-warning: #92400e;
  --c-warning-tint: #fffbeb;

  /* 無彩色 */
  --c-text: #111827;
  --c-text-muted: #4b5563;
  --c-text-inverse: #ffffff;
  --c-bg: #ffffff;
  --c-bg-subtle: #f9fafb;
  --c-bg-sunken: #f3f4f6;
  --c-border: #e5e7eb;
  --c-border-strong: #d1d5db;

  /* 余白スケール */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* 角丸・影（管理画面と同じ控えめなスケール） */
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);

  /* z-index スケール（任意値を使わない） */
  --z-sticky: 30;
  --z-skiplink: 50;

  --container: 1120px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI",
    Meiryo, sans-serif;
}

/* --------------------------------------------------------------------------
   2. リセット
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-bg);
  font-feature-settings: "palt" 1;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  line-height: 1.45;
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: var(--c-primary-dark);
}

table {
  border-collapse: collapse;
}

/* フォーカスは常に見えるようにする（キーボード操作の必須要件） */
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. 汎用
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: var(--z-skiplink);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-primary);
  color: var(--c-text-inverse);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: top 150ms ease-out;
}

.skip-link:focus {
  top: var(--sp-4);
}

.section {
  padding-block: var(--sp-7);
}

.section--subtle {
  background: var(--c-bg-subtle);
}

.section--sunken {
  background: var(--c-bg-sunken);
}

.section__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--c-primary-dark);
  margin-bottom: var(--sp-2);
}

.section__title {
  font-size: 1.5rem;
  margin-bottom: var(--sp-4);
}

.section__lead {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-6);
  max-width: 46em;
}

.note {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 未確定項目のマーカー。公開前に必ず解消する */
.todo {
  background: var(--c-warning-tint);
  border-bottom: 2px dotted var(--c-warning);
  color: var(--c-warning);
  font-weight: 700;
  padding-inline: 2px;
}

/* 余白ユーティリティ（インラインスタイルを使わないための最小セット） */
.u-mt-4 { margin-top: var(--sp-4); }
.u-mt-6 { margin-top: var(--sp-6); }
.u-mb-3 { margin-bottom: var(--sp-3); }

/* --------------------------------------------------------------------------
   4. ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}

.btn--primary {
  background: var(--c-primary);
  color: var(--c-text-inverse);
}

.btn--primary:hover {
  background: var(--c-primary-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--c-primary-dark);
  border-color: var(--c-border-strong);
}

.btn--secondary:hover {
  background: var(--c-primary-tint);
  border-color: var(--c-primary);
}

.btn--on-dark {
  background: var(--c-bg);
  color: var(--c-primary-darker);
}

.btn--on-dark:hover {
  background: var(--c-primary-tint);
}

.btn--secondary-on-dark {
  background: transparent;
  color: var(--c-text-inverse);
  border-color: rgb(255 255 255 / 0.6);
}

.btn--secondary-on-dark:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: var(--c-text-inverse);
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.cta-inline {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
}

.cta-inline .note {
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 64px;
  padding-block: var(--sp-2);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--c-text);
}

.site-header__logo img {
  height: 32px;
  width: auto;
}

.site-header__edition {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-text-muted);
}

.site-header__cta {
  display: none;
}

/* ヒーローのアイブロウ（H1の直上・製品カテゴリと製品名を名乗る） */
.hero__eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-primary-dark);
  margin-bottom: var(--sp-3);
}

.hero__eyebrow b {
  color: var(--c-text);
}

/* サマリー帯の見出し（読み上げ専用から可視化） */
.summary__title {
  font-size: 1.125rem;
  margin-bottom: var(--sp-5);
  color: var(--c-text);
}

@media (min-width: 900px) {
  .hero__eyebrow { font-size: 0.9375rem; }
  .summary__title { font-size: 1.25rem; }
}

/* --------------------------------------------------------------------------
   6. ヒーロー
   -------------------------------------------------------------------------- */
.hero {
  padding-block: var(--sp-7) var(--sp-6);
  background: var(--c-bg);
}

.hero__title {
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: var(--sp-4);
}

.hero__lead {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-6);
}

.hero__figure {
  margin: 0 0 var(--sp-6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--c-bg-sunken);
}

.hero__figcaption {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
}

/* 信頼バッジ帯 */
.badges {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-subtle);
  padding-block: var(--sp-4);
}

.badges__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-text-muted);
}

.badges__list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: var(--sp-2);
  border-radius: 50%;
  background: var(--c-primary);
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   7. サマリー帯
   -------------------------------------------------------------------------- */
.summary {
  background: var(--c-primary-tint);
  border-bottom: 1px solid var(--c-primary-tint-2);
  padding-block: var(--sp-6);
}

.summary__list {
  list-style: none;
  display: grid;
  gap: var(--sp-4);
}

.summary__item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.summary__num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-text-inverse);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   8. カード・グリッド
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--sp-4);
}

.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}

.card__title {
  font-size: 1.0625rem;
  margin-bottom: var(--sp-2);
}

.card__body {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
}

/* 現場の声 */
.voice {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  padding: var(--sp-5);
  margin: 0;
}

.voice p {
  font-size: 1.0625rem;
  font-weight: 700;
}

.voice footer {
  margin-top: var(--sp-2);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

/* 締めの一文 */
.closing-line {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  font-size: 1.0625rem;
  font-weight: 700;
}

/* 自己診断リスト */
.checklist {
  list-style: none;
  display: grid;
  gap: var(--sp-3);
  counter-reset: check;
}

.checklist li {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) 3.25rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}

.checklist li::before {
  counter-increment: check;
  content: counter(check);
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-5);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--c-primary-tint);
  color: var(--c-primary-darker);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.checklist b {
  display: block;
  margin-bottom: var(--sp-1);
}

.checklist span {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
}

/* 図版 */
.figure {
  margin: 0 0 var(--sp-6);
}

.figure img {
  width: 100%;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
}

.figure figcaption {
  margin-top: var(--sp-2);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

/* --------------------------------------------------------------------------
   9. 「ゼロとは言いません」ブロック
   -------------------------------------------------------------------------- */
.candid {
  border: 2px solid var(--c-primary);
  border-radius: var(--radius-lg);
  background: var(--c-primary-tint);
  padding: var(--sp-5);
}

.candid__title {
  font-size: 1.25rem;
  margin-bottom: var(--sp-3);
}

.candid p + p {
  margin-top: var(--sp-3);
}

/* --------------------------------------------------------------------------
   10. 比較テーブル
   -------------------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
}

.table {
  width: 100%;
  min-width: 640px;
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-border);
}

.table thead th {
  background: var(--c-bg-subtle);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.table tbody tr:last-child th,
.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tr.is-highlight th,
.table tr.is-highlight td {
  background: var(--c-primary-tint);
}

/* --------------------------------------------------------------------------
   11. ステップ
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  display: grid;
  gap: var(--sp-4);
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-text-inverse);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.steps b {
  display: block;
}

.steps span {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   12. Before / After
   -------------------------------------------------------------------------- */
.ba {
  display: grid;
  gap: var(--sp-4);
}

.ba__col {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  background: var(--c-bg);
}

.ba__col--before {
  border-color: #fecaca;
  background: var(--c-danger-tint);
}

.ba__col--after {
  border-color: #bbf7d0;
  background: var(--c-success-tint);
}

.ba__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 999px;
  margin-bottom: var(--sp-3);
}

.ba__col--before .ba__label {
  background: var(--c-danger);
  color: var(--c-text-inverse);
}

.ba__col--after .ba__label {
  background: var(--c-success);
  color: var(--c-text-inverse);
}

.ba__flow {
  list-style: none;
  display: grid;
  gap: var(--sp-2);
  font-size: 0.9375rem;
}

.ba__flow li {
  padding: var(--sp-2) var(--sp-3);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.ba__count {
  margin-top: var(--sp-4);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   13. 機能グリッド
   -------------------------------------------------------------------------- */
.features {
  list-style: none;
  display: grid;
  gap: var(--sp-4);
}

.features li {
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}

.features b {
  display: block;
  margin-bottom: var(--sp-1);
}

.features span {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   14. 価格
   -------------------------------------------------------------------------- */
.pricing {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
  padding: var(--sp-6);
}

.pricing__formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  font-weight: 700;
}

.pricing__chip {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  background: var(--c-primary-tint);
  color: var(--c-primary-darker);
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: var(--sp-3);
}

.faq details {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
}

.faq summary {
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-4);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "＋";
  flex: 0 0 auto;
  color: var(--c-primary);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "－";
}

.faq details[open] summary {
  border-bottom: 1px solid var(--c-border);
}

.faq__body {
  padding: var(--sp-4) var(--sp-5);
  color: var(--c-text-muted);
}

.faq__body p + p {
  margin-top: var(--sp-3);
}

/* --------------------------------------------------------------------------
   16. 最終CTA
   -------------------------------------------------------------------------- */
.final-cta {
  background: var(--c-primary-darker);
  color: var(--c-text-inverse);
  padding-block: var(--sp-8);
}

.final-cta__title {
  font-size: 1.5rem;
  margin-bottom: var(--sp-4);
}

.final-cta__lead {
  margin-bottom: var(--sp-6);
  color: rgb(255 255 255 / 0.9);
}

.final-cta__proof {
  margin-top: var(--sp-5);
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.85);
}

/* --------------------------------------------------------------------------
   17. フッター
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-bg-subtle);
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-6);
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.print-only {
  display: none;
}

/* --------------------------------------------------------------------------
   18. スクロール追従CTA
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  padding: var(--sp-3) var(--sp-4);
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.97);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -1px 3px 0 rgb(0 0 0 / 0.08);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 150ms ease-out, opacity 150ms ease-out,
    visibility 150ms ease-out;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-cta .btn {
  width: 100%;
}

/* JS が無い環境では追従CTAを出さない（本文中に主CTAが5箇所あるため） */
.no-js .sticky-cta {
  display: none;
}

/* --------------------------------------------------------------------------
   19. レスポンシブ（モバイルファースト）
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  .btn-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-inline {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-4);
  }

  .summary__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  :root {
    --sp-7: 4.5rem;
  }

  body {
    font-size: 1.0625rem;
  }

  .container {
    padding-inline: var(--sp-6);
  }

  .section__title {
    font-size: 1.875rem;
  }

  .hero {
    padding-block: var(--sp-8) var(--sp-7);
  }

  .hero__inner {
    display: grid;
    /* テキスト列を広めに取る。狭いと H1 が意図しない位置で折り返す */
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: var(--sp-6);
    align-items: center;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__lead {
    font-size: 1.125rem;
  }

  .hero__figure {
    margin-bottom: 0;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .checklist {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta__title {
    font-size: 2rem;
  }

  .site-header__cta {
    display: inline-flex;
    min-height: 40px;
    padding: var(--sp-2) var(--sp-4);
    font-size: 0.9375rem;
  }

  /* デスクトップでは追従CTAをヘッダー下ではなく右下に置かず、画面下部の帯のままにする */
  .sticky-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
    max-width: var(--container);
    margin-inline: auto;
  }

  .sticky-cta__text {
    font-weight: 700;
  }

  .sticky-cta .btn {
    width: auto;
    min-height: 44px;
  }
}

/* --------------------------------------------------------------------------
   W. トップページ固有（ナビ／連絡先3点セット／プラン分岐／会社情報）
   -------------------------------------------------------------------------- */

/* ヘッダーのページ内ナビ */
.site-nav {
  display: none;
}

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  font-size: 0.9375rem;
  font-weight: 700;
}

.site-nav__list a {
  color: var(--c-text);
  text-decoration: none;
}

.site-nav__list a:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
}

/* 連絡先3点セット。mailto が効かない環境でも必ず連絡できるようにする */
.contact-block {
  display: inline-flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-block--on-dark {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.35);
  box-shadow: none;
}

.contact-block__lines {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  font-size: 0.9375rem;
}

.contact-block__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-2);
}

.contact-block__label {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  min-width: 3.5em;
}

.contact-block--on-dark .contact-block__label {
  color: rgb(255 255 255 / 0.8);
}

.contact-block__value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.contact-block--on-dark .contact-block__value,
.contact-block--on-dark .contact-block__value a {
  color: var(--c-text-inverse);
}

.contact-block__value a {
  color: var(--c-primary-dark);
}

/* 課題セクション：2つの症状を並べる */
.symptom {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-border-strong);
  border-radius: var(--radius);
  padding: var(--sp-5);
}

.symptom__who {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-2);
}

.symptom__what {
  font-size: 1.0625rem;
  font-weight: 700;
}

/* プラン分岐 */
.plan {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}

.plan__name {
  font-size: 1.25rem;
  margin-bottom: var(--sp-1);
}

.plan__who {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}

.plan__points {
  list-style: none;
  display: grid;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  margin-bottom: var(--sp-5);
}

.plan__points li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: var(--sp-2);
  border-radius: 50%;
  background: var(--c-primary);
  vertical-align: middle;
}

.plan__price {
  margin-top: auto;
  margin-bottom: var(--sp-4);
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.plan__price small {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--c-text-muted);
}

.plan .btn {
  width: 100%;
}

/* 会社情報 */
.company {
  display: grid;
  gap: var(--sp-5);
}

.company__table {
  width: 100%;
  font-size: 0.9375rem;
}

.company__table th,
.company__table td {
  padding: var(--sp-3) 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-border);
}

.company__table th {
  width: 7em;
  color: var(--c-text-muted);
  font-weight: 700;
  white-space: nowrap;
}

.pmark {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius);
  font-size: 0.875rem;
  background: var(--c-bg-subtle);
}

.cookie-note {
  margin-top: var(--sp-4);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

@media (min-width: 900px) {
  .site-nav { display: block; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .symptoms { grid-template-columns: repeat(2, 1fr); }
  .company { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* --------------------------------------------------------------------------
   20. 印刷（稟議で PDF 化・紙配布されることを前提にする）
   -------------------------------------------------------------------------- */
@media print {
  @page {
    size: A4;
    margin: 14mm 12mm;
  }

  html,
  body {
    font-size: 10.5pt;
    line-height: 1.7;
    color: #000;
    background: #fff;
  }

  /* 画面専用の要素を落とす */
  .sticky-cta,
  .skip-link,
  .site-header__cta,
  .btn--secondary,
  .btn--secondary-on-dark {
    display: none !important;
  }

  /* 主CTA はボタンではなく「行き先が分かるテキスト」にする */
  .btn {
    border: 1px solid #000 !important;
    background: transparent !important;
    color: #000 !important;
    padding: 2mm 3mm;
    min-height: 0;
  }

  .btn[href]::after {
    content: "（" attr(href) "）";
    font-weight: 400;
    font-size: 9pt;
  }

  /* mailto / tel は連絡先ブロックに実値が出ているため、href の印字は冗長 */
  .btn[href^="mailto:"]::after,
  .btn[href^="tel:"]::after {
    content: "" !important;
  }

  .site-nav { display: none !important; }

  .contact-block,
  .contact-block--on-dark {
    background: transparent !important;
    border-color: #666 !important;
  }

  .plan { break-inside: avoid; }

  /* 背景色は印刷で潰れるため、罫線に置き換える */
  .section--subtle,
  .section--sunken,
  .summary,
  .badges,
  .candid,
  .final-cta,
  .site-footer,
  .ba__col--before,
  .ba__col--after,
  .pricing__chip,
  .summary__num,
  .steps li::before,
  .checklist li::before {
    background: transparent !important;
    color: #000 !important;
    border-color: #666 !important;
  }

  .summary__num,
  .steps li::before,
  .checklist li::before {
    border: 1px solid #000 !important;
  }

  .final-cta__lead,
  .final-cta__proof,
  .card__body,
  .note,
  .section__lead {
    color: #000 !important;
  }

  .hero__figure,
  .card,
  .figure img,
  .table-scroll {
    box-shadow: none !important;
    border-color: #999 !important;
  }

  /* FAQ は全部開く（JS の beforeprint で open を付与。CSS 側はその保険） */
  .faq details {
    display: block;
  }

  .faq details > .faq__body {
    display: block !important;
  }

  .faq details::details-content {
    content-visibility: visible !important;
    block-size: auto !important;
  }

  .faq summary::after {
    content: "" !important;
  }

  /* 横スクロール領域は印刷では展開する */
  .table-scroll {
    overflow: visible !important;
  }

  .table {
    min-width: 0 !important;
    font-size: 9.5pt;
  }

  /* 改ページ制御 */
  .section {
    break-inside: avoid-page;
    padding-block: 6mm;
  }

  .section__title,
  .card__title,
  .candid__title,
  .final-cta__title {
    break-after: avoid-page;
  }

  .card,
  .voice,
  .checklist li,
  .ba__col,
  .faq details,
  .figure {
    break-inside: avoid;
  }

  h2 {
    page-break-after: avoid;
  }

  /* 印刷時のみ出す連絡先ブロック */
  .print-only {
    display: block !important;
    margin-top: 6mm;
    padding-top: 4mm;
    border-top: 1px solid #000;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
