/* ==========================================================
   Re:Life（リライフ）福岡の外壁塗装・内装塗装
   色：ロゴの 墨・ベージュ・グレージュ ＋ 養生テープの緑
   文字：見出し＝しっぽり明朝／本文＝端末の標準ゴシック／現場メモ＝Klee One
   ========================================================== */
:root {
  --ink: #171614;
  --ink-2: #2c2a26;
  --paper: #f2efe8;
  --paper-2: #e8e3d8;
  --white: #fbfaf6;
  --beige: #d2cbb2;
  --greige: #a1968e;
  --mute: #6b645c;
  --tape: #a8cf86;
  --line: rgba(23, 22, 20, .15);
  --line-d: rgba(251, 250, 246, .16);
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --hand: "Klee One", "Hiragino Maru Gothic ProN", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --hd: 72px;
  --gut: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .04em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 18px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - var(--gut) * 2, 1180px); margin-inline: auto; }
.sp { display: none; }

/* ---------- ボタン・リンク ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  min-height: 54px; padding: 8px 28px;
  background: var(--ink); color: var(--white);
  font-weight: 700; font-size: 15px; line-height: 1.4; letter-spacing: .08em;
  transition: background-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { background: var(--ink-2); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn--lg { min-height: 62px; padding-inline: 34px; font-size: 16px; }
.btn--sm { min-height: 42px; padding: 4px 22px; font-size: 13.5px; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--white); }
.btn--line { background: #06c755; color: #fff; }
.btn--line:hover { background: #05b34c; }
.btn--paper:hover svg:last-child, .btn--line:hover svg:last-child { transform: none; }

.more {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14.5px; line-height: 1.5; letter-spacing: .06em;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.more:hover svg, a:hover .more svg { transform: translateX(4px); }
.more--light { color: var(--white); }

/* 養生テープのラベル */
.tape {
  display: inline-block;
  font-family: var(--hand); font-weight: 600; font-size: 13px; line-height: 1.4; letter-spacing: .06em;
  padding: 5px 14px 4px;
  background: rgba(168, 207, 134, .9);
  color: #1f2a17;
  clip-path: polygon(0 4%, 3% 0, 97% 6%, 100% 0, 99% 96%, 96% 100%, 4% 94%, 1% 100%);
}

/* ---------- 見出し ---------- */
.sec { padding: clamp(88px, 11vw, 168px) 0; }
.sh { margin-bottom: clamp(44px, 6vw, 80px); }
.sh__title {
  font-family: var(--mincho); font-weight: 700;
  font-size: clamp(1.85rem, 1rem + 3vw, 3.3rem); line-height: 1.42; letter-spacing: .06em;
}
.sh__title--sm { font-size: clamp(1.6rem, 1rem + 2vw, 2.5rem); }
.sh__lead { margin-top: 26px; max-width: 40em; color: var(--ink-2); }
.sh--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.sh--side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.sh--side .sh__lead { margin: 0; justify-self: end; max-width: 26em; color: var(--mute); }

.js [data-rv] { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* ---------- ヘッダー ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hd); transition: background-color .35s, box-shadow .35s; }
.hd.is-stuck { background: rgba(242, 239, 232, .94); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 26px; padding: 0 clamp(18px, 3vw, 40px); }
.hd__brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.hd__mark { width: 40px; height: 40px; }
.wm { height: 20px; width: auto; }
.wm__re { fill: var(--greige); }
.wm__life { fill: var(--ink); }
.hd__sub { font-size: 11.5px; font-weight: 600; color: var(--mute); padding-left: 13px; border-left: 1px solid var(--line); line-height: 1.4; letter-spacing: .08em; }
.gnav ul { display: flex; gap: clamp(16px, 2vw, 32px); }
.gnav a { position: relative; display: block; padding: 10px 0; font-weight: 600; font-size: 14px; line-height: 1.4; letter-spacing: .08em; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current]::after { transform: scaleX(1); }
.hd__act { display: flex; align-items: center; gap: 10px; }
.hd__tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.hd__tel svg { width: 17px; height: 17px; }
.hd__ig { display: grid; place-items: center; width: 42px; height: 42px; }
.hd__ig svg { width: 21px; height: 21px; }
.hd__menu { display: none; width: 46px; height: 46px; background: var(--ink); place-items: center; position: relative; z-index: 130; }
.hd__menu-bars { display: grid; gap: 7px; }
.hd__menu-bars i { display: block; width: 20px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease); }
.is-menu .hd__menu { background: var(--paper); }
.is-menu .hd__menu-bars i { background: var(--ink); }
.is-menu .hd__menu-bars i:first-child { transform: translateY(4.25px) rotate(45deg); }
.is-menu .hd__menu-bars i:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.is-menu .hd { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-menu .hd .wm__life { fill: var(--paper); }
.is-menu .hd__ig, .is-menu .hd__sub { visibility: hidden; }

/* メニュー：上から塗りおろすように開く */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s .6s;
  overflow-y: auto; overscroll-behavior: contain;
}
.is-menu .drawer { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.drawer__in { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: calc(var(--hd) + 24px) 26px calc(32px + env(safe-area-inset-bottom)); max-width: 560px; margin-inline: auto; }
.drawer__nav li { border-bottom: 1px solid var(--line-d); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); }
.is-menu .drawer__nav li { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i) * .04s); }
.drawer__nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; font-family: var(--mincho); font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: .08em; }
.drawer__nav svg { width: 18px; height: 18px; color: var(--greige); }
.drawer__nav a[aria-current] { color: var(--beige); }
.drawer__foot { display: grid; gap: 10px; }
.drawer__tel { display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; padding-top: 8px; }
.drawer__tel svg { width: 19px; height: 19px; }

