/* でんきの ともしび屋 — 町の電器店（デモ）
   地は白・字は墨・主役は緑・電球の黄は差し色だけ。
   見出し Zen Kaku Gothic New 900／本文 Kosugi／数字 Zen Kaku Gothic New 700 等幅 */

:root {
  --white: #FFFFFF;
  --ink: #1F2328;
  --green: #2E7D32;
  --green-d: color-mix(in srgb, #2E7D32 82%, #000);
  --green-p: color-mix(in srgb, #2E7D32 10%, #fff);
  --yellow: #FFC93C;
  --cream: #FFF8E1;
  --sub: #4B5157;
  --rule: #DCE3DA;
  --gray: #A9AFA9;
  --head: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --body: "Kosugi", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --wrap: 1160px;
  --pad: clamp(20px, 4.4vw, 48px);
  --sec: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .2em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: calc(820px + var(--pad) * 2); }
.narrow0 { max-width: 820px; margin: 0 auto; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- ロゴ ---------- */
.logo { display: block; overflow: visible; }
.mk-line { fill: none; stroke: var(--mk, #2E7D32); stroke-width: 2.4; stroke-linejoin: round; }
.mk-flame { fill: #FFC93C; }
.mk-core { fill: #fff; opacity: .85; }
.logo__sub { font-family: var(--body); font-size: 13px; fill: var(--ink); letter-spacing: .12em; }
.logo__name { font-family: var(--head); font-weight: 900; font-size: 29px; fill: var(--ink); letter-spacing: .02em; }
.logo--head { width: 168px; height: auto; }
.logo--foot { width: 196px; height: auto; }
.logo--foot { --mk: #fff; }
.logo--foot .logo__sub, .logo--foot .logo__name { fill: #fff; }

/* ---------- ヘッダー ---------- */
.head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.head__in {
  max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 10px var(--pad);
  display: flex; align-items: center; gap: 10px; min-height: 68px;
}
.brand { display: block; text-decoration: none; flex: none; }
.demo {
  font-family: var(--head); font-weight: 700; font-size: 10px; letter-spacing: .1em;
  color: var(--sub); border: 1px solid var(--gray); border-radius: 3px; padding: 0 5px; line-height: 16px;
  align-self: flex-start; margin-top: 6px; white-space: nowrap; flex: none;
}
.gnav { margin-left: auto; }
.gnav ul { list-style: none; display: flex; gap: 4px; }
.gnav a {
  display: block; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 700;
  font-size: 16px; padding: 12px 12px; position: relative; white-space: nowrap;
}
.gnav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 4px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.gnav a:hover::after { transform: scaleX(.4); }
.gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--green); }
.gnav .gnav__tel { display: none; }
.head__tel { display: flex; flex-direction: column; align-items: flex-end; margin-left: 18px; line-height: 1.2; flex: none; }
.head__num {
  font-family: var(--head); font-weight: 700; font-size: 25px; color: var(--ink); text-decoration: none;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.head__num::before {
  content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .3em; border-radius: 50%;
  background: var(--yellow); box-shadow: inset 0 0 0 2px var(--green); vertical-align: .02em;
}
.head__hours { font-size: 13px; color: var(--sub); margin-top: 3px; }
.head__call, .menu { display: none; }

@media (max-width: 1099px) {
  .head__in { min-height: 62px; padding-top: 8px; padding-bottom: 8px; }
  .logo--head { width: 142px; }
  .head__tel { display: none; }
  .head__call {
    display: flex; align-items: center; margin-left: auto; height: 46px; padding: 0 14px; border-radius: 6px;
    background: var(--green); color: #fff; font-family: var(--head); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; flex: none;
  }
  .menu {
    flex: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    width: 56px; height: 46px; border: 2px solid var(--green); border-radius: 6px; background: #fff; color: var(--green);
    font-family: var(--head); font-weight: 700; font-size: 10px; cursor: pointer; padding: 0;
  }
  .menu__bars, .menu__bars i, .menu__bars::before, .menu__bars::after { display: block; width: 20px; height: 2px; background: currentColor; }
  .menu__bars { position: relative; background: none; height: 12px; }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; transition: transform .2s; }
  .menu__bars::before { top: 0; } .menu__bars i { position: absolute; top: 5px; transition: opacity .2s; } .menu__bars::after { top: 10px; }
  .is-menu .menu__bars::before { transform: translateY(5px) rotate(45deg); }
  .is-menu .menu__bars::after { transform: translateY(-5px) rotate(-45deg); }
  .is-menu .menu__bars i { opacity: 0; }
  .gnav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--green);
    padding: 8px var(--pad) 22px; display: none; margin: 0;
  }
  .is-menu .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li + li { border-top: 1px solid var(--rule); }
  .gnav a { font-size: 18px; padding: 16px 4px; }
  .gnav a::after { left: 4px; right: auto; width: 48px; bottom: 8px; }
  .gnav .gnav__tel { display: flex; margin-top: 14px; width: 100%; }
}
@media (max-width: 440px) {
  .head__in { gap: 8px; }
  .logo--head { width: 128px; }
  .head__call { padding: 0 10px; font-size: 14px; }
}

/* ---------- ボタン ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 10px 26px;
  border-radius: 6px; font-family: var(--head); font-weight: 700; font-size: 18px; text-decoration: none;
  letter-spacing: .04em; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; word-break: auto-phrase;
}
.btn--fill { background: var(--green); color: #fff; }
.btn--fill:hover { background: var(--green-d); }
.btn--line { border: 2px solid var(--green); color: var(--green); background: #fff; }
.btn--line:hover { background: var(--green-p); }
.more { margin: 30px 0 0; }
.textlink { margin-top: 22px; }
.textlink a { font-family: var(--head); font-weight: 700; }

/* ---------- 見出し ---------- */
.h2 {
  display: flex; align-items: flex-start; gap: 12px; margin: 0 0 26px;
  font-family: var(--head); font-weight: 900; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.35;
  letter-spacing: .01em; font-feature-settings: "palt"; text-wrap: pretty; word-break: auto-phrase;
}
.h2__bulb { flex: none; width: .62em; height: .78em; margin-top: .26em; color: var(--green); }
.bulb-dot { fill: #FFC93C; opacity: var(--dot-o, 1); transition: opacity .5s; }
.sec__lead { max-width: 46em; }
.small { font-size: .88em; color: var(--sub); line-height: 1.8; }
.dots { list-style: none; }
.dots li { position: relative; padding-left: 1.2em; margin-bottom: .5em; }
.dots li::before { content: ""; position: absolute; left: .15em; top: .78em; width: .42em; height: .42em; background: var(--green); border-radius: 50%; }

/* ---------- 区画 ---------- */
.sec { padding: var(--sec) 0; }
.sec.is-cream { background: var(--cream); }
main > .sec:last-child { padding-bottom: calc(var(--sec) + 8px); }

/* 天井から下がるコードの区切り */
.cord { position: relative; height: 0; display: flex; justify-content: center; z-index: 2; }
.cord::before { content: ""; position: absolute; top: -1px; left: 50%; width: 1.5px; height: 40px; background: var(--green); transform: translateX(-50%); }
.cord svg { position: absolute; top: 37px; width: 22px; height: 28px; color: var(--green); }
.cord .bulb-dot { fill: var(--yellow); }
.cord--foot { position: absolute; left: 0; right: 0; top: 0; }
.cord--foot svg { color: #fff; }
.cord--foot::before { background: #fff; }

/* ---------- 値札 ---------- */
.tag {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center;
  background: #fff; border: 1.5px solid var(--green); border-radius: 10px; padding: 14px 22px 16px 44px; min-width: 220px;
}
.tag__hole { position: absolute; left: 16px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 1.5px solid var(--green); background: var(--white); }
.tag__label { font-size: 15px; line-height: 1.5; color: var(--ink); }
.tag__price { font-family: var(--head); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; margin-top: 4px; }
.tag__price b {
  font-weight: 700; font-size: 38px; letter-spacing: .01em;
  background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 6px no-repeat; padding-bottom: 2px;
}
.tag__unit { font-size: 17px; }
.tag--big { min-width: 0; padding: 20px 34px 22px 54px; margin: 6px 0 18px; }
.tag--big .tag__hole { left: 20px; width: 14px; height: 14px; margin-top: -7px; }
.tag--big .tag__label { font-size: 18px; }
.tag--big .tag__price b { font-size: clamp(48px, 7vw, 66px); background-size: 100% 8px; }
.tag--big .tag__unit { font-size: 22px; }

/* ---------- トップ：最初の画面 ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__title {
  margin: 0 0 24px; font-family: var(--head); font-weight: 900; font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.22; letter-spacing: -.01em; font-feature-settings: "palt";
}
.hero__lead { max-width: 30em; }
.hero__photo { position: relative; padding: 0 0 46px 0; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: 40% 30%; border-radius: 4px; }
.tag--hero { position: absolute; left: -34px; bottom: 0; padding-left: 52px; box-shadow: 0 10px 24px -14px rgba(31, 35, 40, .45); }
.tag--hero .tag__hole { left: 16px; }
.tag__bulb { position: absolute; right: 14px; top: 12px; width: 22px; height: 28px; color: var(--green); }
.tag--hero .tag__label { padding-right: 30px; }
.tag__bulb .bulb-dot { fill: var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .tag__bulb { animation: glow .8s ease-out .3s both; }
}
@property --dot-o { syntax: '<number>'; inherits: true; initial-value: 1; }
@keyframes glow { from { --dot-o: .3; } to { --dot-o: 1; } }

@media (max-width: 767px) {
  .hero { padding-top: 0; }
  .hero__in { grid-template-columns: 1fr; padding: 0; }
  .hero__photo { order: -1; padding: 0 0 0; }
  .hero__photo img { aspect-ratio: auto; height: 40vh; min-height: 230px; border-radius: 0; object-position: 50% 28%; }
  .tag--hero { left: var(--pad); bottom: -34px; min-width: 0; }
  .tag--hero .tag__price b { font-size: 32px; }
  .hero__text { padding: 58px var(--pad) 0; }
  .hero__title { font-size: clamp(34px, 9.4vw, 44px); }
  .btns .btn { width: 100%; }
}

/* 今日の受付の帯 */
.today { background: var(--green); color: #fff; }
.today__in { margin: 0 auto; padding-top: 14px; padding-bottom: 14px; font-size: 16px; line-height: 1.7; }
.today a { color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.15em; margin-left: .8em; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 767px) { .today a { display: inline-block; margin-left: 0; } }

/* 来てもらうと */
.tags3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 30px; }
.tags3 .tag { min-width: 0; }
.sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: 0 0 10px; padding: 20px 0; border-top: 2px solid var(--green); border-bottom: 1px solid var(--rule); }
.sum__k { font-family: var(--head); font-weight: 700; font-size: 20px; }
.sum__f { font-family: var(--head); font-weight: 700; font-size: clamp(28px, 4.4vw, 46px); font-variant-numeric: tabular-nums; letter-spacing: .01em; line-height: 1.3; }
.sum__f b { background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 7px no-repeat; }
@media (max-width: 767px) { .tags3 { grid-template-columns: 1fr; gap: 12px; } }

/* よく頼まれること：線画つきの2列の一覧 */
.jobs { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin: 8px 0 24px; }
.jobs__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--rule); }
.jobs__list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.jobs__list svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.jobs__list p { margin: 0; line-height: 1.7; font-size: .94em; }
.jobs__list b { display: block; font-family: var(--head); font-weight: 700; font-size: 1.1em; margin-bottom: 2px; }
.jobs__photo img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
@media (max-width: 1023px) { .jobs { grid-template-columns: 1fr; } .jobs__photo img { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .jobs__list { grid-template-columns: 1fr; } }

/* 写真と文の2列 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.split__photo--sq img { aspect-ratio: 1; max-width: 440px; margin-left: auto; }
.split__text > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; }
  .split--photo-left .split__photo { order: 0; }
  .split:not(.split--photo-left) .split__photo { order: 2; }
  .split__photo--sq img { margin: 0 auto; }
}

/* エアコンの区画（図と写真） */
.ac { display: grid; grid-template-columns: 2.4fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; margin: 12px 0 18px; }
.ac__photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: 50% 20%; border-radius: 4px; }
@media (max-width: 1023px) { .ac { grid-template-columns: 1fr; } .ac__photo img { aspect-ratio: 16 / 9; height: auto; } }

/* 買い替え */
.kaikae { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 1023px) { .kaikae { grid-template-columns: 1fr; } }

/* よく聞かれること */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 22px 56px 22px 46px;
  font-family: var(--head); font-weight: 700; font-size: 19px; line-height: 1.55;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 6px; top: 20px; font-family: var(--head); font-weight: 900; font-size: 24px; color: var(--green); }
.faq summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background:
    linear-gradient(var(--green), var(--green)) center / 12px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) center / 2px 12px no-repeat;
  border: 2px solid var(--green); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 12px 24px 46px; position: relative; }
.faq details p::before { content: "A"; position: absolute; left: 6px; top: -4px; font-family: var(--head); font-weight: 900; font-size: 24px; color: var(--ink); }

/* お店の場所 */
.place { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.place__left { display: grid; gap: 16px; }
.place__photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.mapbox { display: grid; place-items: center; min-height: 200px; background: #E4E6E3; border-radius: 4px; color: #6B716B; font-family: var(--head); font-weight: 700; letter-spacing: .3em; }
@media (max-width: 767px) { .place { grid-template-columns: 1fr; } }
.info { margin: 0 0 24px; border-top: 2px solid var(--green); }
.info > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--rule); }
.info dt { font-family: var(--head); font-weight: 700; color: var(--green); }
.info dd { margin: 0; }
.info a { font-family: var(--head); font-weight: 700; font-size: 1.15em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }

/* ---------- 下層の頭 ---------- */
.phead { padding-top: clamp(36px, 6vw, 72px); }
.phead__in { display: grid; grid-template-columns: auto 1fr; gap: 12px 56px; align-items: end; padding-bottom: clamp(26px, 4vw, 44px); }
.phead__title {
  margin: 0; font-family: var(--head); font-weight: 900; font-size: clamp(36px, 5.6vw, 66px); line-height: 1.2;
  letter-spacing: -.01em; font-feature-settings: "palt"; position: relative; padding-top: 34px;
}
.phead__title::before {
  content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 8px; background: var(--green);
  box-shadow: 64px 0 0 -2px var(--yellow);
}
.phead__lead { margin: 0; max-width: 30em; padding-bottom: .4em; }
.phead__photo { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.phead__photo img { width: 100%; aspect-ratio: 1160 / 380; object-fit: cover; border-radius: 4px; }
@media (max-width: 899px) {
  .phead__in { grid-template-columns: 1fr; }
  .phead__photo { padding: 0; }
  .phead__photo img { aspect-ratio: 16 / 8; border-radius: 0; }
}

/* ---------- 表 ---------- */
.tblwrap { margin: 26px 0 22px; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: .96em; }
.tbl caption { text-align: left; font-family: var(--head); font-weight: 700; padding: 0 0 8px; color: var(--sub); font-size: .9em; }
.tbl thead th { background: var(--green); color: #fff; font-family: var(--head); font-weight: 700; text-align: left; padding: 12px 18px; font-size: .95em; }
.tbl tbody th, .tbl td { padding: 16px 18px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; line-height: 1.65; }
.tbl tbody th { font-weight: 400; }
.tbl td { white-space: normal; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 2px solid var(--green); }
.yen { font-family: var(--head); font-weight: 700; font-size: 1.28em; font-variant-numeric: tabular-nums; white-space: nowrap; background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 4px no-repeat; }
.tbl--work td { width: 38%; }
@media (max-width: 640px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: auto !important; }
  .tbl tr { border-bottom: 1px solid var(--rule); padding: 14px 4px; }
  .tbl tbody th, .tbl td { border: 0; padding: 0; }
  .tbl tbody th { font-size: .95em; color: var(--sub); margin-bottom: 4px; }
  .tbl tr:last-child { border-bottom: 2px solid var(--green); }
  .tbl tr:last-child th, .tbl tr:last-child td { border: 0; }
  .tbl { border-top: 2px solid var(--green); }
  .tbl caption { display: block; width: auto; }
}

.nofee { margin-top: 30px; padding: 22px 26px; border-left: 6px solid var(--green); background: var(--green-p); }
.nofee__t { font-family: var(--head); font-weight: 700; margin-bottom: 10px; }
.nofee .dots li:last-child { margin-bottom: 0; }

/* たとえば：値札を縦に積む */
.ex { display: grid; gap: 16px; margin: 8px 0 26px; }
.ex__card { position: relative; border: 1.5px solid var(--green); border-radius: 10px; padding: 20px 24px 18px 58px; background: #fff; }
.ex__card .tag__hole { left: 22px; }
.ex__case { margin: 0 0 4px; }
.ex__f { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); font-variant-numeric: tabular-nums; line-height: 1.35; word-break: auto-phrase; }
.ex__f b { background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 6px no-repeat; white-space: nowrap; }
.ex__note { margin: 4px 0 0; font-size: .9em; color: var(--sub); }

/* 見出しつきの段 */
.free { display: grid; gap: 0; margin: 4px 0 24px; border-top: 2px solid var(--green); }
.free__row { display: grid; grid-template-columns: 12em 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.free__row p { margin: 0; }
.free__k { font-family: var(--head); font-weight: 700; font-size: 1.1em; color: var(--green); }
@media (max-width: 767px) { .free__row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 修理 ---------- */
.alert { border: 4px solid var(--green); border-radius: 8px; padding: clamp(22px, 4vw, 40px); }
.alert .h2 { margin-bottom: 16px; }
.alert__fire { margin: 0; font-family: var(--head); font-weight: 700; font-size: 1.08em; padding-top: 14px; border-top: 1px dashed var(--green); }

/* 配線図の線でつなぐ段 */
.wire { list-style: none; position: relative; margin: 10px 0 24px; }
.wire__step { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 0 0 28px; }
.wire__step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--green); }
.wire__step:last-child::before { display: none; }
.wire__step:last-child { padding-bottom: 0; }
.wire__n {
  flex: none; position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--green); color: #fff; font-family: var(--head); font-weight: 700; font-size: 20px; border-radius: 4px;
}
.wire__step p { margin: 0; background: #fff; border: 1.5px solid var(--green); border-radius: 6px; padding: 14px 20px; position: relative; flex: 1; }
.wire__step p::before { content: ""; position: absolute; left: -19px; top: 20px; width: 18px; height: 2px; background: var(--green); }
.wire__step p::after { content: ""; position: absolute; left: -4px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* 型番のシール */
.kata { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.kata__fig { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; align-items: end; padding: 24px; background: var(--cream); border-radius: 8px; }
.kata__item svg { width: 100%; height: auto; max-height: 170px; }
.kata__item .ln { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linejoin: miter; }
.kata__item .ln--thin { stroke-width: 1.4; stroke-dasharray: 4 3; }
.kata__item .stk { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.kata__item .stk-l { stroke: var(--ink); stroke-width: 1; }
.kata__item .spot { fill: var(--yellow); opacity: .55; }
.kata__item p { margin: 8px 0 0; text-align: center; font-family: var(--head); font-weight: 700; line-height: 1.4; }
.kata__item p span { display: block; font-family: var(--body); font-weight: 400; font-size: .8em; color: var(--sub); }
.kata__purpose { margin-top: 22px; }
.kata__tel { margin-top: 16px; }
.kata__tel a { font-family: var(--head); font-weight: 700; font-size: 1.15em; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .kata { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .kata__fig { padding: 16px 10px; gap: 8px; } .kata__item p { font-size: .9em; } }

/* ---------- エアコン ---------- */
.nedan { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.nedan__text { margin: 0 0 1.6em; max-width: 28em; }
@media (max-width: 899px) { .nedan { grid-template-columns: 1fr; } .nedan__text { margin: 0; } }
.numlist { list-style: none; counter-reset: n; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-top: 28px; border-top: 2px solid var(--green); }
.numlist li { counter-increment: n; position: relative; padding: 16px 0 16px 46px; border-bottom: 1px solid var(--rule); line-height: 1.6; }
.numlist li::before {
  content: counter(n); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 17px;
}
@media (max-width: 899px) { .numlist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .numlist { grid-template-columns: 1fr; } }
.boxed { border: 1.5px solid var(--green); border-radius: 8px; padding: clamp(22px, 4vw, 40px); }
.boxed > :last-child { margin-bottom: 0; }

/* ---------- 引き取り ---------- */
.four { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.four li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 10px 20px; border-top: 4px solid var(--green); background: #fff; text-align: center; }
.four svg { width: 64px; height: 64px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square; }
.four span { font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.4; }
@media (max-width: 767px) { .four { grid-template-columns: 1fr 1fr; } }

/* ---------- お店のこと ---------- */
.area { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.area__photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
@media (max-width: 899px) { .area { grid-template-columns: 1fr; } }
.news { list-style: none; border-top: 2px solid var(--green); }
.news li { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.news time { font-family: var(--head); font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.news p { margin: 0; }
@media (max-width: 560px) { .news li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- 図解の共通 ---------- */
.dg { margin: 28px 0 26px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: clamp(18px, 3vw, 34px); }
.is-cream .dg { border-color: #EFE6C6; }
.dg__title { font-family: var(--head); font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.dg__title::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--green); background: var(--yellow); border-radius: 50%; flex: none; }
.dg__note { margin: 14px 0 0; font-size: .9em; color: var(--sub); }
.dg--small { margin: 0; }

/* D-1 出張の料金 */
.d1__svg { width: 100%; height: auto; display: block; }
.d1__svg--tall { display: none; }
@media (max-width: 640px) { .d1__svg--wide { display: none; } .d1__svg--tall { display: block; max-width: 420px; margin: 0 auto; } }
.d1__blocks rect { fill: #F4F6F2; }
.d1__road { fill: none; stroke: #fff; stroke-width: 14; }
.d1__city { fill: none; stroke: var(--green); stroke-width: 3; }
.d1__town { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 9 6; }
.d1__name { font-family: var(--head); font-weight: 700; font-size: 20px; fill: var(--green); }
.d1__shopbg { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.d1__bulb { color: var(--green); }
.d1__shopname { font-family: var(--head); font-weight: 900; font-size: 18px; fill: var(--ink); }
.stag__box { fill: #fff; stroke: var(--green); stroke-width: 1.5; }
.stag__hole { fill: #fff; stroke: var(--green); stroke-width: 1.5; }
.stag__label { font-family: var(--body); fill: var(--ink); }
.stag__price { font-family: var(--head); font-weight: 700; fill: var(--ink); font-variant-numeric: tabular-nums; }
.stag__line { fill: var(--yellow); }
.d1__far { margin: 12px 0 0; font-family: var(--head); font-weight: 700; font-size: .95em; }
.d1__far::before { content: "× "; color: var(--sub); }
.js .d1 .d1__bulb { --dot-o: .3; }
.js .d1 .stag { opacity: 0; transition: opacity .4s; }
.js .d1.is-in .d1__bulb { --dot-o: 1; }
.js .d1.is-in .d1__t1 { opacity: 1; transition-delay: .45s; }
.js .d1.is-in .d1__t2 { opacity: 1; transition-delay: .65s; }

/* D-2 エアコン工事の流れ：上の母線から各段へ枝分かれ */
.d2__body { position: relative; padding-top: 26px; }
.d2__bus { position: absolute; left: 10%; right: 10%; top: 0; height: 2px; background: var(--green); transform-origin: left; }
.d2__list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.d2__step { position: relative; }
.d2__joint { position: absolute; left: 50%; top: -26px; width: 2px; height: 26px; background: var(--green); transform: translateX(-50%); }
.d2__joint::before { content: ""; position: absolute; left: -2px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.d2__card { height: 100%; border: 1.5px solid var(--green); border-radius: 6px; padding: 14px 12px 14px; text-align: center; background: #fff; }
.d2__step--last .d2__card { background: var(--cream); }
.d2__ic { width: 40px; height: 40px; margin: 0 auto 6px; display: block; fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square; }
.d2__ic--bulb { width: 32px; height: 40px; color: var(--green); stroke: none; }
.d2__ic--bulb .bulb-dot { fill: var(--yellow); }
.d2__name { margin: 0 0 4px; font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.4; }
.d2__n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; vertical-align: 2px; }
.d2__text { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.dg--small .d2__list { gap: 8px; }
.dg--small .d2__text { font-size: 13.5px; }
.dg--small .d2__card { padding: 12px 8px; }
@media (max-width: 899px) {
  .d2__body { padding: 0 0 0 30px; }
  .d2__bus { left: 0; right: auto; top: 26px; bottom: 26px; width: 2px; height: auto; transform-origin: top; }
  .d2__list { grid-template-columns: 1fr; gap: 12px; }
  .d2__joint { left: -30px; top: 24px; width: 30px; height: 2px; transform: none; }
  .d2__joint::before { left: -2px; top: -2px; }
  .d2__card { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; text-align: left; align-items: start; padding: 12px 14px; }
  .d2__ic { grid-row: span 2; margin: 2px 0 0; }
  .dg--small .d2__text { font-size: 14.5px; }
  .dg--small .d2__list { gap: 12px; }
}
.js .d2 .d2__bus { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.4, 0, .2, 1); }
.js .d2 .d2__step { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; transition-delay: calc(.9s + var(--i) * .15s); }
.js .d2.is-in .d2__bus { transform: none; }
.js .d2.is-in .d2__step { opacity: 1; transform: none; }
@media (max-width: 899px) { .js .d2 .d2__bus { transform: scaleY(0); } .js .d2.is-in .d2__bus { transform: none; } }

/* D-3 標準工事に入るもの（家の断面） */
.d3__wrap { display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: center; }
.d3__svg { width: 100%; height: auto; display: block; }
.d3__house { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linejoin: miter; }
.d3__floor { stroke: var(--green); stroke-width: 1.4; stroke-dasharray: 6 5; }
.d3__ground { stroke: var(--ink); stroke-width: 2; }
.d3__hatch { stroke: var(--gray); stroke-width: 1.2; }
.d3__room { font-family: var(--body); font-size: 16px; fill: var(--sub); }
.d3__unit { fill: #fff; stroke: var(--green); stroke-width: 2.4; }
.d3__unit-l { stroke: var(--green); stroke-width: 1.6; fill: none; }
.d3__fan { fill: none; stroke: var(--green); stroke-width: 1.6; }
.d3__holering { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.6; }
.d3__pipe { fill: none; stroke: var(--green); stroke-width: 5; stroke-linejoin: miter; opacity: .9; }
.d3__dim { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.d3__dimt { font-family: var(--head); font-weight: 700; font-size: 18px; fill: var(--ink); }
.d3__bulb { color: var(--green); }
.d3__lead { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.d3__nums circle { fill: var(--green); }
.d3__nums text { font-family: var(--head); font-weight: 700; font-size: 17px; fill: #fff; text-anchor: middle; }
.d3__lbl text { font-family: var(--head); font-weight: 700; font-size: 17px; fill: var(--ink); }
.d3__extra { border-left: 1.5px solid var(--gray); padding: 4px 0 4px 18px; color: var(--sub); }
.d3__extra-t { font-size: 14px; margin: 0 0 8px; line-height: 1.5; }
.d3__extra ul { list-style: none; }
.d3__extra li { font-size: 14px; line-height: 1.5; padding: 6px 0; border-top: 1px solid #E3E6E2; }
.d3__price { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.d3__price b { font-family: var(--head); font-weight: 700; font-size: 1.3em; font-variant-numeric: tabular-nums; background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 6px no-repeat; }
@media (max-width: 899px) {
  .d3__wrap { grid-template-columns: 1fr; }
  .d3__lbl { display: none; }
  .d3__nums text { font-size: 30px; transform: translateY(4px); transform-box: fill-box; }
  .d3__nums circle { r: 25; }
}

/* D-4 お代の内訳：線が2本に分かれ、また1本にまとまる */
.d4__body { display: grid; grid-template-columns: 110px 46px 1fr 46px 190px; align-items: center; }
.d4__from { text-align: center; font-family: var(--head); font-weight: 700; font-size: 15px; }
.d4__fridge { width: 64px; height: 86px; display: block; margin: 0 auto 6px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: miter; }
.d4__split, .d4__merge { position: relative; align-self: stretch; }
.d4__w { position: absolute; display: block; }
.d4__split .d4__w--a { left: 0; top: 25%; bottom: 25%; width: 100%; border: 2px solid var(--green); border-right: 0; transform-origin: left; }
.d4__split .d4__w--a::before { content: ""; position: absolute; left: -2px; top: 50%; width: 22px; height: 2px; background: var(--green); transform: translate(-100%, -50%); }
.d4__split .d4__w--b { left: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ink); }
.d4__merge .d4__w--c { left: 0; top: 25%; bottom: 25%; width: 50%; border: 2px solid var(--green); border-left: 0; transform-origin: left; }
.d4__merge .d4__w--c::after { content: ""; position: absolute; right: -2px; top: 50%; width: 25px; height: 2px; background: var(--green); transform: translate(100%, -50%); }
.d4__pair { display: grid; gap: 14px; }
.d4__item { border: 1px solid var(--rule); border-radius: 6px; padding: 12px 14px; background: #fff; }
.dtag { position: relative; display: inline-block; font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.4; border: 1.5px solid var(--green); border-radius: 8px; padding: 6px 14px 6px 32px; background: #fff; }
.dtag .tag__hole { left: 11px; width: 10px; height: 10px; margin-top: -5px; }
.dtag--sum { background: var(--green); color: #fff; }
.dtag--sum .tag__hole { background: var(--green); border-color: #fff; }
.d4__who { margin: 8px 0 2px; font-size: 14.5px; line-height: 1.6; }
.d4__to { margin: 0; font-size: 13.5px; color: var(--sub); line-height: 1.5; }
.d4__to::before { content: "→ "; color: var(--green); }
.d4__sum { text-align: left; }
.d4__eq { margin: 10px 0 0; font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.5; }
.dg--small .d4__body { grid-template-columns: 84px 30px 1fr 30px 150px; }
.dg--small .dtag { font-size: 15px; }
@media (max-width: 1180px) { .dg--small .d4__body { grid-template-columns: 1fr; } }
@media (max-width: 899px) { .d4__body { grid-template-columns: 1fr; } }
@media (max-width: 1180px) {
  .dg--small .d4__split, .dg--small .d4__merge { height: 34px; }
  .dg--small .d4__split .d4__w--a, .dg--small .d4__merge .d4__w--c { left: 50%; top: 0; bottom: 0; width: 2px; border: 0; background: var(--green); }
  .dg--small .d4__split .d4__w--a::before, .dg--small .d4__merge .d4__w--c::after { display: none; }
  .dg--small .d4__split .d4__w--b { left: 50%; top: 50%; margin-left: -4px; }
  .dg--small .d4__sum { text-align: center; }
}
@media (max-width: 899px) {
  .d4__split, .d4__merge { height: 34px; }
  .d4__split .d4__w--a, .d4__merge .d4__w--c { left: 50%; top: 0; bottom: 0; width: 2px; border: 0; background: var(--green); }
  .d4__split .d4__w--a::before, .d4__merge .d4__w--c::after { display: none; }
  .d4__split .d4__w--b { left: 50%; top: 50%; margin-left: -4px; }
  .d4__sum { text-align: center; }
}
.js .d4 .d4__w--a, .js .d4 .d4__w--c { transform: scaleX(0); transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.js .d4 .d4__w--c { transition-delay: .5s; }
.js .d4 .d4__sum { opacity: 0; transition: opacity .4s 1s; }
.js .d4.is-in .d4__w--a, .js .d4.is-in .d4__w--c { transform: none; }
.js .d4.is-in .d4__sum { opacity: 1; }
@media (max-width: 1180px) { .js .dg--small.d4 .d4__w--a, .js .dg--small.d4 .d4__w--c { transform: scaleY(0); transform-origin: top; } .js .dg--small.d4.is-in .d4__w--a, .js .dg--small.d4.is-in .d4__w--c { transform: none; } }
@media (max-width: 899px) { .js .d4 .d4__w--a, .js .d4 .d4__w--c { transform: scaleY(0); transform-origin: top; } .js .d4.is-in .d4__w--a, .js .d4.is-in .d4__w--c { transform: none; } }

/* ---------- 電話の帯・フッター ---------- */
.telband { background: var(--green); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.telband__in { text-align: center; }
.telband__lead { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 24px; font-family: var(--head); font-weight: 900; font-size: clamp(22px, 3vw, 30px); }
.telband__num { color: #fff; text-decoration: none; font-weight: 700; font-size: clamp(40px, 6.4vw, 64px); font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1.2; }
.telband__sub { margin: 8px 0 0; font-size: 16px; }

.foot { position: relative; background: var(--ink); color: #fff; padding: 84px 0 30px; }
.foot .cord::before { top: 0; }
.foot .cord svg { top: 36px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 32px 56px; }
.foot__shop { display: grid; gap: 22px; }
.foot__info { margin: 0; font-size: 15px; line-height: 1.7; }
.foot__info div { display: grid; grid-template-columns: 3em 1fr; gap: 10px; }
.foot__info dt { color: #B9C4B8; }
.foot__info dd { margin: 0; }
.foot__info a { color: #fff; }
.foot__nav ul { list-style: none; display: grid; gap: 2px; }
.foot__nav a { color: #fff; text-decoration: none; display: block; padding: 8px 0; font-family: var(--head); font-weight: 700; font-size: 16px; }
.foot__nav a:hover { text-decoration: underline; }
.foot__reg { margin-top: 30px; padding-top: 18px; border-top: 1px solid #3B4148; font-size: 13px; color: #B9C4B8; }
@media (max-width: 767px) { .foot__in { grid-template-columns: 1fr; } }

/* ---------- 見えたら出す（JS が html に js を付けたときだけ） ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
