/* 売るサイト2本の共通の骨組み（sites/common/base.css → build_site.py が各サイトの theme.css と合わせて site/style.css に）。
   色はここで持たない＝theme.css の変数（--bg --card --ink --sub --line --accent --accent-ink --accent-soft --head-bg --head-ink --mark-bg ...）。 */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--link); text-underline-offset: 2px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
main { max-width: 960px; margin: 0 auto; padding: 0 16px 24px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 8px; top: 8px; background: var(--card); padding: 6px 10px; z-index: 10; }

/* ヘッダ */
.site-head { background: var(--head-bg); color: var(--head-ink); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-name { font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; }
.logo-tag { font-size: .74rem; opacity: .82; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: inherit; text-decoration: none; font-size: .9rem; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover { background: var(--nav-hover); }
.site-nav a[aria-current="page"] { background: var(--nav-current); font-weight: 700; }
@media (max-width: 640px) {
  .head-in { padding-top: 10px; padding-bottom: 6px; }
  .site-nav { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 0 12px 6px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: .85rem; padding: 5px 10px; background: var(--nav-hover); }
}

/* ヒーロー（トップの最初の画面） */
.hero { padding: 28px 0 8px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.hero h1 { font-size: clamp(1.5rem, 4.6vw, 2.25rem); line-height: 1.35; margin: 0 0 10px; letter-spacing: .01em; }
.hero h1 .em { color: var(--accent); }
.hero .lead { margin: 0 0 12px; color: var(--sub); font-size: 1rem; max-width: 36em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.chips li { font-size: .8rem; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 2px 10px; color: var(--sub); }
.cta { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 10px; }
.cta:hover { filter: brightness(1.06); }
.hero-art { width: 220px; height: auto; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; padding-top: 18px; } .hero-art { display: none; } }

/* カード・見出し */
h2 { font-size: 1.2rem; line-height: 1.45; margin: 0 0 12px; }
h3 { font-size: 1.02rem; margin: 20px 0 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 0 0 16px; }
.card.result { border: 2px solid var(--accent); box-shadow: 0 6px 24px var(--shadow); }
.sec-label { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); margin-bottom: 2px; }
.hint { color: var(--sub); font-size: .88rem; margin: 0 0 12px; }
.summary { font-size: 1.08rem; font-weight: 700; margin: 4px 0 10px; }
.summary .big { font-size: 1.5rem; color: var(--accent); }
.empty { color: var(--sub); }

/* 入力 */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .95rem; }
label small { display: block; font-weight: 400; color: var(--sub); font-size: .8rem; line-height: 1.5; margin-top: 2px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 8px 10px; margin-top: 4px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--input-bg); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
input:disabled { opacity: .75; }
textarea { min-height: 160px; resize: vertical; }
button {
  font: inherit; font-size: .95rem; padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--accent); background: var(--accent-soft); color: var(--ink); cursor: pointer;
}
button.primary { background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 10px 20px; }
button.remove { border-color: var(--line); background: transparent; color: var(--sub); padding: 4px 10px; font-size: .85rem; }
.row-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.device { border: 1px solid var(--line); border-left: 6px solid var(--elec); border-radius: 10px; padding: 12px; margin: 0 0 12px; }
.device.kero { border-left-color: var(--kero); }
.device.gas { border-left-color: var(--gas); }
.device-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.device-head .kind { font-size: .88rem; font-weight: 700; color: var(--sub); white-space: nowrap; }
details.more { border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; margin: 12px 0 0; background: var(--input-bg); }
details.more > summary { cursor: pointer; padding: 10px 0; font-weight: 600; font-size: .92rem; color: var(--link); }
details.more[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
details.more > :last-child { margin-bottom: 12px; }

/* 結果の表と棒 */
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: right; padding: 7px 6px; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
th { color: var(--sub); font-weight: 600; font-size: .82rem; }
tfoot td { font-weight: 700; }
.table-wrap { overflow-x: auto; }
#results td:not(:first-child), #results th:not(:first-child) { white-space: nowrap; }
#results td:first-child { min-width: 7.5em; }
.bars { margin: 8px 0 14px; }
.bar-row { display: grid; grid-template-columns: 11em 1fr 6.5em; align-items: center; gap: 8px; margin: 8px 0; font-size: .9rem; }
.bar-row .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 18px; border-radius: 9px; background: var(--elec); min-width: 2px; }
.bar.kero { background: var(--kero); }
.bar.gas { background: var(--gas); }
.bar-row .val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-row.best .name { font-weight: 700; }
@media (max-width: 480px) { .bar-row { grid-template-columns: 6.5em 1fr 5.8em; font-size: .84rem; } }
.warn { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 8px; padding: 4px 12px; margin: 0 0 12px; }
.warn p { margin: 6px 0; font-size: .9rem; }
.payback p { margin: 6px 0; font-size: .92rem; }