/* ==========================================================
   トップ：ファーストビュー
   ========================================================== */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(100svh, 1000px);
  padding-top: var(--hd);
}
.hero__copy { align-self: center; padding: 40px clamp(28px, 4vw, 64px) 56px max(var(--gut), calc((100vw - 1180px) / 2)); }
.hero__kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--mute); }
.hero__kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__title {
  margin-top: 26px;
  font-family: var(--mincho); font-weight: 800;
  font-size: clamp(2.5rem, .9rem + 3.6vw, 4.9rem); line-height: 1.32; letter-spacing: .06em;
}
.hero__title span { display: block; white-space: nowrap; }
.js .hero__title span { animation: rise 1s var(--ease) both; }
.js .hero__title span:nth-child(2) { animation-delay: .1s; }
.js .hero__title span:nth-child(3) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(.3em); } }
.hero__lead { margin-top: clamp(22px, 3vh, 36px); font-size: 16px; line-height: 2.1; color: var(--ink-2); }
.hero__btns { margin-top: clamp(28px, 4vh, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.js .hero__kicker, .js .hero__lead, .js .hero__btns { animation: fade 1s .35s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }

/* 塗り替えの壁 */
.wall { display: flex; flex-direction: column; min-width: 0; padding: 16px 0 28px; }
.wall__frame { position: relative; flex: 1; min-height: 460px; background: #c9c2b2; overflow: hidden; }
.wall__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.wall__cap {
  position: absolute; left: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px);
  max-width: calc(100% - 28px);
  font-family: var(--hand); font-weight: 600; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.5; letter-spacing: .05em;
  padding: 9px 16px 8px; background: var(--white); color: var(--ink);
  box-shadow: 0 6px 18px rgba(23, 22, 20, .12);
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease);
}
.wall__cap.is-on { opacity: 1; transform: none; }
.wall__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px clamp(16px, 2vw, 26px) 0 0; font-size: 13px; }
.wall__label { font-family: var(--hand); font-weight: 600; color: var(--mute); }
.wall__steps { display: flex; flex-wrap: wrap; gap: 4px; margin-right: auto; }
.wall__steps button { padding: 6px 10px; line-height: 1.3; font-weight: 600; font-size: 12.5px; color: var(--mute); border-bottom: 1.5px solid transparent; transition: color .3s, border-color .3s; }
.wall__steps button:hover { color: var(--ink); }
.wall__steps button.is-on { color: var(--ink); border-color: var(--ink); }
.wall__replay { display: none; font-weight: 700; font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid currentColor; }
.wall.is-done .wall__replay { display: inline-block; }

/* ==========================================================
   トップ：外も、内も
   ========================================================== */
.duo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.duo__item:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.duo__ph { position: relative; overflow: hidden; background: var(--paper-2); }
.duo__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo__link:hover .duo__ph img { transform: scale(1.04); }
.duo__ph .tape { position: absolute; left: 16px; bottom: 18px; transform: rotate(-1.5deg); }
.duo__body { padding-top: 30px; }
.duo__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(1.7rem, 1rem + 1.8vw, 2.5rem); line-height: 1.4; letter-spacing: .1em; margin-bottom: 18px; }
.duo__body > p { color: var(--ink-2); max-width: 32em; }
.duo__list { margin: 24px 0 30px; border-top: 1px solid var(--line); }
.duo__list li { padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; }

/* ==========================================================
   トップ：現場で気をつけていること
   ========================================================== */
