/* ショップ住所の手引き — 共通スタイル（参照サイトと同じデザイン言語） */
/* 元の方針メモ:
   方針: 白地に青緑を基調色、申し込みボタンだけ橙。1〜3位は金・銀・銅のメダル。
   写真とイラストで文字だけのページにしない。文字は Noto Sans JP 1種類に統一。 */
:root {
  --ink: #2b2925;
  --ink-soft: #6b665e;
  --bg: #f3f6f5;
  --paper: #ffffff;
  --line: #e4dfd5;
  --line-strong: #cfc8ba;
  --teal: #1f7a6d;
  --teal-dark: #155a50;
  --teal-pale: #e6f3f0;
  --cta: #e8772e;
  --cta-dark: #c95f1a;
  --gold: #c9a227;
  --silver: #8f9aa5;
  --bronze: #b0754a;
  --amber: #a8742a;
  --amber-pale: #f8f2e6;
  --warn: #9a4a2a;
  --tint: #faf8f4;
  --radius: 4px;
  --maxw: 1000px;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-head: var(--font-body);
}

* { 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(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dark); }

/* ===== ヘッダー ===== */
.site-header { background: var(--paper); color: var(--ink); border-top: 4px solid var(--teal); 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-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { color: var(--ink); }
.brand svg { flex: none; width: 30px; }
.brand svg rect { stroke: var(--teal); }
.brand svg circle, .brand svg path { stroke: var(--ink); }
.brand small { display: block; font-family: var(--font-body); 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; }
.gnav a[aria-current="page"] { color: var(--ink); }

/* ハンバーガー（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 { flex-wrap: wrap; 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: .92rem; letter-spacing: .02em; }
  .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(--teal); }
  .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-family: var(--font-head); font-weight: 700; line-height: 1.5; letter-spacing: 0; }
h1 { font-size: 1.6rem; margin: 14px 0 6px; }
h2 {
  font-size: 1.28rem;
  margin: 2.6em 0 .9em;
  padding: 10px 14px;
  border-left: 5px solid var(--teal);
  background: var(--teal-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
}
h3 { font-size: 1.08rem; margin: 1.9em 0 .5em; color: var(--teal-dark); padding-bottom: 4px; border-bottom: 2px dotted #bfdcd6; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--amber-pale) 62%); }

/* ===== ヒーロー（トップ） ===== */
.hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 14px;
  padding: 24px 20px;
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .hero { grid-template-columns: 1fr 220px; align-items: center; padding: 32px 40px; }
}
.hero h1 { margin-top: 0; font-size: 1.7rem; }
.hero .lead { color: var(--ink-soft); margin-bottom: 0; }
.hero-figure { justify-self: center; }

/* ===== 比較表 ===== */
.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(--teal); }
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(--teal); color: #fff; font-weight: 700; white-space: nowrap; border-bottom: 0; position: sticky; top: 0; }
tbody th { background: #f2f8f6; white-space: nowrap; font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.scroll-hint { font-size: .76rem; color: var(--ink-soft); margin: 0 0 1.2em; }
.unconfirmed { color: var(--warn); font-weight: 700; }
.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-note { font-size: .8rem; color: var(--ink-soft); }

/* ===== ボックス ===== */
.box {
  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 { border-left: 3px solid var(--teal); background: var(--teal-pale); }
.box.caution { border-left: 3px solid var(--amber); background: var(--amber-pale); }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }

.toc { background: #f7fbfa; border: 1px solid #cfe5e0; 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(--teal-dark); background: var(--teal-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: .9rem;
  line-height: 1.5;
  border: 0;
  box-shadow: 0 2px 0 var(--cta-dark);
}
.btn:hover { background: var(--cta-dark); color: #fff; }
.btn::after { content: "  ›"; white-space: pre; opacity: .7; }

/* ===== FAQ ===== */
.faq dt { font-weight: 700; margin-top: 1.2em; padding-left: 2em; text-indent: -2em; }
.faq dt::before { content: "Q."; color: var(--teal); margin-right: .5em; font-family: var(--font-head); }
.faq dd { margin: .3em 0 0; padding-left: 2em; text-indent: -2em; }
.faq dd::before { content: "A."; color: var(--ink-soft); margin-right: .5em; font-weight: 700; font-family: var(--font-head); }
.article-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(--teal); color: var(--teal-dark); }
.related a span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; }

.sources { font-size: .8rem; color: var(--ink-soft); word-break: break-all; }
.sources li { margin-bottom: .2em; }

