@charset "utf-8";
/* 西胆振リフォーム */

:root {
  --paper: #f5f2ec;
  --paper-2: #ece6db;
  --paper-3: #e2d9ca;
  --white: #fffdf9;
  --sand: #b9a98f;
  --ink: #23211e;
  --ink-2: #47433d;
  --muted: #6b655c;
  --line: #d8cfbf;
  --accent: #2f5061;
  --accent-dark: #223b48;
  --accent-pale: #e3e9ea;
  --line-green: #06C755;
  --line-green-dark: #05B34C;
  --serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --sans: 'Noto Sans JP', 'Hiragino Sans', system-ui, sans-serif;
  --hh: 76px;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 56px);
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: .04em; line-height: 1.45; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.ib { display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* サンプル明示バー（追従させない） */
.sample-banner {
  background: var(--accent);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  text-align: center;
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.6;
}

/* ヘッダー */
header.site {
  position: sticky; top: 0; z-index: 200;
  height: var(--hh);
  background: rgba(245, 242, 236, .96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
header.site .inner {
  height: 100%; max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(16px, 2.4vw, 36px);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 32px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.brand-mark .ico { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .08em; }
.brand-text b { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: .06em; }
.gnav { margin-left: auto; }
.gnav ul { list-style: none; display: flex; gap: clamp(4px, 1vw, 14px); }
.gnav a {
  display: block; padding: 10px 8px; text-decoration: none; color: var(--ink-2);
  font-size: .95rem; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent;
}
.gnav a:hover { color: var(--accent); }
.gnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.head-tel { display: flex; flex-direction: column; line-height: 1.25; text-decoration: none; color: var(--ink); white-space: nowrap; }
.head-tel b { font-size: 1.18rem; letter-spacing: .06em; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.head-tel b .ico { width: 18px; height: 18px; color: var(--accent); }
.head-tel small { font-size: .7rem; color: var(--muted); }
.head-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: 12px 18px; border-radius: 999px; min-height: 46px;
}
.head-btn:hover { background: var(--accent-dark); color: #fff; }
.head-btn .ico { width: 18px; height: 18px; }
.nav-toggle { display: none; }
.mobile-nav, .nav-overlay { display: none; }

@media (max-width: 1239px) {
  .head-tel { display: none; }
}
@media (max-width: 959px) {
  :root { --hh: 62px; }
  .gnav, .head-btn { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text b { font-size: 1.02rem; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%;
    background: var(--white); cursor: pointer; padding: 0;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(35, 33, 30, .38); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 180; }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
  .mobile-nav {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; height: 100%; width: 86%; max-width: 380px;
    background: var(--paper); z-index: 190; overflow-y: auto;
    padding: calc(var(--nav-top, var(--hh)) + 12px) 0 28px;
    transform: translateX(100%); transition: transform .3s; pointer-events: none; visibility: hidden;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .08);
  }
  .mobile-nav[data-open="true"] { transform: none; pointer-events: auto; visibility: visible; }
  .mobile-nav ul { list-style: none; border-top: 1px solid var(--line); }
  .mobile-nav li a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 24px; border-bottom: 1px solid var(--line);
    color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 500;
  }
  .mobile-nav li a::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid var(--sand); border-right: 1.5px solid var(--sand); transform: rotate(45deg); }
  .mobile-nav li a[aria-current="page"] { color: var(--accent); font-weight: 700; }
  .mobile-nav .mn-contact { padding: 20px 24px 0; display: grid; gap: 10px; }
  .mobile-nav .mn-note { padding: 12px 24px 0; font-size: .82rem; color: var(--muted); line-height: 1.7; }
  body.nav-open header.site { background: var(--paper); }
}

/* 共通ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.4; border: 1px solid transparent;
  cursor: pointer; font-family: var(--sans);
}
.btn .ico { width: 20px; height: 20px; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: var(--line-green-dark); color: #fff; }
.btn-main { background: var(--accent); color: #fff; }
.btn-main:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink-2); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-tel { background: var(--white); border-color: var(--line); color: var(--ink); flex-direction: column; gap: 0; border-radius: 14px; padding: 8px 20px; }
.btn-tel small { font-size: .74rem; color: var(--muted); font-weight: 500; }
.btn-tel b { font-size: 1.3rem; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; }
.btn-tel b .ico { color: var(--accent); }
.more {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700;
  border-bottom: 1px solid var(--ink); padding: 4px 0;
}
.more::after { content: "→"; font-weight: 400; }
.more:hover { color: var(--accent); border-color: var(--accent); }

/* レイアウト */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec.tint { background: var(--paper-2); }
.sec.white { background: var(--white); }
.sec.ink { background: var(--accent-dark); color: #eef0ee; }
.sec.ink h2, .sec.ink h3 { color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 36em; }
.sec.ink .sec-head p { color: #d6dcdc; }
.sec-head.single { grid-template-columns: 1fr; }
.sec-foot { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.note { font-size: .84rem; color: var(--muted); line-height: 1.8; }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
}

/* 最初の画面 */
.hero { padding: clamp(10px, 1.2vw, 18px) clamp(10px, 1.2vw, 18px) 0; }
.hero-frame {
  position: relative; overflow: hidden; border-radius: var(--r);
  height: clamp(460px, calc(100svh - var(--hh) - 40px - 150px), 860px);
  background: var(--paper-3);
}
.hero-frame picture, .hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-frame img { object-fit: cover; object-position: 50% 60%; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(28, 25, 21, .5) 0%, rgba(28, 25, 21, .26) 30%, rgba(28, 25, 21, 0) 58%);
}
.hero-title { position: absolute; left: clamp(22px, 3.6vw, 56px); right: clamp(22px, 3.6vw, 56px); bottom: clamp(24px, 3.6vw, 52px); z-index: 2; color: #fff; }
.hero-title .kicker { font-size: clamp(.92rem, 1.2vw, 1.05rem); letter-spacing: .12em; margin: 0 0 .5em; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.hero-title h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 5.6rem); line-height: 1.22; letter-spacing: .05em; text-shadow: 0 2px 22px rgba(0, 0, 0, .3); }
.hero-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center;
  padding: 22px clamp(12px, 2.4vw, 40px) 26px;
}
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.hero-facts li { display: flex; align-items: center; gap: 10px; font-size: .98rem; color: var(--ink-2); line-height: 1.5; }
.hero-facts .ico { width: 26px; height: 26px; color: var(--accent); }
.hero-facts b { color: var(--ink); font-weight: 700; }
.hero-contact { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.hero-hours { grid-column: 1 / -1; margin: -8px 0 0; font-size: .82rem; color: var(--muted); text-align: right; }
@media (max-width: 1100px) {
  .hero-bar { grid-template-columns: 1fr; }
  .hero-contact { justify-content: flex-start; }
  .hero-hours { text-align: left; }
}
@media (max-width: 767px) {
  .hero { padding: 10px 10px 0; }
  .hero-frame { height: var(--hero-h, calc(100svh - var(--hh) - 64px - 74px)); min-height: 420px; border-radius: 14px; }
  .hero-frame img { object-position: 50% 45%; }
  .hero-frame::after { background: linear-gradient(to top, rgba(28, 25, 21, .55) 0%, rgba(28, 25, 21, .28) 34%, rgba(28, 25, 21, 0) 62%); }
  .hero-title h1 { font-size: clamp(1.6rem, 7.8vw, 2.25rem); letter-spacing: .03em; }
  .hero-bar { padding: 20px 10px 8px; }
  .hero-facts { flex-direction: column; gap: 10px; }
  .hero-contact { display: none; }
  .hero-hours { display: none; }
}

/* 工事と料金のカード（トップ） */
.svc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.svc-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.svc-card .ph { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc-card .bd { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc-card h3 { font-size: 1.16rem; }
.svc-card .what { font-size: .88rem; color: var(--muted); line-height: 1.7; margin: 0; }
.svc-card .price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); line-height: 1.6; }
.svc-card .price b { display: block; font-family: var(--serif); font-size: 1.22rem; color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.svc-card:hover { border-color: var(--accent); }
.svc-card:hover h3 { color: var(--accent); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .svc-card .bd { padding: 14px; } .svc-card h3 { font-size: 1.04rem; } .svc-card .price b { font-size: 1.05rem; } }
@media (max-width: 380px) { .svc-grid { grid-template-columns: 1fr; } }

/* 施工事例 */
.case-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.case { display: flex; flex-direction: column; gap: 16px; }
.case-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.case-tag::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.case h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.case-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px 0; margin: 4px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-facts div { padding: 10px 22px 10px 0; margin-right: 22px; border-right: 1px solid var(--line); }
.case-facts div:last-child { border-right: 0; margin-right: 0; }
.case-facts dt { font-size: .76rem; color: var(--muted); letter-spacing: .06em; }
.case-facts dd { margin: 0; font-weight: 700; font-size: 1rem; white-space: nowrap; }
.case p { margin: 0; color: var(--ink-2); }
.case .voice { font-family: var(--serif); font-size: 1rem; color: var(--ink); padding-left: 16px; border-left: 2px solid var(--sand); line-height: 1.9; }
.case .voice small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) {
  .case-feature, .case-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .case-facts { grid-template-columns: repeat(2, auto); }
  .case-facts div:nth-child(2) { border-right: 0; margin-right: 0; }
}

/* 前後比較（JSが無い時は2枚並び） */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba figure { margin: 0; }
.ba img { width: 100%; border-radius: 12px; }
.ba figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.ba.is-compare { display: block; position: relative; overflow: hidden; border-radius: 14px; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.ba.is-compare figure { margin: 0; }
.ba.is-compare img { border-radius: 0; pointer-events: none; -webkit-user-drag: none; }
.ba.is-compare figcaption { display: none; }
.ba.is-compare .ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba.is-compare .ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba .cmp-bar { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .3); pointer-events: none; }
.ba .cmp-knob { position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .28); display: flex; align-items: center; justify-content: center; color: var(--accent); pointer-events: none; }
.ba .cmp-knob .ico { width: 26px; height: 26px; }
.ba .cmp-range { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ba.is-focus .cmp-knob { outline: 3px solid var(--accent); outline-offset: 2px; }
.ba .cmp-lab { position: absolute; top: 12px; color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); pointer-events: none; }
.ba .cmp-lab.l { left: 14px; }
.ba .cmp-lab.r { right: 14px; }
.cmp-note { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
.ph-single img { border-radius: 14px; }
.ph-single figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* 見積りの決まり（トップ） */
.rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.rule { padding: 28px 28px 28px 0; border-right: 1px solid var(--line); }
.rule + .rule { padding-left: 28px; }
.rule:last-child { border-right: 0; }
.rule .ico { width: 34px; height: 34px; color: var(--accent); margin-bottom: 12px; }
.rule h3 { font-size: 1.2rem; margin-bottom: 10px; }
.rule p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.est-sample { margin-top: clamp(32px, 4vw, 52px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 40px); }
.est-sample h3 { font-size: 1.2rem; margin-bottom: 4px; }
.est-sample .est-price { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 18px; }
.est-sample .est-price small { font-family: var(--sans); font-size: .84rem; color: var(--muted); margin-left: 8px; }
@media (max-width: 860px) {
  .rule-grid { grid-template-columns: 1fr; }
  .rule, .rule + .rule { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* 含まれるもの・含まれないもの・変わる理由 */
.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.incl > div { padding: 18px 20px; border-right: 1px solid var(--line); }
.incl > div:last-child { border-right: 0; }
.incl h4 { font-family: var(--sans); font-size: .88rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ink); letter-spacing: .04em; }
.incl h4 .ico { width: 18px; height: 18px; }
.incl .in h4 .ico { color: var(--accent); }
.incl .out h4 .ico { color: var(--muted); }
.incl .why h4 .ico { color: #8a6d3b; }
.incl ul { list-style: none; }
.incl li { font-size: .92rem; line-height: 1.7; padding-left: 1em; text-indent: -1em; color: var(--ink-2); margin-bottom: 4px; }
.incl li::before { content: "・"; }
@media (max-width: 760px) {
  .incl { grid-template-columns: 1fr; }
  .incl > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .incl > div:last-child { border-bottom: 0; }
}

/* 私たち（トップ） */
.about-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-band figure { margin: 0; }
.about-band img { border-radius: var(--r); }
.about-band figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.about-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 20px; }
.about-band .role { font-size: .86rem; color: var(--accent); font-weight: 700; letter-spacing: .08em; margin-bottom: 6px; }
.about-band blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 1.08rem; line-height: 2; color: var(--ink); }
.trust-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row li { display: flex; gap: 12px; align-items: flex-start; padding: 20px 18px; border-right: 1px solid var(--line); }
.trust-row li:last-child { border-right: 0; }
.trust-row .ico { width: 28px; height: 28px; color: var(--accent); margin-top: 2px; }
.trust-row b { display: block; font-size: 1rem; }
.trust-row span { font-size: .84rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) {
  .about-band { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row li:nth-child(2) { border-right: 0; }
  .trust-row li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-row li { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-row li:last-child { border-bottom: 0; }
}

/* お客様の声 */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.voices figure { margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .28); }
.voices blockquote { margin: 0 0 14px; font-family: var(--serif); font-size: 1.06rem; line-height: 2; color: #fff; }
.voices figcaption { font-size: .84rem; color: #c9d1d1; }
.sec.ink .note { color: #b9c3c3; }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; } }

/* 流れ（番号つき） */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: st; border-top: 1px solid var(--line); }
.steps li { padding: 24px 22px 0 0; position: relative; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps .num { font-family: var(--serif); font-size: 2.2rem; color: var(--sand); line-height: 1; display: block; margin-bottom: 12px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { font-size: .94rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li { padding-bottom: 20px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ご相談の帯 */
.cta { background: var(--paper-2); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: center; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta p { margin: 0; color: var(--ink-2); }
.cta-actions { display: grid; gap: 12px; min-width: 300px; }
.cta-actions .btn { width: 100%; }
.cta-note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { min-width: 0; }
}

/* このサンプルについて */
.about-sample { background: var(--white); border-top: 1px solid var(--line); }
.about-sample h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 16px; }
.about-sample .lead { color: var(--ink-2); max-width: 46em; }
.as-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 28px 0 0; }
.as-list div { padding: 16px 0; border-top: 1px solid var(--line); }
.as-list dt { font-weight: 700; font-size: .94rem; margin-bottom: 4px; }
.as-list dd { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 760px) { .as-list { grid-template-columns: 1fr; } }

/* 下層ページの見出し */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.crumb { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.page-head .lead { max-width: 40em; color: var(--ink-2); margin: 0; }
.page-photo { padding: 0 clamp(10px, 1.2vw, 18px); }
.page-photo img { width: 100%; border-radius: var(--r); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: .9rem; }
.jump a:hover { border-color: var(--accent); color: var(--accent); }

/* 工事と料金ページ */
.work-group + .work-group { margin-top: clamp(64px, 8vw, 112px); }
.group-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.group-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.group-head p { margin: 0; color: var(--muted); font-size: .94rem; }
.work { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); }
.work:first-of-type { padding-top: 0; }
.work figure { margin: 0; }
.work figure img { border-radius: 14px; }
.work figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.work h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 10px; }
.work .summary { color: var(--ink-2); }
.prices { width: 100%; border-collapse: collapse; margin: 6px 0 18px; }
.prices th, .prices td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices th { font-weight: 500; font-size: .94rem; color: var(--ink-2); padding-right: 16px; }
.prices td { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; white-space: nowrap; text-align: right; }
.prices td small { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 400; color: var(--muted); }
.work-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 0 0 18px; }
.work-meta dt { font-size: .82rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 2px; }
.work-meta dd { margin: 0; font-size: .94rem; color: var(--ink-2); line-height: 1.75; }
.work .case-link { margin-top: 16px; }
@media (max-width: 900px) {
  .work { grid-template-columns: 1fr; }
  .work-meta { grid-template-columns: 1fr; }
}
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.info { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.info .ico-lg { width: 36px; height: 36px; color: var(--accent); margin-bottom: 10px; }
.info h3 { font-size: 1.25rem; margin-bottom: 12px; }
.info p { color: var(--ink-2); font-size: .98rem; }
.info p:last-child { margin-bottom: 0; }
.info ul { list-style: none; margin-bottom: 12px; }
.info li { padding-left: 1.1em; text-indent: -1.1em; font-size: .96rem; color: var(--ink-2); margin-bottom: 6px; line-height: 1.75; }
.info li::before { content: "・"; }
.info.wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* 施工事例ページ */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter button { min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 500 .94rem var(--sans); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-count { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.gallery { display: grid; gap: clamp(56px, 7vw, 96px); }
.gcase { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.gcase[hidden] { display: none; }
.gcase:nth-child(even) .gcase-ph { order: 2; }
@media (max-width: 900px) {
  .gcase { grid-template-columns: 1fr; }
  .gcase:nth-child(even) .gcase-ph { order: 0; }
}
.ref-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .ref-grid { grid-template-columns: 1fr; } }

/* 流れページ */
.flow-list { list-style: none; display: grid; gap: 0; }
.flow-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 48px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); align-items: start; }
.flow-item:last-child { border-bottom: 1px solid var(--line); }
.flow-item .num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--sand); }
.flow-item h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 10px; }
.flow-item p { color: var(--ink-2); }
.flow-item ul { list-style: none; }
.flow-item li { padding-left: 1.1em; text-indent: -1.1em; color: var(--ink-2); font-size: .96rem; margin-bottom: 6px; line-height: 1.75; }
.flow-item li::before { content: "・"; }
.flow-item figure { margin: 0; }
.flow-item figure img { border-radius: 12px; }
.flow-item .kv { margin-top: 14px; background: var(--paper-2); border-radius: 10px; padding: 14px 18px; font-size: .92rem; color: var(--ink-2); }
.flow-item .kv b { color: var(--ink); }
@media (max-width: 900px) {
  .flow-item { grid-template-columns: 56px minmax(0, 1fr); }
  .flow-item .num { font-size: 2.2rem; }
  .flow-item figure { grid-column: 2; }
}
@media (max-width: 480px) {
  .flow-item { grid-template-columns: 1fr; gap: 10px; }
  .flow-item figure { grid-column: 1; }
}
.dur { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; }
.dur th, .dur td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: .96rem; vertical-align: top; }
.dur thead th { background: var(--paper-3); font-size: .86rem; font-weight: 700; }
.dur tbody th { font-weight: 500; }
.dur tr:last-child th, .dur tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .dur thead { display: none; }
  .dur, .dur tbody, .dur tr, .dur th, .dur td { display: block; width: 100%; }
  .dur tr { border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .dur th, .dur td { border: 0; padding: 2px 0; }
  .dur tbody th { font-weight: 700; }
  .dur td::before { content: attr(data-l) "："; color: var(--muted); font-size: .86rem; }
}
.faq-cat + .faq-cat { margin-top: clamp(40px, 5vw, 64px); }
.faq-cat h3 { font-size: 1.3rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.faq-cat h3 .ico { width: 24px; height: 24px; color: var(--accent); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 700; font-size: 1rem; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; font-family: var(--serif); color: var(--accent); margin-right: 12px; font-weight: 600; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .ans { padding: 0 0 20px 2.2em; color: var(--ink-2); }
.faq .ans p:last-child { margin: 0; }

/* 私たちについて */
.greet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.greet figure { margin: 0; }
.greet img { border-radius: var(--r); }
.greet figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.greet h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 22px; }
.greet .sign { font-family: var(--serif); text-align: right; margin-top: 8px; }
@media (max-width: 860px) { .greet { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.values > div { display: flex; gap: 18px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.values > div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.values .ico { width: 34px; height: 34px; color: var(--accent); flex: none; }
.values h3 { font-size: 1.2rem; margin-bottom: 8px; }
.values p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 760px) {
  .values { grid-template-columns: 1fr; }
  .values > div, .values > div:nth-child(even) { padding: 24px 0; border-left: 0; }
}
.members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.member .role { font-size: .82rem; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.member h3 { font-size: 1.4rem; margin: 4px 0 10px; }
.member p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 860px) { .members { grid-template-columns: 1fr; } }
.work-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(28px, 4vw, 48px); }
.work-photos figure { margin: 0; }
.work-photos img { border-radius: 12px; }
.work-photos figcaption { font-size: .84rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 700px) { .work-photos { grid-template-columns: 1fr; } }
.history { list-style: none; border-left: 1px solid var(--sand); margin-left: 6px; }
.history li { position: relative; padding: 0 0 22px 28px; }
.history li::before { content: ""; position: absolute; left: -6px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.history b { font-family: var(--serif); font-size: 1.05rem; display: block; }
.history span { color: var(--ink-2); font-size: .96rem; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.quals { list-style: none; }
.quals li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.quals .ico { width: 20px; height: 20px; color: var(--accent); margin-top: 5px; }
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.area-map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--r); display: block; background: var(--paper-3); }
.towns { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.towns li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.towns b { font-family: var(--serif); font-size: 1.12rem; display: flex; align-items: center; gap: 8px; }
.towns b .ico { width: 18px; height: 18px; color: var(--accent); }
.towns span { display: block; font-size: .9rem; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } .area-map iframe { height: 320px; } }
@media (max-width: 520px) { .towns { grid-template-columns: 1fr; } }
.wide-photo { margin: 0 0 clamp(36px, 5vw, 64px); }
.wide-photo img { width: 100%; border-radius: var(--r); }
.wide-photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ご相談フォーム */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-aside { position: sticky; top: calc(var(--hh) + 24px); display: grid; gap: 16px; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.aside-card h2 { font-size: 1.15rem; margin-bottom: 12px; }
.aside-card .tel-big { display: flex; align-items: center; gap: 10px; font-size: 1.6rem; font-weight: 700; letter-spacing: .05em; color: var(--ink); text-decoration: none; line-height: 1.3; }
.aside-card .tel-big .ico { width: 26px; height: 26px; color: var(--accent); }
.aside-card p { font-size: .9rem; color: var(--ink-2); margin: 8px 0 0; line-height: 1.75; }
.aside-card .btn { width: 100%; margin-top: 14px; }
.aside-steps { list-style: none; counter-reset: a; }
.aside-steps li { counter-increment: a; display: flex; gap: 12px; font-size: .92rem; color: var(--ink-2); padding: 8px 0; border-top: 1px solid var(--line); line-height: 1.6; }
.aside-steps li::before { content: counter(a); font-family: var(--serif); color: var(--accent); font-weight: 600; width: 1.2em; flex: none; }
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; order: -1; grid-template-columns: 1fr 1fr; }
  .aside-card.steps-card { display: none; }
}
@media (max-width: 640px) {
  .contact-aside { grid-template-columns: 1fr; }
}
.form { display: grid; gap: clamp(40px, 5vw, 56px); }
.fset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fset legend { padding: 0; margin-bottom: 6px; display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 500; color: var(--ink); letter-spacing: .04em; }
.fset legend .n { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 1.05rem; flex: none; }
.fset .hint { margin: 0 0 18px 52px; font-size: .92rem; color: var(--muted); }
.req, .opt { display: inline-block; font-family: var(--sans); font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: .04em; vertical-align: middle; }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--paper-3); color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile .t-body { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.tile .t-ph { aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; position: relative; }
.tile .t-ph img { width: 100%; height: 100%; object-fit: cover; }
.tile .t-ph.icon { display: grid; place-items: center; color: var(--accent); }
.tile .t-ph.icon .ico { width: 44px; height: 44px; stroke-width: 1.3; }
.tile .t-name { padding: 12px 14px; font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 10px; min-height: 52px; line-height: 1.4; }
.tile .t-name small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.tile .t-check { width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--sand); flex: none; display: grid; place-items: center; background: #fff; }
.tile .t-check .ico { width: 16px; height: 16px; stroke-width: 2.4; color: #fff; opacity: 0; }
.tile input:checked + .t-body { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.tile input:checked + .t-body .t-check { background: var(--accent); border-color: var(--accent); }
.tile input:checked + .t-body .t-check .ico { opacity: 1; }
.tile input:focus-visible + .t-body { outline: 3px solid var(--accent); outline-offset: 2px; }
.tile:hover .t-body { border-color: var(--sand); }
@media (max-width: 700px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tile .t-name { padding: 10px 12px; font-size: .95rem; } }
.chip-row + .chip-row { margin-top: 22px; }
.chip-label { font-weight: 700; font-size: 1rem; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 52px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 1rem; color: var(--ink); transition: background .15s, border-color .15s; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip:hover span { border-color: var(--sand); }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 34px 20px; border: 2px dashed var(--sand); border-radius: var(--r); background: var(--white); cursor: pointer; transition: background .15s, border-color .15s; }
.drop .ico { width: 44px; height: 44px; color: var(--accent); stroke-width: 1.3; }
.drop b { font-size: 1.05rem; }
.drop span { font-size: .9rem; color: var(--muted); }
.drop .pick { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 22px; border-radius: 999px; border: 1px solid var(--ink-2); font-weight: 700; margin-top: 6px; color: var(--ink); }
.drop.is-over { background: var(--accent-pale); border-color: var(--accent); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.drop .sp-only { display: none; }
@media (hover: none) and (pointer: coarse) { .drop .pc-only { display: none; } .drop .sp-only { display: inline; } }
.thumbs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs li { position: relative; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(35, 33, 30, .75); color: #fff; font-size: 1rem; cursor: pointer; line-height: 1; }
.thumbs .fname { display: block; font-size: .74rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lab { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; font-size: 1.05rem; font-family: var(--sans); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 128px; line-height: 1.7; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: 3px solid var(--accent-pale); outline-offset: 0; }
.field .help { font-size: .84rem; color: var(--muted); margin: 0; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.submit-box { background: var(--paper-2); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); text-align: center; }
.submit-box .btn { min-width: min(100%, 360px); min-height: 60px; font-size: 1.1rem; }
.submit-box .note { margin: 14px 0 0; }
.sample-flag { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: #7a5a1e; background: #f4ead2; border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }
.form-result { margin-top: 18px; text-align: left; background: var(--white); border: 1px solid var(--accent); border-radius: 12px; padding: 18px 20px; }
.form-result[hidden] { display: none; }
.form-result h3 { font-size: 1.1rem; margin-bottom: 8px; }
.form-result dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .94rem; }
.form-result dt { color: var(--muted); }
.form-result dd { margin: 0; }
.form-error { color: #9b2c1f; font-size: .92rem; margin: 10px 0 0; font-weight: 700; }
.mini-faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.mini-faq div { border-top: 1px solid var(--ink); padding-top: 16px; }
.mini-faq h3 { font-size: 1.08rem; margin-bottom: 8px; }
.mini-faq p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 760px) { .mini-faq { grid-template-columns: 1fr; } }

/* ほかの見本 */
.os-band { background: var(--paper); }

/* フッター */
footer.site { background: var(--ink); color: #d9d4ca; padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); }
footer.site a { color: #f1ece2; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); }
.foot-brand b { font-family: var(--serif); font-size: 1.3rem; color: #fff; font-weight: 500; letter-spacing: .06em; display: block; margin-bottom: 10px; }
.foot-brand p { font-size: .92rem; line-height: 1.9; margin: 0 0 16px; }
.foot-map iframe { width: 100%; height: 200px; border: 0; border-radius: 12px; display: block; filter: grayscale(.3); }
footer.site h2 { font-family: var(--sans); font-size: .86rem; font-weight: 700; color: #fff; letter-spacing: .1em; margin-bottom: 12px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; font-size: .94rem; }
footer.site li a { text-decoration: none; }
footer.site li a:hover { text-decoration: underline; }
.foot-note { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .82rem; line-height: 1.9; color: #bdb6aa; }
.foot-note strong { color: #fff; }
.foot-copy { margin-top: 18px; font-size: .78rem; color: #9d968a; display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

/* スマホ固定の相談ボタン */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 74px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(245, 242, 236, .97); border-top: 1px solid var(--line);
  }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border-radius: 12px; text-decoration: none; font-size: .8rem; font-weight: 700; line-height: 1.2; }
  .mobile-cta .ico { width: 22px; height: 22px; }
  .mobile-cta .m-tel { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
  .mobile-cta .m-tel .ico { color: var(--accent); }
  .mobile-cta .m-line { background: var(--line-green); color: #fff; }
  .mobile-cta .m-form { background: var(--accent); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ===== 追加の部品 ===== */
.h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 14px; }
.h2.mb { margin-bottom: 22px; }
.h4 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
br.pc { display: inline; }
@media (max-width: 767px) { br.pc { display: none; } }
.dots { list-style: none; }
.dots li { padding-left: 1.1em; text-indent: -1.1em; color: var(--ink-2); font-size: .97rem; line-height: 1.75; margin-bottom: 6px; }
.dots li::before { content: "・"; }

/* PCメニューの開閉（押して開く） */
.gnav li.dd { position: relative; }
.gnav details > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px;
  padding: 10px 8px; color: var(--ink-2); font-size: .95rem; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent;
}
.gnav details > summary::-webkit-details-marker { display: none; }
.gnav details > summary:hover { color: var(--accent); }
.gnav li.dd.is-here > details > summary { color: var(--ink); border-bottom-color: var(--accent); }
.gnav .dd-chev { width: 15px; height: 15px; transition: transform .2s; }
.gnav details[open] .dd-chev { transform: rotate(180deg); }
.gnav .dd-list {
  list-style: none; position: absolute; top: calc(100% + 8px); left: -12px; min-width: 210px; z-index: 210;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px;
  box-shadow: 0 10px 30px rgba(35, 33, 30, .12); display: block;
}
.gnav .dd-list a { display: block; padding: 11px 14px; border-radius: 8px; border-bottom: 0; font-size: .95rem; }
.gnav .dd-list a:hover { background: var(--paper-2); }
.gnav .dd-list a[aria-current="page"] { background: var(--accent-pale); color: var(--accent-dark); }
@media (max-width: 959px) {
  .mobile-nav li.mn-group { padding: 18px 24px 6px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; border-bottom: 0; }
  .mobile-nav li.mn-sub a { padding-left: 40px; }
}

/* 最初の画面の小見出し */
.hero-title .hero-sub { margin: 14px 0 0; font-size: clamp(.95rem, 1.25vw, 1.08rem); line-height: 1.85; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); max-width: 44em; }
@media (max-width: 767px) { .hero-title .hero-sub { font-size: .92rem; margin-top: 10px; } }

/* 数字 */
.numbers { padding: 8px 0 clamp(40px, 5vw, 64px); }
.num-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.num-row div { padding: 20px 18px; border-right: 1px solid var(--line); }
.num-row div:last-child { border-right: 0; }
.num-row dt { font-size: .84rem; color: var(--muted); }
.num-row dd { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.2; color: var(--ink); }
.num-row dd small { font-size: .95rem; margin-left: 4px; font-family: var(--sans); color: var(--ink-2); }
@media (max-width: 700px) {
  .num-row { grid-template-columns: 1fr 1fr; }
  .num-row div:nth-child(2) { border-right: 0; }
  .num-row div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* お悩み */
.worry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.worry-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.worry { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.worry .ico { width: 34px; height: 34px; color: var(--accent); margin-bottom: 12px; }
.worry h3 { font-size: 1.15rem; margin-bottom: 8px; }
.worry p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .worry-grid, .worry-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .worry-grid, .worry-grid.four { grid-template-columns: 1fr; } }

/* 工事の入口（押せる帯つき） */
.svc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.svc-big { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc-big .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.svc-big .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc-big .bd { padding: 22px 22px 18px; flex: 1; }
.svc-big h3 { font-size: 1.35rem; margin-bottom: 8px; }
.svc-big .bd p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.svc-big .go { display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid var(--line); background: var(--paper-2); color: var(--accent); font-weight: 700; font-size: .92rem; padding: 14px 10px; }
.svc-big .go::after { content: "\25b6"; font-size: .7rem; }
.svc-big:hover { border-color: var(--accent); color: var(--ink); }
.svc-big:hover .go { background: var(--accent); color: #fff; border-top-color: var(--accent); }
@media (max-width: 900px) { .svc3 { grid-template-columns: 1fr; } .svc-big { flex-direction: row; } .svc-big .ph { width: 38%; aspect-ratio: auto; } .svc-big .bd { padding: 16px; } .svc-big .go { display: none; } .svc-big .bd::after { content: "詳しく見る \25b6"; display: block; margin-top: 10px; color: var(--accent); font-weight: 700; font-size: .88rem; } }
@media (max-width: 480px) { .svc-big .bd p { font-size: .9rem; } .svc-big h3 { font-size: 1.15rem; } }

/* 料金の表（大） */
.prices.big th { font-size: 1rem; padding: 16px 16px 16px 0; color: var(--ink); }
.prices.big td { font-size: 1.25rem; padding: 16px 0; }
.prices.big a { color: var(--ink); text-decoration-color: var(--sand); }
.prices td.t { font-family: var(--sans); font-size: .95rem; font-weight: 500; white-space: normal; text-align: right; }
@media (max-width: 520px) { .prices.big td { font-size: 1.05rem; } .prices.big th { font-size: .92rem; } }

/* 地域の札 */
.town-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.town-chips li { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .98rem; }

/* 事例の詳しい欄 */
.case-sub h3 { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 6px; }
.case-sub p { margin: 0; }
.case-facts dd small { display: block; font-size: .72rem; font-weight: 400; color: var(--muted); }
.cross { margin-top: clamp(40px, 5vw, 64px); }
.gcase-o { display: flex; flex-direction: column; gap: 16px; }
.gcase-o[hidden] { display: none; }
.gcase-o .case p { margin: 0; }

/* 工事の詳しいブロック */
.work-ph { position: sticky; top: calc(var(--hh) + 24px); }
@media (max-width: 900px) { .work-ph { position: static; } }
.dsubs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin: 18px 0 22px; }
.dsub h4 { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.dsub:nth-child(4), .dsub:nth-child(2):last-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .dsubs { grid-template-columns: 1fr; } }
.points { list-style: none; }
.points li { font-size: .97rem; color: var(--ink-2); line-height: 1.8; margin-bottom: 8px; padding-left: 14px; border-left: 2px solid var(--paper-3); }
.points b { color: var(--ink); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 16px 20px; background: var(--paper-2); border-radius: 12px; }
.price-line span { font-size: .84rem; font-weight: 700; color: var(--accent); }
.price-line b { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.price-line a { font-size: .9rem; margin-left: auto; }
.price-line em { font-style: normal; font-size: .86rem; color: var(--muted); }
.badge-rec { display: inline-block; font-size: .8rem; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.mini-ph { margin: 18px 0; max-width: 420px; }
.mini-ph img { border-radius: 12px; }
.mini-ph figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* 冬の気温 */
.temp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ink); }
.temp-row div { padding: 22px 18px 18px 0; border-right: 1px solid var(--line); }
.temp-row div + div { padding-left: 22px; }
.temp-row div:last-child { border-right: 0; }
.temp-row dt { font-size: .95rem; color: var(--ink-2); font-weight: 700; }
.temp-row dd { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.15; color: var(--accent); }
.temp-row dd small { font-size: .4em; margin-left: 4px; color: var(--ink-2); }
.temp-cap { margin: 16px 0 6px; color: var(--ink-2); }
@media (max-width: 520px) { .temp-row div, .temp-row div + div { padding: 16px 8px; } }

/* 補助金（濃い地） */
.sb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.sb-grid > div { border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 20px; }
.sb-grid .ico { width: 32px; height: 32px; color: #fff; margin-bottom: 10px; }
.sb-grid h3 { font-size: 1.2rem; margin-bottom: 8px; }
.sb-grid p { color: #dfe5e5; margin: 0; }
.sb-note { list-style: none; margin-top: 32px; font-size: .86rem; color: #c3cdcd; }
.sb-note li { padding-left: 1.1em; text-indent: -1.1em; margin-bottom: 4px; }
.sb-note li::before { content: "※ "; }
@media (max-width: 760px) { .sb-grid { grid-template-columns: 1fr; } }

/* 流れの段数違い */
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .steps.five { grid-template-columns: 1fr 1fr; } .steps.five li { padding-bottom: 20px; } .steps.five li:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 860px) { .steps.three li:nth-child(3) { padding-left: 22px; border-left: 1px solid var(--line); } }
@media (max-width: 480px) { .steps.five, .steps.three { grid-template-columns: 1fr; } .steps.five li, .steps.three li, .steps.three li:nth-child(3) { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* 料金の内訳 */
.price-list { display: grid; gap: clamp(20px, 3vw, 32px); }
.price-item { scroll-margin-top: calc(var(--hh) + 16px); }
.pi-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 20px; margin-bottom: 12px; }
.pi-head h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.pi-price { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; }
.two-col.tight { gap: 24px; margin-top: 12px; }

/* 流れ */
.kv-lead { margin-bottom: 6px; font-weight: 700; color: var(--ink); }
.fi-empty { display: none; }
@media (min-width: 901px) { .flow-item:has(.fi-empty) { grid-template-columns: 96px minmax(0, 1fr) minmax(0, .8fr); } }

/* メンバー */
.member .duty { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.member .word { margin-top: 12px; font-family: var(--serif); color: var(--ink); }
.member p + p { margin-top: 8px; }

/* 見出しは文節で折り返す（対応ブラウザのみ） */
h1, h2, h3 { word-break: auto-phrase; text-wrap: balance; }
.work { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } }

/* スマホメニュー：画面に収まるよう、まとまりごとに2列 */
@media (max-width: 959px) {
  .mobile-nav { padding-bottom: 20px; }
  .mobile-nav > ul > li > a { padding: 13px 24px; }
  .mobile-nav li.mn-group { padding: 12px 20px 14px; border-bottom: 1px solid var(--line); }
  .mobile-nav li.mn-group p { margin: 0 0 8px 4px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
  .mobile-nav .mn-grid { list-style: none; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mobile-nav .mn-grid li a { justify-content: center; text-align: center; padding: 10px 8px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: .97rem; }
  .mobile-nav .mn-grid li a::after { display: none; }
  .mobile-nav .mn-grid li a[aria-current="page"] { border-color: var(--accent); background: var(--accent-pale); }
  .mobile-nav .mn-contact { grid-template-columns: 1fr 1fr; padding-top: 16px; }
  .mobile-nav .mn-contact .mn-form { grid-column: 1 / -1; }
  .mobile-nav .mn-contact .btn { min-height: 50px; font-size: .95rem; padding: 10px 12px; }
  .mobile-nav .mn-contact .btn-tel { flex-direction: row; border-radius: 999px; gap: 8px; }
  .mobile-nav .mn-note { padding-top: 10px; }
}

/* 下層ページの見出し：写真を右に */
.page-head.split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-head.split figure { margin: 0; }
.page-head.split img { border-radius: var(--r); width: 100%; }
@media (max-width: 860px) { .page-head.split .wrap { grid-template-columns: 1fr; } }

/* 写真の帯（全幅・角丸） */
.photo-band { position: relative; margin: 0; padding: 0 clamp(10px, 1.2vw, 18px); }
.photo-band img { width: 100%; border-radius: var(--r); }
.photo-band figcaption { position: absolute; left: calc(clamp(10px, 1.2vw, 18px) + clamp(20px, 3vw, 44px)); bottom: clamp(18px, 2.6vw, 36px); right: 40px; color: #fff; }
.photo-band figcaption span { font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: .06em; text-shadow: 0 1px 14px rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .4); }
@media (max-width: 600px) { .photo-band figcaption { position: static; padding: 8px 4px 0; } .photo-band figcaption span { color: var(--muted); text-shadow: none; font-family: var(--sans); font-size: .84rem; } }

/* 施工事例1件を全幅で */
.case-wide .cw-media .ba.is-compare { border-radius: var(--r); }
.cw-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 64px); margin-top: 24px; align-items: start; }
.cw-body h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 6px 0 12px; }
.cw-body p { color: var(--ink-2); }
@media (max-width: 860px) { .cw-body { grid-template-columns: 1fr; } }

/* 私たちについて：写真を画面の端まで */
.bleed { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding: clamp(72px, 9vw, 128px) var(--gut) clamp(72px, 9vw, 128px) 0; }
.bleed > figure { margin: 0; }
.bleed > figure img { width: 100%; border-radius: 0 var(--r) var(--r) 0; }
.bleed > figure figcaption { font-size: .82rem; color: var(--muted); margin: 8px 0 0 var(--gut); }
.bleed-text { max-width: 520px; }
.bleed-sub { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.bleed-sub img { border-radius: 10px; }
.bleed-sub p { margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .bleed { grid-template-columns: 1fr; padding: clamp(56px, 8vw, 96px) 0; }
  .bleed > figure img { border-radius: 0; }
  .bleed-text { padding: 0 var(--gut); max-width: none; }
}

/* 中央そろえの見出し・大きな料金 */
.sec-head.center { text-align: center; justify-items: center; }
.big-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.big-prices div { padding: 32px 20px; text-align: center; border-right: 1px solid var(--line); }
.big-prices div:last-child { border-right: 0; }
.big-prices dt { font-size: .98rem; color: var(--ink-2); margin-bottom: 8px; }
.big-prices dd { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.3; color: var(--ink); white-space: nowrap; }
.big-prices dd span { font-size: .6em; margin: 0 .15em; color: var(--muted); }
.big-prices dd small { font-size: .45em; margin-left: .2em; font-family: var(--sans); color: var(--ink-2); }
.center-note { text-align: center; font-size: .86rem; color: var(--muted); margin: 18px auto 0; max-width: 46em; }
.center-more { text-align: center; margin-top: 18px; }
@media (max-width: 760px) { .big-prices { grid-template-columns: 1fr; } .big-prices div { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 10px; } .big-prices div:last-child { border-bottom: 0; } }

/* 対応エリア：全幅の写真に地名 */
.area-band { padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.ab-photo { position: relative; margin: 0 clamp(10px, 1.2vw, 18px); border-radius: var(--r); overflow: hidden; }
.ab-photo img { width: 100%; }
.ab-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 30, 34, .5) 0%, rgba(22, 30, 34, .2) 35%, rgba(22, 30, 34, 0) 60%); pointer-events: none; }
.ab-text { position: absolute; left: clamp(22px, 3.6vw, 56px); bottom: clamp(20px, 3.2vw, 48px); right: 22px; z-index: 2; color: #fff; }
.ab-text h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.8rem); text-shadow: 0 1px 16px rgba(0, 0, 0, .4); }
.ab-towns { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.5rem); letter-spacing: .08em; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
br.sp { display: none; }
.ab-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; margin-top: 22px; }
.ab-foot p { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { br.sp { display: inline; } .ab-photo::after { background: linear-gradient(to top, rgba(22, 30, 34, .6) 0%, rgba(22, 30, 34, .25) 50%, rgba(22, 30, 34, 0) 80%); } }

/* 短い文の最後に1〜2文字だけ残らないように */
p, li, dt, dd, figcaption, .btn, blockquote { text-wrap: pretty; }
li, dt, dd, .btn, .worry p, .os-lead, .member p, .cmp-note { word-break: auto-phrase; }

/* 料金の内訳に小さな写真 */
.price-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.pi-thumb img { border-radius: 12px; width: 100%; }
@media (max-width: 760px) { .price-item { grid-template-columns: 1fr; gap: 12px; } .pi-thumb { max-width: 260px; } }

/* 料金の内訳：幅が狭い時は3つの欄を縦に並べる */
@media (max-width: 1180px) {
  .price-item { grid-template-columns: 160px minmax(0, 1fr); }
  .price-item .incl { grid-template-columns: 1fr; }
  .price-item .incl > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-item .incl > div:last-child { border-bottom: 0; }
}
@media (max-width: 760px) { .price-item { grid-template-columns: 1fr; } }

/* ===== 最終修正 ===== */
/* 箇条：点を外に出し、2行目以降をそろえる（全ページ共通） */
.dots li, .incl li, .info li, .flow-item li, .sb-note li { position: relative; padding-left: 1.1em; text-indent: 0; }
.dots li::before, .incl li::before, .info li::before, .flow-item li::before { content: "・"; position: absolute; left: 0; top: 0; }
.sb-note li::before { content: "※"; position: absolute; left: 0; top: 0; }
/* 金額・短いまとまりは途中で折り返さない */
.nw, .rf-step-title small.nw { white-space: nowrap; }
.prices td, .pi-price, .big-prices dd, .case-facts dd { white-space: nowrap; }
/* 前後比較の札：写真の上でも読めるよう、札だけ半透明の暗い下地 */
.ba .cmp-lab { background: rgba(28, 25, 21, .5); padding: 3px 10px; border-radius: 999px; text-shadow: none; }
/* 数字は3つ */
.num-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .num-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .num-row div { padding: 14px 8px; border-bottom: 0 !important; border-right: 1px solid var(--line) !important; }
  .num-row div:last-child { border-right: 0 !important; }
  .num-row dd { font-size: 1.8rem; }
  .num-row dd small { font-size: .8rem; }
}
/* ご相談ページでもヘッダーの現在地に下線 */
.head-btn { position: relative; }
.head-btn[aria-current="page"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -13px; height: 2px; background: var(--accent); }
/* スマホメニュー：連絡のボタンを1列3つにして画面内に収める */
@media (max-width: 959px) {
  .mobile-nav > ul > li > a { padding: 12px 24px; }
  .mobile-nav .mn-grid li a { min-height: 46px; }
  .mobile-nav .mn-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 14px 16px 0; }
  .mobile-nav .mn-c { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border-radius: 12px; text-decoration: none; font-size: .8rem; font-weight: 700; line-height: 1.2; text-align: center; }
  .mobile-nav .mn-c .ico { width: 22px; height: 22px; }
  .mobile-nav .m-tel { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
  .mobile-nav .m-tel .ico { color: var(--accent); }
  .mobile-nav .m-line { background: var(--line-green); color: #fff; }
  .mobile-nav .m-form { background: var(--accent); color: #fff; }
  .mobile-nav .mn-note { padding-top: 8px; font-size: .78rem; }
}
/* 水回りの冒頭写真はスマホでは出さない（すぐ下のキッチンの写真と続くため） */
@media (max-width: 767px) { .page-photo.hide-sp { display: none; } }
/* 料金の内訳：1024幅でも3列 */
@media (max-width: 1180px) {
  .price-item { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .price-item .incl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-item .incl > div { border-right: 1px solid var(--line); border-bottom: 0; padding: 14px 14px; }
  .price-item .incl > div:last-child { border-right: 0; }
}
@media (max-width: 900px) {
  .price-item .incl { grid-template-columns: 1fr; }
  .price-item .incl > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-item .incl > div:last-child { border-bottom: 0; }
}
@media (max-width: 760px) { .price-item { grid-template-columns: 1fr; } }
/* 外壁・屋根（協力業者）は1件を横並びで */
.ref-one .gcase-o { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
@media (max-width: 860px) { .ref-one .gcase-o { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .num-row dt { font-size: .72rem; white-space: nowrap; letter-spacing: 0; }
  .num-row dd { font-size: 1.55rem; white-space: nowrap; }
  .num-row dd small { font-size: .74rem; margin-left: 2px; }
  .num-row div { padding: 14px 6px; }
}
