/* 比較ページ共通パーツ（style.css の後に読み込む） */
.pr-bar {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
}
.pr-bar span {
  display: inline-block;
  background: var(--pop);
  color: var(--ink);
  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-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 6.4vw, 40px); line-height: 1.35; margin: 0 0 14px; }
.lp-hero h1 .mark { background: linear-gradient(transparent 58%, var(--pop) 58%); }
.lp-hero-img { display:block; width:100%; height:auto; border:2.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin: 8px 0 20px; background: var(--accent-soft); }
.lp-hero .lead { color: var(--muted); margin: 0 0 12px; }
.lp-meta { font-size: 13px; color: var(--muted); }

.toc {
  background: var(--surface);
  border: 2.5px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  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-family: var(--font-display); font-weight: 400;
  font-size: 24px;
  line-height: 1.45;
  margin: 52px 0 16px;
  padding: 6px 14px;
  background: var(--pop);
  border: 2.5px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: inline-block;
}
.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: 2.5px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  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(--soft-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
table.cmp thead th {
  background: var(--pop);
  border-bottom: 2px solid var(--line);
  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: 2.5px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  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: 2px solid var(--line);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0 10px;
  margin: 0 6px 6px 0;
  color: var(--ink);
  font-weight: 700;
}
.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: #fff; border: 2px 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: 2.5px solid var(--line);
  border-left-width: 8px;
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 15px;
}
.callout.warn { border-color: var(--line); border-left-color: var(--hot); background: #fff4f1; }
.callout strong { display: block; margin-bottom: 4px; }

/* 申込ボタン */
.cta {
  display: block;
  text-align: center;
  background: var(--pop);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 var(--line);
  border-radius: 12px;
  padding: 16px 16px;
  margin: 18px 0 6px;
  font-size: 17px;
  transition: transform .1s, box-shadow .1s;
}
.cta:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--line); }
.cta:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--line); }
.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: 2px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin-bottom: 8px;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 14px; top: 9px;
  color: var(--hot); font-weight: 900;
}

/* FAQ */
details.faq {
  border: 2px 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(--hot); }
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; }
