/* とじまり防除（害虫駆除の見本サイト）
   設計: websites/sample-gaichu/design/（brand-direction・visual-rhythm-map・approved-concept）
   方針: 生成りの紙＋焦げ茶の線＋テラコッタ1色。影・グラデーションなし。角は 2〜4px。 */

:root {
  --paper: #F5EFE3;
  --paper-deep: #EDE4D3;
  --white: #FFFDF8;
  --ink: #3B2F2A;
  --ink-2: #5A4A42;
  --ink-3: #6E5C52;
  --terra: #B04A25;          /* 文字の色・文字が乗る面（ボタン・番号）。白文字 5.4:1・生成りの上 4.8:1 */
  --terra-line: #C4552D;     /* 線・点などの図形 */
  --terra-light: #E7895F;    /* 焦げ茶の面の上の図形 */
  --terra-tint: #F3DDD0;
  --line: rgba(59, 47, 42, 0.16);
  --line-strong: rgba(59, 47, 42, 0.42);
  --f-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --f-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --banner-h: 38px;
  --peek: 176px;             /* 最初の画面の下端に見せる料金表の高さ（虫の名前と料金まで） */
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--terra-line); outline-offset: 3px; border-radius: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-only { display: none; }
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* 背景の種類（生成りの紙＋ごく薄い方眼／白／焦げ茶） */
.paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(59, 47, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 47, 42, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}
.white { background: var(--white); }
.dark { background: var(--ink); color: var(--paper); }

