/* サイト全体の見た目（2026-10-23 案D：クリーム地・オレンジ・丸ゴシック見出し）。<html data-skin="d"> と一緒に gen_pages.py が全ページに入れる */
html:root[data-skin="d"],html:root[data-skin="d"]:not([data-theme="light"]){
  --bg:#fffaf3;--surface:#ffffff;--fg:#1f1a17;--muted:#6f655d;--line:#efe3d3;
  --accent:#e85d1c;--accent-ink:#b8460f;--accent-btn:#c84b12;--accent-soft:#fff0e5;--chip:#fff;--gold:#e85d1c;--gold-ink:#fff;--gold-soft:#fff3e8;
  --warn:#9a5b00;--warn-soft:#fdf2df;--ink:#1f1a17;
  --display:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN","Hiragino Sans","Meiryo",sans-serif;--body:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Noto Sans CJK JP","Yu Gothic UI","Meiryo",system-ui,sans-serif;color-scheme:light}
html[data-skin="d"] h1{font-weight:800;letter-spacing:-.01em;line-height:1.25}
html[data-skin="d"] h1 .st{color:var(--accent)}
html[data-skin="d"] h2{font-family:var(--display);font-weight:800}
html[data-skin="d"] .wrap>.top,html[data-skin="d"] .eyebrow{display:inline-flex;align-items:center;font-family:var(--display);font-weight:800;font-size:14px;color:var(--fg);letter-spacing:.03em}
html[data-skin="d"] .wrap>.top>a,html[data-skin="d"] .eyebrow>a.home{display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:none}
html[data-skin="d"] .wrap>.top>a::before,html[data-skin="d"] .eyebrow>a.home::before{content:"";display:inline-block;width:30px;height:30px;border-radius:9px;background:url(/brand/icon_site_64.webp?v=1) center/cover;box-shadow:0 1px 3px rgba(0,0,0,.15)}
html[data-skin="d"] .stat b,html[data-skin="d"] .hero-note b{font-family:var(--display);font-size:28px;font-weight:800;color:var(--accent-ink)}
html[data-skin="d"] .sbox input{border:1.5px solid #e2d3c0;border-radius:14px;padding:15px 16px;background:#fff;box-shadow:0 2px 10px rgba(120,70,20,.06)}
html[data-skin="d"] .sbox input:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(232,93,28,.15)}
html[data-skin="d"] .nearln{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html[data-skin="d"] .nearln small{grid-column:1/-1}
html[data-skin="d"] .nearln a{justify-content:center;min-height:52px;border-radius:14px;background:var(--accent-btn);border:0;color:#fff;box-shadow:0 4px 12px rgba(232,93,28,.25)}
html[data-skin="d"] .nearln a+a{background:#fff;color:var(--accent-ink);border:1.5px solid var(--accent);box-shadow:none}
html[data-skin="d"] .lwrap>summary{width:100%;border:1px solid var(--line);border-radius:14px;color:var(--fg);background:#fff}
html[data-skin="d"] .reqbox,html[data-skin="d"] .card,html[data-skin="d"] .panel,html[data-skin="d"] .item,html[data-skin="d"] .sres a{border:1px solid var(--line);border-radius:16px;box-shadow:0 1px 4px rgba(120,70,20,.05)}
html[data-skin="d"] .card{border-top:1px solid var(--line)}
html[data-skin="d"] .card .th{border-radius:15px 15px 0 0}
html[data-skin="d"] .card .tag{background:var(--accent-soft);color:var(--accent-ink)}
html[data-skin="d"] .card em,html[data-skin="d"] .sres .go,html[data-skin="d"] details summary,html[data-skin="d"] a{color:var(--accent-ink)}
html[data-skin="d"] .sitefoot a,html[data-skin="d"] footer a{color:var(--muted)}
html[data-skin="d"] .cta,html[data-skin="d"] .rq-btns button{background:var(--accent-btn);color:#fff;border-radius:14px;border:0}
html[data-skin="d"] .note{background:#fff;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:10px}
html[data-skin="d"] .seg{gap:6px;flex-wrap:wrap}
html[data-skin="d"] .seg button{flex:1 1 auto;white-space:nowrap;border:1px solid #e6d7c4;background:#fff;border-radius:12px;min-height:44px;padding:6px 10px;font-weight:500}
html[data-skin="d"] .seg:has(>button:nth-child(6)){display:grid;grid-template-columns:repeat(3,1fr)}
html[data-skin="d"] .seg button[aria-pressed="true"]{background:var(--accent-btn);border-color:var(--accent-btn);color:#fff;font-weight:700;box-shadow:0 3px 8px rgba(232,93,28,.25)}
html[data-skin="d"] .cats button{border-radius:12px;background:#fff;border-color:#e6d7c4}
html[data-skin="d"] .cats button[aria-pressed="true"]{background:var(--accent-soft);border-color:var(--accent)}
html[data-skin="d"] .sel{border:1px solid #e6d7c4;background:#fff;border-radius:12px}
html[data-skin="d"] .verdict{background:var(--gold-soft);border:1px solid #f7cfb3;border-radius:16px}
html[data-skin="d"] .verdict .a .yen{font-family:var(--display);font-weight:800;color:var(--accent-ink)}
html[data-skin="d"] .price .v{font-family:var(--display);font-weight:800;letter-spacing:-.01em}
html[data-skin="d"] .store{color:var(--fg);font-size:15.5px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
html[data-skin="d"] .chain{font-size:13px;color:var(--muted);font-weight:700}
html[data-skin="d"] .item.top{border:1.5px solid var(--accent);box-shadow:0 4px 14px rgba(232,93,28,.12)}
html[data-skin="d"] .item.top .no{background:var(--accent-btn);color:#fff;border-radius:8px}
html[data-skin="d"] .no{font-family:var(--display);font-weight:800}
html[data-skin="d"] .item.top .price .v{color:var(--accent-ink)}
html[data-skin="d"] .tag{border-radius:6px}
html[data-skin="d"] .autonote{display:block}
html[data-skin="d"] #verdict{scroll-margin-top:12px}
/* 下に出る「この条件の最安／結果を見る」 */
.minibar{display:none}
html[data-skin="d"] .minibar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;gap:10px;padding:10px 10px 10px 16px;background:#302a27;color:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:transform .2s,opacity .2s;max-width:656px;margin:0 auto}
html[data-skin="d"] .minibar[hidden]{display:flex;transform:translateY(140%);opacity:0;pointer-events:none}
html[data-skin="d"] .minibar .t{flex:1;min-width:0;font-size:11.5px;letter-spacing:-.02em;line-height:1.3;color:#d9cfc6}
html[data-skin="d"] .minibar .t b{display:block;font-family:var(--display);font-size:20px;font-weight:800;color:#fff}
html[data-skin="d"] .minibar button{font:inherit;font-weight:700;font-size:14px;border:0;border-radius:12px;background:var(--accent-btn);min-height:44px;color:#fff;padding:12px 14px;cursor:pointer;white-space:nowrap}
.autonote{display:none;font-size:12px;color:var(--muted);margin:-4px 0 0}
/* ホーム画面に置ける形（PWA、2026-10-27） */
html[data-skin="d"] .lastst{display:inline-block;margin:8px 0 4px;padding:8px 14px;border-radius:999px;background:var(--accent-btn);color:#fff;font-weight:700;font-size:14px;text-decoration:none}
html[data-skin="d"] .a2hs{margin:4px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}
html[data-skin="d"] .sitefoot li a[href="#"]{text-decoration:none}
html[data-skin="d"] .a2hs img{display:block;width:100%;max-width:320px;height:auto;margin:6px 0 10px;border:1px solid var(--line);border-radius:10px}
html[data-skin="d"] .view button[aria-pressed="true"],html[data-skin="d"] .fchips button.on{background:var(--accent-btn);border-color:var(--accent-btn)}
html[data-skin="d"] .sum .h{color:var(--accent-ink)}