.note { background: var(--paper-2); }
.note__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
.nt { display: flex; flex-direction: column; }
.nt:nth-child(even) { margin-top: 56px; }
.nt__ph { overflow: hidden; background: var(--paper); }
.nt__ph img, .nt__sw canvas { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nt__sw canvas { height: auto; }
.nt__quote { margin: 22px 0 14px; font-family: var(--hand); font-weight: 600; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.65; letter-spacing: .04em; }
.nt__text { font-size: 14px; line-height: 1.95; color: var(--ink-2); flex: 1; }
.nt__src { margin-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.nt__src svg { width: 14px; height: 14px; }
.nt__src:hover { color: var(--ink); border-color: var(--ink); }

/* ==========================================================
   トップ：塗装のほかに
   ========================================================== */
.more-sv { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 110px) 0; }
.ms { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ms__head .more { margin-top: 26px; color: var(--beige); }
.ms__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
.ms__list li { border-bottom: 1px solid var(--line-d); }
.ms__list li:nth-child(odd) { border-right: 1px solid var(--line-d); }
.ms__list a { display: grid; gap: 6px; padding: 26px 24px 26px 0; transition: color .3s; }
.ms__list li:nth-child(even) a { padding-left: 28px; }
.ms__list b { font-family: var(--mincho); font-weight: 700; font-size: 21px; letter-spacing: .08em; line-height: 1.5; }
.ms__list span { font-size: 13.5px; color: #c9c3b8; line-height: 1.7; }
.ms__list a:hover b { color: var(--beige); }

/* ==========================================================
   施工の記録（台帳）
   ========================================================== */
.lg { border-top: 1px solid var(--ink); }
.lg__row { border-bottom: 1px solid var(--line); }
.lg__row[hidden] { display: none; }
.lg__row > a {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) 132px 110px; gap: 0 clamp(16px, 3vw, 44px);
  align-items: start; padding: 28px 4px; transition: background-color .3s;
}
.lg__row > a:hover { background: rgba(251, 250, 246, .7); }
.lg__date { font-weight: 700; font-size: 14px; letter-spacing: .06em; padding-top: 3px; }
.lg__where { font-size: 13px; font-weight: 700; color: var(--mute); }
.lg__where span { font-weight: 500; margin-left: 12px; }
.lg__title { margin-top: 6px; font-family: var(--mincho); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; letter-spacing: .05em; }
.lg__text { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); max-width: 44em; }
.lg__tags { margin-top: 12px; font-size: 12px; color: var(--mute); letter-spacing: .08em; }
.lg__img { overflow: hidden; background: var(--paper-2); }
.lg__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .9s var(--ease); }
.lg__row > a:hover .lg__img img { transform: scale(1.06); }
.lg__go { grid-column: 4; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mute); padding-top: 4px; transition: color .3s; }
.lg__go svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.lg__row > a:hover .lg__go { color: var(--ink); }
.lg__row > a:hover .lg__go svg { transform: translate(2px, -2px); }
.lg__row--noimg .lg__body { grid-column: 2 / 4; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 16px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 13.5px; line-height: 1.3; transition: background-color .25s, color .25s, border-color .25s; }
.chip span { font-size: 11.5px; color: var(--mute); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.is-on span { color: var(--beige); }

/* ==========================================================
   トップ：お客さま・エリア
   ========================================================== */
.who { padding-top: 0; }
.who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.who__copy .sh__title { margin-bottom: 30px; }
.who__copy p + p { margin-top: 1.2em; }
.who__copy p { color: var(--ink-2); max-width: 30em; }
.who__list { border-top: 1px solid var(--ink); }
.who__list > div { display: grid; grid-template-columns: 13.5em 1fr; gap: 16px; padding: 22px 2px; border-bottom: 1px solid var(--line); }
.who__list dt { font-family: var(--mincho); font-weight: 700; font-size: 17px; letter-spacing: .03em; line-height: 1.6; }
.who__list dd { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; padding-top: 2px; }
.places { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.places__h { font-family: var(--hand); font-weight: 600; font-size: 14px; color: var(--mute); }
.places ul { display: flex; flex-wrap: wrap; gap: 6px; }
.places li { font-size: 13.5px; font-weight: 600; line-height: 1; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); }

/* ==========================================================
   流れ
   ========================================================== */
.fl { padding-top: 0; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; }
.steps li { position: relative; padding: 26px 22px 0 0; border-top: 1px solid var(--line); }
.steps li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.steps li:first-child::before { background: var(--ink); }
.steps h3 { font-family: var(--mincho); font-weight: 700; font-size: 19px; line-height: 1.5; letter-spacing: .08em; margin-bottom: 10px; }
.steps li > p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }

