/* ============================================================
   6サイト共通の見た目。型は1つ、色だけサイトで変える。
   色は base.njk が site.json の theme を :root に流し込む。
   余白 4/8/12/16/24/32/48/64、文字 12/13/14/16/18/20/24/30/36/44 だけを使う。
   本文のコントラストは WCAG 2.2 AA（4.5:1）以上。
   ============================================================ */
:root{
  --bg:#fff; --fg:#161a1e; --muted:#59636e; --line:#e2e6ea; --soft:#f5f7f9;
  /* サイトごとに base.njk が上書きする。既定は産廃ナビの緑 */
  --brand:#14603f; --brand-d:#0d4a30; --brand-lt:#7fc9a6; --brand-l:#eaf4ef;
  --cta:#d2601a; --cta-d:#b14e12;
  --ad:#8a5a00; --adbg:#fff8e6; --yu:#0a6b3d; --yubg:#eaf6ef;
  --band:#f1f5f9; --r:10px; --r-lg:16px;
  --sh:0 1px 2px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.1);
  --sh-lg:0 4px 6px -2px rgba(16,24,40,.05),0 12px 16px -4px rgba(16,24,40,.1);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#101316; --fg:#e9edf1; --muted:#a3adb8; --line:#272e35; --soft:#171b1f;
    --brand:var(--brand-lt); --brand-d:var(--brand-lt); --brand-l:#1a2320; --band:#151a1e;
    --ad:#e0b25c; --adbg:#2a2113; --yu:#6fd39b; --yubg:#13271d;
    --sh:0 1px 3px rgba(0,0,0,.5); --sh-lg:0 12px 20px -6px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"]{
  --bg:#101316; --fg:#e9edf1; --muted:#a3adb8; --line:#272e35; --soft:#171b1f;
  --brand:var(--brand-lt); --brand-d:var(--brand-lt); --brand-l:#1a2320; --band:#151a1e;
  --ad:#e0b25c; --adbg:#2a2113; --yu:#6fd39b; --yubg:#13271d;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif;
  line-height:1.8;font-size:16px;-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto;display:block}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;background:var(--bg);padding:8px;z-index:30}
main{max-width:1000px;margin:0 auto;padding:0 16px}
main.wide{max-width:none;padding:0}

/* ---------- ヘッダー ---------- */
.hd{border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:0;z-index:20}
.hd-in{max-width:1000px;margin:0 auto;padding:12px 16px;display:flex;flex-wrap:wrap;
  gap:8px 24px;align-items:center;justify-content:space-between}
.brand{margin:0}
.brand a{color:var(--fg);text-decoration:none;display:flex;align-items:center;gap:10px}
.brand-mk{flex:none;width:38px;height:38px;border-radius:9px;display:grid;place-items:center;
  box-shadow:var(--sh)}
