/* ============================================================
   v42 — 本文中CTAボックス（2026-08-18 社長決定＝案B「2枚の行き先カード」）
   ------------------------------------------------------------
   設計: 見出しは全ページ統一の一般的な文言／本文はページごとに具体を残す。
   「無料」はこのボックスの本文末尾に1回だけ（見出しには置かない）。
   金＝電話・白枠＝メールの2枚を同格に並べる（電話をやや強める）。
   旧 .nextstep の定義は style.css に残るが、このファイルが後から上書きする。
   ============================================================ */
.sub .nextstep, .page-cs .nextstep {
  display: block;
  max-width: 56rem;
  margin: var(--space-xl) 0 0;
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 4px;
  padding: var(--space-xl);
  text-align: center;
}
.sub .nextstep h3, .page-cs .nextstep h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-lg); line-height: 1.5; letter-spacing: .03em;
  color: var(--on-navy); margin: 0;
}
.sub .nextstep > p, .page-cs .nextstep > p {
  margin: var(--space-sm) auto 0; max-width: 44rem;
  font-size: var(--text-sm); color: var(--on-navy-soft);
  line-height: 1.9; text-wrap: pretty;
}

/* 2枚の行き先カード */
.sub .cta2, .page-cs .cta2 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md); margin-top: var(--space-lg);
}
.sub .cta2 a, .page-cs .cta2 a {
  display: grid; gap: 3px; text-decoration: none; text-align: center;
  border-radius: 4px; padding: 18px 20px;
  transition: filter .15s ease, background-color .15s ease;
}
.sub .cta2 small, .page-cs .cta2 small { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; }
.sub .cta2 b, .page-cs .cta2 b {
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.25;
  font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}
.sub .cta2 span, .page-cs .cta2 span { font-size: var(--text-xs); line-height: 1.7; }
/* 電話＝金の面（少しだけ強い） */
.sub .cta2__tel, .page-cs .cta2__tel { background: var(--gold); color: var(--navy-deep); }
.sub .cta2__tel:hover, .page-cs .cta2__tel:hover { filter: brightness(1.06); }
.sub .cta2__tel small, .page-cs .cta2__tel small,
.sub .cta2__tel span, .page-cs .cta2__tel span { color: color-mix(in oklab, var(--navy-deep) 82%, var(--gold)); }
/* メール＝白枠（同格） */
.sub .cta2__mail, .page-cs .cta2__mail {
  border: 1px solid color-mix(in oklab, var(--on-navy) 45%, transparent); color: var(--on-navy);
}
.sub .cta2__mail:hover, .page-cs .cta2__mail:hover { background: color-mix(in oklab, var(--on-navy) 8%, transparent); }
.sub .cta2__mail small, .page-cs .cta2__mail small,
.sub .cta2__mail span, .page-cs .cta2__mail span { color: var(--on-navy-soft); }
.sub .cta2__mail b, .page-cs .cta2__mail b { font-size: 1.35rem; }

@media (max-width: 40rem) {
  .sub .nextstep, .page-cs .nextstep { padding: var(--space-lg); }
  .sub .cta2, .page-cs .cta2 { grid-template-columns: minmax(0, 1fr); }
  .sub .cta2 b, .page-cs .cta2 b { font-size: 1.5rem; }
}
@media print {
  .sub .nextstep, .page-cs .nextstep { background: none !important; color: var(--ink); padding: 0; border-top: 1px solid var(--navy); }
  .sub .nextstep h3, .page-cs .nextstep h3, .sub .nextstep > p, .page-cs .nextstep > p { color: var(--ink); }
  .sub .cta2, .page-cs .cta2 { display: none; }
}
