@charset "UTF-8";
/* チェックリスト（記号は読み上げに渡さない: content の代替テキスト構文） */
.c-checklist {
  list-style: none;
  padding: 0;
  font-size: var(--fs-base);
} /* D29: 14→16px */
.c-checklist li {
  position: relative;
  padding: 0.45em 0 0.45em 1.7em;
  border-bottom: 1px dashed var(--rule);
}

.c-checklist li:last-child {
  border-bottom: 0;
}

.c-checklist li::before {
  content: "✓";
  content: "✓"/"";
  position: absolute;
  left: 0.1em;
  color: var(--accent);
  font-weight: 700;
}

.c-checklist--x li::before {
  content: "－";
  content: "－"/"";
  color: var(--ink-sub);
}

/* キーワードのマーカー（手を入れた感） */
.c-mark {
  font-style: normal;
  background: linear-gradient(transparent 64%, var(--accent-tint) 64%);
  padding: 0 0.06em;
}

/* ── 数字を主役にする（12 §A-2） ── */
.c-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.c-num__unit {
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 0.1em;
}

.c-num--hero {
  font-size: var(--fs-number);
  line-height: 1.05;
  display: inline-block;
}

/* 🔴 F-2: 「金額が分かる」が売りなのに金額が約26pxで画面5番目の大きさだった。
   tokens の「数字が主役」を実装に反映する */
.p-P1__price .c-num {
  font-size: clamp(2.25rem, 6vw, 2.625rem);
  color: var(--ink);
  line-height: 1.1;
}

.p-prband__tit .c-num {
  font-size: 1.5em;
  color: var(--accent);
}

.p-P2__value .c-num {
  font-size: var(--fs-lg);
}

.p-P2__total .c-num--hero {
  font-size: clamp(3rem, 9vw, 4.25rem);
  line-height: 1.05;
  color: var(--accent);
  margin-inline: auto;
}

.c-table .c-num {
  color: var(--ink);
}

.p-spstack__total .c-num {
  font-size: clamp(1.875rem, 7.5vw, 2.25rem);
  color: var(--accent);
  line-height: 1.15;
}

/* 番号リスト */
.c-numlist {
  counter-reset: n;
  list-style: none;
  padding: 0;
  font-size: var(--fs-base);
} /* D29: 14→16px */
.c-numlist li {
  counter-increment: n;
  position: relative;
  padding: 0.5em 0 0.5em 2.4em;
  border-bottom: 1px dashed var(--rule);
}

.c-numlist li:last-child {
  border-bottom: 0;
}

