/* 比較ページ共通パーツ（style.css の後に読み込む） */
.pr-bar {
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.pr-bar span {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  border-radius: 4px;
  padding: 0 8px;
  margin-right: 8px;
  font-size: 12px;
  letter-spacing: .08em;
}
.lp-hero { padding: 40px 0 24px; }
.lp-hero h1 { font-size: clamp(24px, 5.4vw, 34px); line-height: 1.45; margin: 0 0 14px; }
.lp-hero .lead { color: var(--muted); margin: 0 0 12px; }
.lp-meta { font-size: 13px; color: var(--muted); }

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 8px 0 28px;
  font-size: 15px;
}
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc a { text-decoration: none; }

.lp h2 {
  font-size: 21px;
  line-height: 1.5;
  margin: 44px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.lp h3 { font-size: 17px; margin: 28px 0 8px; }
.lp p, .lp li { font-size: 16px; }

/* 比較表：スマホでは横スクロール（ページ全体ははみ出さない） */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin: 12px 0 8px;
}
table.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
table.cmp th, table.cmp td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
table.cmp thead th {
  background: var(--accent-soft);
  font-size: 13px;
  white-space: nowrap;
}
table.cmp tbody th { white-space: nowrap; font-weight: 700; }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: none; }
.table-note { font-size: 12.5px; color: var(--muted); margin: 4px 2px 20px; line-height: 1.7; }
.scroll-hint { font-size: 12px; color: var(--muted); margin: 0 2px; }
@media (min-width: 700px) { .scroll-hint { display: none; } }

/* 各社カード */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  margin: 18px 0;
}
.card h3 { margin-top: 0; font-size: 18px; }
.card .who { font-size: 13px; color: var(--muted); margin: -2px 0 10px; }
.card ul { padding-left: 1.2em; margin: 8px 0; }
.tag {
  display: inline-block;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 10px;
  margin: 0 6px 6px 0;
  color: var(--muted);
}
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
.pros-cons > div { border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }
.pros-cons .pros { background: var(--accent-soft); }
.pros-cons .cons { background: var(--bg); border: 1px dashed var(--line); }
.pros-cons strong { display: block; margin-bottom: 4px; font-size: 13px; }
.pros-cons ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }

/* 注意書き */
.callout {
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 15px;
}
.callout.warn { border-left-color: #b7791f; }
.callout strong { display: block; margin-bottom: 4px; }

/* 申込ボタン */
.cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0 4px;
  font-size: 16px;
}
.cta:hover { filter: brightness(1.08); }
.cta-note { font-size: 12px; color: var(--muted); text-align: center; margin: 0 0 6px; }

/* 選び方チェック */
.checklist { list-style: none; padding: 0; margin: 12px 0; }
.checklist li {
  position: relative;
  padding: 10px 12px 10px 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin-bottom: 8px;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 14px; top: 9px;
  color: var(--accent); font-weight: 700;
}

/* FAQ */
details.faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin: 8px 0;
  padding: 0 16px;
}
details.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "Q. "; color: var(--accent); }
details.faq[open] summary { border-bottom: 1px dashed var(--line); }
details.faq p { margin: 12px 0 16px; }

.sources { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.sources a { color: var(--muted); word-break: break-all; }
