@charset "UTF-8";
/* Generated by tools/build.py — edit src/css/, not this file. */

/* ===== 00-tokens.css ===== */
/* 00-tokens */

:root {
  --red: #C8171F;
  --red-hover: #9C1017;
  --red-flat: #C8161F;
  --red-shadow: #7A0C12;
  --ink: #23201E;
  --ink-soft: #4A443E;
  --muted: #6B655F;
  --line: #E7DFD4;
  --line-soft: #F0EAE0;
  --input-line: #DDD3C4;
  --beige: #F2EDE3;
  --cream: #FFF9F0;
  --cream-card: #FFFDF6;
  --yellow: #FFE24D;
  --yellow-pale: #FFF7CC;
  --yellow-deep: #8A6A00;
  --orange: #EF6C1A;
  --orange-light: #F5822E;
  --orange-dark: #B94F0E;
  --green: #17A44E;
  --green-dark: #0E7A37;
  --line-green: #06C755;
  --line-green-dark: #049A42;
  --star: #F5A623;
  --gold: #C29A4B;
  --grey: #B0A89C;

  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-num: "Barlow Condensed", "Zen Kaku Gothic New", sans-serif;

  --col: 375px;          /* the width the design was drawn at */
  --gutter: 20px;        /* standard band side padding */
}

/* ===== 01-reset.css ===== */
/* 01-reset */

*, *::before, *::after { box-sizing: border-box; }

/* `clip` — not `hidden`. overflow-x:hidden computes overflow-y to auto,
   which makes these scroll containers and silently kills the sticky CTA
   bar (it would sit at the end of the document instead of following). */
html, body { width: 100%; overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--beige);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, fieldset, legend { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

fieldset { border: 0; padding: 0; min-width: 0; }

a { color: var(--red); text-decoration: none; }

a:hover { color: var(--red-hover); }

s { text-decoration: line-through; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ===== layout/page.css ===== */
/* page */

.page {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
  background: var(--beige);
}

.page__rays,
.page__vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page__rays {
  background: repeating-conic-gradient(from 0deg at 50% 42%,
    rgba(200, 23, 31, .05) 0deg 4deg, rgba(0, 0, 0, 0) 4deg 9deg);
}

.page__vignette {
  background: radial-gradient(circle at 50% 42%,
    rgba(0, 0, 0, 0) 45%, rgba(35, 32, 30, .10) 100%);
}

.lp {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--col);
  flex: 0 0 auto;
  background: #fff;
  color: var(--ink);
}

/* ===== layout/band.css ===== */
/* band */

.band { padding: 48px var(--gutter) 40px; }

.band--white { background: #fff; }

.band--cream { background: var(--cream); }

.band--yellow { background: var(--yellow-pale); }

.band--red {
  position: relative;
  overflow: hidden;
  background: var(--red);
  padding-left: 0;
  padding-right: 0;
}

/* Radial "concentration line" overlay on the red bands. --ray-y
   moves the vanishing point, which differs per section. */
.band__rays {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% var(--ray-y, 58%),
    rgba(156, 16, 23, .55) 0deg 9deg, rgba(200, 23, 31, 0) 9deg 20deg);
}

.band__rays--products { --ray-y: 42%; }

.band__rays--cta { --ray-y: 35%; }

.band__head { position: relative; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-align: center;
}

.eyebrow--orange { color: var(--orange); }

.eyebrow--yellow { color: var(--yellow); }

.band__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
}

