/* 海へ還す ― 海洋散骨・粉骨サービスの比較手帖 / 共通スタイル
   方針: 白いカードに深い海色を基調。申し込みボタンも落ち着いた青灰色にし、橙・金銀銅のメダルは使わない。
   写真は穏やかな海のみ。文字は Noto Sans JP 1種類に統一。料金順の一覧であり、ランキングにはしない。 */
:root {
  --ink: #22303a;
  --ink-soft: #5a6770;
  --bg: #f1f4f5;
  --paper: #ffffff;
  --line: #dde3e6;
  --line-strong: #c2ccd1;
  --sea: #2c5364;
  --sea-dark: #1c3a48;
  --sea-pale: #e9f0f3;
  --sea-tint: #f5f8f9;
  --cta: #3d6f80;
  --cta-dark: #2b5464;
  --sand: #8a7350;
  --sand-pale: #f5f1e8;
  --warn: #7a5230;
  --tint: #f7f9fa;
  --radius: 4px;
  --maxw: 1000px;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.9;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--sea); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--sea-dark); }

/* ===== ヘッダー ===== */
.site-header { background: var(--paper); color: var(--ink); border-top: 4px solid var(--sea); border-bottom: 1px solid var(--line); }
.site-header .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { color: var(--ink); }
.brand svg { flex: none; width: 30px; }
.brand small { display: block; font-size: .66rem; font-weight: 400; color: var(--ink-soft); letter-spacing: .04em; }
.brand-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* 広告表記：読めるが主張しない大きさ */
.pr-label {
  flex: none;
  align-self: flex-start;
  margin-top: 4px;
  font-size: .6rem;
  line-height: 1;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 2px 4px;
  letter-spacing: .08em;
}
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.gnav a { color: var(--ink-soft); text-decoration: none; font-size: .88rem; }
.gnav a:hover { color: var(--ink); text-decoration: underline; }

/* ハンバーガー（CSSのみ・チェックボックス方式） */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-btn { display: none; }
@media (max-width: 759px) {
  .site-header .inner { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .brand-wrap { flex: 1 1 0; }
  .brand { font-size: .95rem; letter-spacing: .04em; }
  .nav-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .nav-btn span, .nav-btn span::before, .nav-btn span::after {
    display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: "";
  }
  .nav-btn span::before { position: absolute; top: -6px; }
  .nav-btn span::after { position: absolute; top: 6px; }
  .nav-toggle:focus-visible + .nav-btn { outline: 2px solid var(--sea); }
  .gnav { display: none; width: 100%; }
  .nav-toggle:checked ~ .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; padding: 6px 0 4px; border-top: 1px solid var(--line); }
  .gnav a { display: block; padding: 10px 2px; font-size: .98rem; }
}

.pr-notice {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6px 16px 0;
  color: var(--ink-soft);
  font-size: .7rem;
  line-height: 1.6;
}

/* ===== レイアウト ===== */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 16px 56px; }
.breadcrumb { font-size: .78rem; color: var(--ink-soft); margin: 10px 0 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-soft); }

.updated { font-size: .8rem; color: var(--ink-soft); margin: 4px 0 0; }

.article-body, .page-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 32px;
  margin-top: 14px;
}
@media (min-width: 760px) {
  .article-body, .page-body { padding: 44px 64px 52px; }
}