/* ---------- 見本の明示の帯 ---------- */
.fictional-banner {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  padding: 8px 16px;
  letter-spacing: 0.03em;
}
.fictional-banner strong { color: #F7C9B3; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 227, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: 0.06em; }
.brand__text small { font-size: 12px; color: var(--ink-3); letter-spacing: 0.12em; margin-top: 2px; }
.header-nav { margin-left: auto; }
.header-nav ul { display: flex; gap: 22px; }
.header-nav a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.header-nav a:hover { border-bottom-color: var(--terra-line); color: var(--ink); }
.header-contact { display: flex; align-items: center; gap: 16px; }
.header-tel { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; align-content: center; min-height: 48px; text-decoration: none; }
.header-tel svg { grid-row: span 2; width: 24px; height: 24px; color: var(--terra-line); }
.header-tel__num { font-family: var(--f-display); font-weight: 700; font-size: 25px; line-height: 1.1; letter-spacing: 0.04em; }
.header-tel__time { font-size: 11.5px; color: var(--ink-3); line-height: 1.3; letter-spacing: 0.04em; }
.header-call-sp { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: 0.04em;
  transition: background-color .2s ease, color .2s ease;
}
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn__icon { width: 22px; height: 22px; flex-shrink: 0; }
.btn__note { font-size: 12px; font-weight: 400; color: var(--ink-3); margin-left: 4px; letter-spacing: 0.02em; }
.btn--line:hover .btn__note { color: inherit; }

.btn-call {
  display: inline-grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px;
  min-height: 76px; padding: 10px 22px 10px 14px;
  background: var(--terra); color: #fff; text-decoration: none;
  border-radius: var(--radius);
  transition: background-color .2s ease;
}
.btn-call:hover { background: #963D1E; }
.btn-call__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.7); }
.btn-call__icon svg { width: 24px; height: 24px; }
.btn-call__text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-call__text small { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.btn-call__text strong { font-family: var(--f-display); font-weight: 700; font-size: 30px; letter-spacing: 0.05em; margin-top: 3px; }
.btn-call__text--one strong.jp { font-size: 20px; letter-spacing: 0.06em; margin-top: 0; }
.btn-call__arrow { width: 24px; height: 24px; transition: transform .25s ease; }
.btn-call:hover .btn-call__arrow { transform: translateX(4px); }
.btn-call--wide { width: 100%; max-width: 420px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--terra); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.link-arrow svg { width: 20px; height: 20px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--dark { color: #F7C9B3; }

/* ---------- 見出しの共通 ---------- */
.label-en {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; color: var(--terra);
  margin-bottom: 10px;
}
.label-en::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.label-en span { color: var(--ink-3); letter-spacing: 0.1em; font-size: 12px; }
.label-en--dark { color: var(--terra-light); }
.label-en--dark span { color: rgba(245, 239, 227, 0.72); }
.h2, .step h3, .check-list h3, .area__big, .closing__title, .faq-list summary, .link-arrow, .hero__sub { word-break: auto-phrase; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 2.8vw, 2.6rem); line-height: 1.4; letter-spacing: 0.04em; }
.h2--dark { color: var(--paper); }
.lead { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 40em; }
.lead--dark { color: rgba(245, 239, 227, 0.86); }
.section-head { margin-bottom: 56px; }

/* =========================================================
   S1 最初の画面
   ========================================================= */
.hero {
  min-height: calc(100svh - var(--header-h) - var(--banner-h));
  display: flex; align-items: center;
  padding-top: 28px;
  padding-bottom: calc(var(--peek) + 28px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-2); }
.kicker__bar { width: 28px; height: 2px; background: var(--terra-line); }
.hero__title {
  margin-top: 18px;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.3rem, 3.85vw, 3.6rem);
  line-height: 1.3; letter-spacing: 0.03em;
  word-break: keep-all;
}
.hero__sub { margin-top: 20px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.85; font-weight: 700; color: var(--ink-2); }
.hero__cta { margin-top: 30px; display: grid; justify-items: start; gap: 12px; }
.hero__meta { font-size: 13.5px; color: var(--ink-3); letter-spacing: 0.04em; margin: -2px 0 6px; }
.hero__meta span { margin: 0 6px; }

/* 断面図（線画＝SVG、番号＝画面の部品。どちらも同じ座標から置く） */
.house { position: relative; }
.house__frame { position: relative; }
.house__canvas { position: relative; width: 100%; aspect-ratio: var(--vbw) / var(--vbh); }
.house__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.house-art { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.house-art .ln { stroke-width: 1.5; }
.house-art .ln2 { stroke-width: 2.2; }
.house-art .ln0 { stroke-width: 1; stroke-opacity: 0.7; }
.house-art .hl { stroke: var(--hl, var(--terra-line)); stroke-width: 2.2; }
.house-art .gap { stroke-width: 1.6; stroke-dasharray: 2 3; }
.house-art .beam { stroke-width: 1.2; stroke-dasharray: 3 4; }
.house-art .ld { stroke: var(--hl, var(--terra-line)); stroke-width: 1.1; }
.house-art .tg { fill: var(--hl, var(--terra-line)); stroke: none; }
.house-art .tg-ring { stroke: var(--hl, var(--terra-line)); stroke-width: 1; stroke-opacity: 0.55; }
.house--hero { color: var(--ink); }
.house--dark { color: var(--paper); --hl: var(--terra-light); }

.callout {
  position: absolute;
  left: calc((708 - var(--vbx)) / var(--vbw) * 100%);
  top: calc((var(--ly) - var(--vby)) / var(--vbh) * 100%);
  transform: translateY(-50%);
  display: flex; align-items: center; gap: 7px;
  padding: 2px 8px 2px 0;
  background: var(--paper);
  white-space: nowrap;
}
.callout__no, .mark {
  display: grid; place-items: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--terra); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: 13px; line-height: 1;
}
.callout__txt { display: flex; flex-direction: column; line-height: 1.25; }
.callout__txt b { font-size: 14px; letter-spacing: 0.04em; }
.callout__txt small { font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.02em; }
.mark {
  position: absolute; display: none;
  left: calc((var(--tx) - var(--vbx)) / var(--vbw) * 100%);
  top: calc((var(--ty) - var(--vby)) / var(--vbh) * 100%);
  transform: translate(-50%, -50%);
  width: 22px; height: 22px; font-size: 12px;
  box-shadow: 0 0 0 2px var(--paper);
}
.house--dark .callout { background: var(--ink); }
.house--dark .callout__txt b { color: var(--paper); font-size: 15px; }
.house--dark .callout__txt small { color: rgba(245, 239, 227, 0.8); font-size: 13px; }
.house--dark .mark { box-shadow: 0 0 0 2px var(--ink); }
.house__caption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.house__caption .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--terra-line); flex-shrink: 0; }