/* ==========================================================
   ご相談パネル
   ========================================================== */
.cta { background: var(--ink); color: var(--white); padding: clamp(72px, 9vw, 128px) 0; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta__title { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.75rem, 1rem + 2.6vw, 3rem); line-height: 1.5; letter-spacing: .06em; }
.cta__text { margin-top: 26px; color: #d6d0c5; max-width: 34em; }
.cta__tel { margin-top: 22px; font-size: 14px; color: #d6d0c5; }
.cta__tel a { font-weight: 700; font-size: 22px; color: var(--white); letter-spacing: .04em; }
.cta__tel span { margin-left: 12px; font-size: 12.5px; }
.cta__btns { display: grid; gap: 12px; justify-items: stretch; }
.cta__btns .more { justify-self: start; margin-top: 10px; }

/* ==========================================================
   フッター
   ========================================================== */
.ft { background: #0f0e0d; color: #e7e2d8; padding: clamp(56px, 7vw, 88px) 0 34px; }
.ft__in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.ft__brand { display: flex; gap: 26px; align-items: flex-start; }
.ft__logo { width: 104px; height: 104px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-d); }
.ft__tag { font-size: 12.5px; color: #b5afa4; letter-spacing: .08em; }
.ft__name { font-weight: 700; font-size: 25px; line-height: 1.5; color: var(--white); letter-spacing: .02em; }
.ft__name span { font-size: 12.5px; font-weight: 500; margin-left: 12px; color: #b5afa4; }
.ft__addr, .ft__tel { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13.5px; margin-top: 6px; }
.ft__addr svg, .ft__tel svg { width: 16px; height: 16px; color: var(--greige); }
.ft__tel a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 19px; color: var(--white); }
.ft__tel span { font-size: 12px; color: #b5afa4; margin-left: 8px; }
.ft__sns { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ft__sns a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-d); font-weight: 600; font-size: 13px; transition: background-color .3s, color .3s; }
.ft__sns a:hover { background: var(--paper); color: var(--ink); }
.ft__sns svg { width: 17px; height: 17px; }
.ft__nav ul { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 40px; }
.ft__nav a { font-size: 14px; display: inline-block; padding: 4px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.ft__nav a:hover { background-size: 100% 1px; }
.ft__bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; font-size: 12px; color: #b5afa4; }
.ft__copy { margin-left: auto; }
.ft__top { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; }
.ft__top svg { width: 16px; height: 16px; transform: rotate(-90deg); }

.dock { display: none; }

/* ==========================================================
   下層ページ
   ========================================================== */
.ph { padding: calc(var(--hd) + clamp(40px, 6vw, 88px)) 0 0; }
.crumb { display: flex; gap: 10px; font-size: 12px; color: var(--mute); margin-bottom: clamp(26px, 4vw, 44px); }
.crumb li + li::before { content: "／"; margin-right: 10px; color: var(--greige); }
.crumb a { border-bottom: 1px solid var(--line); }
.ph__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(2.3rem, 1rem + 4.6vw, 4.6rem); line-height: 1.3; letter-spacing: .08em; }
.js .ph__title { animation: rise 1s var(--ease) both; }
.ph__lead { margin-top: 26px; max-width: 36em; color: var(--ink-2); font-size: 16px; line-height: 2.05; }
.ph__strip { position: relative; margin-top: clamp(44px, 6vw, 80px); height: clamp(96px, 12vw, 160px); background: #c9c2b2; }
.ph__strip canvas { width: 100%; height: 100%; }
.ph__note { position: absolute; top: 14px; font-family: var(--hand); font-weight: 600; font-size: 12.5px; padding: 3px 12px; background: rgba(251, 250, 246, .9); }
.ph__note--old { left: max(var(--gut), calc((100vw - 1180px) / 2)); }
.ph__note--new { left: 44%; }

/* 本文の共通 */
.lead-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lead-block__h { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.3rem); line-height: 1.55; letter-spacing: .06em; }
.lead-block__b p + p { margin-top: 1.3em; }
.lead-block__b p { color: var(--ink-2); }
.prose p + p { margin-top: 1.2em; }

/* 症状チェック */
.signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.signs li { padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); }
.signs li:not(:nth-child(3n + 1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.signs h3 { font-family: var(--mincho); font-weight: 700; font-size: 19px; line-height: 1.5; letter-spacing: .06em; margin-bottom: 10px; }
.signs p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.signs .hint { margin-top: 10px; font-family: var(--hand); font-weight: 600; font-size: 13px; color: var(--mute); }

/* 工程 */
.proc { counter-reset: p; border-top: 1px solid var(--ink); }
.proc > li { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, .8fr); gap: clamp(16px, 4vw, 56px); padding: clamp(26px, 3.4vw, 40px) 2px; border-bottom: 1px solid var(--line); align-items: start; }
.proc h3 { font-family: var(--mincho); font-weight: 700; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; letter-spacing: .08em; }
.proc h3 small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--mute); letter-spacing: .08em; }
.proc p { color: var(--ink-2); font-size: 15px; }
.proc .memo { font-family: var(--hand); font-weight: 600; font-size: 14px; line-height: 1.8; color: var(--ink); padding: 12px 16px; background: var(--white); border-left: 3px solid var(--tape); }

/* 場所の一覧 */
.spots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.spot { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 22px; border-top: 1px solid var(--ink); }
.spot__ph { overflow: hidden; background: var(--paper-2); }
.spot__ph img, .spot__ph canvas { width: 100%; aspect-ratio: 1; object-fit: cover; }
.spot h3 { font-family: var(--mincho); font-weight: 700; font-size: 19px; line-height: 1.5; letter-spacing: .06em; margin-bottom: 8px; }
.spot p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }

