/* ==========================================================================
   littlesparkshospital.com 共通スタイル（軽量・モバイルファースト・システムフォント）
   外部リソース依存なし（Webフォント/外部CSS/JSを読み込まない = CWV最優先）
   ========================================================================== */

/* ---- デザイントークン ------------------------------------------------- */
:root {
  --brand:        #16697a;   /* サイトブランド（信頼系ティール） */
  --brand-dark:   #0f4d5a;
  --brand-light:  #e6f0f2;
  --accent:       #f5731f;   /* CTA（高視認オレンジ） */
  --accent-dark:  #d95d0c;
  --text:         #1f2933;
  --muted:        #5b6875;
  --border:       #e2e8f0;
  --soft-bg:      #f5f8fa;
  --bg:           #ffffff;
  --note-bg:      #fff8ef;
  --note-border:  #f5c48a;
  --maxw:         860px;
}

/* ---- ベース ------------------------------------------------------------ */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  word-break: normal;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* ---- ヘッダー ---------------------------------------------------------- */
.site-header {
  background: var(--brand);
  color: #fff;
  border-bottom: 3px solid var(--brand-dark);
}
.site-header .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: .02em;
}
.site-catch {
  font-size: .78rem;
  color: #d7eaee;
  margin: 0;
}

/* ---- グローバルナビ ---------------------------------------------------- */
.global-nav {
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.global-nav ul {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.global-nav a {
  display: block;
  padding: 11px 14px;
  color: #eaf4f6;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.global-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---- パンくず ---------------------------------------------------------- */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 16px;
  font-size: .78rem;
  color: var(--muted);
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumb li::after { content: "›"; margin-left: 6px; color: #aab4bd; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--brand); text-decoration: none; }

/* ---- レイアウト -------------------------------------------------------- */
.site-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 16px 48px;
}

/* ---- 記事本文 ---------------------------------------------------------- */
.post-content h1 {
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 18px 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--brand);
}
.post-content h2 {
  font-size: 1.28rem;
  line-height: 1.5;
  margin: 44px 0 16px;
  padding: 10px 14px;
  background: var(--brand-light);
  border-left: 6px solid var(--brand);
  border-radius: 4px;
  scroll-margin-top: 12px;
}
.post-content h3 {
  font-size: 1.08rem;
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  scroll-margin-top: 12px;
}
.post-content p { margin: 0 0 18px; }
.post-content small { color: var(--muted); font-size: .82rem; }

.post-content a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 本文内リンク（内部回遊）を少し強調 */
.post-content p > a[href^="/"] {
  font-weight: 600;
}

/* ---- 表 ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 480px;
}
.post-content th,
.post-content td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.post-content thead th {
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
}
.post-content tbody tr:nth-child(even) { background: var(--soft-bg); }

/* ---- FAQ (dl) ---------------------------------------------------------- */
.post-content dl { margin: 0 0 20px; }
.post-content dt {
  font-weight: 700;
  background: var(--soft-bg);
  border-left: 4px solid var(--brand);
  padding: 10px 12px;
  margin-top: 12px;
}
.post-content dd {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-top: none;
}

/* ---- CTA ボタン -------------------------------------------------------- */
.cta { text-align: center; margin: 26px 0; }
.cta a {
  display: inline-block;
  width: 100%;
  max-width: 560px;
  padding: 17px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 0 var(--accent-dark), 0 6px 14px rgba(217,93,12,.28);
  transition: transform .05s ease, box-shadow .05s ease;
}
.cta a:hover { color: #fff; filter: brightness(1.04); }
.cta a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-dark); }

.cta-text { text-align: center; margin: -8px 0 26px; }
.cta-text a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* ---- 目次（TOC） ------------------------------------------------------- */
.toc {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 24px 0 32px;
}
.toc-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--brand-dark);
}
.toc ol { margin: 0; padding-left: 1.3em; }
.toc > ol { counter-reset: toc; }
.toc li { margin: 4px 0; }
.toc a { color: var(--brand-dark); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc ol ol { padding-left: 1.1em; margin: 4px 0; }
.toc ol ol a { color: var(--muted); font-size: .9rem; }

/* ---- 汎用ページ本文（固定ページ stub） -------------------------------- */
.page-body h1 { font-size: 1.5rem; margin: 18px 0 18px; padding-bottom: 12px; border-bottom: 3px solid var(--brand); }
.page-body h2 { font-size: 1.2rem; margin: 32px 0 12px; padding-left: 12px; border-left: 5px solid var(--brand); }
.page-body p, .page-body li { margin: 0 0 14px; }
.page-body ul { padding-left: 1.3em; }

/* ---- サイドバー的補足（aside） ---------------------------------------- */
.related-box {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 32px 0;
}
.related-box h2 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: var(--brand-dark);
}
.related-box ul { margin: 0; padding-left: 1.2em; }
.related-box li { margin: 6px 0; }