.c-numlist li::before {
  content: counter(n, decimal-leading-zero) ".";
  content: counter(n, decimal-leading-zero) "."/""; /* ol の番号と二重に読ませない */
  position: absolute;
  left: 0;
  font-family: var(--font-en-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

/* 下層ページ用テーブル（破線の行） */
/* 🔴 改修D29（2026-08-14・本人「文字小さすぎない？」）: fs-sm(14px)→fs-base(16px)。
   実測で、ページの文字の72%が表とリストの14pxだった。客層（40〜60代の事業主）に14pxの表は小さい。
   階層は「本文18／表・リスト16／注釈(c-note)14」の3段にする。 */
.c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
}

.c-table th, .c-table td {
  padding: 0.8em 0.6em;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.c-table thead th {
  border-bottom: 1.5px solid var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.c-table small {
  font-weight: 500;
  color: var(--ink-sub);
}

.c-table--keephead tbody th {
  white-space: nowrap;
}

/* 🔴 B-1: 一律 min-width:34rem は2列の表まで横スクロールにし、カードを道連れに
   膨張させていた。折り返しに任せ、nowrap 列で本当に収まらない表だけスクロールする。
   スクロールが発生した表には motion.js が data-scrollable を付け、その旨を表示する */
.c-tablewrap {
  overflow-x: auto;
}

.c-tablewrap[data-scrollable]::after {
  content: "→ 横にスクロールできます";
  display: block;
  padding-top: 0.5em;
  font-size: var(--fs-xs);
  color: var(--ink-sub);
  text-align: right;
}

@media (max-width: 899.98px) {
  .c-tablewrap--pconly {
    display: none;
  }
}
@media print {
  .c-card, .p-P1__card, .p-step6, .p-totalcard {
    box-shadow: none;
    border: 1px solid var(--rule);
    break-inside: avoid;
  }
}
/* ══ PLAN カード（P1 を白カードに） ══════════════════ */
.p-P1 {
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .p-P1 {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 🔴 R2（2026-08-14 本人）: PCの4カラムをやめて2カラムに。
   MacBook Air で縦長になりすぎ、料金表を読み切るのにスクロールしすぎだったため。 */
@media (min-width: 1100px) {
  .p-P1 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 62rem;
    margin-inline: auto;
  }
}
.p-P1__card {
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  text-align: center;
}

@supports (grid-template-rows: subgrid) {
  /* span 6: 名前・リード・価格・仕様・総額・申し込みボタン（2026-08-14 ボタン追加で5→6） */
  .p-P1__card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    row-gap: var(--sp-2);
  }
}
@supports (grid-template-rows: subgrid) {
  .p-P1__card .p-P1__spec {
    margin-top: 0;
  }
}
@supports (grid-template-rows: subgrid) {
  .p-P1__card .p-P1__total {
    margin-top: 0;
    align-self: end;
  }
}
/* （02 No.6 のページ枠ミニ図は撤去。言葉のない抽象図形は伝わらない＝オーナー判定。
   監査/04_変更点の記録.md 追-1 参照） */
.p-P1__name {
  font-size: var(--fs-lg);
  letter-spacing: 0.06em;
}

.p-P1__lead {
  font-size: var(--fs-xs);
  color: var(--ink-sub);
  min-height: 3em;
  text-wrap: balance;
}

/* 🔴 D84: いま売っている協力枠価格が主役。定価は「枠が埋まったあと」の事実として小さく。
   min-height はカード4枚の行ズレ防止（F-6・最上位プランは協力枠行が無いため） */
.p-P1__pricing {
  border-top: 1px solid var(--rule);
  padding-top: var(--sp-3);
  display: grid;
  gap: 0.2em;
  align-content: start;
  min-height: 8.5rem;
}

.p-P1__pr {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 700;
}

.p-P1__after {
  font-size: var(--fs-xs);
  color: var(--ink-sub);
}

/* margin-top:auto で仕様行を下端に揃える＝協力枠の行数が違っても4枚の行が横に揃う（F-6） */
.p-P1__spec {
  margin-top: auto;
  padding-top: var(--sp-2);
  font-size: var(--fs-xs);
  text-align: left;
}

.p-P1__spec > div {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  padding-block: 0.5em;
  border-bottom: 1px dashed var(--rule);
}

.p-P1__spec dt {
  color: var(--ink-sub);
}

.p-P1__spec dd {
  font-weight: 700;
  text-align: right;
}

/* 注記は改行に任せず、最初から別行・小さく（「素材が/揃ってから」の分断防止） */
.p-P1__specNote {
  display: block;
  font-size: 0.8em;
  font-weight: 500;
  color: var(--ink-sub);
  letter-spacing: 0.02em;
}

.p-P1__total {
  margin-top: var(--sp-1);
  padding-top: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--ink-sub);
}

.p-P1__total strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* .c-card と同じ育ち方に（J-1） */
/* ══ 全体の流れ（/flow の Schedule）═══════════════════
   番号をレールでつないで「進んでいく感」を出し、
   「お客様がすること」を色つきの欄にして、負担の軽さが目で追えるようにする */
.p-stepsflow {
  display: grid;
  gap: var(--sp-6);
  max-width: 56rem;
  margin: var(--sp-6) auto 0;
}

/* 保守3プランの包含関係（No.16）: 入れ子。各層は増える内容だけを書く */
.p-maintnest {
  max-width: 44rem;
  margin: 0 auto var(--sp-5);
  font-size: var(--fs-xs);
}

.p-maintnest__l {
  border-radius: var(--r-card);
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
}

.p-maintnest__l > .p-maintnest__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 0.8em;
  align-items: baseline;
  margin-bottom: var(--sp-2);
}

.p-maintnest__name {
  font-weight: 700;
  font-size: var(--fs-sm);
}

.p-maintnest__l--plus {
  background: var(--accent-tint);
}

.p-maintnest__l--std {
  background: var(--accent-soft);
}

.p-maintnest__l--basic {
  background: var(--accent);
  color: var(--paper);
  margin-bottom: 0;
}

/* 🔴 R5（2026-08-14）: 入れ子図の後継。3段のはしご。旧 .p-maintnest は未使用（マークアップ側から撤去） */
.p-mladder {
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

@media (min-width: 768px) {
  .p-mladder {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
.p-mladder__item {
  position: relative;
}

.p-mladder__item--pick {
  border: 2px solid var(--accent);
}

.p-mladder__badge {
  position: absolute;
  top: -0.9em;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.15em 0.9em;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.p-mladder__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.p-mladder__price span {
  font-size: var(--fs-sm);
  color: var(--ink-sub);
  font-weight: 500;
}

.p-mladder .c-checklist {
  font-size: var(--fs-sm);
}

/* 404（2026-10-17 最終確認で作り直し）。紙の上の迷子のかもめ＋今のナビと同じ名前の案内 */
.p-nf-paper {
  margin: 0;
  background: var(--white);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.6rem);
  box-shadow: var(--sh-float);
  rotate: -2deg;
}

.p-nf-paper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.p-nf-links {
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.p-nf-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  align-items: center;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  background: linear-gradient(var(--accent-tint), var(--accent-tint)) 0 100%/100% 0 no-repeat;
  transition: background-size 0.45s var(--ease-out);
}

.p-nf-links a::after {
  content: "→";
  content: "→"/"";
  grid-column: 2;
  grid-row: 1/span 2;
  color: var(--accent);
  font-weight: 700;
  transition: translate var(--dur-2) var(--ease-out);
}

.p-nf-links a:hover {
  background-size: 100% 100%;
}

.p-nf-links a:hover::after {
  translate: 4px 0;
}

.p-nf-links b {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  letter-spacing: 0.05em;
}

.p-nf-links span {
  font-size: var(--fs-sm);
  color: var(--ink-sub);
}

.p-nf-home {
  margin-top: var(--sp-5);
}

@media (min-width: 768px) {
  .p-nf-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--sp-6);
  }
}
/* 文書のページ（法律の表示・プライバシー・コラム・シート）: 写真も紙も置かない1列（2026-10-17 古い暗い帯から作り直し） */
.c-subhero--doc .c-subhero__in {
  grid-template-columns: minmax(0, 1fr);
}

.c-subhero--doc .c-subhero__title {
  font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3.1rem);
  word-break: keep-all;
  overflow-wrap: anywhere;
} /* 「プライバシーポリ／シー」と割れないように */
/* ═══ 文書のページの表（2026-10-17 2周目: 特定商取引法の販売価格が横スクロールで金額が見えなかった） ═══
   見出しの列は 9.5em・語の途中で折らない。値の列は折り返す。金額（b）は折らない。注記は下の行。480 未満は見出しを値の上に積む。 */
.c-table--doc {
  table-layout: fixed;
}

.c-table--doc th {
  width: 12.5em;
  word-break: auto-phrase;
  overflow-wrap: break-word;
} /* 3周目: 10.5em で「スタンダードプラ／ン」と1字落ちた */
.c-table--doc th + th {
  width: auto;
} /* 見出しの行の2つ目（「価格」など）まで 9.5em にすると、値の列が半分になった */
.c-table--doc thead th {
  white-space: normal;
}

.c-table--doc td b {
  white-space: nowrap;
  font-weight: 700;
}

.c-table__note {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--fs-sm);
  color: var(--ink-sub);
}

