/* Nishimura Koumuten demo - styles
   Tokens first; use the tokens, never raw values in components. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f2ec;
  --tint: #eee5d8;
  --ink: #1d2124;
  --ink-2: #3b4045;
  --ink-3: #6f7479;
  --brand: #8a5d34;
  --brand-deep: #5f4026;
  --line: #e4ded4;
  --line-strong: #cbc2b4;
  --dark: #1d2124;
  --dark-2: #2a2f33;

  --fs-display: 96px;
  --fs-h2: 48px;
  --fs-h3: 34px;
  --fs-h4: 23px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-caption: 12px;

  --serif: 'Noto Serif JP', 'Yu Mincho', serif;
  --sans: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  --en: 'Cormorant Garamond', 'Times New Roman', serif;

  --gut: clamp(24px, 5vw, 72px);
  --wrap: 1200px;
  --r: 6px;
  --sec: clamp(88px, 11vw, 160px);
  --pg: 32px;
  --bar: 0px;
}
@media (max-width: 640px) {
  :root {
    --fs-display: 44px;
    --fs-h2: 28px;
    --fs-h3: 22px;
    --fs-h4: 19px;
    --fs-lead: 16px;
    --gut: 24px;
    --pg: 16px;
    --bar: 64px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-variant-numeric: lining-nums; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 2;
  letter-spacing: .05em;
  overflow-x: clip;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
i, em, cite { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vh:focus { position: fixed !important; z-index: 200; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 8px 16px; background: var(--ink); color: #fff; }
.nw { white-space: nowrap; }
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } .pc-only { display: none; } }
.ln { display: block; }
.phr main :is(h1, h2, h3, h4, p, li, dd, dt, th, td, figcaption, a, span, small, b, strong), .phr footer :is(p, a, li, span) { word-break: keep-all; overflow-wrap: anywhere; }
.phr .txt-flow { word-break: normal; overflow-wrap: anywhere; line-break: strict; text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: calc(880px + var(--gut) * 2); }
.prose > p + p { margin-top: 1lh; }
.note { font-size: var(--fs-caption); color: var(--ink-3); line-height: 1.8; }

/* ---------- buttons & links ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 56px; padding: 8px 8px 8px 28px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .08em; line-height: 1.4;
  transition: background .2s;
}
.pill:hover { background: var(--brand-deep); }
.pill__arrow {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); position: relative;
}
.pill__arrow::before {
  content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h11M8 3l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h11M8 3l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s;
}
a:hover > .pill__arrow::before, a:hover .pill__arrow::before { transform: translateX(3px); }
button.pill { border: 0; cursor: pointer; }
.tlink { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.pill--sm { min-height: 44px; padding: 4px 4px 4px 20px; font-size: 13px; gap: 10px; }
.pill--sm .pill__arrow { width: 34px; height: 34px; }
.pill--light { background: #fff; color: var(--ink); }
.pill--light:hover { background: var(--tint); }
.btns { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.linkchip { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.linkchip .pill__arrow { width: 36px; height: 36px; }
.linkchip:hover { color: var(--brand); }
.more { margin-top: 48px; display: flex; justify-content: center; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 4px; background: var(--brand); color: #fff; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .08em; line-height: 1.8; }
.tag--line { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.tag--tint { background: var(--tint); color: var(--brand-deep); }

/* ---------- header (floating capsule) ---------- */
.hd {
  position: fixed; z-index: 90; top: 14px; left: 20px; right: 20px;
  display: flex; align-items: center; gap: 24px;
  height: 68px; padding: 0 10px 0 26px; border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  will-change: transform;
}
.hd__logo { flex: none; display: flex; align-items: center; }
.hd__logo img { width: auto; height: 38px; }
.hd__nav { display: flex; gap: clamp(14px, 1.8vw, 28px); margin-left: auto; }
.hd__nav a { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: .06em; line-height: 44px; white-space: nowrap; }
.hd__nav a:hover, .hd__nav a[aria-current] { color: var(--brand); }
.hd__cta { display: flex; gap: 8px; }
.hd__menu {
  flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--tint); cursor: pointer;
  display: grid; place-content: center; gap: 6px;
}
.hd__menu span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .25s; }
.is-menu .hd__menu span:first-child { transform: translateY(4px) rotate(45deg); }
.is-menu .hd__menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
.hd__tel { display: none; }
@media (max-width: 1240px) { .hd__nav { display: none; } .hd__cta { margin-left: auto; } }
@media (max-width: 1024px) { .hd__cta .pill:first-child { display: none; } }
@media (max-width: 640px) {
  .hd { top: 10px; left: 12px; right: 12px; height: 58px; padding: 0 6px 0 16px; gap: 8px; }
  .hd__logo img { height: 28px; }
  .hd__cta .pill { padding-left: 14px; font-size: 12px; gap: 6px; min-height: 44px; }
  .hd__cta .pill .pill__arrow { width: 30px; height: 30px; }
  .hd__menu { width: 44px; height: 44px; }
}
@media (max-width: 380px) { .hd__logo img { height: 24px; } .hd__cta .pill { padding-left: 12px; letter-spacing: .02em; } }

