/* 対応する物件（#kinds・2026-11-04 Hide・決定 0068）。ヒーローのすぐ後。
   マンション・アパート・戸建ての線画（墨）の中の 1 室が赤く塗られ、その部屋のパースのカードになる。
   カードを押すと #types の物件の札がその物件に切り替わる（sections/kinds/a.js）。
   動くとき（.kd-on）は区画を画面に貼り付け（sticky）、スクロールで進める。動きを減らす設定と GSAP がないときは、できあがった形で止まる。 */
.kinds{border-top:1px solid var(--rule)}
.kd-stage{padding-block:var(--sec)}
.kd-in{display:flex;flex-direction:column;gap:clamp(28px,4vh,48px)}
.kd-head{display:grid;row-gap:clamp(10px,1.6vh,18px)}
.kd-head p{color:var(--ink-2);max-width:40em}

.kd-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2.4vw,40px);align-items:end}
.kd-col{display:grid;gap:clamp(10px,1.6vh,18px);min-width:0}
.kd-bld{width:100%;height:clamp(96px,20vh,190px);overflow:visible}
.kd-bld .ln{fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.kd-bld .ln.thin{stroke-width:1;stroke:var(--lead)}
.kd-bld .gd{stroke:var(--rule);stroke-width:1.2;vector-effect:non-scaling-stroke}
.kd-bld .body{transform-box:fill-box}
.kd-bld .unit{fill:var(--accent);stroke:var(--accent-ink);stroke-width:1.6;vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:50% 50%}

.kd-card{position:relative;display:grid;gap:10px;color:inherit;transform-origin:50% 0}
.kd-card .im{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:3px;background:var(--paper-2)}
.kd-card img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.kd-card:hover img{transform:scale(1.04)}
.kd-card .cg{position:absolute;right:8px;bottom:8px;font-size:10px;line-height:1;letter-spacing:.06em;padding:4px 6px;border-radius:2px;background:rgba(16,15,13,.62);color:#fff}
.kd-lab{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px}
.kd-lab b{font-size:var(--t-title);font-weight:600;letter-spacing:.03em;line-height:1.3}
.kd-lab small{font-size:var(--t-note);color:var(--lead);letter-spacing:.04em}
.kd-go{font-size:13px;letter-spacing:.04em;color:var(--accent-ink);border-bottom:1px solid currentColor;justify-self:start;line-height:1.5}
.kd-note{margin-top:-8px}

/* 動くとき */
.kinds.kd-on .kd-track{height:calc(100vh + 80vh);height:calc(180 * var(--bk-vh,1svh))}
.kinds.kd-on .kd-stage{position:sticky;top:0;height:100vh;height:calc(100 * var(--bk-vh,1svh));display:flex;align-items:center;
  padding:calc(var(--hd) + clamp(16px,3vh,40px)) 0 clamp(16px,3vh,40px)}
.kinds.kd-on .kd-in{width:100%}

@media (max-width:760px){
  .kd-cols{gap:10px}
  .kd-bld{height:auto;aspect-ratio:200/150}
  .kd-card .im{aspect-ratio:4/3}
  .kd-lab b{font-size:15px}
  .kd-lab small{font-size:11px}
  .kd-go{font-size:12px}
  .kd-card .cg{right:5px;bottom:5px;font-size:9px;padding:3px 4px}
  /* 下に固定の申込みバー（約76px）があるので、その分をあける */
  .kinds.kd-on .kd-stage{padding:calc(var(--hd) + 16px) 0 calc(88px + env(safe-area-inset-bottom,0px))}
}