/* ---- フッター ---------------------------------------------------------- */
.site-footer {
  background: #10333b;
  color: #cfdee2;
  margin-top: 40px;
}
.site-footer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 16px;
  font-size: .85rem;
}
.footer-nav {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-nav a { color: #eaf4f6; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-disclaimer { color: #9fb4ba; font-size: .78rem; line-height: 1.7; margin: 0 0 14px; }
.copyright { color: #8aa2a8; font-size: .78rem; margin: 0; }

/* ---- レスポンシブ（タブレット以上） ----------------------------------- */
@media (min-width: 720px) {
  body { font-size: 17px; }
  .site-header .inner { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .post-content h1 { font-size: 1.85rem; }
  .post-content h2 { font-size: 1.45rem; }
  .cta a { width: auto; }
}

/* ==========================================================================
   視覚CROコンポーネント（画像非依存・CSS＋インラインSVGのみ / CWV維持）
   ========================================================================== */
:root { --gold:#f5a623; --good:#1f9d63; --bad:#d64545; }

/* ---- ① 編集部 総合評価カード ---- */
.verdict{display:flex;flex-wrap:wrap;gap:18px;align-items:center;background:linear-gradient(180deg,#fff,var(--brand-light));border:1px solid #cfe0e4;border-radius:14px;padding:20px;margin:0 0 22px;box-shadow:0 3px 12px rgba(15,77,90,.08);}
.verdict__score{flex:0 0 auto;text-align:center;min-width:150px;}
.verdict__label{font-size:.74rem;font-weight:700;color:var(--brand-dark);letter-spacing:.04em;}
.verdict__num{font-size:3.2rem;font-weight:800;line-height:1;color:var(--brand-dark);}
.verdict__num span{font-size:1.1rem;font-weight:700;color:var(--muted);}
.verdict__body{flex:1 1 260px;}
.verdict__head{font-size:1.05rem;font-weight:800;margin:0 0 8px;color:var(--text);}
.verdict__body p{margin:0;font-size:.9rem;}
.verdict__note{font-size:.8rem!important;color:var(--muted);margin:10px 0 0!important;}

/* 星（背景グレー星＋前面ゴールド星をwidthでクリップ＝部分塗り対応） */
.stars{--rate:76%;position:relative;display:inline-block;font-size:1.35rem;line-height:1;letter-spacing:2px;}
.stars::before{content:"★★★★★";color:#d9e2e6;}
.stars::after{content:"★★★★★";color:var(--gold);position:absolute;left:0;top:0;width:var(--rate);overflow:hidden;white-space:nowrap;}
.stars--sm{font-size:1rem;}

/* ---- トラストバッジ（事実ベース） ---- */
.badges{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:.78rem;font-weight:700;color:var(--brand-dark);background:#fff;border:1px solid #bcd6dc;border-radius:99px;padding:5px 11px;}
.badge svg{width:14px;height:14px;flex:0 0 auto;}

/* ---- ② 項目別評価バー ---- */
.ratings{border:1px solid var(--border);border-radius:12px;padding:16px 18px;margin:0 0 24px;background:#fff;}
.ratings h3{font-size:1rem;margin:0 0 12px;color:var(--brand-dark);border:0;padding:0;}
.rrow{display:grid;grid-template-columns:8.5em 1fr 2.4em;align-items:center;gap:10px;margin:9px 0;}
.rrow__label{font-size:.85rem;font-weight:600;}
.rrow__track{background:#eef2f4;border-radius:99px;height:12px;overflow:hidden;}
.rrow__fill{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--brand),#3a9fb3);}
.rrow__val{font-size:.82rem;font-weight:700;color:var(--brand-dark);text-align:right;}
.rrow--low .rrow__fill{background:linear-gradient(90deg,#c98a2e,var(--gold));}

/* ---- ③ 価格ボックス ---- */
.pricebox{border:2px solid var(--accent);border-radius:14px;overflow:hidden;margin:0 0 20px;background:#fff;}
.pricebox__head{background:var(--accent);color:#fff;font-weight:800;text-align:center;padding:9px;font-size:.98rem;}
.pricebox__body{padding:18px;text-align:center;}
.pricebox__body p{margin:0;}
.pricebox__old{color:var(--muted);font-size:.9rem;}
.pricebox__old s{color:#98a4ad;}
.pricebox__now{font-size:1.15rem;font-weight:700;margin:4px 0 2px!important;}
.pricebox__now b{font-size:2.2rem;color:var(--accent-dark);}
.pricebox__meta{font-size:.8rem;color:var(--muted);margin:6px 0 0!important;}
.guarantee{display:inline-flex;align-items:center;gap:6px;background:var(--brand-light);color:var(--brand-dark);font-weight:700;font-size:.84rem;border-radius:8px;padding:7px 12px;margin:12px 0 4px;}
.guarantee svg{width:16px;height:16px;flex:0 0 auto;}

/* CTAサブテキスト（既存 .cta a を流用） */
.cta__sub{display:block;font-size:.76rem;font-weight:600;opacity:.95;margin-top:3px;}

/* ---- ④ メリット/デメリット ---- */
.pc{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 24px;}
.pc__col{border-radius:12px;padding:14px 16px;border:1px solid var(--border);}
.pc__col--good{background:#f1faf4;border-color:#bfe6cf;}
.pc__col--bad{background:#fdf3f3;border-color:#f2cccc;}
.pc__ttl{font-weight:800;margin:0 0 8px!important;font-size:.95rem;}
.pc__col--good .pc__ttl{color:var(--good);}
.pc__col--bad .pc__ttl{color:var(--bad);}
.pc ul{margin:0;padding:0;list-style:none;font-size:.86rem;}
.pc li{position:relative;padding-left:22px;margin:7px 0;line-height:1.6;}
.pc__col--good li::before{content:"○";position:absolute;left:0;color:var(--good);font-weight:800;}
.pc__col--bad li::before{content:"×";position:absolute;left:0;color:var(--bad);font-weight:800;}

/* ---- ⑤ 口コミ傾向カード ---- */
.voices{display:grid;gap:12px;margin:0 0 18px;}
.voice{border:1px solid var(--border);border-radius:12px;padding:13px 15px;background:#fff;}
.voice__top{display:flex;align-items:center;gap:10px;margin-bottom:6px;}
.voice__who{font-size:.8rem;font-weight:700;color:var(--brand-dark);background:var(--brand-light);border-radius:99px;padding:2px 10px;}
.voice__txt{font-size:.9rem;margin:0!important;}
.voice--neg .voice__who{background:#fdeeee;color:var(--bad);}
.voices__note{font-size:.75rem!important;color:var(--muted);margin:2px 0 0!important;}

/* ---- ⑥ 比較表の視覚強化 ---- */
.post-content table.cmp td,.post-content table.cmp th{text-align:center;}
.post-content table.cmp td:first-child,.post-content table.cmp th:first-child{text-align:left;}
.post-content table.cmp tr.is-own td{background:var(--note-bg);font-weight:700;}
.post-content table.cmp tr.is-own td:first-child{border-left:4px solid var(--accent);}
.mk-o{color:var(--good);font-weight:800;}
.mk-t{color:var(--gold);font-weight:800;}
.mk-x{color:var(--bad);font-weight:800;}

@media (max-width:560px){
  .pc{grid-template-columns:1fr;}
  .verdict__score{min-width:120px;}
  .verdict__num{font-size:2.6rem;}
  .rrow{grid-template-columns:7em 1fr 2.2em;}
}

/* ---- アイキャッチ（ヒーロー画像） ---- */
.eyecatch{margin:0 0 22px;}
.eyecatch img{width:100%;height:auto;border-radius:14px;display:block;box-shadow:0 3px 12px rgba(15,77,90,.08);}

/* ---- テキスト強調ユーティリティ（CRO用・本文中で使い回し） ----
   .marker    … 蛍光ペン風の黄色マーカー（下地38%）＋太字
   .hl-bg     … 黄色ベタ背景＋太字
   .tx-red    … 赤字＋太字（注意・重要ポイント）
   .tx-red.marker … 赤字×黄マーカー（最強調・多用しない）
   ※ <strong> は通常の太字。効果・増大の断定は強調しないこと。 */
.marker{background:linear-gradient(transparent 62%, #fff29c 62%);font-weight:700;padding:0 .06em;}
.hl-bg{background:#fff29c;font-weight:700;padding:.05em .3em;border-radius:3px;}
.tx-red{color:#d64545;font-weight:700;}
.tx-red.marker,.marker.tx-red{color:#c0341d;background:linear-gradient(transparent 62%, #ffe08a 62%);}
.post-content strong{color:var(--brand-dark);}

/* ---- 本文セクション画像（汎用・今後の画像で使い回し） ---- */
.post-img{margin:18px 0 22px;}
.post-img img{width:100%;height:auto;border-radius:12px;display:block;}
.post-img figcaption{font-size:.8rem;color:var(--muted);text-align:center;margin-top:8px;}

/* ---- 軽量版 商品ミニ評価カード（support記事用） ---- */
.pcard{display:flex;align-items:center;gap:14px;background:var(--brand-light);border:1px solid #cfe0e4;border-left:5px solid var(--brand);border-radius:12px;padding:13px 16px;margin:26px 0 14px;}
.pcard__score{flex:0 0 auto;text-align:center;line-height:1.05;}
.pcard__num{display:block;font-size:1.9rem;font-weight:800;color:var(--brand-dark);}
.pcard__body{flex:1 1 auto;}
.pcard__ttl{font-weight:800;font-size:.9rem;margin:0 0 3px!important;color:var(--brand-dark);}
.pcard__txt{font-size:.84rem;margin:0!important;color:var(--text);line-height:1.7;}