h1, h2, h3 { font-weight: 700; line-height: 1.5; letter-spacing: 0; }
h1 { font-size: 1.55rem; margin: 6px 0 6px; color: var(--sea-dark); }
h2 {
  font-size: 1.26rem;
  margin: 2.6em 0 .9em;
  padding: 10px 14px;
  border-left: 5px solid var(--sea);
  background: var(--sea-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--sea-dark);
}
h3 { font-size: 1.07rem; margin: 1.9em 0 .5em; color: var(--sea-dark); padding-bottom: 4px; border-bottom: 2px dotted #c4d4db; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; background: linear-gradient(transparent 64%, var(--sea-pale) 64%); }
.lead { font-size: 1rem; }

/* ===== 比較表 ===== */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1em 0 .4em;
  background: var(--paper);
}
.table-wrap:focus { outline: 2px solid var(--sea); }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .88rem; line-height: 1.65; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--sea); color: #fff; font-weight: 700; white-space: nowrap; border-bottom: 0; }
tbody th { background: var(--sea-tint); white-space: nowrap; font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.scroll-hint, .table-hint, .table-source { font-size: .76rem; color: var(--ink-soft); margin: 0 0 1.2em; }
.table-hint { margin-bottom: 4px; }
.unconfirmed, .tbc { color: var(--warn); font-weight: 700; }
.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-note { font-size: .8rem; color: var(--ink-soft); }
td .sub, th .sub { display: block; font-size: .76rem; color: var(--ink-soft); font-weight: 400; }
table.simple { min-width: 560px; }

/* ===== ボックス ===== */
.box, .note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 1.6em 0;
  background: var(--tint);
}
.box-title { font-weight: 700; margin: 0 0 .4em; font-size: .95rem; }
.box.point, .note { border-left: 3px solid var(--sea); background: var(--sea-pale); }
.box.caution, .note.caution { border-left: 3px solid var(--sand); background: var(--sand-pale); }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.note strong { background: none; color: var(--sea-dark); }
.section-card { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 1.4em 0; }
.section-card ul { margin: 0; }

.toc { background: var(--sea-tint); border: 1px solid #d3e0e5; border-radius: var(--radius); padding: 14px 20px; margin: 1.6em 0; font-size: .95rem; }
.toc p { font-weight: 700; margin: 0 0 .3em; font-size: .85rem; color: var(--ink-soft); letter-spacing: .1em; }
.toc ol { margin: 0; }

/* ===== サービスカード（記事内） ===== */
.cards { display: grid; gap: 14px; margin: 1.4em 0; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; }
.card h3 { margin-top: 0; }
.card .tag { display: inline-block; align-self: flex-start; font-size: .72rem; color: var(--sea-dark); background: var(--sea-pale); border-radius: 2px; padding: 1px 8px; margin-bottom: 6px; }
.card p { font-size: .92rem; }
.card .btn { margin-top: auto; align-self: flex-start; }

.btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .88rem;
  line-height: 1.5;
  border: 0;
}
.btn:hover { background: var(--cta-dark); color: #fff; }
.btn::after { content: "  ›"; white-space: pre; opacity: .7; }
.btn-outline { background: var(--paper); color: var(--sea-dark); border: 1.5px solid var(--sea); }
.btn-outline:hover { background: var(--sea-pale); color: var(--sea-dark); }

/* ===== FAQ（記事内） ===== */
.article-body details, .page-body details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.article-body details summary { cursor: pointer; font-weight: 700; }

/* ===== 関連記事 ===== */
.related { margin-top: 2.6em; }
.related ul { list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .related ul { grid-template-columns: repeat(2, 1fr); } }
.related a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: .92rem;
  height: 100%;
}
.related a:hover { border-color: var(--sea); color: var(--sea-dark); }
.related a span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; }

.sources, .cite { font-size: .8rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.sources li, .cite li { margin-bottom: .2em; }
blockquote { margin: 16px 0; padding: 12px 16px; background: var(--tint); border-left: 3px solid var(--line-strong); color: var(--ink-soft); font-size: .92rem; }

/* 記事内の縦の手順リスト */
.article-body ol.steps, .page-body ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0; display: block; }
.article-body ol.steps > li {
  counter-increment: step; position: relative; padding: 0 0 18px 44px; margin: 0 0 0 16px;
  border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none;
}
.article-body ol.steps > li::before {
  content: counter(step); position: absolute; left: -15px; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sea); color: #fff; font-size: .88rem; display: flex; align-items: center; justify-content: center;
}
.article-body ol.steps > li:last-child { border-left-color: transparent; }