/* 下に貼りつく小さな結果（スマホで、入力中に結果が見えない時だけ） */
.sticky-sum { position: fixed; left: 0; right: 0; bottom: 0; background: var(--head-bg); color: var(--head-ink); padding: 8px 16px; font-size: .88rem; display: flex; gap: 10px; align-items: center; justify-content: space-between; z-index: 5; box-shadow: 0 -4px 16px var(--shadow); }
.sticky-sum a { color: inherit; font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) { .sticky-sum { display: none !important; } }

/* 読み物・説明の文 */
.page-head { padding: 26px 0 10px; }
.page-head h1 { font-size: clamp(1.35rem, 3.8vw, 1.85rem); line-height: 1.4; margin: 0 0 8px; }
.page-head .lead { color: var(--sub); margin: 0; }
.page-head .date { font-size: .82rem; color: var(--sub); margin: 6px 0 0; }
.prose > p, .prose > ul, .prose > ol { max-width: 46em; }
.prose p, .prose li { font-size: .98rem; }
.prose h2 { margin-top: 8px; }
.explain p, .explain li { font-size: .94rem; }
.point { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 10px 14px; border-radius: 0 10px 10px 0; margin: 12px 0; }
.point p { margin: 4px 0; }
.src { font-size: .82rem; color: var(--sub); }
.src li { font-size: .82rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0 0 16px; }
.cards a.card { display: block; text-decoration: none; color: inherit; margin: 0; }
.cards a.card:hover { border-color: var(--accent); }
.cards a.card h2 { font-size: 1.05rem; color: var(--link); margin-bottom: 6px; }
.cards a.card p { margin: 0; font-size: .9rem; color: var(--sub); }
.next { margin: 6px 0 18px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 0 0 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; }
.faq h2 { font-size: 1.06rem; }
.voice { background: var(--accent-soft); border-radius: 8px; padding: 8px 12px; }
.form-msg { font-weight: 700; }
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
dl.info { display: grid; grid-template-columns: 9em 1fr; gap: 8px 16px; margin: 0; }
dl.info dt { font-weight: 700; color: var(--sub); }
dl.info dd { margin: 0; }
@media (max-width: 560px) { dl.info { grid-template-columns: 1fr; gap: 2px; } dl.info dd { margin-bottom: 10px; } }

/* フッタ */
.site-foot { background: var(--foot-bg); color: var(--foot-ink); margin-top: 24px; padding: 26px 0 14px; }
.site-foot a { color: inherit; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.foot-brand p { font-size: .85rem; opacity: .85; margin: 10px 0 0; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; align-content: start; font-size: .9rem; }
.foot-small { font-size: .78rem; opacity: .75; margin-top: 18px; }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } }

