/* コラム記事 /column/hp-cost-comparison/ 専用。
   **正本は suimil_HP/hikaku/index.html の <style> ブロックそのまま。**
   片方だけ直すと見た目が食い違う。テーマの front.css とは無関係（このページでしか読まない）。 */
  :root{
    --text:#333;
    --text-sub:#666;
    --accent:#0040CF;
    --accent-bg:#EEF3FD;
    --cta:#CE2415;
    --line:#D9DEE7;
    --gray-bg:#F5F6F8;
    --marker:#FFE94A;
    --pro:#1F8A4C;
    --con:#E07B00;
  }
  *,*::before,*::after{box-sizing:border-box}
  html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
  body{
    margin:0;background:#fff;color:var(--text);
    font-family:"Noto Sans JP",system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    font-size:16px;line-height:1.8;letter-spacing:.02em;
    overflow-wrap:anywhere;
  }
  a{color:var(--accent)}
  img{max-width:100%}
  p{margin:0 0 1.2em}
  ul,ol{margin:0 0 1.2em;padding:0}

  /* ---------- 調査待ちの空欄 ---------- */
  mark.todo{
    background:var(--marker);
    color:#333;
    font-weight:700;
    padding:.05em .25em;
    border-radius:2px;
    box-decoration-break:clone;-webkit-box-decoration-break:clone;
    box-shadow:0 0 0 1px #E6C800 inset;
  }

  /* ---------- 章の冒頭の結論文 ---------- */
  .lede{font-weight:700;color:#222;margin:0 0 20px;line-height:1.8}

  /* ---------- 表のキャプション（読み上げ用・視覚的には出さない） ---------- */
  table.cmp>caption{
    position:absolute;width:1px;height:1px;margin:-1px;padding:0;
    overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
  }

  /* ---------- パンくず ---------- */
  .breadcrumb{max-width:940px;margin:0 auto;padding:24px 20px 0;font-size:13px;color:var(--text-sub);line-height:1.6}
  .breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;margin:0}
  .breadcrumb li{display:flex;align-items:center}
  .breadcrumb li+li::before{content:"";width:6px;height:6px;border-top:1px solid #999;border-right:1px solid #999;transform:rotate(45deg);margin:0 10px 0 6px}
  .breadcrumb a{color:var(--text-sub)}
  @media (max-width:600px){.breadcrumb{padding:18px 16px 0;font-size:12px}}

  /* ---------- レイアウト ---------- */
  /* **1カラム。右の固定目次は置かない**（2026-09-12 オーナー「右にずっとあると横幅使えないから
     変な改行とか多くてみずらい」）。目次は記事の頭と、章と章のあいだに挟む。 */
  .layout{max-width:940px;margin:0 auto;padding:0 20px 64px}
  .article{min-width:0}
  @media (max-width:600px){.layout{padding:0 16px 48px}}

  /* ---------- 記事の頭 ---------- */
  .article h1{font-size:30px;line-height:1.5;margin:20px 0 14px;color:#222;font-weight:700}
  @media (max-width:600px){.article h1{font-size:23px}}
  /* ---------- アイキャッチ（画像は未着。届いたら img を有効にする） ---------- */
  .hero{position:relative;margin:22px 0 6px;border-radius:6px;overflow:hidden}
  .hero-media{position:relative;aspect-ratio:16/9;background:#E9ECF1;display:flex;align-items:center;justify-content:center}
  .hero-media img{width:100%;height:100%;object-fit:cover;display:block}
  @media (max-width:600px){
    .hero{margin:18px 0 4px}
  }

  .post-meta{display:flex;flex-wrap:wrap;gap:4px 20px;font-size:14px;color:var(--text-sub);margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid var(--line)}
  .post-meta span{display:inline-flex;align-items:center;gap:6px}
  .post-meta svg{width:15px;height:15px;flex:none}

  .about-box{background:var(--gray-bg);border:1px solid #C9CFD9;border-radius:6px;padding:20px 22px 16px;margin:0 0 32px;position:relative}
  .about-box .box-label{display:inline-block;color:#555;font-size:14px;font-weight:700;line-height:1;margin-bottom:12px}
  .about-box p{margin:0 0 .6em}

  /* ---------- 目次 ---------- */
  .toc{border:1px solid var(--line);border-radius:6px;background:#FAFBFC;padding:18px 24px 14px;margin:32px 0}
  .toc-title{font-weight:700;font-size:17px;margin:0 0 8px;display:flex;align-items:center;gap:8px}
  .toc-title::before{content:"";width:16px;height:12px;border-top:2px solid var(--accent);border-bottom:2px solid var(--accent);background:linear-gradient(var(--accent),var(--accent)) center/100% 2px no-repeat}
  /* 1カラムにしたぶん横が空くので、広い画面では2列に組む */
  .toc ol{list-style:none;margin:0}
  @media (min-width:768px){.toc ol{columns:2;column-gap:32px}}
  .toc li{border-bottom:1px dashed var(--line);break-inside:avoid}
  .toc li:last-child{border-bottom:0}
  @media (min-width:768px){.toc li:nth-child(4){border-bottom:0}}
  .toc a{display:block;padding:8px 0 8px 18px;position:relative;color:var(--text);text-decoration:none;font-size:15px;line-height:1.6}
  .toc a::before{content:"";position:absolute;left:2px;top:1.05em;width:6px;height:6px;border-top:2px solid var(--accent);border-right:2px solid var(--accent);transform:rotate(45deg)}
  .toc a:hover{color:var(--accent);text-decoration:underline}

  /* ---------- 結論ボックス ---------- */
  .conclusion{background:var(--accent-bg);border:2px solid var(--accent);border-radius:6px;margin:32px 0;overflow:hidden}
  .conclusion-title{background:var(--accent);color:#fff;font-weight:700;font-size:17px;padding:10px 20px;margin:0}
  .conclusion ul{list-style:none;margin:0;padding:16px 20px 6px}
  .conclusion li{position:relative;padding-left:32px;margin-bottom:12px}
  .conclusion li svg{position:absolute;left:0;top:.2em;width:22px;height:22px}

  /* ---------- 見出し ---------- */
  .article h2{
    font-size:23px;line-height:1.5;color:#222;font-weight:700;
    background:var(--accent-bg);border-left:6px solid var(--accent);
    padding:12px 16px;margin:64px 0 24px;scroll-margin-top:16px;
  }
  .article h3{
    font-size:19px;line-height:1.5;color:#222;font-weight:700;
    border-bottom:2px solid var(--line);position:relative;
    padding:0 0 8px;margin:40px 0 16px;
  }
  .article h3::after{content:"";position:absolute;left:0;bottom:-2px;width:72px;height:2px;background:var(--accent)}
  @media (max-width:600px){
    .article h2{font-size:20px;padding:10px 12px;margin-top:52px;border-left-width:5px}
    .article h3{font-size:17px}
  }

  /* ---------- イラスト（ソコスト・単色SVGを青に変換して使用） ----------
     役割ごとに大きさを固定する：カラム用 .s-fig ／ カード用 .m-fig ／
     表の列見出し用 .th-method ／ 見出し用 .h3-ill ／ まとめ用 .summary-fig */
  .s-fig{
    margin:0;background:var(--accent-bg);border-radius:6px;
    display:flex;align-items:center;justify-content:center;padding:20px;
  }
  .s-fig img{width:auto;height:auto;max-height:180px;max-width:100%;display:block}
  .s-fig.lg img{max-height:240px}
  /* 5章は右カラムが縦に長いので、イラストは中央ではなく上にそろえる（1カラム化で下に浮いたため） */
  .s-fig.lg{align-self:start;position:sticky;top:20px}

  /* 導入：リード文の横 */
  .intro-split{display:grid;grid-template-columns:1fr;gap:20px;align-items:center;margin:0 0 24px}
  .intro-split .s-body>:last-child{margin-bottom:0}
  .intro-split .s-fig img{max-height:160px}
  @media (min-width:768px){
    .intro-split{grid-template-columns:minmax(0,1fr) 200px;gap:32px}
  }

  /* 本文とイラストの2カラム（.rev はイラストを左に） */
  .split{display:grid;grid-template-columns:1fr;gap:20px;align-items:center;margin:0 0 28px}
  .split .s-body{min-width:0}
  .split .s-body>:last-child{margin-bottom:0}
  @media (min-width:768px){
    .split{grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:32px}
    .split.rev{grid-template-columns:minmax(0,3fr) minmax(0,7fr)}
  }

  /* 1章：4つの方法のカード */
  .method-cards{display:grid;grid-template-columns:1fr;gap:20px;margin:24px 0 0}
  /* 4列は狭い幅だと文字が潰れるので、タブレット幅では2×2、PCで4列にする */
  @media (min-width:700px){.method-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
  @media (min-width:1024px){.method-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}}
  .method-card{border:1px solid var(--line);border-radius:6px;background:#fff;padding:20px;display:flex;flex-direction:column}
  .m-fig{margin:0 0 18px;height:140px;background:var(--accent-bg);border-radius:6px;display:flex;align-items:center;justify-content:center}
  .m-fig img{height:104px;width:auto;max-width:100%;display:block}
  .article .method-card h3{font-size:16px;margin:0 0 12px;padding:0 0 8px}
  /* 横並びのときは見出しの高さをそろえ、説明文の開始位置を合わせる */
  @media (min-width:700px){.article .method-card h3{min-height:72px}}
  @media (min-width:1024px){.method-card{padding:16px}.article .method-card h3{font-size:15px}}
  .method-card p{margin:0;font-size:15px}

  /* 2章：比較表の列見出しのイラスト */
  .th-method{display:flex;align-items:center;gap:8px;line-height:1.5}
  .th-method img{width:36px;height:36px;object-fit:contain;flex:none;background:#fff;border-radius:4px;padding:3px}
  @media (max-width:600px){
    .th-method{flex-direction:column;align-items:flex-start;gap:6px}
  }

  /* 4章：h3 の中のイラスト */
  .article h3.h3-ill{display:flex;align-items:center;gap:10px}
  h3.h3-ill img{width:30px;height:30px;object-fit:contain;flex:none}

  /* まとめ：ボックスの中（縦長イラスト） */
  .summary-inner{display:grid;grid-template-columns:1fr;gap:16px;align-items:center}
  .summary-fig{margin:0;display:flex;align-items:center;justify-content:center}
  .summary-fig img{height:160px;width:auto}
  @media (min-width:600px){
    .summary-inner{grid-template-columns:minmax(0,1fr) 130px;gap:28px}
    .summary-fig img{height:210px}
  }

  @media (max-width:767px){
    .s-fig img{max-height:150px}
    .intro-split .s-fig img{max-height:140px}
    .m-fig{height:124px}
    .m-fig img{height:92px}
  }

  /* ---------- 箇条書き ---------- */
  .article ul.dot{list-style:none}
  .article ul.dot li{position:relative;padding-left:1.2em;margin-bottom:.5em}
  .article ul.dot li::before{content:"";position:absolute;left:.2em;top:.72em;width:7px;height:7px;border-radius:50%;background:var(--accent)}

  /* ---------- 表 ---------- */
  .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);margin:20px 0 12px;background:#fff}
  .scroll-hint{display:none;font-size:12px;color:var(--text-sub);margin:16px 0 -12px;line-height:1.5}
  .scroll-hint::before{content:"";display:inline-block;width:6px;height:6px;border-top:1px solid #888;border-right:1px solid #888;transform:rotate(45deg);margin:0 8px 1px 2px}
  table.cmp{border-collapse:separate;border-spacing:0;width:100%;font-size:15px;line-height:1.65}
  .cmp th,.cmp td{padding:12px 14px;text-align:left;vertical-align:top;background:#fff;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .cmp tr>*:last-child{border-right:0}
  .cmp tbody tr:last-child>*{border-bottom:0}
  .cmp thead th{background:var(--accent);color:#fff;font-weight:700;vertical-align:middle;border-right-color:#3366D9;border-bottom:0}
  .cmp thead th:first-child{position:sticky;left:0;z-index:3}
  .cmp tbody th{position:sticky;left:0;z-index:2;background:#F1F3F7;font-weight:700;color:#222}
  .cmp tbody th::after,.cmp thead th:first-child::after{content:"";position:absolute;top:0;right:-1px;bottom:0;width:1px;background:var(--line)}
  .cmp thead th:first-child::after{background:#3366D9}
  .cmp td.num,.cmp th.num{text-align:right;white-space:nowrap}
  .cmp-main{min-width:868px}
  .cmp-main tbody th{width:7em;min-width:6.5em}
  .cmp-main thead th:not(:first-child){width:calc((100% - 7em)/4)}
  .cmp-main th,.cmp-main td{padding:12px 12px}
  .cmp-total{table-layout:fixed;min-width:600px}
  .cmp-total col.c-label{width:16em}
  .cmp-plan{table-layout:fixed;min-width:600px}
  .cmp-plan col.c-label{width:14em}
  .cmp-price{min-width:520px}
  .cmp-price tbody th{min-width:7em}
  @media (max-width:767px){
    .scroll-hint{display:block}
    table.cmp{font-size:14px}
    .cmp th,.cmp td{padding:10px 12px}
    .cmp-main tbody th{width:6.5em;min-width:6.5em}
    .cmp-total{min-width:520px}
    .cmp-total col.c-label{width:10.5em}
    .cmp-plan{min-width:580px}
    .cmp-plan col.c-label{width:10em}
    .cmp-price tbody th{min-width:6em}
  }

  /* ---------- 表の出典 ---------- */
  /* 出典は記事の末尾に1か所だけ。最初は閉じておく（2026-09-12 オーナー「出典が多すぎるから
     一番下に目立たなくまとめて」）。本文中の（※1）などの番号はそのまま残してある。 */
  .sources-fold{margin:40px 0 0;border-top:1px solid var(--line);padding:14px 0 0;font-size:13px;line-height:1.75;color:#666}
  .sources-fold summary{cursor:pointer;color:#666;font-size:13px;list-style:none;display:flex;align-items:center;gap:6px}
  .sources-fold summary::-webkit-details-marker{display:none}
  .sources-fold summary::before{content:"";width:6px;height:6px;border-top:1px solid #999;border-right:1px solid #999;transform:rotate(45deg);transition:transform .15s;flex:none}
  .sources-fold[open] summary::before{transform:rotate(135deg)}
  .sources-fold summary:hover{color:#333}
  .sources-fold ul{list-style:none;margin:10px 0 0;padding:0}
  .sources-fold li{margin:0 0 .7em}
  .sources-fold a{color:#666;text-decoration:underline;word-break:break-all}
  .sources-fold a:hover{color:var(--accent)}

  /* 表の前提。**畳んで置く**（2026-09-12 オーナー「注意書きが多すぎてみづらい」）。
     中身は削らない。表より目立たせないことだけが目的。 */
  .notes-fold{margin:4px 0 8px;font-size:13px;line-height:1.7;color:#666}
  .notes-fold summary{cursor:pointer;color:#666;list-style:none;display:flex;align-items:center;gap:6px}
  .notes-fold summary::-webkit-details-marker{display:none}
  .notes-fold summary::before{content:"";width:6px;height:6px;border-top:1px solid #999;border-right:1px solid #999;transform:rotate(45deg);transition:transform .15s;flex:none}
  .notes-fold[open] summary::before{transform:rotate(135deg)}
  .notes-fold summary:hover{color:#333}
  .notes-fold ul{list-style:none;margin:10px 0 0;padding:0}
  .notes-fold li{margin:0 0 .7em}
  .notes-fold li strong{color:#444}
  .notes-fold a{color:#666;text-decoration:underline}

  /* ---------- 良い点／注意点 ---------- */
  .procon{display:grid;grid-template-columns:1fr;gap:16px;margin:0 0 24px}
  @media (min-width:768px){.procon{grid-template-columns:1fr 1fr}}
  .pc-card{border:1px solid var(--line);border-radius:6px;padding:16px 18px 6px;background:#fff}
  .pc-card.pro{border-top:4px solid var(--pro)}
  .pc-card.con{border-top:4px solid var(--con)}
  .pc-title{display:flex;align-items:center;gap:8px;font-weight:700;font-size:16px;margin:0 0 10px}
  .pc-title svg{width:20px;height:20px;flex:none}
  .pro .pc-title{color:var(--pro)}
  .con .pc-title{color:#B86200}
  .pc-card ul{list-style:none;margin:0 0 10px}
  .pc-card li{position:relative;padding-left:1.1em;margin-bottom:.85em;font-size:15px;line-height:1.7}
  /* 1項目＝«太字の要点»＋«小さい補足»。長い文を積むと読み飛ばされるため（2026-09-12 オーナー
     「メリットデメリットが文字多くてわかりずらい」） */
  .pc-card li strong{display:block;font-weight:700}
  .pc-card li span{display:block;font-size:13px;color:#666;line-height:1.6;margin-top:1px}
  .pc-card li::before{content:"";position:absolute;left:.1em;top:.72em;width:6px;height:6px;border-radius:50%}
  .pro li::before{background:var(--pro)}
  .con li::before{background:var(--con)}

  /* ---------- チェックリスト ---------- */
  .check-card{border:1px solid var(--line);border-radius:6px;margin:0 0 16px;overflow:hidden}
  .check-card-title{background:var(--gray-bg);border-bottom:1px solid var(--line);font-weight:700;padding:10px 18px;margin:0}
  .checklist{list-style:none;margin:0;padding:14px 18px 6px}
  .checklist li{position:relative;padding-left:30px;margin-bottom:10px}
  .checklist li::before{content:"";position:absolute;left:0;top:.3em;width:18px;height:18px;border:2px solid var(--accent);border-radius:3px;background:#fff}
  .checklist li::after{content:"";position:absolute;left:6px;top:calc(.3em + 3px);width:6px;height:10px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg)}

  /* ---------- 番号付きリスト ---------- */
  .steps{list-style:none;counter-reset:step;margin:0 0 1.2em;border:1px solid var(--line);border-radius:6px;padding:8px 20px}
  .steps li{counter-increment:step;position:relative;padding:12px 0 12px 42px;border-bottom:1px dashed var(--line)}
  .steps li:last-child{border-bottom:0}
  .steps li::before{content:counter(step);position:absolute;left:0;top:12px;width:28px;height:28px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;font-size:14px;line-height:28px;text-align:center}

  /* ---------- 記事末尾のPRブロック ---------- */
  .pr-block{
    border:1px solid var(--line);border-radius:6px;background:#fff;
    padding:22px 24px 18px;margin:64px 0 0;font-size:15px;
  }
  .pr-block p{margin:0 0 1em}
  .pr-note{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:14px;color:#555;margin:0 0 16px}
  .pr-label{display:inline-block;border:1px solid #888;color:#555;font-size:11px;font-weight:700;line-height:1;padding:4px 7px;border-radius:2px;letter-spacing:.08em}
  .pr-caption{font-weight:700;margin:24px 0 0}
  .pr-block .cmp thead th{background:#6C737F;border-right-color:#8B919B;color:#fff}
  .pr-block .cmp thead th:first-child::after{background:#8B919B}
  .pr-block ul.dot li{font-size:15px}
  @media (max-width:600px){.pr-block{padding:18px 16px 14px;margin-top:52px}}

  .cta-box{background:var(--gray-bg);border-radius:6px;padding:24px 20px 18px;margin:28px 0 0;text-align:center}
  .cta-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
  .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:240px;padding:14px 24px;border-radius:4px;font-weight:700;font-size:16px;text-decoration:none;line-height:1.4;border:2px solid var(--cta)}
  .btn::after{content:"";width:7px;height:7px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}
  .btn-fill{background:var(--cta);color:#fff}
  .btn-fill:hover{background:#B11E11;border-color:#B11E11}
  .btn-line{background:#fff;color:var(--cta)}
  .btn-line:hover{background:#FDF1F0}
  .cta-note{font-size:14px;color:#555;margin:14px 0 0}
  @media (max-width:600px){.btn{width:100%;min-width:0}}

  /* ---------- FAQ ---------- */
  .faq details{border:1px solid var(--line);border-radius:6px;margin:0 0 12px;background:#fff}
  .faq summary{list-style:none;cursor:pointer;position:relative;padding:14px 48px 14px 52px;font-weight:700;line-height:1.6}
  .faq summary::-webkit-details-marker{display:none}
  .faq summary::after{content:"";position:absolute;right:20px;top:50%;width:9px;height:9px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
  .faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
  .faq details[open] summary{border-bottom:1px dashed var(--line)}
  .qa-badge{position:absolute;left:14px;top:13px;width:28px;height:28px;border-radius:50%;font-size:15px;font-weight:700;line-height:28px;text-align:center}
  .qa-badge.q{background:var(--accent);color:#fff}
  .qa-badge.a{background:#fff;color:var(--accent);border:2px solid var(--accent);line-height:24px}
  .faq .answer{position:relative;padding:14px 20px 4px 52px}
  .faq .answer p{margin:0 0 .8em}

  /* ---------- まとめ ---------- */
  .summary-box{border:2px solid var(--accent);border-radius:6px;padding:20px 22px 8px;background:#fff}
  .summary-box ul{list-style:none;margin:0 0 1em}
  .summary-box li{position:relative;padding-left:30px;margin-bottom:10px}
  .summary-box li svg{position:absolute;left:0;top:.25em;width:20px;height:20px}

  /* ---------- 章と章のあいだに挟む目次 ---------- */
  .toc-inline{margin:44px 0 40px;padding:12px 16px;background:var(--gray-bg);border-radius:6px;
    display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
  .toc-inline .ti-label{font-size:12px;font-weight:700;color:var(--text-sub);letter-spacing:.04em;flex:none}
  .toc-inline a,.toc-inline span.ti-now{font-size:13px;line-height:1.4;padding:5px 10px;border-radius:4px;
    background:#fff;border:1px solid var(--line);color:var(--text);text-decoration:none}
  .toc-inline a:hover{border-color:var(--accent);color:var(--accent)}
  /* いま読んでいる章は、押せないことが分かるようにする */
  .toc-inline span.ti-now{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700}
  @media (max-width:600px){
    .toc-inline{margin:32px 0 28px;padding:10px 12px;gap:6px 8px}
    .toc-inline a,.toc-inline span.ti-now{font-size:12px;padding:4px 8px}
  }

  /* ---------- フッター ---------- */
  .site-footer{background:#2B2F36;color:#D5D9E0;font-size:14px;line-height:1.8}
  .site-footer .inner{max-width:940px;margin:0 auto;padding:36px 20px 20px}
  .footer-logo{font-size:22px;font-weight:700;color:#fff;letter-spacing:.04em;margin:0 0 10px;line-height:1}
  .site-footer address{font-style:normal}
  .site-footer address span{display:inline-block;margin-right:.2em}
  .site-footer a{color:#fff}
  .copyright{border-top:1px solid #464B55;margin:24px 0 0;padding-top:14px;font-size:12px;color:#A9AFB9}
