/* ============================================================
   婚活ホンネ図鑑 ─ スタイル
   配色:  白 × 金 × クリーム（全ページ共通）
   ============================================================ */
:root {
  /* ── ページ ── */
  --paper:      #F8F6F3;   /* Warm Off White */
  --paper-2:    #F1ECE7;   /* サブ背景 */
  --card:       #FFFFFF;
  --line:       #E7E2DE;

  /* ── 文字 ── */
  --ink:        #252B35;   /* 見出し・ナビ・重要情報 */
  --body:       #4F5358;   /* 本文 */
  --muted:      #6A6662;   /* 補助（淡い面の上でも4.5:1を満たす濃さ） */

  /* ── アクセント（テラコッタ） ── */
  --accent:     #C96F5B;   /* 指定色。線・アイコン・淡い面に使う */
  --accent-d:   #A9543F;   /* ★白文字を載せる «面» はこちら（5.2:1） */
  --accent-t:   #9C4B37;   /* ★«文字色» はこちら（淡い面の上でも4.5:1） */
  --accent-bg:  #F4E4DF;   /* CTA淡色背景 */

  /* ── カテゴリー色（識別用。装飾ではない） ── */
  --cat-price:   #EFE6D8;  /* 料金 = ベージュ */
  --cat-support: #E2EAF0;  /* サポート = 淡いブルー */
  --cat-online:  #E1EBE3;  /* オンライン = 淡いグリーン */
  --cat-local:   #F5E4DC;  /* 地域密着 = 淡いピーチ */
  --cat-major:   #EAE6EF;  /* 大手 = 淡いパープル */

  /* ── 旧変数の互換（既存ページが壊れないように） ── */
  --gold:       #C96F5B;
  --gold-deep:  #A9543F;
  --gold-text:  #9C4B37;
  --gold-solid: #A9543F;
  --cream:      #F8F6F3;
  --cream-2:    #F1ECE7;

  --serif: "Zen Old Mincho", serif;
  --sans: "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
}
a { color: inherit; }
img { max-width: 100%; }

/* ---------- PR表記（ステマ規制・全ページ常時） ---------- */
.pr-bar {
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-align: center;
  padding: 7px 12px;
}

/* ---------- ヘッダ / フッタ ---------- */
header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 20;
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.brand {
  font-family: var(--serif); font-weight: 700; font-size: 20px;
  text-decoration: none; line-height: 1.2;
}
.brand small {
  display: block; font-family: var(--sans); font-weight: 400;
  font-size: 9.5px; letter-spacing: .22em; color: var(--muted);
}
header nav { display: flex; gap: 16px; font-size: 13px; }
header nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
header nav a:hover { color: var(--ink); }