@media (max-width: 479.98px) {
  .c-table--doc, .c-table--doc tbody, .c-table--doc tr, .c-table--doc th, .c-table--doc td {
    display: block;
    width: auto;
  }
  .c-table--doc thead {
    display: none;
  }
  .c-table--doc tr {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--rule);
  }
  .c-table--doc th, .c-table--doc td {
    border: 0;
    padding: 0.1rem 0;
  }
  .c-table--doc th {
    font-size: var(--fs-sm);
    color: var(--accent);
    word-break: normal;
  }
}
/* 文書のページのカードは同じ幅にそろえる（slim だけ左右 25px 狭く、交互に見えた） */
.l-wrap--legal .c-card--slim {
  max-width: none;
}

.c-table--qa th {
  width: 40%;
} /* 記入例: 表ごとに質問の列の幅が違い、答えが左右にずれていた */
@media (max-width: 479.98px) {
  .c-table--qa th {
    width: auto;
  }
}
@media (min-width: 768px) {
  .p-nf-links li:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
}
/* 2周目: 7件目だけ左に残っていた */
.c-subhero--legal .c-subhero__in {
  width: min(100% - var(--gutter) * 2, 52rem);
} /* 3周目: 題字だけ外に出て、本文のカードと左端が違った */
.c-table--qa th {
  text-wrap: pretty;
} /* 3周目: 質問の最後の1〜2字だけの行 */
@media (max-width: 767.98px) {
  .c-subhero--doc .c-subhero__title {
    font-size: clamp(1.55rem, 1.1rem + 2.2vw, 2rem);
  }
}
/* 4周目: 「…基づく表／記」と1字だけ落ちた */
.l-sec .c-notebox + .c-tablewrap {
  margin-top: var(--sp-4);
} /* 4周目: 記入例の注記の箱と下の表がくっついていた */
