/* ひらや設計室（設計事務所デモ）
   白・コンクリートの灰・杉の色。角は丸めない。線は細く、余白は広く。 */
:root {
  --ink: #2B2B2B;
  --ink2: #5d5e61;
  --gray: #A7A9AC;
  --gray-d: #7f8185;
  --line: #dcdddf;
  --pale: #F2F2F3;
  --cedar: #B0855A;
  --cedar-l: #e9dccd;
  --white: #fff;
  --en: "Space Grotesk", "Noto Sans JP", sans-serif;
  --ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 4.4vw, 56px);
  --hd: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--ja); font-weight: 300; font-size: 15px; line-height: 2; letter-spacing: .04em; font-feature-settings: "palt" 0; overflow-wrap: anywhere; line-break: strict; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
b, strong { font-weight: 500; }
.num { font-family: var(--en); font-weight: 400; letter-spacing: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 6px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 1; }

/* ---------- 本文中のリンク（杉の色の下線） ---------- */
.more { margin-top: 40px; font-size: 14px; }
.more a, .ft__nav a, .jump a, .f a, .telbig a { background: linear-gradient(var(--cedar), var(--cedar)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .35s; }
.more a:hover, .ft__nav a:hover, .jump a:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- ボタン（墨の細い線の四角） ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 28px; border: 1px solid var(--ink); color: var(--ink); background: transparent; font: 500 14px/1.4 var(--ja); letter-spacing: .1em; cursor: pointer; transition: background-color .25s, color .25s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn--lg { min-height: 56px; padding: 14px 44px; font-size: 15px; }
.btn--ghost { border-color: var(--gray-d); }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); 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: 28px; height: var(--hd); max-width: calc(1360px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.hd__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo .mk { width: 46px; height: 22px; flex: none; }
.mk path { fill: none; stroke: var(--gray-d); stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.logo__w { display: flex; flex-direction: column; line-height: 1.25; }
.logo__ja { font-weight: 500; font-size: 17px; letter-spacing: .16em; }
.logo__en { font-family: var(--en); font-size: 9.5px; letter-spacing: .26em; color: var(--gray-d); }
.demo { font-family: var(--en); font-size: 9px; letter-spacing: .14em; color: var(--gray-d); border: 1px solid var(--line); padding: 1px 5px; line-height: 1.5; }
.gnav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.gnav a, .menu__panel li a { display: flex; flex-direction: column; line-height: 1.3; position: relative; padding: 6px 0; }
.gnav .en { font-family: var(--en); font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.gnav .ja { font-size: 10px; color: var(--ink2); letter-spacing: .08em; }
.gnav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--cedar); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] .en { color: var(--cedar); }
.hd__btn { border: 1px solid var(--ink); padding: 9px 18px; font-size: 13px; font-weight: 500; letter-spacing: .1em; transition: background-color .25s, color .25s; white-space: nowrap; }
.hd__btn:hover { background: var(--ink); color: #fff; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px 0; font-family: var(--en); font-weight: 500; font-size: 14px; letter-spacing: .06em; }
.menu summary::-webkit-details-marker { display: none; }
.menu__bar { width: 22px; height: 7px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.menu__panel { position: fixed; left: 0; right: 0; top: var(--hd); background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px var(--gut) 28px; }
.menu__panel ul { list-style: none; margin: 0 0 20px; padding: 0; }
.menu__panel li a { flex-direction: row; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu__panel .en { font-family: var(--en); font-weight: 500; font-size: 18px; min-width: 5.2em; }
.menu__panel .ja { font-size: 13px; color: var(--ink2); }
.menu__panel a[aria-current="page"] .en { color: var(--cedar); }
.menu__btn { display: block; text-align: center; border: 1px solid var(--ink); padding: 14px; font-weight: 500; letter-spacing: .1em; }
@media (max-width: 1040px) { .gnav ul { gap: 20px; } .hd__in { gap: 20px; } }
@media (max-width: 920px) {
  :root { --hd: 64px; }
  .gnav, .hd__btn { display: none; }
  .menu { display: block; }
}

/* ---------- 見出し（英字＋小さく日本語） ---------- */
.sh { display: flex; flex-direction: column; gap: 6px; margin-bottom: clamp(36px, 5vw, 64px); }
.sh__en { font-family: var(--en); font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.01em; }
.sh__ja { font-size: 12.5px; color: var(--ink2); letter-spacing: .12em; line-height: 1.6; }
.h2 { font-size: clamp(18px, 1.7vw, 21px); letter-spacing: .1em; line-height: 1.6; margin-bottom: 36px; }

/* ---------- 区画 ---------- */
.sec { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.sec + .sec::before { content: ""; position: absolute; top: 0; left: 50%; width: calc(min(100%, var(--wrap) + var(--gut) * 2) - var(--gut) * 2); transform: translateX(-50%); height: 1px; background: var(--line); z-index: 1; }
.sec--pale { background: var(--pale); }
.sec--pale::before, .sec--pale + .sec::before { display: none; }
.sec--plan::after { content: ""; position: absolute; right: -40px; bottom: -30px; width: min(52vw, 620px); aspect-ratio: 3 / 2; background: url("img/new/plan.svg") no-repeat right bottom / contain; pointer-events: none; z-index: 0; }
.lead { margin-top: 48px; }
.lead--narrow { max-width: 40em; }
.two { display: grid; grid-template-columns: minmax(200px, 4fr) 8fr; gap: 24px 48px; align-items: start; }
.two__h { margin-bottom: 0; }
.two__b { max-width: 42em; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } .two__h { margin-bottom: 12px; } }

/* ---------- 最初の画面 ---------- */
.hero { position: relative; min-height: calc(100svh - var(--hd)); display: flex; flex-direction: column; padding: clamp(16px, 3vw, 40px) var(--gut) clamp(28px, 3vw, 40px); }
.hero__stage { position: relative; width: min(80%, 1180px); margin: 0 auto; flex: 1; display: flex; align-items: center; }
.hero__plan { position: absolute; width: 112%; max-width: none; height: auto; left: -2%; top: 50%; transform: translate(4%, -54%); opacity: .9; pointer-events: none; }
.hero__ph { position: relative; width: 100%; aspect-ratio: 1344 / 768; overflow: hidden; }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 24px; }
.hero__t { font-weight: 300; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.9; letter-spacing: .16em; }
.hero__sub { margin-top: 10px; font-family: var(--en); font-size: 10.5px; letter-spacing: .16em; color: var(--gray-d); }
.hero__next { font-family: var(--en); font-size: 13px; letter-spacing: .08em; padding-bottom: 3px; border-bottom: 1px solid var(--cedar); white-space: nowrap; }
.hero__next:hover { color: var(--cedar); }
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 28px; }
  .hero__stage { width: 100%; flex: none; }
  .hero__plan { width: 130%; left: -15%; }
  .hero__foot { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .hero__next { align-self: flex-end; margin-top: 8px; }
}

/* ---------- 設計した家（トップ） ---------- */
.wk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.wk__i:nth-child(2) { margin-top: clamp(40px, 7vw, 110px); }
.wk__i:nth-child(3) { margin-top: clamp(16px, 3vw, 44px); }
.wk a { display: block; }
.wk__ph { display: block; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 16px; background: var(--pale); }
.wk__i:first-child .wk__ph { aspect-ratio: 4 / 4.4; }
.wk__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.wk a:hover .wk__ph img { transform: scale(1.04); }
.wk__i:nth-child(2) .wk__ph img { object-position: 42% 50%; }
.wk__n { display: block; font-weight: 500; font-size: 15px; letter-spacing: .14em; }
.wk__m { display: block; font-size: 12px; color: var(--ink2); letter-spacing: .06em; }
@media (max-width: 760px) {
  .wk { grid-template-columns: 1fr 1fr; }
  .wk__i:first-child { grid-column: 1 / -1; }
  .wk__i:first-child .wk__ph { aspect-ratio: 16 / 10; }
  .wk__i:nth-child(2) { margin-top: 0; }
  .wk__i:nth-child(3) { margin-top: 36px; }
}

/* ---------- 図: 12か月の時間軸 ---------- */
.tl { margin: 0; }
.tl__row { display: grid; grid-template-columns: minmax(110px, 1.5fr) 12fr auto; gap: 0 18px; align-items: end; }
.tl__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 22px; position: relative; padding-bottom: 46px; }
.tl__m { grid-row: 2; grid-column: var(--m); font-family: var(--en); font-size: 12px; color: var(--gray-d); border-left: 1px solid var(--line); padding: 6px 0 0 6px; line-height: 1; }
.tl__m:nth-child(12) { border-right: 1px solid var(--line); }
.tl__bar { grid-row: 1; grid-column: var(--s) / var(--e); display: grid; grid-template-rows: 22px 38px; padding: 0 1px; min-width: 0; position: relative; }
.tl__note { font-size: 11px; color: var(--ink2); white-space: nowrap; line-height: 22px; letter-spacing: .06em; }
.tl__fill { display: block; background: #cfd0d2; transform-origin: left center; }
.tl__bar--b2 .tl__fill { background: var(--gray); }
.tl__bar--b3 .tl__fill { background: #fff; box-shadow: inset 0 0 0 1px var(--gray); }
.tl__bar--b4 .tl__fill { background: var(--cedar); }
.tl__lb { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; line-height: 1.5; padding-top: 8px; }
.tl__bar .tl__lb { position: absolute; top: calc(22px + 38px + 22px); left: 1px; right: 0; padding-top: 6px; }
.tl__pre { display: grid; grid-template-rows: 38px auto auto; align-self: start; margin-top: 22px; }
.tl__prefill { display: block; border: 1px dashed var(--gray-d); }
.tl__pre .tl__lb { padding-top: 8px; font-size: 12px; }
.tl__sub { font-size: 11px; color: var(--ink2); letter-spacing: .04em; line-height: 1.5; }
.tl__end { display: flex; flex-direction: column; align-items: flex-start; align-self: start; margin-top: 22px; }
.tl__end .mk { width: 54px; height: 26px; margin-top: 6px; }
.tl__end .tl__lb { padding-top: 6px; }
.tl__cap { margin-top: 18px; font-size: 12px; color: var(--ink2); }
.tl--big .tl__bar { grid-template-rows: 22px 56px; }
.tl--big .tl__bar .tl__lb { top: calc(22px + 56px + 22px); font-size: 14px; }
.tl--big .tl__pre { grid-template-rows: 56px auto auto; }
.tl--big .tl__end .mk { width: 66px; height: 32px; margin-top: 12px; }
@media (max-width: 860px) {
  .tl__row { grid-template-columns: 1fr; gap: 0; }
  .tl__pre { grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 14px; margin: 0 0 18px 30px; }
  .tl__prefill { grid-row: 1 / 3; width: 24px; height: 100%; min-height: 48px; }
  .tl__pre .tl__lb { padding-top: 0; }
  .tl__grid { grid-template-columns: 30px 24px 1fr; grid-template-rows: repeat(12, 34px); padding-bottom: 0; }
  .tl--big .tl__grid { grid-template-rows: repeat(12, 40px); }
  .tl__m { grid-column: 1; grid-row: var(--m); border-left: 0; border-top: 1px solid var(--line); padding: 4px 0 0; }
  .tl__m:nth-child(12) { border-right: 0; border-bottom: 1px solid var(--line); }
  .tl__bar, .tl--big .tl__bar { grid-column: 2 / 4; grid-row: var(--s) / var(--e); grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 1px 0; position: static; }
  .tl__fill { grid-column: 1; grid-row: 1 / 3; transform-origin: center top; }
  .tl__bar .tl__lb, .tl--big .tl__bar .tl__lb { position: static; grid-column: 2; grid-row: 1; padding-top: 4px; }
  .tl__note { grid-column: 2; grid-row: 2; line-height: 1.6; }
  .tl__end { flex-direction: row; align-items: center; gap: 12px; margin: 14px 0 0 30px; }
  .tl__end .mk, .tl--big .tl__end .mk { margin: 0; width: 48px; height: 24px; }
  .tl__end .tl__lb { padding: 0; }
}

/* ---------- 図: 設計料の式 ---------- */
.eq { margin: 0; }
.eq__row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.eq__term { display: inline-flex; align-items: center; justify-content: center; min-width: 6.2em; min-height: 64px; padding: 8px 18px; border: 1px solid var(--gray-d); font-size: 16px; font-weight: 500; letter-spacing: .12em; background: #fff; }
.eq__term--num { font-family: var(--en); font-weight: 400; font-size: 20px; letter-spacing: .04em; min-width: 4.4em; }
.eq__term--ans { background: var(--ink); color: #fff; border-color: var(--ink); }
.eq__op { font-family: var(--en); font-size: 22px; color: var(--gray-d); }
.eq__min { margin-top: 18px; font-size: 13px; color: var(--ink2); letter-spacing: .06em; }
.eq--big .eq__term { min-height: 92px; font-size: clamp(17px, 1.8vw, 22px); padding: 12px 30px; }
.eq--big .eq__term--num { font-size: clamp(22px, 2.4vw, 30px); }
.eq--big .eq__op { font-size: clamp(24px, 2.6vw, 34px); }
.eq--big .eq__min { font-size: 14px; }
.fee-top { display: grid; grid-template-columns: 5fr 6fr; gap: 40px 72px; align-items: center; }
.fee-top__fig { padding: 40px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 860px) { .fee-top { grid-template-columns: 1fr; } .fee-top__fig { padding: 28px 20px; } }
@media (max-width: 480px) {
  .eq__row { gap: 10px; }
  .eq__term { min-width: 0; min-height: 52px; padding: 6px 12px; font-size: 14px; letter-spacing: .06em; }
  .eq--big .eq__term { min-height: 60px; padding: 8px 14px; }
  .eq__op { font-size: 18px; }
}

/* ---------- 図: お支払いの4回 ---------- */
.pay { margin: 0; }
.pay__bar { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; }
.pay__bar li { flex: var(--w) 1 0; display: flex; flex-direction: column; min-width: 0; }
.pay__seg { display: block; height: 48px; background: #cfd0d2; transform-origin: left center; }
.pay__bar li:nth-child(2) .pay__seg { background: #bcbdc0; }
.pay__bar li:nth-child(3) .pay__seg { background: var(--gray); }
.pay__bar li.is-last .pay__seg { background: var(--cedar); }
.pay__lb { padding-top: 12px; font-size: 13px; font-weight: 500; letter-spacing: .06em; line-height: 1.5; }
.pay__n { font-size: 13px; color: var(--ink2); }
.pay__n b { font-family: var(--en); font-weight: 400; font-size: 26px; color: var(--ink); margin-right: 2px; letter-spacing: 0; }
@media (max-width: 600px) {
  .pay__bar { flex-direction: column; gap: 10px; }
  .pay__bar li { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .pay__seg { grid-column: 1 / -1; height: 10px; width: calc(var(--w) * 30%); }
  .pay__lb { padding-top: 6px; }
  .pay__n { padding-top: 6px; }
}

/* ---------- 設計者から（トップ） ---------- */
.about-top { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 96px; align-items: center; }
.about-top__ph { margin: 0; }
.voice p { max-width: 34em; }
.sign { margin-top: 28px; font-size: 13px; letter-spacing: .14em; }
@media (max-width: 860px) { .about-top { grid-template-columns: 1fr; } .about-top__ph { order: -1; max-width: 420px; } }

/* ---------- 相談の流れ（トップ） ---------- */
.flow3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.flow3 li { padding: 28px 32px 8px 0; position: relative; }
.flow3 li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.flow3__n { display: block; font-family: var(--en); font-size: 40px; line-height: 1; color: var(--gray-d); margin-bottom: 22px; }
.flow3__h { font-size: 16px; letter-spacing: .1em; margin-bottom: 12px; }
.flow3 p { font-size: 14px; }
.cta { margin-top: 56px; }
@media (max-width: 760px) {
  .flow3 { grid-template-columns: 1fr; }
  .flow3 li, .flow3 li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; }
  .flow3__n { grid-row: 1 / 3; font-size: 30px; margin: 0; }
}

/* ---------- 共通の帯 ---------- */
.band { background: var(--pale); padding: clamp(56px, 7vw, 88px) 0; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.band__t { font-size: clamp(16px, 1.7vw, 20px); letter-spacing: .1em; margin: 0; }
.band__act { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.band__tel { margin: 0; font-size: 13px; }
.band__tel a { font-family: var(--en); font-size: 18px; letter-spacing: .04em; }

/* ---------- フッター ---------- */
.ft { padding: 72px 0 40px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink2); }
.ft__in { display: grid; grid-template-columns: auto 1fr; gap: 28px 64px; }
.ft__info p { margin: 0 0 4px; }
.ft__nav { grid-column: 1 / -1; list-style: none; margin: 16px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ft__nav a { background-size: 0 1px; }
.ft__nav a:hover { background-size: 100% 1px; background-position: 0 100%; }
.ft__copy { grid-column: 1 / -1; font-family: var(--en); font-size: 11px; letter-spacing: .14em; margin: 0; }
@media (max-width: 760px) { .ft__in { grid-template-columns: 1fr; } }

/* ---------- 下層のページの頭 ---------- */
.phead { padding: clamp(56px, 8vw, 110px) 0 0; }
.phead .sh { margin-bottom: 32px; }
.phead__t { font-size: 15px; max-width: 36em; padding: 36px 0 clamp(64px, 8vw, 110px); margin: 0; }
.phead > .wrap > .sh + .phead__t { padding-top: 0; }
.phead--text { border-bottom: 1px solid var(--line); }
.phead__ph { margin: 0 auto; width: calc(100% - var(--gut) * 2); max-width: 1360px; aspect-ratio: 1344 / 640; overflow: hidden; }
.phead__ph img { width: 100%; height: 100%; object-fit: cover; }
.phead__ph--band { aspect-ratio: 1344 / 420; }
.phead__ph--low img { object-position: 50% 78%; }
.phead__ph + .wrap .phead__t { padding-top: 32px; }
.pg-about .phead { padding-bottom: clamp(40px, 6vw, 80px); }
.jump { list-style: none; display: flex; gap: 10px 28px; flex-wrap: wrap; margin: -40px 0 0; padding: 0 0 clamp(48px, 6vw, 80px); font-size: 13px; }
@media (max-width: 760px) {
  .phead__ph { width: 100%; aspect-ratio: 4 / 3; }
  .phead__ph--band { aspect-ratio: 16 / 9; }
}

/* ---------- 設計した家（/works/） ---------- */
.house { padding-bottom: clamp(88px, 11vw, 160px); }
.house + .house { border-top: 1px solid var(--line); padding-top: clamp(88px, 11vw, 160px); }
.house__ph { margin: 0 auto; width: 100%; max-width: 1600px; aspect-ratio: 1344 / 700; overflow: hidden; }
.house__ph img { width: 100%; height: 100%; object-fit: cover; }
.house--flip .house__ph { width: calc(100% - var(--gut) * 2); max-width: 1360px; }
.house__body { padding-top: 48px; }
.house__h { font-size: clamp(20px, 2vw, 26px); letter-spacing: .16em; margin-bottom: 36px; }
.house__grid { display: grid; grid-template-columns: 5fr 4fr; grid-template-areas: "spec site" "txt site"; gap: 36px 72px; align-items: start; }
.house--flip .house__grid { grid-template-columns: 4fr 5fr; grid-template-areas: "site spec" "site txt"; }
.spec { grid-area: spec; border-collapse: collapse; width: 100%; font-size: 14px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--ink); }
.spec th { width: 6em; color: var(--ink2); font-size: 12.5px; letter-spacing: .14em; padding-top: 13px; }
.house__txt { grid-area: txt; max-width: 36em; }
.site { grid-area: site; margin: 0; padding: 24px; border: 1px solid var(--line); }
.site__svg { width: 100%; height: auto; }
.site__svg .lot { fill: none; stroke: var(--gray-d); stroke-width: .8; stroke-dasharray: 4 3; }
.site__svg .house { fill: var(--cedar-l); stroke: var(--cedar); stroke-width: 1; }
.site__svg .deck { fill: #fff; stroke: var(--cedar); stroke-width: .8; }
.site__svg .road { fill: var(--pale); stroke: none; }
.site__svg .nb { fill: none; stroke: var(--gray); stroke-width: .8; }
.site__svg .tree { fill: none; stroke: var(--gray-d); stroke-width: .8; }
.site__svg .tree--main { fill: #fff; stroke: var(--ink); }
.site__svg .dot { fill: var(--gray-d); }
.site__svg .arw { fill: none; stroke: var(--ink); stroke-width: 1; }
.site__svg .n path { fill: none; stroke: var(--ink); stroke-width: 1; }
.site__svg text { font-family: var(--ja); font-size: 10px; fill: var(--ink); letter-spacing: .1em; }
.site__svg .n text { font-family: var(--en); font-size: 10px; text-anchor: middle; }
.site__svg .lb--bg { paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.site__svg .lb--v { writing-mode: vertical-rl; }
@media (max-width: 860px) {
  .house__grid, .house--flip .house__grid { grid-template-columns: 1fr; grid-template-areas: "spec" "site" "txt"; }
  .site { max-width: 420px; }
  .house--flip .house__ph { width: 100%; }
}

/* ---------- 設計と工事（/process/） ---------- */
.steps { list-style: none; margin: 72px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.steps__i { display: grid; grid-template-columns: 9em 12em 1fr; gap: 6px 32px; padding: 26px 0; border-bottom: 1px solid #d3d4d6; }
.steps__m { margin: 0; font-size: 13px; color: var(--ink2); }
.steps__m .num { font-size: 18px; color: var(--ink); }
.steps__h { font-size: 16px; letter-spacing: .1em; line-height: 1.8; }
.steps__i.is-build .steps__h { box-shadow: inset 0 -6px 0 var(--cedar-l); justify-self: start; }
.steps__t { margin: 0; max-width: 40em; }
@media (max-width: 760px) { .steps__i { grid-template-columns: 1fr; } }

/* 図: 監理で現場に行く回数 */
.vs { margin: 0; }
.vs__track { position: relative; height: 230px; }
.vs__band { position: absolute; left: 0; right: 0; top: 100px; height: 18px; background: var(--cedar); transform-origin: left center; }
.vs__dots { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.vs__d { position: absolute; left: var(--p); top: 109px; width: 0; height: 0; }
.vs__mk { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--gray-d); }
.vs__d--big .vs__mk { left: -9px; top: -9px; width: 18px; height: 18px; background: var(--ink); box-shadow: 0 0 0 3px #fff; }
.vs__lb { position: absolute; left: -1px; width: 11em; font-size: 12.5px; line-height: 1.55; letter-spacing: .04em; padding-left: 10px; border-left: 1px solid var(--ink); }
.vs__lb--dn { top: 22px; padding-top: 34px; }
.vs__lb--up { bottom: 22px; padding-bottom: 34px; }
.vs__d:last-child .vs__lb { left: auto; right: -1px; padding-left: 0; padding-right: 10px; border-left: 0; border-right: 1px solid var(--ink); text-align: right; }
.vs__months { position: absolute; left: 0; right: 0; top: 122px; height: 20px; font-family: var(--en); font-size: 11px; color: var(--gray-d); }
.vs__months span { position: absolute; left: var(--p); transform: translateX(-50%); }
.vs__cap { margin-top: 28px; font-size: 12.5px; color: var(--ink2); }
@media (max-width: 860px) {
  .vs__track { height: 560px; }
  .vs__band { left: 18px; right: auto; top: 0; bottom: 0; width: 14px; height: auto; transform-origin: center top; }
  .vs__d { left: 25px; top: var(--p); }
  .vs__lb, .vs__lb--dn, .vs__lb--up, .vs__d:last-child .vs__lb { top: -11px; bottom: auto; left: 26px; right: auto; width: auto; min-width: 14em; padding: 0 0 0 0; border: 0; text-align: left; white-space: nowrap; }
  .vs__months { top: 0; bottom: 0; left: 0; width: 14px; height: auto; }
  .vs__months span { left: 0; top: var(--p); transform: translateY(-50%); }
}
@media (max-width: 420px) { .vs__lb, .vs__lb--dn, .vs__lb--up, .vs__d:last-child .vs__lb { white-space: normal; min-width: 0; width: calc(100vw - var(--gut) * 2 - 60px); } }

/* ---------- 設計料（/fee/） ---------- */
.incl { border-collapse: collapse; width: 100%; font-size: 14px; }
.incl th, .incl td { text-align: left; vertical-align: top; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.incl thead th { font-size: 12px; color: var(--ink2); letter-spacing: .14em; padding: 0 0 10px; border-bottom: 1px solid var(--ink); }
.incl tbody th { width: 12em; font-weight: 500; padding-right: 24px; }
@media (max-width: 560px) { .incl tbody th, .incl td { display: block; width: auto; } .incl tbody th { border-bottom: 0; padding-bottom: 0; } .incl td { padding-top: 2px; } }

/* ---------- 設計室のこと（/about/） ---------- */
.greet { display: grid; grid-template-columns: 4fr 7fr; gap: 40px 88px; align-items: start; }
.greet__ph { margin: 0; position: sticky; top: calc(var(--hd) + 32px); }
.cv { border-collapse: collapse; width: 100%; font-size: 14px; }
.cv th, .cv td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.cv thead th { font-size: 12px; color: var(--ink2); padding: 0 0 8px; border-bottom: 1px solid var(--ink); letter-spacing: .14em; }
.cv tbody th { width: 8em; font-family: var(--en); letter-spacing: .04em; }
.reg { margin-top: 24px; font-size: 13px; color: var(--ink2); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pair__i { margin: 0; }
.pair__i--low { margin-top: 72px; }
.pair__i img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.pair figcaption { margin-top: 14px; font-size: 13px; }
.genba { display: grid; grid-template-columns: 6fr 5fr; gap: 40px 80px; align-items: center; }
.genba__ph { margin: 0; }
@media (max-width: 760px) {
  .greet { grid-template-columns: 1fr; }
  .greet__ph { position: static; max-width: 360px; }
  .pair { grid-template-columns: 1fr; gap: 32px; }
  .pair__i--low { margin-top: 0; }
  .genba { grid-template-columns: 1fr; }
}

/* ---------- 相談の流れ（/soudan/） ---------- */
.cf { list-style: none; margin: 0; padding: 0; max-width: 880px; position: relative; }
.cf::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.cf__i { display: grid; grid-template-columns: 44px 1fr; gap: 0 28px; padding: 0 0 44px; position: relative; }
.cf__n { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ink); background: #fff; font-family: var(--en); font-size: 17px; }
.cf__h { font-size: 17px; letter-spacing: .1em; line-height: 1.6; padding-top: 7px; margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.cf__t { font-size: 13px; font-weight: 300; color: var(--ink2); letter-spacing: .06em; }
.cf__t .num { font-size: 15px; color: var(--ink); }
.cf__line { margin: -8px 0 44px 72px; padding: 28px 32px; background: var(--pale); border-left: 2px solid var(--gray); font-size: 14px; }
.cf__line .btn { margin-top: 6px; }
.cf__note { font-size: 12.5px; color: var(--ink2); }
@media (max-width: 560px) { .cf__i { grid-template-columns: 36px 1fr; gap: 0 16px; } .cf__n { width: 36px; height: 36px; } .cf::before { left: 17px; } .cf__line { margin-left: 0; padding: 22px 20px; } .cf__h { padding-top: 3px; } }

.form { display: grid; gap: 26px; }
.f { border: 0; margin: 0; padding: 0; min-width: 0; }
.f__l { display: block; font-weight: 500; font-size: 14px; letter-spacing: .08em; margin-bottom: 8px; padding: 0; }
.req { font-weight: 300; font-size: 12px; color: var(--ink2); margin-left: 4px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea { width: 100%; font: 300 16px/1.6 var(--ja); color: var(--ink); background: #fff; border: 1px solid #c4c5c8; border-radius: 0; padding: 12px 14px; transition: border-color .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.f__short { max-width: 10em; }
.f__opts { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.opt { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; min-height: 40px; }
.opt input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
.f__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f__s { display: block; font-size: 12px; color: var(--ink2); margin-bottom: 4px; }
.f__hint { margin: 8px 0 0; font-size: 12.5px; color: var(--ink2); }
.f--send { margin-top: 8px; }
.f__after { margin-top: 14px; font-size: 13px; color: var(--ink2); }
@media (max-width: 560px) { .f__two { grid-template-columns: 1fr; } .f--send .btn { width: 100%; } }
.telbig { margin: 0; font-size: 13px; }
.telbig a { font-size: clamp(24px, 3vw, 32px); margin-right: 10px; }
.telbig .num { letter-spacing: .04em; }

.acc { display: grid; grid-template-columns: 7fr 4fr; gap: 32px 56px; align-items: start; }
.map { margin: 0; border: 1px solid var(--line); }
.map svg { display: block; width: 100%; height: auto; }
.map .m-blk { fill: #f6f6f7; stroke: #e2e3e5; stroke-width: 1; }
.map .m-rd { stroke: #d6d7d9; stroke-width: 22; fill: none; }
.map .m-rd--s { stroke-width: 10; }
.map .m-rail { fill: #fff; stroke: var(--gray-d); stroke-width: 1; }
.map .m-ties { stroke: var(--gray-d); stroke-width: 6; stroke-dasharray: 2 10; fill: none; }
.map .m-st { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.map .m-walk { fill: none; stroke: var(--cedar); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; }
.map .m-ofc { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.map .m-roof { fill: none; stroke: var(--gray-d); stroke-width: 1.6; }
.map .m-p { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.map .m-lb { font-family: var(--ja); font-size: 13px; fill: var(--ink2); letter-spacing: .08em; }
.map .m-lb--b { fill: var(--ink); font-weight: 500; font-size: 13px; }
.map .m-lb--s { font-size: 11px; }
.map .m-lb--p { font-family: var(--en); font-weight: 500; font-size: 13px; fill: var(--ink); }
.map .m-lb--walk { fill: var(--cedar); font-weight: 500; font-size: 14px; }
.map .n path { fill: none; stroke: var(--ink); stroke-width: 1; }
.map .n text { font-family: var(--en); font-size: 12px; fill: var(--ink); }
@media (max-width: 860px) { .acc { grid-template-columns: 1fr; } }

.faq { margin: 0; }
.faq > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq > div:first-child { border-top: 1px solid var(--ink); }
.faq dt { font-weight: 500; letter-spacing: .06em; margin-bottom: 8px; }
.faq dd { margin: 0; }

/* =========================================================
   動き（transform と opacity だけ）
   html.anim は JS が付ける。reduced-motion では付かないので完成形のまま
   ========================================================= */
@keyframes hf-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hf-plan { from { opacity: 0; transform: translate(1%, -51%) scale(.98); } to { opacity: .9; transform: translate(4%, -54%); } }
html.anim .hero__ph { animation: hf-rise 1.4s cubic-bezier(.2,.7,.2,1) both; }
html.anim .hero__plan { animation: hf-plan 1.8s cubic-bezier(.2,.7,.2,1) .1s both; }
html.anim .hero__cap, html.anim .hero__next { animation: hf-fade 1s ease .55s both; }

html.anim [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
html.anim [data-rv].is-in { opacity: 1; transform: none; }
html.anim .wk__i:nth-child(2) { transition-delay: .12s; }
html.anim .wk__i:nth-child(3) { transition-delay: .24s; }
html.anim .flow3 li:nth-child(2) { transition-delay: .12s; }
html.anim .flow3 li:nth-child(3) { transition-delay: .24s; }

/* 図は帯が伸びる */
html.anim .tl[data-rv], html.anim .pay[data-rv], html.anim .vs[data-rv] { transform: none; }
html.anim .tl .tl__fill { transform: scaleX(0); transition: transform .9s cubic-bezier(.3,.7,.2,1); transition-delay: calc(.25s + var(--i) * .22s); }
html.anim .tl .tl__prefill, html.anim .tl .tl__end { opacity: 0; transition: opacity .8s ease; }
html.anim .tl .tl__end { transition-delay: 1.3s; }
html.anim .tl.is-in .tl__fill { transform: none; }
html.anim .tl.is-in .tl__prefill, html.anim .tl.is-in .tl__end { opacity: 1; }
html.anim .pay .pay__seg { transform: scaleX(0); transition: transform .8s cubic-bezier(.3,.7,.2,1); transition-delay: calc(.2s + var(--i) * .18s); }
html.anim .pay.is-in .pay__seg { transform: none; }
html.anim .vs .vs__band { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.3,.7,.2,1) .2s; }
html.anim .vs .vs__d { opacity: 0; transition: opacity .5s ease; transition-delay: calc(.5s + var(--i) * .05s); }
html.anim .vs.is-in .vs__band { transform: none; }
html.anim .vs.is-in .vs__d { opacity: 1; }
@media (max-width: 860px) {
  html.anim .tl .tl__fill { transform: scaleY(0); }
  html.anim .vs .vs__band { transform: scaleY(0); }
  html.anim .tl.is-in .tl__fill, html.anim .vs.is-in .vs__band { transform: none; }
}

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

/* ---------- 調整 ---------- */
.hero { overflow: clip; }
.acc__t { grid-area: auto; }
.incl tbody th { width: 13em; }
.vs__lb { width: 15em; }
@media (max-width: 860px) { .tl__lb br { display: none; } }
@media (max-width: 760px) { .wk__i:not(:first-child) .wk__m { font-size: 11px; letter-spacing: .02em; } }
@media (max-width: 860px) { .tl__bar, .tl--big .tl__bar { grid-template-rows: auto 1fr; } .tl__note { align-self: start; } }
@media (max-width: 560px) {
  .map .m-lb, .map .m-lb--b, .map .m-lb--walk { font-size: 19px; letter-spacing: .02em; }
  .map .m-lb--s { font-size: 16px; letter-spacing: 0; }
  .map .m-lb--p, .map .n text { font-size: 17px; }
}
@media (max-width: 560px) { .map .m-lb--b { font-size: 17px; } .map .m-lb--s { font-size: 14px; } }
@media (max-width: 1024px) and (min-width: 761px) { .hero { min-height: 0; padding-top: 56px; } .hero__stage { flex: none; } .hero__foot { margin-top: 48px; } }
@media (max-width: 860px) { .tl__pre { align-content: start; } }
@media (max-width: 760px) { .hero__ph { aspect-ratio: 4 / 3.3; } .hero__ph img { object-position: 52% 50%; } .hero__foot { margin-top: 32px; } }
