/* くろべ塗装（外壁塗装のデモ）全ページ共通
   地は白。塗料の青 #1F5FA8 と、差し色だけの黄 #F5C400。文字は紺がかった灰 #22303C。
   あしらいは、刷毛でひと塗りした青の帯（区画の区切り）と、塗料の缶を真上から見た丸（見出しの左）。
   写真の角は丸めない。数字は Oswald。 */

:root {
  --blue: #1F5FA8;
  --blue-dk: #174A85;
  --blue-2: #5F8ECB;
  --blue-3: #9DB8DD;
  --blue-4: #C9D8EE;
  --tint: #EEF3FA;
  --yel: #F5C400;
  --ink: #22303C;
  --sub: #55636F;
  --line: #D5DDE6;
  --w: #fff;
  --jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --num: "Oswald", "Noto Sans JP", sans-serif;
  --wrap: 1160px;
  --hd: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* 刷毛のひと塗り（端がかすれる青の帯） */
  --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 2.2C20 1 44 .6 70 1.1c18 .3 34 .6 47 1.6l-1.6 1.1 2.2.9-1.4 1 1.8 1.1-2 .8 1.1 1.1C98 9.3 72 9.6 48 9.2 30 8.9 15 8.6 3 8.4l1.4-1.2L1 6.3l2-1L.8 4.4l2.3-.9z' fill='%231F5FA8'/%3E%3Cpath d='M8 3.4h86M14 6.6h92' stroke='%23fff' stroke-opacity='.22' stroke-width='.7'/%3E%3C/svg%3E");
}
@media (min-width: 1100px) { :root { --hd: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hd) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; color: var(--ink); background: var(--w);
  font-family: var(--jp); font-weight: 400; font-size: clamp(15px, .22vw + 14.2px, 17px); line-height: 1.85; letter-spacing: .02em;
  overflow-x: clip; word-break: auto-phrase; text-wrap: pretty;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
.num { font-family: var(--num); font-weight: 500; letter-spacing: .01em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(var(--wrap), 100% - 72px); } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--w); padding: 6px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yel); outline-offset: 2px; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--w); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hd.is-scrolled { border-bottom-color: var(--line); }
.hd__in { display: flex; align-items: center; gap: 18px; height: var(--hd); padding-inline: 16px; max-width: 1400px; margin-inline: auto; }
@media (min-width: 768px) { .hd__in { padding-inline: 28px; } }
.hd__brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.logo { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); }
.logo__mk { width: 17px; height: 29px; flex: none; transform: rotate(-14deg); transform-origin: 50% 70%; }
.logo__w { font-weight: 900; font-size: 22px; letter-spacing: .06em; line-height: 1; font-feature-settings: "palt"; }
@media (min-width: 1100px) { .logo__mk { width: 20px; height: 34px; } .logo__w { font-size: 26px; } }
.demo { font-family: var(--num); font-size: 9px; letter-spacing: .14em; color: var(--sub); border: 1px solid var(--line); padding: 0 5px; line-height: 1.6; align-self: center; }
.gnav { display: none; }
.gnav ul { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.gnav a { position: relative; display: block; text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 6px 0; white-space: nowrap; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--stroke) center / 100% 100% no-repeat; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--blue); }
.hd__tel { display: none; }
.hd__tel a { display: flex; align-items: center; gap: 5px; text-decoration: none; font-size: 21px; line-height: 1.1; color: var(--ink); }
.hd__tel svg { width: 17px; height: 17px; color: var(--blue); }
.hd__time { display: block; font-size: 11px; color: var(--sub); text-align: right; letter-spacing: .04em; line-height: 1.4; }
.hd__time .num { font-size: 12px; }
.hd__btn { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: .06em; transition: background .25s; }
.hd__btn:hover, .hd__btn[aria-current="page"] { background: var(--blue-dk); }
@media (min-width: 1100px) {
  .gnav { display: block; }
  .hd__tel { display: block; }
  .hd__btn { height: 46px; padding: 0 22px; font-size: 15px; }
  .menu { display: none; }
}
@media (max-width: 380px) { .hd__btn { padding: 0 11px; font-size: 13px; } .logo__w { font-size: 20px; } }

