/* 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; }
/* long sub-text fills every line to both edges; a centred block keeps only its last line centred (main.js flowAlign) */
.phr .txt-j { text-align: justify; text-justify: inter-character; text-wrap: wrap; }
.phr .txt-j--c { text-align-last: center; }
/* inline words inside flowing text flow with it (the heading rule above keeps them whole); .nw stays whole */
.phr .txt-flow :is(span, a, small, b, strong, em):not(.nw) { word-break: normal; }
.tl.is-nw { white-space: nowrap; }
.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 (text only, no plate) ---------- */
/* over the MV: white text with a soft shadow; once scrolled: the page colour behind, ink text */
.hd {
  position: fixed; z-index: 90; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 28px;
  height: 88px; padding: 0 var(--gut);
  background: transparent;
  will-change: transform;
}
.hd { transition: background-color .4s; }
.hd.is-solid { background: rgba(245, 242, 236, .94); }
.hd__logo { position: relative; flex: none; display: flex; align-items: center; }
.hd__logo img { width: auto; height: 54px; transition: opacity .3s; }
.hd__logo-w { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.hd__nav { display: flex; align-self: stretch; gap: clamp(18px, 2.2vw, 36px); margin-left: auto; }
.hd__item { display: flex; align-items: center; }
.hd__link { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: .1em; line-height: 44px; white-space: nowrap; transition: color .3s, opacity .3s; }
.hd__link { position: relative; }
.hd__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s ease; }
.hd__link:hover::after, .hd__item:hover .hd__link::after, .hd__link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.hd__cta { display: flex; gap: 14px; }
.hd__menu {
  flex: none; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer;
  display: grid; place-content: center; gap: 7px;
}
.hd__menu span { display: block; width: 38px; height: 1px; background: var(--ink); transition: transform .25s, opacity .25s, background .3s; }
.is-menu .hd__menu span:nth-child(1) { transform: translateY(8px) rotate(24deg); }
.is-menu .hd__menu span:nth-child(2) { opacity: 0; } .is-menu .hd__menu span:nth-child(3) { transform: translateY(-8px) rotate(-24deg); }
.hd.is-over .hd__link { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 2px 14px rgba(0, 0, 0, .35); }
.hd.is-over .hd__link:hover { opacity: .75; }
.hd.is-over .hd__menu span { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.hd.is-over .hd__logo-ink { opacity: 0; }
.hd.is-over .hd__logo-w { opacity: 1; }
.hd__tel { display: none; }
@media (max-width: 1240px) { .hd__nav { display: none; } .hd__cta { margin-left: auto; } }
@media (max-width: 1024px) { .hd__cta .hd__btn:first-child { display: none; } }
@media (max-width: 640px) {
  .hd { height: 64px; padding: 0 8px 0 16px; gap: 8px; }
  .hd__logo img { height: 40px; }
  .hd__btn { height: 38px; padding: 0 12px; font-size: 12px; letter-spacing: .06em; }
  .hd__menu span { width: 30px; }
  .hd__menu { margin-right: 0; }
}
@media (max-width: 380px) { .hd__logo img { height: 34px; } .hd__btn { padding: 0 10px; 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(20px); transition: opacity 1.4s ease, transform 1.4s ease; }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rvimg { opacity: 0; transition: opacity 1.6s ease; }
.js .rvimg.is-in { opacity: 1; }
.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 2.5s ease-in-out .3s; }
.mv__slide.is-on { opacity: 1; }
.mv__slide img { width: 100%; height: 100%; object-fit: cover; }
.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; right: var(--gut); bottom: 164px; 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; }
/* 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__head .mv__catch { font-size: min(9.6vw, 5.6svh, 42px); }
  .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; }
    .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 (strength): what goes wrong when the work is split, and what Nishimura does instead ---------- */
.relay { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.relay__row { padding: 32px 40px 36px; border-radius: 8px; background: var(--bg-soft); }
.relay__row.is-ours { background: var(--tint); }
.relay__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; }
.relay__tag { font-size: var(--fs-small); font-weight: 700; letter-spacing: .12em; color: var(--ink-3); }
.is-ours .relay__tag { color: var(--brand-deep); }
.relay__t { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); line-height: 1.6; letter-spacing: .06em; color: var(--ink); }
.relay__body { margin-top: 20px; }
.relay__fig { aspect-ratio: 12 / 5; }
.relay__fig img { width: 100%; height: 100%; object-fit: contain; }
/* labels sit right under each figure: --x = the figure's centre in the illustration (set per label in the HTML) */
.relay__lbl { position: relative; height: 44px; margin-top: 8px; }
.relay__lbl li { position: absolute; top: 0; left: var(--x, 50%); transform: translateX(-50%); text-align: center; }
.relay__lbl li { font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; color: var(--ink); white-space: nowrap; }
.relay__lbl small { display: block; font-size: var(--fs-caption); font-weight: 700; color: var(--ink-3); }
.relay__lbl .is-res small { color: var(--ink); }
.is-ours .relay__lbl .is-res small { color: var(--brand-deep); }
.relay__pts { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.relay__pts li { text-wrap: balance; padding-top: 12px; box-shadow: inset 0 1px 0 var(--line-strong); font-size: var(--fs-small); font-weight: 700; line-height: 1.8; color: var(--ink-2); }
.is-ours .relay__pts li { color: var(--brand-deep); box-shadow: inset 0 1px 0 var(--brand); }
@media (max-width: 900px) {
  .relay__row { padding: 24px 20px 28px; }
  .relay__pts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .relay__head { display: block; text-align: center; }
  .relay__t { margin-top: 4px; }
  /* one screen: the whole illustration at full phone width, no sideways scrolling */
  .relay { margin-inline: calc(50% - 50vw); gap: 12px; }
  .relay__row { border-radius: 0; padding: 30px 0 32px; }
  .relay__head, .relay__pts { padding-inline: var(--gut); }
  .relay__body { margin-top: 18px; }
  /* same picture as on PC: one line per label under each figure (--xs nudges a label where neighbours would touch) */
  .relay__lbl { height: 58px; margin-top: 6px; }
  .relay__lbl li { left: var(--xs, var(--x)); width: max-content; font-size: 12px; letter-spacing: 0; white-space: nowrap; }
  .relay__lbl li.is-res { max-width: 66px; white-space: normal; }
  .relay__lbl small { font-size: 12px; letter-spacing: 0; }
}
/* ---------- 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); }
.filterbox--solo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.filterbox--solo .filters { justify-content: center; }
.filterbox--solo .filterbox__count { grid-column: 1; }
@media (max-width: 640px) { .filterbox--solo { justify-items: stretch; } .filterbox--solo .filters { justify-content: flex-start; } }
@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: .06; 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: 20px; fill: #fff; 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: var(--bg-soft); transition: background .3s; }
.trio__item.is-on { background: var(--tint); }
.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-bottom: 16px; 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 .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 { position: relative; padding: clamp(120px, 14vw, 220px) 0; overflow: hidden; background: var(--dark); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__card { position: relative; width: min(860px, 100%); margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 72px); border-radius: 8px; background: var(--bg); }
.cta__card .ttl__lb, .cta__card .cta__ttl { text-align: center; }
.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: 640px) { .cta { padding: 220px 0 0; background: var(--bg-soft); } .cta__bg { bottom: auto; height: 300px; } .cta__card { padding: 36px 20px 40px; border-radius: 8px 8px 0 0; } }
@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: 60px; 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); }
/* phone and tablet: one card per company instead of a table you have to slide */
.cmpc { display: none; }
@media (max-width: 1100px) {
  .tscroll { display: none; }
  .cmpc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 640px) { .cmpc { grid-template-columns: minmax(0, 1fr); } }
.cmpc > li { padding: 24px 24px 26px; border-radius: 8px; background: var(--bg-soft); }
.cmpc > li.is-ours { background: var(--tint); }
.cmpc__name { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .08em; line-height: 1.5; color: var(--ink); text-align: center; }
.is-ours .cmpc__name { color: var(--brand-deep); }
.cmpc dt { margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); }
.cmpc .is-ours dt { color: var(--brand-deep); }
.cmpc dd { margin-top: 6px; }
.cmpc dd li { text-wrap: balance; position: relative; padding-left: 1.1em; font-size: var(--fs-small); line-height: 1.8; color: var(--ink-2); }
.cmpc dd li::before { content: '・'; position: absolute; left: 0; }
.cmpc .is-ours dd li { color: var(--ink); font-weight: 700; }