/* ===== フッター ===== */
.site-footer { background: #e6ebed; color: var(--ink-soft); font-size: .82rem; margin-top: 40px; border-top: 1px solid var(--line); }
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 28px 16px 72px; }
.site-footer a { color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer p { margin: 0 0 6px; }
.site-footer .disclosure { border-top: 1px solid var(--line-strong); padding-top: 12px; margin-top: 12px; }

/* =====================================================
   トップページの部品
   ===================================================== */
.block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px 28px;
  margin-top: 14px;
}
@media (min-width: 760px) { .block { padding: 36px 48px 40px; } }
.block > h2:first-child { margin-top: 0; }
.section-lead { color: var(--ink-soft); font-size: .93rem; }

/* ファーストビュー：写真の上に見出し、その下に代行散骨の3社 */
.fv { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; margin-top: 14px; overflow: hidden; }
.fv-photo {
  background: linear-gradient(90deg, rgba(16,40,52,.86) 0%, rgba(16,40,52,.62) 60%, rgba(16,40,52,.3) 100%), url(img/hero-calm-sea.jpg) center / cover;
  color: #fff;
  padding: 30px 20px 26px;
}
@media (min-width: 760px) { .fv-photo { padding: 52px 48px 44px; } }
.fv-body { padding: 20px 18px 22px; }
@media (min-width: 760px) { .fv-body { padding: 26px 48px 32px; } }
.fv h1 { margin: 0 0 10px; font-size: 1.42rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
@media (min-width: 760px) { .fv h1 { font-size: 1.9rem; } }
.fv h1 .fv-month { display: table; font-size: .74rem; font-weight: 500; color: var(--sea-dark); background: #e4eef2; border-radius: 999px; padding: 2px 12px; letter-spacing: .06em; margin-bottom: 10px; text-shadow: none; }
.fv-photo .updated { color: #d5e3e9; }
.fv-photo .lead { color: #eef4f6; font-size: .93rem; margin: 12px 0 8px; max-width: 40em; }
.fv-photo a { color: #fff; }
.fv-body a:not(.btn) { color: var(--sea); }
.fv-method-link { font-size: .86rem; margin: 0; }
.fv h2.fv-sub { margin: 0; padding: 0; border: 0; background: none; color: var(--ink); font-size: 1.05rem; }
.fv-sub-note { font-size: .8rem; color: var(--ink-soft); margin: 2px 0 0; }

/* 3社のミニカード（スマホは横スクロール） */
.mini3 {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 10px;
  margin: 12px 0 0;
  list-style: none;
}
.mini3 > li { flex: 0 0 240px; scroll-snap-align: start; margin: 0; }
@media (min-width: 760px) {
  .mini3 { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .mini3 > li { flex: none; }
}
.mini-card {
  background: var(--paper);
  box-shadow: 0 2px 8px rgba(20,50,60,.07);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sea);
  border-radius: var(--radius);
  padding: 14px 16px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.order-no { align-self: flex-start; font-size: .72rem; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 2px; padding: 0 6px; line-height: 1.7; }
.mini-card .mini-name { font-weight: 700; font-size: 1.02rem; line-height: 1.45; margin: 4px 0 0; }
.mini-card .mini-num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--sea-dark); font-size: 1.05rem; margin: 0; }
.mini-card .mini-num small { display: block; font-size: .7rem; color: var(--ink-soft); font-weight: 400; }
.mini-card .mini-text { font-size: .83rem; color: var(--ink-soft); margin: 0 0 10px; line-height: 1.65; }
.mini-card .btn { margin-top: auto; text-align: center; padding: 8px 12px; font-size: .84rem; }
.mini-card a.more { font-size: .8rem; text-align: center; margin-top: 6px; }
.scroll-swipe { font-size: .74rem; color: var(--ink-soft); margin: 2px 0 0; }
@media (min-width: 760px) { .scroll-swipe { display: none; } }
.eyecatch figcaption, .photo-credit { font-size: .7rem; color: var(--ink-soft); margin: 4px 0 0; text-align: right; }

/* 記号 */
.mark, .mk { font-weight: 700; margin-right: 4px; }
.mark.ok, .mk { color: var(--sea); }
.mark.mid { color: var(--sand); }
.mark.ng, .mk.no { color: var(--ink-soft); }

/* 選び方3ステップ（トップ） */
.steps3 { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 li { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--tint); }
.step-icon { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--sea); }
.step-icon svg { flex: none; width: 28px; height: 28px; }
.step-no { font-weight: 700; color: #fff; background: var(--sea); border-radius: 999px; padding: 1px 10px; font-size: .74rem; letter-spacing: .1em; }
.steps3 h3 { margin: 0 0 4px; font-size: 1rem; border: 0; padding: 0; }
.steps3 p { font-size: .88rem; margin: 0; color: var(--ink-soft); }

/* 料金順の一覧カード */
.svc-list { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 18px; }
.svc-list > li { margin: 0; }
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px 22px;
  scroll-margin-top: 12px;
}
@media (min-width: 760px) { .svc-card { padding: 28px 32px 30px; } }
.rc-head { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin: -20px -16px 0; padding: 12px 16px; background: var(--sea-pale); border-bottom: 1px solid #d3e0e5; border-radius: var(--radius) var(--radius) 0 0; }
@media (min-width: 760px) { .rc-head { margin: -28px -32px 0; padding: 14px 32px; } }
.rc-head h3 { margin: 0; font-size: 1.18rem; color: var(--ink); border: 0; padding: 0; }
.rc-head .order-no { align-self: center; background: var(--paper); }
.rc-head .rc-op { font-size: .74rem; color: var(--ink-soft); flex-basis: 100%; margin: -6px 0 0; }
.rc-catch { margin: 12px 0 12px; font-weight: 700; color: var(--ink); }

/* 金額の要約プレート */
.plate {
  background: var(--sea-tint);
  border: 1px solid #d3e0e5;
  border-radius: var(--radius);
  padding: 14px 18px;
  display: grid;
  gap: 2px;
}
.plate .plate-label { font-size: .74rem; color: var(--ink-soft); }
.plate .plate-num { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.5rem; color: var(--sea-dark); line-height: 1.35; }
.plate .plate-num small { font-size: .8rem; color: var(--ink-soft); font-weight: 400; }
.plate.plate-tbc .plate-num { color: var(--warn); font-size: 1.1rem; }

.rc-body { display: grid; gap: 18px; margin-top: 14px; }
@media (min-width: 900px) { .rc-body { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.rc-points { margin: 0; padding-left: 0; list-style: none; }
.rc-points li { position: relative; padding-left: 1.2em; font-size: .92rem; line-height: 1.75; margin-bottom: .45em; }
.rc-points li::before { content: "・"; position: absolute; left: 0; top: 0; color: var(--sea); font-weight: 700; }
.rc-sub { font-weight: 700; font-size: .88rem; margin: 0 0 6px; color: var(--ink); }
.rc-sub.good::before { content: "○ "; color: var(--sea); }
.caveat .rc-sub.bad::before { content: "△ "; }

table.spec { min-width: 0; width: 100%; font-size: .85rem; table-layout: fixed; }
table.spec th { width: 34%; white-space: normal; background: var(--tint); }
table.spec td { background: var(--paper); overflow-wrap: anywhere; }
.spec-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.campaign {
  border: 1px solid var(--line);
  border-left: 3px solid var(--sand);
  background: var(--sand-pale);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 16px 0 0;
  font-size: .88rem;
}
.campaign p:last-child, .campaign ul:last-child { margin-bottom: 0; }
.caveat {
  border: 1px solid var(--line);
  border-left: 3px solid var(--warn);
  background: #f9f6f2;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 12px 0 0;
  font-size: .88rem;
}
.caveat .rc-sub { color: var(--warn); }
.caveat ul { margin: 0; }
.caveat li:last-child { margin-bottom: 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cta-row .btn { flex: 1 1 200px; text-align: center; }

details.notes { margin-top: 14px; font-size: .8rem; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 8px; overflow-wrap: anywhere; }
details.notes summary { cursor: pointer; color: var(--ink-soft); font-weight: 700; }
details.notes ol { margin: 8px 0 0; padding-left: 0; list-style: none; }
details.notes li { padding-left: 2.2em; text-indent: -2.2em; }

/* 並べ方の説明 */
.method dl { margin: 0; font-size: .92rem; }
.method dt { font-weight: 700; color: var(--sea-dark); margin-top: 12px; }
.method dt:first-child { margin-top: 0; }
.method dd { margin: 2px 0 0; overflow-wrap: anywhere; }

/* 特集記事カード */
.article-cards { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .article-cards { grid-template-columns: repeat(2, 1fr); } }
.article-cards li { margin: 0; }
.article-cards a {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  text-decoration: none; color: var(--ink); height: 100%; background: var(--paper);
}
.article-cards a:hover { border-color: var(--sea); }
.article-cards .ac-img { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; display: block; }
.article-cards .ac-label { display: inline-block; font-size: .68rem; color: var(--ink-soft); letter-spacing: .1em; }
.article-cards .ac-title { display: block; font-weight: 700; line-height: 1.55; margin: 2px 0 4px; }
.article-cards .ac-desc { display: block; font-size: .78rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 480px) { .article-cards a { grid-template-columns: 96px 1fr; } .article-cards .ac-img { width: 96px; height: 72px; } }

/* FAQアコーディオン */
.faq-acc details { border: 0; border-bottom: 1px solid var(--line); margin: 0; background: none; }
.faq-acc details:first-child { border-top: 1px solid var(--line); }
.faq-acc summary { cursor: pointer; font-weight: 700; padding: 14px 2.4em 14px 2em; position: relative; list-style: none; }
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::before { content: "Q"; position: absolute; left: 2px; color: var(--sea); }
.faq-acc summary::after { content: "+"; position: absolute; right: 6px; color: var(--ink-soft); }
.faq-acc details[open] summary::after { content: "−"; }
.faq-acc .faq-a { padding: 0 0 16px 2em; position: relative; margin: 0; font-size: .93rem; }
.faq-acc .faq-a::before { content: "A"; position: absolute; left: 2px; color: var(--ink-soft); }
.faq-acc summary:focus-visible { outline: 2px solid var(--sea); }

/* 記事内の3社 */
.cta3 { border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); padding: 16px 16px 18px; margin: 1.4em 0 1.8em; }
.cta3 .cta3-title { font-weight: 700; margin: 0 0 2px; }
.cta3 .cta3-note { font-size: .76rem; color: var(--ink-soft); margin: 0 0 8px; }
.cta3 .mini3 { margin-top: 6px; }
.cta3 .mini3 > li { flex-basis: 220px; }

/* ===== 画像 ===== */
.eyecatch { margin: 14px 0 18px; }
.eyecatch img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.figure { margin: 1.4em 0; }
.figure img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.figure figcaption { font-size: .78rem; color: var(--ink-soft); margin-top: 6px; }

/* 金額の棒グラフ（順位ではなく金額の比較） */
.bar-chart { list-style: none; padding: 0; margin: 1em 0 .4em; display: grid; gap: 8px; }
.bar-chart li { display: grid; grid-template-columns: 12em 1fr; gap: 10px; align-items: center; margin: 0; font-size: .85rem; }
.bar-chart .bc-name { font-weight: 700; line-height: 1.35; }
.bar-chart .bc-name a { color: var(--ink); text-decoration: none; }
.bar-chart .bc-track { position: relative; background: #edf2f4; border-radius: 999px; height: 26px; }
.bar-chart .bc-bar { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: #7f9fad; min-width: fit-content; display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; font-size: .8rem; white-space: nowrap; }
@media (max-width: 560px) { .bar-chart li { grid-template-columns: 1fr; gap: 2px; } }

/* 費用シミュレーター */
.sim { border: 2px solid #c9dbe2; }
.sim-form { display: grid; gap: 12px; background: var(--sea-tint); border-radius: 8px; padding: 16px; margin: 12px 0 16px; }
.sim-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sim-form legend { font-weight: 700; font-size: .88rem; float: left; margin-right: 8px; }
.sim-form .sim-radio { font-weight: 400; font-size: .88rem; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 4px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.sim-radio:has(input:checked) { border-color: var(--sea); background: var(--sea); color: #fff; }
.sim-radio input { accent-color: var(--sea); margin: 0; }
.sim-summary { font-weight: 700; margin: 0 0 6px; }
.sim-bars li { grid-template-columns: 15em 1fr; }
@media (max-width: 560px) { .sim-bars li { grid-template-columns: 1fr; } }
.sim-detail { font-size: .85rem; margin: 10px 0; }
.sim-detail summary { cursor: pointer; color: var(--sea-dark); font-weight: 700; }
.sim-detail li span { color: var(--ink-soft); font-size: .8rem; }
.sim-ng-title { font-size: .85rem; font-weight: 700; margin: 12px 0 2px; color: var(--ink-soft); }
.sim-ng { font-size: .8rem; color: var(--ink-soft); margin: 0 0 8px; }

/* 安心して任せられるか */
.safety-points { display: grid; gap: 12px; margin: 14px 0 6px; }
@media (min-width: 760px) { .safety-points { grid-template-columns: repeat(3, 1fr); } }
.sp { background: var(--sea-tint); border: 1px solid #d3e0e5; border-top: 4px solid var(--sea); border-radius: 8px; padding: 14px 16px; }
.sp-title { font-weight: 700; color: var(--sea-dark); margin: 0 0 4px; }
.sp p:last-child { font-size: .85rem; margin: 0; line-height: 1.75; }
#safety table { min-width: 1080px; }

/* 先に結論 */
.conclusion { border: 2px solid #c9dbe2; }
.pick-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.pick-list li { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
@media (min-width: 760px) { .pick-list li { grid-template-columns: 11em 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; } .pick-list .pick-tag { grid-row: 1 / 3; } .pick-list .btn { grid-column: 3; grid-row: 1 / 3; } }
.pick-tag { display: inline-block; justify-self: start; font-size: .78rem; font-weight: 700; color: #fff; background: var(--sea); border-radius: 4px; padding: 3px 10px; }
.pick-list b { font-size: 1.02rem; }
.pick-why { font-size: .84rem; color: var(--ink-soft); line-height: 1.6; }
.pick-list .btn { justify-self: start; padding: 7px 16px; font-size: .82rem; white-space: nowrap; }
.page-toc { margin-top: 18px; background: var(--sea-tint); border: 1px solid #d3e0e5; border-radius: 8px; padding: 12px 16px; }
.page-toc p { font-weight: 700; font-size: .85rem; margin: 0 0 4px; color: var(--sea-dark); }
.page-toc ol { margin: 0; display: grid; gap: 0 20px; font-size: .9rem; }
@media (min-width: 760px) { .page-toc ol { grid-template-columns: repeat(2, 1fr); } }

/* 全社の比較表（並べ替え・チェック） */
.cmp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 8px; }
.cmp-label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.cmp-sep { flex-basis: 100%; height: 0; }
.chip {
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  line-height: 1.4;
}
.chip:hover { border-color: var(--sea); color: var(--sea-dark); }
.chip[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }
.chip:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.chip-strong { border-color: var(--cta); color: var(--cta-dark); font-weight: 700; }
.filter-status { font-size: .85rem; color: var(--ink-soft); background: var(--tint); border-radius: var(--radius); padding: 8px 12px; margin: 0; min-height: 2.2em; }
.cmp-check { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.cmp-check input { width: 18px; height: 18px; accent-color: var(--sea); flex: none; }
#all8 { min-width: 1180px; }
#all8 td { min-width: 7.5em; }
#all8 td.num { white-space: normal; }
#all8 tbody th { min-width: 13em; }
#all8 tr[hidden] { display: none; }
@media (max-width: 560px) { #all8 tbody th { min-width: 8.5em; white-space: normal; } }
.sticky-first tbody th, .sticky-first thead th:first-child { position: sticky; left: 0; z-index: 1; }
.sticky-first thead th:first-child { z-index: 2; }
.sticky-first tbody th { box-shadow: 1px 0 0 var(--line); }

/* 更新履歴・先頭へ戻る */
.history ul { margin: 0; padding-left: 1.2em; font-size: .9rem; }
.history time { font-weight: 700; color: var(--sea-dark); }
.to-top { position: fixed; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--sea); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.16); z-index: 10; }
.to-top:hover { background: var(--sea-dark); color: #fff; }