.brand-mk svg{width:23px;height:23px;color:#fff}
.brand-tx{display:flex;flex-direction:column;line-height:1.25}
.brand-tx b{font-size:18px;font-weight:800;letter-spacing:.01em}
.brand-tx i{font-style:normal;font-size:11.5px;color:var(--muted);font-weight:600;letter-spacing:.02em}

/* ---------- ヘッダー上の一本帯（PR表記と実数） ---------- */
.hd-bar{background:var(--brand-d);color:#fff}
.hd-bar-in{max-width:1000px;margin:0 auto;padding:6px 16px;display:flex;flex-wrap:wrap;
  gap:4px 16px;align-items:center;justify-content:space-between;font-size:12px}
.hd-note{opacity:.88}
.hd-stat b{font-weight:800;font-size:14px;margin-right:4px}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .hd-bar{background:#1b2227;color:var(--fg)}}
:root[data-theme="dark"] .hd-bar{background:#1b2227;color:var(--fg)}
.hd nav{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:14px}
.hd nav a{color:var(--fg);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;font-weight:600}
.hd nav a:hover{color:var(--brand);border-bottom-color:var(--brand)}

/* ---------- ヒーロー（屋根サイトの実測値に合わせる 2026-11-06）
   写真1枚を全幅の背景に敷き、写真の左側の空き（壁・空）に文字と検索カードを載せる。
   写真を箱に入れて右に置くと、背景と写真が別物に見える。 ---------- */
.hero{position:relative;margin:0;background:#eef3f8 var(--hero-img,none) right center/cover no-repeat;
  border-bottom:1px solid var(--line)}
.hero::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.72) 36%,rgba(255,255,255,0) 60%)}
.hero-in{position:relative;max-width:1080px;margin:0 auto;padding:48px 20px 56px;min-height:619px;
  display:flex;align-items:center}
.hero-l{width:100%;max-width:520px}
.hero-badge{display:inline-flex;align-items:center;gap:6px;margin:0 0 16px;
  background:var(--cta);color:#fff;font-size:14px;font-weight:700;padding:7px 18px;border-radius:999px}
.hero-badge b{font-size:19px;font-weight:900}
.hero h1{font-size:44px;line-height:1.25;margin:0 0 14px;letter-spacing:.01em;font-weight:900;color:var(--navy)}
.hero h1 em{font-style:normal;color:var(--cta)}
.hero-lead{font-size:18px;font-weight:500;color:#27313f;margin:0 0 24px;line-height:1.6}
.hero-chk{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px;
  font-size:13.5px;font-weight:700;color:var(--navy)}
.hero-chk li{display:flex;align-items:center;gap:6px}
.hero-chk svg{width:16px;height:16px;color:var(--cta);flex:none}

/* 検索ボックス（ヒーローの中の白いカード。屋根サイト：幅480・角12・タブ54・欄59・ボタン62） */
.find{max-width:480px;background:#fff;border-radius:12px;box-shadow:0 6px 22px rgba(18,40,76,.12);overflow:hidden}
.find-tabs{display:flex;background:#f6f8fb}
.find-tabs button{flex:1;font:inherit;font-size:15px;font-weight:700;height:54px;padding:0 8px;
  border:0;border-bottom:1px solid rgba(199,199,199,.5);background:transparent;color:#5b6573;cursor:pointer}
.find-tabs button[aria-selected="true"]{background:#fff;color:var(--cta);border-bottom-color:transparent}
.find-body{padding:18px 18px 20px}
.find-body[hidden]{display:none}
.find-row{display:flex;flex-direction:column;gap:14px}
.find select,.find input[type="search"]{font:inherit;font-size:15px;height:59px;padding:0 16px;
  border:1px solid #d8dfe8;border-radius:8px;background:#fff;color:#27313f;width:100%}
.find .btn{width:100%;justify-content:center;height:62px;font-size:18px;font-weight:900;border-radius:8px;
  background:var(--cta);box-shadow:none}
.find .btn:hover{background:var(--cta-d)}

/* ---------- 帯（セクションの背景を交互にする） ---------- */
.band{background:var(--band);padding:48px 0;margin:0}
.band-in,.plain-in{max-width:1080px;margin:0 auto;padding:0 16px}
.plain{padding:48px 0}
h2.sec-h{text-align:center;display:block;margin:0 0 8px;font-size:26px;font-weight:800;
  letter-spacing:-.01em;border-bottom:0;padding-bottom:0}
h2.sec-h::before{display:none}
.cta-band h2{display:block;border-bottom:0;padding-bottom:0}
.sec-lead{text-align:center;color:var(--muted);margin:0 0 28px;font-size:14.5px}

/* ---------- ボタン ---------- */
.btns{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px}
.btn{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:700;
  font-size:16px;padding:13px 24px;border-radius:999px;border:2px solid transparent;
  background:var(--cta);color:#fff;box-shadow:var(--sh);
  transition:transform .15s ease,background .15s ease}
.btn:hover{background:var(--cta-d);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn svg{width:18px;height:18px;flex:none}
.btn-sub{background:transparent;color:var(--brand);border-color:var(--brand);box-shadow:none}
.btn-sub:hover{background:var(--brand-l);color:var(--brand)}

/* ---------- 実測バッジ（事実だけを置く） ---------- */
.facts{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0;margin:0;
  font-size:13.5px;color:var(--muted)}
.facts li{display:flex;align-items:center;gap:6px}
.facts svg{width:16px;height:16px;color:var(--brand);flex:none}
.facts b{color:var(--fg);font-weight:700}

/* ---------- 統計タイル ---------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;
  list-style:none;padding:0;margin:24px 0}
.stats li{background:var(--soft);border:0;border-radius:var(--r);
  padding:16px 18px;font-size:13.5px;color:var(--muted);line-height:1.5}
.stats b{display:block;font-size:30px;line-height:1.2;color:var(--brand);font-weight:800;
  font-variant-numeric:tabular-nums;margin-bottom:2px}

/* ---------- カード（読む順番） ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;
  list-style:none;padding:0;margin:24px 0 8px}
.card{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--sh);overflow:hidden;display:flex;flex-direction:column;
  transition:transform .15s ease,box-shadow .15s ease}
.card:hover{transform:translateY(-2px);box-shadow:var(--sh-lg)}
.card-top{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-d) 100%);
  padding:16px 20px;display:flex;align-items:center;gap:10px}
.card-top svg{width:26px;height:26px;color:#fff;flex:none}
.card-no{color:#fff;font-size:12px;font-weight:800;letter-spacing:.14em;opacity:.9}
.card-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-body h3{margin:0;font-size:17px;line-height:1.5;color:var(--fg)}
.card-body h3 a{color:var(--fg);text-decoration:none}
.card-body h3 a:hover{color:var(--brand);text-decoration:underline}
.card-body p{margin:0;font-size:14px;color:var(--muted);flex:1}
.card-go{font-size:14px;font-weight:700;color:var(--brand);text-decoration:none}
.card-go:hover{text-decoration:underline}

/* ---------- このサイトが出せるもの ---------- */
.feats{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;
  list-style:none;padding:0;margin:24px 0}
.feats li{background:transparent;border:0;border-top:3px solid var(--brand-l);
  padding:14px 0 0;display:flex;gap:12px;align-items:flex-start;font-size:14.5px;line-height:1.7}
.feats svg{width:22px;height:22px;color:var(--brand);flex:none;margin-top:3px}
.feats b{display:block;font-size:15px;margin-bottom:2px}

/* ---------- 本文 ---------- */
a{color:var(--brand)}
h1{font-size:30px;line-height:1.45;margin:0 0 12px;letter-spacing:-.01em}
h2{font-size:22px;margin:44px 0 12px;padding-bottom:8px;border-bottom:2px solid var(--brand-l);
  display:flex;align-items:center;gap:8px}
h2::before{content:"";width:5px;height:20px;background:var(--brand);border-radius:3px;flex:none}
h3{font-size:17.5px;margin:28px 0 8px;color:var(--brand-d)}
.bc{font-size:13px;color:var(--muted);margin:0 0 16px}
.bc a{color:var(--muted)}
.lead{font-size:18px;line-height:1.85}
.note{background:var(--brand-l);border:0;border-left:4px solid var(--brand);
  border-radius:0 var(--r) var(--r) 0;padding:16px 20px;margin:28px 0;font-size:15px}
.note p{margin:0 0 8px}.note p:last-child{margin:0}
blockquote{margin:20px 0;padding:14px 18px;border-left:4px solid var(--line);
  background:var(--soft);border-radius:0 var(--r) var(--r) 0;font-size:15px}
blockquote p{margin:0 0 8px}blockquote p:last-child{margin:0}
.tbl,main table{width:100%;border-collapse:separate;border-spacing:0;font-size:14.5px;margin:24px 0;
  border:0;border-radius:0}
.tbl caption{text-align:left;color:var(--muted);font-size:13px;padding-bottom:8px;caption-side:top}
.tbl th,.tbl td,main table th,main table td{border-bottom:1px solid var(--line);padding:11px 14px;
  text-align:left;vertical-align:top}
.tbl tr:last-child td,main table tr:last-child td{border-bottom:0}
.tbl th,main table th{background:var(--soft);font-weight:700}
main table thead th{background:var(--brand-l);color:var(--brand-d)}
.tbl tr:hover td,main table tbody tr:hover td{background:var(--soft)}
.wrap{overflow-x:auto;border-radius:var(--r)}
.tag{display:inline-block;font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px;border:1px solid}
.tag-yu{color:var(--yu);background:var(--yubg);border-color:var(--yu)}
.tag-ad{color:var(--ad);background:var(--adbg);border-color:var(--ad)}
.ad{border:1px solid var(--ad);background:var(--adbg);border-radius:var(--r);padding:16px 18px;margin:24px 0}
.ad>.tag-ad{margin:0 0 8px}
.ad p{margin:0}
.cols,.cty{columns:210px;column-gap:28px;list-style:none;padding:0;font-size:14.5px}
.cols li,.cty li{break-inside:avoid;margin:0 0 6px}
.grp{margin:0 0 20px}
.grp h3{margin:18px 0 6px;font-size:15px;color:var(--muted)}
main ul,main ol{padding-left:1.4em}
main li{margin:0 0 6px}
hr{border:0;border-top:1px solid var(--line);margin:40px 0}

/* ---------- フッター ---------- */
.ft{border-top:1px solid var(--line);margin-top:56px;background:var(--soft)}
.ft-in{max-width:1000px;margin:0 auto;padding:28px 16px 48px;font-size:13.5px;color:var(--muted)}
.ft nav{display:flex;flex-wrap:wrap;gap:8px 20px;margin:16px 0}
.ft nav a{font-weight:600}
.ft .warn{background:var(--bg);border:1px solid var(--line);padding:12px 14px;border-radius:var(--r)}
.ft .src{margin:0 0 12px}
.ft .cp{margin:16px 0 0;display:flex;align-items:center;gap:8px;font-weight:700;color:var(--fg)}
.ft .cp svg{width:22px;height:22px}
.muted{color:var(--muted)}
.small{font-size:13px}

/* ---------- 携帯 ---------- */
@media (max-width:760px){
  .btn{width:100%;justify-content:center}
  .hd-in{padding:10px 16px}
  .brand{font-size:16px}
  .hd nav{font-size:13px;gap:2px 14px}
  h1{font-size:24px}
  h2{font-size:19px;margin-top:36px}
  .stats b{font-size:26px}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important}
}

/* ============================================================
   比較コンポーネント（手本＝近くの屋根修理Naviの業者カードの型。
   ただし順位・星評価・口コミは置かない）
   ============================================================ */

/* ---------- 早見表（横スクロールするマトリクス） ---------- */
.matrix{overflow-x:auto;margin:24px 0;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg)}
.matrix table{width:100%;min-width:680px;border-collapse:separate;border-spacing:0;font-size:14px;
  margin:0;border:0;border-radius:0}
.matrix th,.matrix td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:center;vertical-align:middle}
.matrix thead th{background:var(--brand);color:#fff;font-weight:700;font-size:13.5px;white-space:nowrap;border-bottom:0}
.matrix thead th:first-child{text-align:left}
.matrix tbody th{text-align:left;background:var(--soft);font-weight:700;white-space:nowrap;font-size:13.5px}
.matrix tbody tr:last-child th,.matrix tbody tr:last-child td{border-bottom:0}
.matrix tbody tr:hover td{background:var(--brand-l)}
.matrix .big{font-size:17px;font-weight:800;color:var(--brand);font-variant-numeric:tabular-nums;display:block}
.matrix .sub{font-size:12px;color:var(--muted);display:block}
.yes{color:#0a7a46;font-weight:800;font-size:17px}
.no{color:var(--muted);font-weight:700}
.matrix-note{font-size:12.5px;color:var(--muted);margin:-12px 0 24px}

/* ---------- 比較カード ---------- */
.shops{list-style:none;padding:0;margin:24px 0;display:flex;flex-direction:column;gap:20px}
.shop{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg);
  box-shadow:var(--sh);overflow:hidden}
.shop-hd{display:flex;gap:16px;align-items:center;padding:18px 20px;
  background:linear-gradient(135deg,var(--brand-l) 0%,var(--bg) 85%);border-bottom:1px solid var(--line)}
.shop-mark{width:52px;height:52px;border-radius:14px;flex:none;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--brand) 0%,var(--brand-d) 100%);color:#fff;
  font-weight:800;font-size:20px;letter-spacing:.02em;box-shadow:var(--sh)}
.shop-hd h3{margin:0;font-size:19px;color:var(--fg);line-height:1.4}
.shop-hd .co{margin:2px 0 0;font-size:13px;color:var(--muted)}
.shop-body{padding:18px 20px 20px}
.shop-catch{margin:0 0 16px;padding:12px 16px;background:var(--fg);color:var(--bg);
  border-radius:var(--r);font-weight:700;font-size:15.5px;line-height:1.6}
.shop-spec{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;margin:0 0 18px;border:0}
.shop-spec th,.shop-spec td{padding:9px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.shop-spec tr:last-child th,.shop-spec tr:last-child td{border-bottom:0}
.shop-spec th{background:transparent;color:var(--muted);font-weight:700;white-space:nowrap;width:9em;font-size:13px}
.shop-tags{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-wrap:wrap;gap:8px}
.shop-tags li{font-size:12.5px;font-weight:700;padding:4px 12px;border-radius:999px;
  background:var(--brand-l);color:var(--brand-d);border:1px solid var(--brand)}
.shop-tags li.off{background:var(--soft);color:var(--muted);border-color:var(--line);font-weight:600}
.shop-cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.shop-src{margin:14px 0 0;font-size:12.5px;color:var(--muted);
  border-top:1px dashed var(--line);padding-top:12px}
.shop-src b{color:var(--fg)}

/* ---------- 価格の目安バー ---------- */
.price-row{display:flex;align-items:center;gap:12px;margin:0 0 10px;font-size:14px}
.price-row .cat{width:7.5em;flex:none;font-weight:700;font-size:13.5px}
.price-row .bar{flex:1;height:10px;border-radius:999px;background:var(--soft);
  border:1px solid var(--line);position:relative;overflow:hidden;min-width:80px}
.price-row .bar i{position:absolute;top:0;bottom:0;border-radius:999px;
  background:linear-gradient(90deg,var(--brand) 0%,var(--brand-lt) 100%)}
.price-row .val{width:11em;flex:none;text-align:right;font-variant-numeric:tabular-nums;font-weight:700}

/* ---------- 迷ったときの選び方 ---------- */
.pick{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;
  list-style:none;padding:0;margin:24px 0}
.pick li{border:0;border-top:4px solid var(--brand);border-radius:0;padding:16px 0 0;background:transparent}
.pick b{display:block;font-size:16px;color:var(--brand-d);margin-bottom:8px}
.pick .ans{font-size:18px;font-weight:800;margin:10px 0 6px}
.pick p{margin:0;font-size:14px;color:var(--muted);line-height:1.7}

/* ---------- 手順 ---------- */
.steps{list-style:none;counter-reset:s;padding:0;margin:24px 0}
.steps li{counter-increment:s;position:relative;padding:0 0 18px 48px;border-left:2px solid var(--brand-l);
  margin-left:16px}
.steps li:last-child{border-left-color:transparent;padding-bottom:0}
.steps li::before{content:counter(s);position:absolute;left:-17px;top:-2px;width:32px;height:32px;
  border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;
  font-weight:800;font-size:15px}
.steps b{display:block;font-size:16px;margin-bottom:2px}
.steps p{margin:0;font-size:14.5px;color:var(--muted)}

@media (max-width:760px){
  .shop-hd{padding:14px 16px;gap:12px}
  .shop-hd h3{font-size:17px}
  .shop-body{padding:16px}
  .shop-spec th{width:7em;font-size:12.5px}
  .price-row{flex-wrap:wrap}
  .price-row .cat{width:100%}
  .price-row .val{width:auto;flex:1}
  .shop-cta .btn{width:100%}
}


/* ---------- 都道府県から探す ---------- */
.area{margin:48px 0}
.area-lead{margin:0 0 16px;color:var(--muted)}
.area-sub{font-size:15px;margin:32px 0 12px;color:var(--muted);font-weight:700;
  letter-spacing:.04em}
.area-find{background:var(--brand-l);border-radius:var(--r-lg);padding:20px 20px 22px;margin:0 0 8px}
.area-find label{display:block;font-weight:700;font-size:14px;margin:0 0 8px;color:var(--brand-d)}
.area-find-row{display:flex;flex-wrap:wrap;gap:12px}
.area-find select{flex:1 1 260px;min-width:0;font:inherit;font-size:16px;padding:12px 14px;
  border:1px solid var(--line);border-radius:var(--r);background:var(--bg);color:var(--fg)}
.area-find .btn{flex:none}

.pops{list-style:none;margin:0;padding:0;display:grid;gap:12px;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.pops a{display:block;text-decoration:none;color:var(--fg);background:var(--bg);
  border:1px solid var(--line);border-radius:var(--r-lg);padding:14px 16px 12px;
  box-shadow:var(--sh);transition:transform .12s,box-shadow .12s}
.pops a:hover{transform:translateY(-2px);box-shadow:var(--sh-lg)}
.pop-n{font-size:26px;font-weight:800;color:var(--brand);line-height:1.1}
.pop-u{font-size:11.5px;color:var(--muted);margin-left:4px}
.pops b{display:block;font-size:16px;margin:2px 0 6px}
.pop-go{font-size:13px;font-weight:700;color:var(--brand)}

.prefs{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.prefs-h{margin:0 0 8px;font-size:13px;font-weight:800;color:var(--muted);letter-spacing:.06em}
.prefs ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.prefs a{display:inline-flex;align-items:baseline;gap:5px;text-decoration:none;
  color:var(--fg);background:var(--soft);border:1px solid var(--line);
  border-radius:999px;padding:7px 13px;font-size:14px;font-weight:700;
  transition:background .12s,border-color .12s,color .12s}
.prefs a:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.prefs a i{font-style:normal;font-size:11.5px;font-weight:600;color:var(--muted)}
.prefs a:hover i{color:#fff;opacity:.85}

/* ---------- 地方の中で比べる表 ---------- */
table.rank td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
table.rank td.bar{width:42%;padding-right:0}
table.rank td.bar i{display:block;height:10px;border-radius:999px;background:var(--brand-lt);
  min-width:3px}
table.rank tr.me{background:var(--brand-l)}
table.rank tr.me td.bar i{background:var(--brand)}
.here{display:inline-block;margin-left:8px;font-size:11px;font-weight:700;color:#fff;
  background:var(--brand);border-radius:999px;padding:2px 8px;vertical-align:2px}

/* ---------- フッターの地方別リンク ---------- */
.ft-area{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  margin:0 0 24px;padding:0 0 24px;border-bottom:1px solid var(--line)}
.ft-area p{margin:0 0 6px;font-weight:800;color:var(--fg);font-size:12.5px;letter-spacing:.06em}
.ft-area ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 12px}
.ft-area a{font-size:13px}

/* ============================================================
   業者カード（屋根サイトの型をそのまま写す）
   ヘッダ（順位＋店名＋肩書）／写真／キャッチ／スペック表／タグ／ボタン
   ============================================================ */
.biz{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:24px}
.biz > li{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--sh);overflow:hidden}
.biz-hd{display:flex;align-items:center;gap:12px;padding:14px 18px;
  border-bottom:1px solid var(--line);background:var(--soft)}
.biz-no{flex:none;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;
  background:var(--brand);color:#fff;font-weight:800;font-size:15px;line-height:1}
.biz-no.g1{background:#b8860b}.biz-no.g2{background:#8d969e}.biz-no.g3{background:#9a6b3f}
.biz-name{margin:0;font-size:20px;font-weight:800;line-height:1.3}
.biz-name a{color:var(--fg);text-decoration:none}
.biz-name a:hover{color:var(--brand);text-decoration:underline}
.biz-role{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
.biz-ad{margin-left:auto;flex:none;font-size:11px;font-weight:700;color:var(--ad);
  background:var(--adbg);border-radius:999px;padding:3px 10px}
.biz-bd{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;padding:18px}
.biz-key{list-style:none;margin:0;padding:0;align-self:start;display:grid;gap:8px}
.biz-key li{background:var(--brand-l);border-radius:var(--r);padding:12px 14px}
.biz-key b{display:block;font-size:23px;font-weight:800;color:var(--brand-d);line-height:1.2;
  font-variant-numeric:tabular-nums}
.biz-key span{display:block;font-size:12px;color:var(--muted);font-weight:600;margin-top:2px}
.biz-catch{margin:0 0 12px;font-size:16.5px;font-weight:800;line-height:1.6;color:var(--brand-d)}
.biz-spec{width:100%;border-collapse:collapse;font-size:13.5px;margin:0 0 12px}
.biz-spec th,.biz-spec td{text-align:left;vertical-align:top;padding:7px 10px;
  border-bottom:1px solid var(--line)}
.biz-spec th{width:118px;background:var(--soft);color:var(--muted);font-weight:700;
  white-space:nowrap}
.biz-spec tr:last-child th,.biz-spec tr:last-child td{border-bottom:0}
.biz-spec .nd{color:var(--muted)}
.biz-tags{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.biz-tags li{font-size:12px;font-weight:700;color:var(--brand-d);background:var(--brand-l);
  border-radius:999px;padding:4px 11px}
.biz-btns{display:flex;flex-wrap:wrap;gap:10px}
.biz-btns .btn{font-size:14.5px;padding:11px 20px}
.biz-note{margin:0;padding:12px 18px;border-top:1px solid var(--line);background:var(--soft);
  font-size:12.5px;color:var(--muted)}
@media (max-width:720px){
  .biz-bd{grid-template-columns:1fr;gap:14px}
  .biz-spec th{width:96px}
}

/* 人気エリア（写真つきカード） */
.areacards{list-style:none;margin:0;padding:0;display:grid;gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.areacards a{display:block;text-decoration:none;color:var(--fg);background:var(--bg);
  border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--sh);
  transition:transform .12s,box-shadow .12s}
.areacards a:hover{transform:translateY(-3px);box-shadow:var(--sh-lg)}
.areacards img{width:100%;aspect-ratio:16/10;object-fit:cover}
.areacards .ac-b{display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:12px 14px}
.areacards b{font-size:15.5px}
.ac-go{font-size:12px;font-weight:700;color:#fff;background:var(--cta);
  border-radius:999px;padding:4px 11px;white-space:nowrap}

/* 3つの簡単ステップ */
.steps3{list-style:none;margin:0;padding:0;display:grid;gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.steps3 li{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:20px 18px;display:flex;align-items:center;gap:14px;box-shadow:var(--sh)}
.steps3 svg{width:28px;height:28px;color:var(--brand);flex:none}
.steps3 b{display:block;font-size:12px;color:var(--cta);letter-spacing:.1em}
.steps3 span{font-size:15.5px;font-weight:700}

/* 中央のCTA帯 */
.cta-band{background:var(--brand-l);padding:40px 16px;text-align:center}
.cta-band h2{margin:0 0 16px;font-size:23px;font-weight:800}
.cta-band h2::before{display:none}
.cta-band .btn{font-size:17px;padding:15px 34px}

/* ヒーロー（携帯）：写真を上に見せ、下へ白くつなげてから文字と検索を置く */
@media (max-width:760px){
  .hero{background-color:#fff;background-size:auto 260px;background-position:right top}
  .hero::before{background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgba(255,255,255,0) 150px,#fff 250px)}
  .hero-in{min-height:0;padding:190px 16px 28px}
  .hero h1{font-size:28px}
  .hero-lead{font-size:15.5px}
}

/* ---------- 屋根サイトの実測に寄せる上書き（2026-11-06）---------- */
.hd-bar{background:#f5f5f5;color:#8a8f96;border-bottom:1px solid #ececec}
.hd-bar-in{max-width:1160px;margin:0 auto;padding:0 20px;height:30px;display:flex;align-items:center;
  justify-content:flex-end;gap:16px;font-size:11px}
.hd-bar .hd-stat b{color:var(--navy)}
.hd-in{max-width:1160px;padding:18px 20px}
.brand a{gap:12px}
.brand-mk{width:50px;height:50px;border-radius:12px}
.brand-mk svg{width:30px;height:30px}
.brand-tx b{font-size:28px;font-weight:900;color:var(--navy);letter-spacing:.02em;line-height:1.15}
.brand-tx i{font-size:12px;margin-top:2px}
.hd nav{font-size:15px;gap:4px 28px}
.hd nav a{font-weight:700;color:#27313f}
.hero::before{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 30%,rgba(255,255,255,.78) 44%,rgba(255,255,255,0) 62%)}
.find-tabs button[aria-selected="true"]{box-shadow:inset 0 -3px 0 var(--cta)}
.find select{appearance:none;-webkit-appearance:none;padding:0 44px 0 48px;cursor:pointer;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center/18px no-repeat}
.find-row{position:relative}
.find-body .find-row[data-kind="select"]::before{content:"";position:absolute;left:18px;top:19px;width:20px;height:20px;pointer-events:none;
  background:var(--cta);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat}
.hero h1 em{color:inherit}
h2.sec-h{font-size:28px;font-weight:900;color:var(--navy)}
@media (max-width:760px){
  .brand-tx b{font-size:20px}.brand-mk{width:40px;height:40px}.brand-mk svg{width:24px;height:24px}
  .hd-bar-in{justify-content:center;font-size:10.5px}
  .hero::before{background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgba(255,255,255,0) 150px,#fff 250px)}
}

/* ---------- 店サイトのトップ：屋根サイトの各ブロックを実測で写す（2026-11-07）---------- */
:root{--alt:#eef1f5}
.blk{padding:56px 0}
.blk.alt{background:var(--alt)}
.blk-in{max-width:1040px;margin:0 auto;padding:0 20px}
.blk-in.wide{max-width:1260px}
.blk h2.sec-h{margin-bottom:36px}
h2.sec-h em{font-style:normal;color:var(--cta)}
.blk .sec-lead{margin-top:-24px}
.center{text-align:center}
/* 3つの簡単ステップ：白い横長カード＋間に＞ */
ol.steps3{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:38px}
ol.steps3 li{position:relative;display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e3e8ef;
  border-radius:8px;padding:0 28px;height:84px;box-shadow:0 2px 6px rgba(18,40,76,.04)}
ol.steps3 li+li::before{content:"";position:absolute;left:-23px;top:50%;width:8px;height:8px;margin-top:-4px;
  border-top:2px solid #b8c0cc;border-right:2px solid #b8c0cc;transform:rotate(45deg)}
ol.steps3 svg{width:30px;height:30px;color:var(--navy);flex:none}
ol.steps3 span{font-size:15.5px;font-weight:700;color:var(--navy)}
/* 人気エリア：写真カード4列 */
.areacards{grid-template-columns:repeat(4,1fr);gap:22px}
.areacards a{border:1px solid #e3e8ef;border-radius:8px;box-shadow:0 2px 8px rgba(18,40,76,.05)}
.areacards img{aspect-ratio:293/120}
.areacards .ac-b{padding:20px 20px}
.areacards b{font-size:18px;font-weight:900;color:var(--navy)}
.areacards .ac-go{background:none;color:var(--cta);padding:0;font-size:13.5px;font-weight:800;border-radius:0}
.areacards .ac-go i{font-style:normal;margin-left:4px}
/* 都道府県ボタン：白い6列 */
.prefbtns{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:15px}
.prefbtns a{display:grid;place-items:center;height:52px;background:#fff;border:1px solid #e3e8ef;border-radius:6px;
  font-size:15px;font-weight:700;color:var(--navy);text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.prefbtns a:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.prefnote{margin:20px 0 28px;text-align:center;font-size:13.5px;color:var(--muted)}
/* 選ばれる理由：3列×2段 */
.reasons{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.reasons li{display:flex;align-items:center;gap:18px;height:78px;padding:0 26px;background:#fff;
  border:1px solid #e3e8ef;border-radius:8px;box-shadow:0 2px 6px rgba(18,40,76,.04)}
.reasons svg{width:28px;height:28px;color:var(--cta);flex:none}
.reasons span{font-size:15.5px;font-weight:700;color:var(--navy)}
/* CTA帯：淡い朱の帯＋丸ボタン＋線画 */
.cta-band{background:#fdeee6;padding:0}
.cta-in{position:relative;max-width:1040px;margin:0 auto;padding:48px 20px;text-align:center;overflow:hidden}
.cta-band h2{font-size:30px;font-weight:900;color:var(--navy);margin:0 0 22px}
.btn-pill{border-radius:999px}
.cta-band .btn{font-size:20px;font-weight:900;padding:0 56px;height:70px;justify-content:center;
  box-shadow:0 8px 20px color-mix(in srgb,var(--cta) 30%,transparent)}
.cta-art{position:absolute;right:10px;bottom:0;width:220px;height:150px;color:color-mix(in srgb,var(--cta) 70%,#fff);pointer-events:none}
.btn-navy{background:var(--navy);border-color:var(--navy);color:#fff;padding:14px 34px;font-weight:800}
.btn-navy:hover{background:#0c2247}
.btn-navy i{font-style:normal}
/* コラム：上に濃紺の見出し板、下にタイトル */
.colgrid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.colgrid a{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:8px;overflow:hidden;text-decoration:none;
  box-shadow:0 2px 10px rgba(18,40,76,.07);transition:transform .15s,box-shadow .15s}
.colgrid a:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(18,40,76,.12)}
.col-top{height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  background:linear-gradient(135deg,#1d3a6b 0%,#0f2244 100%);color:#fff}
.col-top svg{width:46px;height:46px}
.col-top i{font-style:normal;font-size:12px;font-weight:700;letter-spacing:.12em;opacity:.85}
.col-b{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px}
.col-b b{font-size:16px;line-height:1.55;color:var(--navy)}
.col-b span{font-size:13.5px;color:var(--muted)}
/* ヘッダーのナビ（日本語＋英字の2段） */
.hd nav a{display:flex;flex-direction:column;align-items:center;line-height:1.3;border-bottom:0}
.hd nav a i{font-style:normal;font-size:10px;font-weight:600;color:#9aa1ab;letter-spacing:.08em;margin-top:2px}
/* ヒーローの信頼の一行 */
.hero-trust{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:20px 0 0;font-size:14px;font-weight:700;color:#27313f}
.hero-trust svg{width:18px;height:18px;color:var(--cta)}
.hero-trust b{font-size:21px;font-weight:900;color:var(--navy);margin-left:2px}
.hero-trust i{font-style:normal;color:#b8c0cc}
/* 掲載店一覧の検索 */
.qbox{display:flex;gap:10px;margin:8px 0 12px}
.qbox input{flex:1;min-width:0;font:inherit;font-size:16px;height:52px;padding:0 16px;border:1px solid #d8dfe8;border-radius:8px}
.qbox .btn{height:52px}
.qres{font-weight:700;color:var(--navy);min-height:1.5em;margin:0 0 8px}
@media (max-width:900px){
  .areacards{grid-template-columns:repeat(2,1fr);gap:14px}
  .prefbtns{grid-template-columns:repeat(4,1fr);gap:10px}
  .reasons,.colgrid{grid-template-columns:1fr}
  ol.steps3{grid-template-columns:1fr;gap:12px}
  ol.steps3 li+li::before{display:none}
}
@media (max-width:560px){
  .blk{padding:40px 0}
  .prefbtns{grid-template-columns:repeat(3,1fr)}
  .areacards .ac-b{padding:14px;flex-direction:column;align-items:flex-start;gap:2px}
  .areacards b{font-size:16px}
  .cta-band h2{font-size:21px}
  .cta-band .btn{font-size:17px;height:60px;padding:0 28px;width:100%}
  .cta-art{display:none}
  .hd nav{gap:2px 18px}
}
.ft-col{margin:0 0 20px}
.ft-col p{margin:0 0 8px;font-weight:800;color:var(--fg);font-size:14px}
.ft-col ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 24px;font-size:13.5px}

/* ---------- 下層ページ（エリア・掲載店一覧・店の詳細）：屋根サイトの型（2026-11-07）---------- */
.crumb{background:#f4f6f9;border-bottom:1px solid #e6eaf0}
.crumb p{max-width:1180px;margin:0 auto;padding:10px 20px;font-size:12.5px;color:#5b6573;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}
.crumb a{color:#5b6573;text-decoration:none}
.crumb a:hover{color:var(--cta);text-decoration:underline}
.crumb i{font-style:normal;color:#b8c0cc}
.crumb b{color:var(--navy);font-weight:700}
.crumb.wh{background:#fff;border-bottom:0}
.pgban{background:linear-gradient(100deg,var(--navy) 0%,color-mix(in srgb,var(--navy) 78%,#fff) 100%);color:#fff}
.pgban-in{max-width:1180px;margin:0 auto;padding:22px 20px;min-height:212px;display:grid;
  grid-template-columns:minmax(0,1fr) 280px;gap:32px;align-items:center}
.pgban h1{color:#fff;font-size:30px;font-weight:900;line-height:1.4;margin:0 0 12px;border:0;padding:0}
.pgban h1::before{display:none}
.pgban p{margin:0;font-size:14px;line-height:1.85;color:rgba(255,255,255,.88)}
.pgban img{width:280px;height:175px;object-fit:cover;border-radius:10px;box-shadow:0 10px 26px rgba(0,0,0,.25)}
.pg{max-width:1180px;margin:0 auto;padding:16px 20px 64px}
.upd{margin:0 0 24px;font-size:13px;color:#5b6573}
.pg-2col{display:grid;grid-template-columns:300px minmax(0,1fr);gap:32px;align-items:start}
/* 左：エリア検索 */
.side{position:sticky;top:96px}
.side-box{background:#fff;border:1px solid #e3e8ef;border-radius:10px;padding:22px 20px 24px;display:flex;flex-direction:column;gap:16px}
.side-h{margin:0;font-size:16px;font-weight:900;color:var(--cta);padding-bottom:10px;border-bottom:2px solid var(--cta)}
.side label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:700;color:#27313f}
.side select,.side input{font:inherit;font-size:14.5px;height:42px;padding:0 12px;border:1px solid #cfd6df;border-radius:6px;background:#fff;color:#27313f;width:100%}
.side-btns{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;margin-top:4px}
.side-btns .btn{height:44px;justify-content:center;padding:0;font-size:15px}
.btn-line{background:#fff;color:#27313f;border:1px solid #b8c0cc;box-shadow:none}
.btn-line:hover{background:#f4f6f9;color:#27313f}
.btn-r{background:#c8323a;border-color:#c8323a;color:#fff}
.btn-r:hover{background:#a8262d;border-color:#a8262d}
.btn-o{background:var(--cta);border-color:var(--cta);color:#fff}
/* 右：本文 */
.intro{margin:0 0 28px;font-size:15px;line-height:1.95;color:#27313f}
.bar-h{display:block;margin:0 0 14px;padding:2px 0 2px 14px;border:0;border-left:5px solid #c8323a;font-size:22px;font-weight:900;color:#1b2430;line-height:1.45}
.bar-h::before{display:none}
.rks + .bar-h{margin-top:48px}
.sum{margin:0 0 12px;font-weight:700;font-size:14.5px;line-height:1.85;color:#1b2430}
.ord{margin:0 0 18px;font-size:12.5px;color:#5b6573}
/* 店カード（屋根サイトの業者カード） */
.rks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:20px}
.rk{background:#fff;border:1px solid #e3e8ef;border-radius:12px;padding:20px 20px 14px;box-shadow:0 2px 10px rgba(18,40,76,.05)}
.rk-hd{display:flex;align-items:center;gap:14px;margin:0 0 16px}
.rk-hd > div{flex:1;min-width:0}
.rk-no{flex:none;width:64px;height:52px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:#8b95a3;color:#fff;font-family:"Noto Serif JP",serif;font-weight:900;font-size:22px;line-height:1}
.rk-no i{font-style:normal;font-family:"Noto Sans JP",sans-serif;font-size:9.5px;font-weight:700;margin-bottom:3px;opacity:.95}
.rk-no small{font-size:13px;margin-left:1px}
.rk-no.g1{background:linear-gradient(135deg,#e0a92a,#c88c10)}
.rk-no.g2{background:linear-gradient(135deg,#a9b2bd,#87919d)}
.rk-no.g3{background:linear-gradient(135deg,#c58447,#a1652e)}
.rk-name{margin:0;font-size:20px;font-weight:900;line-height:1.35}
.rk-name a{color:#1d63b8;text-decoration:none}
.rk-name a:hover{text-decoration:underline}
.rk-sub{margin:2px 0 0;font-size:12.5px;color:#5b6573}
.rk-ad{flex:none;font-size:11px;font-weight:700;border:1px solid #b8c0cc;color:#5b6573;border-radius:4px;padding:2px 8px}
.rk-side{display:flex;flex-direction:column;gap:10px;min-width:0}
.rk-side>.rk-key,.rk-side>.dt-key{flex:1}
.rk-ph{width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;border-radius:8px;display:block}
.rk.is-ad{border-color:#d9c38a}
.dt-pr{background:#fbf7ec;border-radius:8px;padding:12px 14px}
.rk-bd{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px}
.rk-key{list-style:none;margin:0;padding:6px 18px;background:linear-gradient(160deg,#f3f6fb,#e9eef6);border-radius:8px;
  display:flex;flex-direction:column;justify-content:center;align-self:start}
.rk-key li{display:flex;flex-direction:column;padding:12px 0;border-bottom:1px dashed #cdd6e3}
.rk-key li:last-child{border-bottom:0}
.rk-key b{font-size:26px;font-weight:900;color:var(--navy);line-height:1.15;letter-spacing:.01em}
.rk-key span{font-size:12px;font-weight:700;color:#5b6573;margin-top:2px}
.rk-catch{margin:0 0 12px;font-size:15.5px;font-weight:800;line-height:1.6;color:#c8323a}
.rk-spec{margin:0 0 14px;display:flex;flex-direction:column;gap:6px}
.rk-spec > div{display:grid;grid-template-columns:7.5em minmax(0,1fr);gap:10px;font-size:13.5px;line-height:1.65}
.rk-spec dt{color:#5b6573;font-weight:700}
.rk-spec dd{margin:0;color:#1b2430}
.rk-spec dd.nd,.dt-spec dd.nd{color:#98a0aa}
.rk-tags{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.rk-tags li{font-size:12.5px;font-weight:700;color:#c8323a;background:#fdf1f1;border:1px solid #f3c9cb;border-radius:4px;padding:3px 10px}
.rk-btns{display:flex;flex-wrap:wrap;gap:10px}
.rk-btns .btn{height:46px;padding:0 22px;font-size:15px;font-weight:800;border-radius:6px;box-shadow:0 3px 0 rgba(0,0,0,.12)}
.rk-note{margin:14px 0 0;padding-top:10px;border-top:1px solid #eef1f5;font-size:11.5px;color:#8a929c}
/* 店の詳細 */
.dt-head{background:#f0f3f7}
.dt-in{max-width:1180px;margin:0 auto;padding:36px 20px 28px}
.dt-head h1{margin:0 0 10px;font-size:34px;font-weight:900;color:var(--navy);border:0;padding:0}
.dt-head h1::before{display:none}
.dt-sub{margin:0 0 26px;font-size:14px;color:#3b4552}
.dt-h{margin:0 0 10px;font-size:13.5px;font-weight:800;color:#3b4552}
.conds{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:10px}
.conds li{display:flex;align-items:center;gap:12px;height:46px;padding:0 16px;border-radius:6px;border:1px solid #bfe0dc;background:#e6f4f2}
.conds li.ng{border-color:#e3e6ea;background:#f6f7f9}
.conds li.un{border-color:#e3e6ea;background:#fff}
.cd-ic{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:900;color:#fff;background:#2a9d8f}
.ng .cd-ic{background:#aab2bc}
.un .cd-ic{background:#c4cad2}
.conds b{font-size:14px;font-weight:800;color:#1b2430}
.ng b,.un b{color:#6b7480}
.cd-v{margin-left:auto;font-size:12px;font-weight:700;color:#1f7a6f;text-align:right}
.ng .cd-v,.un .cd-v{color:#7b838e}
.dt-note{margin:14px 0 0;font-size:12px;color:#5b6573}
.dt-tabs{display:flex;flex-wrap:wrap;gap:4px 32px;border-bottom:1px solid #e3e8ef;margin:8px 0 32px}
.dt-tabs a{padding:16px 4px;font-size:15px;font-weight:800;color:#27313f;text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-1px}
.dt-tabs a[aria-current]{border-bottom-color:var(--navy);color:var(--navy)}
.dt-tabs a:hover{color:var(--cta)}
.dt-2col{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;align-items:stretch;scroll-margin-top:100px}
.dt-key{list-style:none;margin:0;padding:12px 36px;background:linear-gradient(160deg,#f3f6fb,#e6ecf5);border-radius:12px;display:flex;flex-direction:column;justify-content:center}
.dt-key li{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:22px 0;border-bottom:1px dashed #c9d3e1}
.dt-key li:last-child{border-bottom:0}
.dt-key b{font-size:36px;font-weight:900;color:var(--navy);line-height:1.1}
.dt-key span{font-size:14px;font-weight:700;color:#5b6573;text-align:right}
.dt-box{background:#fff;border:1px solid #e3e8ef;border-radius:12px;padding:28px 26px 22px}
.dt-box h2{margin:0 0 14px;font-size:22px;font-weight:900;color:var(--navy);border:0;padding:0;display:block}
.dt-box h2::before{display:none}
.dt-box dl{margin:0 0 20px}
.dt-box dl > div{display:grid;grid-template-columns:6.5em minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid #eef1f5;font-size:14px}
.dt-box dt{font-weight:800;color:#27313f}
.dt-box dd{margin:0;color:#27313f;word-break:break-all}
.dt-go{width:100%;height:56px;justify-content:center;font-size:17px;font-weight:900;border-radius:6px}
.dt-go-n{margin:10px 0 0;text-align:center;font-size:12.5px;color:#5b6573}
.dt-sec{display:block;margin:48px 0 16px;padding:0;border:0;font-size:24px;font-weight:900;color:var(--navy);scroll-margin-top:100px}
.dt-sec::before{display:none}
.dt-spec{margin:0;border:1px solid #e3e8ef;border-radius:10px;overflow:hidden;background:#fff}
.dt-spec > div{display:grid;grid-template-columns:12em minmax(0,1fr);border-bottom:1px solid #eef1f5}
.dt-spec > div:last-child{border-bottom:0}
.dt-spec dt{background:#f6f8fb;padding:14px 18px;font-size:14px;font-weight:800;color:#27313f}
.dt-spec dd{margin:0;padding:14px 18px;font-size:14px;line-height:1.75;color:#1b2430}
.dt-about{background:#fff;border:1px solid #e3e8ef;border-radius:10px;padding:24px 26px}
.dt-about p{margin:0 0 14px;font-size:15px;line-height:1.95}
.dt-about .dt-src{margin:0;font-size:12px;color:#8a929c}
.near{list-style:none;margin:0 0 24px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.near a{display:flex;flex-direction:column;gap:4px;position:relative;padding:16px 40px 16px 18px;background:#fff;border:1px solid #e3e8ef;border-radius:8px;text-decoration:none}
.near a:hover{border-color:var(--navy)}
.near b{font-size:15.5px;font-weight:800;color:#1d63b8}
.near span{font-size:12.5px;color:#5b6573}
.near i{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-style:normal;color:var(--cta);font-weight:800}
@media (max-width:960px){
  .pg-2col{grid-template-columns:1fr}
  .side{position:static;order:2}
  .rk-bd,.dt-2col{grid-template-columns:1fr}
  .pgban-in{grid-template-columns:1fr}
  .pgban img{display:none}
}
@media (max-width:560px){
  .pgban h1{font-size:22px}
  .rk{padding:16px 14px 12px}
  .rk-name{font-size:17px}
  .rk-key{flex-direction:row;padding:8px 10px}
  .rk-key li{flex:1;border-bottom:0;border-right:1px dashed #cdd6e3;padding:6px 8px}
  .rk-key li:last-child{border-right:0}
  .rk-key b{font-size:18px}
  .rk-key span{font-size:10.5px}
  .rk-spec > div{grid-template-columns:6.5em minmax(0,1fr);font-size:13px}
  .rk-btns .btn{flex:1;justify-content:center;padding:0 10px;font-size:14px}
  .dt-head h1{font-size:26px}
  .conds{grid-template-columns:1fr}
  .dt-key{padding:6px 20px}.dt-key b{font-size:26px}
  .dt-spec > div{grid-template-columns:1fr}
  .dt-spec dt{padding:10px 14px 4px;background:#fff;color:#5b6573;font-size:12.5px}
  .dt-spec dd{padding:0 14px 12px}
  .dt-tabs{gap:0 18px}
}
/* 店サイトのコラム・運営者情報など（2026-11-07） */
.pgban-in.one{grid-template-columns:1fr;min-height:150px}
.pgban-in.one h1{font-size:28px}
main.art{max-width:880px;padding:0 20px 64px}
/* 下層ページの頭（crumbs.njk）は main の中に出るので、画面の端まで広げる */
html{overflow-x:clip}
main.art>.crumb,main.art>.pgban{margin-inline:calc(50% - 50vw)}
main.art>.pgban{margin-bottom:36px}
main.art h2{color:var(--navy);font-weight:900}
main.art .lead{font-size:16px;line-height:1.95}
.qres:empty{display:none}
@media (max-width:560px){.bar-h{font-size:18px}.dt-sec{font-size:20px}}
/* 台帳サイト（産廃ナビ）の業者カード：順位ではなく「優良認定／許可業者」の札 */
.rk-no.lg{width:76px}
.rk-no.lg:not(.g1){background:#eef1f5;color:var(--navy)}
.art-in h2:not(.bar-h){color:var(--navy);font-weight:900}
.art-in .stats{margin:0 0 24px}
.pg-2col>*{min-width:0}
.gmap{margin:14px 16px 0}.gmap iframe{display:block;border-radius:6px}.gmap-n{font-size:12px;line-height:1.6;color:#5b6470;margin-top:6px}
/* 当サイトの口コミ（2026-11-10）。星は文字の上に色を重ねて塗る（--v に平均点） */
.rv-stars{--v:0;position:relative;display:inline-block;font-size:16px;letter-spacing:2px;line-height:1;color:#d5dae0;
  background:linear-gradient(90deg,#f0a500 calc(var(--v) / 5 * 100%),#d5dae0 0);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.dt-sec small{font-size:16px;font-weight:700;color:var(--muted)}
.rv{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg);padding:24px}
.rv-sum{display:grid;grid-template-columns:200px 1fr;gap:24px;align-items:center;padding-bottom:24px;border-bottom:1px solid var(--line)}
.rv-avg{text-align:center}.rv-avg .rv-stars{font-size:24px;display:table;margin:0 auto 8px}
.rv-avg b{font-size:36px;font-weight:900}.rv-avg small{font-size:14px;color:var(--muted);margin-left:4px}.rv-avg p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.rv-dist{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rv-dist li{display:grid;grid-template-columns:40px 1fr 44px;gap:12px;align-items:center;font-size:13px}
.rv-dist i{display:block;height:8px;border-radius:4px;background:var(--soft);overflow:hidden}.rv-dist em{display:block;height:100%;background:#f0a500}
.rv-list{list-style:none;margin:0;padding:0}
.rv-list li{padding:20px 0;border-bottom:1px solid var(--line)}
.rv-hd{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px}.rv-hd b{font-size:16px}.rv-who{font-size:13px;color:var(--muted)}
.rv-meta{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0 0 8px;font-size:13px;color:var(--muted)}.rv-meta div{display:flex;gap:4px}.rv-meta dt::after{content:"："}.rv-meta dd{margin:0}
.rv-tx{margin:0;white-space:pre-wrap;line-height:1.8}.rv-dt{margin:8px 0 0;font-size:12px;color:var(--muted)}
.rv-none{margin:0 0 8px;color:var(--muted)}
.rv-note{font-size:12px;line-height:1.7;color:var(--muted);margin:16px 0 0}
.rv-form-wrap{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}
.rv-form-wrap summary{cursor:pointer;font-weight:900;font-size:16px;color:var(--navy);padding:8px 0}
.rv-form{display:grid;gap:16px;margin-top:12px}
.rv-lead{margin:0;font-size:13px;color:var(--muted)}
.rv-form fieldset{border:0;margin:0;padding:0}.rv-form legend,.rv-form label{font-size:14px;font-weight:700}
.rv-form em{font-style:normal;font-size:12px;color:#fff;background:#c8323a;border-radius:4px;padding:1px 6px;margin-left:6px;font-weight:700}
.rv-rate{display:flex;gap:8px;flex-wrap:wrap}.rv-rate legend{width:100%;margin-bottom:8px}
.rv-rate label,.rv-kinds label{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-weight:600;cursor:pointer}
.rv-rate label:has(input:checked),.rv-kinds label:has(input:checked){border-color:var(--cta);background:var(--soft)}
.rv-kinds{display:flex;flex-wrap:wrap;gap:8px}.rv-kinds legend{width:100%;margin-bottom:8px}
.rv-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rv-row label,.rv-cm{display:grid;gap:6px}
.rv-lb{display:flex;align-items:center;gap:8px}.rv-lb em{margin-left:0}.rv-cnt{margin-left:auto}
.rv-form select,.rv-form input[type=number]{height:46px}
.rv-form select,.rv-form input[type=number],.rv-form textarea{font:inherit;font-size:16px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--fg);width:100%}
.rv-cnt{font-size:12px;font-weight:400;color:var(--muted)}
.rv-ck{display:flex;gap:8px;align-items:flex-start;font-weight:400 !important;line-height:1.6}.rv-ck input{margin-top:4px}
.rv-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.rv-err{margin:0;color:#c8323a;font-weight:700}.rv-done{margin:16px 0 0;padding:16px;border-radius:8px;background:var(--soft);font-weight:700}
.rv-send{justify-self:start;min-width:240px;justify-content:center}
.rk-rv{margin:4px 0 0;font-size:13px;display:flex;align-items:center;gap:4px}.rk-rv .rv-stars{font-size:13px}.rk-rv a{color:var(--muted)}
@media (max-width:700px){.rv{padding:16px}.rv-sum{grid-template-columns:1fr}.rv-row{grid-template-columns:1fr 1fr}.rv-send{width:100%}}

/* よくある質問（2026-11-15） */
.faq{max-width:860px;margin:32px auto 0}
.faq-i{border:1px solid var(--line);border-radius:8px;background:var(--bg);margin:0 0 10px}
.faq-i summary{cursor:pointer;list-style:none;padding:14px 44px 14px 16px;font-weight:700;position:relative;display:flex;gap:10px;align-items:flex-start;line-height:1.6}
.faq-i summary::-webkit-details-marker{display:none}
.faq-i summary::after{content:"+";position:absolute;right:16px;top:12px;font-size:20px;color:var(--brand)}
.faq-i[open] summary::after{content:"−"}
.faq-i p{margin:0;padding:0 16px 16px;display:flex;gap:10px;align-items:flex-start;line-height:1.8}
.faq-q,.faq-a{flex:none;width:26px;height:26px;border-radius:50%;display:inline-grid;place-items:center;font-size:13px;font-weight:700}
.faq-q{background:var(--brand);color:#fff}
.faq-a{background:var(--brand-l);color:var(--brand-d)}
.blk .faq{margin-top:0}

/* 表の中で折り返させない短い語（2026-11-19 消防の報告書の比較表で市名が縦に割れた） */
.nw{white-space:nowrap}
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.md-tbl{margin:24px 0}
main .md-tbl table{margin:0}
.tbl.meibo td:last-child{white-space:nowrap}
.meibo-city details{border:1px solid var(--line);border-radius:10px;margin:8px 0;background:#fff}
.meibo-city summary{cursor:pointer;padding:12px 16px;font-weight:700}
.meibo-city details[open] summary{border-bottom:1px solid var(--line)}
.meibo-city .tbl{margin:0}
.bd-code{white-space:pre-wrap;word-break:break-all;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:12px 14px;font-size:13px}
.amap-map{height:380px;border:1px solid var(--line);border-radius:12px;margin:12px 0;z-index:0}
.amap-act{margin:8px 0}
.amap-list{margin:8px 0 8px 1.4em;line-height:1.9}
.amap-note{font-size:12.5px;color:#666}
.ad-tag{display:inline-block;font-size:11px;font-weight:700;color:#fff;background:#8a8f98;border-radius:4px;padding:0 6px;vertical-align:1px}
@media (max-width:640px){.amap-map{height:300px}}
/* 2026-11-24 所在地の一覧（畳んだ表）。開くまでは1行だけにして、一覧の見やすさを崩さない */
.addr-list{border:1px solid var(--line);border-radius:10px;margin:12px 0;background:#fff}
.addr-list summary{cursor:pointer;padding:12px 16px;font-weight:700}
.addr-list[open] summary{border-bottom:1px solid var(--line)}
.addr-list .tbl{margin:0;font-size:14px}
.addr-list .tbl td:first-child{white-space:nowrap}
.addr-list .amap-note{margin:8px 16px 12px}
/* スマホでは3列だと社名が3文字ずつ折れるので、1件を「市町村・社名」と「住所」の2行に積む */
@media (max-width:640px){
  .addr-list thead{display:none}
  .addr-list tr{display:block;padding:10px 14px;border-bottom:1px solid var(--line)}
  .addr-list tr:last-child{border-bottom:0}
  .addr-list td{display:inline;border:0;padding:0}
  .addr-list td:first-child{color:var(--muted);font-size:13px;margin-right:8px}
  .addr-list td:last-child{display:block;margin-top:2px;font-size:13px}
}
.telnote{display:block;margin-top:4px;line-height:1.6;color:var(--muted,#555)}
/* 2026-11-25 頭の帯の業者向けの入口（/keisai/） */
.hd-keisai{color:var(--navy);font-weight:700;text-decoration:underline;white-space:nowrap}
@media (max-width:760px){.hd-bar-in{height:auto;min-height:30px;padding:4px 12px;flex-wrap:wrap;gap:2px 12px}}
/* 2026-12-04 スマホで上のメニューが2段に折れて画面をふさぎ、本文の表の1列目が2文字ずつ折れていた */
@media (max-width:560px){
  .hd-in{padding:8px 16px;gap:4px 12px}
  .hd nav{width:100%;justify-content:space-between;gap:2px 8px;font-size:13px}
  .hd nav a{padding:2px 0}
  .md-tbl th:first-child,.md-tbl td:first-child{min-width:8em}
}
