/* 外構とお庭 にわさき工務
   白 #FFFFFF の地。字は墨 #24272A。レンガ #B5543C は料金の数字・今いるページの印・図の強調。
   白い字をのせるボタンの地は濃いレンガ #9A4430。芝 #6E9F4A は平面図の芝と小さな印だけ（字の色にしない）。
   コンクリートの明るい灰 #E6E3DE は平面図の土間と、区画の地・表の見出しの地。
   あしらいは図面の寸法線・方位の印・レンガの帯（フッターの上とボタンの下線だけ）。角は丸めない。 */
:root {
  --white: #ffffff;
  --ink: #24272A;
  --ink-2: #4c5056;
  --ink-3: #6b6f74;
  --brick: #B5543C;
  --brick-d: #9A4430;
  --brick-dd: #7f3727;
  --grass: #6E9F4A;
  --grass-l: #a9c98f;
  --conc: #E6E3DE;
  --conc-2: #d6d2cb;
  --rule: #d9d5ce;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --en: "Montserrat", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --wrap: 1160px;
  --hd: 76px;
  --bg: var(--white);
  --brickband: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10' viewBox='0 0 40 10'%3E%3Crect width='40' height='10' fill='%23B5543C'/%3E%3Cpath d='M0 5H40M0.5 0V5M20.5 5V10' stroke='%23fff' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 12px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: clamp(15px, .88rem + .18vw, 17px); line-height: 1.85; letter-spacing: .02em;
  overflow-wrap: anywhere; line-break: strict;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 .9em; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.45; letter-spacing: .02em; font-feature-settings: "palt"; text-wrap: balance; word-break: auto-phrase; }
ul, ol, dl { margin: 0; padding: 0; }
.wrap { max-width: calc(var(--wrap) + 56px); margin: 0 auto; padding: 0 28px; }
.n { font-family: var(--en); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .86em; color: var(--ink-2); }
.lead { font-size: 1.04em; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--brick-d); outline-offset: 3px; }