footer {
  border-top: 1px solid var(--line);
  margin-top: 64px; padding: 28px 18px 40px; text-align: center;
  font-size: 13px; color: var(--muted);
}
footer div { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
footer a { color: var(--muted); }
.copy { font-size: 11px; opacity: .8; }

/* ---------- 汎用レイアウト ---------- */
main { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.45; }
article h1 { font-size: clamp(24px, 5.2vw, 34px); margin: 34px 0 10px; }
article h2 { font-size: clamp(19px, 4vw, 24px); margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
article h3 { font-size: clamp(16px, 3.4vw, 19px); margin: 26px 0 8px; }
article p, article li { font-size: 15.5px; }
.meta { font-size: 12.5px; color: var(--muted); margin: 0 0 26px; }
.note {
  background: var(--paper-2); border-left: 3px solid var(--gold);
  padding: 14px 16px; font-size: 13.5px; margin: 26px 0; line-height: 1.85;
}

/* ---------- トップ ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 52px 18px 40px; text-align: center; }
.kicker { letter-spacing: .3em; font-size: 11.5px; color: var(--gold-text); margin: 0 0 14px; }
.hero h1 { font-size: clamp(26px, 6vw, 40px); margin: 0 0 18px; }
.hero p { color: var(--muted); font-size: 15px; margin: 0 0 28px; }

.btn-gold, .btn-primary {
  display: inline-block; border: none; cursor: pointer;
  background: linear-gradient(90deg, #96482F, var(--accent-d));
  color: #fff; font-family: var(--sans); font-weight: 700;
  font-size: 16px; letter-spacing: .04em;
  padding: 16px 38px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(168,134,59,.32);
  transition: transform .15s ease, filter .15s ease;
}
.btn-gold:hover, .btn-primary:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-gold:focus-visible, .btn-primary:focus-visible,
.q-option:focus-visible, .q-back:focus-visible, .q-share:focus-visible, .q-switch:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}

.section-title { font-size: 20px; margin: 48px 0 18px; }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  display: block; text-decoration: none;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 20px 22px; background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.07); }
.card .tag {
  display: inline-block; font-size: 11px; letter-spacing: .08em;
  color: var(--gold-text); border: 1px solid var(--gold); border-radius: 999px;
  padding: 2px 10px; margin-bottom: 10px;
}
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { font-size: 13.5px; color: var(--muted); margin: 0; }

.shindan-banner {
  margin: 48px 0 0; padding: 32px 22px; text-align: center;
  background: var(--paper-2); border-radius: 16px; border: 1px solid var(--line);
}
.shindan-banner h2 { font-size: 21px; margin: 0 0 8px; }
.shindan-banner p { font-size: 14px; color: var(--muted); margin: 0 0 20px; }

/* ---------- 比較表 ---------- */
.cmp-wrap { overflow-x: auto; margin: 22px 0; -webkit-overflow-scrolling: touch; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 13.5px; background: #fff; }
table.cmp th, table.cmp td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
table.cmp thead th { background: var(--paper-2); font-family: var(--serif); white-space: nowrap; }
table.cmp tbody th { font-weight: 700; white-space: nowrap; }
.cmp-note { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ============================================================
   診断（白・金・クリーム）
   ============================================================ */
.quiz {
  min-height: 78vh; padding: 40px 18px 72px;
  display: flex; justify-content: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 55%, var(--cream-2) 100%);
  transition: background .5s ease;
}
.quiz.theme-agency, .quiz.theme-matching {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 55%, var(--cream-2) 100%);
}
.q-stage { width: 100%; max-width: 560px; color: var(--ink); }
.q-center { text-align: center; }
.quiz [data-focus] { outline: none; }

.q-eyebrow { letter-spacing: .32em; font-size: 11.5px; margin: 0 0 14px; color: var(--gold-text); }
.q-eyebrow.q-alert { color: #9A5B1E; letter-spacing: .18em; }

.q-title { font-family: var(--serif); font-size: clamp(23px, 5.2vw, 32px); margin: 0 0 14px; }
.q-sub { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; line-height: 1.85; }
.q-note { font-size: 11.5px; color: var(--muted); margin: 0 0 30px; }
.q-privacy { font-size: 11.5px; color: var(--muted); margin: 18px 0 0; }
.q-body { font-size: 14.5px; line-height: 1.9; margin: 0 0 22px; }
.q-muted { color: var(--muted); font-size: 13.5px; }

.q-progress { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.q-bar { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 28px; }
.q-bar > div {
  height: 100%; border-radius: 999px; transition: width .4s ease;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.q-question { font-family: var(--serif); font-size: clamp(19px, 4.4vw, 25px); margin: 0 0 22px; }
.q-options { display: flex; flex-direction: column; gap: 11px; }
.q-option {
  width: 100%; text-align: left; padding: 17px 20px;
  border-radius: 14px; border: 2px solid var(--line);
  background: #FFFFFF; color: var(--ink);
  font-family: var(--sans); font-size: 15.5px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,32,31,.045);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.q-option:hover {
  border-color: var(--gold); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168,134,59,.16);
}
.q-option-rich { display: flex; flex-direction: column; gap: 7px; }
.q-option-rich strong { font-size: 16px; }
.q-option-rich span { font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.8; }

.q-back, .q-share, .q-switch {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-family: var(--sans); font-size: 13.5px; text-decoration: underline;
  padding: 10px 4px;
}
.q-back { display: block; margin: 20px auto 0; }
.q-switch { display: block; margin: 22px auto 0; font-size: 13px; }
.q-actions { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 30px; }
.q-share {
  text-decoration: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 26px; color: var(--gold-text); background: #FFFFFF;
}

/* ---------- 注意喚起ブロック ---------- */
.q-callout {
  border-radius: 14px; padding: 18px 20px; margin: 0 0 22px;
  background: #FFFFFF; border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(35,32,31,.04);
  font-size: 13.5px; line-height: 1.9;
}
.q-callout p { margin: 0; }
.q-callout-h { font-weight: 700; margin-bottom: 6px !important; color: var(--gold-text); }
.q-callout-warn { background: #FDF6E7; border-color: #E5CE95; margin-top: 6px; }

/* ---------- 結果カード ---------- */
.q-result-lead { font-family: var(--serif); font-size: clamp(20px, 4.4vw, 25px); margin: 0 0 8px; }
.q-card {
  background: #FFFFFF; color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; margin-bottom: 18px;
  box-shadow: 0 3px 14px rgba(35,32,31,.05);
}
.q-card-top { box-shadow: 0 10px 30px rgba(168,134,59,.18); border-color: var(--gold); }
.q-card-head { padding: 22px 22px 16px; display: flex; gap: 14px; align-items: flex-start; }
.q-rank {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif);
  font-size: 15px; font-weight: 700; color: #fff; margin-top: 3px;
  background: var(--gold-solid);
}
.q-card-head h3 { font-size: 21px; margin: 0 0 3px; }
.q-eg { font-size: 12px; color: var(--muted); margin: 0 0 5px; }
.q-catch { font-size: 14px; font-weight: 600; color: #5c6157; margin: 0; }

.q-perf { border-top: 2px dashed var(--line); position: relative; }
.q-perf span {
  position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream-2);
}
.q-perf span:first-child { left: -11px; } .q-perf span:last-child { right: -11px; }

.q-card-body { padding: 18px 22px 24px; }
.q-h { font-family: var(--serif); font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.q-card-body ul { list-style: none; margin: 0 0 16px; padding: 0; }
.q-card-body li { display: flex; gap: 9px; font-size: 14px; line-height: 1.8; margin-bottom: 5px; }
.q-pros li::before { content: "○"; font-weight: 700; color: var(--gold-text); }
.q-cons li::before { content: "△"; font-weight: 700; color: #A1673F; }
.q-fit { font-size: 13.5px; background: var(--cream-2); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; line-height: 1.85; }
.q-fee { font-size: 13px; color: var(--muted); margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.q-checked { font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.q-cta { display: block; text-align: center; font-size: 15px; padding: 15px 20px; }
.q-ad { font-size: 11px; color: var(--muted); text-align: center; margin: 10px 0 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- 提携前：社名のみ表示 ---------- */
.q-names {
  font-size: 13.5px; background: var(--cream-2); border-radius: 10px;
  padding: 12px 14px; margin: 0 0 10px; line-height: 1.8;
}
.q-names span {
  display: block; font-size: 11px; letter-spacing: .1em;
  color: var(--muted); margin-bottom: 3px;
}

/* ---------- 記事内：自分の体験を書く枠 ---------- */
.own {
  border: 2px dashed var(--gold); border-radius: 12px;
  background: rgba(201,168,92,.09); padding: 16px 18px; margin: 26px 0;
}
.own-h {
  font-family: var(--serif); font-weight: 700; font-size: 14px;
  color: var(--gold-deep); margin: 0 0 8px !important;
}
.own p { font-size: 13.5px !important; color: var(--muted); margin: 0; line-height: 1.85; }

/* ============================================================
   お問い合わせフォーム
   ============================================================ */
.cform { margin: 30px 0 0; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: 14.5px; margin-bottom: 7px;
}
.req {
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  background: var(--gold-solid); color: #fff; border-radius: 3px;
  padding: 1px 7px; margin-left: 7px; vertical-align: 2px; letter-spacing: .06em;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; /* 16px未満はiOSで自動ズームする */
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; line-height: 1.7;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,92,.22);
}
.cform-note { font-size: 12.5px; color: var(--muted); line-height: 1.85; margin: 0 0 20px; }
.cform-submit { display: block; width: 100%; text-align: center; border: none; cursor: pointer; }

/* ハニーポット：人間には見えない。ボットだけが入力してしまう罠 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 送信完了 ---------- */
.done { text-align: center; padding: 56px 0 40px; }
.done-mark { width: 76px; height: 76px; margin-bottom: 22px; }
.done h1 { font-size: clamp(23px, 5vw, 30px); margin: 0 0 16px; }
.done p { font-size: 15px; line-height: 1.95; margin: 0 0 10px; }
.done-sub { font-size: 13px !important; color: var(--muted); margin-bottom: 30px !important; }

/* ---------- 結果カード内の複数リンク ---------- */
.q-links { display: flex; flex-direction: column; gap: 9px; margin-bottom: 4px; position: relative; }
.q-links .q-cta { margin: 0; }
.q-svc-note {
  font-size: 12.5px; color: var(--muted); line-height: 1.8;
  background: var(--cream-2); border-radius: 8px; padding: 10px 12px; margin: 12px 0 0;
}

/* ---------- 結果カードから記事への導線 ---------- */
.q-more {
  display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600;
  color: var(--gold-text); text-decoration: none;
  border-bottom: 1px solid rgba(168,134,59,.45); padding-bottom: 1px;
}
.q-more:hover { border-bottom-color: var(--gold-deep); }

/* ============================================================
   トップ：まず読む3本
   ============================================================ */
.start-here { margin: 44px 0 8px; }
.start-here .sh-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 19px; margin: 0 0 6px;
}
.start-here .sh-label::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.start-here .sh-sub { font-size: 13px; color: var(--muted); margin: 0 0 18px; }

.sh-list { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .sh-list { grid-template-columns: repeat(3, 1fr); } }

.sh-item {
  display: block; text-decoration: none; position: relative;
  background: #FFFFFF; border: 1px solid var(--gold);
  border-radius: 14px; padding: 22px 20px 20px;
  box-shadow: 0 4px 16px rgba(168,134,59,.12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sh-item:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(168,134,59,.20); }
.sh-num {
  position: absolute; top: -11px; left: 18px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-deep); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 13px; font-weight: 700;
}
.sh-num { background: var(--gold-solid); }
.sh-item h3 { font-size: 16.5px; margin: 4px 0 8px; line-height: 1.5; }
.sh-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }

/* ============================================================
   カテゴリの折りたたみ（記事が多くても圧迫しない）
   ============================================================ */
details.cat { margin: 30px 0 0; border-top: 1px solid var(--line); }
details.cat > summary {
  list-style: none; cursor: pointer;
  font-family: var(--serif); font-size: 19px;
  padding: 18px 2px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
details.cat > summary::-webkit-details-marker { display: none; }
details.cat > summary .cat-count {
  font-family: var(--sans); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px;
  white-space: nowrap;
}
details.cat > summary::after {
  content: "＋"; font-family: var(--sans); font-size: 15px;
  color: var(--gold-text); flex: 0 0 auto;
}
details.cat[open] > summary::after { content: "−"; }
details.cat > summary:hover { color: var(--gold-text); }
details.cat .cards { padding-bottom: 26px; }

/* ---------- 結果カード内：社ごとの料金 ---------- */
.q-link-item { margin-bottom: 14px; }
.q-link-item .q-cta { margin: 0 0 6px; }
.q-link-fee {
  font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.75;
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline;
  padding: 0 4px;
}
.q-link-fee .q-checked {
  font-size: 10.5px; border: 1px solid var(--line); border-radius: 999px;
  padding: 1px 8px; white-space: nowrap;
}
.q-link-fee .q-fee-note {
  flex-basis: 100%; font-size: 11.5px; color: var(--muted); line-height: 1.75;
}
.q-link-fee.q-unknown { font-size: 12px; opacity: .8; }

/* 1年で成婚した場合の総額 */
.q-link-fee .q-year {
  flex-basis: 100%; font-size: 12.5px; color: var(--ink);
  background: var(--cream-2); border-radius: 8px;
  padding: 7px 11px; margin-top: 2px;
}
.q-link-fee .q-year b { color: var(--gold-text); font-size: 14px; }

/* ============================================================
   トップページ リニューアル（2026-09）
   ElevenLabs的な «余白» / Notion的な «カード» /
   monday.com的な «カテゴリー色» / Monad的な «編集感»
   ============================================================ */

/* ---------- セクション共通 ---------- */
.sec { padding: 72px 20px; }
.sec-inner { max-width: 1080px; margin: 0 auto; }
.sec-tint { background: var(--paper-2); }
.sec-accent { background: var(--accent-bg); }
.sec-white { background: var(--card); }
@media (min-width: 860px) { .sec { padding: 104px 32px; } }

.sec-label {
  font-size: 12.5px; letter-spacing: .22em; color: var(--accent-t);
  margin: 0 0 14px; font-weight: 600;
}
.sec-h {
  font-family: var(--serif); font-size: clamp(26px, 5.6vw, 36px);
  line-height: 1.55; margin: 0 0 16px; color: var(--ink);
}
.sec-p {
  font-size: 16px; line-height: 2.0; color: var(--body);
  margin: 0 0 28px; max-width: 620px;
}
@media (min-width: 860px) { .sec-p { font-size: 17px; } }

/* ---------- ヒーロー ---------- */
.hero-new { background: var(--paper); padding: 44px 20px 56px; }
.hero-grid { max-width: 1180px; margin: 0 auto; display: grid; gap: 34px; }
@media (min-width: 900px) {
  .hero-new { padding: 84px 32px 92px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
}
.hero-kicker {
  font-size: 13px; letter-spacing: .12em; color: var(--accent-t);
  margin: 0 0 18px; font-weight: 600;
}
.hero-h1 {
  font-family: var(--serif); font-weight: 700; color: var(--ink);
  font-size: clamp(32px, 8.4vw, 52px); line-height: 1.42;
  margin: 0 0 22px; letter-spacing: .01em;
}
.hero-rule { width: 74px; height: 2px; background: var(--accent); opacity: .55; margin: 0 0 22px; }
.hero-lead { font-size: 15.5px; line-height: 2.05; color: var(--body); margin: 0 0 30px; }
@media (min-width: 900px) { .hero-lead { font-size: 16.5px; } }

.hero-ctas { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.hero-photo { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 34px rgba(37,43,53,.08); }
.hero-photo picture { display: block; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
@media (max-width: 899px) { .hero-photo img { aspect-ratio: 5/4; } }

.hero-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-points div { font-size: 12.5px; line-height: 1.75; color: var(--body); }
.hero-points b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 3px; }
@media (min-width: 900px) { .hero-points div { font-size: 13.5px; } }

/* ---------- ボタン（役割で3段階） ---------- */
.btn-main, .btn-sub {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 24px; border-radius: 14px; text-decoration: none;
  font-weight: 700; font-size: 16px; font-family: var(--sans);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-main { background: var(--accent-d); color: #fff; box-shadow: 0 4px 16px rgba(169,84,63,.22); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(169,84,63,.28); }
.btn-sub { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-sub:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-main .ar, .btn-sub .ar { font-size: 15px; opacity: .75; }
.link-more {
  display: inline-block; margin-top: 22px; font-size: 14.5px; font-weight: 600;
  color: var(--accent-t); text-decoration: none;
  border-bottom: 1px solid rgba(156,75,55,.45); padding-bottom: 2px;
}
.link-more:hover { border-bottom-color: var(--accent-d); }

/* ---------- 診断カード ---------- */
.quiz-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px 24px; display: grid; gap: 26px;
}
@media (min-width: 860px) {
  .quiz-card { grid-template-columns: 1.15fr .85fr; align-items: center; padding: 44px; gap: 40px; }
}
.quiz-card h2 { font-family: var(--serif); font-size: clamp(23px,5vw,30px); margin: 0 0 14px; color: var(--ink); }
.quiz-card p { font-size: 15.5px; line-height: 2.0; color: var(--body); margin: 0 0 24px; }
.quiz-card img { width: 100%; border-radius: 14px; display: block; aspect-ratio: 3/2; object-fit: cover; }

/* ---------- 条件から比較 ---------- */
.cond-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cond-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cond-grid { grid-template-columns: repeat(3, 1fr); } }
.cond {
  display: block; text-decoration: none; background: var(--card);
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  transition: transform .15s ease, border-color .15s ease;
}
.cond:hover { transform: translateY(-3px); border-color: var(--accent); }
.cond .tagc {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--ink);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.cond h3 { font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.cond p { font-size: 13.5px; line-height: 1.85; color: var(--muted); margin: 0 0 14px; }
.cond .go { font-size: 13.5px; font-weight: 700; color: var(--accent-t); }

/* ---------- タイプ比較（○と△を必ずセットで） ---------- */
.type-list { display: grid; gap: 16px; }
@media (min-width: 900px) { .type-list { grid-template-columns: repeat(2, 1fr); } }
.type-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 24px; display: flex; flex-direction: column;
}
.type-card h3 { font-family: var(--serif); font-size: 21px; margin: 0 0 6px; color: var(--ink); }
.type-card .eg { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.type-card .lead { font-size: 14.5px; line-height: 1.9; color: var(--body); margin: 0 0 20px; }
.fit-box { border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; }
.fit-row { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.8; margin-bottom: 9px; }
.fit-row .mk { flex: 0 0 auto; font-weight: 700; }
.fit-ok  .mk { color: var(--accent-t); }
.fit-chk .mk { color: #7A6A48; }
.fit-row span:last-child { color: var(--body); }
.type-card .link-more { margin-top: 18px; }

/* ---------- 料金 ---------- */
.fee-note {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px; font-size: 14px; line-height: 1.95; color: var(--body);
  margin-bottom: 26px;
}
.fee-note b { color: var(--ink); }
.fee-items { display: grid; gap: 10px; grid-template-columns: repeat(2,1fr); margin: 16px 0 0; }
@media (min-width: 720px) { .fee-items { grid-template-columns: repeat(4,1fr); } }
.fee-items div {
  background: var(--cat-price); border-radius: 10px; padding: 12px;
  font-size: 12.5px; text-align: center; color: var(--ink); font-weight: 600;
}

/* ---------- 記事リスト（控えめ） ---------- */
.art-list { display: grid; gap: 12px; }
@media (min-width: 760px) { .art-list { grid-template-columns: repeat(2,1fr); } }
.art {
  display: flex; align-items: baseline; gap: 14px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; transition: border-color .15s ease, transform .15s ease;
}
.art:hover { border-color: var(--accent); transform: translateY(-2px); }
.art .num { font-family: var(--serif); font-size: 13px; color: var(--accent-t); flex: 0 0 auto; }
.art .tx b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; line-height: 1.6; }
.art .tx span { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ---------- 画像つきセクション ---------- */
.media { display: grid; gap: 26px; align-items: center; }
@media (min-width: 880px) { .media { grid-template-columns: 1fr 1fr; gap: 48px; } }
.media img { width: 100%; border-radius: 18px; display: block; aspect-ratio: 3/2; object-fit: cover; }
.media-rev .m-txt { order: 2; }

/* ---------- 最終CTA ---------- */
.final { text-align: center; }
.final .sec-h { margin-bottom: 10px; }
.final .sec-p { margin: 0 auto 30px; }
.final .btn-main { max-width: 400px; margin: 0 auto; }

/* ---------- ヘッダー（新レイアウト用の調整） ---------- */
.brand { white-space: nowrap; }
.brand small { white-space: nowrap; }
header nav { display: flex; gap: 14px; flex-wrap: nowrap; overflow-x: auto; }
header nav::-webkit-scrollbar { display: none; }
header nav a { white-space: nowrap; font-size: 13px; }
@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .brand { font-size: 17px; }
  .brand small { font-size: 8.5px; letter-spacing: .16em; }
  header nav a { font-size: 12px; }
}
@media (min-width: 860px) { header nav a { font-size: 14px; } }

/* ---------- 順位の入れ替わり（料金記事） ---------- */
.rank-flip {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 16px 12px; margin: 22px 0;
}
.rf-head {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted); padding: 10px 2px 8px;
  border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.rf-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 2px; border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.rf-row:last-child { border-bottom: none; }
.rf-l { flex: 1; color: var(--body); }
.rf-ar { color: var(--muted); font-size: 13px; }
.rf-r { flex: 0 0 46px; text-align: right; font-weight: 700; color: var(--body); }
.rf-up   { color: var(--accent-t); }
.rf-down { color: #7A6A48; }

/* ---------- ヒーロー：ボタン撤去後の調整 ---------- */
.hero-new { padding: 40px 20px 48px; }
@media (min-width: 900px) {
  .hero-new { padding: 68px 32px 76px; }
  .hero-grid { align-items: center; }
}
.hero-lead { margin-bottom: 0; }
/* 画像の縦横比を、文章量に合わせて浅くする */
@media (min-width: 900px) {
  .hero-photo img { aspect-ratio: 5/6; }
}

/* 表示しきれない社数の注記 */
.q-more-n {
  font-size: 12px; color: var(--muted); text-align: center;
  margin: 6px 0 0; padding: 8px; background: var(--paper-2); border-radius: 8px;
}