.band__title--onred { color: #fff; }

.rule { width: 40px; height: 4px; background: var(--red); margin: 14px auto 16px; }

.rule--yellow { background: var(--yellow); }

.rule--tight { margin-bottom: 12px; }

.band__lead { font-size: 16px; line-height: 1.8; }

.band__lead--onred { color: #fff; }

/* ===== components/button.css ===== */
/* button */

.tel-icon { width: 15px; height: 15px; }

.tel-icon--lg { width: 17px; height: 17px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  height: 60px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
}

.btn:hover { color: #fff; }

/* FV-only, so it scales with the hero (see --k above) */
.btn--estimate {
  flex-direction: column;
  line-height: 1.35;
  height: calc(60 * var(--k));
  border-radius: calc(12 * var(--k));
  box-shadow: 0 calc(4 * var(--k)) 0 rgba(0, 0, 0, .18);
}

.btn__small { font-size: calc(11 * var(--k)); }

.btn__large { font-size: calc(18 * var(--k)); }

.btn--primary {
  position: relative;
  margin-top: 8px;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 4px 0 var(--orange-dark), 0 8px 20px rgba(0, 0, 0, .25);
}

.btn__chevron { position: absolute; right: 16px; font-size: 16px; }

.btn-tel {
  flex: 1;
  background: var(--green);
  border-radius: 10px;
  padding: 9px 4px;
  color: #fff;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 3px 0 var(--green-dark);
}

.btn-tel:hover { color: #fff; }

.btn-tel__number {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-tel__hours { display: block; font-size: 9px; font-weight: 700; }

.btn-line {
  flex: 1;
  background: var(--line-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--line-green-dark);
}

.btn-line:hover { color: #fff; }

/* 4px + the form's 14px row gap = the 18px offset in the design */
.btn--submit {
  margin-top: 4px;
  width: 100%;
  border: 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .18);
}

/* ===== components/stars.css ===== */
/* stars */

.stars { color: var(--star); }

.stars--lg { font-size: 20px; letter-spacing: 2px; }

/* ===== components/slot.css ===== */
/* slot */

.slot { position: relative; height: 100%; overflow: hidden; }

.slot__img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(calc(var(--x, 0) * 1%), calc(var(--y, 0) * 1%)) scale(var(--z, 1));
}

/* ===== components/slider.css ===== */
/* slider */

.slider {
  position: relative;
  margin-top: 18px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 48px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider::-webkit-scrollbar { display: none; }

.slider--voice { margin-top: 16px; gap: 12px; padding: 6px 40px 14px; }

.dots { display: flex; gap: 5px; justify-content: center; margin-top: 4px; }

.dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }

.dots span.is-active { background: var(--red); }

.dots--onred { position: relative; gap: 6px; }

.dots--onred span { width: 8px; height: 8px; background: rgba(255, 255, 255, .4); }

.dots--onred span.is-active { background: #fff; }

.slider-hint { position: relative; text-align: center; font-size: 12px; font-weight: 700; margin-top: 8px; }

.slider-hint--onred { color: #fff; }

/* ===== components/accordion.css ===== */
/* accordion */

.area-bar {
  background: var(--yellow);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 9px 8px;
  color: var(--ink);
}

.areas { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }

.area { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

.area__summary {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.area__summary::-webkit-details-marker { display: none; }

.area__chevron { color: var(--red); flex-shrink: 0; align-self: center; }

.area__body { padding: 0 14px 12px; font-size: 13px; line-height: 1.9; color: var(--ink-soft); }

/* ===== components/badge-tag.css ===== */
/* badge-tag — セクション見出しの上に置く、下向きの尻尾が付いた赤いピル。
   「流れ」と「オプション」で共有する。em を入れるとその部分だけ黄色になる。 */

.tag-badge {
  position: relative;
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  border-radius: 999px;
  padding: 9px 22px;
}

.tag-badge em { font-style: normal; color: var(--yellow); }

.tag-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid var(--red);
}

/* ===== components/header.css ===== */
/* header */

.lp-header {
  position: relative;
  z-index: 5;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.lp-header__logo { height: 32px; width: auto; flex-shrink: 0; margin-right: auto; }

.lp-header__actions { display: flex; gap: 6px; align-items: stretch; }

.tel-badge {
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 5px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .15);
}

.tel-badge:hover { color: #fff; }

.tel-badge__number {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tel-badge__hours { font-size: 9px; font-weight: 700; text-align: center; }

.line-badge {
  background: var(--line-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .15);
}

.line-badge:hover { color: #fff; }

/* ===== components/side-panels.css ===== */
/* side-panels */

.side { display: none; }

.brand-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

.brand-card__logo { display: block; height: 44px; width: auto; }

.brand-card__group {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
  display: flex;
  justify-content: center;
}

.brand-card__group-logo { height: 30px; width: auto; }

.side__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--ink);
}

.side__headline em { color: var(--red); font-style: normal; }

.side__note {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
}

.side-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  width: 100%;
  max-width: 250px;
}

.side-card__label { font-size: 12px; font-weight: 700; color: var(--muted); }

/* 発信リンク。<a> なので display:block が要る（inline のままだと margin-top が
   効かず、見た目が <p> のときと変わってしまう）。 */
.side-card__tel {
  display: block;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 30px;
  color: var(--green);
  line-height: 1.1;
  margin-top: 4px;
  white-space: nowrap;
}

.side-card__tel:hover { color: var(--green-dark); }

.side-card__hours { font-size: 11px; font-weight: 700; color: var(--ink-soft); margin-top: 2px; }

.side-card__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  background: linear-gradient(var(--orange-light), var(--orange));
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 0 var(--orange-dark);
  padding: 9px 6px;
  line-height: 1.3;
}

.side-card__cta:hover { color: #fff; }

.side-card__cta-small { font-size: 10px; font-weight: 700; }

.side-card__cta-large { font-size: 15px; font-weight: 900; white-space: nowrap; }

/* ===== components/cta-bar.css ===== */
/* cta-bar */

.cta-bar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  transition: transform .35s ease;
}

/* The bar only hides itself when scripting is available to bring it back,
   so a no-JS visitor keeps the call and estimate buttons. */
.js .cta-bar { transform: translateY(130%); }

.js .cta-bar.is-visible { transform: translateY(0); }

.cta-bar__estimate,
.cta-bar__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 7px 4px;
  line-height: 1.3;
  color: #fff;
}

.cta-bar__estimate {
  background: linear-gradient(var(--orange-light), var(--orange));
  box-shadow: 0 3px 0 var(--orange-dark);
}

.cta-bar__tel {
  background: linear-gradient(#1DB85C, var(--green));
  box-shadow: 0 3px 0 var(--green-dark);
}

.cta-bar__estimate:hover,
.cta-bar__tel:hover { color: #fff; }

.cta-bar__small { font-size: 9px; font-weight: 700; }

.cta-bar__large { font-size: 13px; font-weight: 900; white-space: nowrap; }

.cta-bar__number {
  font-family: var(--font-num);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ===== components/footer.css ===== */
/* footer */

.foot {
  background: #fff;
  padding: 36px var(--gutter) 30px;
  color: var(--ink);
  text-align: center;
  border-top: 1px solid var(--line);
}

.foot__logo { height: 38px; width: auto; }

.foot__address { font-size: 15px; margin-top: 16px; line-height: 1.9; }

.foot__links {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
}

.foot__links a { color: var(--ink); }

.foot__sep { color: #C9C2B8; }

.foot__copy { font-size: 11px; color: var(--muted); margin-top: 20px; }

/* ===== components/card-reason.css ===== */
/* card-reason */

.reasons .band__lead { font-size: 17px; }

.reason-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }

.reason {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.reason__head { display: flex; gap: 10px; align-items: center; }

.reason__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason__title { font-size: 18px; font-weight: 700; }

.reason__body { font-size: 15px; line-height: 1.7; margin-top: 8px; }

.staff {
  margin-top: 28px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.staff__media { position: relative; height: 136px; overflow: hidden; }

/* 横長の枠に cover で収める。写真ごとに顔の高さが違うので、どこを見せるかは
   カスタマイザーの「縦位置」（--staff-focus）で決める。0%が上端、100%が下端。 */
.staff__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--staff-focus, 50%);
}

.staff__body { padding: 16px; }

.staff__title { font-size: 18px; font-weight: 700; }

.staff__text { font-size: 15px; line-height: 1.8; margin-top: 6px; }

/* ===== components/card-work.css ===== */
/* card-work */

.work {
  flex: 0 0 260px;
  scroll-snap-align: center;
  background: var(--cream-card);
  border: 2px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.work__media { height: 300px; }

.work__body { padding: 14px; }

.work__name { font-size: 14px; font-weight: 700; }

.work__tags { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; }

.tag {
  border: 1px solid var(--gold);
  background: #fff;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.work__price {
  margin-top: 10px;
  background: var(--yellow);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.work__price-label { display: block; font-size: 10px; font-weight: 700; }

.work__price-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--red);
  line-height: 1.2;
}

.work__price-value small { font-size: 11px; }

/* ===== components/card-voice.css ===== */
/* card-voice */

.voice { padding-left: 0; padding-right: 0; }

.voice__score { display: flex; align-items: center; justify-content: center; gap: 8px; }

.voice__value { font-family: var(--font-num); font-weight: 700; font-size: 26px; }

.voice__count { font-size: 13px; color: var(--ink-soft); font-weight: 700; }

.voice__count em {
  font-style: normal;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 19px;
  color: var(--red);
  margin: 0 1px;
}

.voice-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.voice-card .stars { font-size: 14px; }

.voice-card__title { font-size: 15px; font-weight: 700; margin-top: 4px; }

.voice-card__text { font-size: 13px; line-height: 1.7; margin-top: 6px; color: var(--ink-soft); }

.voice-card__shop { font-size: 12px; color: var(--muted); margin-top: 8px; }

.voice__source { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ===== components/card-product.css ===== */
/* card-product */

.product { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }

/* Locked to the design frame's ratio (152 x 110). With a fixed height the box
   turns wider than the design on a large handset, and cover then crops the
   appliance top and bottom and reveals the edge of the source shot. The photos
   are pre-fitted to this same ratio by tools/build-assets.py, so nothing is
   cropped at any width and the margin around each appliance is even. */
.product__media { aspect-ratio: 152 / 110; }

.product__body { padding: 10px; text-align: center; }

.product__model { font-size: 13px; font-weight: 900; }

.product__was { font-size: 11px; color: var(--muted); margin-top: 4px; }

.product__now {
  margin-top: 5px;
  background: #FFF4D6;
  border: 1px solid #F0D98A;
  border-radius: 8px;
  padding: 5px 2px;
}

.product__now-label {
  display: block;
  font-size: 9px;
  font-weight: 900;
  color: var(--yellow-deep);
  letter-spacing: .02em;
}

.product__now-value {
  display: block;
  font-weight: 900;
  font-size: 21px;
  color: var(--red);
  line-height: 1.15;
  margin-top: 1px;
}

.product__note { font-size: 10px; color: var(--muted); margin-top: 4px; }

/* ===== components/card-shop.css ===== */
/* card-shop */

.shops { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.shop { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

.shop__media { height: 80px; }

.shop__body { padding: 10px; }

.shop__name { font-size: 13px; font-weight: 700; }

.shop__address { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.5; }

/* ===== components/card-faq.css ===== */
/* card-faq */

.faq__list { display: flex; flex-direction: column; gap: 8px; }

.qa { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }

.qa__q { display: flex; gap: 10px; align-items: baseline; font-size: 15px; font-weight: 700; }

.qa__a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.qa__mark { flex-shrink: 0; font-weight: 900; font-size: 15px; }

.qa__mark--q { color: var(--red); }

.qa__mark--a { color: var(--orange); }

/* ===== components/card-subsidy.css ===== */
/* card-subsidy */

.subsidy__amount { font-style: normal; color: var(--red); font-size: 34px; }

.subsidy__amount span { font-size: 26px; }

.subsidy-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

.subsidy-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.subsidy-card__title { font-size: 15px; font-weight: 700; }

.subsidy-card__text { font-size: 14px; line-height: 1.6; margin-top: 4px; color: var(--ink-soft); }

/* ===== components/step.css ===== */
/* step */

.flow { padding: 44px var(--gutter); text-align: center; }

/* 赤いピル（.tag-badge）は components/badge-tag.css。オプションと共有している。 */

.flow__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.4;
  color: var(--ink);
}

.flow__steps { margin-top: 26px; display: flex; flex-direction: column; align-items: stretch; }

.step { position: relative; padding-top: 19px; }

.step + .step { margin-top: 40px; }

/* chevron sitting in the 40px gap between consecutive steps */
.step + .step::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='16' viewBox='0 0 30 16' fill='none'%3E%3Cpath d='M2 2 L15 13 L28 2' stroke='%23C8171F' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.step__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  border-radius: 999px;
  padding: 8px 26px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.step__badge--accent { background: var(--red); }

.step__badge em { font-style: normal; font-family: var(--font-num); font-size: 16px; }

.step__card { background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 30px 18px 20px; }

.step__card--accent { border-color: var(--red); box-shadow: 0 5px 0 rgba(200, 23, 31, .25); }

.step__title { font-family: var(--font-display); font-weight: 900; font-size: 19px; color: var(--ink); }

.step__title--accent { color: var(--red); }

.step__meta { font-size: 12px; font-weight: 700; color: var(--red); margin-top: 3px; }

.step__text { font-size: 14px; line-height: 1.8; margin-top: 8px; color: var(--ink-soft); }

/* ===== components/form.css ===== */
/* form */

.contact__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

.form { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }

.field__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }

.badge { font-size: 10px; font-weight: 700; border-radius: 4px; padding: 2px 6px; margin-left: 6px; }

.badge--req { background: var(--red); color: #fff; }

.badge--opt { background: var(--line); color: var(--muted); }

.input {
  display: block;
  width: 100%;
  border: 1px solid var(--input-line);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #FFFDF9;
  appearance: none;
}

.input::placeholder { color: var(--grey); opacity: 1; }

.input:focus-visible { outline: 2px solid var(--red); outline-offset: -1px; border-color: var(--red); }

.input--select {
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1.5 1.5 L7 7 L12.5 1.5' stroke='%2323201E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* Grey while the select still shows its prompt. Keyed on the first option
   being the selected one, not on an empty value: Contact Form 7 puts the
   label in the value attribute, so value="" never matches there. */
.input--select:has(option:first-child:checked) { color: var(--grey); }

.input--area { height: 72px; line-height: 1.6; resize: vertical; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }

.chips__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.chip {
  border: 1px solid var(--input-line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
}

.chips__input:checked + .chip {
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 700;
}

.chips__input:focus-visible + .chip { outline: 2px solid var(--red); outline-offset: 2px; }

.contact__privacy { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

/* --- Contact Form 7 -------------------------------------------------------
   CF7 は入力欄を <span class="wpcf7-form-control-wrap"> で包み、エラー文と
   送信結果の行を勝手に足す。包みが inline のままだと入力欄が縦に積まれない
   ので、レイアウトに影響しない形に均しておく。 */
.wpcf7-form-control-wrap { display: block; }

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}
.input.wpcf7-not-valid { border-color: var(--red); }

/* CF7 prints this box on every render and only fills it after a submit.
   Left alone it would sit under the form as an empty bordered strip. */
.wpcf7-response-output:empty { display: none; }

.wpcf7-response-output {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--input-line);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-color: var(--red); color: var(--red); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--green); color: var(--green); }

/* CF7 ships the spinner as a permanently-present inline-block that merely
   turns invisible, which inside this flex column leaves a 24px hole under
   the submit button. Take it out of the flow until a submit is running. */
.wpcf7-spinner { display: none; }
form.submitting .wpcf7-spinner { display: block; visibility: visible; margin: 10px auto 0; }

/* [submit] renders an <input>, which cannot be a flex container — it centres
   its own value, so plain block is what it wants. */
input[type="submit"].btn--submit { display: block; }

/* CF7 の [radio] は input と label を <span class="wpcf7-list-item"> で包む。
   静的版の「input + label」の隣接セレクタが届かなくなるので、包みごと
   チップとして並べ直す。 */
/* .chips > .wpcf7-form-control-wrap > .wpcf7-radio > .wpcf7-list-item —
   the items sit two levels down, so the row has to be laid out here. */
.chips--cf7 .wpcf7-radio { display: flex; gap: 6px; flex-wrap: wrap; }
.chips--cf7 .wpcf7-list-item { margin: 0; }
.chips--cf7 .wpcf7-list-item label { display: block; }
.chips--cf7 input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.chips--cf7 .wpcf7-list-item-label {
  display: block;
  border: 1px solid var(--input-line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
}
.chips--cf7 input[type="radio"]:checked + .wpcf7-list-item-label {
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 700;
}
.chips--cf7 input[type="radio"]:focus-visible + .wpcf7-list-item-label {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ===== sections/fv.css ===== */
/* fv */

.fv {
  position: relative;
  overflow: hidden;
  padding: 4.2667% 0 0;   /* 16 / 375 — .fv cannot read its own cqw */
  background: linear-gradient(160deg,
    #8C0D15 0%, #AF121B 38%, #C8161F 72%, #E23A34 100%);
  container-type: inline-size;
}

.fv * { --k: calc(100cqw / 375); }

.fv__copy { position: relative; z-index: 2; padding: 0 calc(20 * var(--k)); }

/* h1 の1行目。以前は h1 の外に置いた <p> だったが、H1に「エコキュート」を
   含めるため中に入れた。行送りと下の余白で、外にあったときと同じ位置に出す
   （line-height は h1 の 1.3 ではなく normal のまま、間隔は 6px 相当）。 */
.fv__lead {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  font-size: calc(17 * var(--k));
  font-weight: 900;
  line-height: normal;
  letter-spacing: .04em;
  margin-bottom: calc(6 * var(--k));
  text-shadow: 0 calc(2 * var(--k)) 0 var(--red-shadow);
}

.fv__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: calc(30 * var(--k));
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 calc(4 * var(--k)) 0 var(--red-shadow);
}

.fv__title em {
  font-style: normal;
  color: var(--yellow);
  text-shadow: 0 calc(4 * var(--k)) 0 var(--yellow-deep);
}

.nowrap { white-space: nowrap; }

.fv__sub {
  margin-top: calc(8 * var(--k));
  color: #fff;
  font-size: calc(16 * var(--k));
  font-weight: 900;
  line-height: 1.5;
  text-shadow: 0 calc(2 * var(--k)) 0 var(--red-shadow);
}

.fv__stage {
  position: relative;
  height: calc(248 * var(--k));
  margin-top: calc(6 * var(--k));
}

.fv__worker {
  position: absolute;
  bottom: 0;
  right: calc(-34 * var(--k));
  width: calc(252 * var(--k));
  height: calc(330 * var(--k));
  overflow: hidden;
  z-index: 0;
}

.fv__worker img {
  position: absolute;
  top: calc(20 * var(--k));
  left: calc(-99 * var(--k));
  width: calc(450 * var(--k));
  height: auto;
}

.fv__plates {
  position: absolute;
  left: calc(20 * var(--k));
  top: calc(-10 * var(--k));
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(12 * var(--k));
}

.plate {
  width: calc(146 * var(--k));
  background: #fff;
  border-radius: calc(10 * var(--k));
  border-left: calc(4 * var(--k)) solid var(--yellow);
  padding: calc(7 * var(--k)) calc(12 * var(--k));
  box-shadow: 0 calc(3 * var(--k)) calc(10 * var(--k)) rgba(0, 0, 0, .2);
}

.plate__label { display: block; font-size: calc(10 * var(--k)); font-weight: 700; color: var(--ink); }

.plate__value { display: block; font-weight: 900; font-size: calc(17 * var(--k)); color: var(--red); }

.fv__unit {
  position: absolute;
  right: calc(-17 * var(--k));
  bottom: 0;
  width: calc(200 * var(--k));
  z-index: 1;
}

.fv__unit img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 calc(8 * var(--k)) calc(16 * var(--k)) rgba(0, 0, 0, .45));
}

.fv__foot {
  position: relative;
  z-index: 2;
  padding: 0 calc(20 * var(--k)) calc(18 * var(--k));
  background: var(--red-flat);
}

.review {
  margin-top: calc(14 * var(--k));
  background: #fff;
  border-radius: calc(14 * var(--k));
  box-shadow: 0 calc(3 * var(--k)) calc(10 * var(--k)) rgba(0, 0, 0, .08);
  padding: calc(10 * var(--k)) calc(16 * var(--k));
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* One line as designed. If the webfonts fail and the fallback runs wide,
   the star block wraps below rather than splitting 「口コミ」 mid-word. */
.review__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: calc(6 * var(--k));
}

.review__label { font-size: calc(17 * var(--k)); font-weight: 900; line-height: 1; color: var(--ink); white-space: nowrap; }

.review__score { font-weight: 900; font-size: calc(26 * var(--k)); line-height: .9; color: var(--ink); white-space: nowrap; }

.review__stars { display: flex; flex-direction: column; align-items: flex-start; }

.review__stars .stars { font-size: calc(22 * var(--k)); line-height: 1.1; letter-spacing: calc(-1 * var(--k)); white-space: nowrap; }

.review__asof { font-size: calc(10 * var(--k)); font-weight: 700; color: var(--ink-soft); margin-top: calc(1 * var(--k)); white-space: nowrap; }

.google { font-weight: 700; font-size: calc(22 * var(--k)); line-height: 1; letter-spacing: -.01em; }

.google span:nth-child(1) { color: #4285F4; }

.google span:nth-child(2) { color: #EA4335; }

.google span:nth-child(3) { color: #FBBC05; }

.google span:nth-child(4) { color: #4285F4; }

.google span:nth-child(5) { color: #34A853; }

.google span:nth-child(6) { color: #EA4335; }

.fv__group { display: flex; justify-content: center; margin-top: calc(12 * var(--k)); }

.fv__group-logo { height: calc(24 * var(--k)); width: auto; }

/* ===== sections/cta.css ===== */
/* cta */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--red);
  padding: 40px var(--gutter) 36px;
  text-align: center;
}

.cta__head, .cta__action, .cta__contact, .cta__foot { position: relative; }

.cta__badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 16px;
}

.cta__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: #fff;
  line-height: 1.45;
}

.cta__note { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.7; margin-top: 10px; }

.cta__action { margin-top: 24px; }

.cta__hint { font-size: 15px; font-weight: 900; color: #fff; }

.cta__contact { margin-top: 10px; display: flex; gap: 8px; }

.cta__foot { color: #fff; font-size: 13px; font-weight: 700; margin-top: 12px; }

/* ===== sections/price.css ===== */
/* price */

.includes { margin-top: 18px; background: var(--cream); border-radius: 12px; padding: 16px; }

.includes__title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }

.includes__list { display: flex; flex-direction: column; gap: 7px; font-size: 14px; }

.includes__list li { display: flex; gap: 8px; align-items: center; }

.includes__list li::before { content: "✓"; color: var(--green); font-weight: 900; }

.no-extra {
  margin-top: 14px;
  text-align: center;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
}

.fineprint { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.6; }

.fineprint--xs { font-size: 11px; margin-top: 12px; line-height: 1.7; }

.compare__title {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
}

.compare__hint { text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }

.compare { margin-top: 10px; display: flex; }

.compare__labels { flex: 0 0 76px; display: flex; flex-direction: column; }

.compare__spacer { height: 42px; }

.compare__label {
  height: 62px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  border-top: 1px solid var(--line);
}

.compare__cards {
  flex: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 4px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.compare__cards::-webkit-scrollbar { display: none; }

.compare-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.compare-card--own {
  flex: 0 0 150px;
  border: 2px solid var(--orange);
  box-shadow: 0 3px 10px rgba(239, 108, 26, .25);
}

.compare-card__head {
  height: 40px;
  background: var(--grey);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-card--own .compare-card__head {
  background: linear-gradient(var(--orange-light), var(--orange));
  font-size: 14px;
}

.compare-card__cell {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-top: 1px dashed var(--line);
  padding: 0 6px;
  text-align: center;
}

.compare-card__cell--other {
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.mark--ok { color: var(--red); font-size: 17px; font-weight: 900; }

.mark--ng { color: #B0261C; font-size: 15px; font-weight: 900; }

.compare-card__value { font-family: var(--font-display); font-weight: 900; font-size: 14px; }

.compare-card__value--sm { font-size: 13px; }

.compare-card__value em { font-style: normal; font-size: 19px; color: var(--red); }

.compare-card__other { font-size: 12px; color: var(--muted); line-height: 1.35; }

.cheap { margin-top: 24px; background: var(--cream); border-radius: 12px; padding: 16px; }

.cheap__title { font-size: 16px; font-weight: 700; }

.cheap__text { font-size: 14px; line-height: 1.8; margin-top: 6px; }

/* ===== sections/products.css ===== */
/* products */

.makers {
  position: relative;
  padding: 0 var(--gutter);
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.maker__name {
  text-align: center;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  border-radius: 8px 8px 0 0;
  padding: 7px;
}

.maker__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--cream-card);
  border-radius: 0 0 12px 12px;
  padding: 10px;
}

.makers__foot { font-size: 13px; color: #fff; font-weight: 700; text-align: center; }

/* ===== sections/options.css ===== */
/* options */

/* 見出しは他のセクションと同じ部品（.eyebrow / .band__title / .rule）を使い、
   その上に赤いピル（.tag-badge）を置く。ピルは尻尾が8px下にはみ出すので、
   続く .eyebrow の margin にその分を足してある。 */
.options { text-align: center; }

.options .eyebrow { margin-top: 28px; }

.options__list {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.option { background: var(--cream); border-radius: 12px; padding: 12px 14px; }

.option__name { font-size: 14px; font-weight: 700; }

.option__desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

.option__price { margin-top: 8px; display: flex; align-items: center; gap: 10px; }

.option__was { font-size: 12px; color: var(--muted); }

.option__when { font-size: 12px; font-weight: 700; }

.option__now { font-size: 17px; font-weight: 900; color: var(--red); }

.pipe { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }

.pipe__title { font-size: 13px; font-weight: 900; text-align: center; color: var(--red); }

.pipe__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
  align-items: start;
}

.pipe__frame {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.pipe__frame--alert { border: 2px solid var(--red); }

.pipe__caption { font-size: 11px; font-weight: 700; text-align: center; margin-top: 6px; }

.pipe__caption--alert { color: var(--red); }

.pipe__note { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.7; }

/* ===== sections/company.css ===== */
/* company */

.company__subtitle { margin-top: 24px; font-size: 16px; font-weight: 700; }

.company__note { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ===== sections/thanks.css ===== */
/* thanks — 送信完了ページ。枠・見出し・ボタンはLP本体と同じ部品を使う */

.thanks { text-align: center; }

.thanks__lead { font-size: 15px; line-height: 2; text-align: left; }

.thanks__urgent {
  margin-top: 26px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.thanks__tel { display: flex; margin-top: 12px; }

.thanks__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 700;
}

/* ===== 99-desktop.css ===== */
/* 99-desktop */

/* Phones: the column fills the screen. The design was drawn at 375px, so
   without this a 390–430px handset shows beige strips down both edges.
   Above this the 375px column sits centred on the backdrop instead. */
@media (max-width: 480px) {
  .lp { max-width: none; }
}

@media (min-width: 1000px) {
  .side {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    text-align: center;
  }
  .side--left { left: 0; right: calc(50vw + 188px); gap: 18px; }
  .side--right { right: 0; left: calc(50vw + 188px); gap: 20px; }

  /* the panels carry the phone number and CTA on desktop */
  .lp-header,
  .cta-bar { display: none; }
}