/* 印刷：結果と入力した数字を紙1〜2枚に（ナビ・ボタン・貼りつく帯は出さない） */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-nav, .site-foot .foot-nav, .sticky-sum, .cta, .chips, button, .skip, .hero-art { display: none !important; }
  .site-head, .site-foot { background: none !important; color: #000 !important; }
  .card { border: 1px solid #999; box-shadow: none !important; break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  input, select { border: none; padding: 0; background: none; }
  .bar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.mark .m-bg { fill: var(--mark-bg); }
.mark .m-el { fill: var(--elec); }
.mark .m-line { stroke: var(--mark-bg); }
.art .a-sky { fill: var(--accent-soft); }
.art .a-wall { fill: var(--card); stroke: var(--line); stroke-width: 2; }
.art .a-roof { fill: var(--head-bg); }
.art .a-snow { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.art .a-glow { fill: #ffd27a; }
.art .a-acc { fill: var(--accent); }
.art .a-el { fill: var(--elec); }
.art .a-gas { fill: var(--gas); }
.art .a-kero { fill: var(--kero); }
.art .a-line { stroke: var(--sub); stroke-width: 2; fill: none; stroke-linecap: round; }
.art .a-water { fill: var(--accent); opacity: .85; }

/* ===== トップの「帯」の作り（2026-11-10 午後・20万円の HP の水準へ） =====
   トップは main の幅の箱を外し、帯（band）を全幅で積む。中身は .wrap で幅をそろえる。 */
.page-index main { max-width: none; padding: 0; }
.wrap { max-width: 1080px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.band { padding: 56px 0; }
.band h2 { font-size: clamp(1.35rem, 3.2vw, 1.85rem); line-height: 1.4; margin: 0 0 10px; letter-spacing: .01em; }
.band h2 + .band-lead { margin-top: -2px; }
.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--accent); margin: 0 0 6px; }
.band-lead { color: var(--sub); margin: 0 0 20px; max-width: 44em; }
.fine { font-size: .8rem; color: var(--sub); line-height: 1.6; margin: 10px 0 0; max-width: 60em; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 18px; }
@media (max-width: 760px) { .grid4 { grid-template-columns: 1fr 1fr; } }
.grid4 label { font-size: .9rem; }
.grid4 .unit { font-weight: 400; color: var(--sub); font-size: .78rem; margin-left: .4em; }
.grid4 input { font-size: 1.15rem; font-weight: 700; padding: 10px 12px; font-variant-numeric: tabular-nums; }
.band .kicker + h2 { margin-top: 0; }
.band .fine + .kicker { margin-top: 44px; }
details.panel { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin: 14px 0 0; }
details.panel > summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-weight: 700; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary::after { content: "＋"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
details.panel[open] > summary::after { content: "－"; }
details.panel > summary .panel-sub { font-weight: 400; font-size: .85rem; color: var(--sub); }
details.panel > :not(summary) { margin-left: 18px; margin-right: 18px; }
details.panel > :last-child { margin-bottom: 18px; }
details.panel #devices { margin-top: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 0; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 10px; } }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.fact p { margin: 0; }
.fact-num { font-size: 2rem; font-weight: 800; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fact-num small { font-size: .85rem; font-weight: 600; color: var(--sub); margin-left: .25em; }
.fact-what { font-weight: 700; margin-top: 4px !important; }
.fact-src { font-size: .8rem; color: var(--sub); line-height: 1.55; margin-top: 6px !important; }
.trust-line { font-size: .85rem; color: var(--sub); margin: 16px 0 0; }
@media (max-width: 760px) {
  .band { padding: 40px 0; }
}

/* 下のページの頭：全幅の色の帯にする（はみ出さない＝clip-path で横だけ広げる） */
.page-head { background: var(--band-bg, var(--accent-soft)); box-shadow: 0 0 0 100vmax var(--band-bg, var(--accent-soft)); clip-path: inset(0 -100vmax); padding: 40px 0 30px; margin-bottom: 24px; }
@media print { .page-head { box-shadow: none; clip-path: none; background: none; } .scene, .hero41-copy .trust-mini { display: none !important; } }
@media (max-width: 560px) {
  #results th:nth-child(3), #results td:nth-child(3) { display: none; }
  #results table { font-size: .84rem; }
  #results td:first-child { min-width: 6.5em; }
  .bar-row { grid-template-columns: 7.5em 1fr 4.6em; }
  .fact { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: baseline; padding: 14px 16px; }
  .fact-num { font-size: 1.5rem; grid-row: 1 / 3; }
  .fact-what { margin-top: 0 !important; }
  .fact-src { grid-column: 2; margin-top: 2px !important; }
}

/* 見出しの折り返しをそろえる（1字だけ次の行に落ちない）／下のページの頭の帯に絵（site/head.svg） */
h1, h2, .post-t { text-wrap: balance; }
.page-head { background-image: url("/head.svg"); background-repeat: no-repeat; background-position: right bottom; background-size: auto 150px; padding-right: 0; }
.page-head > * { max-width: min(46em, calc(100% - 300px)); }
@media (max-width: 760px) { .page-head { background-size: auto 80px; padding-bottom: 86px; } .page-head > * { max-width: none; } }

/* ===== 読み物の紙面（計算の例・読み物・よくある質問・使い方）＝build_site.py の article_layout が組む =====
   目次（h2 から）＋本文の2段。本文の中の白い箱は、紙面の区切り（罫線）に変える。 */
.meta-line { font-size: .8rem; margin: 12px 0 0; opacity: .9; letter-spacing: .02em; }
.page-article main { max-width: 1080px; }
.article-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; margin: 8px 0 32px; }
.article-wrap.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
.toc { position: sticky; top: 16px; font-size: .86rem; }
.toc-t { font-size: .74rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; border-top: 1px solid var(--line); }
.toc li:last-child { border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 1.8em 1fr; padding: 9px 2px; color: var(--ink); text-decoration: none; line-height: 1.5; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--accent); }
.article { min-width: 0; }
.article > .card, .article > article.card, .article > section.card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.article > .card:last-of-type { border-bottom: 0; }
.article h2 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.45; margin: 0 0 14px; scroll-margin-top: 16px; }
.article h3 { font-size: 1.05rem; }
.article p, .article li { font-size: 1rem; line-height: 1.9; }
.article .point { padding: 16px 20px; margin: 18px 0; }
.article .point p { font-size: 1.02rem; }
.article .point strong { font-size: 1.15em; }
.article table { font-size: .95rem; }
.article th { background: var(--accent-soft); color: var(--ink); }
.article th, .article td { padding: 10px 10px; }
.article .src { background: var(--accent-soft); border-radius: 12px; padding: 18px 22px !important; border: 0 !important; }
.article .src h2 { font-size: 1rem; }
.article .next { margin-top: 10px; }
.fig { margin: 22px 0 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 10px; }
.fig svg { display: block; width: 100%; height: auto; }
.fig figcaption { font-size: .8rem; color: var(--sub); margin-top: 6px; line-height: 1.55; }
.fig .f-axis { font-size: 12px; fill: var(--sub); }
.fig .f-grid { stroke: var(--line); stroke-width: 1; }
.fig .f-lab { font-size: 13px; font-weight: 700; fill: var(--ink); }
.fig .f-acc { fill: var(--accent); }
.fig .f-accs { stroke: var(--accent); fill: none; stroke-width: 3; }
.fig .f-el { fill: var(--elec); }
.fig .f-kero { fill: var(--kero); }
.fig .f-gas { fill: var(--gas); }
.fig .f-soft { fill: var(--accent-soft); }
@media (max-width: 980px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .toc { position: static; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
}
@media print { .toc { display: none; } .article-wrap { display: block; } }

/* 下のページの頭に写真を敷く時（11-10 午後）＝写真は ::before で画面の端から端まで。box-shadow の全幅は色しか出せないため。
   写真の割り当ては各サイトの theme.css（--ph）。head.svg の絵はこの時は出さない。 */
html { overflow-x: clip; }
.page-head { position: relative; isolation: isolate; }
.page-head::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; }
.c41 .page-head, .c71 .page-head { background-image: none; padding-bottom: 44px; }
.c41 .page-head > *, .c71 .page-head > * { max-width: 46em; }
@media (max-width: 760px) { .c41 .page-head, .c71 .page-head { padding-bottom: 26px; } }

/* 11-10 夕方 qa：スマホで表の見出しが1字だけ折れる・図の字が約9pxで読めない＝見出しは折らずに表を横に送る・図は幅560pxより縮めず横に送る */
.article th { white-space: nowrap; }
@media (max-width: 600px) { .fig { overflow-x: auto; } .fig svg { min-width: 560px; } }

/* ===== 読み物のカード（11-10 夜・社長「下の方のサムネみたいなのがダサい」）＝写真つき。build_site.py の POSTS から作る。
   トップの読み物・読み物の一覧・各記事の下の「ほかの読み物」で同じ部品を使う。 */
.posts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.posts > li { display: flex; min-width: 0; }
.post { display: flex; flex-direction: column; width: 100%; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 14px 34px var(--shadow); border-color: var(--accent); }
.post-ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.post-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post-ph img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; flex: 1; }
.post-tag { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; }
.post-t { font-size: 1.02rem; line-height: 1.5; }
.post-sub { font-size: .84rem; line-height: 1.65; color: var(--sub); flex: 1; }
.post-go { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .84rem; font-weight: 800; color: var(--accent); }
.post-go::after { content: "→"; margin-left: auto; transition: transform .2s; }
.post:hover .post-go::after { transform: translateX(4px); }
.post-min { font-weight: 500; color: var(--sub); font-size: .78rem; }
.posts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-columns .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.page-columns .post-ph { aspect-ratio: 16 / 9; }
.page-columns .post-body { padding: 20px 24px 20px; }
.page-columns .post-t { font-size: 1.18rem; }
.page-columns .post-sub { font-size: .9rem; }
.posts-more { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.posts-more a { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.posts-more a::after { content: "→"; color: var(--accent); }
.posts-more a:hover { border-color: var(--accent); color: var(--accent); }
.page-columns .posts-more { margin-bottom: 36px; }
@media (max-width: 1000px) { .posts, .posts-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .posts, .posts-3, .page-columns .posts { grid-template-columns: 1fr; gap: 12px; }
  .post { flex-direction: row; border-radius: 12px; }
  .post-ph, .page-columns .post-ph { flex: 0 0 34%; aspect-ratio: auto; min-height: 118px; }
  .post-body, .page-columns .post-body { padding: 12px 14px; gap: 4px; }
  .post-t, .page-columns .post-t { font-size: .95rem; }
  .post-sub { display: none; }
  .post-go { margin-top: auto; padding-top: 6px; border-top: 0; font-size: .78rem; }
}

/* 記事の下：「ほかの読み物」と、最後の「計算する」の箱 */
.more-reads { margin: 44px 0 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.more-reads h2 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); margin: 0; }
.end-cta { margin: 26px 0 6px; padding: 26px 28px; border-radius: 16px; background: var(--foot-bg); color: var(--foot-ink); display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; }
.end-cta-t { grid-column: 1; margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.5; color: #fff; }
.end-cta-s { grid-column: 1; margin: 0; font-size: .86rem; line-height: 1.7; opacity: .85; }
.end-cta .cta { grid-column: 2; grid-row: 1 / 3; padding: 13px 22px; border-radius: 12px; font-size: 1rem; white-space: nowrap; }
.end-cta .cta::after { content: " →"; }
@media (max-width: 600px) { .end-cta { grid-template-columns: 1fr; padding: 22px 20px; } .end-cta .cta { grid-column: 1; grid-row: auto; margin-top: 12px; text-align: center; white-space: normal; } }
.article > article.card:last-of-type { padding-bottom: 4px; margin-bottom: 24px; }

/* フッタ（11-10 夜）＝下線の並びをやめ、2つの見出しの下にまとめる */
.site-foot { margin-top: 0; padding: 48px 0 20px; border-top: 4px solid var(--accent); }
.foot-in { grid-template-columns: 1.4fr 1fr; gap: 40px; }
.foot-brand p { max-width: 30em; line-height: 1.8; }
.foot-nav { grid-template-columns: 1fr 1fr; gap: 24px; font-size: .92rem; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-h { font-size: .72rem; font-weight: 800; letter-spacing: .14em; opacity: .6; margin: 0 0 2px; }
.foot-nav a { text-decoration: none; opacity: .92; }
.foot-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot-small { margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 640px) { .site-foot { padding-top: 36px; } .foot-in { grid-template-columns: 1fr; gap: 28px; } }
.post-t, .page-head h1, .band h2, .more-reads h2, .end-cta-t { word-break: auto-phrase; }
.foot-brand p, .post-sub, .end-cta-s { text-wrap: pretty; }

/* 運営者情報・プライバシー＝白い箱の積み重ねをやめ、1枚の紙に（中の箱は罫線の区切り） */
.sheet { max-width: 860px; margin: 0 auto 40px; background: var(--card); border-radius: 18px; padding: 34px 44px 14px; box-shadow: 0 10px 34px var(--shadow); }
.sheet > .card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.sheet > .card:last-child { border-bottom: 0; margin-bottom: 0; }
.sheet h2 { padding-left: 14px; border-left: 4px solid var(--accent); font-size: 1.2rem; }
.sheet p, .sheet li { line-height: 1.9; }
@media (max-width: 760px) { .sheet { padding: 24px 18px 6px; border-radius: 14px; } }

/* 暖房費くらべの色（冬の夜の紺＋炎の橙）。骨組みは sites/common/base.css */
:root {
  --bg: #f7f3ec; --card: #ffffff; --input-bg: #fbf9f5; --ink: #1f1c18; --sub: #645c51; --line: #e3dccf;
  --accent: #c2410c; --accent-ink: #ffffff; --accent-soft: #fdeadf; --link: #b23a0a; --shadow: rgba(60, 40, 20, .10);
  --head-bg: #1f3a5f; --head-ink: #f4f1ea; --nav-hover: rgba(255, 255, 255, .10); --nav-current: rgba(255, 255, 255, .20);
  --foot-bg: #182c47; --foot-ink: #e7e3da; --mark-bg: #e8742f;
  --elec: #2563eb; --kero: #d9560f; --gas: #0f766e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171c; --card: #1f2229; --input-bg: #191b21; --ink: #ece8e1; --sub: #b0a899; --line: #343842;
    --accent: #f08a4b; --accent-ink: #1a1208; --accent-soft: #3a261a; --link: #f5a06b; --shadow: rgba(0, 0, 0, .35);
    --head-bg: #10233b; --foot-bg: #0d1b2e; --mark-bg: #e8742f;
    --elec: #6aa1ff; --kero: #f08a4b; --gas: #2dd4bf;
  }
}

/* ===== 暖房費くらべの型（2026-11-10 午後）＝冬の夜の家並みを全幅で・答えのカードを最初の画面に。
   給湯費くらべ（明るい紙面・明朝の見出し・データの絵）とは型を変えてある。 */
:root { --night1: #142a47; --night2: #1f3a5f; --night3: #2b4b78; --band-bg: #1f3a5f; }
.c41 .site-head { background: var(--night1); }
.hero41 { position: relative; color: #f4f1ea; background:
  radial-gradient(circle at 82% 18%, rgba(255, 214, 140, .22), transparent 22%),
  radial-gradient(1.6px 1.6px at 12% 22%, #fff 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 28% 64%, #fff 50%, transparent 51%),
  radial-gradient(1.8px 1.8px at 44% 30%, #fff 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 58% 70%, #fff 50%, transparent 51%),
  radial-gradient(1.6px 1.6px at 6% 78%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 36% 12%, #fff 50%, transparent 51%),
  radial-gradient(1.6px 1.6px at 50% 50%, #fff 50%, transparent 51%),
  linear-gradient(180deg, var(--night1) 0%, var(--night2) 55%, var(--night3) 100%);
  padding: 44px 0 0; overflow: hidden; }
.hero41-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero41 .eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: #ffd8b8; border: 1px solid rgba(255, 216, 184, .45); border-radius: 999px; padding: 3px 14px; margin: 0 0 18px; }
.hero41 h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.22; margin: 0 0 18px; letter-spacing: .01em; font-weight: 900; }
.hero41 h1 .em { color: #ffb27a; }
.hero41 .lead { color: #d9e1ec; font-size: 1.04rem; margin: 0 0 22px; max-width: 30em; }
.trust-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust-mini li { font-size: .8rem; color: #d9e1ec; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; padding: 4px 10px; }
.trust-mini strong { color: #fff; font-size: .95rem; }
.answer { background: #fffdf9; color: #1f1c18; border-radius: 20px; padding: 22px 24px 18px; box-shadow: 0 24px 60px rgba(5, 15, 30, .45); }
.answer-label { font-weight: 800; font-size: 1.05rem; margin: 0; }
.answer-label span { font-weight: 500; font-size: .85rem; color: #645c51; }
.answer-cond { font-size: .78rem; color: #645c51; margin: 2px 0 12px; }
.ans-rows { list-style: none; margin: 0; padding: 0; }
.ans-row { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 12px; border-radius: 14px; border: 1px solid #ece4d6; margin: 0 0 8px; background: #fff; }
.ans-row.best { border: 2px solid #2563eb; background: #f3f7ff; padding-top: 18px; }
.ans-row.best.kero { border-color: #d9560f; background: #fff6ef; }
.ans-icon { width: 44px; height: 44px; }
.ans-name { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.ans-n { font-weight: 700; font-size: .98rem; }
.ans-q { font-size: .76rem; color: #645c51; }
.ans-val { text-align: right; white-space: nowrap; }
.ans-yen { font-size: 1.9rem; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ans-row.best .ans-yen { color: #1d4ed8; }
.ans-row.best.kero .ans-yen { color: #c2410c; }
.ans-unit { font-size: .8rem; font-weight: 700; color: #645c51; margin-left: 2px; }
.ans-badge { position: absolute; top: -10px; left: 12px; background: #2563eb; color: #fff; font-size: .72rem; font-weight: 800; border-radius: 999px; padding: 2px 10px; }
.ans-row.best.kero .ans-badge { background: #d9560f; }
.ans-diff { margin: 12px 0 0; font-size: .95rem; line-height: 1.6; }
.ans-diff strong { display: inline-block; font-size: 1.3rem; color: #c2410c; margin: 0 .2em; }
.ans-season { display: block; font-size: .82rem; color: #645c51; }
.answer .warn { margin: 10px 0 0; }
.answer-go { display: block; text-align: center; margin: 14px 0 0; padding: 12px; border-radius: 12px; background: #c2410c; color: #fff; font-weight: 800; text-decoration: none; }
.answer-go:hover { filter: brightness(1.08); }
.scene { display: block; width: 100%; height: 200px; margin-top: 18px; }
.ans-empty { color: #645c51; padding: 12px 0; }
@media (max-width: 860px) {
  .hero41 { padding-top: 24px; }
  .hero41-in { grid-template-columns: 1fr; gap: 18px; }
  .hero41 h1 { font-size: 2rem; margin-bottom: 10px; }
  .hero41 .lead { font-size: .94rem; margin-bottom: 0; }
  .hero41 .eyebrow { margin-bottom: 12px; font-size: .74rem; }
  .trust-mini { display: none; }
  .answer { padding: 16px 14px 14px; border-radius: 16px; }
  .ans-row { grid-template-columns: 36px 1fr auto; gap: 10px; padding: 10px; }
  .ans-row.best { padding-top: 16px; }
  .ans-icon { width: 36px; height: 36px; }
  .ans-yen { font-size: 1.55rem; }
  .scene { height: 110px; margin-top: 8px; }
}
.c41 .band-input { background: var(--bg); }
.c41 .band-detail { background: #fff; }
.c41 .band-trust { background: #eef2f7; }
.c41 .band-read { background: var(--bg); }
.c41 .page-head { color: #f4f1ea; }
.c41 .page-head .lead, .c41 .page-head .date { color: #d0d9e6; }
.c41 .page-head a { color: #ffd2b0; }
@media (prefers-color-scheme: dark) {
  .c41 .band-detail { background: var(--card); }
  .c41 .band-trust { background: #1a1e26; }
  :root { --band-bg: #10233b; }
}
.answer-ref { font-size: .82rem; font-weight: 700; color: #9a3412; margin: 2px 0 2px; }

/* 読み物の紙面（暖房）＝クリーム地の上に白い1枚の紙・目次は左 */
.c41 .article { background: var(--card); border-radius: 18px; padding: 36px 44px 20px; box-shadow: 0 10px 34px var(--shadow); }
.c41 .article h2 { padding-left: 14px; border-left: 4px solid var(--accent); }
.c41 .article .src h2 { border-left: 0; padding-left: 0; }
@media (max-width: 760px) { .c41 .article { padding: 24px 18px 8px; border-radius: 14px; } }

/* ===== 写真（11-10 午後・本社「無料の素材で足してよい」）＝出どころは sites/photos.md。
   上に紺の膜を重ねて文字を読めるようにする。スマホは幅900pxの -s を読む。 */
.hero41 { background:
  linear-gradient(90deg, rgba(14, 30, 52, .93) 0%, rgba(14, 30, 52, .70) 38%, rgba(14, 30, 52, .10) 70%, rgba(14, 30, 52, .25) 100%),
  url("/img/night-house.jpg") center 62% / cover no-repeat, var(--night1);
  padding-bottom: 56px; }
.hero41 .scene { display: none; }
.c41 .page-head::before { background-color: var(--night2); background-image: linear-gradient(90deg, rgba(14, 30, 52, .94) 0%, rgba(14, 30, 52, .72) 50%, rgba(14, 30, 52, .25) 100%), var(--ph, url("/img/street.jpg")); background-size: cover; background-position: center; padding: 56px 0 44px; }
.c41.page-example, .c41.page-columns, .c41.page-about, .c41.page-contact, .c41.page-privacy, .c41.page-404 { --ph: url("/img/street.jpg"); }
.c41.page-column-cop, .c41.page-column-shutsuryoku { --ph: url("/img/heater.jpg"); }
.c41.page-faq, .c41.page-guide { --ph: url("/img/street.jpg"); }
.c41.page-column-tanka { --ph: url("/img/night-window.jpg"); }
@media (max-width: 860px) {
  .hero41 { background:
    linear-gradient(180deg, rgba(14, 30, 52, .25) 0%, rgba(14, 30, 52, .85) 32%, rgba(14, 30, 52, .96) 100%),
    url("/img/night-house-s.jpg") 60% top / cover no-repeat, var(--night1); padding-bottom: 32px; }
  .c41 .page-head { padding: 34px 0 26px; }
  .c41.page-example, .c41.page-columns, .c41.page-about, .c41.page-contact, .c41.page-privacy, .c41.page-404 { --ph: url("/img/street-s.jpg"); }
  .c41.page-column-cop, .c41.page-column-shutsuryoku { --ph: url("/img/heater-s.jpg"); }
  .c41.page-faq, .c41.page-guide { --ph: url("/img/street-s.jpg"); }
  .c41.page-column-tanka { --ph: url("/img/night-window-s.jpg"); }
}