.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%; }
/* materials / specs: circles (small name + large grade), never thin tinted bars */
.mats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 28px; }
.mats li { width: 176px; height: 176px; border-radius: 50%; background: #e9dac6; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 0 16px; text-align: center; }
.mats small { font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; color: var(--ink-2); }
.mats small .ln { display: block; white-space: nowrap; }
.mats b { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .04em; line-height: 1.2; color: var(--brand-deep); }
@media (max-width: 640px) { .mats { gap: 14px 16px; } .mats li { width: 150px; height: 150px; padding: 0 10px; } .mats small { font-size: 12px; } .mats b { font-size: 22px; } }
.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; }
/* ---------- concept equation: you x Nishimura = the only house ---------- */
.eqn { display: grid; grid-template-columns: minmax(0, 4fr) 64px minmax(0, 7fr) 64px minmax(0, 4fr); align-items: stretch; gap: 0; }
.eqn__card { display: grid; align-content: start; justify-items: center; gap: 14px; padding: 32px 26px 30px; border-radius: 8px; background: #fff; text-align: center; }
.eqn__card--ours { padding: 32px 28px; }
.eqn__card--result { background: var(--brand-deep); color: #f1e7da; }
.eqn__en { font-family: var(--en); font-weight: 600; font-size: 20px; letter-spacing: .12em; line-height: 1; color: var(--brand); }
.eqn__card--result .eqn__en { color: #e7cfb0; }
.eqn__ttl { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); line-height: 1.6; color: var(--ink); letter-spacing: .06em; }
.eqn__ttl .ln { white-space: nowrap; }
.eqn__card--result .eqn__ttl { color: #fff; font-size: 28px; }
.eqn__il { width: 100%; max-width: 240px; aspect-ratio: 4 / 3; }
.eqn__il img { width: 100%; height: 100%; object-fit: contain; }
.eqn__card--result .eqn__il { background: #fff; border-radius: 6px; padding: 10px; max-width: 260px; }
.eqn__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.eqn__tags li { padding: 2px 10px; border-radius: 4px; background: var(--tint); color: var(--brand-deep); font-size: 13px; font-weight: 700; line-height: 1.8; }
.eqn__txt { font-size: var(--fs-small); line-height: 1.9; text-align: left; }
.eqn__op { display: grid; place-items: center; font-family: var(--en); font-weight: 500; font-size: 64px; line-height: 1; color: var(--brand); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; }
.team li { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 12px 6px 14px; border-radius: 6px; background: var(--tc, var(--bg-soft)); transition: background .4s; }
.team li.is-on { background: var(--tc2, var(--tint)); }
.team__il { width: 100%; max-width: 120px; aspect-ratio: 4 / 5; }
.team__il img { width: 100%; height: 100%; object-fit: contain; }
.team b { font-size: 14px; line-height: 1.5; color: var(--ink); }
.team small { font-size: var(--fs-caption); line-height: 1.7; color: var(--ink-2); }
.eqn__note { margin-top: 28px; text-align: center; }
.eqn .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eqn .team li { padding: 14px 10px 16px; text-align: center; }
.eqn .team__il { max-width: 88px; }
.eqn .team b { font-size: 13.5px; }
@media (max-width: 640px) {
  .eqn .team { grid-template-columns: minmax(0, 1fr); }
  .eqn .team li { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 12px; row-gap: 2px; padding: 12px 14px; text-align: left; }
  .eqn .team__il { grid-row: span 2; max-width: 64px; }
  .eqn .team b { align-self: end; font-size: 14px; }
  .eqn .team small { align-self: start; }
}
.eqn .rv.d1 { transition-delay: .15s; } .eqn .rv.d2 { transition-delay: .3s; } .eqn .rv.d3 { transition-delay: .45s; } .eqn .rv.d4 { transition-delay: .6s; }
@media (max-width: 1180px) {
  .eqn { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); }
  .eqn__card--ours { grid-column: 1 / -1; grid-row: 2; margin-top: 16px; }
  .eqn > .eqn__op:nth-of-type(2) { display: none; }
  .eqn__card--result { grid-column: 3; grid-row: 1; }
}
@media (max-width: 640px) {
  .eqn { grid-template-columns: minmax(0, 1fr); }
  .eqn__card--ours, .eqn__card--result { grid-column: auto; grid-row: auto; margin-top: 0; }
  .eqn > .eqn__op:nth-of-type(2) { display: grid; }
  .eqn__op { height: 64px; font-size: 52px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team__il { max-width: 140px; }
}
/* team illustration inside the strength page cards */
.point__il { width: 100%; max-width: 170px; aspect-ratio: 4 / 5; }
.point__il img { width: 100%; height: 100%; object-fit: contain; }
/* ---------- message page ---------- */
.msg { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.msg__ph .ph { aspect-ratio: 4 / 5; }
.msg__name { margin-top: 20px; font-family: var(--serif); font-weight: 700; font-size: 28px; color: var(--ink); line-height: 1.5; letter-spacing: .1em; }
.msg__name small { display: block; font-family: var(--sans); font-size: var(--fs-caption); font-weight: 700; color: var(--brand); letter-spacing: .08em; }
.msg__lic { margin-top: 14px; }
.msg__catch { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h2); line-height: 1.6; color: var(--ink); letter-spacing: .06em; }
.msg__catch .ln { white-space: nowrap; }
.story { display: grid; gap: 16px; }
.story__item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; padding: 32px 36px; border-radius: 8px; background: #fff; }
.story__no { font-family: var(--en); font-weight: 600; font-size: 56px; line-height: 1; color: var(--brand); }
.story__t { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); line-height: 1.6; color: var(--ink); }
.story__item p { margin-top: 12px; }
.story__q { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--brand-deep); line-height: 1.8; }
@media (max-width: 900px) { .msg { grid-template-columns: minmax(0, 1fr); } .msg__ph { max-width: 420px; width: 100%; margin: 0 auto; text-align: center; } .msg__lic { justify-content: center; } }
@media (max-width: 640px) {
  .msg__catch { text-align: center; }
  .story__item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 26px 22px; }
  .story__no, .story__t, .story__q { text-align: center; }
}

/* ---------- staff page ---------- */
.team--lg { max-width: 1040px; margin: 0 auto; gap: 20px; }
.team--lg li { padding: 22px 14px 24px; }
.team--lg li.is-on { background: var(--tc2, var(--tint)); }
.team--lg .team__il { max-width: 180px; }
.team--lg b { font-size: var(--fs-body); }
.team--lg small { font-size: 13px; }
.leader { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 8px; background: var(--bg-soft); }
.leader .ph { aspect-ratio: 3 / 2; }
.leader .ph img { object-position: 35% 25%; }
.leader__name { margin-top: 6px; font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); color: var(--ink); line-height: 1.5; letter-spacing: .12em; }
.leader__q { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.9; color: var(--brand-deep); }
.dept { margin-top: clamp(56px, 7vw, 88px); }
.dept__ttl { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.5; }
.dept__ttl small { font-family: var(--en); font-weight: 600; font-size: 30px; color: var(--brand); letter-spacing: .04em; }
.members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.member { display: grid; align-content: start; }
.member .ph { aspect-ratio: 3 / 2; }
.member .ph img { object-position: 35% 25%; }
.ph--logo { display: grid; place-items: center; background: var(--tint); }
.ph--logo img { width: 56% !important; height: auto !important; object-fit: contain; }
.member__dept { margin-top: 16px; font-size: var(--fs-caption); font-weight: 700; color: var(--brand); letter-spacing: .08em; line-height: 1.6; }
.member__name { margin-top: 2px; font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--ink); letter-spacing: .12em; line-height: 1.5; }
.member__lic { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.member__car { margin-top: 10px; font-size: var(--fs-small); line-height: 1.8; }
@media (max-width: 1024px) { .members { grid-template-columns: repeat(2, minmax(0, 1fr)); } .leader { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .members { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .member, .leader__body { text-align: center; }
  .member__lic { justify-content: center; }
  .member__car { text-align: left; }
  .dept__ttl { justify-content: center; flex-direction: column; align-items: center; gap: 2px; }
  .team--lg { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .team--lg li { grid-template-columns: 88px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 14px; row-gap: 2px; text-align: left; padding: 14px 16px; }
  .team--lg .team__il { grid-row: span 2; max-width: 88px; }
  .team--lg b { align-self: end; }
  .team--lg small { align-self: start; }
}
/* MV head: vertical catch + horizontal sub catch, white text with a soft black shadow */
.mv__head { position: absolute; z-index: 3; right: calc(var(--gut) + 4vw); top: clamp(120px, 16svh, 170px); display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.mv__head .mv__catch { position: static; font-weight: 600; font-size: clamp(36px, min(4.4vw, 6.6svh), 70px); line-height: 1.55; letter-spacing: .16em; }
.mv__head .mv__catch > span + span { margin-inline-start: 0; margin-block-start: .5em; }

.mv__sub { font-family: var(--serif); font-weight: 600; font-size: clamp(16px, 1.5vw, 22px); letter-spacing: .14em; line-height: 1.6; color: #fff; white-space: nowrap; text-shadow: 0 2px 4px rgba(0, 0, 0, .5), 0 4px 18px rgba(0, 0, 0, .5); }
@media (max-width: 640px) {
  /* phone: the catch stands in the middle of the photo (house fronts fill the whole width, no side is empty) */
  .mv__head { inset: 72px 0 56px; justify-content: center; align-items: center; gap: 16px; }
  .mv__head .mv__catch { font-size: min(10vw, 6svh, 44px); }
  .mv__sub { font-size: 15px; letter-spacing: .1em; }
}
/* story copy */
.story-sec { padding-top: clamp(80px, 9vw, 136px); }
.scopy { text-align: center; font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); line-height: 2.3; letter-spacing: .08em; color: var(--ink-2); }
.scopy p + p { margin-top: 1.7em; }
.scopy .ln { white-space: nowrap; }
.scopy__last { color: var(--ink); font-size: 1.12em; }
.mvintro__btns { justify-content: center; margin-top: 48px; }
.team b, .team small { text-wrap: balance; }
.story__t .ln { white-space: nowrap; }
@media (max-width: 640px) { .mvintro__btns { display: none; } }
/* MV strengths (the two "x" of the current site) */
.mv__pts { display: grid; gap: 4px; margin-top: 4px; }
.mv__pts li { font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 1.6vw, 24px); letter-spacing: .14em; line-height: 1.6; color: #fff; white-space: nowrap; text-shadow: 0 2px 4px rgba(0, 0, 0, .5), 0 4px 18px rgba(0, 0, 0, .5); }
.mv__pts i { font-family: var(--en); font-weight: 500; color: #f0dcc2; margin: 0 .1em; }
/* two strengths section */
.twox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.twox__item { display: grid; grid-template-rows: auto 1fr; border-radius: 8px; overflow: hidden; background: var(--bg-soft); color: var(--ink-2); }
.twox__item .ph { border-radius: 0; }
.twox__item .ph img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.twox__item:hover .ph img { transform: scale(1.04); }
.twox__body { display: grid; align-content: start; justify-items: center; padding: 32px 36px 36px; text-align: center; }
.twox__no { font-family: var(--en); font-weight: 600; font-size: 20px; letter-spacing: .1em; color: var(--brand); line-height: 1; }
.twox__f { margin-top: 12px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 .3em; font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3vw, 42px); line-height: 1.4; letter-spacing: .08em; color: var(--ink); }
.twox__f span { white-space: nowrap; }
.twox__f i { font-family: var(--en); font-weight: 500; font-size: 1.2em; color: var(--brand); line-height: 1; }
.twox__txt { margin-top: 16px; }
.twox__facts { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.twox__facts li { width: 108px; height: 108px; border-radius: 50%; background: #e9dac6; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; }
.twox__facts small { font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.3; color: var(--brand-deep); }
.twox__facts b { font-family: var(--en); font-weight: 600; font-size: 38px; line-height: 1; color: var(--brand-deep); }
.twox__facts b span { margin-left: 2px; font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--ink); }
.twox__facts b.is-word { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: .06em; color: var(--ink); line-height: 1.3; }
.twox__go { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.twox__item:hover .twox__go { color: var(--brand-deep); }
.twox__go .pill__arrow { width: 34px; height: 34px; }
@media (max-width: 900px) { .twox { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .mv__pts li { font-size: 15px; letter-spacing: .1em; }
  .twox__body { justify-items: center; text-align: center; padding: 26px 22px 30px; }
  .twox__f { justify-content: center; }
  .twox__txt { text-align: justify; text-justify: inter-character; }
  .twox__facts { justify-content: center; }
}
/* intro right under the MV: sub catch + the two strengths + chips */
.intro { padding: clamp(72px, 9vw, 128px) 0 0; text-align: center; }
.intro__sub { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h2); line-height: 1.6; letter-spacing: .1em; color: var(--ink); }
.intro__sub .ln { display: inline; white-space: nowrap; }
.intro__pts { margin: 56px auto 0; max-width: 960px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intro__pts li { padding: 6px 32px 10px; }
.intro__pts li + li { box-shadow: inset 1px 0 0 var(--line-strong); }
.intro__no { display: flex; justify-content: center; align-items: baseline; gap: 12px; font-family: var(--en); font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: .06em; color: var(--brand); }
.intro + .story-sec { padding-top: clamp(80px, 9vw, 128px); }
@media (max-width: 640px) {
  .intro { padding-top: 56px; }
  .intro__sub .ln { display: block; }
  .intro__pts { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .intro__pts li { padding: 22px 0; }
}
/* ---------- column ---------- */
.colgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.ccard { display: grid; align-content: start; color: var(--ink); }
a.ccard .ph img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
a.ccard:hover .ph img { transform: scale(1.04); }
.ccard__meta { margin-top: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.ccard__meta time { font-family: var(--en); font-weight: 600; font-size: 16px; color: var(--ink-3); }
.ccard__soon { font-size: var(--fs-caption); font-weight: 700; color: var(--ink-3); letter-spacing: .08em; }
.ccard__ttl { text-wrap: balance; margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.7; color: var(--ink); }
.ccard.is-soon .ccard__ttl { color: var(--ink-2); }
.ccard__go { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--fs-small); }
.ccard__go .pill__arrow { width: 32px; height: 32px; }
@media (max-width: 1024px) { .colgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .colgrid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .ccard { text-align: center; } .ccard__meta { justify-content: center; } }
.colart__by { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-3); }
.colart__lead { margin-top: 28px; font-size: var(--fs-lead); }
.toc { margin-top: 36px; padding: 24px 28px; border-radius: 8px; background: var(--bg-soft); }
.toc__ttl { font-weight: 700; color: var(--ink); }
.toc ol { margin-top: 8px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: block; position: relative; padding: 6px 0 6px 2em; text-wrap: balance; color: var(--ink); line-height: 1.7; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.toc a::before { position: absolute; left: 0; top: 6px; content: counter(toc, decimal-leading-zero); font-family: var(--en); font-weight: 600; color: var(--brand); text-decoration: none; }
.colart__h { text-wrap: balance; margin: 56px 0 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; font-family: var(--serif); font-weight: 700; font-size: var(--fs-h4); line-height: 1.6; color: var(--ink); scroll-margin-top: 110px; }
.colart__h em { text-wrap: balance; }
.colart__h span { font-family: var(--en); font-weight: 600; font-size: 30px; color: var(--brand); line-height: 1; }
.colart__fig { margin-top: 32px; }
.colart__fig figcaption { margin-top: 8px; }
.colart__box { margin-top: 48px; padding: 24px 28px; border-radius: 8px; background: var(--tint); }
.colart__box-t { font-weight: 700; color: var(--ink); }
.colart__box .btns { margin-top: 10px; gap: 8px 28px; }
@media (max-width: 640px) { .colart__h { grid-template-columns: minmax(0, 1fr); gap: 4px; text-align: center; } .colart__box .btns { flex-direction: column; } }
[hidden] { display: none !important; }

/* ---------- motion (slow and quiet) ---------- */
/* page fades in on load */
body { animation: pagein .9s ease backwards; }
@keyframes pagein { from { opacity: 0; } }
/* MV: the page slides up over the photo (the MV stays put while the intro covers it) */
.mvstage { position: relative; }
.mvstage > .mv { position: sticky; top: 0; z-index: 0; }
.mvstage > section:not(.mv) { position: relative; z-index: 1; background: var(--bg); }
/* catch: the two lines appear one after the other */
.mv__catch .ch { display: inline-block; animation: catchin 1.3s ease calc(.6s + var(--n, 0) * .08s) backwards; }
@keyframes catchin { from { opacity: 0; transform: translateY(-10px); } }
/* scroll cue: a fine line with a dot running down */
.mv__scroll { position: absolute; z-index: 3; left: 50%; bottom: 0; width: 5px; height: 84px; margin-left: -2px; overflow: hidden; pointer-events: none; }
.mv__scroll::before { content: ''; position: absolute; top: 0; bottom: 0; left: 2px; width: 1px; background: rgba(255, 255, 255, .45); }
.mv__scroll::after { content: ''; position: absolute; top: 0; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: scrollcue 2s cubic-bezier(.64, .02, .62, .99) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-10px); } 80% { transform: translateY(70px); } 100% { transform: translateY(84px); } }
@media (max-width: 640px) { .mv__scroll { left: auto; right: 24px; height: 64px; } @keyframes scrollcue { 0% { transform: translateY(-10px); } 80% { transform: translateY(52px); } 100% { transform: translateY(64px); } } }
/* photos drift slightly slower than the page (set by JS) */
.plx { will-change: transform; }
/* widening photo: pinned while it opens from a narrow strip to the full width, three photos fade in turn */
.xband { position: relative; height: 160vh; }
.xband__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.xband__ph { position: relative; width: calc(30vw + 70vw * var(--xp, 0)); height: min(64vh, 620px); overflow: hidden; }
.xband__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease-in-out; }
.xband__slide.is-on { opacity: 1; z-index: 1; transition: opacity .8s ease-in-out; }
.xband__slide img { position: absolute; left: 50%; top: 0; width: 100vw; max-width: none; height: 100%; object-fit: cover; transform: translateX(-50%); }
@media (max-width: 640px) {
  .xband { height: 140svh; }
  .xband__pin { height: 100svh; }
  .xband__ph { width: calc(56vw + 44vw * var(--xp, 0)); height: 58svh; }
}
@media (prefers-reduced-motion: reduce) {
  body, .mv__catch .ch { animation: none; }
  .mv__scroll { display: none; }
  .mvstage > .mv { position: relative; }
  .xband { height: auto; }
  .xband__pin { position: static; height: auto; padding: 48px 0; }
  .xband__ph { width: 100%; }
  .xband__slide + .xband__slide { display: none; }
}
/* ---------- story: photos around the text, each drifting at its own speed ---------- */
.storyx { position: relative; --side: calc((100% - 600px) / 2 - 16px); }
.storyx__ph { position: absolute; z-index: 0; will-change: transform; }
.storyx__ph .ph { border-radius: 4px; }
.storyx__ph--1 { left: 0; top: -2%; width: var(--side); }
.storyx__ph--1 .ph { aspect-ratio: 4 / 5; }
.storyx__ph--2 { right: 0; top: 8%; width: calc(var(--side) * .66); }
.storyx__ph--2 .ph { aspect-ratio: 3 / 4; }
.storyx__ph--3 { left: calc(var(--side) * .3); top: 60%; width: calc(var(--side) * .6); }
.storyx__ph--3 .ph { aspect-ratio: 1 / 1; }
.storyx__ph--4 { right: calc(var(--side) * .1); top: 52%; width: calc(var(--side) * .9); }
.storyx__ph--4 .ph { aspect-ratio: 4 / 3; }
.storyx .scopy { position: relative; z-index: 1; min-width: 0; }
@media (max-width: 1024px) {
  .storyx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .storyx .scopy { grid-column: 1 / -1; grid-row: 1; margin-bottom: 48px; }
  .storyx__ph { position: relative; inset: auto; width: auto; grid-row: 2; }
  .storyx__ph .ph { aspect-ratio: 4 / 5; }
  .storyx__ph--2, .storyx__ph--4 { margin-top: 40px; }
}
@media (max-width: 640px) {
  .storyx { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .storyx .scopy { order: -1; margin-bottom: 40px; }
  .storyx__ph--2, .storyx__ph--3 { display: none; }
  .storyx__ph--1 { width: 72%; margin: 0; }
  .storyx__ph--4 { width: 62%; margin: 14px 0 0 auto; }
  .storyx__ph--4 .ph { aspect-ratio: 4 / 3; }
}

/* ---------- why: the heading shrinks and stays, the six reasons stack one over another (PC) ---------- */
.wst { --wst-top: 88px; --wst-head: 56px; --wst-row: 58px; }
.wst__head { background: var(--bg); box-shadow: inset 0 -1px 0 var(--line-strong); padding-bottom: 12px; }
.wst__ttl { display: flex; align-items: baseline; gap: 20px; margin-top: 6px; }
.wst__en { font-family: var(--en); font-weight: 600; font-size: var(--fs-display); line-height: 1; letter-spacing: .02em; color: var(--brand); white-space: nowrap; }
.wst__jp { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); line-height: 1.4; letter-spacing: .06em; color: var(--ink); white-space: nowrap; }
.wst__lead { margin: 28px 0 40px; font-size: var(--fs-lead); line-height: 2.1; }
.wst__lead .ln { white-space: nowrap; }
.wst__item { background: var(--bg); box-shadow: inset 0 1px 0 var(--line); }
.wst__row { display: flex; align-items: center; gap: 20px; height: var(--wst-row); }
.wst__no { font-family: var(--en); font-weight: 600; font-size: 22px; letter-spacing: .06em; color: var(--brand); line-height: 1; }
.wst__lb { font-weight: 700; font-size: var(--fs-small); letter-spacing: .14em; color: var(--ink); line-height: 1; }
.wst__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding: 6px 0 40px; }
.wst__body .ph { aspect-ratio: 16 / 10; }
.wst__txt .why__q { margin-top: 0; font-size: var(--fs-h3); }
.wst__txt .why__a { margin-top: 18px; font-size: var(--fs-body); }
.wst__txt .pill { margin-top: 28px; }
.wst__item:nth-child(1) { --i: 0; } .wst__item:nth-child(2) { --i: 1; } .wst__item:nth-child(3) { --i: 2; }
.wst__item:nth-child(4) { --i: 3; } .wst__item:nth-child(5) { --i: 4; } .wst__item:nth-child(6) { --i: 5; }
@media (min-width: 1025px) and (min-height: 700px) {
  .wst__head { position: sticky; top: var(--wst-top); z-index: 8; padding-top: 8px; }
  .wst__head .ttl__lb { height: calc(24px * (1 - var(--wp, 0))); opacity: calc(1 - var(--wp, 0)); overflow: hidden; }
  .wst__en { font-size: calc(30px + 66px * (1 - var(--wp, 0))); }
  .wst__jp { font-size: calc(18px + 16px * (1 - var(--wp, 0))); }
  /* the six reasons live in one pinned stage; JS slides each one up in turn, then the whole stage leaves together */
  .wst { --stage-h: calc(100vh - var(--wst-top) - var(--wst-head)); }
  .wst__track { position: relative; height: calc(var(--stage-h) + 5 * 55vh); }
  .wst__list { position: sticky; top: calc(var(--wst-top) + var(--wst-head)); height: var(--stage-h); overflow: hidden; }
  .wst__item { position: absolute; left: 0; right: 0; top: calc(var(--i) * var(--wst-row)); transform: translate3d(0, var(--y, 0px), 0); will-change: transform; }
  .wst__body { height: clamp(300px, calc(100vh - var(--wst-top) - var(--wst-head) - 6 * var(--wst-row) - 20px), 470px); padding: 0 0 20px; }
  .wst__body .ph { aspect-ratio: auto; height: 100%; }
}
@media (max-width: 1024px) {
  .wst__body { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 4px 0 44px; }
  .wst__txt .why__q { font-size: var(--fs-h4); }
}
@media (max-width: 640px) {
  .wst__head, .wst__lead, .wst__txt { text-align: center; }
  .wst__ttl { flex-direction: column; align-items: center; gap: 10px; }
  .wst__lead .ln { white-space: normal; }
  .wst__row { justify-content: center; }
}

/* ---------- flow: pinned, the steps slide sideways along one line (PC); a swipe row on smaller screens ---------- */
.hflow { --hw: clamp(220px, min(22vw, 34vh), 320px); position: relative; background: var(--bg-soft); }
.hflow__pin { padding: var(--sec) 0; overflow: hidden; }
.hflow__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 48px; }
.hflow__head .ttl { margin-bottom: 0; }
.hflow__lead { font-size: var(--fs-lead); line-height: 2; }
.hflow__lead .ln { white-space: nowrap; }
.hflow__track { margin-top: clamp(36px, 4vw, 56px); }
.hflow__list { position: relative; display: flex; align-items: flex-start; gap: clamp(28px, 3vw, 48px); width: max-content; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)) 8px; }
.hflow__list::before { content: ''; position: absolute; left: 0; right: 0; top: calc(var(--hw) * .375); height: 1px; background: var(--line-strong); }
.hstep { position: relative; width: var(--hw); }
.hstep .ph { aspect-ratio: 4 / 3; border-radius: 4px; }
.hstep__no { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-family: var(--en); font-weight: 600; font-size: 28px; color: var(--brand); line-height: 1; }
.hstep__free { padding: 3px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-family: var(--sans); font-size: var(--fs-caption); font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.hstep__t { margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); }
.hstep__s { margin-top: 6px; font-size: var(--fs-small); line-height: 1.9; color: var(--ink-2); }
.hflow__foot { margin-top: clamp(28px, 3vw, 44px); display: flex; justify-content: center; }
@media (min-width: 1025px) and (min-height: 700px) {
  .hflow { height: calc(100vh + var(--run, 0px)); }
  .hflow__pin { position: sticky; top: 0; height: 100vh; padding: 96px 0 24px; display: flex; flex-direction: column; justify-content: center; }
  .hflow__list { transform: translate3d(calc(var(--run, 0px) * var(--hp, 0) * -1), 0, 0); will-change: transform; }
}
@media (max-width: 1024px) {
  .hflow { --hw: 300px; }
  .hflow__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .hflow__track::-webkit-scrollbar { display: none; }
  .hstep { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .hflow { --hw: 72vw; }
  .hflow__head { justify-content: center; text-align: center; }
  .hflow__lead .ln { white-space: normal; }
}

/* ---------- people: point at a word and its card comes to the front of the deck ---------- */
.pdeck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pdeck__menu .ttl { margin-bottom: 28px; }
.pdeck__links li + li { margin-top: 6px; }
.pdeck__links a { display: flex; align-items: baseline; gap: 18px; color: var(--line-strong); transition: color .4s; }
.pdeck__en { font-family: var(--en); font-weight: 600; font-size: clamp(48px, 6vw, 88px); line-height: 1.1; letter-spacing: .01em; }
.pdeck__jp { font-weight: 700; font-size: var(--fs-small); letter-spacing: .12em; color: var(--ink-3); transition: color .4s; }
.pdeck__links a.is-on, .pdeck__links a:hover, .pdeck__links a:focus-visible { color: var(--brand); }
.pdeck__links a.is-on .pdeck__jp { color: var(--ink); }
.pdeck__txt { margin-top: 28px; max-width: 30em; }
.pdeck__cards { position: relative; aspect-ratio: 5 / 4.6; margin-right: 28px; }
.pcard { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; padding: 22px 22px 26px; border-radius: 8px; background: var(--dark); color: #fff; transition: transform .6s cubic-bezier(.2, .7, .2, 1), background-color .6s; }
.pcard .ph { border-radius: 4px; }
.pcard__en { margin-top: 18px; font-family: var(--en); font-weight: 600; font-size: 34px; line-height: 1; }
.pcard__jp { margin-top: 8px; font-size: var(--fs-small); font-weight: 700; letter-spacing: .12em; color: #d9d6d1; }
.pcard__arw { position: absolute; right: 22px; bottom: 26px; width: 44px; height: 44px; }
.pcard[data-pos="0"] { z-index: 3; }
.pcard[data-pos="1"] { z-index: 2; transform: translateX(14px); background: #3b4045; }
.pcard[data-pos="2"] { z-index: 1; transform: translateX(28px); background: #6f7479; }
@media (max-width: 900px) { .pdeck { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .pdeck__menu { text-align: center; }
  .pdeck__links a { justify-content: center; gap: 12px; }
  .pdeck__en { font-size: 44px; }
  .pdeck__txt { margin: 20px auto 0; text-align: left; }
  .pdeck__cards { aspect-ratio: 4 / 4.4; }
  .pcard { padding: 16px 16px 20px; }
  .pcard__en { font-size: 28px; }
  .pcard__arw { right: 16px; bottom: 20px; }
}

/* ---------- loop: the catch runs across between two fine lines, with small photos of real works ---------- */
.loop { margin: 0 var(--gut); padding: 18px 0; overflow: hidden; box-shadow: inset 0 1px 0 var(--line-strong), inset 0 -1px 0 var(--line-strong); }
.loop__track { display: flex; width: max-content; animation: loopx 70s linear infinite; }
.loop__set { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.loop__t { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: .08em; color: var(--ink); white-space: nowrap; line-height: 1.4; }
.loop__t--en { font-family: var(--en); font-weight: 500; font-size: clamp(24px, 2.9vw, 40px); letter-spacing: .02em; color: var(--brand); }
.loop img { flex: none; width: auto; height: clamp(40px, 4vw, 58px); aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
@keyframes loopx { to { transform: translateX(-50%); } }

/* ---------- column: sideways slider with a progress line ---------- */
.colsl__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.colsl__head .ttl { margin-bottom: 0; }
.colsl__lead { margin-top: 16px; }
.colsl__nav { display: flex; gap: 12px; }
.colsl__btn { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.colsl__btn .pill__arrow { display: block; width: 52px; height: 52px; }
.colsl__btn--prev .pill__arrow { transform: scaleX(-1); }
.colsl__btn:disabled { opacity: .3; cursor: default; }
.colsl { margin-top: clamp(32px, 4vw, 48px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; }
.colsl::-webkit-scrollbar { display: none; }
.colsl__track { display: flex; gap: 28px; width: max-content; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
.colsl__item { width: clamp(270px, 24vw, 330px); scroll-snap-align: start; }
.colsl__card { position: relative; display: block; padding-left: 30px; color: var(--ink); }
.colsl__date { position: absolute; left: 0; top: 0; writing-mode: vertical-rl; font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .1em; line-height: 1; color: var(--ink-3); white-space: nowrap; }
.colsl__card .ph { aspect-ratio: 4 / 3; }
.colsl__card .ph img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
a.colsl__card:hover .ph img { transform: scale(1.04); }
.colsl__card.is-soon .ph { opacity: .6; }
.colsl__body { position: relative; margin: -28px 0 0 16px; padding: 18px 20px 20px; border-radius: 4px; background: var(--bg-soft); }
.colsl__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.colsl__soon { font-size: var(--fs-caption); font-weight: 700; letter-spacing: .08em; color: var(--ink-3); }
.colsl__ttl { margin-top: 10px; font-weight: 700; font-size: var(--fs-small); line-height: 1.8; text-wrap: pretty; }
.colsl__go { display: block; margin: 12px 0 0 auto; width: 30px; height: 30px; }
.colsl__foot { margin-top: 36px; display: flex; align-items: center; gap: 32px; }
.colsl__bar { position: relative; flex: 1; height: 1px; background: var(--line-strong); }
.colsl__bar span { position: absolute; left: 0; top: -1px; height: 3px; width: 30%; border-radius: 2px; background: var(--brand); }
@media (max-width: 640px) {
  .colsl__head { flex-direction: column; align-items: center; text-align: center; }
  .colsl__nav { display: none; }
  .colsl__item { width: 76vw; }
  .colsl__foot { flex-direction: column; gap: 24px; }
  .colsl__bar { flex: none; width: 100%; }
}

/* ---------- buttons: on hover the label slides up and the same label comes in from below ---------- */
.roll { display: inline-grid; overflow: hidden; vertical-align: top; }
.roll > span { grid-area: 1 / 1; transition: transform .45s cubic-bezier(.6, 0, .2, 1); }
.roll__b { transform: translateY(110%); }
@media (hover: hover) {
  a:hover > .roll .roll__a, button:hover > .roll .roll__a { transform: translateY(-110%); }
  a:hover > .roll .roll__b, button:hover > .roll .roll__b { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wst__head, .wst__item, .wst__list { position: static; }
  .wst__track { height: auto; }
  .wst__list { height: auto; overflow: visible; }
  .wst__item { transform: none; }
  .hflow { height: auto; }
  .hflow__pin { position: static; height: auto; }
  .hflow__list { transform: none; }
  .hflow__track { overflow-x: auto; }
  .loop__track { animation: none; }
  .roll > span { transition: none; }
}.cta__card .croute:not(.croute--main) { background: var(--bg-soft); }

/* intro under the MV: the two strengths as two columns, the facts as one line of small text */
.intro__no span { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--ink-3); }
.intro__pair { margin-top: 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.4; letter-spacing: .12em; color: var(--ink); white-space: nowrap; }
.intro__pair i { margin: 0 .3em; font-family: var(--en); font-weight: 400; font-size: 1.15em; color: var(--brand); }
.intro__note { margin-top: 12px; font-size: var(--fs-small); line-height: 1.8; letter-spacing: .08em; color: var(--ink-2); }
.intro__facts { margin-top: 52px; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
.intro__facts li { padding: 0 24px; font-size: 13px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; color: var(--ink-3); }
.intro__facts li + li { box-shadow: inset 1px 0 0 var(--line-strong); }
@media (max-width: 640px) {
  .intro__pts li + li { box-shadow: inset 0 1px 0 var(--line-strong); }
  .intro__pair { font-size: 24px; }
  .intro__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  .intro__facts li { padding: 4px 6px; font-size: 12px; letter-spacing: .08em; }
  .intro__facts li + li { box-shadow: none; }
  .intro__facts li:nth-child(even) { box-shadow: inset 1px 0 0 var(--line-strong); }
}

/* story links: a fine line, the words and a ringed arrow (lighter than the pill buttons; both links the same) */
.lnks { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 64px; }
.lnk { display: inline-flex; align-items: center; gap: 18px; padding: 8px 0; font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .1em; line-height: 1.5; color: var(--ink); }
.lnk__line { flex: none; width: 56px; height: 1px; background: var(--ink); transition: width .45s cubic-bezier(.6, 0, .2, 1); }
.lnk__arw { flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink); transition: background-color .3s; }
.lnk__arw::before {
  content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: var(--ink); transition: background-color .3s, transform .3s;
  -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.6'/%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.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lnk:hover .lnk__line { width: 88px; }
.lnk:hover .lnk__arw { background: var(--ink); }
.lnk:hover .lnk__arw::before { background: #fff; transform: translateX(2px); }
@media (max-width: 640px) { .lnks { flex-direction: column; align-items: center; gap: 6px; margin-top: 40px; } .lnk { font-size: 16px; gap: 14px; } .lnk__line { width: 36px; } }

/* the four specialists each have their own soft colour; the one in turn goes a shade deeper */
.team > li:nth-child(1) { --tc: #f0e7da; --tc2: #e5d4bd; }
.team > li:nth-child(2) { --tc: #e6ebe0; --tc2: #d4ddc9; }
.team > li:nth-child(3) { --tc: #e4e9ee; --tc2: #cfd9e1; }
.team > li:nth-child(4) { --tc: #f3e6de; --tc2: #e8d1c4; }

/* equation: the side cards keep their own height and sit in the middle, so no empty space under the text */
.eqn__card:not(.eqn__card--ours) { align-self: center; }

/* strength section: a short heading over the two still illustrations of how a wish travels */
.relay-head { margin-top: clamp(64px, 8vw, 112px); text-align: center; }
.relay-head__t { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); line-height: 1.6; letter-spacing: .08em; color: var(--ink); }
.relay-head__t .ln { display: inline; white-space: nowrap; }
.relay-head__s { margin-top: 14px; font-size: var(--fs-body); line-height: 1.9; }
.relay-head + .relay { margin-top: 36px; }
@media (max-width: 640px) { .relay-head__t .ln { display: block; } .relay-head__s { text-align: left; } }

/* header: pointing at a menu item opens a panel with its pages as photo cards (PC) */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 36px var(--gut) 44px; background: #f5f2ec; box-shadow: inset 0 1px 0 var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s ease .08s, transform .25s ease .08s, visibility 0s linear .33s; }
.hd__item:hover .mega, .hd__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease .05s, transform .3s ease .05s, visibility 0s; }
.mega__in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.mega__en { font-family: var(--en); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: .02em; color: var(--brand); }
.mega__jp { margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: .1em; color: var(--ink); }
.mega__head .linkchip { margin-top: 28px; font-size: var(--fs-small); }
.mega__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.mega__list a { display: block; color: var(--ink); }
.mega__list .ph { aspect-ratio: 16 / 10; border-radius: 4px; }
.mega__list .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mega__list a:hover .ph img { transform: scale(1.05); }
.mega__list span { display: block; text-wrap: balance; word-break: auto-phrase; margin-top: 10px; font-size: 14px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.mega__list a:hover span { color: var(--brand); }
/* while a panel is open the header turns to the page colour */
.hd:has(.hd__item:hover), .hd:has(.hd__item:focus-within) { background: #f5f2ec; }
.hd.is-over:has(.hd__item:hover) .hd__link, .hd.is-over:has(.hd__item:focus-within) .hd__link { color: var(--ink); text-shadow: none; opacity: 1; }
.hd.is-over:has(.hd__item:hover) .hd__menu span, .hd.is-over:has(.hd__item:focus-within) .hd__menu span { background: var(--ink); box-shadow: none; }
.hd.is-over:has(.hd__item:hover) .hd__logo-ink, .hd.is-over:has(.hd__item:focus-within) .hd__logo-ink { opacity: 1; }
.hd.is-over:has(.hd__item:hover) .hd__logo-w, .hd.is-over:has(.hd__item:focus-within) .hd__logo-w { opacity: 0; }
@media (max-width: 1240px) { .mega { display: none; } }.trio__core { fill: var(--brand-deep); }

/* header buttons: no plate, a thin outlined box (white over the MV, ink on the page colour) */
.hd__btn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .1em; line-height: 1; color: var(--ink); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--ink); transition: background-color .3s, color .3s, box-shadow .3s; }
.hd__btn:hover { background: var(--ink); color: #fff; }
.hd.is-over .hd__btn { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.hd.is-over .hd__btn:hover { background: rgba(255, 255, 255, .16); }
.hd.is-over:has(.hd__item:hover) .hd__btn, .hd.is-over:has(.hd__item:focus-within) .hd__btn { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); text-shadow: none; }.wst__jp .ln { display: inline-block; white-space: nowrap; }
@media (max-width: 640px) { .wst__jp { font-size: 19px; } .wst__jp .ln { display: block; } }

/* consultation: white text straight on the photo; underlined text links and a thin outlined phone box (no white card, no icon cards) */
.cta { padding: clamp(110px, 12vw, 180px) 0; background: var(--dark); color: #fff; }
.cta__bg { inset: 0; height: auto; }
.cta__bg::after { content: ''; position: absolute; inset: 0; background: rgba(20, 22, 24, .55); }
.cta__in { position: relative; text-align: center; }
.cta__en { font-family: var(--en); font-weight: 500; font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: .12em; text-transform: uppercase; }
.cta .cta__ttl { margin-top: 22px; font-size: clamp(20px, 2vw, 26px); color: #fff; text-align: center; letter-spacing: .12em; }
.cta .cta__ttl .ln { display: inline; }
.cta .cta__lead { max-width: 40em; margin: 18px auto 0; font-size: var(--fs-small); line-height: 2; color: rgba(255, 255, 255, .86); text-align: center; }
.cta__links { margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 56px; text-align: left; }
.cta__links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 16px; padding: 0 4px 16px; color: #fff; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .7); transition: box-shadow .3s; }
.cta__links small { grid-column: 1 / -1; font-family: var(--en); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.cta__links span { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
.cta__links a:hover { box-shadow: inset 0 -2px 0 #fff; }
.cta__arw { flex: none; position: relative; display: block; width: 22px; height: 1px; margin-bottom: 10px; background: currentColor; transition: transform .35s; }
.cta__arw::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); transform-origin: 100% 0; }
.cta__links a:hover .cta__arw, .cta__tel:hover .cta__arw { transform: translateX(6px); }
.cta__tel { position: relative; display: grid; justify-items: center; gap: 4px; width: min(520px, 100%); margin: 48px auto 0; padding: 26px 64px 24px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); transition: background-color .3s; }
.cta__tel-n { font-family: var(--en); font-weight: 500; font-size: 38px; line-height: 1.1; letter-spacing: .08em; }
.cta__tel small { font-size: var(--fs-caption); letter-spacing: .08em; color: rgba(255, 255, 255, .8); }
.cta__tel .cta__arw { position: absolute; right: 28px; top: 50%; margin: 0; }
.cta__tel:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 640px) {
  .cta { padding: 88px 0 96px; background: var(--dark); }
  .cta__bg { bottom: 0; height: auto; }
  .cta .cta__ttl .ln { display: block; }
  .cta .cta__lead { text-align: left; }
  .cta__links { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cta__tel { padding: 22px 48px 20px; }
  .cta__tel-n { font-size: 32px; }
  .cta__tel .cta__arw { right: 18px; }
}
@media (max-width: 1024px) { .cta__links { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 18px; } }

/* media on TOP: heading on the left, a quiet ruled list on the right (no cards, no logos) */
.media-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.media-top .ttl { margin-bottom: 0; }
.media-top__lead { margin-top: 18px; font-size: var(--fs-small); line-height: 2; }
.media-top .linkchip { margin-top: 28px; }
.mlist li { box-shadow: inset 0 -1px 0 var(--line-strong); }
.mlist li:first-child { box-shadow: inset 0 1px 0 var(--line-strong), inset 0 -1px 0 var(--line-strong); }
.mlist a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 24px; row-gap: 2px; align-items: center; padding: 20px 6px; color: var(--ink); }
.mlist time { grid-row: span 2; font-family: var(--en); font-weight: 600; font-size: 22px; letter-spacing: .04em; color: var(--brand); }
.mlist b { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.6; letter-spacing: .04em; transition: color .3s; }
.mlist small { grid-column: 2; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-3); }
.mlist__arw { grid-column: 3; grid-row: 1 / span 2; position: relative; display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .35s; }
.mlist__arw::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); transform-origin: 100% 0; }
.mlist a:hover b { color: var(--brand); }
.mlist a:hover .mlist__arw { transform: translateX(6px); }
@media (max-width: 900px) { .media-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .media-top > div:first-child { text-align: center; }
  .mlist a { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 16px 2px; }
  .mlist time { font-size: 18px; }
  .mlist b { font-size: 15px; }
  .mlist__arw { display: none; }
}

/* representative's message: the words lead; the small close-up portrait sits at the end like a signature (shown near its real size so it stays sharp) */
.msg { display: block; max-width: 880px; margin: 0 auto; }
.msg__sign { margin-top: 48px; padding-top: 32px; box-shadow: inset 0 1px 0 var(--line-strong); display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: center; }
.msg__sign .ph { aspect-ratio: 176 / 252; border-radius: 4px; }
.msg__sign .msg__name { margin-top: 0; }
.msg__lic { margin-top: 10px; font-size: var(--fs-small); line-height: 1.9; color: var(--ink-2); }
@media (max-width: 640px) {
  .msg__sign { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; margin-top: 40px; padding-top: 28px; }
  .msg__sign .msg__name { font-size: 22px; }
  .msg__lic { font-size: var(--fs-caption); }
}.msg__sign .msg__name small span + span { margin-left: 1em; }
@media (max-width: 640px) { .msg__sign .msg__name small span { display: block; } .msg__sign .msg__name small span + span { margin-left: 0; } }
@media (max-width: 640px) { .twox__facts { gap: 10px; } .twox__facts li { width: 92px; height: 92px; } .twox__facts b { font-size: 32px; } .twox__facts b.is-word { font-size: 15px; } }
/* voice cards: the read-more link carries the brand colour so it reads as the next step */
.vcard .linkchip { color: var(--brand); }
.vcard .linkchip > .roll { padding-bottom: 4px; box-shadow: inset 0 -1px 0 var(--brand); }
.vcard:hover .linkchip { color: var(--brand); }

/* story photos on phones and tablets: one level row that slides slowly to the left (the PC keeps the scattered photos) */
.storyx__loop { display: none; }
@media (max-width: 1024px) {
  .storyx { display: block; }
  .storyx .scopy { margin-bottom: 40px; }
  .storyx__ph { display: none; }
  .storyx__loop { display: block; overflow: hidden; margin: 0 calc(var(--gut) * -1); }
  .storyx__track { display: flex; width: max-content; animation: loopx 48s linear infinite; }
  .storyx__set { display: flex; gap: 12px; padding-right: 12px; }
  .storyx__set .ph { flex: none; width: clamp(180px, 46vw, 280px); aspect-ratio: 4 / 5; border-radius: 4px; }
  .storyx__set .ph img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 1024px) and (prefers-reduced-motion: reduce) { .storyx__track { animation: none; } .storyx__loop { overflow-x: auto; } }

/* works cards: the photo and its text sit on one colour panel, so it is clear which text belongs to which photo (no border lines) */
.wcard { height: 100%; padding-bottom: 22px; border-radius: 8px; overflow: hidden; background: #fff; }
.sec:not(.sec--soft) .wcard { background: var(--bg-soft); }
.wcard .ph { border-radius: 0; }
.wcard__tags, .wcard__ttl, .wcard__type, .wcard__meta { padding: 0 20px; }
@media (max-width: 640px) { .wgrid, .wgrid--top { gap: 20px; } }

/* voice cards on phones: who said it → the photo → their words → read more */
@media (max-width: 640px) {
  .vcard { display: flex; flex-direction: column; }
  .vcard__body { display: contents; }
  .vcard__meta { order: 1; margin: 0; padding: 22px 22px 16px; text-align: center; }
  .vcard .ph { order: 2; height: auto; }
  .vcard__q { order: 3; padding: 22px 22px 0; }
  .vcard .linkchip { order: 4; align-self: center; margin: 18px 0 26px; }
}.sec:not(.sec--soft) .vcard { background: var(--bg-soft); }

/* swipe guide: shown once for a moment over a row that slides sideways (main.js 17) */
.swipe-hint { position: absolute; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 6px; background: rgba(29, 33, 36, .82); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1; white-space: nowrap; pointer-events: none; transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s ease; }
.swipe-hint.is-on { opacity: 1; }
.swipe-hint__ic { position: relative; width: 40px; height: 1px; background: rgba(255, 255, 255, .5); }
.swipe-hint__ic i { position: absolute; top: -3px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: swipecue 1.3s cubic-bezier(.64, .02, .62, .99) infinite; }
@keyframes swipecue { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(-33px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .swipe-hint__ic i { animation: none; } }

/* PR movie under the story: a still picture first, the YouTube player after a tap (main.js 18) */
.pmv { max-width: 880px; margin: clamp(56px, 7vw, 96px) auto 0; }
.pmv__play, .pmv__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; overflow: hidden; padding: 0; background: var(--dark); }
.pmv__play { cursor: pointer; }
.pmv__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.pmv__play:hover img { transform: scale(1.03); }
.pmv__btn { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--brand); display: grid; place-items: center; transition: transform .3s ease; }
.pmv__btn svg { width: 30px; height: 30px; margin-left: 5px; }
.pmv__play:hover .pmv__btn { transform: scale(1.06); }
.pmv__cap { margin-top: 14px; text-align: center; font-size: var(--fs-small); font-weight: 700; letter-spacing: .06em; color: var(--ink-2); }
.pmv__en { margin-right: 12px; font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .14em; color: var(--brand); }
@media (max-width: 640px) { .pmv__btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .pmv__btn svg { width: 24px; height: 24px; } }

/* MV movie card (PC and tablet only; phones get the SNS links under the movie instead) */
.mvsns { position: absolute; z-index: 4; right: var(--gut); bottom: 40px; width: 380px; display: grid; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .95); color: var(--ink); }
.mvsns__mv { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; color: var(--ink); }
.mvsns__th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; }
.mvsns__th img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.mvsns__mv:hover .mvsns__th img { transform: scale(1.05); }
.mvsns__th i { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--brand); }
.mvsns__th i svg { width: 16px; height: 16px; margin-left: 2px; }
.mvsns__tx { display: grid; gap: 3px; }
.mvsns__tx small { font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .14em; color: var(--brand); }
.mvsns__tx b { font-size: 14px; line-height: 1.55; letter-spacing: .04em; }
.mvsns__tx em { justify-self: start; font-style: normal; font-size: 12px; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.mvsns__ig { display: flex; align-items: center; gap: 10px; padding: 11px 16px; box-shadow: inset 0 1px 0 var(--line); font-size: 13px; font-weight: 700; color: var(--ink); }
.mvsns__ig svg { width: 18px; height: 18px; color: var(--brand); }
.mvsns__ig:hover { color: var(--brand); }
.pmv__sns { display: none; }
@media (max-width: 640px) {
  .mvsns { display: none; }
  .pmv__sns { display: flex; justify-content: center; gap: 28px; margin-top: 18px; }
  .pmv__sns a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--fs-small); font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }
  .pmv__sns svg { width: 20px; height: 20px; }
}
