/* 全施工店で共通。スマホ1列: 写真のファーストビュー → 先頭の質問（住まいの種類）→ 残りを1枚で入れるカード → 地域の施工店の安心 → 写真 → 次の4ステップ → 会社情報。
   申込後のページも同じ部品。明るい1テーマで固定。--company / --brand / --brand-deep / --brand-light / --tint は src/pages/common.js の themeVars が .page に入れる（電気代の訴求は全社オレンジ、ほかの色も上書き）*/
:root {
  --step: #ee7f23;
  /* 押すところ（先頭の質問・送信ボタン・次はここ）は、訴求の色によらずオレンジ。LP は palette で上書きする */
  --cta: #cc4a0a;
  --cta-light: #f0781c;
  --cta-deep: #a33b06;
  --badge: #ffd84d;
  --gold: #ffe27a;
  --line-green: #06c755;
  --line-soft: #ecf9f0;
  --ink: #16243a;
  --muted: #5a6778;
  --line: #d3deea;
  --edge: #c9dcef;
  --rail: #bcd3e8;
  --dot: #d9e5ef;
  --surface: #f6faff;
  --field: #f6f9fc;
  --paper: #ffffff;
  --stage: #dde5ee;
  --err: #b42318;
  --err-soft: #fdecea;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --num: "Archivo", "Noto Sans JP", "Arial Black", sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; }
/* 画像で出す段 */
.shot { display: block; width: 100%; height: auto; }
body { margin: 0; background: var(--stage); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.6; }
.in { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
h1, h2, h3, p, ol, dl, dd { margin: 0; padding: 0; }
ol { list-style: none; }
button { font: inherit; color: inherit; }
button:focus-visible, .opt input:focus-visible + span, input:focus-visible { outline: 3px solid var(--step); outline-offset: 2px; }

.page { max-width: 640px; margin: 0 auto; background: var(--paper); }

/* 社名の帯 */
.brandbar { background: var(--paper); padding-block: 8px; }
.brandbar .in { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.co { display: grid; min-width: 0; line-height: 1.25; }
.co small { font-size: 10.5px; font-weight: 500; }
.co b { font-size: 17px; font-weight: 900; color: var(--company); }
.co img { display: block; height: 30px; width: auto; max-width: 180px; }
.limit { font-size: 12px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }

/* ファーストビュー */
.fv { position: relative; isolation: isolate; background: 50% 60% / cover no-repeat; padding-block: 10px 0; text-align: center; }
.fv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.82) 0, rgba(255,255,255,.55) 45%, rgba(255,255,255,.12) 100%); }
.eyebrow { font-size: clamp(15px, 4.5vw, 20px); font-weight: 900; line-height: 1.4; }
.eyebrow em { font-style: normal; color: var(--brand); }
.mainword { font-size: clamp(66px, 20vw, 96px); font-weight: 900; line-height: 1.12; letter-spacing: .02em; color: var(--brand); -webkit-text-stroke: 10px #fff; paint-order: stroke fill; filter: drop-shadow(0 3px 5px rgba(0,0,0,.3)); }
.lead { display: inline-block; margin-top: 4px; background: var(--brand); color: #fff; font-size: clamp(13.5px, 3.9vw, 16px); font-weight: 700; border-radius: 999px; padding: 5px 18px; }
.stats { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.stat { flex: 1 1 0; min-width: 0; max-width: 60%; display: grid; gap: 2px; align-content: start; }
.stat .box { background: var(--paper); border: 2px solid var(--edge); border-radius: 10px; padding: 6px 2px 7px; }
.stat .k { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.stat .k::after { content: ""; display: block; width: 58%; height: 2px; margin: 1px auto 2px; background: #c9a24a; }
.stat .v { font-weight: 900; font-size: clamp(18px, 5.3vw, 25px); line-height: 1.15; color: var(--brand); white-space: nowrap; }
.stat .v .d { font-family: var(--num); font-weight: 800; }
.stat .v small { font-size: 12px; font-weight: 900; }
.stat .n { font-size: 10.5px; font-weight: 500; color: var(--ink); line-height: 1.35; text-shadow: 0 0 4px #fff, 0 0 4px #fff; }
.arw { width: 0; height: 0; margin: 10px auto 8px; border-left: 34px solid transparent; border-right: 34px solid transparent; border-top: 22px solid var(--cta); }

/* 先頭の質問（住まいの種類）。ファーストビューのすぐ下で、最初の画面のうちに選べる */
.formwrap { background: var(--tint); border-top: 3px solid var(--cta); padding-block: 12px 18px; }
.q { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 900; line-height: 1.35; color: var(--ink); }
.q i { flex: none; font-style: normal; font-family: var(--num); font-size: 13px; font-weight: 800; color: #fff; background: var(--brand-deep); border-radius: 999px; padding: 3px 10px; }
.q small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.q1 { display: grid; gap: 9px; }
.opts { display: grid; gap: 9px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opts.two .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; justify-content: center; min-height: 50px; height: 100%; text-align: center; font-size: 16px; font-weight: 700; line-height: 1.3; border: 2px solid var(--line); border-radius: 12px; padding: 8px 6px; background: var(--paper); word-break: keep-all; overflow-wrap: anywhere; }
.opt input:checked + span { border-color: var(--brand); background: var(--tint); color: var(--brand-deep); box-shadow: inset 0 0 0 1px var(--brand); }
.q1 .opt span { flex-direction: column; gap: 3px; min-height: 84px; font-size: 16.5px; font-weight: 900; border: 3px solid var(--cta); border-radius: 14px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cta) 18%, transparent), 0 4px 0 var(--cta-deep); }
.q1 .opt svg { width: 26px; height: 26px; color: var(--cta); }
.q1 .opt input:checked + span { border-color: var(--cta); background: var(--cta); color: #fff; box-shadow: 0 2px 0 var(--cta-deep); }
.q1 .opt input:checked + span svg { color: #fff; }
/* 選ぶまで、ボタンの外側の枠だけ点滅させる（中と文字は動かさない） */
@keyframes q1blink { 0%, 100% { box-shadow: 0 0 0 6px transparent, 0 4px 0 var(--cta-deep); } 50% { box-shadow: 0 0 0 6px #ffbf00, 0 4px 0 var(--cta-deep); } }
.q1:not(:has(input:checked)) .opt span { animation: q1blink 1.1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .q1 .opt span { animation: none !important; } }
.q1hint { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--cta); }
.q1hint.ok { text-align: left; font-size: 15px; color: var(--muted); }
.q1hint.ok em { font-style: normal; font-weight: 900; color: var(--err); }
/* 次に入れる項目は、ボタンの色の枠で示す */
.card .next .opt span, .card .next input { border-color: var(--cta); }
.warn { font-size: 13px; line-height: 1.5; color: var(--err); background: var(--err-soft); border-radius: 8px; padding: 8px 10px; }
.notice { font-size: 13px; line-height: 1.5; color: var(--brand-deep); background: var(--tint); border-radius: 8px; padding: 8px 10px; }

/* 残りを1枚で入れるカード */
.card { background: var(--paper); border: 3px solid var(--brand); border-radius: 20px; padding: 14px 16px 20px; display: grid; gap: 16px; scroll-margin-top: 8px; }
.progress { display: flex; align-items: center; gap: 10px; }
.bar { flex: 1 1 0; height: 9px; border-radius: 999px; background: var(--dot); overflow: hidden; }
.bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--step); transition: width .2s ease-out; }
.count { font-size: 14px; font-weight: 900; color: var(--step); white-space: nowrap; }
.qa { display: grid; gap: 9px; }
.field { display: grid; gap: 4px; }
.field label { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; color: var(--brand); }
.req { font-size: 10.5px; color: #fff; background: var(--cta); border-radius: 4px; padding: 0 6px; font-weight: 700; line-height: 1.7; }
.field input { width: 100%; font: inherit; font-size: 16px; padding: 12px 13px; border: 2px solid var(--line); border-radius: 10px; background: var(--field); color: var(--ink); }
.field input:focus { background: var(--paper); border-color: var(--brand); }
.hint { font-size: 12.5px; color: var(--muted); }
.err { font-size: 13px; font-weight: 700; color: var(--err); }
.err:empty { display: none; }
.agree { font-size: 12.5px; color: var(--muted); }

/* 送信ボタン */
.ctaw { position: relative; margin-top: 4px; }
.cta { display: block; width: 100%; border: 0; border-radius: 16px; background: linear-gradient(180deg, var(--cta-light) 0, var(--cta) 100%); box-shadow: 0 5px 0 var(--cta-deep); color: #fff; padding: 11px 8px 13px 62px; cursor: pointer; text-align: center; }
.cta .s { display: block; font-size: 12px; font-weight: 700; }
.cta .m { display: block; font-size: clamp(20px, 6vw, 25px); font-weight: 900; line-height: 1.25; }
.burst { position: absolute; left: -8px; top: -10px; width: 74px; height: 74px; pointer-events: none; display: grid; place-items: center; }
.burst svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.burst polygon { fill: var(--badge); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.burst span { position: relative; font-size: 12.5px; font-weight: 900; line-height: 1.15; text-align: center; color: var(--ink); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 4px; }
.trust span { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.trust svg { width: 13px; height: 13px; color: #2e7d1e; flex: none; }

/* 地域の施工店の安心 */
.safe { background: var(--tint); padding-block: 4px 18px; }
.safe .panel { background: var(--brand); border-radius: 16px; padding: 0 10px 12px; }
.ttl { display: block; width: fit-content; margin: 0 auto 10px; transform: translateY(-1px) skewX(-8deg); background: var(--brand-deep); color: #fff; font-size: 17px; font-weight: 900; padding: 5px 20px; }
.ttl > * { display: block; transform: skewX(8deg); }
.safe .row { display: flex; gap: 7px; }
.safe .c { flex: 1 1 0; min-width: 0; background: var(--paper); border-radius: 12px; padding: 10px 5px 11px; text-align: center; display: grid; gap: 4px; justify-items: center; align-content: start; }
.safe .c svg { width: 30px; height: 30px; color: var(--brand); }
.safe .c b { font-size: 15px; font-weight: 900; color: var(--brand); line-height: 1.3; }
.safe .c span { font-size: 11.5px; line-height: 1.4; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }

/* 写真 */
.people { background: var(--tint); padding-block: 0 18px; }
.people figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--line); }
.people img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 4.2; object-fit: cover; object-position: 50% 45%; }
.people figcaption { position: absolute; inset: auto 0 0; background: var(--brand); color: #fff; font-size: 17px; font-weight: 900; text-align: center; letter-spacing: .06em; padding: 6px 0 7px; }
.eg { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(22,36,58,.75); border-radius: 999px; padding: 1px 9px; }

/* 次の4ステップ */
.flow { background: var(--tint); padding-block: 0 20px; }
.flow .box { background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 14px 12px 14px 14px; }
.tag { display: inline-block; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 2px 13px; }
.flow h2 { font-size: 18px; font-weight: 900; line-height: 1.35; margin: 6px 0 12px; }
.flow h2 em { font-style: normal; color: var(--brand); font-size: 21px; }
.tl { display: grid; gap: 10px; }
.tl li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.tl li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: -10px; width: 4px; background: var(--rail); }
.num { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--brand); background: var(--paper); color: var(--brand); font-family: var(--num); font-weight: 800; font-size: 15px; }
.num svg { width: 16px; height: 16px; }
.now .num { background: var(--cta); border-color: var(--cta); color: #fff; }
.done .num { background: #2e9d4e; border-color: #2e9d4e; color: #fff; }
.tc { position: relative; background: var(--paper); border: 1.5px solid var(--line); border-radius: 13px; padding: 9px 12px 10px; display: grid; gap: 2px; min-width: 0; }
.now .tc { border: 2px solid var(--cta); }
.when { justify-self: start; font-size: 11.5px; font-weight: 700; color: var(--brand); background: var(--tint); border-radius: 6px; padding: 0 7px; }
.done .when { color: #1f7a3a; background: #e6f6ea; }
.tc h3 { font-size: 16px; font-weight: 900; line-height: 1.4; }
.tc p { font-size: 13.5px; line-height: 1.5; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.nexthere { position: absolute; top: -12px; right: 8px; background: var(--cta); color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 1px 12px; }
.lineok { margin-top: 5px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 9px; align-items: center; background: var(--line-soft); border: 1.5px solid var(--line-green); border-radius: 10px; padding: 6px 9px; }
.lineok div b { display: block; font-size: 14px; font-weight: 900; color: #079a44; line-height: 1.35; }
.lineok div span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.lineic { width: 38px; height: 38px; border-radius: 10px; background: var(--line-green); color: #fff; display: grid; place-items: center; font-family: var(--num); font-size: 11px; font-weight: 800; }

/* 運営会社 */
.company { background: var(--brand); color: #fff; padding-block: 16px 22px; }
.company h2 { text-align: center; font-size: 17px; font-weight: 900; }
.company .sub { text-align: center; font-size: 12px; margin-bottom: 10px; }
.company .map { margin-bottom: 10px; }
.company .map iframe { display: block; width: 100%; height: 220px; border: 0; border-radius: 14px; background: var(--paper); }
.company .map figcaption { margin-top: 6px; text-align: center; font-size: 13.5px; font-weight: 700; }
.company .map figcaption b { font-family: var(--num); font-size: 19px; font-weight: 800; margin: 0 4px 0 2px; }
.company .map figcaption small { font-size: 12.5px; font-weight: 500; }
.company .sheet { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 14px 16px; display: grid; gap: 7px; font-size: 14px; }
.company .sheet b { font-size: 19px; font-weight: 900; color: var(--brand); }
.company dl { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 3px 6px; }
.company dt { color: var(--muted); font-size: 12.5px; padding-top: 1px; }
.company a { color: inherit; }
.links a { display: inline-block; padding-block: 11px; font-size: 13.5px; color: var(--brand); }
.links { display: flex; gap: 14px; flex-wrap: wrap; }

/* 申込後のページ */
.thero { background: var(--brand); color: #fff; text-align: center; padding-block: 16px 18px; display: grid; gap: 4px; justify-items: center; }
.thero .ok { margin: 0 auto 4px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #2e9d4e; display: grid; place-items: center; }
.thero .ok svg { width: 24px; height: 24px; }
.thero h1 { font-size: clamp(21px, 6.2vw, 27px); font-weight: 900; line-height: 1.35; text-wrap: balance; }
.thero p { font-size: 14.5px; font-weight: 500; }
.tbody { background: var(--tint); padding-block: 14px 18px; }
.tbody > .in { display: grid; gap: 14px; }
/* 診断書の形: 見出しの帯 → 電気代の行 → 電気代の削減（いちばん大きく）→ 足す分の売電・10年の合計 → 条件 → 現地調査でわかること */
.thero .here { width: fit-content; margin: 8px auto 0; font-size: 14px; font-weight: 900; color: var(--brand-deep); background: var(--badge); border-radius: 999px; padding: 2px 16px; }
.thero .here::after { content: ""; display: inline-block; margin-left: 7px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid currentColor; }
.result { background: var(--paper); border: 3px solid var(--brand); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.result h2 { background: var(--brand); color: #fff; font-size: 18px; font-weight: 900; text-align: center; letter-spacing: .06em; line-height: 1.4; padding: 8px; }
.result h2 small { font-size: 13.5px; font-weight: 700; letter-spacing: 0; }
.result .basis { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 16px; border-bottom: 1px dashed var(--line); font-size: 14.5px; font-weight: 700; }
.result .basis b { font-size: 17px; font-weight: 900; }
.result .total { background: var(--tint); text-align: center; padding: 14px 8px 15px; }
.result .total .k { font-size: 16px; font-weight: 900; }
.result .total .v { font-size: 19px; font-weight: 900; line-height: 1.25; white-space: nowrap; margin-top: 2px; }
.result .total .v b { font-family: var(--num); font-weight: 800; font-size: clamp(34px, 10.4vw, 54px); color: var(--err); background: linear-gradient(transparent 70%, var(--badge) 70%); padding-inline: 4px; margin-inline: 2px; }
.result .total .u { font-size: 13.5px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.result .total .v.after b { font-size: clamp(30px, 9vw, 46px); }
/* 売電と10年の合計は、電気代の削減に足す分として小さめの行で出す */
.result .plus { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-top: 1px dashed var(--line); }
.result .plus i { flex: none; font-style: normal; font-size: 12.5px; font-weight: 900; color: #fff; background: var(--brand); border-radius: 6px; padding: 1px 7px; }
.result .plus .l { font-size: 14.5px; font-weight: 900; min-width: 0; }
.result .plus .l small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); line-height: 1.4; }
.result .plus .val { margin-left: auto; font-size: 13px; font-weight: 900; white-space: nowrap; font-variant-numeric: tabular-nums; }
.result .plus .val b { font-family: var(--num); font-weight: 800; font-size: clamp(18px, 5.2vw, 23px); color: var(--brand-deep); margin-inline: 1px; }
.result .cond { font-size: 14.5px; font-weight: 900; text-align: center; border-top: 1px dashed var(--line); padding: 10px 14px 0; }
.result .fine { font-size: 12.5px; line-height: 1.6; color: var(--muted); padding: 3px 16px 12px; }
.result .know { background: var(--brand-deep); color: #fff; padding: 13px 16px 15px; }
.result .know h3 { font-size: 16.5px; font-weight: 900; line-height: 1.4; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
.result .know ul { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 6px; }
.result .know li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: center; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 8px 11px; font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.result .know svg { width: 20px; height: 20px; color: #2e9d4e; }
.tracks { display: flex; gap: 8px; }
.track { flex: 1 1 0; min-width: 0; background: var(--paper); border: 2px solid var(--edge); border-radius: 12px; text-align: center; padding: 8px 4px; }
.track .k { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.track .v { font-weight: 900; font-size: 25px; line-height: 1.2; color: var(--brand); }
.track .v .d { font-family: var(--num); font-weight: 800; }
.track .v small { font-size: 13px; font-weight: 900; }
.track .n { font-size: 12.5px; color: var(--muted); }
/* 実績の帯: 白い帯の中に、金の月桂冠ではさんで並べる（フォームの先頭と申込後のページ） */
.record { text-align: center; }
.record .nums { display: flex; flex-wrap: wrap; justify-content: center; width: fit-content; max-width: 100%; margin-inline: auto; background: rgba(255, 255, 255, .88); border: 1px solid #ead9a8; border-radius: 14px; padding: 6px 2px; box-shadow: 0 3px 10px rgba(60, 40, 0, .12); }
.record .nums p { position: relative; margin: 0; padding: 6px clamp(22px, 6.4vw, 30px) 8px; display: grid; gap: 1px; min-width: 0; }
.record .nums p + p { border-left: 1px solid #eadfc2; }
.record .nums p::before, .record .nums p::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(22px, 6.2vw, 29px); background: url("/assets/common/laurel.svg") 50% 50% / contain no-repeat; }
.record .nums p::before { left: 1px; }
.record .nums p::after { right: 1px; transform: scaleX(-1); }
.record .k { font-size: clamp(11px, 2.9vw, 13px); font-weight: 700; color: #8a6510; letter-spacing: .02em; line-height: 1.3; white-space: nowrap; }
.record .v { font-size: clamp(12px, 3.1vw, 14px); font-weight: 900; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.record .v b { font-size: clamp(21px, 5.8vw, 28px); font-weight: 900; margin-right: 1px; }
.record .n { margin: 6px 0 0; font-size: 11px; color: var(--muted); }
.flow .record { margin: 12px 0 16px; }
/* 流れの枠の中は幅がせまいので、1列に収まる大きさにする */
.flow .record .nums { flex-wrap: nowrap; }
.flow .record .nums p { padding-inline: clamp(19px, 5.3vw, 30px); }
.flow .record .nums p::before, .flow .record .nums p::after { width: clamp(19px, 5.1vw, 29px); }
.flow .record .k { font-size: clamp(10.5px, 2.7vw, 13px); }
.flow .record .v { font-size: clamp(11px, 2.8vw, 14px); }
.flow .record .v b { font-size: clamp(19px, 5vw, 28px); }
.result .fine.one { border-top: 1px dashed var(--line); padding-top: 10px; }
.tbody .people, .tbody .flow { padding: 0; background: none; }
.tbody .people .in, .tbody .flow .in { padding: 0; }
.tel { background: var(--paper); border: 2.5px solid var(--cta); border-radius: 16px; padding: 13px 14px 14px; display: grid; gap: 6px; text-align: center; justify-items: center; }
.person { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--paper); border: 1.5px solid var(--line, #e6e0d6); border-radius: 14px; padding: 10px 14px 10px 10px; }
.person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.person p { display: grid; gap: 3px; min-width: 0; }
.person b { font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--brand-deep); }
.person span { font-size: 12.5px; color: var(--muted); }
.tel .person { border: 0; padding: 0 0 4px; }
.tel .k { font-size: 14px; font-weight: 700; color: var(--brand-deep); }
.tel .no a { color: inherit; text-decoration: none; }
.tel .no { font-family: var(--num); font-weight: 800; font-size: clamp(30px, 9vw, 38px); line-height: 1.1; color: var(--brand); }
.tel .hrs { font-size: 12.5px; color: var(--muted); }
.pill { display: block; text-align: center; text-decoration: none; border: 0; border-radius: 999px; font-weight: 900; color: #fff; cursor: pointer; }
.pill.green { background: #23a24d; font-size: 15px; padding: 9px 26px; }
.tel .easy { font-size: 13.5px; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.linebox { background: var(--line-soft); border: 1.5px solid #b6e6c7; border-radius: 16px; padding: 12px 14px; display: grid; gap: 6px; justify-items: center; text-align: center; }
.pill.line { width: 100%; background: var(--line-green); font-size: 17px; padding: 12px 10px; box-shadow: 0 4px 0 #049a41; }
.linebox p { font-size: 12.5px; color: var(--muted); }
.nomail { font-size: 13.5px; color: var(--muted); }
.nomail b { display: block; font-size: 14.5px; color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .bar i { transition: none; } .toast { transition: none; } }

/* LINE がない施工店はメールだけ案内する */
.lineok.mail { background: var(--tint); border-color: var(--brand); }
.lineok.mail div b { color: var(--brand); }
.lineic svg { width: 22px; height: 22px; }
.lineok.mail .lineic { background: var(--brand); }

/* 送信まわり */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 8px; display: flex; justify-content: center; }
.cta:disabled { opacity: .5; cursor: not-allowed; }

/* プライバシーポリシー */
.legal { padding-block: 16px 24px; font-size: 14px; }
.legal .in { display: grid; gap: 8px; }
.legal h1 { font-size: 22px; font-weight: 900; line-height: 1.4; }
.legal h2 { font-size: 15.5px; font-weight: 900; margin-top: 8px; }
.legal a { color: var(--brand); }
.legal ul { margin: 0; padding-left: 1.3em; }

/* 右上の電話申込み。スクロールしても出続ける */
.callfab { position: sticky; top: calc(8px + env(safe-area-inset-top, 0px)); z-index: 20; height: 0; display: flex; justify-content: flex-end; padding-right: var(--gutter-r); }
.callfab a { display: flex; align-items: center; gap: 6px; height: fit-content; min-height: 44px; margin-top: 8px; background: #15803d; color: #fff; text-decoration: none; border-radius: 999px; padding: 5px 13px 5px 10px; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.callfab svg { width: 19px; height: 19px; flex: none; }
.callfab b { display: block; font-size: 12.5px; font-weight: 900; line-height: 1.25; }
.callfab small { display: block; font-family: var(--num); font-size: 11.5px; font-weight: 800; line-height: 1.2; }
.callfab:not([hidden]) + .brandbar .co { max-width: calc(100% - 142px); }
.fv .limit { display: inline-block; margin-bottom: 3px; }

/* 申込後のページ: 先頭の写真と、流れの中の電話番号・写真 */
.thero { position: relative; isolation: isolate; background-size: cover; background-position: 50% 55%; }
.thero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand); opacity: .74; }
.tc .ic { position: absolute; top: 9px; right: 9px; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.tc .ic svg { width: 18px; height: 18px; }
.now .tc .ic { top: 15px; }
.tc .tel { margin-top: 7px; padding: 10px 10px 11px; border-width: 2px; border-radius: 12px; gap: 5px; }
.tc .tel .no { font-size: clamp(24px, 7.4vw, 32px); }
.tc .linebox { margin-top: 8px; padding: 10px; border-radius: 12px; }
.tc .linebox .pill.line { font-size: 15.5px; padding: 11px 8px; }
.flowpic { position: relative; margin: 6px 0 0; border-radius: 10px; overflow: hidden; background: var(--line); }
.flowpic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; }

/* 電気代の訴求: 朝の光の写真に合わせて暖かい色で覆い、ボタンの白い文字を読みやすくする */
.fv.sunny::before { background: linear-gradient(180deg, rgba(255,247,237,.86) 0, rgba(255,243,228,.6) 45%, rgba(255,236,214,.14) 100%); }
.cta { text-shadow: 0 1px 2px rgba(0,0,0,.35); }

/* 防災の訴求: 夕暮れの写真に合わせて文字を白くし、明かりのついた家が見えるように間を空ける */
.fv.night { background-position: 60% 50%; }
.fv.night::before { background: linear-gradient(180deg, rgba(8,16,32,.5) 0, rgba(8,16,32,.04) 45%, rgba(8,16,32,.04) 65%, rgba(8,16,32,.5) 100%); }
.fv.night .stats { margin-top: 64px; }
.fv .stats { padding-bottom: 12px; }
.fv.night .eyebrow { color: #fff; }
.fv.night .eyebrow em { color: var(--gold); }
.fv.night .stat .n { color: #fff; text-shadow: 0 0 4px #000, 0 0 4px #000; }

/* もしもの停電のとき */
.prep { background: var(--tint); padding-block: 4px 18px; }
.prep .panel { background: var(--brand-deep); border-radius: 16px; padding: 0 10px 12px; }
.prep .ttl { background: var(--brand); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rows li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; background: var(--paper); border-radius: 12px; padding: 9px 12px; }
.rows svg { width: 28px; height: 28px; color: var(--brand); }
.rows b { display: block; font-size: 15px; font-weight: 900; color: var(--brand); line-height: 1.35; }
.rows span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.prep .fine { margin-top: 8px; font-size: 11.5px; line-height: 1.55; color: #fff; opacity: .9; }
.tbody .prep { padding: 0; background: none; }
.tbody .prep .in { padding: 0; }