.menu { position: static; }
.menu summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 44px; }
.menu summary::-webkit-details-marker { display: none; }
.menu__bar { position: relative; display: block; width: 24px; height: 2px; background: var(--ink); margin: 7px 0; }
.menu__bar::before, .menu__bar::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--ink); transition: transform .25s; }
.menu__bar::before { top: -7px; } .menu__bar::after { top: 7px; }
.menu[open] .menu__bar { background: transparent; }
.menu[open] .menu__bar::before { transform: translateY(7px) rotate(45deg); }
.menu[open] .menu__bar::after { transform: translateY(-7px) rotate(-45deg); }
.menu__lb { font-size: 9px; letter-spacing: .08em; line-height: 1; }
.menu__panel { position: absolute; left: 0; right: 0; top: var(--hd); background: var(--w); border-top: 1px solid var(--line); border-bottom: 4px solid var(--blue); padding: 8px 20px 24px; box-shadow: 0 18px 30px -18px rgba(34, 48, 60, .35); }
.menu__panel li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.menu__panel li a[aria-current="page"] { color: var(--blue); }
.menu__tel { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 24px; text-decoration: none; }
.menu__tel svg { width: 20px; height: 20px; color: var(--blue); }
.menu__time { font-size: 13px; color: var(--sub); }

/* ---------- 共通の部品 ---------- */
.sec { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.sec--tint { background: var(--tint); }
.sec--flush { padding-top: 0; }
/* 区画の区切り: 刷毛のひと塗り */
.sec + .sec::before, .phd + .homes::before { content: ""; position: absolute; top: -5px; left: max(20px, calc((100% - var(--wrap)) / 2)); width: 120px; height: 10px; background: var(--stroke) center / 100% 100% no-repeat; transform-origin: left center; }
.sec--flush::before { display: none; }
.h2 { position: relative; font-weight: 900; font-size: clamp(25px, 2.4vw + 15px, 40px); line-height: 1.35; letter-spacing: .03em; font-feature-settings: "palt"; text-wrap: balance; padding-left: 1.15em; }
/* 塗料の缶を真上から見た丸（青の輪に黄の点） */
.h2::before { content: ""; position: absolute; left: 0; top: .28em; width: .78em; height: .78em; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--yel) 0 18%, transparent 19% 49%, var(--blue) 50% 64%, #fff 65% 72%, var(--blue) 73% 100%); }
.sec__hd { max-width: 760px; }
.sec__hd p { margin-top: 16px; }
.sec__hd p + p { margin-top: 6px; }
.sec__ft { margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 22px 0 24px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 500; letter-spacing: .05em; transition: background .25s; }
.btn svg { width: 20px; height: 12px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--blue-dk); }
.btn:hover svg { transform: translateX(4px); }
.more { color: var(--blue); font-weight: 500; text-underline-offset: 5px; }
.fig-h { font-weight: 900; font-size: clamp(17px, .6vw + 14px, 21px); letter-spacing: .04em; margin-bottom: 18px; display: inline-block; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--yel) 55%, transparent) 62% 92%, transparent 92%); }
.after-fig { margin-top: 22px; font-size: .95em; color: var(--sub); max-width: 760px; }

