/* 売るサイト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: #f1f6f6; --card: #ffffff; --input-bg: #f7fafa; --ink: #15201f; --sub: #55625f; --line: #d6e2e1;
  --accent: #0e7490; --accent-ink: #ffffff; --accent-soft: #dff1f4; --link: #0b6580; --shadow: rgba(10, 50, 60, .10);
  --head-bg: #ffffff; --head-ink: #0e3b45; --nav-hover: #e6f1f2; --nav-current: #cfe7ea;
  --foot-bg: #0e3b45; --foot-ink: #e3eeee; --mark-bg: #0e7490;
  --elec: #2563eb; --kero: #c2410c; --gas: #0f766e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a1c; --card: #182326; --input-bg: #142022; --ink: #e5eeee; --sub: #9fb1b0; --line: #2c3c3f;
    --accent: #3cc3dc; --accent-ink: #062126; --accent-soft: #163339; --link: #6fd3e6; --shadow: rgba(0, 0, 0, .35);
    --head-bg: #142124; --head-ink: #e5eeee; --nav-hover: #1d2f33; --nav-current: #24414a;
    --foot-bg: #0b2328; --mark-bg: #0e7490;
    --elec: #6aa1ff; --kero: #f0874b; --gas: #2dd4bf;
  }
}
.c71 .site-head { border-bottom: 3px solid var(--accent); }
.c71 .card { border-radius: 8px; }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 4px; }
@media (max-width: 560px) { .months { grid-template-columns: repeat(4, 1fr); } }
.months label { font-weight: 400; font-size: .85rem; }
.months input { padding: 6px; }
.months input:disabled { color: var(--sub); }
p.heat { font-size: .9rem; color: var(--sub); margin: 0 0 6px; }
.payback p { font-weight: 600; }

/* ===== 給湯費くらべの型（2026-11-10 午後）＝明るい紙面・明朝の見出し・データそのものを絵に（札幌の水温の図）。
   暖房費くらべ（冬の夜の家並み・答えのカード）とは型を変えてある。 */