/* 線が引かれていく動き（最初の画面だけ。動きを減らす設定では止める） */
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(-50%) scale(0.85); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
.js .house--hero .house-art [pathLength] { stroke-dasharray: 1; animation: draw 1.5s cubic-bezier(0.45, 0, 0.2, 1) both; }
.js .house--hero .house-art .ln { animation-delay: 0.2s; }
.js .house--hero .house-art .ln0 { animation-delay: 0.45s; }
.js .house--hero .house-art .hl { animation-delay: 0.9s; animation-duration: 0.9s; }
.js .house--hero .house-art .ld,
.js .house--hero .house-art .tg,
.js .house--hero .house-art .tg-ring,
.js .house--hero .house-art .gap,
.js .house--hero .house-art .beam { animation: appear 0.5s ease 1.4s both; }
.js .house--hero .callout { animation: pop 0.35s ease both; animation-delay: calc(1.5s + var(--i) * 0.12s); }

/* =========================================================
   S2 対応する虫と料金の目安（最初の画面の下端に重ねる）
   ========================================================= */
.price { padding-bottom: clamp(72px, 9vw, 120px); }
.price-sheet {
  position: relative; z-index: 2;
  margin-top: calc(var(--peek) * -1);
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}
.price-sheet__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px;
  padding: 12px 28px; border-bottom: 1px solid var(--line-strong);
}
.price-sheet__title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: 0.06em; }
.price-sheet__title .label-en { margin: 0; }
.tax { font-family: var(--f-body); font-size: 13px; font-weight: 700; color: var(--terra); border: 1px solid var(--terra-line); padding: 0 8px; border-radius: 2px; letter-spacing: 0.08em; line-height: 1.7; }
.price-sheet__free { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.price-sheet__free > span:not(.sep) { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.price-sheet__free svg { width: 18px; height: 18px; color: var(--terra-line); }
.price-sheet__free .sep { width: 1px; height: 16px; background: var(--line-strong); margin: 0 10px; }
.price-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-item { padding: 16px 24px 24px; border-left: 1px solid var(--line); }
.price-item:first-child { border-left: 0; }
.price-item__top { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.price-item__icon { width: 52px; height: 52px; color: var(--ink); flex-shrink: 0; }
.price-item h3 { font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: 0.08em; line-height: 1.3; }
.price-item__yen { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px; color: var(--terra); line-height: 1.2; }
.price-item__yen .num { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.2vw, 31px); letter-spacing: 0.02em; }
.price-item__yen .from, .price-item__yen .per { font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.price-item__yen .tax-s { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-left: 6px; letter-spacing: 0.06em; }
.price-item__unit { margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
.price-item__detail { margin-top: 12px; display: grid; gap: 2px; font-size: 16px; line-height: 1.7; }
.price-item__detail dt { font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.1em; margin-top: 6px; }
.price-item__detail dt:first-child { margin-top: 0; }
.price-item__detail a { color: var(--terra); }
.price-sheet__foot { display: grid; grid-template-columns: 1fr 1.35fr auto; gap: 14px 32px; align-items: start; padding: 18px 28px 22px; border-top: 1px solid var(--line-strong); background: var(--paper); font-size: 16px; color: var(--ink-2); }
.price-sheet__foot b { color: var(--ink); display: block; }
.price-sheet__foot .care b { color: var(--terra); }
.price-sheet__foot .link-arrow { align-self: center; white-space: nowrap; }

/* =========================================================
   S3 入ってきた道まで、ふさぐ（焦げ茶の面）
   ========================================================= */
.sukima { padding: clamp(80px, 10vw, 136px) 0 clamp(80px, 9vw, 120px); min-height: 95svh; }
.sukima__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: "head figure" "side figure";
  grid-template-rows: auto 1fr;
  gap: 40px 56px; align-items: start;
}
.sukima__head { grid-area: head; }
.sukima .house { grid-area: figure; align-self: center; }
.sukima__side { grid-area: side; display: grid; gap: 22px; align-content: start; }
.sukima .lead { font-size: 16px; }

/* 写真（S3 の正方形・S5 の縦長。読み込むまでは下地の色だけ見える） */
.photo { position: relative; }
.photo__inner { overflow: hidden; border-radius: var(--radius); }
.photo__inner img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.photo--square .photo__inner { aspect-ratio: 1 / 1; max-width: 320px; background: #46382F; }
.photo--square figcaption { color: rgba(245, 239, 227, 0.75); }
.photo--tall .photo__inner { aspect-ratio: 4 / 5; background: var(--paper); }
.art-terra { stroke: var(--terra-line); }
.dark .art-terra { stroke: var(--terra-light); }
.thin { stroke-width: 1; stroke-opacity: 0.55; }
.js .photo[data-inview] .photo__inner > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(0.45, 0, 0.2, 1); }
.js .photo.is-in .photo__inner > * { clip-path: inset(0 0 0 0); }

/* S3 の吹き出しは見える位置に来てから順に出す */
.js .house--dark .callout { opacity: 0; transform: translate(-10px, -50%); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(0.15s + var(--i) * 0.12s); }
.js .house--dark.is-in .callout { opacity: 1; transform: translate(0, -50%); }

/* =========================================================
   S4 3つの約束（点検票）
   ========================================================= */
.promise { padding: clamp(88px, 11vw, 150px) 0; min-height: 70svh; display: flex; align-items: center; }
.check-sheet {
  position: relative;
  max-width: 980px; margin-inline: auto;
  display: grid; grid-template-columns: 220px 1fr; gap: 12px 48px;
  padding: 44px 48px 44px;
  border: 1.5px dashed var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.6);
}
.check-sheet__head { padding-top: 4px; }
.check-sheet__head .h2 { font-size: clamp(1.75rem, 2.6vw, 2.3rem); }
.check-list { display: grid; gap: 22px; grid-column: 2; grid-row: 1 / span 2; }
.check-list li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; padding-bottom: 22px; border-bottom: 1px dashed var(--line-strong); }
.check-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.check-list h3 { font-size: 18px; line-height: 1.6; letter-spacing: 0.03em; }
.check-list p { margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.ck { display: grid; place-items: center; width: 30px; height: 30px; border: 1.8px solid var(--ink); border-radius: 2px; margin-top: 2px; background: var(--white); }
.ck svg { width: 24px; height: 24px; fill: none; stroke: var(--terra-line); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.js .check-sheet .ck path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.45s ease; }
.js .check-sheet.is-in .ck path { stroke-dashoffset: 0; }
.js .check-sheet.is-in li:nth-child(2) .ck path { transition-delay: 0.25s; }
.js .check-sheet.is-in li:nth-child(3) .ck path { transition-delay: 0.5s; }
.check-sheet__art { grid-column: 1; grid-row: 2; align-self: end; width: 200px; color: var(--ink); }

/* =========================================================
   S5 料金の内訳の例
   ========================================================= */
.estimate { padding: clamp(88px, 10vw, 136px) 0; }
.estimate__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.estimate .photo--tall { max-width: 460px; }
.estimate__case { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.estimate__case b { font-family: var(--f-display); font-size: 24px; color: var(--terra); margin: 0 2px; letter-spacing: 0.02em; }
.bill { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 16px; }
.bill thead th { font-size: 12.5px; color: var(--ink-3); font-weight: 700; text-align: left; letter-spacing: 0.08em; padding: 0 12px 8px 0; border-bottom: 1.5px solid var(--ink); }
.bill tbody th, .bill tbody td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.bill tbody th { font-weight: 700; white-space: nowrap; width: 11em; }
.bill tbody td { color: var(--ink-2); }
.bill .yen { text-align: right; white-space: nowrap; font-family: var(--f-display); font-weight: 700; color: var(--ink); padding-right: 0; }
.bill tfoot th, .bill tfoot td { padding-top: 14px; border-top: 2.5px solid var(--ink); text-align: left; font-weight: 700; }
.bill tfoot .yen { text-align: right; font-size: 26px; color: var(--terra); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: 15px; font-weight: 700; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { width: 18px; height: 18px; color: var(--terra-line); }
.facts b { color: var(--terra); font-family: var(--f-display); font-size: 18px; margin-left: 2px; }
.estimate__note { margin-top: 12px; font-size: 14.5px; color: var(--ink-3); }
.estimate .btn-call { margin-top: 28px; }

/* =========================================================
   S6 ご依頼の流れ
   ========================================================= */
.flow { padding: clamp(88px, 10vw, 136px) 0; min-height: 70svh; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step + .step::before {
  content: ""; position: absolute; left: -9px; top: 46px; width: 18px; height: 18px;
  background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 7l5 5-5 5' fill='none' stroke='%233B2F2A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.step__art { width: 100%; max-width: 200px; height: auto; color: var(--ink); }
.step__no { margin-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; color: var(--terra); }
.step h3 { margin-top: 2px; font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.5; letter-spacing: 0.04em; }
.step p:last-child { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

/* =========================================================
   S7 対応エリア
   ========================================================= */
.area { padding: clamp(88px, 10vw, 128px) 0 0; position: relative; }
.area__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-bottom: 32px; }
.area__big { margin-top: 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.6; letter-spacing: 0.04em; }
.area__note { margin-top: 16px; font-size: 16px; color: var(--ink-2); max-width: 26em; }
.area .link-arrow { margin-top: 20px; }
.area__map svg { width: 100%; max-width: 620px; margin-inline: auto; }
.area__map figcaption { text-align: right; font-size: 12.5px; color: var(--ink-3); max-width: 620px; margin-inline: auto; }
.m-area { fill: url(#dots); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.m-area + .m-area { stroke-width: 1.4; }
.m-river { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-opacity: .55; stroke-dasharray: 6 4; }
.m-wave { fill: none; stroke: var(--ink); stroke-width: 1; stroke-opacity: .45; }
.m-inner { fill: none; stroke: var(--ink); stroke-width: .8; stroke-opacity: .25; }
.m-labels text { font-family: var(--f-body); font-size: 15px; font-weight: 700; fill: var(--ink); }
.m-labels .m-big { font-family: var(--f-display); font-size: 26px; letter-spacing: .08em; }
.m-lead { fill: none; stroke: var(--ink); stroke-width: 1; }
.skyline { width: 100%; height: 96px; color: var(--ink); }
.skyline__g { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-opacity: .6; }
.skyline__g .thin { stroke-opacity: .5; }

/* =========================================================
   S8 よくある質問
   ========================================================= */
.faq { padding: clamp(88px, 10vw, 136px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.report { position: sticky; top: calc(var(--header-h) + 32px); }
.report__sheet {
  position: relative;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 28px 28px 24px;
}
.report__stamp {
  position: absolute; top: 20px; right: 20px;
  font-size: 12px; font-weight: 700; color: var(--terra); border: 1.5px solid var(--terra-line);
  padding: 1px 10px; letter-spacing: .2em; border-radius: 2px;
}
.report__title { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: .12em; }
.report__meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.report__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.report__photos svg { width: 100%; height: auto; color: var(--ink); background: var(--paper); border-radius: 2px; }
.report__photos figcaption { margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.report__photos figcaption b { display: block; font-size: 12px; color: var(--terra); letter-spacing: .1em; }
.report__list { margin-top: 16px; display: grid; gap: 6px; font-size: 14.5px; }
.report__list li { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.report__list svg { width: 18px; height: 18px; color: var(--terra-line); flex-shrink: 0; }
.report__next { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.report__cap { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.faq-list { margin-top: 26px; border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 52px 20px 40px;
  font-weight: 700; font-size: 17px; line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 4px; top: 19px; font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--terra); }
.faq-list summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
}
.faq-list details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat; }
.faq-list details p { padding: 0 52px 22px 40px; font-size: 16px; color: var(--ink-2); }
.faq .btn-call { margin-top: 32px; }

/* =========================================================
   S9 会社概要
   ========================================================= */
.company { padding: clamp(88px, 10vw, 128px) 0; min-height: 60svh; }
.company__sheet { max-width: 920px; margin-inline: auto; display: grid; grid-template-columns: 220px 1fr; gap: 20px 48px; }
.company__table { border: 1.5px dashed var(--ink); border-radius: var(--radius); padding: 8px 32px; }
.company__table > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line-strong); font-size: 16px; }
.company__table > div:last-child { border-bottom: 0; }
.company__table dt { font-weight: 700; color: var(--ink-2); }
.company__notice { grid-column: 2; font-size: 14px; color: var(--ink-3); }

/* =========================================================
   S10 締め
   ========================================================= */
.closing { position: relative; overflow: hidden; padding: clamp(88px, 10vw, 128px) 0; min-height: 60svh; display: flex; align-items: center; }
.closing__logo { position: absolute; right: -60px; bottom: -80px; width: 460px; height: 460px; color: var(--paper); opacity: .07; }
.closing__inner { position: relative; text-align: center; }
.closing__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: .06em; line-height: 1.5; }
.closing__tel { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: .05em; line-height: 1.15; color: var(--paper); }
.closing__tel svg { width: .78em; height: .78em; color: var(--terra-light); }
.closing__time { margin-top: 8px; font-size: 15px; color: rgba(245, 239, 227, 0.82); }
.closing__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.closing .btn--light { min-height: 76px; padding-inline: 26px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--paper-deep); padding: 48px 0 28px; border-top: 1px solid var(--line); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.footer__brand p { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 32px; font-size: 14px; }
.footer__nav a { text-decoration: none; color: var(--ink-2); }
.footer__nav a:hover { text-decoration: underline; }
.footer__notice { margin-top: 28px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- スマホの固定バー ---------- */
.fixed-bar { display: none; }

/* ---------- 見本の案内 ---------- */
.demo-notice { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 0; max-width: min(460px, calc(100vw - 32px)); background: var(--white); color: var(--ink); }
.demo-notice::backdrop { background: rgba(59, 47, 42, 0.55); }
.demo-notice__body { padding: 28px 28px 24px; }
.demo-notice__title { font-family: var(--f-display); font-size: 20px; margin-bottom: 10px; }
.demo-notice__body p { font-size: 15px; color: var(--ink-2); }
.demo-notice__close { margin-top: 18px; min-height: 48px; padding: 8px 24px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); border-radius: var(--radius); font-weight: 700; cursor: pointer; }

/* =========================================================
   幅ごとの組み直し
   ========================================================= */
@media (max-width: 1240px) {
  .header-nav { display: none; }
  .header-contact { margin-left: auto; }
}

@media (max-width: 1100px) {
  .price-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-item:nth-child(3) { border-left: 0; }
  .price-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .price-sheet__foot { grid-template-columns: 1fr 1fr; }
  .price-sheet__foot .link-arrow { grid-column: 1 / -1; justify-self: start; }
  .sukima__grid { grid-template-columns: 1fr; grid-template-areas: "head" "figure" "side"; }
  .sukima__side { grid-template-columns: minmax(0, 320px) 1fr; align-items: end; }
}

@media (max-width: 900px) {
  :root { --peek: 0px; }
  .hero { min-height: 0; padding: 24px 0 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .house--hero { order: -1; }
  .hero__cta { justify-items: stretch; }
  .hero__cta .btn-call, .hero__cta .btn { width: 100%; max-width: 480px; }
  .price-sheet { margin-top: 0; }
  .price { padding-top: 8px; }
  .estimate__grid, .area__grid, .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .estimate .photo--tall { max-width: 420px; }
  .report { position: static; max-width: 520px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 0; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(2) { padding-right: 0; }
  .step:nth-child(3)::before { display: none; }
  .check-sheet { grid-template-columns: 1fr; padding: 36px 32px; }
  .check-list { grid-column: 1; grid-row: auto; }
  .check-sheet__art { grid-column: 1; grid-row: auto; justify-self: end; width: 160px; margin-top: -8px; }
  .company__sheet { grid-template-columns: 1fr; }
  .company__notice { grid-column: 1; }
}

@media (max-width: 760px) {
  /* 断面図: 文字の吹き出しは隠し、番号を「すき間の場所」に直接置く */
  .house .mark { display: grid; left: calc((var(--mx, var(--tx)) - var(--vbx)) / var(--vbw) * 100%); top: calc((var(--my, var(--ty)) - var(--vby)) / var(--vbh) * 100%); }
  /* 断面図の複製（S3 の use）にも効くよう、祖先に .house を書かない */
  .house-art .ld, .house-art .tg, .house-art .tg-ring { display: none; }
  .house--hero .callouts { display: none; }
  .house__frame { overflow: hidden; }
  .house--hero .house__canvas { width: 118%; margin-left: -2%; }
  /* S3 は図の下に番号つきの一覧で書く */
  .house--dark .house__canvas { width: 158%; }
  .house--dark .callouts { position: static; display: grid; gap: 10px; margin-top: 20px; }
  .house--dark .callout { position: static; transform: none; white-space: normal; padding: 0; align-items: flex-start; }
  .js .house--dark .callout { transform: none; }
  .js .house--dark.is-in .callout { transform: none; }
  .house--dark .callout__txt b { font-size: 16px; }
  .house--dark .callout__txt small { font-size: 16px; }
  .sukima__side { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 60px; }
  body { padding-bottom: 72px; }
  .sp-only { display: inline; }
  .fictional-banner { font-size: 12px; padding: 6px 12px; }
  .header-row { gap: 12px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__text strong { font-size: 19px; }
  .brand__text small { font-size: 11px; }
  .header-tel, .header-web { display: none; }
  .header-call-sp {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    min-height: 44px; padding: 6px 14px; border-radius: var(--radius);
    background: var(--terra); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
  }
  .header-call-sp svg { width: 20px; height: 20px; }
  .hero { padding: 12px 0 40px; }
  .hero__grid { gap: 14px; }
  .house__caption { font-size: 13px; margin-top: 4px; }
  .cap-more { display: none; }
  .kicker { font-size: 12.5px; letter-spacing: .06em; }
  .hero__title { margin-top: 10px; font-size: clamp(1.95rem, 8.6vw, 2.3rem); }
  .hero__sub { margin-top: 12px; font-size: 16px; }
  .hero__cta { margin-top: 20px; }
  .btn-call { min-height: 68px; column-gap: 12px; padding-right: 16px; }
  .btn-call__icon { width: 42px; height: 42px; }
  .btn-call__text strong { font-size: 27px; }
  .btn__note { display: none; }
  .price-sheet__head { padding: 12px 16px; }
  .price-sheet__free .sep { display: none; }
  .price-list { grid-template-columns: 1fr; }
  .price-item, .price-item:nth-child(3) { border-left: 0; padding: 14px 16px 16px; }
  .price-item__icon { width: 44px; height: 44px; }
  .price-item__unit { margin-top: 4px; padding-bottom: 10px; }
  .price-item__detail { margin-top: 8px; font-size: 16px; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 4px; }
  .price-item__detail dt { margin-top: 3px; }
  .price-item__detail dt:first-child { margin-top: 3px; }
  .price-item + .price-item { border-top: 1px solid var(--line); }
  .price-item__top { min-height: 0; }
  .price-sheet__foot { grid-template-columns: 1fr; padding: 16px; }
  .sukima { min-height: 0; }
  .check-sheet { padding: 28px 20px; }
  .check-list h3 { font-size: 17px; }
  .bill, .bill tbody, .bill tfoot { display: block; width: 100%; }
  .bill thead { display: none; }
  .bill tbody tr, .bill tfoot tr { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .bill tfoot tr { border-top: 2.5px solid var(--ink); border-bottom: 0; padding-top: 12px; }
  .bill tfoot th, .bill tfoot td { border: 0; padding: 0; }
  .bill tbody th, .bill tbody td { border: 0; padding: 0; }
  .bill tbody th { width: auto; }
  .bill tbody td:not(.yen) { grid-column: 1 / -1; grid-row: 2; font-size: 15.5px; margin-top: 2px; }
  .bill tbody td.yen { grid-row: 1; grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step, .step:first-child { padding: 0 0 0 0; display: grid; grid-template-columns: 116px 1fr; column-gap: 16px; }
  .step::before { display: none; }
  .step__art { grid-row: 1 / span 3; }
  .step__no { margin-top: 0; }
  .step h3 { font-size: 18px; }
  .company__table { padding: 4px 16px; }
  .company__table > div { grid-template-columns: 1fr; gap: 2px; }
  .faq-list summary { padding: 18px 40px 18px 32px; font-size: 16px; }
  .faq-list summary::before { left: 0; top: 17px; }
  .faq-list details p { padding: 0 8px 20px 32px; }
  .footer__nav { grid-template-columns: repeat(2, auto); gap: 0 24px; }
  .footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .closing__actions .btn-call, .closing__actions .btn { width: 100%; }
  .fixed-bar {
    display: grid; grid-template-columns: 1fr auto; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line-strong);
  }
  .fixed-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius); text-decoration: none; font-weight: 700; }
  .fixed-bar svg { width: 22px; height: 22px; flex-shrink: 0; }
  .fixed-bar__call { background: var(--terra); color: #fff; }
  .fixed-bar__call span { display: flex; flex-direction: column; line-height: 1.15; }
  .fixed-bar__call small { font-size: 11px; letter-spacing: .04em; }
  .fixed-bar__call strong { font-family: var(--f-display); font-size: 21px; letter-spacing: .04em; }
  .fixed-bar__web { padding: 0 16px; border: 1.5px solid var(--ink); color: var(--ink); font-size: 15px; background: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .house--dark .callout { opacity: 1; transform: translateY(-50%); }
  .js .photo[data-inview] .photo__inner > * { clip-path: none; }
  .js .check-sheet .ck path { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .js .house--dark .callout { transform: none; }
}


/* ---- 自社サイトに置いたときだけの追加（BtoB支援事業/site-v2/a/work/sync_samples.py が足す・元のフォルダには無い） ---- */
.fictional-banner__links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.2em 1.2em; margin-left: 0.6em; }
.fictional-banner__links a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 0.16em; }
.demo-notice__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.demo-notice__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 18px;
  border: 1.5px solid var(--terra); border-radius: 6px; background: transparent; color: var(--terra); font-weight: 700; text-decoration: none; }
.demo-notice__btn--primary { background: var(--terra); color: #fff; }