/* drawer */
.drawer {
  position: fixed; inset: 0; z-index: 80; background: var(--bg); overflow-y: auto;
  padding: 120px var(--gut) 120px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
}
.drawer.is-open { visibility: visible; opacity: 1; }
.is-menu { overflow: hidden; }
.drawer__in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.drawer__grp h2 { font-family: var(--en); font-size: 32px; font-weight: 600; color: var(--brand); letter-spacing: .04em; line-height: 1.2; }
.drawer__grp h2 small { display: block; font-family: var(--sans); font-size: var(--fs-caption); color: var(--ink-3); letter-spacing: .12em; margin-top: 4px; }
.drawer__grp ul { margin-top: 16px; }
.drawer__grp li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-weight: 700; color: var(--ink); }
.drawer__grp li a .pill__arrow { width: 30px; height: 30px; }
.drawer__grp li + li { box-shadow: 0 -1px 0 var(--line); }
.drawer__cta { max-width: var(--wrap); margin: 56px auto 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.drawer__tel { font-family: var(--en); font-size: 34px; font-weight: 600; color: var(--ink); letter-spacing: .04em; line-height: 1.2; }
.drawer__tel small { display: block; font-family: var(--sans); font-size: var(--fs-caption); color: var(--ink-3); letter-spacing: .08em; }
@media (max-width: 900px) { .drawer__in { grid-template-columns: minmax(0, 1fr); gap: 32px; } .drawer { padding-top: 96px; } }
@media (max-width: 640px) {
  .drawer__grp h2 { text-align: center; }
  .drawer__cta { flex-direction: column; align-items: stretch; text-align: center; }
  .drawer__cta .pill { width: 100%; }
}

/* phone CTA bar */
.spbar { display: none; }
@media (max-width: 640px) {
  .spbar {
    position: fixed; z-index: 85; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    height: calc(var(--bar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: #fff; box-shadow: 0 -1px 0 var(--line); will-change: transform;
  }
  .spbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: var(--fs-caption); font-weight: 700; color: var(--ink); letter-spacing: .04em; line-height: 1.4; }
  .spbar a svg { width: 22px; height: 22px; color: var(--brand); }
  .spbar a.is-main { background: var(--brand-deep); color: #fff; }
  .spbar a.is-main svg { color: #fff; }
  .spbar a + a:not(.is-main) { box-shadow: -1px 0 0 var(--line); }
}

/* ---------- section titles ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--soft { background: var(--bg-soft); }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark); color: #d9d6d1; }
.sec--tight { padding-top: 0; }
.ttl { margin-bottom: clamp(40px, 5vw, 64px); }
.ttl__lb { font-size: var(--fs-small); font-weight: 700; color: var(--brand); letter-spacing: .16em; line-height: 1.6; }
.ttl__lb::before { content: '[ '; }
.ttl__lb::after { content: ' ]'; }
.ttl__en { font-family: var(--en); font-weight: 600; font-size: var(--fs-display); line-height: 1; letter-spacing: .02em; color: var(--brand); margin-top: 6px; white-space: nowrap; }
.ttl__jp { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h2); line-height: 1.5; letter-spacing: .06em; color: var(--ink); margin-top: 20px; }
.ttl__jp .ln { white-space: nowrap; }
.ttl__lead { margin-top: 24px; font-size: var(--fs-lead); line-height: 2.2; max-width: 46em; }
.ttl__lead .ln { white-space: nowrap; }
.ttl--center { text-align: center; }
.ttl--center .ttl__lead { margin-left: auto; margin-right: auto; }
.sec--dark .ttl__en { color: #d4b48f; }
.sec--dark .ttl__lb { color: #d4b48f; }
.sec--dark .ttl__jp { color: #fff; }
.sec--dark .linkchip { color: #fff; }
.sec--dark .img-note { color: #a9a39b; }
@media (max-width: 640px) {
  .ttl { text-align: center; }
  .ttl__lead { text-align: left; }
  .ttl--center .ttl__lead, .ttl__lead.is-center { text-align: center; }
}
.ln-wrap .ln { white-space: normal !important; }

/* ---------- reveal motion ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rvimg { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); }
.js .rvimg.is-in { clip-path: inset(0 0 0 0); }
.js .chars .split-ch { display: inline-block; opacity: 0; transform: translateY(.3em); transition: opacity .6s, transform .6s; transition-delay: calc(var(--ci) * 35ms); }
.js .chars.is-in .split-ch { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rvimg, .js .chars .split-ch { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
}

/* ---------- photo box ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-soft); }
.ph > img, .ph > picture > img { width: 100%; height: 100%; object-fit: cover; }
.ph--43 { aspect-ratio: 4 / 3; }
.ph--32 { aspect-ratio: 3 / 2; }
.ph--45 { aspect-ratio: 4 / 5; }
.ph--11 { aspect-ratio: 1 / 1; }
.ph--169 { aspect-ratio: 16 / 9; }
.ph__cap { position: absolute; left: 12px; bottom: 12px; padding: 2px 10px; border-radius: 4px; background: rgba(29, 33, 36, .78); color: #fff; font-size: var(--fs-caption); line-height: 1.8; letter-spacing: .06em; }

/* ---------- MV (full-bleed photos + vertical catch on plates) ---------- */
.mv { position: relative; height: 100svh; min-height: 640px; max-height: 1080px; overflow: hidden; background: var(--dark); }
.mv__visual { position: absolute; inset: 0; }
.mv__visual::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(20, 22, 24, .22); pointer-events: none; }
.mv__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.mv__slide.is-on { opacity: 1; }
.mv__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.mv__slide.is-on img { transform: scale(1); }
.mv__catch {
  position: absolute; z-index: 3; left: var(--gut); top: clamp(112px, 15svh, 160px);
  writing-mode: vertical-rl; font-family: var(--serif); font-weight: 700; color: var(--ink);
  font-size: clamp(40px, min(5.4vw, 8.4svh), 88px); line-height: 1.45; letter-spacing: .1em;
}
.mv__catch span { display: block; white-space: nowrap; color: #fff; font-feature-settings: "palt"; text-shadow: 0 2px 4px rgba(0, 0, 0, .45), 0 4px 24px rgba(0, 0, 0, .5); }
.mv__catch span + span { margin-block-start: .3em; margin-inline-start: 1.4em; }
.mv__kicker { position: absolute; z-index: 3; left: calc(var(--gut) + 4.2em); top: clamp(112px, 15svh, 160px); writing-mode: vertical-rl; font-family: var(--en); font-weight: 600; font-size: 18px; letter-spacing: .24em; color: #fff; line-height: 1; }
.mv__steps { position: absolute; z-index: 3; left: var(--gut); bottom: 32px; display: flex; gap: 8px; }
.mv__steps li { width: 140px; padding: 10px 14px 12px; border-radius: 4px; background: rgba(29, 33, 36, .72); color: #fff; line-height: 1.4; cursor: pointer; }
.mv__steps b { display: block; font-family: var(--en); font-size: 18px; font-weight: 600; letter-spacing: .06em; color: #e7cfb0; }
.mv__steps span { font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.mv__steps i { display: block; height: 2px; margin-top: 10px; background: rgba(255, 255, 255, .28); position: relative; overflow: hidden; }
.mv__steps i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.mv__steps li.is-on i::after { animation: mvbar var(--mvdur, 6s) linear forwards; }
.mv__steps li.is-done i::after { transform: none; }
@keyframes mvbar { to { transform: none; } }
.mv__news {
  position: absolute; z-index: 3; right: var(--gut); bottom: 32px; width: 380px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center;
  padding: 18px 24px; border-radius: 8px; background: #fff; color: var(--ink);
}
.mv__news-h { font-family: var(--en); font-size: 20px; font-weight: 600; color: var(--brand); letter-spacing: .06em; line-height: 1.2; }
.mv__news-all { justify-self: end; font-size: var(--fs-caption); font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.mv__news-all .pill__arrow { width: 26px; height: 26px; }
.mv__news a.mv__news-item { grid-column: 1 / -1; display: block; line-height: 1.6; }
.mv__news-item time { font-family: var(--en); font-weight: 600; font-size: 15px; color: var(--ink-3); margin-right: 10px; }
.mv__news-item b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--fs-small); font-weight: 700; }
.mv__note { position: absolute; z-index: 3; right: var(--gut); top: 100px; font-size: var(--fs-caption); color: #fff; letter-spacing: .06em; line-height: 1.6; padding: 0 8px; border-radius: 4px; background: rgba(29, 33, 36, .55); }
/* intro band right under the MV: authority chips, lead, two buttons */
.mvintro { padding: clamp(56px, 7vw, 96px) 0 0; text-align: center; }
.mvintro__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mvintro__chips li { padding: 6px 14px; border-radius: 4px; background: var(--tint); color: var(--brand-deep); font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
.mvintro__lead { margin-top: 28px; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.7vw, 22px); line-height: 2.1; color: var(--ink); letter-spacing: .06em; }
.mvintro__lead .ln { white-space: nowrap; }
.mvintro .btns { justify-content: center; margin-top: 36px; }
@media (max-width: 1024px) {
  .mv { height: min(100svh, 900px); }
  .mv__news { width: 340px; }
  .mv__steps li { width: 120px; }
}
@media (max-width: 640px) {
  .mv { height: clamp(600px, calc(100svh - var(--bar)), 860px); min-height: 0; }
  .mv__catch { left: 18px; top: 92px; font-size: min(12vw, 7.2svh, 52px); }
  .mv__kicker { display: none; }
  .mv__steps { left: 12px; right: 12px; bottom: 96px; gap: 6px; }
  .mv__steps li { flex: 1; width: auto; padding: 8px 10px 10px; }
  .mv__steps b { font-size: 15px; }
  .mv__steps span { font-size: var(--fs-caption); }
  .mv__news { left: 12px; right: 12px; bottom: 12px; width: auto; border-radius: 6px; padding: 12px 16px; }
  .mv__news-h { font-size: 17px; }
  .mv__news-item b { -webkit-line-clamp: 1; }
  .mv__note { top: auto; bottom: 168px; right: 12px; }
  .mvintro { padding-top: 40px; }
  .mvintro .btns { display: none; }
}

/* ---------- vertical story (About) ---------- */
.vstory { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--pg); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.vstory .ph--a { aspect-ratio: 3 / 4; }
.vstory .ph--b { aspect-ratio: 4 / 3; margin-top: calc(var(--pg) * 5); }
.vstory__txt { writing-mode: vertical-rl; justify-self: center; padding: 0 clamp(8px, 2vw, 32px); font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 1.8vw, 26px); line-height: 2.2; letter-spacing: .16em; color: var(--ink); }
.vstory__txt span { display: block; white-space: nowrap; }
.vstory__txt span.gap { margin-block-start: 1em; }
.vstory__note { grid-column: 1 / -1; font-size: var(--fs-caption); color: var(--ink-3); }
.photoband { position: relative; height: clamp(240px, 34vw, 560px); overflow: hidden; background: var(--bg-soft); }
.photoband img { width: 100%; height: 100%; object-fit: cover; }
.photoband .ph__cap { left: auto; right: 12px; }
@media (max-width: 900px) {
  .vstory { grid-template-columns: minmax(0, 1fr); }
  .vstory__txt { order: -1; padding: 0; font-size: 19px; margin: 0 auto 8px; }
  .vstory .ph--a { aspect-ratio: 4 / 3; }
  .vstory .ph--b { margin-top: 0; }
}
/* ---------- split (photo + text) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--rev .split__ph { order: 2; }
.split__ttl { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); line-height: 1.6; color: var(--ink); letter-spacing: .06em; }
.split__ttl .ln { white-space: nowrap; }
.split__body { margin-top: 28px; }
.split__body .linkchip { margin-top: 32px; }
.split--sticky { align-items: start; }
.split--sticky .split__ph { position: sticky; top: 110px; max-height: calc(100svh - 140px); }
@media (max-width: 900px) {
  .split, .split--rev { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split--rev .split__ph { order: 0; }
  .split--sticky .split__ph { position: static; max-height: none; }
}
@media (max-width: 640px) { .split__ttl { text-align: center; } .split__body .linkchip { display: flex; justify-content: center; } }

/* ---------- relay diagram (about) ---------- */
.relay { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 20px; }
.relay__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px 36px; border-radius: 8px; background: var(--bg-soft); }
.relay__row.is-ours { background: var(--tint); }
.relay__name { font-weight: 700; color: var(--ink); line-height: 1.6; }
.relay__name small { display: block; font-size: var(--fs-caption); color: var(--ink-3); letter-spacing: .06em; }
.is-ours .relay__name { color: var(--brand-deep); }
.relay__track { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.relay__track::before { content: ''; position: absolute; left: 32px; right: 32px; top: 31px; height: 2px; background: var(--line-strong); }
.is-ours .relay__track::before { background: var(--brand); }
.relay__node { position: relative; z-index: 1; width: 64px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.relay__node i { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line-strong); display: grid; place-items: center; color: var(--ink-3); transition: background .3s, color .3s, box-shadow .3s; }
.relay__node i svg { width: 30px; height: 30px; }
.relay__node span { margin-top: 10px; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--ink); white-space: nowrap; }
.is-ours .relay__node i { box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand); }
.relay__node.is-on i { background: var(--ink); color: #fff; box-shadow: none; }
.is-ours .relay__node.is-on i { background: var(--brand); }
.relay__node--wide { flex: 1; align-items: flex-end; }
.relay__node--wide i { width: 100%; max-width: 100%; height: 64px; border-radius: 32px; display: flex; gap: 10px; justify-content: center; padding: 0 20px; font-size: var(--fs-small); font-weight: 700; color: var(--brand-deep); }
.relay__node--wide span { align-self: center; }
.relay__node--wide i svg { width: 26px; height: 26px; flex: none; }
.relay__dot { position: absolute; z-index: 2; top: 25px; left: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); transition: opacity .3s; pointer-events: none; }
.relay__row:not(.is-ours) .relay__dot { background: var(--ink-3); }
.relay__msg { grid-column: 2; font-size: var(--fs-small); line-height: 1.8; color: var(--ink-2); }
@media (max-width: 900px) {
  .relay__row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 20px; text-align: center; }
  .relay__msg { grid-column: 1; text-align: left; }
}
@media (max-width: 640px) {
  .relay__node { width: 56px; }
  .relay__node:not(.relay__node--wide) i { width: 52px; height: 52px; }
  .relay__node i svg { width: 24px; height: 24px; }
  .relay__node span { font-size: var(--fs-caption); }
  .relay__track::before { top: 25px; left: 26px; right: 26px; }
  .relay__dot { top: 19px; left: 20px; width: 14px; height: 14px; }
  .relay__node--wide i { height: 52px; font-size: 13px; padding: 0 12px; }
}

/* ---------- numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.num { position: relative; padding: 28px 28px 32px; border-radius: 8px; background: #fff; display: grid; align-content: start; }
.num__lb { justify-self: start; padding: 2px 10px; border-radius: 4px; background: var(--brand); color: #fff; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .08em; line-height: 1.8; }
.num__ic { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; color: var(--brand); }
.num__v { margin-top: 36px; font-family: var(--en); font-weight: 600; color: var(--brand); font-size: 76px; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.num__v small { font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--ink); margin-left: 6px; letter-spacing: .06em; }
.num__t { margin-top: 18px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.num__s { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 1024px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .nums { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .num { text-align: center; justify-items: center; padding: 28px 20px; }
  .num__lb { justify-self: center; }
  .num__ic { position: static; margin-top: 16px; width: 48px; height: 48px; }
  .num__v { margin-top: 12px; font-size: 64px; }
}

/* ---------- why (photo navigation) ---------- */
.whys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.why { display: grid; align-content: start; color: var(--ink); }
.why .ph { aspect-ratio: 4 / 3; }
.why .ph img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.why:hover .ph img { transform: scale(1.04); }
.why__no { margin-top: 22px; font-family: var(--en); font-weight: 600; font-size: 22px; color: var(--brand); letter-spacing: .08em; line-height: 1; }
.why__q { margin-top: 12px; font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); line-height: 1.6; letter-spacing: .04em; }
.why__q .ln { white-space: nowrap; }
.why__a { margin-top: 12px; font-size: var(--fs-small); line-height: 1.9; color: var(--ink-2); }
.why__go { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: var(--fs-small); }
.why__go .pill__arrow { width: 34px; height: 34px; }
@media (max-width: 1024px) { .whys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .whys { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .why { text-align: center; }
  .why__go { justify-content: center; }
}

/* ---------- heritage (dark) ---------- */
.heri { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.heri__stmt { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); line-height: 1.7; color: #fff; letter-spacing: .06em; }
.heri__stmt .ln { white-space: nowrap; }
.heri__txt { margin-top: 24px; color: #d9d6d1; }
.gens { margin-top: 56px; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gens::before { content: ''; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: #4a4f53; }
.gens__fill { position: absolute; left: 10%; top: 27px; height: 2px; width: 0; background: #d4b48f; }
.gen { position: relative; text-align: center; }
.gen i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--dark-2); box-shadow: inset 0 0 0 2px #4a4f53; font-family: var(--en); font-style: normal; font-weight: 600; font-size: 22px; color: #d9d6d1; transition: background .4s, color .4s, box-shadow .4s; }
.gen.is-on i { background: #d4b48f; color: var(--dark); box-shadow: none; }
.gen b { display: block; margin-top: 12px; font-size: var(--fs-small); color: #fff; line-height: 1.6; }
.gen small { display: block; font-size: var(--fs-caption); color: #b9b4ad; line-height: 1.7; letter-spacing: .04em; }
.gens__cap { grid-column: 1 / -1; margin-top: 28px; min-height: 3.6em; padding: 16px 20px; border-radius: 6px; background: var(--dark-2); color: #eee; font-size: var(--fs-small); line-height: 1.8; }
.gens__cap b { color: #d4b48f; margin-right: 10px; }
@media (max-width: 900px) { .heri { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .heri__stmt { text-align: center; }
  .gens { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .gen i { width: 44px; height: 44px; font-size: 18px; }
  .gens::before, .gens__fill { top: 21px; }
  .gen b { font-size: var(--fs-caption); }
  .gen small { display: none; }
}

/* ---------- works ---------- */
.wgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.wgrid--top { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
.wgrid--top > li:first-child { grid-column: span 2; grid-row: span 2; }
.wgrid--top > li:first-child .wcard { height: 100%; grid-template-rows: minmax(0, 1fr) auto auto auto; }
.wgrid--top > li:first-child .ph { aspect-ratio: auto; height: 100%; min-height: 360px; }
.wcard { display: grid; align-content: start; color: var(--ink); }
.wcard .ph { aspect-ratio: 4 / 3; }
.wcard .ph img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.wcard:hover .ph img { transform: scale(1.04); }
.wcard__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.wcard__ttl { margin-top: 10px; font-weight: 700; font-size: var(--fs-body); line-height: 1.7; }
.wcard__type { font-size: 13px; font-weight: 700; color: var(--brand); line-height: 1.6; }
.wcard__meta { font-size: var(--fs-caption); color: var(--ink-3); line-height: 1.7; }
@media (max-width: 1024px) { .wgrid, .wgrid--top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wgrid--top > li:first-child { grid-row: auto; } .wgrid--top > li:first-child .ph { height: auto; aspect-ratio: 16 / 9; min-height: 0; } }
@media (max-width: 640px) { .wgrid, .wgrid--top { grid-template-columns: minmax(0, 1fr); gap: 40px; } .wgrid--top > li:first-child { grid-column: auto; } .wcard { text-align: center; } .wcard__tags { justify-content: center; } }
.filterbox { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 20px; align-items: center; margin-bottom: 40px; }
.filterbox__lb { font-weight: 700; color: var(--ink); font-size: var(--fs-small); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 6px 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); font-size: var(--fs-small); font-weight: 700; cursor: pointer; line-height: 1.4; }
.filters button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); background: var(--tint); }
.filterbox__count { grid-column: 2; font-size: var(--fs-caption); color: var(--ink-3); }
@media (max-width: 640px) {
  .filterbox { grid-template-columns: minmax(0, 1fr); }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .filters button { flex: none; }
  .filterbox__count { grid-column: 1; text-align: center; }
  .filterbox__lb { text-align: center; }
}

/* ---------- three-in-one diagram ---------- */
.trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.trio__fig { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin: 0 auto; }
.trio__fig svg { width: 100%; height: 100%; overflow: visible; }
.trio__c { fill: var(--brand); fill-opacity: 0; stroke: var(--brand); stroke-width: 2; transition: fill-opacity .4s, stroke-width .4s; }
.trio__c.is-on { fill-opacity: .16; stroke-width: 3; }
.trio__t { font-family: var(--sans); font-weight: 700; font-size: 24px; fill: var(--ink); letter-spacing: .04em; text-anchor: middle; transition: fill .4s; }
.trio__s { font-family: var(--sans); font-weight: 700; font-size: 14px; fill: var(--ink-3); text-anchor: middle; }
.trio__lbl.is-on .trio__t { fill: var(--brand-deep); }
.trio__center { font-family: var(--serif); font-weight: 700; font-size: 22px; fill: var(--brand-deep); text-anchor: middle; letter-spacing: .1em; }
.trio__list { display: grid; gap: 16px; margin-top: 32px; }
.trio__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 24px; border-radius: 8px; background: #fff; transition: background .3s; }
.trio__item.is-on { background: var(--bg-soft); }
.trio__item i { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.trio__item i svg { width: 28px; height: 28px; }
.trio__item b { display: block; color: var(--ink); font-size: var(--fs-body); line-height: 1.6; }
.trio__item p { font-size: var(--fs-small); line-height: 1.8; margin-top: 4px; }
@media (max-width: 900px) { .trio { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .trio__item { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; } .trio__item p { text-align: left; } }

/* ---------- voice ---------- */
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.vcard { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); border-radius: 8px; overflow: hidden; background: #fff; color: var(--ink); }
.vcard .ph { border-radius: 0; height: 100%; min-height: 280px; }
.vcard__body { padding: 32px 32px 28px; display: grid; align-content: start; }
.vcard__q { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.9; color: var(--ink); letter-spacing: .04em; }
.vcard__q::before { content: '「'; }
.vcard__q::after { content: '」'; }
.vcard__meta { margin-top: 20px; font-size: var(--fs-caption); color: var(--ink-3); line-height: 1.7; }
.vcard__meta b { display: block; font-size: var(--fs-small); color: var(--ink); }
.vcard .linkchip { margin-top: 20px; font-size: var(--fs-small); }
@media (max-width: 1024px) { .voices { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .vcard { grid-template-columns: minmax(0, 1fr); }
  .vcard .ph { aspect-ratio: 16 / 10; min-height: 0; }
  .vcard__body { padding: 24px 22px; text-align: center; }
  .vcard__q { text-align: left; }
  .vcard .linkchip { justify-content: center; }
}

/* ---------- steps (flow) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.step { position: relative; padding: 24px 14px 22px; border-radius: 8px; background: #fff; text-align: center; display: grid; justify-items: center; align-content: start; }
.step__no { font-family: var(--en); font-weight: 600; font-size: 30px; color: var(--brand); line-height: 1; }
.step__ic { width: 48px; height: 48px; margin-top: 14px; color: var(--ink); }
.step__t { margin-top: 12px; font-weight: 700; color: var(--ink); font-size: var(--fs-small); line-height: 1.6; }
.steps-wrap { --cols: 7; --gap: 12px; }
.steps__free { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols) * 3 + var(--gap) * 2); height: 30px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--brand); color: #fff; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .08em; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps-wrap { --cols: 4; } }
@media (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps__free { width: 100%; margin-bottom: 10px; }
  .step { grid-template-columns: 52px 48px minmax(0, 1fr); align-items: center; text-align: left; padding: 14px 18px; gap: 12px; }
  .step__ic { margin: 0; width: 40px; height: 40px; }
  .step__t { margin: 0; font-size: var(--fs-body); }
}

/* detailed step list (flow page) */
.flowlist { display: grid; gap: 20px; }
.fitem { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; padding: 36px 40px; border-radius: 8px; background: #fff; }
.fitem__no { font-family: var(--en); font-weight: 600; font-size: 56px; color: var(--brand); line-height: 1; }
.fitem__no small { display: block; font-family: var(--sans); font-size: var(--fs-caption); color: var(--ink-3); letter-spacing: .12em; margin-top: 8px; }
.fitem__t { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.6; }
.fitem__s { margin-top: 4px; font-weight: 700; color: var(--brand-deep); font-size: var(--fs-small); }
.fitem__b { margin-top: 14px; }
.fitem .tag { margin-top: 12px; }
@media (max-width: 640px) {
  .fitem { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 28px 22px; }
  .fitem__no, .fitem__t, .fitem__s { text-align: center; }
  .fitem__no small { display: inline; margin-left: 8px; }
  .fitem .tag { justify-self: center; }
}

/* tabs */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; box-shadow: inset 0 -1px 0 var(--line); }
.tabs__btn { min-height: 52px; padding: 8px 28px; border: 0; background: none; cursor: pointer; font-weight: 700; color: var(--ink-3); font-size: var(--fs-body); box-shadow: inset 0 -3px 0 transparent; }
.tabs__btn[aria-selected="true"] { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
@media (max-width: 640px) { .tabs__btn { padding: 8px 14px; font-size: var(--fs-small); flex: 1; } }

/* ---------- news list ---------- */
.newslist > li { box-shadow: 0 1px 0 var(--line); }
.newslist > li:first-child { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.nrow { display: grid; grid-template-columns: 200px minmax(0, 1fr) 44px; gap: 28px; align-items: center; padding: 24px 0; color: var(--ink); }
.nrow .ph { aspect-ratio: 16 / 9; }
.nrow__meta { display: flex; align-items: center; gap: 12px; }
.nrow__meta time { font-family: var(--en); font-weight: 600; font-size: 17px; color: var(--ink-3); letter-spacing: .04em; }
.nrow__ttl { margin-top: 6px; font-weight: 700; font-size: var(--fs-lead); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nrow__ex { margin-top: 4px; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nrow__arw { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--brand); position: relative; transition: background .2s; }
.nrow__arw::before { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h11M8 3l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h11M8 3l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.nrow:hover .nrow__arw { background: var(--brand); }
.nrow:hover .nrow__arw::before { background: #fff; }
.nrow--static { grid-template-columns: 200px minmax(0, 1fr); }
.nrow .ph--logo { display: grid; place-items: center; background: var(--tint); }
.nrow .ph--logo img { width: 62%; height: auto; object-fit: contain; }
@media (max-width: 640px) {
  .nrow, .nrow--static { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
  .nrow__arw { display: none; }
  .nrow__ttl { font-size: var(--fs-small); }
  .nrow__ex { display: none; }
  .nrow__meta { flex-wrap: wrap; gap: 4px 10px; }
  .nrow__meta time { font-size: 15px; white-space: nowrap; }
  .nrow__meta .tag { white-space: nowrap; }
}

/* ---------- promo band (swing) ---------- */
.promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 8px; overflow: hidden; background: var(--tint); }
.promo .ph { border-radius: 0; min-height: 360px; }
.promo__body { padding: clamp(32px, 5vw, 64px); display: grid; align-content: center; }
.promo__en { font-family: var(--en); font-weight: 600; font-size: 22px; color: var(--brand); letter-spacing: .08em; line-height: 1.2; }
.promo__ttl { margin-top: 12px; font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); line-height: 1.6; color: var(--ink); }
.promo__ttl .ln { white-space: nowrap; }
.promo__txt { margin-top: 20px; }
.promo .linkchip { margin-top: 28px; }
@media (max-width: 900px) { .promo { grid-template-columns: minmax(0, 1fr); } .promo .ph { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 640px) { .promo__body { text-align: center; padding: 32px 24px 36px; } .promo__txt { text-align: left; } .promo .linkchip { justify-content: center; } }

/* ---------- CTA block ---------- */
.cta { padding: var(--sec) 0; background: var(--bg-soft); }
.cta__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.cta .ph { aspect-ratio: 4 / 5; max-height: 640px; }
.cta__ttl { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h2); line-height: 1.5; color: var(--ink); letter-spacing: .06em; margin-top: 20px; }
.cta__ttl .ln { white-space: nowrap; }
.cta__lead { margin-top: 20px; }
.cta__routes { margin-top: 36px; display: grid; gap: 12px; }
.croute { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 20px 18px 22px; border-radius: 8px; background: #fff; color: var(--ink); }
.croute > i { width: 56px; height: 56px; border-radius: 50%; background: var(--tint); color: var(--brand-deep); display: grid; place-items: center; }
.croute > i svg { width: 26px; height: 26px; }
.croute b { display: block; font-size: var(--fs-lead); line-height: 1.5; }
.croute small { display: block; font-size: var(--fs-caption); color: var(--ink-3); line-height: 1.7; letter-spacing: .04em; }
.croute--main { background: var(--brand-deep); color: #fff; }
.croute--main > i { background: rgba(255, 255, 255, .14); color: #fff; }
.croute--main small { color: #eadccb; }
.croute__tel { font-family: var(--en); font-weight: 600; font-size: 30px; letter-spacing: .04em; line-height: 1.1; }
@media (max-width: 900px) { .cta__in { grid-template-columns: minmax(0, 1fr); } .cta .ph { aspect-ratio: 16 / 10; } }
@media (max-width: 640px) {
  .cta__ttl { text-align: center; }
  .cta__lead { text-align: center; }
  .croute { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px 18px; gap: 10px; }
  .croute .pill__arrow { display: none; }
}

/* ---------- footer ---------- */
.ft { background: var(--dark); color: #cfcac3; padding: 88px 0 40px; }
.ft__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.ft__logo img { height: 46px; width: auto; }
.ft__addr { margin-top: 24px; font-size: var(--fs-small); line-height: 2; }
.ft__tel { margin-top: 12px; font-family: var(--en); font-size: 30px; font-weight: 600; color: #fff; letter-spacing: .04em; line-height: 1.2; }
.ft__tel small { display: block; font-family: var(--sans); font-size: var(--fs-caption); color: #a9a39b; letter-spacing: .06em; }
.ft__sns { margin-top: 24px; display: flex; gap: 12px; }
.ft__sns a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px #4a4f53; color: #fff; font-size: 13px; font-weight: 700; }
.ft__sns svg { width: 18px; height: 18px; }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft__nav h2 { font-family: var(--en); font-weight: 600; font-size: 22px; color: #d4b48f; letter-spacing: .06em; line-height: 1.3; }
.ft__nav ul { margin-top: 12px; }
.ft__nav a { display: block; padding: 5px 0; font-size: var(--fs-small); line-height: 1.7; color: #e6e1da; }
.ft__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft__bottom { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--fs-caption); color: #a9a39b; }
.ft__bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .ft__top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .ft { padding-top: 64px; text-align: center; }
  .ft__logo { display: flex; justify-content: center; }
  .ft__sns { justify-content: center; }
  .ft__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; gap: 28px 20px; }
  .ft__bottom { justify-content: center; text-align: center; }
}

/* ---------- lower page hero ---------- */
.pghero { position: relative; padding-top: 96px; }
.pghero__ph { position: relative; margin: 0 var(--gut); height: clamp(320px, 52svh, 560px); border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.pghero__ph img { width: 100%; height: 100%; object-fit: cover; }
.pghero__box { position: relative; z-index: 2; margin: -120px 0 0 var(--gut); width: min(760px, calc(100% - var(--gut) * 2)); padding: 40px 48px 0 0; background: var(--bg); border-radius: 0 8px 0 0; }
.pghero__box::before { content: ''; position: absolute; left: calc(var(--gut) * -1); top: 0; bottom: 0; width: var(--gut); background: var(--bg); }
.pghero__lb { font-size: var(--fs-small); font-weight: 700; color: var(--brand); letter-spacing: .16em; }
.pghero__en { font-family: var(--en); font-weight: 600; font-size: var(--fs-display); color: var(--brand); line-height: 1; letter-spacing: .02em; margin-top: 8px; white-space: nowrap; }
.pghero__ttl { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h2); color: var(--ink); line-height: 1.5; letter-spacing: .06em; margin-top: 16px; }
.pghero__ttl .ln { white-space: nowrap; }
.crumb { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 28px; font-size: var(--fs-caption); color: var(--ink-3); line-height: 1.8; }
.crumb li + li::before { content: '/'; margin: 0 10px; color: var(--line-strong); }
.crumb a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.pghero + .wrap .crumb, .crumbwrap { margin-bottom: 0; }
@media (max-width: 640px) {
  .pghero { padding-top: 80px; }
  .pghero__ph { margin: 0; border-radius: 0; height: 300px; }
  .pghero__box { margin: -56px auto 0; width: calc(100% - 32px); padding: 28px 16px 0; border-radius: 8px 8px 0 0; text-align: center; }
  .pghero__box::before { display: none; }
  .crumb { justify-content: center; }
}

/* ---------- generic blocks for lower pages ---------- */
.stmt { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); line-height: 1.8; color: var(--ink); letter-spacing: .06em; }
.stmt .ln { white-space: nowrap; }
.stmt--center { text-align: center; }
.center-txt { text-align: center; }
.center-txt .ln { display: block; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.point { padding: 36px 28px 32px; border-radius: 8px; background: #fff; text-align: center; display: grid; justify-items: center; align-content: start; }
.sec--soft .point, .sec--tint .point { background: #fff; }
.sec:not(.sec--soft):not(.sec--tint):not(.sec--dark) .point { background: var(--bg-soft); }
.point__ic { width: 88px; height: 88px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.point__ic svg { width: 42px; height: 42px; }
.point__no { font-family: var(--en); font-weight: 600; font-size: 20px; color: var(--brand); letter-spacing: .08em; line-height: 1; margin-top: 20px; }
.point__t { margin-top: 12px; font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.6; word-break: auto-phrase; text-wrap: balance; }
.point__b { margin-top: 12px; font-size: var(--fs-small); line-height: 1.9; text-align: left; }
@media (max-width: 1024px) { .points, .points--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .points, .points--2, .points--4 { grid-template-columns: minmax(0, 1fr); } }

.dtable { width: 100%; border-collapse: collapse; }
.dtable th, .dtable td { padding: 22px 0; text-align: left; vertical-align: top; box-shadow: 0 1px 0 var(--line); line-height: 1.9; }
.dtable th { width: 200px; padding-right: 24px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.dtable tr:first-child th, .dtable tr:first-child td { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
@media (max-width: 640px) {
  .dtable, .dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; width: 100%; }
  .dtable th { padding: 18px 0 0; box-shadow: none !important; color: var(--brand-deep); }
  .dtable td { padding: 4px 0 18px; }
}

.timeline { display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 18px 0; box-shadow: 0 1px 0 var(--line); line-height: 1.8; }
.timeline time { font-weight: 700; color: var(--brand-deep); }
.timeline li.is-key b { color: var(--ink); }
@media (max-width: 640px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.compare { width: 100%; border-collapse: separate; border-spacing: 8px 0; table-layout: fixed; }
.compare th, .compare td { padding: 16px 18px; vertical-align: top; line-height: 1.8; font-size: var(--fs-small); text-align: left; }
.compare thead th { background: var(--ink); color: #fff; font-size: var(--fs-body); text-align: center; border-radius: 6px 6px 0 0; }
.compare thead th.is-ours { background: var(--brand); }
.compare thead .is-blank { background: none; }
.compare tbody th { color: var(--ink); width: 110px; white-space: nowrap; }
.compare tbody td { background: #fff; box-shadow: 0 1px 0 var(--line); }
.compare tbody td.is-ours { background: var(--tint); color: var(--ink); font-weight: 700; }
.compare ul li { position: relative; padding-left: 1.1em; }
.compare ul li::before { content: '・'; position: absolute; left: 0; }
.tscroll { overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
.tscroll .compare { min-width: 1000px; }

.cases { display: grid; gap: 16px; counter-reset: c; }
.case { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 28px 32px; border-radius: 8px; background: #fff; }
.case::before { counter-increment: c; content: counter(c, decimal-leading-zero); font-family: var(--en); font-weight: 600; font-size: 40px; color: var(--brand); line-height: 1; }
.case b { display: block; color: var(--ink); line-height: 1.7; }
.case p { margin-top: 8px; font-size: var(--fs-small); }
@media (max-width: 640px) { .case { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 24px 20px; } .case p { text-align: left; } }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 8px; background: #fff; }
.sec:not(.sec--soft) .faq details { background: var(--bg-soft); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; gap: 16px; align-items: center; padding: 22px 24px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--en); font-weight: 600; font-size: 22px; }
.faq summary::after { content: ''; width: 40px; height: 40px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M8 3v10' stroke='%235f4026' stroke-width='1.8'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__cat { display: block; font-size: var(--fs-caption); color: var(--brand); letter-spacing: .1em; }
.faq__a { padding: 0 24px 28px 84px; }
.faq__a b { display: block; color: var(--ink); margin-bottom: 8px; }
@media (max-width: 640px) { .faq summary { grid-template-columns: 36px minmax(0, 1fr) 32px; gap: 12px; padding: 18px 16px; } .faq summary::before { width: 36px; height: 36px; font-size: 18px; } .faq summary::after { width: 32px; height: 32px; } .faq__a { padding: 0 18px 24px; } }

/* family photo nav */
.fnav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.fnav a { display: grid; color: var(--ink); }
.fnav .ph { aspect-ratio: 4 / 3; }
.fnav__lb { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: var(--fs-small); line-height: 1.5; }
.fnav__lb .pill__arrow { width: 30px; height: 30px; }
.fnav a[aria-current] .ph { box-shadow: 0 0 0 3px var(--brand); }
.fnav a[aria-current] .fnav__lb::after { content: '表示中'; font-size: var(--fs-caption); color: var(--brand); order: 2; }
.fnav a[aria-current] .pill__arrow { display: none; }
@media (max-width: 1024px) { .fnav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .fnav { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fnav a { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; box-shadow: 0 1px 0 var(--line); }
  .fnav__lb { margin-top: 0; font-size: var(--fs-body); }
}

/* staff */
.staffs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.staff { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; padding: 28px; border-radius: 8px; background: #fff; align-items: start; }
.staff .ph { aspect-ratio: 4 / 5; }
.staff .ph img { object-position: 30% 20%; }
.staff__role { font-size: var(--fs-caption); color: var(--brand); font-weight: 700; letter-spacing: .08em; }
.staff__name { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.5; margin-top: 4px; }
.staff__lic { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.staff__car { margin-top: 14px; font-size: 13px; line-height: 1.8; }
.staff__car li { padding-left: 1em; text-indent: -1em; }
.staff__car li::before { content: '・'; }
@media (max-width: 1024px) { .staffs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .staff { grid-template-columns: minmax(0, 1fr); text-align: center; } .staff .ph { max-width: 320px; margin: 0 auto; width: 100%; } .staff__lic { justify-content: center; } .staff__car { text-align: left; } }

/* MVV */
.mvv { display: grid; gap: 20px; }
.mvv__item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 40px; border-radius: 8px; background: #fff; }
.mvv__en { font-family: var(--en); font-weight: 600; font-size: 40px; color: var(--brand); line-height: 1; }
.mvv__en small { display: block; font-family: var(--sans); font-size: var(--fs-caption); color: var(--ink-3); margin-top: 10px; letter-spacing: .06em; line-height: 1.6; }
.mvv__t { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.7; }
.mvv__t .ln, .vals .ln { white-space: nowrap; }
.mvv__b { margin-top: 14px; }
.vals { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vals li { padding: 16px; border-radius: 6px; background: var(--tint); font-weight: 700; color: var(--ink); font-size: var(--fs-small); line-height: 1.7; text-align: center; }
@media (max-width: 1024px) { .vals { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .mvv__item { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 16px; text-align: center; } .mvv__b { text-align: left; } }

/* guarantee list */
.wlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.witem { padding: 32px; border-radius: 8px; background: #fff; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; }
.witem i { width: 72px; height: 72px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.witem i svg { width: 34px; height: 34px; }
.witem__no { font-family: var(--en); font-weight: 600; font-size: 18px; color: var(--brand); letter-spacing: .08em; line-height: 1; }
.witem__t { margin-top: 8px; font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--ink); line-height: 1.6; }
.witem p { margin-top: 10px; font-size: var(--fs-small); line-height: 1.9; }
@media (max-width: 900px) { .wlist { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .witem { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .witem p { text-align: left; } }

/* price bands */
.bands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.band { border-radius: 8px; overflow: hidden; background: #fff; display: grid; align-content: start; }
.band .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.band__body { padding: 28px; }
.band__p { font-family: var(--serif); font-weight: 700; color: var(--brand-deep); font-size: 28px; line-height: 1.4; }
.band__p small { font-size: 16px; margin-left: 2px; }
.band__body p { margin-top: 12px; font-size: var(--fs-small); line-height: 1.9; }
@media (max-width: 1024px) { .bands { grid-template-columns: minmax(0, 1fr); } .band { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .band .ph { aspect-ratio: auto; height: 100%; } }
@media (max-width: 640px) { .band { grid-template-columns: minmax(0, 1fr); } .band .ph { aspect-ratio: 16 / 10; } .band__p { text-align: center; } }
.pricebox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pricebox > div { padding: 32px 24px; border-radius: 8px; background: var(--brand-deep); color: #fff; text-align: center; }
.pricebox b { display: block; font-family: var(--en); font-weight: 600; font-size: 48px; line-height: 1.1; letter-spacing: .02em; white-space: nowrap; }
.pricebox b small { font-family: var(--sans); font-size: 16px; margin-left: 4px; }
.pricebox span { display: block; margin-top: 8px; font-size: var(--fs-small); color: #eadccb; line-height: 1.7; }
@media (max-width: 900px) { .pricebox { grid-template-columns: minmax(0, 1fr); } }

/* forms */
.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.form__lb { font-weight: 700; color: var(--ink); padding-top: 12px; line-height: 1.6; }
.form__lb em { font-style: normal; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--brand); color: #fff; font-size: var(--fs-caption); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; font: inherit; color: var(--ink);
}
.form textarea { min-height: 180px; resize: vertical; }
.form__opts { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 10px; }
.form__opts label { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; }
.form__opts input { width: 20px; height: 20px; accent-color: var(--brand); }
.form__agree { text-align: center; }
.form__submit { display: flex; justify-content: center; }
.form__submit .pill { min-width: 320px; }
.form__done { padding: 28px; border-radius: 8px; background: var(--tint); color: var(--ink); text-align: center; font-weight: 700; }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); gap: 8px; } .form__lb { padding-top: 0; } .form__submit .pill { min-width: 0; width: 100%; } }

/* detail page */
.wdet__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.wdet__gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pg); }
.wdet__gal .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.wdet__gal .ph { aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .wdet__meta { grid-template-columns: minmax(0, 1fr); } .wdet__gal { grid-template-columns: minmax(0, 1fr); } }
.pager { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.article { max-width: 760px; margin: 0 auto; }
.article__meta { display: flex; align-items: center; gap: 12px; }
.article__meta time { font-family: var(--en); font-weight: 600; font-size: 18px; color: var(--ink-3); }
.article__ttl { margin-top: 12px; font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); color: var(--ink); line-height: 1.6; }
.article__body { margin-top: 32px; }
.quote { padding: 40px; border-radius: 8px; background: var(--tint); }
.quote p { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 2.1; color: var(--ink); }
.quote cite { display: block; margin-top: 20px; font-style: normal; font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 640px) { .quote { padding: 28px 22px; } .quote p { font-size: 17px; } }

.img-note { margin-top: 16px; font-size: var(--fs-caption); color: var(--ink-3); }
.sec-intro { max-width: 880px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vtags { display: flex; flex-wrap: wrap; gap: 6px; }
.ph--low img { object-position: 50% 70%; }
.chips li { padding: 4px 12px; border-radius: 4px; background: var(--tint); color: var(--brand-deep); font-size: 13px; font-weight: 700; line-height: 1.7; }
@media (max-width: 640px) { .chips { justify-content: center; } }
.mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: 80px; }
.ill { width: 100%; height: auto; }

.policy { margin-top: 48px; }
.policy dt { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.6; margin-top: 40px; }
.policy dd { margin-top: 12px; }
.policy__list { margin-top: 12px; }
.policy__list li { position: relative; padding-left: 1.2em; }
.policy__list li::before { content: '・'; position: absolute; left: 0; }
[hidden] { display: none !important; }