:root { --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "BIZ UDPMincho", serif; --band-bg: #e4f1f3; }
.c71 h1, .c71 .band h2, .c71 .page-head h1 { font-family: var(--mincho); font-weight: 700; }
.hero71 { background: linear-gradient(180deg, #ffffff 0%, #eef7f8 100%); border-bottom: 1px solid var(--line); padding: 52px 0 44px; }
.hero71-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; }
.hero71 .eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); margin: 0 0 14px; padding-left: 34px; position: relative; }
.hero71 .eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--accent); }
.hero71 h1 { font-size: clamp(1.75rem, 3.9vw, 2.6rem); line-height: 1.3; margin: 0 0 18px; color: #0e3b45; letter-spacing: .02em; }
.hero71 h1 .em { color: var(--accent); }
.hero71 .lead { color: var(--sub); margin: 0 0 24px; max-width: 30em; }
.cta71 { display: inline-block; background: #0e3b45; color: #fff; text-decoration: none; font-weight: 700; padding: 13px 26px; border-radius: 4px; letter-spacing: .04em; }
.cta71::after { content: " →"; }
.cta71:hover { background: var(--accent); }
.hero71-fig { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 18px 12px; box-shadow: 0 18px 48px rgba(14, 59, 69, .10); }
.hero71-chart { width: 100%; height: auto; display: block; }
.hero71-fig figcaption { font-size: .72rem; color: var(--sub); margin-top: 6px; line-height: 1.5; }
.num-kicker { display: flex; align-items: baseline; gap: 12px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); margin: 0 0 8px; border-top: 1px solid #0e3b45; padding-top: 12px; }
.num-kicker span { font-family: var(--mincho); font-size: 1.9rem; line-height: 1; color: #0e3b45; letter-spacing: 0; }
.c71 .band { padding: 64px 0; }
.c71 .band h2 { color: #0e3b45; }
.band-result { background: #fff; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin: 8px 0 0; }
.tile { position: relative; padding: 22px 22px 18px; border-right: 1px solid var(--line); background: #fff; }
.tile:last-child { border-right: 0; }
.tile.best { background: #f0f8fa; box-shadow: inset 0 4px 0 var(--accent); }
.tile-badge { position: absolute; top: 14px; right: 14px; font-size: .72rem; font-weight: 700; color: #fff; background: var(--accent); padding: 2px 10px; border-radius: 2px; }
.tile-head { display: flex; align-items: center; gap: 10px; }
.tile-icon { width: 40px; height: 40px; flex: none; }
.tile-name { font-weight: 700; }
.tile-val { margin: 14px 0 0; white-space: nowrap; }
.tile-yen { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #0e3b45; }
.tile.best .tile-yen { color: var(--accent); }
.tile-unit { font-size: .9rem; font-weight: 700; color: var(--sub); margin-left: 4px; }
.tile-sub { margin: 0; font-size: .82rem; color: var(--sub); }
.diff71 { margin: 18px 0 0; font-size: 1rem; }
.diff71 strong { font-size: 1.45rem; color: var(--accent); margin: 0 .25em; }
.diff-sub { display: block; font-size: .82rem; color: var(--sub); }
.chart-box { margin: 28px 0 0; }
.chart-title { font-weight: 700; margin: 0 0 6px; font-size: .95rem; }
.mchart { width: 100%; height: auto; display: block; }
.mchart .g-grid { stroke: var(--line); stroke-width: 1; }
.mchart .g-axis { font-size: 12px; fill: var(--sub); }
.mchart .g-eco { fill: var(--elec); }
.mchart .g-gas { fill: var(--gas); }
.mchart .g-kero { fill: var(--kero); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--sub); margin: 6px 0 0; }
.lg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; background: var(--elec); }
.lg-gas::before { background: var(--gas); }
.lg-kero::before { background: var(--kero); }
.lg-note { margin-left: auto; }
.c71 #results p.heat { margin-top: 18px; }
.c71 .band-input { background: #f4f9f9; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.pick button { min-width: 64px; padding: 10px 14px; border-radius: 4px; border: 1px solid #0e3b45; background: #fff; color: #0e3b45; font-weight: 700; font-size: 1rem; }
.pick button[aria-pressed="true"] { background: #0e3b45; color: #fff; }
.use4 select { font-size: 1rem; padding: 11px 10px; }
.c71 details.panel { border-radius: 6px; }
.c71 details.panel > summary::after { border-radius: 4px; }
.c71 .band-trust { background: #fff; }
.facts4 { grid-template-columns: repeat(4, 1fr); }
.c71 .fact { border-radius: 4px; border-width: 0 0 0 3px; border-color: var(--accent); background: #f4f9f9; }
.c71 .fact-num { color: #0e3b45; }
.c71 .band-read { background: #f4f9f9; }
.c71 .page-head { border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .facts4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .hero71 { padding: 26px 0 24px; }
  .hero71-in { grid-template-columns: 1fr; gap: 18px; }
  .hero71 h1 { font-size: 1.85rem; margin-bottom: 10px; }
  .hero71 .lead { font-size: .92rem; margin-bottom: 14px; }
  .cta71 { display: block; text-align: center; margin-top: 4px; }
  .hero71-fig { padding: 10px 10px 6px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .tile:last-child { border-bottom: 0; }
  .tile-val { margin: 0; grid-column: 2; grid-row: 1 / 4; text-align: right; }
  .tile-yen { font-size: 1.8rem; }
  .tile-sub { grid-column: 1; }
  .tile-badge { position: static; justify-self: start; grid-column: 1; margin-bottom: 4px; }
  .c71 .band { padding: 40px 0; }
}
@media (max-width: 560px) { .facts4 { grid-template-columns: 1fr; } .hero71 .lead { display: none; } .hero71-fig figcaption { font-size: .66rem; } .pick { gap: 6px; } .pick button { min-width: 0; flex: 1; padding: 10px 0; } }
@media (prefers-color-scheme: dark) {
  .hero71 { background: linear-gradient(180deg, #111a1c, #142326); }
  .hero71 h1, .c71 .band h2, .num-kicker span, .tile-yen, .c71 .fact-num { color: #e5eeee; }
  .num-kicker { border-top-color: #9fb1b0; }
  .band-result, .tile, .c71 .band-trust { background: var(--card); }
  .c71 .band-input, .c71 .band-read, .c71 .fact { background: #142022; }
  .tile.best { background: #163339; }
  .pick button { background: var(--card); color: var(--ink); border-color: var(--sub); }
  .pick button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
  .cta71 { background: var(--accent); color: var(--accent-ink); }
  :root { --band-bg: #163339; }
}
.hero-quick { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 4px; padding: 12px 16px; margin: 0 0 22px; max-width: 30em; }
.hero-quick:empty { display: none; }
.hq-label { display: block; font-size: .74rem; font-weight: 700; color: var(--sub); letter-spacing: .06em; }
.hq-line { font-weight: 700; }
.hq-line strong { font-size: 1.7rem; color: var(--accent); font-variant-numeric: tabular-nums; margin: 0 .1em; }
.hq-sub { display: block; font-size: .86rem; color: #0e3b45; font-weight: 600; }
@media (max-width: 860px) { .hero-quick { margin-bottom: 4px; } }
@media (prefers-color-scheme: dark) { .hero-quick { background: var(--card); } .hq-sub { color: var(--ink); } }

/* 読み物の紙面（給湯）＝紙を敷かず罫線で区切る・目次は右・見出しは明朝 */
.c71 .article-wrap { grid-template-columns: minmax(0, 1fr) 220px; }
.c71 .toc { order: 2; }
.c71 .article h2 { font-family: var(--mincho); color: #0e3b45; border-top: 2px solid #0e3b45; padding-top: 14px; }
.c71 .article .src h2 { border-top: 0; padding-top: 0; font-family: inherit; }
.c71 .article .point { border-left-width: 3px; border-radius: 0 4px 4px 0; }
.c71 .fig { border-radius: 4px; }
@media (max-width: 980px) { .c71 .article-wrap { grid-template-columns: minmax(0, 1fr); } .c71 .toc { order: 0; border-radius: 4px; } }
@media (prefers-color-scheme: dark) { .c71 .article h2 { color: var(--ink); border-top-color: var(--sub); } }

/* ===== 写真（11-10 午後・本社「無料の素材で足してよい」）＝出どころは sites/photos.md。
   明るい紙面の型のまま、左は白い膜で文字を読ませ、右に写真が透ける。スマホは幅900pxの -s。 */
.hero71 { background:
  linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .90) 40%, rgba(255, 255, 255, .05) 75%),
  url("/img/ice.jpg") center 60% / cover no-repeat, #eef7f8; }
.c71 .page-head::before { background-color: var(--band-bg); background-image: linear-gradient(90deg, rgba(244, 249, 249, .98) 0%, rgba(244, 249, 249, .90) 45%, rgba(244, 249, 249, .05) 85%), var(--ph, url("/img/faucet.jpg")); background-size: cover; background-position: center; padding: 56px 0 44px; }
.c71.page-example { --ph: url("/img/faucet.jpg"); } .c71.page-column-gannen { --ph: url("/img/steam.jpg"); } .c71.page-column-yakan { --ph: url("/img/night-snow.jpg"); }
.c71.page-column-suion, .c71.page-columns { --ph: url("/img/ice.jpg"); }
.c71.page-faq, .c71.page-guide, .c71.page-about, .c71.page-contact, .c71.page-privacy, .c71.page-404 { --ph: url("/img/faucet.jpg"); }
@media (max-width: 860px) {
  .hero71 { background:
    linear-gradient(180deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .92) 30%, rgba(255, 255, 255, .97) 100%),
    url("/img/ice-s.jpg") center top / 100% auto no-repeat, #eef7f8; }
  .c71 .page-head { padding: 34px 0 26px; }
  .c71 .page-head::before { background-image: linear-gradient(90deg, rgba(244, 249, 249, .96) 0%, rgba(244, 249, 249, .86) 100%), var(--ph, url("/img/faucet-s.jpg")); }
  .c71.page-example { --ph: url("/img/faucet-s.jpg"); } .c71.page-column-gannen { --ph: url("/img/steam-s.jpg"); } .c71.page-column-yakan { --ph: url("/img/night-snow-s.jpg"); }
  .c71.page-column-suion, .c71.page-columns { --ph: url("/img/ice-s.jpg"); }
  .c71.page-faq, .c71.page-guide, .c71.page-about, .c71.page-contact, .c71.page-privacy, .c71.page-404 { --ph: url("/img/faucet-s.jpg"); }
}
@media (prefers-color-scheme: dark) {
  .hero71 { background: linear-gradient(90deg, rgba(17, 26, 28, .97) 0%, rgba(17, 26, 28, .9) 45%, rgba(17, 26, 28, .45) 100%), url("/img/ice.jpg") center 60% / cover no-repeat, #111a1c; }
  .c71 .page-head::before { background-image: linear-gradient(90deg, rgba(20, 32, 34, .97) 0%, rgba(20, 32, 34, .88) 55%, rgba(20, 32, 34, .5) 100%), var(--ph, url("/img/faucet.jpg")); }
}

/* 11-10 夕方 qa：スマホで「1／年」が1字だけ次の行に落ちた */
.hero-quick, .diff71, .tile-sub { text-wrap: pretty; }

/* 読み物のカード（給湯）＝角を小さく・題は明朝 */
.c71 .post { border-radius: 8px; box-shadow: none; }
.c71 .post-t { font-family: var(--mincho); color: #0e3b45; font-size: 1.06rem; }
.c71 .page-columns .post-t, .c71.page-columns .post-t { font-size: 1.22rem; }
.c71 .post-tag { border-radius: 4px; }
.c71 .more-reads h2 { font-family: var(--mincho); color: #0e3b45; }
@media (prefers-color-scheme: dark) { .c71 .post-t, .c71 .more-reads h2 { color: var(--ink); } }
.c71 .sheet { border-radius: 8px; }
.c71 .sheet h2 { font-family: var(--mincho); color: #0e3b45; border-left: 0; padding-left: 0; border-top: 2px solid #0e3b45; padding-top: 14px; }
@media (prefers-color-scheme: dark) { .c71 .sheet h2 { color: var(--ink); border-top-color: var(--sub); } }
/* 夜の料金の頭は写真が暗い＝題の終わりが沈まないよう、白い膜を右まで厚くする */
@media (prefers-color-scheme: light) { .c71.page-column-yakan .page-head::before { background-image: linear-gradient(90deg, rgba(244, 249, 249, .98) 0%, rgba(244, 249, 249, .93) 62%, rgba(244, 249, 249, .45) 100%), var(--ph); } }