/* ---------- 前と後のつまみ ---------- */
.ba { --p: 50; position: relative; overflow: hidden; background: #dfe6ee; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { aspect-ratio: 3 / 2; }
.ba__clip { position: absolute; inset: 0; overflow: hidden; transform: translateX(calc(var(--p) * 1% - 100%)); will-change: transform; }
.ba__inner { position: absolute; inset: 0; transform: translateX(calc(100% - var(--p) * 1%)); will-change: transform; }
.ba__line { position: absolute; inset: 0; pointer-events: none; transform: translateX(calc(var(--p) * 1%)); will-change: transform; }
.ba__line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(34, 48, 60, .12); }
.ba__knob { position: absolute; left: 0; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--yel); box-shadow: 0 4px 14px rgba(34, 48, 60, .3); }
.ba__knob::before, .ba__knob::after { content: ""; position: absolute; top: 50%; margin-top: -7px; border: 7px solid transparent; }
.ba__knob::before { left: 6px; border-right: 9px solid var(--ink); border-left-width: 0; }
.ba__knob::after { right: 6px; border-left: 9px solid var(--ink); border-right-width: 0; }
.ba__tag { position: absolute; top: 14px; font-size: 13px; font-weight: 500; letter-spacing: .08em; padding: 4px 11px; line-height: 1.5; pointer-events: none; }
.ba__tag--b { left: 14px; background: #fff; color: var(--ink); }
.ba__tag--a { right: 14px; background: var(--blue); color: #fff; }
.ba__cap { position: absolute; right: 14px; bottom: 14px; background: #fff; color: var(--ink); font-size: 12.5px; letter-spacing: .04em; padding: 4px 11px; line-height: 1.5; pointer-events: none; }
.ba__cap .num { font-size: 14px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 3px solid var(--ink); outline-offset: 3px; }
html.js .ba[data-ba] { cursor: ew-resize; }
.ba--sm .ba__knob { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.ba--sm .ba__knob::before { left: 4px; border-width: 5px; border-right-width: 7px; border-left-width: 0; margin-top: -5px; }
.ba--sm .ba__knob::after { right: 4px; border-width: 5px; border-left-width: 7px; border-right-width: 0; margin-top: -5px; }
.ba--sm .ba__tag { top: 10px; font-size: 11.5px; padding: 2px 8px; }
.ba--sm .ba__tag--b { left: 10px; } .ba--sm .ba__tag--a { right: 10px; }
.ba--only img { aspect-ratio: 3 / 2; }

/* ---------- トップ: 最初の画面 ---------- */
.hero { padding-bottom: clamp(56px, 7vw, 96px); }
.ba--hero .ba__after { aspect-ratio: auto; height: clamp(300px, 66vw, 70svh); min-height: 300px; }
.ba--hero img { object-position: 50% 45%; }
@media (max-width: 767px) { .ba--hero .ba__after { height: auto; aspect-ratio: 4 / 3.3; } .ba--hero .ba__cap { font-size: 11px; right: 8px; bottom: 8px; padding: 3px 8px; } .ba--hero .ba__cap .num { font-size: 12px; } }
.hero__txt { display: grid; gap: 18px; padding-top: clamp(28px, 4vw, 52px); }
.hero__h { font-weight: 900; font-size: clamp(40px, 6.4vw + 14px, 92px); line-height: 1.12; letter-spacing: .01em; font-feature-settings: "palt"; }
.hero__h::after { content: ""; display: block; width: 120px; height: 10px; margin-top: 18px; background: var(--stroke) center / 100% 100% no-repeat; }
.hero__side p { max-width: 30em; font-size: 1.06em; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.tel-link { font-weight: 500; text-underline-offset: 5px; text-decoration-color: var(--yel); text-decoration-thickness: 3px; }
.tel-link .num { font-size: 1.2em; }
@media (min-width: 960px) { .hero__txt { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 48px; } }

/* ---------- トップ: 塗った家 ---------- */
.houses__list { display: grid; gap: 34px; margin-top: 36px; }
@media (min-width: 768px) { .houses__list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.houses__ln { margin-top: 12px; font-size: 14px; letter-spacing: .03em; padding-top: 10px; border-top: 1px solid var(--line); }
.houses__ln .num { font-size: 16px; }

/* ---------- 図 T-1 12日間の流れ ---------- */
.t1 { margin-top: 36px; background: var(--w); padding: clamp(18px, 3vw, 36px); border: 1px solid var(--line); }
.sec--flush .t1 { margin-top: 0; }
.t1__days, .t1__row, .t1__layer { display: grid; grid-template-columns: 1fr; gap: 4px 18px; align-items: center; }
@media (min-width: 900px) { .t1__days, .t1__row, .t1__layer { grid-template-columns: 250px 1fr; } }
.t1__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 3px; }
.t1__nums span { font-family: var(--num); font-weight: 500; font-size: clamp(13px, 1.2vw + 8px, 22px); text-align: center; line-height: 1.6; border-bottom: 3px solid var(--yel); }
.t1__days .t1__lb { font-size: 12px; color: var(--sub); }
@media (max-width: 899px) { .t1__days .t1__lb { display: none; } }
.t1__rows { margin-top: 6px; }
.t1__row { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.t1__lb { font-size: 14px; line-height: 1.45; font-weight: 500; }
.t1__row .t1__lb { display: grid; grid-template-columns: 5.6em 1fr; align-items: baseline; }
.t1__d { display: block; font-size: 12px; color: var(--blue); font-weight: 500; }
.t1__d .num { font-size: 14px; }
.t1__bar { grid-column: var(--s) / var(--e); height: 18px; transform-origin: left center; }
.lv1 { background: var(--blue-4); } .lv2 { background: var(--blue-3); } .lv3 { background: #fff; outline: 2px solid var(--blue); outline-offset: -2px; } .lv4 { background: var(--blue-2); } .lv5 { background: var(--blue); }
.t1__layer { padding: 16px 0 4px; }
.t1__layer svg { grid-column: var(--s) / var(--e); width: 100%; height: 46px; }
@media (max-width: 899px) { .t1__layer .t1__lb { display: none; } }
.t1__rain { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; font-size: 13.5px; color: var(--sub); }
.t1__rain svg { width: 40px; height: 31px; flex: none; }

.days__ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
@media (min-width: 768px) { .days__ph { gap: 18px; } }
.days__ph img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.days__ph span { display: block; margin-top: 8px; font-weight: 500; font-size: 14px; }

/* ---------- トップ: 塗料と費用 ---------- */
.tags { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 768px) { .tags { grid-template-columns: repeat(3, 1fr); gap: 0; } .tags li + li { border-left: 0; } }
.tags li { border: 1.5px solid var(--blue); padding: 22px 24px 20px; background: var(--w); position: relative; }
.tags__name { font-weight: 900; font-size: 18px; letter-spacing: .05em; }
.tags__yen { margin-top: 6px; line-height: 1.1; }
.tags__yen .num { font-size: clamp(42px, 3vw + 26px, 60px); color: var(--blue); letter-spacing: 0; background: linear-gradient(transparent 78%, var(--yel) 78% 92%, transparent 92%); }
.tags__yen small { font-size: 16px; font-weight: 500; margin-left: 4px; }
.tags__ln { margin-top: 10px; font-size: 14.5px; }
.tags__note { margin-top: 14px; font-size: 13.5px; color: var(--sub); }

/* ---------- トップ: お見積り ---------- */
.est__in { display: grid; gap: 34px; }
.est__txt p { margin-top: 16px; max-width: 34em; }
.est__txt .h2 + p { margin-top: 18px; }
.steps3 { display: grid; gap: 12px; counter-reset: s; }
.steps3 li { display: flex; align-items: center; gap: 14px; background: var(--w); padding: 16px 18px; font-weight: 500; position: relative; }
.steps3__k { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--num); font-size: 20px; }
@media (min-width: 960px) {
  .est__in { grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: center; }
  .est__ft { grid-column: 1; }
  .steps3 { grid-row: 1 / span 2; grid-column: 2; }
  .steps3 li:not(:last-child)::after { content: ""; position: absolute; left: 38px; bottom: -12px; width: 2px; height: 12px; background: var(--blue); }
}

/* ---------- トップ: 親方から ---------- */
.boss__in { display: grid; gap: 34px; }
.boss__txt p { margin-top: 16px; max-width: 30em; }
.boss__txt .h2 + p { margin-top: 22px; }
.boss__txt .btn { margin-top: 30px; }
.boss__ph img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .boss__in { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; } .boss__ph { max-width: 440px; justify-self: end; } }

/* ---------- よく聞かれること ---------- */
.faq__in { max-width: 880px; }
.qa { margin-top: 28px; border-top: 2px solid var(--ink); }
.qa > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.qa dt { font-weight: 900; font-size: 1.06em; padding-left: 2em; position: relative; }
.qa dt::before { content: "Q"; position: absolute; left: 0; top: -.1em; font-family: var(--num); font-size: 1.35em; color: var(--blue); }
.qa dd { padding-left: 2em; position: relative; }
.qa dd::before { content: "A"; position: absolute; left: 0; top: -.1em; font-family: var(--num); font-size: 1.35em; color: var(--yel); -webkit-text-stroke: .4px var(--ink); }
@media (min-width: 900px) { .qa > div { grid-template-columns: 22em 1fr; gap: 40px; } }
.faq__more { margin-top: 24px; }

/* ---------- 会社の場所 ---------- */
.place__in, .area__in { display: grid; gap: 34px; }
.co { width: 100%; margin-top: 26px; font-size: .96em; }
.co th, .co td { text-align: left; vertical-align: top; padding: 13px 0; border-bottom: 1px solid var(--line); }
.co th { width: 7.5em; font-weight: 500; color: var(--blue); padding-right: 14px; }
.co a { text-decoration: none; }
.place__txt .btn { margin-top: 28px; }
.place__ph img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .place__in, .area__in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* ---------- 下層: ページの頭 ---------- */
.phd { padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); }
.phd__h { font-weight: 900; font-size: clamp(34px, 4vw + 18px, 68px); line-height: 1.2; letter-spacing: .02em; font-feature-settings: "palt"; }
.phd__h::after { content: ""; display: block; width: 120px; height: 10px; margin-top: 18px; background: var(--stroke) center / 100% 100% no-repeat; transform-origin: left; }
.phd__p { margin-top: 20px; max-width: 36em; font-size: 1.04em; }
.phd--team { padding-bottom: 0; }
.team { margin-top: clamp(28px, 4vw, 48px); }
.team img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 60%; }
@media (max-width: 767px) { .team img { aspect-ratio: 4 / 3; } }

.pnext { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.pnext a { flex: 1 1 260px; padding: 28px clamp(20px, 4vw, 56px); text-decoration: none; font-weight: 900; font-size: clamp(17px, .8vw + 13px, 22px); color: var(--blue); border-bottom: 1px solid var(--line); transition: background .25s; }
.pnext a + a { border-left: 1px solid var(--line); }
.pnext a:hover { background: var(--tint); }
@media (max-width: 559px) { .pnext a + a { border-left: 0; } }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- 塗った家 ---------- */
.homes { position: relative; padding-top: 34px; }
.home { padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.home:first-child { border-top: 0; padding-top: 12px; }
.home__in { display: grid; gap: 24px; }
@media (min-width: 960px) { .home__in { grid-template-columns: 1.45fr 1fr; gap: 52px; align-items: start; } }
.home__h { font-weight: 900; font-size: clamp(22px, 1.2vw + 16px, 30px); letter-spacing: .03em; }
.spec { width: 100%; margin-top: 18px; font-size: .95em; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec th { width: 7.5em; font-weight: 500; color: var(--blue); padding-right: 12px; }
.spec .num { font-size: 1.1em; }
.word { margin-top: 20px; padding: 16px 18px 16px 20px; background: var(--tint); border-left: 4px solid var(--blue); }
.word__lb { display: block; font-size: 12px; font-weight: 500; color: var(--blue); letter-spacing: .08em; margin-bottom: 4px; }

.color__in { display: grid; gap: 36px; }
.color__txt p { margin-top: 18px; max-width: 34em; }
@media (min-width: 900px) { .color__in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 22px); }
.chips li { font-size: 14px; font-weight: 500; text-align: center; }
.chips__bd { display: block; aspect-ratio: 210 / 297; margin-bottom: 10px; border: 1.5px solid var(--blue); background: repeating-linear-gradient(180deg, var(--c) 0 16px, color-mix(in srgb, var(--c) 86%, #000) 16px 17px); box-shadow: 6px 6px 0 var(--w); }

/* ---------- 塗り替えの工程 ---------- */
.steps { display: grid; gap: clamp(36px, 5vw, 64px); }
.step { display: grid; gap: 18px; }
.step__ph img, .step__ph svg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.step__k { font-size: clamp(56px, 4vw + 36px, 92px); line-height: .9; color: var(--blue); display: inline-block; padding-bottom: 6px; border-bottom: 6px solid var(--yel); }
.step__h { margin-top: 18px; font-weight: 900; font-size: clamp(21px, 1vw + 16px, 28px); letter-spacing: .03em; line-height: 1.4; }
.step__d { font-size: .62em; font-weight: 500; color: var(--sub); margin-left: 4px; }
.step__txt > p:last-child { margin-top: 12px; max-width: 30em; }
@media (min-width: 900px) {
  .step { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
}
.rain__in { display: grid; gap: 28px; align-items: center; }
.rain__txt p { margin-top: 18px; max-width: 34em; }
.rain__art svg { width: min(300px, 80%); margin-inline: auto; }
.rain__cal { font-size: 18px; font-weight: 900; fill: var(--blue); font-family: var(--jp); }
@media (min-width: 900px) { .rain__in { grid-template-columns: 1.4fr 1fr; } }

/* ---------- 図 T-3 ---------- */
.t3 { margin-top: 36px; }
.t3__body { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .t3__body { grid-template-columns: 1.25fr 1fr; gap: 48px; } }
.t3__svg { width: 100%; }
.t3__no { font-family: var(--num); font-size: 17px; font-weight: 500; fill: #fff; }
.t3__list { display: grid; gap: 12px; }
.t3__list li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.t3__k { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--num); font-size: 15px; }
.t3__list strong { font-weight: 900; }
.t3__list span:last-child { font-size: .95em; }
.t3__foot { margin-top: 22px; padding: 14px 18px; background: var(--tint); font-weight: 500; }

/* ---------- 図 T-2 ---------- */
.t2 { margin-top: 26px; background: var(--w); border: 1px solid var(--line); padding: clamp(18px, 3vw, 36px); }
.t2__chart { position: relative; max-width: 760px; }
.t2__chart svg { width: 100%; }
.t2__tk { font-family: var(--num); font-size: 22px; fill: var(--ink); }
.t2__yr { font-family: var(--jp); font-size: 18px; }
.t2__tg { font-family: var(--jp); font-size: 17px; font-weight: 700; fill: var(--ink); }
.t2__axis { font-size: 12.5px; color: var(--sub); text-align: right; max-width: 760px; margin-top: 4px; }
.t2__lbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 760px; margin-top: 12px; padding-right: 15.5%; padding-left: 4%; }
.t2__lbs li { display: grid; gap: 2px; font-size: 13px; line-height: 1.5; }
.t2__lbs strong { font-weight: 900; font-size: 14.5px; color: var(--blue); }
.t2__lbs .num { font-size: 1.15em; }
.t2__note { margin-top: 18px; font-size: 13px; color: var(--sub); line-height: 1.8; }
@media (max-width: 600px) { .t2__lbs { padding: 0; gap: 6px; } .t2__lbs li { font-size: 12px; } .t2__lbs strong { font-size: 13px; } }

.pick__in { display: grid; gap: 22px; }
.pick__txt { max-width: 40em; font-size: 1.08em; }
.pick__txt p + p { margin-top: 14px; }
.pick__txt p:last-child { font-weight: 900; }
@media (min-width: 900px) { .pick__in { grid-template-columns: 300px 1fr; gap: 48px; } }

.cost { margin-top: 28px; overflow-x: auto; }
.cost table { width: 100%; min-width: 560px; font-size: .96em; }
.cost th, .cost td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.cost thead th { font-weight: 900; border-bottom: 2px solid var(--ink); }
.cost tbody th { font-weight: 500; color: var(--blue); }
.cost td .num { font-size: 1.35em; }

/* ---------- 図 T-4 見積書の見本 ---------- */
.t4 { margin-top: 34px; }
.t4__paper { background: #fff; max-width: 860px; padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 48px) clamp(20px, 3vw, 36px); box-shadow: 0 1px 2px rgba(34, 48, 60, .08), 0 18px 40px -22px rgba(34, 48, 60, .35); }
.t4__top { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.t4__title { font-weight: 900; font-size: clamp(20px, 1vw + 16px, 28px); letter-spacing: .3em; }
.t4__date { font-size: 12.5px; color: var(--sub); align-self: start; }
.t4__to { grid-column: 1 / -1; font-size: 15px; }
.t4__tb { width: 100%; margin-top: 8px; font-size: 14px; }
.t4__tb th, .t4__tb td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.t4__tb thead th { font-size: 12px; color: var(--sub); font-weight: 500; }
.t4__tb tbody th { font-weight: 500; position: relative; }
.t4__q, .t4__y { text-align: right !important; white-space: nowrap; }
.t4__y .num { font-size: 1.12em; }
.t4__tb tfoot th, .t4__tb tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 900; padding-top: 14px; }
.t4__tb tfoot .num { font-size: 1.4em; color: var(--blue); }
.t4__c { color: var(--sub); font-size: 13px; }
.t4__mk { display: inline-block; margin-right: 8px; padding: 1px 8px; background: var(--yel); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; line-height: 1.7; white-space: nowrap; }
@media (min-width: 900px) {
  .t4__paper { margin-left: 170px; }
  .t4__tb tbody tr.is-mk th { padding-left: 8px; }
  .t4__mk { position: absolute; right: calc(100% + 56px); top: 50%; transform: translateY(-50%); margin: 0; }
  .t4__mk::after { content: ""; position: absolute; left: calc(100% + 6px); top: 50%; width: 44px; height: 2px; background: var(--yel); }
}
.t4__note { margin-top: 14px; font-size: 13px; color: var(--sub); }
@media (min-width: 900px) { .t4__note { margin-left: 170px; } }
@media (max-width: 640px) {
  .t4__tb thead { display: none; }
  .t4__tb tr { display: grid; grid-template-columns: 1fr auto auto; column-gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .t4__tb th, .t4__tb td { border: 0; padding: 0; }
  .t4__tb tbody th { grid-column: 1; }
  .t4__tb .t4__c { grid-column: 1 / -1; grid-row: 2; font-size: 12px; }
  .t4__tb tfoot tr { border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 12px; }
  .t4__tb tfoot th, .t4__tb tfoot td { border: 0; padding: 0; }
  .t4__tb tfoot .t4__c { display: none; }
  .t4__mk { display: table; margin: 0 0 4px; }
}

/* ---------- お見積り ---------- */
.t5 { margin-top: 30px; }
.t5__body { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .t5__body { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.t5__svg { width: 100%; background: var(--w); border: 1px solid var(--line); }
.t5__no { font-family: var(--num); font-size: 17px; font-weight: 500; fill: #fff; }
.t5__tn { font-family: var(--num); font-size: 16px; fill: var(--blue); }
.t5__n { font-size: 15px; font-weight: 900; fill: var(--ink); font-family: var(--jp); }
.t5__list { display: grid; gap: 4px; }
.t5__list li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.t5__k { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--num); font-size: 14px; transform: translateY(2px); }
.t5__foot { margin-top: 18px; padding: 12px 16px; background: var(--tint); font-weight: 500; }
.photo__act { margin-top: 30px; display: grid; gap: 10px; justify-items: start; }
.btn--line { min-height: 60px; padding: 0 30px; font-size: 1.08em; gap: 10px; }
.btn__ic { width: 22px !important; height: 22px !important; }
.photo__act p { font-size: 13px; color: var(--sub); }

.visit__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .visit__in { grid-template-columns: 300px 1fr; gap: 48px; } }
.vsteps { display: grid; gap: 0; }
.vsteps li { display: grid; grid-template-columns: 68px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.vsteps li:first-child { padding-top: 0; }
.vsteps__k { font-size: 54px; line-height: 1; color: var(--blue); }
.vsteps h3 { font-weight: 900; font-size: 1.12em; }
.vsteps p { margin-top: 6px; }
.vsteps a { text-decoration: none; }
.decide__box { max-width: 820px; padding: clamp(22px, 4vw, 40px); border: 2px solid var(--blue); position: relative; font-size: 1.05em; }
.decide__box::before { content: ""; position: absolute; left: -2px; top: -2px; width: 120px; height: 10px; background: var(--stroke) center / 100% 100% no-repeat; transform: translateY(-50%); }
.decide__box p + p { margin-top: 12px; font-weight: 500; }
.sec.decide::before { display: none; }

/* ---------- 親方と職人 ---------- */
.greet__in { display: grid; gap: 22px; }
.greet__txt { max-width: 36em; font-size: 1.05em; }
.greet__txt p + p { margin-top: 14px; }
.nameplate { border-top: 4px solid var(--blue); padding-top: 16px; max-width: 26em; }
.nameplate__h { font-weight: 900; font-size: 17px; letter-spacing: .04em; }
.nameplate p { margin-top: 6px; }
@media (min-width: 960px) { .greet__in { grid-template-columns: 300px 1fr; column-gap: 48px; } .greet__in .h2 { grid-row: span 2; } }
.crew__in { display: grid; gap: 30px; }
.crew__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.crew__list { margin-top: 26px; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.crew__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.crew__nm { font-weight: 900; font-size: 1.12em; }
.crew__y { font-size: 13px; color: var(--sub); align-self: center; }
.crew__y .num { font-size: 26px; color: var(--blue); margin-right: 1px; }
.crew__w { grid-column: 1 / -1; font-size: .96em; }
@media (min-width: 900px) { .crew__in { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; } }
.yard__in { display: grid; gap: 26px; }
.yard__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.yard__txt p { margin-top: 18px; max-width: 30em; }
@media (min-width: 900px) { .yard__in { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; } }
.area__map { width: 100%; max-width: 520px; margin-inline: auto; }
.area__t { font-size: 26px; font-weight: 900; fill: var(--blue); font-family: var(--jp); }
.area__s { font-size: 17px; font-weight: 500; fill: var(--ink); font-family: var(--jp); }

/* ---------- フッター ---------- */
.ft { background: var(--blue); color: #fff; padding: 52px 0 28px; }
.ft__in { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: grid; gap: 22px; }
.ft .logo { color: #fff; }
.ft .logo__mk { filter: brightness(0) invert(1); }
.ft .logo__w { font-size: 26px; }
.ft__info { font-size: 14px; line-height: 1.9; }
.ft__info a { text-decoration: none; }
.ft__info .num { font-size: 1.15em; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.ft__nav a { text-decoration: none; opacity: .92; }
.ft__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft__copy { font-size: 12px; opacity: .75; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }
@media (min-width: 900px) { .ft__in { grid-template-columns: auto 1fr; column-gap: 56px; } .ft__nav { grid-column: 1 / -1; } .ft__copy { grid-column: 1 / -1; } }

/* ---------- 動き（JS がクラスを付けたときだけ。reduced-motion では付かない） ---------- */
html.anim [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.anim [data-rv].is-in { opacity: 1; transform: none; }
html.anim .sec + .sec::before { transform: scaleX(0); transition: transform .9s var(--ease) .1s; }
html.anim .sec.is-seen + .sec::before, html.anim .sec.is-seen::before { transform: scaleX(1); }
html.anim .t1__bar { transform: scaleX(0); transition: transform .55s var(--ease); transition-delay: calc(var(--i) * 90ms + 150ms); }
html.anim .t1.is-in .t1__bar { transform: scaleX(1); }
html.anim .t1 .ly { opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--ease); }
html.anim .t1.is-in .ly1 { opacity: 1; transform: none; transition-delay: .65s; }
html.anim .t1.is-in .ly2 { opacity: 1; transform: none; transition-delay: .85s; }
html.anim .t1.is-in .ly3 { opacity: 1; transform: none; transition-delay: 1.05s; }
html.anim .t2__p { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 140ms + 150ms); }
html.anim .t2.is-in .t2__p { transform: scaleY(1); }
html.anim .t2__tag { opacity: 0; transition: opacity .5s 1s; }
html.anim .t2.is-in .t2__tag { opacity: 1; }
html.anim .t3__pin, html.anim .t5__ph, html.anim .t5__th { opacity: 0; transition: opacity .45s, transform .45s var(--ease); transition-delay: calc(var(--i) * 160ms + 200ms); }
html.anim .t3__pin { transform-box: fill-box; transform-origin: center; transform: scale(.4); }
html.anim .t3.is-in .t3__pin { opacity: 1; transform: none; }
html.anim .t5.is-in .t5__th, html.anim .t5.is-in .t5__ph { opacity: 1; }
html.anim .t4__mk { opacity: 0; transition: opacity .5s .4s; }
html.anim .t4.is-in .t4__mk { opacity: 1; }
html.anim .rain__art .drops path { animation: drip 1.6s linear infinite; }
html.anim .rain__art .drops path:nth-child(2n) { animation-delay: .5s; }
html.anim .rain__art .drops path:nth-child(3n) { animation-delay: 1s; }
@keyframes drip { 0% { opacity: 0; transform: translateY(-6px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
html.anim .area__pin { animation: pin 2.4s var(--ease) 1s 2 both; }
@keyframes pin { 0%, 100% { transform: translate(276px, 196px); } 30% { transform: translate(276px, 186px); } 55% { transform: translate(276px, 196px); } }
html.anim .phd__h::after, html.anim .hero__h::after { animation: wipe .9s var(--ease) .3s both; transform-origin: left; }
@keyframes wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
