/* ==========================================================
   小峰家具 — 一枚板テーブル専門店
   ========================================================== */
:root {
  --bg: #f4f2ed;
  --bg-2: #ebe7df;
  --paper: #faf9f6;
  --ink: #22201c;
  --ink-2: #55504a;
  --mute: #8e887e;
  --line: #d8d3c8;
  --line-soft: #e4e0d7;
  --sumi: #1c1b18;
  --sumi-2: #2a2825;
  --kinari: #e9e2d4;
  --accent: #8a5d33;
  --serif: "Zen Old Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  --latin: "Cormorant Garamond", "Zen Old Mincho", serif;
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --header: 84px;
  --ease: cubic-bezier(.25, .46, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 14px/2.1 var(--sans);
  letter-spacing: .06em;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
b, strong { font-weight: 500; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.en { font-family: var(--latin); font-weight: 400; letter-spacing: .22em; text-transform: uppercase; }
.label { font-family: var(--latin); font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); display: inline-flex; align-items: center; gap: 14px; line-height: 1.4; }
.label i { font-style: normal; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: .12em; line-height: 1.7; }
.h-sec { font-size: clamp(24px, 2.6vw, 34px); }
.tate { writing-mode: vertical-rl; text-orientation: mixed; }
.sp { display: none; }
@media (max-width: 760px) { .pc { display: none; } .sp { display: inline; } }

/* ---------- link / button ---------- */
.more { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; letter-spacing: .14em; padding: 6px 0; position: relative; white-space: nowrap; }
.more::after { content: ""; width: 46px; height: 1px; background: currentColor; transition: width .6s var(--ease-out); }
.more:hover::after { width: 72px; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 58px; padding: 0 28px; border: 1px solid var(--ink); font-size: 13px; letter-spacing: .16em; position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); z-index: -1; }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { width: 22px; height: 1px; background: currentColor; position: relative; flex: none; }
.btn .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg) translate(-1px, 1px); transform-origin: center; }
.btn.fill { background: var(--ink); color: var(--bg); }
.btn.fill::before { background: var(--accent); }
.btn.fill:hover { color: #fff; border-color: var(--accent); }
.btn.light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.light::before { background: #fff; }
.btn.light:hover { color: var(--ink); }
.btn.block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header); transition: background .5s var(--ease), color .5s, transform .5s var(--ease); color: var(--ink); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(244, 242, 237, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-solid::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-soft); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 16px; line-height: 1; }
.brand-mark { font-family: var(--serif); font-size: 21px; letter-spacing: .3em; font-weight: 600; }
.brand-sub { font-family: var(--latin); font-size: 11px; letter-spacing: .34em; color: var(--mute); padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.5; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav a { display: grid; justify-items: center; line-height: 1.5; position: relative; }
.nav a .en { font-size: 10.5px; letter-spacing: .28em; color: var(--mute); }
.nav a .ja { font-size: 12.5px; letter-spacing: .16em; font-weight: 400; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transform: translateX(-50%) scale(0); transition: transform .4s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.nav .nav-tel { display: grid; justify-items: end; line-height: 1.4; padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.nav .nav-tel b { font-family: var(--latin); font-size: 20px; letter-spacing: .08em; font-weight: 500; }
.nav .nav-tel small { font-size: 10.5px; color: var(--mute); letter-spacing: .08em; }
.nav .nav-tel::after { display: none; }
.menu-btn { display: none; width: 48px; height: 48px; position: relative; margin-right: -12px; z-index: 3; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-btn span:nth-child(1) { top: 20px; }
.menu-btn span:nth-child(2) { top: 28px; }
.menu-open .menu-btn span:nth-child(1) { top: 24px; transform: rotate(20deg); }
.menu-open .menu-btn span:nth-child(2) { top: 24px; transform: rotate(-20deg); }
/* PC：トップの写真はヘッダーの下から始める（メニューは常に生成り地に墨色で読みやすく） */
@media (min-width: 901px) {
  .hero-page .hero-visual { margin-top: var(--header); }
}

@media (max-width: 1080px) {
  :root { --header: 68px; }
  .brand-sub { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 2; background: var(--bg); flex-direction: column; justify-content: center; align-items: stretch; gap: 0;
    padding: 90px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav a { justify-items: start; grid-template-columns: 1fr auto; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a .ja { font-family: var(--serif); font-size: 19px; order: -1; }
  .nav a::after { display: none; }
  .nav .nav-tel { border: 0; padding: 32px 0 0; justify-items: start; border-bottom: 0; }
  .nav .nav-tel b { font-size: 28px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: transparent; }
  .menu-open .site-header::after { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; display: grid; grid-template-columns: minmax(300px, 34%) 1fr; background: var(--bg); }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header) + 48px) var(--gutter) 44px; }
.hero-title { font-size: clamp(30px, 2.9vw, 44px); line-height: 1.9; letter-spacing: .26em; height: min(56vh, 520px); align-self: center; margin-right: auto; margin-left: auto; font-weight: 500; }
.hero-title span { display: block; opacity: 0; transform: translateY(-14px); animation: tateIn 1.8s var(--ease-out) forwards; }
.hero-title span:nth-child(2) { animation-delay: .35s; margin-top: 3.2em; }
@keyframes tateIn { to { opacity: 1; transform: none; } }
.hero-meta { display: grid; gap: 18px; opacity: 0; animation: fadeIn 1.6s 1s var(--ease) forwards; }
.hero-meta p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 2; }
.hero-meta .label { color: var(--ink); }
@keyframes fadeIn { to { opacity: 1; } }
.hero-visual { position: relative; overflow: hidden; background: var(--sumi); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.hero-slide.on img { transform: scale(1); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,0) 20%, rgba(0,0,0,0) 70%, rgba(0,0,0,.35)); pointer-events: none; }
.hero-caption { position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 30px; display: flex; justify-content: space-between; align-items: end; color: #fff; font-size: 12px; letter-spacing: .12em; gap: 20px; }
.hero-caption a { display: grid; gap: 2px; line-height: 1.7; }
.hero-caption a b { font-family: var(--latin); font-size: 15px; font-weight: 500; letter-spacing: .18em; }
.hero-count { display: flex; align-items: center; gap: 14px; font-family: var(--latin); font-size: 14px; letter-spacing: .16em; }
.hero-count .bar { width: 80px; height: 1px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero-count .bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero-count .bar i.run { animation: bar 6s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-scroll { position: absolute; left: var(--gutter); bottom: 44px; writing-mode: vertical-rl; font-family: var(--latin); font-size: 11px; letter-spacing: .3em; color: var(--mute); display: none; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 92svh; min-height: 560px; }
  .hero-visual { grid-area: 1 / 1; }
  .hero-copy { grid-area: 1 / 1; z-index: 3; color: #fff; padding: calc(var(--header) + 24px) var(--gutter) 90px; pointer-events: none; }
  .hero-copy a { pointer-events: auto; }
  .hero-title { height: 50vh; margin-right: 0; margin-left: auto; text-shadow: 0 0 30px rgba(0,0,0,.3); }
  .hero-meta { display: none; }
  .hero-caption { left: var(--gutter); right: var(--gutter); bottom: 24px; }
  .hero-visual::after { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.1) 30%, rgba(0,0,0,.1) 60%, rgba(0,0,0,.5)); }
  .hero-page .site-header:not(.is-solid) { color: #fff; }
  .hero-page .site-header:not(.is-solid) .brand-sub { color: rgba(255,255,255,.7); }
}

/* ---------- sections ---------- */
.sec { padding: clamp(100px, 13vw, 200px) 0; position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(44px, 5vw, 80px); }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin: 14px 0 0; color: var(--ink-2); font-size: 13.5px; }

/* statement */
.statement { display: grid; grid-template-columns: 1.15fr auto 0.85fr; gap: clamp(30px, 5vw, 96px); align-items: start; }
.statement .img-a { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.statement .img-b { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; margin-top: 38%; }
.statement-text { font-family: var(--serif); font-size: clamp(16px, 1.25vw, 19px); line-height: 2.5; letter-spacing: .22em; height: clamp(420px, 36vw, 520px); color: var(--ink); }
.statement-text p { margin: 0 0 0 1.6em; }
.statement-text .label { writing-mode: horizontal-tb; }
.statement-foot { margin-top: clamp(50px, 6vw, 90px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.statement-foot div { padding: 28px 28px 0 0; display: grid; gap: 4px; }
.statement-foot div + div { padding-left: 28px; border-left: 1px solid var(--line-soft); }
.statement-foot b { font-family: var(--latin); font-size: clamp(34px, 3.4vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: .04em; }
.statement-foot b small { font-size: .42em; margin-left: 6px; letter-spacing: .1em; }
.statement-foot span { font-size: 12px; color: var(--mute); }
@media (max-width: 900px) {
  .statement { grid-template-columns: 1fr 1fr; }
  .statement-text { grid-column: 1 / -1; grid-row: 1; writing-mode: horizontal-tb; height: auto; text-align: center; line-height: 2.3; letter-spacing: .16em; margin-bottom: 20px; }
  .statement-text p { margin: 0; }
  .statement .img-a { justify-self: stretch; }
  .statement .img-b { width: 100%; margin-top: 30%; }
  .statement-foot { grid-template-columns: 1fr; }
  .statement-foot div, .statement-foot div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line-soft); }
}

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 80px) clamp(16px, 2.2vw, 36px); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .grid { gap: 40px 12px; } }
.card { display: block; position: relative; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease), transform 1.6s var(--ease-out); }
.card-media img.alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-media img { transform: scale(1.035); }
  .card:hover .card-media img.alt { opacity: 1; }
}
.card.is-sold .card-media img:not(.alt) { filter: grayscale(.35) brightness(.96); }
.card-status { position: absolute; z-index: 2; right: 0; top: 0; font-size: 10.5px; letter-spacing: .2em; padding: 6px 12px; background: var(--bg); line-height: 1.6; font-weight: 400; }
.card-status.sold { background: var(--sumi); color: var(--kinari); }
.card-status.reserved { background: var(--kinari); }
.card-body { padding-top: 18px; display: grid; gap: 4px; }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-no { font-family: var(--latin); font-size: 13px; letter-spacing: .18em; color: var(--mute); }
.card-title { font-family: var(--serif); font-size: 16.5px; letter-spacing: .14em; line-height: 1.7; }
.card-dim { font-size: 12px; color: var(--ink-2); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.card-price { font-size: 13px; letter-spacing: .06em; font-weight: 400; white-space: nowrap; }
.card-price small { font-size: 10px; color: var(--mute); margin-left: 4px; }
.card-price.muted { color: var(--mute); font-size: 11.5px; letter-spacing: .14em; font-weight: 300; }
@media (max-width: 480px) {
  .card-title { font-size: 14px; }
  .card-dim { font-size: 11px; }
  .card-row { flex-wrap: wrap; gap: 0 8px; }
}

/* selection grid (home) */
.selection { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.selection .card:first-child { grid-column: span 2; grid-row: span 2; }
.selection .card:first-child .card-title { font-size: 20px; }
@media (max-width: 1000px) {
  .selection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selection .card:first-child { grid-row: auto; }
}

/* ---------- material ---------- */
.material { background: var(--sumi); color: var(--kinari); display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.material-visual { position: relative; overflow: hidden; }
.material-visual img { position: sticky; top: 0; width: 100%; height: 100vh; object-fit: cover; }
.material-body { padding: clamp(90px, 10vw, 160px) clamp(28px, 6vw, 110px); }
.material .label { color: #a39a8b; }
.material .label i { color: var(--kinari); }
.material h2 { margin: 22px 0 28px; font-size: clamp(26px, 2.6vw, 36px); }
.material-lead { color: rgba(233,226,212,.72); margin: 0 0 clamp(50px, 6vw, 90px); max-width: 32em; }
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 12px 24px; padding: 34px 0; border-top: 1px solid rgba(233,226,212,.14); }
.feature:last-child { border-bottom: 1px solid rgba(233,226,212,.14); }
.feature .num { font-family: var(--serif); font-size: 26px; line-height: 1.5; color: #b9a88f; }
.feature h3 { font-size: 18px; letter-spacing: .16em; }
.feature p { grid-column: 2; margin: 0; font-size: 13.5px; color: rgba(233,226,212,.66); }
@media (max-width: 900px) {
  .material { grid-template-columns: 1fr; min-height: 0; }
  .material-visual img { position: static; height: 64vw; }
}

/* ---------- size guide ---------- */
.size-list { border-top: 1px solid var(--ink); }
.size-row { display: grid; grid-template-columns: 140px 220px 1fr 180px 40px; gap: 24px; align-items: center; padding: 30px 8px; border-bottom: 1px solid var(--line); transition: background .5s var(--ease), padding .5s var(--ease); }
.size-row:hover { background: var(--paper); padding-left: 20px; padding-right: 20px; }
.size-row .people { font-family: var(--serif); font-size: 20px; letter-spacing: .14em; }
.size-row .range { font-family: var(--latin); font-size: 22px; letter-spacing: .06em; }
.size-row .range small { font-size: 13px; margin-left: 4px; color: var(--mute); }
.size-row p { margin: 0; font-size: 13px; color: var(--ink-2); }
.size-row .stock { font-size: 12px; color: var(--mute); text-align: right; letter-spacing: .1em; }
.size-row .stock b { font-family: var(--latin); font-size: 22px; color: var(--ink); margin-right: 4px; font-weight: 500; }
.size-row .go { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .4s, border-color .4s, color .4s; }
.size-row:hover .go { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.size-row .go svg { width: 12px; height: 12px; }
.size-row svg.fig { display: none; }
@media (max-width: 900px) {
  .size-row { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 24px 0; }
  .size-row:hover { padding-left: 0; padding-right: 0; background: none; }
  .size-row p { grid-column: 1 / -1; }
  .size-row .stock { grid-column: 1; text-align: left; }
  .size-row .go { grid-row: 1 / span 2; grid-column: 2; }
  .size-row .range { grid-column: 1; }
}

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.flow li { padding: 0 clamp(18px, 2.2vw, 36px) 0; border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.flow li:first-child { border-left: 0; padding-left: 0; }
.flow .n { font-family: var(--latin); font-size: 54px; line-height: 1; font-weight: 300; letter-spacing: .02em; color: var(--accent); }
.flow h3 { font-size: 18px; letter-spacing: .16em; }
.flow p { margin: 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li:first-child { border-left: 0; padding: 30px 0; border-top: 1px solid var(--line); grid-template-columns: 70px 1fr; gap: 6px 16px; }
  .flow .n { font-size: 40px; grid-row: span 2; }
}

/* ---------- contact band ---------- */
.contact-band { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper); }
.contact-band .visual { position: relative; min-height: 560px; overflow: hidden; }
.contact-band .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-band .body { padding: clamp(70px, 9vw, 140px) clamp(28px, 6vw, 110px); display: grid; align-content: center; gap: 30px; }
.contact-band h2 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.9; }
.contact-band p { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.tel-block { display: grid; gap: 2px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tel-block small { font-size: 11.5px; color: var(--mute); letter-spacing: .14em; }
.tel-block a { font-family: var(--latin); font-size: clamp(32px, 3vw, 42px); letter-spacing: .08em; line-height: 1.3; font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 220px; }
@media (max-width: 900px) {
  .contact-band { grid-template-columns: 1fr; }
  .contact-band .visual { min-height: 64vw; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--sumi); color: rgba(233,226,212,.62); padding: clamp(80px, 9vw, 130px) 0 40px; font-size: 12.5px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.footer-brand .brand-mark { color: var(--kinari); font-size: 28px; }
.footer-brand p { margin: 22px 0 0; max-width: 24em; line-height: 2.1; }
.site-footer h4 { font-family: var(--latin); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #a39a8b; margin: 0 0 18px; font-weight: 400; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; line-height: 1.8; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--kinari); }
.footer-bottom { margin-top: clamp(70px, 8vw, 120px); padding-top: 28px; border-top: 1px solid rgba(233,226,212,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 11px; letter-spacing: .12em; }
.footer-bottom .en { font-size: 11px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- sub page head ---------- */
.page-head { padding: calc(var(--header) + clamp(60px, 8vw, 120px)) 0 clamp(40px, 5vw, 70px); }
.page-head .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.page-head h1 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 20px; letter-spacing: .18em; }
.page-head p { margin: 0; color: var(--ink-2); font-size: 13.5px; max-width: 34em; justify-self: end; }
.crumbs { font-size: 11px; letter-spacing: .14em; color: var(--mute); display: flex; gap: 10px; flex-wrap: wrap; line-height: 1.8; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
@media (max-width: 900px) { .page-head .wrap { grid-template-columns: 1fr; } .page-head p { justify-self: start; } }

/* ---------- collection ---------- */
.filters { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: var(--header); z-index: 30; background: rgba(244,242,237,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: top .5s var(--ease); }
.is-header-hidden .filters { top: 0; }
.filters .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(24px, 3vw, 48px); min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.fgroup { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 12.5px; }
.fgroup > span { font-family: var(--latin); font-size: 11px; letter-spacing: .26em; color: var(--mute); text-transform: uppercase; margin-right: 2px; }
.fbtn { position: relative; padding: 4px 0; color: var(--ink-2); letter-spacing: .1em; transition: color .3s; white-space: nowrap; }
.fbtn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.fbtn:hover { color: var(--ink); }
.fbtn[aria-pressed="true"] { color: var(--ink); font-weight: 400; }
.fbtn[aria-pressed="true"]::after { transform: scaleX(1); }
.fsort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.fsort select { font: inherit; letter-spacing: .08em; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 4px 22px 4px 2px; appearance: none; -webkit-appearance: none; color: var(--ink); cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 9px) 55%, calc(100% - 5px) 55%; background-size: 4px 4px; background-repeat: no-repeat; }
.ftoggle { display: none; }
.result { display: flex; justify-content: space-between; align-items: baseline; margin: clamp(40px, 5vw, 64px) 0 clamp(30px, 3.5vw, 48px); font-size: 12.5px; color: var(--mute); letter-spacing: .1em; }
.result b { font-family: var(--latin); font-size: 30px; font-weight: 400; color: var(--ink); margin-right: 6px; letter-spacing: .04em; }
.empty { grid-column: 1 / -1; padding: 100px 0; text-align: center; color: var(--ink-2); }
.empty p { margin: 0 0 30px; }
@media (max-width: 900px) {
  .filters .wrap { min-height: 56px; }
  .ftoggle { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 12.5px; letter-spacing: .14em; }
  .ftoggle svg { width: 12px; transition: transform .4s; }
  .filters.open .ftoggle svg { transform: rotate(180deg); }
  .fgroup, .fsort { display: none; width: 100%; margin: 0; padding: 10px 0; border-top: 1px solid var(--line-soft); }
  .filters.open .fgroup, .filters.open .fsort { display: flex; }
  .fgroup > span { width: 100%; }
}

/* ---------- item ---------- */
.item { padding-top: calc(var(--header) + 28px); }
.item-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); gap: clamp(36px, 5vw, 96px); align-items: start; }
.item .crumbs { margin-bottom: 24px; }
.gallery { display: grid; gap: 12px; }
.gallery button { display: block; width: 100%; background: var(--bg-2); cursor: zoom-in; overflow: hidden; }
.gallery button img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.gallery button:hover img { transform: scale(1.02); }
.gallery .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-dots { display: none; }
.item-info { position: sticky; top: calc(var(--header) + 28px); padding-bottom: 40px; }
.item-no { font-family: var(--latin); font-size: 14px; letter-spacing: .24em; color: var(--mute); }
.item-title { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: .16em; margin: 10px 0 18px; line-height: 1.6; }
.item-status { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; }
.item-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5f7f5a; }
.item-status.sold::before { background: var(--mute); }
.item-status.reserved::before { background: #c08a3a; }
.item-price { display: flex; align-items: baseline; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--line); }
.item-price b { font-family: var(--latin); font-size: 36px; font-weight: 500; letter-spacing: .04em; line-height: 1; }
.item-price small { font-size: 11.5px; color: var(--mute); }
.item-price.ask { font-size: 14px; }
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; line-height: 1.8; }
.spec dt { color: var(--mute); letter-spacing: .14em; font-size: 12px; }
.spec dd { margin: 0; font-weight: 400; }
.spec dd small { color: var(--mute); font-weight: 300; margin-left: 6px; }
.item-desc { margin: 28px 0 0; font-size: 13.5px; color: var(--ink-2); white-space: pre-wrap; }
.dim { margin: 30px 0 0; padding: 24px 22px 18px; background: var(--paper); }
.dim figcaption { font-family: var(--latin); font-size: 11px; letter-spacing: .28em; color: var(--mute); margin-bottom: 8px; text-transform: uppercase; }
.dim svg { width: 100%; height: auto; display: block; overflow: visible; }
.item-cta { display: grid; gap: 10px; margin-top: 30px; }
.item-cta .btn { min-height: 62px; }
.item-cta .tel-line { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--mute); padding: 10px 2px 0; letter-spacing: .1em; }
.item-cta .tel-line a { font-family: var(--latin); font-size: 22px; color: var(--ink); letter-spacing: .08em; font-weight: 500; }
.acc { margin-top: 36px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-size: 13px; letter-spacing: .14em; position: relative; font-weight: 400; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before, .acc summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 11px; height: 1px; background: currentColor; transition: transform .4s var(--ease-out); }
.acc summary::after { transform: rotate(90deg); }
.acc details[open] summary::after { transform: rotate(0); }
.acc .body { padding: 0 0 22px; font-size: 12.5px; color: var(--ink-2); line-height: 2.1; }
.acc .body p { margin: 0 0 .6em; }
@media (max-width: 960px) {
  .item-grid { grid-template-columns: 1fr; }
  .item-info { position: static; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery button, .gallery .pair button { flex: 0 0 100%; scroll-snap-align: center; }
  .gallery .pair { display: contents; }
  .gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .gallery-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
  .gallery-dots i.on { background: var(--ink); transform: scale(1.2); }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,19,17,.97); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; color: var(--kinari); width: 60px; height: 60px; display: grid; place-items: center; }
.lightbox svg { width: 22px; height: 22px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(233,226,212,.7); font-family: var(--latin); font-size: 14px; letter-spacing: .2em; }

/* ---------- about ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-intro img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-intro h2 { font-size: clamp(22px, 2.2vw, 30px); line-height: 2; margin: 22px 0 30px; }
.about-intro p { color: var(--ink-2); margin: 0 0 1.4em; }
.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 100px); }
.two-col h2 { margin-top: 18px; font-size: clamp(22px, 2vw, 28px); }
.info { margin: 0; border-top: 1px solid var(--ink); }
.info div { display: grid; grid-template-columns: 10em 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.info dt { color: var(--mute); letter-spacing: .14em; font-size: 12.5px; }
.info dd { margin: 0; }
.acc.lg summary { font-family: var(--serif); font-size: 17px; padding: 26px 40px 26px 0; letter-spacing: .14em; font-weight: 500; }
.acc.lg .body { font-size: 13.5px; padding-bottom: 30px; }
.acc.lg .body ol, .acc.lg .body ul { margin: 0; padding-left: 1.4em; }
@media (max-width: 900px) {
  .about-intro, .two-col { grid-template-columns: 1fr; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-side { display: grid; gap: 0; position: sticky; top: calc(var(--header) + 30px); }
.contact-side > div, .contact-side > a { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.contact-side > :first-child { border-top: 1px solid var(--ink); }
.contact-side small { font-family: var(--latin); font-size: 11px; letter-spacing: .28em; color: var(--mute); text-transform: uppercase; }
.contact-side b { font-family: var(--latin); font-size: 30px; font-weight: 500; letter-spacing: .08em; line-height: 1.4; }
.contact-side span { font-size: 12.5px; color: var(--ink-2); }
.form { display: grid; gap: 34px; }
.form .f { display: grid; gap: 10px; }
.form .f > span { font-size: 12.5px; letter-spacing: .14em; display: flex; align-items: center; gap: 10px; font-weight: 400; }
.form .req { font-size: 10px; letter-spacing: .1em; padding: 0 7px; line-height: 1.8; background: var(--ink); color: var(--bg); }
.form .opt { font-size: 10px; letter-spacing: .1em; padding: 0 7px; line-height: 1.8; border: 1px solid var(--line); color: var(--mute); }
.form input:not([type="checkbox"]), .form textarea, .form select {
  font: inherit; font-size: 15px; font-weight: 400; letter-spacing: .04em; color: var(--ink); width: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; outline: none; transition: border-color .3s, background .3s; appearance: none; -webkit-appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--ink); background: #fff; }
.form textarea { min-height: 200px; resize: vertical; line-height: 1.9; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form .agree { display: flex; align-items: center; gap: 12px; font-size: 13px; cursor: pointer; }
.form .agree input { width: 18px; height: 18px; accent-color: var(--ink); }
.form .agree a { text-decoration: underline; text-underline-offset: 4px; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { font-size: 13px; color: #a33a2c; min-height: 1em; margin: 0; }
.thanks { padding: 60px 0; display: grid; gap: 24px; justify-items: start; }
.thanks h2 { font-size: 26px; }
.thanks p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .contact-grid, .form .row2 { grid-template-columns: 1fr; } .contact-side { position: static; } }

/* prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 18px; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--ink-2); font-size: 13.5px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-out); }
.rv-img.in { clip-path: inset(0 0 0 0); }
.rv-img img { transform: scale(1.12); transition: transform 2.2s var(--ease-out); }
.rv-img.in img { transform: scale(1); }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-img, .rv-img img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero-title span, .hero-meta { animation: none; opacity: 1; transform: none; }
  .hero-slide img { transition: none; transform: none; }
}