/* ===== フッター ===== */
.site-footer { background: #efece5; 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; }
.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(14,52,47,.88) 0%, rgba(14,52,47,.62) 60%, rgba(14,52,47,.25) 100%), url(img/hero-desk.jpg) center / cover;
  color: #fff;
  padding: 30px 20px 26px;
}
@media (min-width: 760px) { .fv-photo { padding: 48px 48px 40px; } }
.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.45rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
@media (min-width: 760px) { .fv h1 { font-size: 1.95rem; } }
.fv h1 .fv-month { display: table; font-family: var(--font-body); font-size: .76rem; font-weight: 700; color: var(--ink); background: #ffd88a; border-radius: 999px; padding: 2px 12px; letter-spacing: .06em; margin-bottom: 10px; text-shadow: none; }
.fv-photo .updated { color: #d7ebe7; }
.fv-photo .lead { color: #f0f7f5; font-size: .93rem; margin: 12px 0 8px; max-width: 40em; }
.fv-photo a { color: #fff; }
.fv-body a:not(.btn) { color: var(--teal); }
.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;
}

/* 上位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,60,55,.08);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-card .rank { align-self: flex-start; }
.mini-card .mini-name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.45; margin: 6px 0 0; }
.mini-card .mini-num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); 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: .85rem; }
.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; } }

/* 順位メダル：1位金・2位銀・3位銅、4位以下は灰色の丸 */
.rank {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex: none;
  width: 46px; height: 46px;
  padding-top: 9px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #a7b0b6;
}
.rank b { font-size: 1.25rem; font-weight: 700; font-family: var(--font-body); font-variant-numeric: tabular-nums; }
.rank small { font-size: .62rem; margin-left: 1px; }
.rank.r1 { background: radial-gradient(circle at 35% 30%, #f3dc84, var(--gold) 60%, #9c7b12); }
.rank.r2 { background: radial-gradient(circle at 35% 30%, #e3e8ec, var(--silver) 60%, #6c7781); }
.rank.r3 { background: radial-gradient(circle at 35% 30%, #e9b991, var(--bronze) 60%, #85502c); }

/* 上位3社の比較表 */
.top3 table { min-width: 600px; table-layout: fixed; }
.top3 thead th { white-space: normal; text-align: center; }
.top3 tbody th { white-space: normal; }
.top3 thead th:first-child { width: 22%; }
.top3 thead .rank { margin: 0 auto 6px; display: flex; }
.top3 td { font-size: .85rem; }
.top3 tfoot td { text-align: center; background: var(--tint); border-bottom: 0; }
.top3 tfoot th { background: var(--tint); border-bottom: 0; }
.mark { font-weight: 700; font-size: 1rem; margin-right: 4px; }
.mark.ok { color: var(--teal); }
.mark.mid { color: var(--amber); }
.mark.ng { color: var(--warn); }

/* 条件チップ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; padding: 0; list-style: none; }
.chips li { margin: 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(--teal); color: var(--teal-dark); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.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; }

/* 選び方3ステップ */
.steps { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps 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; }
.step-icon svg { flex: none; width: 26px; }
.step-no { font-family: var(--font-body); font-weight: 700; color: #fff; background: var(--teal); border-radius: 999px; padding: 1px 10px; font-size: .74rem; letter-spacing: .1em; }
.steps h3 { margin: 0 0 4px; font-size: 1rem; }
.steps p { font-size: .88rem; margin: 0; color: var(--ink-soft); }

/* ランキングカード */
.rank-list { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 18px; }
.rank-list > li { margin: 0; }
.rank-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px 22px;
  scroll-margin-top: 12px;
}
.rank-card.is-top { border: 2px solid #bfdcd6; }
@media (min-width: 760px) { .rank-card { padding: 28px 32px 30px; } }
.rank-card[hidden] { display: none; }
.rc-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: -20px -16px 0; padding: 12px 16px; background: var(--teal-pale); border-bottom: 1px solid #cfe5e0; 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.22rem; color: var(--ink); border: 0; padding: 0; }
.rc-head .rc-kind { font-size: .72rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 2px; padding: 0 6px; }
.rc-catch { margin: 12px 0 12px; font-weight: 700; color: var(--ink); }

/* 総額の要約プレート */
.plate {
  background: #fff8ef;
  color: var(--ink);
  border: 1px solid #f1d9bd;
  border-radius: var(--radius);
  padding: 14px 18px;
  display: grid;
  gap: 2px;
}
.plate .plate-name { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.plate .plate-label { font-size: .74rem; color: var(--ink-soft); }
.plate .plate-num { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.6rem; color: var(--cta-dark); line-height: 1.35; }
.plate .plate-num small { font-size: .8rem; color: var(--ink-soft); font-weight: 400; }
.plate .plate-strip { display: none; }

.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(--teal); font-weight: 700; }
.rc-sub { font-weight: 700; font-size: .88rem; margin: 0 0 6px; color: var(--ink); }

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) !important; 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(--amber);
  background: var(--amber-pale);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 16px 0 0;
  font-size: .88rem;
}
.campaign .rc-sub { color: #6e4b14; }
.campaign p:last-child, .campaign ul:last-child { margin-bottom: 0; }
.campaign ul { margin: 0 0 .6em; }
.caveat {
  border: 1px solid var(--line);
  border-left: 3px solid var(--warn);
  background: #fbf6f2;
  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; }
.btn-outline { background: var(--paper); color: var(--teal-dark); border: 1.5px solid var(--teal); box-shadow: none; }
.btn-outline:hover { background: var(--teal-pale); color: var(--teal-dark); }

details.notes { margin-top: 14px; font-size: .8rem; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 8px; }
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; }

/* 目的別の入口タイル */
.tiles { list-style: none; padding: 0; margin: 1em 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tiles li { margin: 0; }
.tiles a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  height: 100%;
  border: 1px solid #cfe5e0; border-radius: 8px;
  padding: 14px 14px; text-decoration: none; color: var(--ink); background: linear-gradient(180deg, #f2f9f7, #fff);
  font-weight: 700; font-size: .9rem; line-height: 1.5;
}
.tiles a svg { width: 30px; }
.tiles a:hover { border-color: var(--teal); color: var(--teal-dark); }
.tiles a span { font-weight: 400; font-size: .76rem; color: var(--ink-soft); }

/* 特集記事カード */
.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(--teal); }
.article-cards .ac-thumb { width: 52px; height: 52px; border-radius: var(--radius); background: var(--teal); display: flex; align-items: center; justify-content: center; }
.article-cards .ac-thumb svg { width: 26px; }
.article-cards .ac-thumb.teal { background: #7d7466; }
.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; font-family: var(--font-head); 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; }

/* 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(--teal); font-family: var(--font-head); }
.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; color: var(--ink); }
.faq-acc .faq-a::before { content: "A"; position: absolute; left: 2px; color: var(--ink-soft); font-family: var(--font-head); }
.faq-acc summary:focus-visible { outline: 2px solid var(--teal); }

/* 記事内の上位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-family: var(--font-head); 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; }
.cta3 .mini-card { background: var(--paper); }
@media (min-width: 760px) { .cta3 .mini3 { grid-template-columns: repeat(3, 1fr); } }

.criteria-list li { margin-bottom: .6em; }

/* ===== 画像 ===== */
.eyecatch { margin: 14px 0 18px; }
.eyecatch img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.eyecatch figcaption, .photo-credit { font-size: .7rem; color: var(--ink-soft); margin-top: 4px; text-align: right; }
.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; }
.article-cards .ac-img { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; display: block; }
@media (max-width: 480px) { .article-cards a { grid-template-columns: 96px 1fr; } .article-cards .ac-img { width: 96px; height: 72px; } }

/* 公式バナー（ASP提供の広告素材） */
.rc-visual { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 760px) { .rc-visual { grid-template-columns: 1fr 300px; align-items: center; } }
.official-banner { text-align: center; }
.official-banner img { display: inline-block; max-width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.official-banner small { display: block; font-size: .68rem; color: var(--ink-soft); }

/* 総額の棒グラフ */
.bar-chart { list-style: none; padding: 0; margin: 1em 0 .4em; display: grid; gap: 8px; }
.bar-chart li { display: grid; grid-template-columns: 11.5em 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: #eef2f1; border-radius: 999px; height: 26px; }
.bar-chart .bc-bar { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: #9fb9b3; 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; }
.bar-chart .r1 .bc-bar { background: linear-gradient(90deg, #e6c75a, var(--gold)); }
.bar-chart .r2 .bc-bar { background: linear-gradient(90deg, #b9c2ca, var(--silver)); }
.bar-chart .r3 .bc-bar { background: linear-gradient(90deg, #d39b70, var(--bronze)); }
@media (max-width: 560px) { .bar-chart li { grid-template-columns: 1fr; gap: 2px; } }
.official-banner img[width="1"] { position: absolute; width: 1px; height: 1px; border: 0; }
.mini-card .mini-name, .steps h3 { border: 0; padding-bottom: 0; }

/* 総額シミュレーター */
.sim { border: 2px solid #bfdcd6; }
.sim-form { display: grid; gap: 12px; background: #f2f9f7; border-radius: 8px; padding: 16px; margin: 12px 0 16px; }
@media (min-width: 760px) { .sim-form { grid-template-columns: repeat(3, 1fr); } .sim-form fieldset { grid-column: 1 / -1; } }
.sim-form label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; flex-wrap: nowrap; white-space: nowrap; }
.sim-form input[type="number"] { width: 5.5em; font: inherit; font-size: 1.05rem; padding: 6px 8px; border: 1.5px solid var(--teal); border-radius: 6px; text-align: right; background: #fff; }
.sim-form label span { font-weight: 400; }
.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; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 4px 14px; cursor: pointer; }
.sim-radio:has(input:checked) { border-color: var(--teal); background: var(--teal); color: #fff; }
.sim-radio input { accent-color: var(--teal); margin: 0; }
.sim-summary { font-weight: 700; margin: 0 0 6px; }
.sim-bars li { grid-template-columns: 14em 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(--teal-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: #fff8ef; border: 1px solid #f1d9bd; border-top: 4px solid var(--cta); border-radius: 8px; padding: 14px 16px; }
.sp-title { font-weight: 700; color: var(--cta-dark); margin: 0 0 4px; }
.sp p:last-child { font-size: .85rem; margin: 0; line-height: 1.75; }
#safety table { min-width: 980px; }

/* 結論ファースト */
.conclusion { border: 2px solid var(--cta); }
.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(--teal); 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: #f7fbfa; border: 1px solid #cfe5e0; border-radius: 8px; padding: 12px 16px; }
.page-toc p { font-weight: 700; font-size: .85rem; margin: 0 0 4px; color: var(--teal-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); } }

/* 9社の比較表 */
.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-strong { border-color: var(--cta); color: var(--cta-dark); font-weight: 700; }
.chip-strong:hover { background: #fff3e8; border-color: var(--cta); color: var(--cta-dark); }
.cmp-check { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.cmp-check input { width: 18px; height: 18px; accent-color: var(--cta); flex: none; }
#all8 { min-width: 1120px; }
#all8 td { min-width: 7.5em; }
#all8 td.num { white-space: normal; }
#all8 tbody th { min-width: 13em; }
#all8 tr[hidden] { display: none; }
.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); }

/* 良いところ・気になるところ */
.rc-sub.good::before { content: "○ "; color: var(--teal); }
.caveat .rc-sub.bad::before { content: "△ "; }

/* 更新履歴・先頭へ戻る */
.history ul { margin: 0; padding-left: 1.2em; font-size: .9rem; }
.history time { font-weight: 700; color: var(--teal-dark); }
.to-top { position: fixed; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); 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,.18); z-index: 10; }
.to-top:hover { background: var(--teal-dark); color: #fff; }

/* ===== 記事ページの既存クラス（参照デザインに合わせた見た目） ===== */
.page-head h1 { margin-top: 0; }
.meta { font-size: .8rem; color: var(--ink-soft); margin: 4px 0 0; }
.lead { font-size: 1rem; }
.note { border: 1px solid var(--line); border-left: 3px solid var(--teal); background: var(--teal-pale); border-radius: var(--radius); padding: 14px 18px; margin: 1.4em 0; font-size: .93rem; }
.note p { margin: 0 0 .4em; }
.note p:last-child { margin-bottom: 0; }
.note strong { background: none; }
.caution { border-left-color: var(--amber); background: var(--amber-pale); }
.chk { display: inline-block; font-size: .76rem; color: var(--ink-soft); line-height: 1.5; }
.src { font-size: .78rem; color: var(--ink-soft); word-break: break-all; }
ul.src li { margin-bottom: .2em; }
.table-hint { font-size: .76rem; color: var(--ink-soft); margin: 0; }
span.ok { color: var(--teal); font-weight: 700; }
span.ng { color: var(--warn); font-weight: 700; }
span.tbd { color: var(--warn); font-weight: 700; }
.mark.part { color: var(--amber); }
.grid { display: grid; gap: 14px; margin: 1.2em 0; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); } }
table.wide { min-width: 900px; }
.tbl-sticky tbody th { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.article-body section > h2:first-child { margin-top: 2.2em; }
.pick-list .btn-outline { white-space: nowrap; }