/* そのほかの工事 */
.sv { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 104px) 0; }
.sv__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.sv__head { position: sticky; top: calc(var(--hd) + 32px); }
.sv__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(1.7rem, 1rem + 2.2vw, 2.6rem); line-height: 1.4; letter-spacing: .08em; }
.sv__head .tape { margin-top: 16px; transform: rotate(-1deg); }
.sv__lead { font-family: var(--mincho); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.75; letter-spacing: .04em; }
.sv__text { margin-top: 18px; color: var(--ink-2); max-width: 36em; }
.sv__items { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.sv__items li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.sv__photos { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sv__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sv__photos figcaption { margin-top: 8px; font-size: 12px; color: var(--mute); }

.rel { margin-top: clamp(56px, 7vw, 96px); }
.rel__h { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem); letter-spacing: .08em; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.rel__h .more { font-family: var(--sans); }

/* 記録ページ */
.wkp { padding-top: clamp(56px, 7vw, 96px); }
.wkp__note { margin-top: 26px; font-size: 13px; color: var(--mute); }
.wkp__empty { padding: 40px 4px; color: var(--mute); }
.wkp__ig { margin-top: 40px; }

/* 流れ・よくある質問 */
.flp { padding-top: clamp(56px, 7vw, 96px); }
.fsteps { border-top: 1px solid var(--ink); }
.fsteps > li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 5vw, 80px); padding: clamp(28px, 4vw, 48px) 2px; border-bottom: 1px solid var(--line); align-items: start; }
.fsteps h3 { font-family: var(--mincho); font-weight: 700; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.5; letter-spacing: .08em; }
.fsteps__sub { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--mute); letter-spacing: .06em; }
.fsteps__body p + p { margin-top: 1em; }
.fsteps__body p { color: var(--ink-2); }
.fsteps__memo { margin-top: 18px; padding: 14px 18px; background: var(--white); border-left: 3px solid var(--tape); font-family: var(--hand); font-weight: 600; font-size: 14px; line-height: 1.85; }
.faq { background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq__grid .sh { margin: 0; position: sticky; top: calc(var(--hd) + 32px); }
.faq__list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: 1fr 26px; gap: 16px; align-items: start; padding: 22px 2px; cursor: pointer; list-style: none; font-family: var(--mincho); font-weight: 700; font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.7; letter-spacing: .04em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 26px; height: 26px; padding: 6px; border: 1px solid var(--line); transition: transform .4s var(--ease), background-color .3s, color .3s; margin-top: 2px; }
.qa[open] summary svg { transform: rotate(45deg); background: var(--ink); color: var(--white); border-color: var(--ink); }
.qa__a { padding: 0 44px 26px 2px; color: var(--ink-2); }
.qa__a p + p { margin-top: .8em; }