/* ---------- 図の共通の線と面 ---------- */
.pl { overflow: visible; height: auto; width: 100%; }
.pl .ln { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.pl .ln-t { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl .ln-d { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.pl .ln-g { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.pl .road { fill: #f3f1ed; }
.pl .roadedge { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pl .conc { fill: url(#hatch); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pl .conc-p { fill: var(--conc); }
.pl .grass { fill: var(--grass); fill-opacity: .55; stroke: var(--grass); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl .gravel { fill: url(#gravel); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl .wall { fill: none; stroke: var(--brick); stroke-width: 6; stroke-linecap: square; }
.pl .wall-t { fill: none; stroke: var(--brick); stroke-width: 3; stroke-linecap: square; }
.pl .brk { fill: var(--brick); }
.pl .pillar { fill: var(--ink); }
.pl .house { fill: #fff; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pl .car { fill: #fff; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl .paver { fill: #fff; stroke: var(--ink); stroke-width: .8; vector-effect: non-scaling-stroke; }
.pl .dim { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl .dim-e { fill: none; stroke: var(--ink-3); stroke-width: .8; vector-effect: non-scaling-stroke; }
.pl .accent { fill: var(--brick); }
.pl .accent-l { fill: none; stroke: var(--brick); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pl .tx { font-family: var(--sans); font-weight: 500; font-size: 12px; fill: var(--ink); }
.pl .tx-b { font-family: var(--sans); font-weight: 700; font-size: 13px; fill: var(--ink); }
.pl .tx-s { font-family: var(--sans); font-weight: 500; font-size: 10.5px; fill: var(--ink-2); }
.pl .nm { font-family: var(--en); font-weight: 600; font-size: 12px; fill: var(--ink); font-variant-numeric: tabular-nums; }
.pl .nm-b { font-family: var(--en); font-weight: 700; font-size: 15px; fill: var(--brick-d); font-variant-numeric: tabular-nums; }
.pl .nm-s { font-family: var(--en); font-weight: 600; font-size: 9.5px; fill: var(--ink-2); }
.pl .bg-w { fill: #fff; }
.pl .bg-c { fill: var(--conc); }
.pl .knock { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.pl .knock-c { paint-order: stroke; stroke: #f3f1ed; stroke-width: 4px; stroke-linejoin: round; }
.pl .arrow { fill: none; stroke: var(--brick); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pl .rebar { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.pl .earth { fill: #c9b9a3; }
.pl .stone { fill: #d4d0c9; }
.pl .stone-p { fill: #fff; stroke: var(--ink-2); stroke-width: .7; vector-effect: non-scaling-stroke; }
.pl .slab { fill: var(--conc-2); }

/* 図の中の順に出る動き（opacity と transform だけ） */
.pl .pe { transform-box: fill-box; }
@keyframes pe { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.js .hero .pl .pe { animation: pe .3s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(var(--i, 0) * .15s); }
.js .fig .pe, .js .fig .fe { opacity: 0; }
.js .fig.is-in .pe, .js .fig.is-in .fe { animation: pe .28s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(var(--i, 0) * .1s); }

/* ---------- 方位の印・区画の札・寸法線 ---------- */
.north { display: inline-block; width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.north circle { fill: none; stroke: currentColor; stroke-width: 1.3; }
.north path { fill: currentColor; }
.tag { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .2em; color: var(--brick-d); line-height: 1; }
.tag .north { color: var(--ink); }
.sh { display: inline-block; max-width: 100%; margin-bottom: 26px; }
.sh h2, .sh h1 { font-size: clamp(25px, 1.25rem + 1.3vw, 38px); }
.sh h1 { font-size: clamp(28px, 1.3rem + 1.7vw, 46px); }
.dimline { position: relative; display: flex; justify-content: center; align-items: center; height: 22px; margin-top: 12px; }
.dimline::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ink); transform-origin: left center; transition: transform .7s cubic-bezier(.3, .6, .2, 1); }
.dimline i { position: absolute; top: 3px; width: 1px; height: 16px; background: var(--ink); transform: rotate(45deg); }
.dimline i:first-child { left: 0; }
.dimline i:last-child { right: 0; }
.dimline .tag { position: relative; padding: 0 12px; background: var(--bg); }
.js .sh.rv .dimline::before { transform: scaleX(0); }
.js .sh.rv.is-in .dimline::before { transform: none; }
.sec--g .dimline .tag, .sec--g { --bg: var(--conc); }

/* ---------- ボタン ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 28px; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 4px; background: var(--brick-d); color: #fff; font-weight: 700; font-size: 15.5px; letter-spacing: .04em; text-decoration: none; border: 0; line-height: 1.4; }
.btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--brickband) left top / 20px 5px repeat-x; }
.btn .ar { display: inline-block; transition: transform .25s; font-family: var(--en); }
.btn:hover { background: var(--brick-dd); }
.btn:hover .ar { transform: translateX(4px); }
.btn--o { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); padding-bottom: 0; }
.btn--o::after { display: none; }
.btn--o:hover { background: var(--conc); }
.tlink { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--brick); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tlink:hover { color: var(--brick-d); }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--rule); }
.hd__in { max-width: 1380px; margin: 0 auto; padding: 0 28px; height: var(--hd); display: flex; align-items: center; gap: 14px; }
.brand { display: block; text-decoration: none; flex: none; }
.logo { height: 50px; width: auto; overflow: visible; }
.logo .m-wall { fill: none; stroke: var(--brick); stroke-width: 5; stroke-linecap: square; stroke-linejoin: miter; }
.logo .m-pil { fill: var(--ink); }
.logo .m-arc { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.logo .m-gr { fill: var(--grass); }
.logo .l-en { font-family: var(--en); font-weight: 600; font-size: 8.2px; letter-spacing: .24em; fill: var(--ink-2); }
.logo .l-name { font-family: var(--sans); font-weight: 700; font-size: 21px; letter-spacing: .06em; fill: var(--ink); }
.logo .l-sub { font-family: var(--sans); font-weight: 500; font-size: 9.6px; letter-spacing: .3em; fill: var(--ink-2); }
.logo--w .m-pil { fill: #fff; }
.logo--w .m-arc { stroke: #fff; }
.logo--w .l-en, .logo--w .l-sub { fill: #c9c6c1; }
.logo--w .l-name { fill: #fff; }
.demo { flex: none; font-family: var(--en); font-weight: 600; font-size: 9.5px; letter-spacing: .14em; color: var(--ink-3); border: 1px solid var(--rule); padding: 2px 5px 1px; line-height: 1.2; align-self: center; }
.gnav { margin-left: auto; }
.gnav ul { list-style: none; display: flex; gap: 2px; }
.gnav a { position: relative; display: block; padding: 10px 13px; font-weight: 500; font-size: 14.5px; text-decoration: none; letter-spacing: .03em; white-space: nowrap; }
.gnav a::after { content: ""; position: absolute; left: 13px; bottom: 2px; width: 22px; height: 3px; background: var(--brick); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav a:hover::after { transform: scaleX(.6); }
.gnav a[aria-current="page"]::after { transform: none; }
.gnav a[aria-current="page"] { font-weight: 700; }
.gnav__sp { display: none; }
.hd__tel { flex: none; text-align: right; text-decoration: none; padding-left: 18px; border-left: 1px solid var(--rule); line-height: 1.2; }
.hd__tel b { display: block; font-family: var(--en); font-weight: 600; font-size: 22px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hd__tel small { display: block; font-size: 11.5px; color: var(--ink-2); margin-top: 4px; letter-spacing: .02em; }
.hd__call { display: none; }
.menu { display: none; }

/* ---------- 最初の画面（トップ） ---------- */
.hero { border-bottom: 1px solid var(--rule); }
.hero__split { display: grid; grid-template-columns: 1fr 1px 1fr; height: min(75vh, 700px); min-height: 460px; }
.hero__ph { position: relative; overflow: hidden; background: var(--conc); }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.hero__bar { background: var(--ink); }
.hero__plan { display: flex; align-items: center; justify-content: center; padding: 28px 36px; background: #fff; }
.plancard { position: relative; width: 100%; max-width: 560px; }
.plancard .pl { max-height: calc(min(75vh, 700px) - 72px); }
.plancard__cap { position: absolute; left: 0; top: 0; display: flex; gap: 10px; align-items: center; font-family: var(--en); font-weight: 600; font-size: 11px; letter-spacing: .18em; color: var(--ink-2); }
.hero__text { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; padding-top: 44px; padding-bottom: 52px; }
.hero__text h1 { font-size: clamp(24px, 1rem + 2.2vw, 46px); line-height: 1.4; margin: 14px 0 12px; letter-spacing: .01em; }
.hero__text h1 .n { font-weight: 700; color: var(--brick-d); letter-spacing: 0; }
.hero__spec { font-family: var(--en); font-weight: 600; font-size: 14px; color: var(--ink-2); margin: 0; letter-spacing: .02em; }
.hero__aside p { margin-bottom: 0; }
.hero__aside .btns { margin-top: 22px; }

/* ---------- お知らせの帯 ---------- */
.notice { background: var(--ink); color: #fff; }
.notice .wrap { display: flex; gap: 14px; align-items: center; padding-top: 14px; padding-bottom: 14px; font-size: 14.5px; }
.notice .north { color: #fff; }
.notice p { margin: 0; }

/* ---------- 区画 ---------- */
.sec { padding: clamp(64px, 5rem + 2vw, 112px) 0; background: var(--bg); }
.sec--g { background: var(--conc); }
.sec--line { border-top: 1px solid var(--rule); }
.sec + .sec:not(.sec--g):not(.sec--line) { padding-top: clamp(24px, 2rem, 48px); }
.sec--g + .sec, .sec + .sec--g { padding-top: clamp(64px, 5rem + 2vw, 112px); }
.ttl { margin-bottom: 18px; }
.ttl h2 { font-size: clamp(23px, 1.1rem + 1vw, 32px); }
.ttl h3 { font-size: clamp(19px, 1rem + .6vw, 24px); }
.text { max-width: 44em; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px 64px; align-items: start; }
.cols--r { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.cols--c { align-items: center; }

/* 費用の表（カードにしない） */
.ptable { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ptable th, .ptable td { padding: 18px 4px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.ptable tr:first-child th, .ptable tr:first-child td { border-top: 1.5px solid var(--ink); }
.ptable th { font-weight: 500; padding-right: 24px; }
.ptable td.pr { text-align: right; white-space: nowrap; font-family: var(--en); font-weight: 700; font-size: clamp(18px, 1rem + .5vw, 23px); color: var(--brick-d); font-variant-numeric: tabular-nums; }
.ptable td.pr small { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-left: 2px; }
.ptable td.pr .u { font-family: var(--sans); font-weight: 500; font-size: 13.5px; color: var(--ink-2); margin-right: 6px; }
.note { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; }

/* 3列の表（費用の目安） */
.xtable { width: 100%; border-collapse: collapse; font-size: .95em; }
.xtable thead th { background: var(--conc); font-weight: 700; font-size: 13.5px; text-align: left; padding: 10px 14px; border-bottom: 1.5px solid var(--ink); }
.sec--g .xtable thead th { background: #fff; }
.xtable tbody th, .xtable tbody td { padding: 16px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.xtable tbody th { font-weight: 700; width: 32%; }
.xtable td.pr { white-space: nowrap; font-family: var(--en); font-weight: 700; font-size: 19px; color: var(--brick-d); font-variant-numeric: tabular-nums; text-align: right; width: 18%; }
.xtable td.pr .u, .xtable td.pr small { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--ink-2); }
.xtable td.pr .u { margin-right: 6px; }
.xtable td.in { color: var(--ink-2); font-size: .95em; }

/* 小さな2列の表 */
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { padding: 13px 4px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.kv tr:first-child th, .kv tr:first-child td { border-top: 1px solid var(--ink); }
.kv th { width: 9.5em; font-weight: 700; font-size: .93em; padding-right: 16px; }
.kv a { text-decoration: none; }

/* 図をのせる枠 */
.fig { margin: 0; }
.figbox { background: #fff; padding: clamp(18px, 2vw, 32px); border: 1px solid var(--rule); }
.sec--g .figbox { border-color: #fff; }
.fig figcaption, .figcap { font-size: 13px; color: var(--ink-2); margin-top: 12px; }

/* 写真 */
.ph { position: relative; margin: 0; background: var(--conc); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--43 { aspect-ratio: 4 / 3; }
.ph--32 { aspect-ratio: 3 / 2; }
.ph--sq { aspect-ratio: 1 / 1; }
.phdim { display: flex; align-items: center; gap: 0; margin-top: 10px; }
.phdim span { flex: none; padding: 0 10px; font-family: var(--en); font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.phdim span b { font-family: var(--sans); font-weight: 500; font-size: 12px; margin-right: 4px; }
.phdim::before, .phdim::after { content: ""; flex: 1; height: 0; border-top: 1px solid var(--ink); }
.phdim { position: relative; }
.phdim i { position: absolute; top: -7px; width: 1px; height: 14px; background: var(--ink); transform: rotate(45deg); }
.phdim i:first-child { left: 0; }
.phdim i:last-child { right: 0; }

/* 何台、置けますか（D-1） */
.d1 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; }
.d1__one { display: flex; flex-direction: column; justify-content: flex-end; }
.d1__one h3 { font-size: 16px; margin: 0 0 8px; }
.d1__one svg { max-width: 220px; margin: 0 auto; }
.d1__lab { margin-top: 10px; font-family: var(--en); font-weight: 600; font-size: 13px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.d1__lab span { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.d1__lab span::before { content: ""; width: 22px; border-top: 1.5px solid var(--ink); flex: none; }
.d1__lab span.dot::before { border-top-style: dashed; border-top-width: 1.5px; }
.d1__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.d1--sm .d1__one svg { max-width: 160px; }
.d1--sm .d1__lab { font-size: 12px; }

/* 工事の例（トップ・横に長い段を縦に積む） */
.works { display: grid; gap: 52px; }
.work { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 44px; align-items: start; padding-top: 28px; border-top: 1px solid var(--rule); }
.work__side { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }
.work__mini { border: 1px solid var(--rule); padding: 8px; background: #fff; }
.work h3 { font-size: clamp(19px, 1rem + .6vw, 24px); margin-bottom: 10px; }
.work__price { margin: 14px 0 0; font-family: var(--en); font-weight: 700; font-size: clamp(22px, 1.1rem + .8vw, 30px); color: var(--brick-d); font-variant-numeric: tabular-nums; line-height: 1.2; }
.work__price small { word-break: auto-phrase; display: block; margin-top: 6px; font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* ブロック塀（D-3 小） */
.wallfig { max-width: 420px; justify-self: center; width: 100%; }

/* 工事の流れ（D-2 上の段） */
.flow { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; margin-top: 8px; }
.flow::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 9px; border-top: 1px solid var(--ink); }
.flow li { position: relative; text-align: center; padding: 0 6px; }
.flow .dot { position: relative; display: block; width: 19px; height: 19px; margin: 0 auto 14px; background: #fff; border: 1.5px solid var(--ink); }
.flow .is-k .dot { background: var(--brick); border-color: var(--brick); }
.flow b { display: block; font-weight: 700; font-size: 15px; line-height: 1.5; }
.flow small { display: block; margin-top: 4px; font-family: var(--en); font-weight: 600; font-size: 12px; color: var(--ink-2); }
.flow small.j { font-family: var(--sans); font-weight: 500; }
.flow li + li::after { content: ""; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); opacity: .0; }

/* 工事の日程（D-2 下の段） */
.gantt { margin-top: 36px; border-top: 1.5px solid var(--ink); }
.gantt__hd, .gantt__row { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; }
.gantt__hd { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-2); }
.gantt__days { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); font-family: var(--en); font-weight: 600; font-size: 11.5px; text-align: center; color: var(--ink-2); }
.gantt__row { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.gantt__lab { font-size: 14px; line-height: 1.5; padding-right: 14px; }
.gantt__lab .n { display: inline-block; min-width: 3.6em; font-weight: 600; }
.gantt__track { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); height: 18px; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--rule) calc(10% - 1px) 10%); }
.gantt__bar { grid-row: 1; background: var(--ink); height: 18px; transform-origin: left center; }
.gantt__bar.k { background: var(--brick); }
.gantt__bar.w { background: repeating-linear-gradient(90deg, var(--conc-2) 0 8px, transparent 8px 12px); border: 1px dashed #b9b4ab; }
.js .fig .gantt__bar { transform: scaleX(0); }
.js .fig.is-in .gantt__bar { transform: none; transition: transform .5s cubic-bezier(.3, .6, .2, 1); transition-delay: calc(var(--i, 0) * .12s + .2s); }
.gantt__foot { font-size: 13px; color: var(--ink-2); margin-top: 10px; }

/* よくある質問 */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 10px; align-items: baseline; padding: 20px 2px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--en); font-weight: 700; color: var(--brick-d); font-size: 17px; }
.faq summary .pm { position: relative; width: 14px; height: 14px; align-self: center; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 0 2px 22px; }
.faq .a .q { font-family: var(--en); font-weight: 700; color: var(--ink-3); font-size: 17px; }
.faq .a p { margin: 0; }

/* 会社の場所 */
.basho { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 60px; align-items: start; }

/* ---------- ページの頭（下層） ---------- */
.ph-head { padding: clamp(40px, 3rem + 1vw, 72px) 0 clamp(48px, 4rem, 80px); border-bottom: 1px solid var(--rule); }
.ph-head__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 60px; align-items: center; }
.ph-head__in--r .ph-head__ph { order: -1; }
.ph-head .ph { aspect-ratio: 4 / 3; }
.crumb { font-size: 12.5px; color: var(--ink-2); margin-bottom: 26px; }
.crumb a { color: inherit; }
.inlinks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); }
.inlinks a { font-weight: 700; font-size: 14.5px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.inlinks a::before { content: ""; width: 7px; height: 7px; background: var(--brick); flex: none; }
.inlinks a:hover { color: var(--brick-d); }

/* 工事の例ページ */
.ex { padding-top: clamp(56px, 4rem + 1vw, 96px); }
.ex + .ex { border-top: 1px solid var(--rule); margin-top: clamp(56px, 4rem + 1vw, 96px); }
.ex__top { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 24px; align-items: stretch; }
.ex__top .ph { aspect-ratio: auto; min-height: 100%; }
.ex__top .ph img { position: absolute; inset: 0; }
.ex__phwrap { display: flex; flex-direction: column; }
.ex__phwrap .ph { flex: 1; min-height: 300px; }
.ex__plan { border: 1px solid var(--rule); padding: 16px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.ex__plan p { font-family: var(--en); font-weight: 600; font-size: 11px; letter-spacing: .18em; color: var(--ink-2); margin: 0 0 8px; }
.ex__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 56px; margin-top: 30px; }
.ex__body h2 { font-size: clamp(22px, 1.1rem + .9vw, 30px); margin-bottom: 18px; }
.ex__label { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; padding-bottom: 2px; border-bottom: 2px solid var(--grass); }
.ex__days { margin-top: 18px; padding: 14px 16px; background: var(--conc); font-size: 14px; }
.ex__days b { font-family: var(--en); font-weight: 700; font-size: 20px; margin-right: 10px; font-variant-numeric: tabular-nums; }
.ex__tbl td.pr { font-size: 17px; }
.ex__tbl tr.sum th, .ex__tbl tr.sum td { border-bottom: 1.5px solid var(--ink); font-weight: 700; }
.ex__tbl tr.sum td.pr { font-size: 22px; }

/* 費用の目安ページ */
.bignum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); }
.bignum > div { padding: 22px 24px 24px 0; }
.bignum > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.bignum dt { font-weight: 700; font-size: 15px; }
.bignum dt .n { font-weight: 500; font-size: 13.5px; color: var(--ink-2); }
.bignum dd { margin: 8px 0 0; font-family: var(--en); font-weight: 700; color: var(--brick-d); font-size: clamp(30px, 1.4rem + 1.8vw, 48px); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.bignum dd .u { font-family: var(--sans); font-size: .42em; font-weight: 500; color: var(--ink-2); margin-right: 8px; vertical-align: .3em; }
.bignum dd .y { font-family: var(--sans); font-size: .45em; font-weight: 700; margin-left: 2px; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.split2 .d4 { max-width: 780px; }
.extra { list-style: none; border-top: 1.5px solid var(--ink); }
.extra li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 16px 2px; border-bottom: 1px solid #cfcac2; }
.extra li b { font-weight: 500; }
.extra li span { font-family: var(--en); font-weight: 700; color: var(--brick-d); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.extra li span.j { font-family: var(--sans); color: var(--ink); font-weight: 500; }
.calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.calc__one { border-top: 1.5px solid var(--ink); padding-top: 16px; }
.calc__one h3 { font-size: 18px; margin-bottom: 10px; }
.calc__one table { width: 100%; border-collapse: collapse; }
.calc__one td { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.calc__one td.pr { text-align: right; font-family: var(--en); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__one td.op { width: 1.4em; font-family: var(--en); font-weight: 600; color: var(--ink-3); }
.calc__one tr.sum td { border-bottom: 1.5px solid var(--ink); border-top: 1.5px solid var(--ink); font-weight: 700; }
.calc__one tr.sum td.pr { font-size: 22px; font-weight: 700; color: var(--brick-d); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; }
.shots li { font-size: 13.5px; line-height: 1.55; }
.shots svg { border: 1.5px solid var(--ink); background: #fff; margin-bottom: 8px; }
.shots .n { font-weight: 700; margin-right: 4px; }
.linebox { border-top: 1.5px solid var(--ink); padding-top: 22px; }
.linebox .btn { margin-top: 6px; }

/* 駐車場の広さページ */
.wait { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.wait > div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--rule); }
.wait > div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.wait b { display: block; font-family: var(--en); font-weight: 700; font-size: clamp(26px, 1.3rem + 1.2vw, 38px); line-height: 1.1; color: var(--ink); }
.wait b .j { font-family: var(--sans); font-size: .55em; font-weight: 700; margin-left: 4px; }
.wait > div:last-child b { color: var(--brick-d); }
.wait p { margin: 10px 0 0; }

/* ブロック塀ページ */
.rules { list-style: none; border-top: 1.5px solid var(--ink); margin-top: 28px; columns: 2; column-gap: 48px; }
.rules li { break-inside: avoid; padding: 13px 0 13px 24px; border-bottom: 1px solid #cfcac2; position: relative; }
.rules li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 1px; height: 12px; background: var(--ink); transform: rotate(45deg); }
.rules .n { font-weight: 600; }
.checks { list-style: none; margin: 8px 0 22px; }
.checks li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 7px; top: calc(.6em + 6px); width: 1px; height: 13px; background: var(--brick); transform: rotate(45deg); }
.checks li::after { content: ""; position: absolute; left: 0; top: calc(.6em + 12px); width: 15px; border-top: 1px solid var(--ink); }
.fences { display: grid; gap: 28px; margin-top: 8px; }
.fence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 32px; align-items: center; }
.fence h3 { font-size: 18px; margin-bottom: 6px; }
.fence p { margin: 0; }
.d3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px 40px; align-items: start; }
.d3 h3 { font-size: 15px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }

/* 流れと会社のこと */
.steps { list-style: none; margin-top: 28px; border-top: 1.5px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid #cfcac2; }
.steps h3 { font-size: 18px; }
.steps .t { display: block; font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.steps li.is-k h3 { color: var(--brick-d); }
.steps p { margin: 0; }
.daihyo { border-left: 3px solid var(--brick); padding-left: 24px; }
.daihyo h3 { font-size: 18px; margin-bottom: 12px; }
.daihyo .sign { font-weight: 700; margin-top: 16px; }
.map { border: 1px solid var(--rule); background: #fff; }

/* ---------- 文のまわりの動き ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv.d1s { transition-delay: .08s; }
.js .rv.d2s { transition-delay: .16s; }

/* ---------- フッター ---------- */
.ft { background: var(--ink); color: #fff; position: relative; padding-top: 10px; }
.ft::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--brickband) left top / 40px 10px repeat-x; }
.ft__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 60px; padding-top: 56px; padding-bottom: 40px; }
.ft__logo { display: inline-block; margin-bottom: 18px; }
.ft p { margin: 0 0 6px; font-size: 14px; color: #dcd9d4; }
.ft a { color: #fff; }
.ft .tel { font-family: var(--en); font-weight: 600; font-size: 20px; text-decoration: none; letter-spacing: .03em; }
.ft__nav { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 40px; align-content: start; }
.ft__nav a { text-decoration: none; font-size: 14.5px; }
.ft__nav a:hover { text-decoration: underline; }
.ft__lic { font-size: 12.5px !important; color: #b9b6b1 !important; margin-top: 12px !important; }
.ft__copy { border-top: 1px solid #3c4045; padding: 16px 0 22px; font-size: 12px; color: #a9a6a1; }

/* ---------- 幅ごと ---------- */
@media (max-width: 1180px) {
  .hd__tel { display: none; }
  .gnav a { padding: 10px 10px; font-size: 14px; }
  .gnav a::after { left: 10px; }
}
@media (max-width: 1020px) {
  :root { --hd: 64px; }
  .logo { height: 44px; }
  .menu { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 700 13px/1 var(--sans); letter-spacing: .08em; cursor: pointer; }
  .menu__bars { position: relative; width: 15px; height: 10px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
  .menu__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3.5px; border-top: 1.5px solid var(--ink); }
  .hd__call { display: inline-flex; align-items: center; margin-left: auto; height: 40px; padding: 0 14px; background: var(--brick-d); color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(36, 39, 42, .08); margin: 0; padding: 8px 28px 24px; }
  .is-menu .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li { border-bottom: 1px solid var(--rule); }
  .gnav a { padding: 15px 2px; font-size: 16px; }
  .gnav a::after { left: auto; right: 2px; bottom: calc(50% - 1.5px); }
  .gnav__sp { display: block; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
  .gnav__sp a.tel { display: block; font-family: var(--en); font-weight: 600; font-size: 24px; color: var(--ink); text-decoration: none; }
  .hero__split { grid-template-columns: 1fr; grid-template-rows: auto auto auto; height: auto; min-height: 0; }
  .hero__ph { height: 40vh; min-height: 240px; max-height: 420px; }
  .hero__bar { height: 1px; }
  .hero__plan { padding: 16px 20px; }
  .plancard .pl { max-height: 300px; margin: 0 auto; }
  .hero__text { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 44px; }
  .cols, .cols--r, .basho, .ph-head__in, .split2, .ex__body, .ft__in { grid-template-columns: minmax(0, 1fr); }
  .ph-head__in--r .ph-head__ph { order: 0; }
  .work { grid-template-columns: 1fr; }
  .d3 { grid-template-columns: 1fr; }
  .rules { columns: 1; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hd__in { padding: 0 16px; gap: 10px; }
  .logo { height: 40px; }
  .demo { font-size: 8.5px; padding: 1px 4px; }
  .hero__ph { height: 40vh; }
  .hero__plan { height: auto; }
  .plancard .pl { max-height: 26vh; min-height: 200px; }
  .notice .wrap { font-size: 13.5px; align-items: flex-start; }
  .notice .north { margin-top: 3px; }
  .d1 { grid-template-columns: 1fr; gap: 28px; }
  .d1__one { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 4px 18px; align-items: end; }
  .d1__one h3 { grid-column: 1 / -1; }
  .d1--sm .d1__one svg, .d1__one svg { max-width: 120px; margin: 0; }
  .d1__lab { margin: 0; }
  .work__side { grid-template-columns: 1fr; }
  .work__mini { max-width: 260px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { left: 9px; right: auto; top: 10px; bottom: 30px; border-top: 0; border-left: 1px solid var(--ink); }
  .flow li { display: grid; grid-template-columns: 19px minmax(0, 1fr); gap: 0 16px; text-align: left; padding: 0 0 18px; }
  .flow .dot { grid-row: 1 / span 2; margin: 2px 0 0; }
  .flow small { margin-top: 0; }
  .gantt__hd { grid-template-columns: 1fr; }
  .gantt__hd > span:first-child { display: none; }
  .gantt__row { grid-template-columns: 1fr; gap: 6px; }
  .gantt__lab { padding-right: 0; font-size: 13.5px; }
  .ptable th, .ptable td { padding: 14px 2px; }
  .ptable th { padding-right: 12px; font-size: 14.5px; }
  .ptable td.pr { font-size: 18px; }
  .ptable td.pr .u { margin-right: 3px; }
  .ptable td.pr small { font-size: 12px; }
  .hero__text h1 { font-size: min(6.9vw, 34px); }
  .xtable thead { display: none; }
  .xtable, .xtable tbody, .xtable tr, .xtable th, .xtable td { display: block; width: auto !important; }
  .xtable tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .xtable tbody tr:first-child { border-top: 1.5px solid var(--ink); }
  .xtable tbody th, .xtable tbody td { border: 0; padding: 2px 0; }
  .xtable td.pr { text-align: left; font-size: 20px; }
  .kv th { width: 7.5em; }
  .bignum { grid-template-columns: 1fr; }
  .bignum > div, .bignum > div + div { padding: 18px 0; border-left: 0; }
  .bignum > div + div { border-top: 1px solid var(--rule); }
  .calc { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; gap: 18px; }
  .shots li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
  .shots svg { margin: 0; }
  .wait { grid-template-columns: 1fr; }
  .wait > div, .wait > div + div { padding: 18px 0; border-left: 0; }
  .ex__top { grid-template-columns: 1fr; }
  .ex__phwrap .ph { min-height: 0; aspect-ratio: 3 / 2; flex: none; }
  .fence { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; }
  .extra li { grid-template-columns: 1fr; }
  .extra li span { text-align: left; }
  .faq summary { grid-template-columns: 26px minmax(0, 1fr) 16px; }
  .faq .a { grid-template-columns: 26px minmax(0, 1fr); }
  .ft__nav { grid-template-columns: 1fr; }
  .daihyo { padding-left: 16px; }
}
@media (max-width: 400px) {
  .hd__call { padding: 0 10px; font-size: 12.5px; }
  .menu { padding: 0 10px; }
  .menu__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* 土間コンクリートの中身（D-4） */
.d4__p { margin: 0; font-family: var(--en); font-weight: 700; font-size: clamp(24px, 1.2rem + 1vw, 34px); color: var(--brick-d); line-height: 1.2; font-variant-numeric: tabular-nums; }
.d4__p .n { font-weight: 700; }
@media (max-width: 1020px) { .cols--sp-rev > :first-child { order: 2; } }
.d4 .pl { margin-top: 4px; }
.d4__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 28px; align-items: center; }
.d4__ol { list-style: none; font-size: 14px; line-height: 1.55; }
.d4__ol li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.d4__no { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--en); font-weight: 600; font-size: 11px; margin-top: 1px; }
@media (max-width: 760px) { .d4__in { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .xtable td[data-l]::before { content: attr(data-l); display: inline-block; min-width: 11.5em; font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); }
}
.wait b { font-family: var(--en); }
@media (max-width: 760px) {
  .figbox .pl .tx { font-size: 14px; }
  .figbox .pl .tx-s { font-size: 12.5px; }
  .figbox .pl .nm { font-size: 13.5px; }
  .figbox .pl .nm-s { font-size: 11.5px; }
}
.gantt__lab .n { min-width: 0; font-weight: 700; }
.gantt__lab .gday { display: inline-block; min-width: 4.4em; margin-right: 8px; font-weight: 700; }