/* Re:Lifeについて */
.ab { padding-top: clamp(56px, 7vw, 96px); }
.ab__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.ab__title { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.6rem, 1rem + 2.2vw, 2.7rem); line-height: 1.6; letter-spacing: .06em; }
.ab__title .re { color: var(--greige); }
.ab__body { display: grid; gap: 1.4em; }
.ab__body p { color: var(--ink-2); }
.ab__sign { font-family: var(--mincho); font-weight: 700; color: var(--ink) !important; }
.ab__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); margin-top: clamp(48px, 7vw, 96px); align-items: start; }
.ab__photos figure:nth-child(2) { margin-top: 48px; }
.ab__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ab__photos figcaption { margin-top: 10px; font-size: 12px; color: var(--mute); }
.pf { background: var(--paper-2); }
.pf__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.pf__grid .sh { margin: 0; }
.dl { border-top: 1px solid var(--ink); }
.dl > div { display: grid; grid-template-columns: 10em 1fr; gap: 16px; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 700; font-size: 14px; color: var(--mute); padding-top: 1px; }
.dl dd a { border-bottom: 1px solid currentColor; }
.dl dd ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ご相談・お問い合わせ */
.ct { padding-top: clamp(56px, 7vw, 96px); }
.ct__ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.way { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 44px); background: var(--white); border: 1px solid var(--line); }
.way--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.way:only-child { max-width: 640px; }
.way__ico svg { width: 30px; height: 30px; }
.way--line .way__ico { color: #06c755; }
.way__title { font-family: var(--mincho); font-weight: 700; font-size: 23px; line-height: 1.5; letter-spacing: .06em; }
.way__id { font-weight: 700; font-size: 14px; color: var(--mute); margin-top: -8px; }
.way--dark .way__id { color: var(--beige); }
.way__text { font-size: 14.5px; line-height: 1.9; flex: 1; }
.way--dark .way__text { color: #d6d0c5; }
.way__tel { font-weight: 700; font-size: 28px; line-height: 1.2; }
.way .btn { align-self: flex-start; margin-top: 6px; }
.ct__tips { margin-top: clamp(56px, 8vw, 100px); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.ct__tips h2 { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.45rem, 1rem + 1.6vw, 2.1rem); line-height: 1.55; letter-spacing: .06em; }
.ct__tips ol { border-top: 1px solid var(--ink); }
.ct__tips li { padding: 20px 2px; border-bottom: 1px solid var(--line); }
.ct__tips b { font-family: var(--mincho); font-size: 17px; display: block; letter-spacing: .06em; }
.ct__tips p { font-size: 14.5px; color: var(--ink-2); }
.ct__example { margin-top: 26px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); }
.ct__example p:first-child { font-size: 12px; font-weight: 700; color: var(--mute); letter-spacing: .08em; margin-bottom: 8px; }
.ct__example p:last-child { font-family: var(--hand); font-weight: 600; font-size: 15px; line-height: 1.9; }

.fm { background: var(--paper-2); }
.fm__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.fm__grid .sh { margin: 0; }
.form { display: grid; gap: 26px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.form__row { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 0; font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.req, .opt { font-size: 10.5px; font-weight: 700; line-height: 1; padding: 5px 7px; }
.req { background: var(--ink); color: var(--white); }
.opt { background: var(--white); color: var(--mute); border: 1px solid var(--line); }
.input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 0; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); line-height: 1.6; transition: border-color .25s; -webkit-appearance: none; appearance: none; }
.input::placeholder { color: #aaa39a; }
.input:focus { outline: 0; border-color: var(--ink); }
.input--area { resize: vertical; min-height: 170px; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.picks { display: flex; flex-wrap: wrap; gap: 6px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span { display: inline-flex; align-items: center; min-height: 42px; padding: 4px 16px; background: var(--white); border: 1px solid var(--line); font-size: 14px; line-height: 1.3; transition: background-color .2s, color .2s; }
.pick input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form__err { display: none; margin-top: 8px; font-size: 13px; font-weight: 700; color: #a8361d; }
.is-error .form__err { display: block; }
.is-error .input { border-color: #a8361d; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.agree input { position: absolute; opacity: 0; }
.agree__box { display: grid; place-items: center; width: 26px; height: 26px; background: var(--white); border: 1px solid var(--greige); flex: none; }
.agree__box svg { width: 17px; height: 17px; opacity: 0; color: var(--white); }
.agree input:checked + .agree__box { background: var(--ink); border-color: var(--ink); }
.agree input:checked + .agree__box svg { opacity: 1; }
.agree input:focus-visible + .agree__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.agree a { border-bottom: 1px solid currentColor; }
.form__submit { width: 100%; }
.form__submit:disabled { opacity: .6; cursor: default; }
.form__status { font-size: 14px; font-weight: 700; color: #a8361d; }
.form__status:empty { display: none; }
.done { text-align: center; padding: 20px 0; display: grid; gap: 16px; justify-items: center; }
.done[hidden] { display: none; }
.done__mark { width: 80px; height: 80px; }
.done__title { font-family: var(--mincho); font-weight: 700; font-size: 26px; }
.done__small { font-size: 13.5px; color: var(--mute); max-width: 34em; }
.done a:not(.more) { border-bottom: 1px solid currentColor; }

/* プライバシーポリシー */
.pp { padding-top: clamp(56px, 7vw, 96px); }
.pp__in { max-width: 760px; }
.pp h2 { margin: 48px 0 14px; font-family: var(--mincho); font-weight: 700; font-size: 20px; line-height: 1.6; padding-top: 28px; border-top: 1px solid var(--line); letter-spacing: .06em; }
.pp p + p { margin-top: 1em; }
.pp ul { margin-top: 10px; display: grid; gap: 6px; }
.pp li { position: relative; padding-left: 18px; }
.pp li::before { content: ""; position: absolute; left: 2px; top: .9em; width: 6px; height: 1px; background: var(--ink); }
.pp a { border-bottom: 1px solid currentColor; }
.pp__date { margin-top: 48px; font-size: 13px; color: var(--mute); }

/* ==========================================================
   画面が狭いとき
   ========================================================== */
@media (max-width: 1240px) {
  .hd__sub { display: none; }
}
@media (max-width: 1080px) {
  .gnav, .hd__cta, .hd__tel { display: none; }
  .hd__menu { display: grid; }
  .note__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt:nth-child(even) { margin-top: 0; }
  .nt:nth-child(2n) { transform: translateY(40px); }
  .js .nt[data-rv]:nth-child(2n):not(.is-in) { transform: translateY(60px); }
  .lg__row > a { grid-template-columns: 100px minmax(0, 1fr) 112px; }
  .lg__go { grid-column: 2; justify-content: flex-start; margin-top: 10px; }
  .lg__row--noimg .lg__body { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  :root { --hd: 64px; --gut: 22px; }
  .pc { display: none; }
  .sp { display: inline; }
  .sh--row { display: block; }
  .sh--row > .more { margin-top: 20px; }
  .sh--side { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sh--side .sh__lead { justify-self: start; }
  .hd__mark { width: 36px; height: 36px; }
  .wm { height: 18px; }

  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .wall { order: -1; padding: 0; }
  .wall__frame { flex: none; height: min(64svh, 118vw); min-height: 340px; }
  .wall__bar { padding: 12px var(--gut) 0; }
  .wall__label { display: none; }
  .wall__steps { margin-right: 0; }
  .wall__steps button { padding: 6px 7px; font-size: 12px; }
  .hero__copy { padding: 36px var(--gut) 64px; }
  .hero__title { font-size: clamp(2.3rem, 10.6vw, 3.6rem); margin-top: 18px; }
  .hero__lead { font-size: 15px; }

  .duo__grid, .ms, .who__grid, .cta__in, .lead-block, .sv__in, .faq__grid, .ab__grid, .pf__grid, .ct__tips, .fm__grid, .spots { grid-template-columns: minmax(0, 1fr); }
  .duo__item:nth-child(2) { margin-top: 24px; }
  .ms__list { grid-template-columns: minmax(0, 1fr); }
  .ms__list li:nth-child(odd) { border-right: 0; }
  .ms__list li:nth-child(even) a { padding-left: 0; }
  .ms__list a { padding: 20px 0; }
  .who__list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 2px; }
  .steps { grid-template-columns: minmax(0, 1fr); border-left: 1px solid var(--line); margin-left: 4px; }
  .steps li { border-top: 0; padding: 0 0 26px 26px; }
  .steps li::before { left: -5px; top: 8px; }
  .steps h3 { margin-bottom: 4px; }
  .cta__btns .btn { width: 100%; }

  .lg__row > a { grid-template-columns: minmax(0, 1fr) 84px; gap: 0 16px; padding: 22px 2px; }
  .lg__date { grid-column: 1 / 3; font-size: 12.5px; padding: 0 0 4px; color: var(--mute); }
  .lg__body { grid-column: 1; }
  .lg__img { grid-column: 2; grid-row: 2; }
  .lg__go { grid-column: 1; }
  .lg__row--noimg .lg__body { grid-column: 1 / 3; }

  .signs { grid-template-columns: minmax(0, 1fr); }
  .signs li, .signs li:not(:nth-child(3n + 1)) { padding: 22px 0; border-left: 0; }
  .proc > li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .spot { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
  .sv__head { position: static; }
  .sv__items { grid-template-columns: minmax(0, 1fr); }
  .faq__grid .sh { position: static; }
  .fsteps > li { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .qa__a { padding-right: 2px; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 2px; }
  .ph__note--new { left: auto; right: var(--gut); }

  .ft__brand { flex-direction: column; gap: 20px; }
  .ft__logo { width: 88px; height: 88px; }
  .ft__nav { width: 100%; }
  .ft__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__copy { margin-left: 0; }
  .ft { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }

  .dock {
    position: fixed; z-index: 80; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex; align-items: stretch; height: 58px; padding: 5px;
    background: var(--ink); color: var(--white); box-shadow: 0 10px 30px rgba(23, 22, 20, .3);
    transform: translateY(calc(100% + 30px + env(safe-area-inset-bottom))); transition: transform .6s var(--ease);
  }
  .dock.is-show { transform: none; }
  .is-menu .dock { transform: translateY(calc(100% + 30px + env(safe-area-inset-bottom))); }
  .dock__sub { display: grid; place-items: center; align-content: center; gap: 2px; width: 56px; font-size: 10px; font-weight: 700; line-height: 1; color: var(--beige); }
  .dock__sub svg { width: 20px; height: 20px; }
  .dock__sub--line { color: #5fe394; }
  .dock__main { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.2; letter-spacing: .06em; }
  .dock__main svg { width: 17px; height: 17px; }
}

@media (max-width: 560px) {
  .note__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .nt:nth-child(2n) { transform: none; }
  .js .nt[data-rv]:nth-child(2n):not(.is-in) { transform: translateY(20px); }
  .hero__btns .btn { width: 100%; }
  .ab__photos figure:nth-child(2) { margin-top: 24px; }
}

/* 横向きのスマホなど、背が低い画面 */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wall { order: 0; }
  .wall__frame { height: calc(100svh - var(--hd) - 50px); min-height: 0; }
  .hero__copy { padding: 24px var(--gut); }
  .hero__title { font-size: 7vw; }
}

/* 背の低いノートパソコン */
@media (min-width: 901px) and (max-height: 760px) {
  .hero__title { font-size: min(4.4vw, 9svh); }
  .hero__lead { margin-top: 18px; line-height: 1.95; }
  .hero__btns { margin-top: 24px; }
  .wall__frame { min-height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-rv] { opacity: 1; transform: none; }
}
@media print {
  .hd, .dock, .drawer, .cta { display: none; }
  .js [data-rv] { opacity: 1; transform: none; }
}

/* 室内塗装ページ：気をつけていること */
.proc--plain > li { grid-template-columns: 230px minmax(0, 1fr); }
@media (max-width: 900px) { .proc--plain > li { grid-template-columns: minmax(0, 1fr); } }
.ct__example { grid-column: 2; margin-top: 0; }
@media (max-width: 900px) { .ct__example { grid-column: 1; } }
.signs .hint { display: block; }

/* ==========================================================
   写真
   ========================================================== */
/* ページ上部の大きな写真 */
.feat { margin-bottom: clamp(64px, 9vw, 128px); }
.feat img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feat figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; font-size: 13.5px; color: var(--mute); }
.feat .tape { transform: rotate(-1deg); }

/* 補修の見比べ */
.ba-sec { padding-bottom: clamp(88px, 11vw, 168px); }
.ba-sec__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ba-sec__copy .sh__title { margin-bottom: 28px; }
.ba-sec__copy > p { color: var(--ink-2); }
.ba-sec__hint { margin: 18px 0 26px; font-family: var(--hand); font-weight: 600; font-size: 14px; color: var(--mute) !important; }
.ba { --p: 50%; position: relative; overflow: hidden; background: var(--paper-2); touch-action: pan-y; }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba__b { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p)); }
.ba__b img { height: 100%; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 12px rgba(0, 0, 0, .25); pointer-events: none; }
.ba__line i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.ba__line i::before, .ba__line i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--ink); border-width: 0 0 1.5px 1.5px; }
.ba__line i::before { left: 12px; transform: rotate(45deg); }
.ba__line i::after { right: 12px; transform: rotate(-135deg); }
.ba__tag { position: absolute; top: 14px; font-family: var(--hand); font-weight: 600; font-size: 12.5px; padding: 4px 12px; background: rgba(251, 250, 246, .92); pointer-events: none; }
.ba__tag--a { left: 14px; }
.ba__tag--b { right: 14px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + .ba__line, .ba:focus-within .ba__line i { outline: 2px solid var(--ink); outline-offset: 2px; }

/* 工程に添える写真 */
.proc__side { display: grid; gap: 12px; align-content: start; }
.proc__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.sv__photos figure img { aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 900px) {
  .ba-sec__grid { grid-template-columns: minmax(0, 1fr); }
  .feat img { aspect-ratio: 4 / 3; }
}
