/* 字のファイル（tools/make-hp-fonts.py が書く。手で直さない） */
@font-face { font-family: "Noto Sans JP"; src: url("../fonts/noto-sans.woff2?v=5d0e1e10") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("../fonts/noto-sans.woff2?v=5d0e1e10") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("../fonts/noto-sans.woff2?v=5d0e1e10") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url("../fonts/zen-700.woff2?v=a5c1207c") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url("../fonts/zen-900.woff2?v=e7278dd2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Shippori Mincho B1"; src: url("../fonts/shippori-600.woff2?v=e6df8f18") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Shippori Mincho B1"; src: url("../fonts/shippori-800.woff2?v=9bb7281a") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2?v=e2f38916") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2?v=7532bbb2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-cond-500.woff2?v=1891bdce") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-cond-600.woff2?v=0de216d5") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* 字のファイルここまで */
/* =========================================================
   株式会社新井整毛所  style.css
   Design: OIDEWORKS
   ========================================================= */

:root {
  --dark: #0b1813;
  --dark-2: #102219;
  --green: #1f5a46;
  --green-d: #153f31;
  --ink: #121a16;
  --ink-2: #434e48;
  --muted: #59625d;
  --accent-ink: #8a5d06;
  --line: #d7dad2;
  --line-2: #c4c9c0;
  --line-dark: rgba(255, 255, 255, .14);
  --paper: #f3f1ea;
  --paper-2: #e8e5dc;
  --white: #fbfaf6;
  --accent: #e2a32f;
  --sage: #9cc3ae;
  --error: #b8392b;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);

  --f-jp: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --f-head: "Zen Kaku Gothic New", var(--f-jp);
  --f-min: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-en: "Barlow", var(--f-jp);
  --f-disp: "Barlow Condensed", "Barlow", sans-serif;
}
@media (max-width: 767px) { :root { --header-h: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; font-family: var(--f-jp); font-size: 15.5px; line-height: 2; letter-spacing: .06em;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::after { /* paper grain */
  content: ""; position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--sage); color: var(--ink); }
h1, h2, h3, .sec-lead, .page-hero__lead, .lead, .step__text, .card__text { word-break: auto-phrase; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ib { display: inline-block; }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - var(--gutter) * 2, 920px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 500; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } .pc-only { display: none; } }
.note { font-size: 12.5px; color: var(--muted); line-height: 1.8; letter-spacing: .04em; }
.marker { background: linear-gradient(transparent 64%, rgba(226, 163, 47, .4) 64%); }
.en { font-family: var(--f-en); }

/* ---------- section scaffolding ---------- */
.section { padding: clamp(88px, 11vw, 160px) 0; position: relative; }
.section--white { background: var(--white); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--dark); color: #fff; }
.section--tight { padding: clamp(64px, 7vw, 104px) 0; }

/* display heading: big EN + JP */
.eyebrow {
  display: block; margin: 0 0 22px;
  font-family: var(--f-disp); font-weight: 600; text-transform: uppercase;
  font-size: clamp(46px, 6.6vw, 104px); line-height: .88; letter-spacing: .005em; color: var(--ink);
}
.eyebrow::before { content: ""; display: block; width: 44px; height: 2px; margin-bottom: 26px; background: var(--accent); }
.section--dark .eyebrow, .cta .eyebrow { color: #fff; }
.sec-title {
  font-family: var(--f-head); font-weight: 700; font-feature-settings: "palt";
  font-size: clamp(21px, 2.3vw, 30px); line-height: 1.6; letter-spacing: .1em;
}
.sec-lead { margin-top: 24px; color: var(--ink-2); max-width: 40em; }
.section--dark .sec-lead { color: rgba(255, 255, 255, .78); }
.sec-head { margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow::before { margin-inline: auto; }
.sec-head--center .sec-lead { margin-inline: auto; }

/* numbered section head (top page) */
.sh { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(20px, 3vw, 40px); align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.sh__num { margin: 0 0 .7em; font-family: var(--f-disp); font-weight: 500; font-size: 15px; letter-spacing: .2em; color: var(--muted); }
.sh__en { display: block; font-family: var(--f-disp); font-weight: 600; text-transform: uppercase; font-size: clamp(50px, 8.4vw, 132px); line-height: .86; letter-spacing: .005em; }
.sh__ja { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-family: var(--f-head); font-weight: 700; font-size: clamp(15px, 1.4vw, 17px); letter-spacing: .16em; }
.sh__ja::before { content: ""; width: 32px; height: 2px; background: var(--accent); }
.sh--light { color: #fff; }
.sh--light .sh__num { color: rgba(255, 255, 255, .5); }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 64px; padding: 0 26px 0 30px; border: 1px solid transparent; border-radius: 0;
  font-weight: 700; font-size: 14.5px; letter-spacing: .12em; line-height: 1.4; text-decoration: none; text-align: left;
  cursor: pointer; transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .icon { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary::before { background: var(--dark); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white::before { background: var(--accent); }
.btn--outline-white { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn--outline-white::before { background: #fff; }
.btn--outline-white:hover { color: var(--ink); border-color: #fff; }
.btn--sm { min-height: 50px; padding: 0 20px 0 22px; gap: 18px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 0; text-decoration: none;
  font-weight: 700; font-size: 14.5px; letter-spacing: .12em; color: inherit;
}
.link-arrow .icon {
  box-sizing: content-box; width: 14px; height: 14px; padding: 11px; border: 1px solid currentColor; border-radius: 50%;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.link-arrow:hover .icon { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateX(4px); }

.area {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 9px; line-height: 1;
  background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.area .icon { width: 1em; height: 1em; stroke-width: 2; }
.area--green { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.section--dark .area--green { color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { border: 1px solid var(--line-2); background: var(--white); font-weight: 500; font-size: 13.5px; line-height: 1.5; padding: 7px 14px; letter-spacing: .06em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h);
  background: rgba(243, 241, 234, .92); color: var(--ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.header-inner { display: flex; align-items: center; height: 100%; padding-left: clamp(20px, 3vw, 44px); }
.brand { position: relative; flex: none; display: block; width: 208px; height: 44px; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s var(--ease); }
.brand__white { opacity: 0; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; list-style: none; }
.gnav a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 18px;
  text-decoration: none; line-height: 1.3;
}
.gnav__ja { font-weight: 700; font-size: 14px; letter-spacing: .12em; }
.gnav__en { font-family: var(--f-disp); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.gnav a::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .4s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scale(1); }
.header-tel { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; margin: 0 28px 0 18px; text-decoration: none; line-height: 1.15; }
.header-tel__label { font-family: var(--f-disp); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--accent-ink); }
.site-header--overlay:not(.is-solid) .header-tel__label { color: var(--accent); }
.header-tel__num { font-family: var(--f-disp); font-weight: 600; font-size: 27px; letter-spacing: .04em; }
.header-tel__note { grid-column: 1 / -1; justify-self: end; font-size: 10.5px; letter-spacing: .12em; opacity: .82; }
.header-contact {
  position: relative; isolation: isolate; overflow: hidden; align-self: stretch; display: flex; align-items: center; gap: 16px;
  padding: 0 34px; background: var(--accent); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .14em;
  transition: color .45s var(--ease);
}
.header-contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.header-contact:hover { color: #fff; }
.header-contact:hover::before { transform: scaleY(1); }
.header-contact .icon { width: 18px; height: 18px; }

/* overlay header (top page, over the KV) */
.site-header--overlay:not(.is-solid) { background: transparent; color: #fff; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header--overlay:not(.is-solid) .brand__white { opacity: 1; }
.site-header--overlay:not(.is-solid) .brand__color { opacity: 0; }
.site-header--overlay:not(.is-solid) .gnav__en { opacity: .85; }
.site-header--overlay:not(.is-solid) { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

.menu-btn {
  display: none; position: relative; align-self: stretch; width: var(--header-h); border: 0; background: var(--dark); cursor: pointer; padding: 0;
}
.menu-btn span { position: absolute; left: 50%; top: 50%; width: 26px; height: 2px; margin-left: -13px; background: #fff; transition: transform .45s var(--ease); }
.menu-btn span:first-child { transform: translateY(-5px); }
.menu-btn span:last-child { transform: translateY(5px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(30deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-30deg); }

.drawer {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto; background: var(--dark); color: #fff;
  padding: calc(var(--header-h) + 28px) var(--gutter) 48px;
  clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease-io), visibility .6s;
}
.drawer[hidden] { display: block; visibility: hidden; clip-path: inset(0 0 100% 0); }
.drawer__list { list-style: none; border-top: 1px solid var(--line-dark); }
.drawer__list a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 20px 2px; text-decoration: none;
  border-bottom: 1px solid var(--line-dark); font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: .12em;
}
.drawer__list a span { font-family: var(--f-disp); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }
.drawer__cta { display: grid; gap: 12px; margin-top: 32px; }
.drawer__tel { display: block; text-decoration: none; font-family: var(--f-disp); font-weight: 600; font-size: 40px; letter-spacing: .03em; line-height: 1.1; }
.drawer__tel small { display: block; font-family: var(--f-jp); font-weight: 400; font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .6); margin-top: 4px; }
body.is-menu-open { overflow: hidden; }
body.is-menu-open .site-header { background: transparent; color: #fff; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.is-menu-open .brand__white { opacity: 1; }
body.is-menu-open .brand__color { opacity: 0; }

/* header width budget with the SNS icons: the phone number needs ~1360px, and
   between 1024px and 1199px the menu tightens so nothing gets squeezed */
.gnav { padding-left: 16px; }
@media (max-width: 1359px) { .header-tel { display: none; } }
@media (min-width: 1024px) and (max-width: 1199px) {
  .gnav a { padding: 8px 11px; }
  .gnav__ja { letter-spacing: .08em; }
  .header-contact { padding: 0 22px; gap: 12px; }
  .head-sns { margin-left: 14px; gap: 6px; }
  .head-sns .sns-ico { width: 30px; height: 30px; border-radius: 7px; }
}
@media (max-width: 1023px) {
  .gnav, .header-contact { display: none; }
  .menu-btn { display: block; margin-left: auto; }
}
@media (max-width: 767px) { .brand { width: 170px; height: 34px; } }

/* LINE・Instagram（OIDEWORKS のサイトと同じ角丸アイコン） */
.sns-ico { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: #fff; fill: currentColor; text-shadow: none; }
.sns-ico svg { width: 62%; height: 62%; }
.sns-ico--line { background: #06c755; }
.sns-ico--line svg { width: 72%; height: 72%; }
.sns-ico--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.head-sns { position: relative; display: flex; align-items: center; gap: 8px; margin-left: 18px; }
.head-sns .sns-ico { position: relative; width: 32px; height: 32px; border-radius: 8px; transition: transform .25s var(--ease); }
.head-sns .sns-ico:hover { transform: translateY(-2px); }
.head-sns .sns-ico::after { content: ""; position: absolute; inset: -6px -4px; } /* tap area 44px */
.footer-sns { display: flex; gap: 14px; margin-top: 24px; }
.footer-sns .sns-ico { width: 44px; height: 44px; border-radius: 11px; transition: transform .25s var(--ease); }
.footer-sns .sns-ico:hover { transform: translateY(-2px); }
.sns-row { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: inherit; }
.sns-row .sns-ico { width: 32px; height: 32px; border-radius: 8px; }
.sns-id { font-family: var(--f-en); font-weight: 600; font-size: 16px; letter-spacing: .04em; color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.sns-row:hover .sns-id { text-decoration-thickness: 2px; }
.table td .sns-row { min-height: 32px; margin: -5px 0; } /* line up with the row label */
@media (max-width: 767px) {
  .head-sns { gap: 6px; margin-left: 12px; }
  .head-sns .sns-ico { width: 30px; height: 30px; border-radius: 7px; }
  .head-sns .sns-ico::after { inset: -7px -3px; }
}
@media (max-width: 359px) {
  .brand { width: 142px; height: 30px; }
  .head-sns { gap: 4px; margin-left: 8px; }
  .head-sns .sns-ico { width: 28px; height: 28px; }
}

main { display: block; }
body:not(.page-index) main { padding-top: var(--header-h); }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding-top: 22px; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.breadcrumb li + li::before { content: ""; display: inline-block; width: 14px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--line-2); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* =========================================================
   OPENING  (fibers stream in -> orbit like the hanmou cylinder -> settle into the logo)
   ========================================================= */
.opening { display: none; }
.js:not(.no-opening) .opening { position: fixed; inset: 0; z-index: 300; display: block; color: #fff; }
.opening__shutters { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.opening__shutters i { position: relative; display: block; background: var(--dark); margin-right: -1px; transition: transform 1s var(--ease-io); }
.opening__shutters i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); opacity: 0; transition: opacity .2s; }
.opening__stage { position: absolute; inset: 0; overflow: hidden; transition: opacity .5s ease, transform .7s var(--ease-io); }
.opening__canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .8s ease; }
.opening.is-settled .opening__canvas { opacity: 0; }
.opening__giant {
  position: absolute; left: 0; right: 0; top: 50%; margin: 0; transform: translateY(-50%); text-align: center; white-space: nowrap; pointer-events: none;
  font-family: var(--f-disp); font-weight: 600; text-transform: uppercase; font-size: clamp(140px, 27vw, 440px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
}
.opening__giant span { display: inline-block; transition: opacity .3s ease, transform .5s var(--ease); }
.opening__giant span.is-swap { opacity: 0; transform: translateY(8%); }
.opening.is-logo .opening__giant { opacity: 0; transition: opacity .6s ease; }
.opening__logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); height: clamp(76px, 10vw, 132px);
}
.op-mark { height: 100%; width: auto; overflow: visible; }
.op-word { height: 100%; width: auto; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-io); }
.op-ring { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease-io); transition-delay: calc(var(--i) * .05s); }
.op-arrow { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) .45s; }
.opening.is-logo .op-ring { stroke-dashoffset: 0; }
.opening.is-logo .op-arrow { transform: scale(1); }
.op-bar { transform-box: fill-box; transition: transform .75s var(--ease-io); transition-delay: calc(.3s + var(--i) * .09s); }
.op-bar--v { transform-origin: center top; transform: scaleY(0); }
.op-bar--h { transform-origin: left center; transform: scaleX(0); }
.opening.is-logo .op-bar { transform: none; }
.opening.is-word .op-word { clip-path: inset(0 0 0 0); }
.opening__copy {
  position: absolute; left: 0; right: 0; top: calc(50% + clamp(64px, 7.6vw, 104px)); margin: 0; text-align: center;
  font-family: var(--f-min); font-weight: 600; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .5em; color: rgba(255, 255, 255, .88);
  opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s, letter-spacing 1.4s var(--ease) .5s;
}
.opening.is-word .opening__copy { opacity: 1; transform: none; letter-spacing: .32em; }
.opening__steps {
  position: absolute; left: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 44px); margin: 0; padding: 0; list-style: none; display: grid; gap: 4px;
  font-family: var(--f-disp); font-weight: 500; font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
}
.opening__steps li { display: flex; align-items: baseline; gap: 12px; color: rgba(255, 255, 255, .26); transition: color .4s ease; }
.opening__steps b { width: 2em; font-weight: 600; }
.opening__steps span { font-family: var(--f-jp); font-size: 12.5px; letter-spacing: .14em; }
.opening__steps li.is-on { color: #fff; }
.opening__steps li.is-on b { color: var(--accent); }
.opening__count {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: clamp(14px, 3.6vw, 36px); margin: 0;
  font-family: var(--f-disp); font-weight: 600; font-size: clamp(60px, 8.4vw, 116px); line-height: .9; letter-spacing: .01em;
}
.opening__tag {
  position: absolute; left: clamp(20px, 4vw, 48px); top: clamp(20px, 4vw, 36px); margin: 0;
  font-family: var(--f-disp); font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; line-height: 1.8; color: rgba(255, 255, 255, .55);
}
.opening__skip {
  position: absolute; right: clamp(20px, 4vw, 48px); top: clamp(20px, 4vw, 36px); padding: 8px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--f-disp); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.opening.is-leave .opening__stage { opacity: 0; transform: translateY(-30px); }
.opening.is-leave .opening__shutters i { transform: translateY(-101%); }
.opening.is-leave .opening__shutters i::after { opacity: 1; }
.opening.is-leave .opening__shutters i:nth-child(1) { transition-delay: .2s; }
.opening.is-leave .opening__shutters i:nth-child(2) { transition-delay: .3s; }
.opening.is-leave .opening__shutters i:nth-child(3) { transition-delay: .4s; }
html.is-locked, html.is-locked body { overflow: hidden; }
@media (max-width: 767px) {
  .opening__logo { height: 58px; gap: 12px; }
  .opening__copy { top: calc(50% + 56px); letter-spacing: .3em; }
  .opening.is-word .opening__copy { letter-spacing: .24em; }
  .opening__giant { font-size: 38vw; }
  .opening__steps { font-size: 12px; }
  .opening__count { font-size: 52px; }
}

/* =========================================================
   KEY VISUAL (top)
   ========================================================= */
.kv { position: relative; height: 100vh; height: 100svh; min-height: 640px; background: var(--dark); color: #fff; overflow: hidden; }
.kv__panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; }
.kv__panel { position: relative; margin: 0; overflow: hidden; background: #1a2a23; }
.kv__panel video, .kv__panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kv__cap {
  position: absolute; left: clamp(16px, 2vw, 28px); top: calc(var(--header-h) + 26px); z-index: 2; margin: 0;
  display: flex; align-items: baseline; gap: 12px; font-family: var(--f-disp); font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
}
.kv__cap b { font-weight: 600; font-size: 15px; color: var(--accent); }
.kv__cap span { font-family: var(--f-jp); font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .75); }
.kv__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 24, 19, .66) 0%, rgba(11, 24, 19, .2) 24%, rgba(11, 24, 19, .34) 46%, rgba(11, 24, 19, .82) 72%, rgba(11, 24, 19, .94) 100%),
    linear-gradient(90deg, rgba(11, 24, 19, .72) 0%, rgba(11, 24, 19, .35) 45%, rgba(11, 24, 19, 0) 72%);
}
.kv__content { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 104px); z-index: 3; }
.kv__label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-family: var(--f-disp); font-weight: 500; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .78);
}
.kv__label::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.kv__title {
  margin: 0; font-family: var(--f-min); font-weight: 800; font-feature-settings: "palt";
  font-size: clamp(34px, 5.4vw, 82px); line-height: 1.32; letter-spacing: .06em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
}
.kv__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.kv__title .line > span { display: inline-block; }
.kv__title em { font-style: normal; color: var(--accent); }
.kv__en { margin: 22px 0 0; font-family: var(--f-en); font-weight: 500; font-size: clamp(14px, 1.2vw, 16px); letter-spacing: .14em; color: rgba(255, 255, 255, .78); }
.kv__actions { margin-top: 36px; }
.kv__tate {
  position: absolute; right: clamp(20px, 3vw, 44px); top: calc(var(--header-h) + 72px); z-index: 3; margin: 0;
  writing-mode: vertical-rl; font-family: var(--f-min); font-weight: 600; font-size: clamp(15px, 1.3vw, 19px); letter-spacing: .42em;
  display: flex; align-items: center; gap: 18px;
}
.kv__tate::after { content: ""; width: 1px; height: 64px; background: var(--accent); }
.kv__scroll {
  position: absolute; right: clamp(20px, 3vw, 44px); bottom: 0; z-index: 3; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--f-disp); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl;
}
.kv__scroll::after { content: ""; width: 1px; height: 84px; background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)) 0 0 / 1px 40% no-repeat, rgba(255, 255, 255, .25); animation: scrollbar 2.2s var(--ease-io) infinite; }
@keyframes scrollbar { 0% { background-position: 0 -40px; } 100% { background-position: 0 90px; } }

/* KV entrance (after opening) */
.js .kv__panel { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); }
.js .kv__panel video, .js .kv__panel > img { transform: scale(1.18); transition: transform 2.2s var(--ease); }
.js .kv__panel:nth-child(2) { transition-delay: .1s; }
.js .kv__panel:nth-child(3) { transition-delay: .2s; }
.js .kv__panel:nth-child(2) video, .js .kv__panel:nth-child(2) > img { transition-delay: .1s; }
.js .kv__panel:nth-child(3) video, .js .kv__panel:nth-child(3) > img { transition-delay: .2s; }
.js .kv__title .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); }
.js .kv__title .line:nth-child(2) > span { transition-delay: .12s; }
.js .kv-fade { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js.is-ready .kv__panel { clip-path: inset(0 0 0 0); }
.js.is-ready .kv__panel video, .js.is-ready .kv__panel > img { transform: scale(1); }
.js.is-ready .kv__title .line > span { transform: none; transition-delay: .55s; }
.js.is-ready .kv__title .line:nth-child(2) > span { transition-delay: .68s; }
.js.is-ready .kv-fade { opacity: 1; transform: none; transition-delay: .95s; }
.js.is-ready .kv-fade.d2 { transition-delay: 1.1s; }
.js.is-ready .kv-fade.d3 { transition-delay: 1.25s; }

@media (max-width: 767px) {
  .kv { min-height: 560px; }
  .kv__panels { grid-template-columns: 1fr; }
  .kv__panel:not(:first-child) { display: none; }
  .kv__cap { display: none; }
  .kv__tate { top: calc(var(--header-h) + 24px); right: 14px; font-size: 14px; letter-spacing: .32em; }
  .kv__tate::after { height: 40px; }
  .kv__scroll { display: none; }
  .kv__actions .btn { width: 100%; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--dark); color: #fff; padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--line-dark); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__item { display: flex; align-items: center; flex: none; }
.marquee__item span {
  font-family: var(--f-disp); font-weight: 600; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(42px, 6.4vw, 96px); line-height: 1; letter-spacing: .01em; padding: 0 .35em;
}
.marquee__item span.o { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.marquee__item i { width: .32em; height: .32em; font-size: clamp(42px, 6.4vw, 96px); border-radius: 50%; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- ONLY ONE (top) ---------- */
.only { background: var(--dark); color: #fff; overflow: hidden; }
.only__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.only__num { position: relative; }
.only__digit {
  display: block; font-family: var(--f-disp); font-weight: 600; line-height: .74; letter-spacing: -.02em;
  font-size: clamp(260px, 34vw, 520px); color: transparent; -webkit-text-stroke: 1.5px var(--sage); margin-top: -.02em;
}
.only__unit { margin: 28px 0 0; font-family: var(--f-disp); font-weight: 600; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .14em; text-transform: uppercase; }
.only__unit small { display: block; font-family: var(--f-jp); font-weight: 500; font-size: 13px; letter-spacing: .16em; color: rgba(255, 255, 255, .6); margin-top: 6px; }
.only__tate {
  position: absolute; right: 0; top: 0; margin: 0; writing-mode: vertical-rl; font-family: var(--f-min); font-weight: 800;
  font-size: clamp(24px, 2.6vw, 40px); line-height: 1.7; letter-spacing: .22em;
}
.only__tate em { font-style: normal; color: var(--accent); }
.only__photo { margin: 0 0 clamp(36px, 4vw, 56px); aspect-ratio: 16 / 10; overflow: hidden; }
.only__photo img { width: 100%; height: 100%; object-fit: cover; }
.only__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 56px); }
.only__text h2 { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.7; letter-spacing: .1em; font-feature-settings: "palt"; }
.only__text p { color: rgba(255, 255, 255, .78); }
.only__text .link-arrow { margin-top: 12px; }
@media (max-width: 1023px) {
  .only__grid { grid-template-columns: 1fr; }
  .only__digit { font-size: clamp(200px, 52vw, 340px); }
  .only__tate { right: 4px; }
  .only__text { grid-template-columns: 1fr; }
}

/* ---------- horizontal process (top) ---------- */
.hscroll { position: relative; background: var(--paper); }
.hscroll__sticky { padding: clamp(88px, 11vw, 150px) 0 clamp(72px, 8vw, 110px); }
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hscroll__head .sh { margin-bottom: 0; }
.hscroll__meta { display: flex; align-items: center; gap: 18px; padding-bottom: 8px; font-family: var(--f-disp); font-weight: 600; font-size: 15px; letter-spacing: .14em; }
.hscroll__bar { position: relative; width: 160px; height: 1px; background: var(--line-2); }
.hscroll__bar span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hscroll__track {
  display: flex; gap: clamp(28px, 3vw, 48px); list-style: none; margin-top: clamp(44px, 5vw, 72px);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: var(--gutter);
}
.hstep { position: relative; flex: none; width: clamp(300px, 31vw, 470px); }
.hstep__no { position: absolute; left: -.06em; top: -.62em; z-index: 2; margin: 0; font-family: var(--f-disp); font-weight: 600; font-size: clamp(64px, 6vw, 96px); line-height: 1; color: var(--ink); }
.hstep__img { position: relative; margin: 0; aspect-ratio: 4 / 3; height: auto; overflow: hidden; background: var(--paper-2); }
.hstep__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hstep:hover .hstep__img img { transform: scale(1.04); }
.img-note { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; font-size: 11px; letter-spacing: .06em; color: #fff; background: rgba(11, 24, 19, .6); }
.hstep__img--illust { display: grid; place-items: center; background: #f7ecd5; }
.hstep__img--illust svg { width: 70%; height: auto; }
.hstep__body { padding-top: 24px; border-top: 1px solid var(--ink); margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline; }
.hstep__en { grid-row: span 2; margin: 0; font-family: var(--f-disp); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.hstep__body h3 { font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: .14em; }
.hstep__body p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }
.hstep--end { width: clamp(260px, 22vw, 340px); display: flex; }
.hstep--end a {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; aspect-ratio: 3 / 4; max-height: 100%;
  background: var(--dark); color: #fff; text-decoration: none; transition: background-color .5s var(--ease);
}
.hstep--end a:hover { background: var(--green); }
.hstep--end b { font-family: var(--f-disp); font-weight: 600; font-size: 44px; line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
.hstep--end span { display: flex; justify-content: space-between; align-items: center; font-weight: 700; letter-spacing: .12em; font-size: 14.5px; }
.hstep--end .icon { width: 22px; height: 22px; }
.hscroll.is-h .hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 24px) 0 40px; }
.hscroll.is-h .hscroll__track { will-change: transform; width: max-content; }
.hscroll.is-h .hstep__img { height: min(38vh, 360px); aspect-ratio: auto; }
.hscroll.is-h .hstep { width: calc(min(38vh, 360px) * 1.33); }
@media (max-width: 1023px) {
  .hscroll__head { flex-direction: column; align-items: flex-start; }
  .hscroll__meta { display: none; }
  .hscroll__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; padding-top: 40px; scrollbar-width: thin; }
  .hstep { width: min(78vw, 400px); scroll-snap-align: start; }
}

/* ---------- reborn (top) ---------- */
.reborn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.reborn__illust { background: #f7ecd5; padding: clamp(24px, 4vw, 56px); }
.reborn__illust svg { width: 100%; height: auto; }
.statement { font-family: var(--f-min); font-weight: 800; font-feature-settings: "palt"; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.55; letter-spacing: .08em; }
.statement em { font-style: normal; color: var(--green); }
.reborn__text { margin-top: 30px; color: var(--ink-2); }
.reborn__list { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; list-style: none; }
.reborn__list li { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; letter-spacing: .1em; }
.reborn__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.reborn__list .icon { display: none; }
@media (max-width: 900px) { .reborn { grid-template-columns: 1fr; } }

/* ---------- service rows (top) ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--ink); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 1.25fr) minmax(0, 1.35fr) 170px 56px; gap: 0 clamp(16px, 2.4vw, 36px); align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; transition: padding .5s var(--ease);
}
.svc-row::before { content: ""; position: absolute; inset: -1px 0 -1px; background: var(--white); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc-list li { position: relative; z-index: 0; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover { padding-left: 16px; padding-right: 16px; }
.svc-row__no { font-family: var(--f-disp); font-weight: 600; font-size: 22px; letter-spacing: .06em; color: var(--muted); }
.svc-row__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: .1em; line-height: 1.6; }
.svc-row__title small { display: block; margin-top: 2px; font-family: var(--f-disp); font-weight: 500; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.svc-row__title .area { margin-top: 10px; }
.svc-row__text { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.svc-row__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-row:hover .svc-row__img img { transform: scale(1.07); }
.svc-row__arrow { justify-self: end; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.svc-row__arrow .icon { width: 16px; height: 16px; }
.svc-row:hover .svc-row__arrow { background: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) 110px; grid-template-areas: "no title img" "no text img"; gap: 6px 16px; align-items: start; padding: 24px 0; }
  .svc-row__no { grid-area: no; font-size: 18px; }
  .svc-row__title { grid-area: title; }
  .svc-row__text { grid-area: text; font-size: 13.5px; }
  .svc-row__img { grid-area: img; }
  .svc-row__arrow { display: none; }
  .svc-row:hover { padding-left: 0; padding-right: 0; }
}

/* ---------- about + stats (top) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text p { color: var(--ink-2); }
.about__text .statement { margin-bottom: 32px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--ink); }
.stats li { padding: 30px 24px 32px 0; border-bottom: 1px solid var(--line-2); }
.stats li:nth-child(odd) { border-right: 1px solid var(--line-2); }
.stats li:nth-child(even) { padding-left: 28px; }
.stats .num { display: block; font-family: var(--f-disp); font-weight: 600; font-size: clamp(56px, 6vw, 92px); line-height: .9; letter-spacing: .005em; }
.stats .num small { font-family: var(--f-head); font-weight: 700; font-size: 16px; margin-left: 6px; letter-spacing: .1em; }
.stats .label { display: block; margin-top: 16px; font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.stats .sub { display: block; font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 2px; letter-spacing: .06em; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- equipment strip (top) ---------- */
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); list-style: none; }
.thumbs figure { margin: 0; }
.thumbs .t-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.thumbs img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.thumbs figure:hover img { transform: scale(1.05); }
.thumbs figcaption { display: flex; gap: 10px; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.thumbs figcaption b { font-family: var(--f-disp); font-weight: 600; font-size: 13px; color: var(--muted); letter-spacing: .1em; }
@media (max-width: 767px) { .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--green); color: #fff; padding: clamp(88px, 10vw, 150px) 0; }
.cta__en {
  margin: 0 0 clamp(36px, 5vw, 60px); font-family: var(--f-disp); font-weight: 600; text-transform: uppercase;
  font-size: clamp(84px, 15vw, 240px); line-height: .78; letter-spacing: -.005em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
}
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px clamp(32px, 6vw, 96px); align-items: end; }
.cta__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.7; letter-spacing: .1em; font-feature-settings: "palt"; }
.cta__text { margin-top: 18px; color: rgba(255, 255, 255, .8); }
.cta__actions { display: grid; gap: 14px; }
.cta__tel { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; text-decoration: none; padding: 0 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.cta__tel-label { font-family: var(--f-disp); font-weight: 600; font-size: 18px; letter-spacing: .14em; color: #f6d38a; }
.cta__tel-num { font-family: var(--f-disp); font-weight: 600; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: .02em; }
.cta__tel-note { grid-column: 1 / -1; margin-top: 10px; font-size: 12.5px; letter-spacing: .1em; color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--dark); color: rgba(255, 255, 255, .78); font-size: 13.5px; line-height: 1.9; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; padding: clamp(72px, 8vw, 110px) 0 48px; }
.footer-brand img { width: 232px; height: auto; }
.footer-copy { margin-top: 24px; color: rgba(255, 255, 255, .6); }
.footer-h { margin: 0 0 12px; font-family: var(--f-disp); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); }
.footer-col p { margin: 0; }
.footer-col a { text-decoration: none; color: #fff; }
.footer-col .tel { font-family: var(--f-disp); font-weight: 600; font-size: 26px; letter-spacing: .04em; line-height: 1.3; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-nav a { text-decoration: none; letter-spacing: .1em; transition: color .3s; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; padding: 28px 0 0; border-top: 1px solid var(--line-dark); }
.footer-license { margin: 0; font-size: 11.5px; color: rgba(255, 255, 255, .5); line-height: 1.9; letter-spacing: .04em; }
.footer-c { margin: 0; font-family: var(--f-disp); font-weight: 500; letter-spacing: .16em; color: rgba(255, 255, 255, .5); }
.footer-giant {
  margin: clamp(40px, 5vw, 64px) 0 -0.16em; text-align: center; white-space: nowrap; pointer-events: none;
  font-family: var(--f-disp); font-weight: 600; text-transform: uppercase; font-size: 15.6vw; line-height: .9; letter-spacing: -.005em;
  color: rgba(255, 255, 255, .05);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.sp-cta { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .sp-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--dark); }
  .sp-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-decoration: none; }
  .sp-cta a + a { background: var(--accent); color: var(--ink); }
}
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s, background-color .3s;
}
.to-top:hover { background: var(--accent); color: var(--ink); }
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top .icon { width: 20px; height: 20px; stroke-width: 1.8; }
@media (max-width: 767px) { .to-top { bottom: calc(72px + env(safe-area-inset-bottom)); right: 12px; width: 44px; height: 44px; } }

/* =========================================================
   SUB PAGES
   ========================================================= */
.page-hero { padding: clamp(44px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.page-hero .eyebrow { font-size: clamp(56px, 10vw, 156px); line-height: .84; margin-bottom: 30px; }
.page-hero .eyebrow::before { margin-bottom: 30px; }
.page-hero__title { display: flex; align-items: center; gap: 16px; font-family: var(--f-head); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .16em; }
.page-hero__lead { margin-top: 26px; color: var(--ink-2); max-width: 42em; }
.page-band { margin: 0 auto; overflow: hidden; aspect-ratio: 21 / 8; }
.page-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .page-band { aspect-ratio: 16 / 10; } }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin-top: 40px; border-top: 1px solid var(--line-2); }
.anchor-nav li { border-bottom: 1px solid var(--line-2); }
.anchor-nav a {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px 16px 0; margin-right: 28px;
  font-weight: 700; font-size: 13.5px; letter-spacing: .12em; text-decoration: none; transition: color .3s;
}
.anchor-nav a::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); color: var(--accent); }
.anchor-nav a:hover { color: var(--green); }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text p { color: var(--ink-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* define (what is hanmou) */
.define { background: var(--white); padding: clamp(28px, 5vw, 64px); border-top: 2px solid var(--ink); }
.define__term { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 22px; }
.define__term strong { font-family: var(--f-min); font-weight: 800; font-size: clamp(32px, 4vw, 48px); letter-spacing: .1em; }
.define__term span { font-family: var(--f-disp); font-weight: 500; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-size: 14px; }
.define__eq { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; margin: 44px 0 0; padding-top: 36px; border-top: 1px solid var(--line); list-style: none; text-align: center; }
.define__eq li { display: grid; justify-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; letter-spacing: .1em; }
.define__eq .eq-ico { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.define__eq .eq-ico svg { width: 62px; height: 62px; }
.define__eq .eq-arrow { color: var(--accent); }
.define__eq .eq-arrow svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.define__eq small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; letter-spacing: .06em; }
@media (max-width: 600px) { .define__eq { grid-template-columns: 1fr; gap: 6px; } .define__eq .eq-arrow svg { transform: rotate(90deg); width: 26px; height: 26px; } }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; background: #1a2a23; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:first-child { grid-row: span 2; }
.gallery figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 30px 14px 12px; font-size: 12px; letter-spacing: .1em; line-height: 1.5;
  background: linear-gradient(transparent, rgba(11, 24, 19, .8)); color: #fff;
}
.gallery .g-sq { aspect-ratio: 1 / 1; }
@media (max-width: 767px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 5; } }

/* diagram */
.diagram { background: var(--white); padding: clamp(18px, 4vw, 52px); border-top: 2px solid var(--ink); }
.diagram__svg { width: 100%; height: auto; }
.diagram__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.diagram__legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 32px; list-style: none; counter-reset: lg; border-top: 1px solid var(--line); }
.diagram__legend li { position: relative; padding: 22px 20px 6px 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.diagram__legend li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.diagram__legend li::before { counter-increment: lg; content: "0" counter(lg); display: block; font-family: var(--f-disp); font-weight: 600; font-size: 30px; line-height: 1; color: var(--green); margin-bottom: 10px; }
.diagram__legend b { display: block; font-family: var(--f-head); font-size: 16px; letter-spacing: .1em; margin-bottom: 4px; color: var(--ink); }
.diagram .note { margin-top: 18px; }
.diagram .scroll-hint { display: none; }
@media (max-width: 1024px) { .diagram__legend { grid-template-columns: 1fr 1fr; } .diagram__legend li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 767px) { .diagram__svg { min-width: 680px; } .diagram .scroll-hint { display: block; } }
@media (max-width: 600px) { .diagram__legend { grid-template-columns: 1fr; } .diagram__legend li { padding-left: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 18px; } }
.scroll-hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); text-align: right; letter-spacing: .1em; }

/* flow */
.flow { list-style: none; }
.flow__item { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 56px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line-2); }
.flow__item:first-child { border-top-color: var(--ink); }
.flow__item:last-child { border-bottom: 1px solid var(--line-2); }
.flow__no { font-family: var(--f-disp); font-weight: 600; line-height: 1; margin: 0; }
.flow__no span { display: block; font-size: 13px; letter-spacing: .24em; color: var(--accent-ink); margin-bottom: 8px; }
.flow__no b { font-size: 84px; font-weight: 600; letter-spacing: -.01em; }
.flow__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.3vw, 28px); letter-spacing: .12em; margin-bottom: 16px; }
.flow__title small { display: block; font-family: var(--f-jp); font-weight: 500; font-size: 13px; color: var(--green); letter-spacing: .12em; margin-bottom: 6px; }
.flow__text p { color: var(--ink-2); }
.flow__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flow__photos--one { grid-template-columns: 1fr; }
.flow__photos figure { margin: 0; overflow: hidden; }
.flow__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); transition: transform 1s var(--ease); }
.flow__photos figure:hover img { transform: scale(1.04); }
.flow__photos figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; letter-spacing: .08em; }
.flow__illust { background: #f7ecd5; padding: 20px; }
@media (max-width: 1024px) { .flow__item { grid-template-columns: 96px minmax(0, 1fr); } .flow__no b { font-size: 56px; } .flow__photos { grid-column: 2; } }
@media (max-width: 600px) {
  .flow__item { grid-template-columns: 1fr; gap: 14px; }
  .flow__no { display: flex; align-items: baseline; gap: 12px; } .flow__no span { margin: 0; } .flow__no b { font-size: 44px; }
  .flow__photos { grid-column: auto; }
}

/* videos */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); max-width: 780px; margin-inline: auto; }
.videos figure { margin: 0; }
.videos video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #1b2420; }
.videos figcaption { margin-top: 14px; font-weight: 700; font-size: 14.5px; letter-spacing: .1em; display: flex; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 12px; }
.videos figcaption small { font-family: var(--f-disp); font-weight: 500; color: var(--muted); font-size: 13px; }
@media (max-width: 520px) { .videos { grid-template-columns: 1fr; max-width: 340px; } }

/* info cards */
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--ink); }
.info-cards li { padding: 32px clamp(18px, 2.4vw, 36px) 32px 0; border-bottom: 1px solid var(--line-2); }
.info-cards li + li { padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--line-2); }
.info-cards .ico { width: 48px; height: 48px; display: grid; place-items: center; color: var(--green); border: 1px solid var(--line-2); border-radius: 50%; margin-bottom: 20px; }
.info-cards .ico .icon { width: 22px; height: 22px; }
.info-cards h3 { font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: .12em; margin-bottom: 10px; }
.info-cards p { color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }
.info-cards strong { color: var(--green); }
@media (max-width: 900px) { .info-cards { grid-template-columns: 1fr; } .info-cards li + li { padding-left: 0; border-left: 0; } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 26px 64px 26px 56px; font-weight: 700; font-size: 15.5px; line-height: 1.7; letter-spacing: .08em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; position: absolute; left: 0; top: 22px; font-family: var(--f-disp); font-weight: 600; font-size: 24px; color: var(--green); }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: linear-gradient(currentColor, currentColor) center / 18px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 18px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { position: relative; padding: 0 40px 28px 56px; color: var(--ink-2); }
.faq .faq__a::before { content: "A."; position: absolute; left: 0; top: -4px; font-family: var(--f-disp); font-weight: 600; font-size: 24px; color: var(--accent-ink); }

/* service blocks (jigyou) */
.svc { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc + .svc { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line-2); }
.svc__media { position: sticky; top: calc(var(--header-h) + 28px); overflow: hidden; }
.svc__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc__media .svc__no { position: absolute; left: 0; top: 0; padding: 10px 16px 6px; background: var(--paper); font-family: var(--f-disp); font-weight: 600; font-size: 40px; line-height: 1; color: var(--ink); text-shadow: none; }
.section--white .svc__media .svc__no { background: var(--white); }
.svc__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(23px, 2.6vw, 32px); letter-spacing: .1em; margin: 18px 0 22px; font-feature-settings: "palt"; }
.svc__body > p { color: var(--ink-2); }
.svc__body h3 { font-family: var(--f-head); font-weight: 700; font-size: 16px; letter-spacing: .12em; margin: 34px 0 14px; display: flex; align-items: center; gap: 12px; }
.svc__body h3::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc__media { position: relative; top: 0; } }

.callout { display: flex; gap: 14px; align-items: flex-start; border-left: 3px solid var(--accent); background: var(--white); padding: 18px 22px; margin-top: 24px; font-size: 14.5px; line-height: 1.8; }
.callout .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 4px; }
.callout--green { border-left-color: var(--green); }
.callout--green .icon { color: var(--green); }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.9; border-top: 1px solid var(--ink); }
.table th, .table td { padding: 22px 8px 22px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.table th { width: 26%; font-weight: 700; letter-spacing: .12em; white-space: nowrap; padding-right: 24px; }
.table td { color: var(--ink-2); }
.table td a { color: var(--green); font-weight: 700; }
.table .sub { display: block; font-size: 12.5px; color: var(--muted); }
@media (max-width: 767px) {
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table th { white-space: normal; padding: 18px 0 2px; border-bottom: 0; color: var(--green); font-size: 13px; }
  .table td { padding: 2px 0 18px; }
}
.permit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.permit { padding: 28px clamp(16px, 2vw, 28px) 28px 0; border-bottom: 1px solid var(--line-2); }
.permit + .permit { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line-2); }
.permit__pref { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 19px; letter-spacing: .14em; }
.permit dl { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 13.5px; line-height: 1.6; }
.permit dt { color: var(--muted); }
.permit dd { margin: 0; font-weight: 700; font-family: var(--f-jp); }
.permit__types { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 1024px) { .permit-grid { grid-template-columns: 1fr; } .permit + .permit { padding-left: 0; border-left: 0; } }

/* equipment */
.eq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); list-style: none; }
.eq-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eq { overflow: hidden; }
.eq img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); transition: transform 1s var(--ease); }
.eq:hover img { transform: scale(1.04); }
.eq__body { position: relative; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--ink); }
.eq__title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 17px; letter-spacing: .12em; }
.eq__text { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
@media (max-width: 900px) { .eq-grid, .eq-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .eq-grid, .eq-grid--4 { grid-template-columns: 1fr; } }
.fleet-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--ink); }
.fleet-list li { padding: 26px 16px 26px 0; border-bottom: 1px solid var(--line-2); font-weight: 700; font-size: 13.5px; letter-spacing: .08em; line-height: 1.6; }
.fleet-list li + li { padding-left: 18px; border-left: 1px solid var(--line-2); }
.fleet-list .icon { width: 26px; height: 26px; margin-bottom: 12px; color: var(--green); }
.fleet-list b { display: block; margin-top: 10px; font-family: var(--f-disp); font-weight: 600; font-size: 48px; line-height: 1; letter-spacing: 0; }
.fleet-list b small { font-family: var(--f-jp); font-size: 13px; margin-left: 4px; }
@media (max-width: 900px) { .fleet-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fleet-list li:nth-child(odd) { padding-left: 0; border-left: 0; } }

/* company */
.philosophy { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 0; border-top: 2px solid var(--ink); }
.philosophy__quote { font-family: var(--f-min); font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.6; letter-spacing: .08em; font-feature-settings: "palt"; }
.philosophy__quote em { font-style: normal; color: var(--green); }
.philosophy p { color: var(--ink-2); margin-top: 30px; max-width: 46em; }
.philosophy__mark { position: absolute; right: -40px; top: 40px; width: 220px; opacity: .06; }
.policy { list-style: none; counter-reset: pol; border-top: 1px solid var(--ink); }
.policy > li { position: relative; padding: 24px 0 24px 72px; border-bottom: 1px solid var(--line-2); line-height: 1.9; }
.policy > li::before { counter-increment: pol; content: counter(pol, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--f-disp); font-weight: 600; font-size: 30px; color: var(--green); line-height: 1.2; }
.themes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.themes li { display: flex; gap: 10px; align-items: flex-start; background: var(--white); padding: 12px 16px; font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.themes .icon { color: var(--accent); margin-top: 3px; }
@media (max-width: 600px) { .themes { grid-template-columns: 1fr; } }
.access { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.access__map { aspect-ratio: 16 / 10; background: var(--paper-2); }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access__body { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--ink); }
.access__name { font-family: var(--f-head); font-weight: 700; font-size: 19px; letter-spacing: .14em; margin-bottom: 8px; }
.access__body p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.access__body .link-arrow { margin-top: 14px; }
@media (max-width: 900px) { .access { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-side { position: sticky; top: calc(var(--header-h) + 28px); border-top: 1px solid var(--ink); }
.contact-card { padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.contact-card h2 { font-family: var(--f-disp); font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.contact-card .tel { display: block; font-family: var(--f-disp); font-weight: 600; font-size: 40px; line-height: 1.15; letter-spacing: .03em; text-decoration: none; color: var(--ink); }
.contact-card .tel .icon { display: none; }
.contact-card p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.contact-card p a { color: var(--green); font-weight: 700; word-break: break-all; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-side { position: static; } }

.form { background: var(--white); padding: clamp(24px, 4vw, 56px); border-top: 2px solid var(--ink); }
.form__intro { margin-bottom: 10px; color: var(--ink-2); font-size: 14.5px; }
.field { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 8px 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.field:last-of-type { border-bottom: 0; }
.field__label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; letter-spacing: .1em; line-height: 1.5; padding-top: 14px; align-self: start; }
.badge-req, .badge-opt { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; line-height: 1; padding: 5px 7px; }
.badge-req { background: var(--accent); color: var(--ink); }
.badge-opt { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.input, .textarea {
  width: 100%; min-height: 56px; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 0; background: var(--paper);
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.textarea { min-height: 220px; resize: vertical; line-height: 1.8; }
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(226, 163, 47, .3); }
.field__hint { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.field__error { display: none; margin: 8px 0 0; font-size: 12.5px; color: var(--error); font-weight: 700; }
.field.is-error .input, .field.is-error .textarea { border-color: var(--error); background: #fff6f4; }
.field.is-error .field__error { display: block; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.radios legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; letter-spacing: .06em; cursor: pointer; background: var(--paper); transition: all .3s; }
.radio span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; transition: all .3s; }
.radio input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.radio input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--ink); }
.radio input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.agree { margin: 30px 0 0; padding: 24px; background: var(--paper); text-align: center; }
.check { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; letter-spacing: .06em; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
.agree .field__error { text-align: center; }
.agree.is-error .field__error { display: block; }
.form__submit { margin-top: 30px; text-align: center; }
.form__submit .btn { min-width: min(100%, 380px); min-height: 72px; font-size: 16px; }
.form__submit .btn[disabled] { opacity: .6; cursor: wait; }
.form-alert { margin: 24px 0 0; padding: 16px 20px; border-left: 3px solid var(--error); background: #fff6f4; color: var(--error); font-weight: 700; font-size: 14.5px; line-height: 1.8; }
.form-alert:focus { outline: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 767px) { .field { grid-template-columns: 1fr; padding: 20px 0; } .field__label { padding-top: 0; } }

/* prose */
.prose { background: var(--white); padding: clamp(24px, 5vw, 64px); border-top: 2px solid var(--ink); }
.prose h2 { font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: .1em; margin: 40px 0 12px; display: flex; gap: 12px; align-items: center; }
.prose h2::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.4em; margin-bottom: 1em; }
.prose a { color: var(--green); font-weight: 700; }
.prose .btn { color: #fff; }
.thanks { text-align: center; }
.thanks h1 { justify-content: center; }
.thanks__icon { width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ink); }
.thanks__icon .icon { width: 36px; height: 36px; }

/* =========================================================
   motion
   ========================================================= */
.js .reveal, .js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in, .js .rv.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; }
.js .reveal-d2 { transition-delay: .2s; }
.js .reveal-d3 { transition-delay: .3s; }
.js .reveal-d4 { transition-delay: .4s; }
.js .rv-img img { transform: scale(1.2); transition: transform 1.8s var(--ease); }
.js .rv-img.is-in img { transform: scale(1); }
.js .rv-text { clip-path: inset(0 0 100% 0); transform: translateY(30px); transition: clip-path 1.2s var(--ease-io), transform 1.2s var(--ease); }
.js .rv-text.is-in { clip-path: inset(-10% 0 -10% 0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .rv, .js .rv-img, .js .rv-img img, .js .rv-text, .js .kv__panel, .js .kv__panel video, .js .kv__panel > img, .js .kv__title .line > span, .js .kv-fade { opacity: 1; transform: none; clip-path: none; }
}
@media print { .site-header, .sp-cta, .to-top, .cta, video, .opening { display: none !important; } body { background: #fff; } body::after { display: none; } }

/* ---------- product (top) ---------- */
.prod { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.prod__photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.prod__photo img { width: 100%; height: 100%; object-fit: cover; }
.prod__lead { margin-top: 28px; color: var(--ink-2); max-width: 36em; }
.points { list-style: none; counter-reset: pt; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); margin: 36px 0; }
.points li { counter-increment: pt; padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.points li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line-2); }
.points li::before { content: "0" counter(pt); display: block; font-family: var(--f-disp); font-weight: 600; font-size: 14px; color: var(--accent-ink); letter-spacing: .12em; }
.points b { display: block; font-family: var(--f-head); font-size: 17px; color: var(--ink); letter-spacing: .1em; margin: 2px 0 4px; }
@media (max-width: 900px) { .prod { grid-template-columns: 1fr; } .prod__photo { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } .points li:nth-child(even) { padding-left: 0; border-left: 0; } }
.svc-row__img--illust { display: grid; place-items: center; background: #f7ecd5; }
.svc-row__img--illust svg { width: 64%; height: auto; }
.only__text h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.7; letter-spacing: .1em; font-feature-settings: "palt"; }

/* ---------- product page ---------- */
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.spec__photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.spec__photos figure { margin: 0; overflow: hidden; }
.spec__photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.spec__photos figure:nth-child(2) { margin-top: 64px; }
@media (max-width: 900px) { .spec { grid-template-columns: 1fr; } }
.feat { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .5); }
.feat li { padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 44px) clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line-dark); }
.feat li:nth-child(even) { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line-dark); }
.feat__no { display: block; font-family: var(--f-disp); font-weight: 600; font-size: 56px; line-height: 1; color: var(--sage); margin-bottom: 18px; }
.feat h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(19px, 1.9vw, 24px); letter-spacing: .1em; margin-bottom: 12px; }
.feat p { color: rgba(255, 255, 255, .78); font-size: 14.5px; }
@media (max-width: 767px) { .feat { grid-template-columns: 1fr; } .feat li:nth-child(even) { padding-left: 0; border-left: 0; } }
.uses { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.uses__photos { display: grid; grid-template-columns: 1fr; gap: 12px; }
.uses__photos figure { position: relative; margin: 0; overflow: hidden; }
.uses__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }
.uses__photos figure:not(:first-child) img { aspect-ratio: 16 / 9; }
.uses__photos figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #fff; background: rgba(11, 24, 19, .72); }
.uses__note { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-align: right; }
.uses__list { list-style: none; border-top: 1px solid var(--ink); margin-top: 32px; }
.uses__list li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-2); font-weight: 700; letter-spacing: .1em; }
.uses__list li span { font-family: var(--f-disp); font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.partner { margin-top: 28px; padding: 22px 24px; background: var(--white); border-top: 2px solid var(--green); }
.partner__label { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--green); }
.partner__name { margin: 6px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 21px; letter-spacing: .08em; }
.partner__name a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.partner__name a .icon { width: 16px; height: 16px; color: var(--green); transition: transform .3s var(--ease); }
.partner__name a:hover .icon { transform: translateX(3px); }
.partner__text { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); }
.prod__lead a { color: var(--green); }
.uses__general { margin-top: 28px; padding: 22px 24px; background: var(--white); border-left: 3px solid var(--accent); font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .uses { grid-template-columns: 1fr; } }
.cycle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cycle__svg { width: 100%; max-width: 560px; margin-inline: auto; }
@media (max-width: 900px) { .cycle { grid-template-columns: 1fr; } }
.steps-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: st; }
.steps-row li { position: relative; counter-increment: st; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.steps-row li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
.steps-row li::before { content: "0" counter(st); display: block; font-family: var(--f-disp); font-weight: 600; font-size: 48px; line-height: 1; color: var(--ink); margin-bottom: 18px; }
.steps-row b { display: block; font-family: var(--f-head); font-size: 17px; letter-spacing: .1em; color: var(--ink); margin-bottom: 6px; }
@media (max-width: 900px) { .steps-row { grid-template-columns: 1fr 1fr; } .steps-row li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .steps-row { grid-template-columns: 1fr; } .steps-row li + li { padding-left: 0; border-left: 0; } }

/* fit pinned process into one screen */
.hscroll.is-h .hscroll__sticky { justify-content: flex-start; padding-top: calc(var(--header-h) + clamp(20px, 4vh, 48px)); }
.hscroll.is-h .sh__en { font-size: clamp(56px, 6.2vw, 100px); }
.hscroll.is-h .sh__ja { margin-top: 14px; }
.hscroll.is-h .hscroll__track { margin-top: clamp(36px, 6vh, 64px); }
.hscroll.is-h .hstep__img { height: min(34vh, 330px); }
.hscroll.is-h .hstep { width: calc(min(34vh, 330px) * 1.33); }
.hscroll.is-h .hstep__body { margin-top: 18px; padding-top: 18px; }
.hscroll.is-h .hstep--end a { aspect-ratio: auto; height: min(34vh, 330px); }
.only__num { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
@media (max-width: 1023px) { .only__num { position: relative; top: 0; } }
@media (max-width: 767px) {
  .kv__label { font-size: 10.5px; letter-spacing: .16em; gap: 10px; margin-bottom: 18px; white-space: nowrap; }
  .kv__label::before { width: 24px; }
  .kv__tate { font-size: 12.5px; letter-spacing: .22em; }
  .kv__tate::after { display: none; }
  .kv__en { font-size: 12.5px; letter-spacing: .08em; }
}
@media (max-width: 1023px) { .hscroll__track { scroll-padding-inline: var(--gutter); } }
div + .svc { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line-2); }

/* =========================================================
   readability pass: type sizes, line breaks, photo sizes
   ========================================================= */
body { font-size: 16px; }
@media (max-width: 767px) { body { font-size: 15.5px; } }

/* line breaking: no orphans in paragraphs, balanced headings */
p, li, dd, td, summary, .svc-row__text, .faq__a { text-wrap: pretty; }
h1, h2, h3, .sec-title, .statement, .btn, figcaption, .svc-row__title, .points b, .feat h3 { text-wrap: balance; }
.nw { white-space: nowrap; }

/* minimum sizes for Japanese text */
.note, .field__hint, .field__error, .scroll-hint, .table .sub { font-size: 13px; }
.breadcrumb { font-size: 13px; }
.area { font-size: 13px; padding: 7px 11px 7px 10px; }
.chips li { font-size: 14px; }
.stats .sub, .stats .label + .sub { font-size: 13px; }
.stats .label { font-size: 15px; }
.kv__cap span { font-size: 13px; }
.header-tel__note { font-size: 11.5px; }
.gnav__en { font-size: 11.5px; }
.cta__tel-note { font-size: 13.5px; }
.footer-license { font-size: 12.5px; }
.footer-c { font-size: 12.5px; }
.site-footer { font-size: 14.5px; }
.define__eq small, .flow__photos figcaption, .gallery figcaption, .permit__types { font-size: 13px; }
.points li, .eq__text, .fleet-list li, .contact-card p, .steps-row li { font-size: 14.5px; }
.svc-row__text, .diagram__legend li, .hstep__body p { font-size: 15px; }
.info-cards p, .feat p, .uses__general { font-size: 15px; }
.permit dl { font-size: 14px; }
.videos figcaption small { font-size: 13.5px; }
@media (max-width: 767px) {
  .kv__label { font-size: 11.5px; letter-spacing: .12em; }
  .kv__en { font-size: 13px; }
  .svc-row__text { font-size: 14.5px; }
  .svc__title { font-size: 21px; }
  .btn-row .btn { width: 100%; }
  .flow__title { font-size: 21px; }
}

/* photo sizes: keep legacy (low-res) photos from being blown up */
.svc--lr .svc__media { max-width: 460px; }
.base-photo { max-width: 460px; }
.hscroll.is-h .hstep__img { height: min(32vh, 310px); }
.hscroll.is-h .hstep { width: calc(min(32vh, 310px) * 1.33); }
.hscroll.is-h .hstep--end a { height: min(32vh, 310px); }
.base-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin-top: 20px; }
.base-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.base-thumbs figure { margin: 0; }
.base-thumbs figcaption { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); font-weight: 700; font-size: 14px; letter-spacing: .1em; }
@media (max-width: 560px) { .base-thumbs { grid-template-columns: 1fr 1fr; } .base-thumbs li:first-child { grid-column: span 2; } }

/* hanmou machine gallery: full width under the text */
.gallery--wide { grid-template-columns: 1.4fr 1fr 1fr; margin-top: clamp(40px, 5vw, 64px); }
.gallery--wide figure:first-child { aspect-ratio: auto; }
/* phone: big photo on top, the other four in a 2×2 grid (the wide 3-column grid was squeezing them) */
@media (max-width: 767px) {
  .gallery--wide { grid-template-columns: 1fr 1fr; }
  .gallery--wide figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery--wide figure:not(:first-child) { aspect-ratio: 1 / 1; }
}
.base__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(24px, 5vw, 72px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--ink); }
.base__row + .base__row { border-top-color: var(--line-2); }
.base__name { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-head); font-size: clamp(21px, 2.2vw, 26px); letter-spacing: .12em; margin-bottom: 14px; }
.base__name small { font-family: var(--f-jp); font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.base__text p { color: var(--ink-2); }
.base-photo { margin: 0; overflow: hidden; }
.base-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.base-thumbs { margin-top: 0; }
@media (max-width: 900px) { .base__row { grid-template-columns: 1fr; } }
/* phrase-aware wrapping for body copy (Chrome/Edge); others fall back to normal breaking */
p, li, dd, td, summary, figcaption, .svc-row__text, .chips li { word-break: auto-phrase; }
.badge-req, .badge-opt { font-size: 11.5px; }
.header-tel__note { font-size: 12px; }
@media (max-width: 900px) { .svc-row { grid-template-areas: "no title img" "no text text"; } }
/* phone: number above the title so the title gets the full width */
@media (max-width: 560px) {
  .svc-row { grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: "no img" "title img" "text text"; gap: 4px 16px; }
  .svc-row__no { font-size: 15px; }
  .svc-row__title { font-size: 19px; text-wrap: pretty; }
  .svc-row__img { align-self: start; }
}
/* equipment captions: let "三方締 金属プレス機" wrap by phrase, not mid-word */
.thumbs figcaption { display: block; }
.thumbs figcaption b { margin-right: 10px; }
.thumbs figcaption .ib { margin-right: .25em; }
.footer-c small { font-size: inherit; }
.philosophy { overflow: hidden; }
.btn__t { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .btn-row .btn { padding: 0 18px 0 20px; gap: 14px; font-size: 14px; letter-spacing: .08em; }
  .stats .label { font-size: 14px; letter-spacing: .04em; }
  .stats li:nth-child(even) { padding-left: 18px; }
  .stats li { padding-right: 12px; }
}

/* image reveal v2: a cover panel slides away (no clip-path on the image container,
   so lazy-loaded images always load) */
.section--white { --bg: var(--white); }
.section--dark, .only, .kv { --bg: var(--dark); }
.section--tint { --bg: var(--paper-2); }
.cta { --bg: var(--green); }
.js .rv-img { position: relative; overflow: hidden; }
.js .rv-img::after {
  content: ""; position: absolute; inset: -1px; z-index: 3; pointer-events: none;
  background: var(--bg, var(--paper)); transform-origin: top; transform: scaleY(1);
  transition: transform 1.25s var(--ease-io);
}
.js .rv-img.is-in::after { transform: scaleY(0); }
@media (prefers-reduced-motion: reduce) { .js .rv-img::after { display: none; } }

/* contrast: text over the KV video on phones */
@media (max-width: 767px) {
  .kv__shade { background: linear-gradient(180deg, rgba(11, 24, 19, .6) 0%, rgba(11, 24, 19, .3) 22%, rgba(11, 24, 19, .55) 45%, rgba(11, 24, 19, .9) 68%, rgba(11, 24, 19, .96) 100%); }
}
.kv__label, .kv__en, .kv__tate { text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }

/* ---------- machine map (annotated photo) ---------- */
.mmap { position: relative; margin: 0 0 28px; aspect-ratio: 4 / 3; overflow: hidden; }
.mmap img { width: 100%; height: 100%; object-fit: cover; }
.mmap__pins { list-style: none; margin: 0; padding: 0; }
.mmap__pins li {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--ink); font-family: var(--f-disp); font-weight: 600; font-size: 16px;
  box-shadow: 0 0 0 0 rgba(226, 163, 47, .6); animation: pin 2.4s ease-out infinite;
}
.mmap__pins li:nth-child(2) { animation-delay: .3s; }
.mmap__pins li:nth-child(3) { animation-delay: .6s; }
.mmap__pins li:nth-child(4) { animation-delay: .9s; }
@keyframes pin { 0% { box-shadow: 0 0 0 0 rgba(226, 163, 47, .6); } 70% { box-shadow: 0 0 0 16px rgba(226, 163, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 163, 47, 0); } }
.mmap__legend { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 clamp(36px, 4vw, 56px); border-top: 1px solid var(--line-dark); }
.mmap__legend li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 14.5px; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.mmap__legend li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.mmap__legend b { grid-row: span 2; width: 30px; height: 30px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-family: var(--f-disp); font-weight: 600; font-size: 14px; }
.mmap__legend strong { font-family: var(--f-head); font-size: 16.5px; color: #fff; letter-spacing: .1em; }
.mmap-wrap { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 767px) {
  .mmap__pins li { width: 30px; height: 30px; font-size: 13px; }
  .mmap__legend { grid-template-columns: 1fr; }
  .mmap__legend li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- before / after ---------- */
.ba { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(72px, 9vw, 140px); padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-dark); }
.only .statement, .section--dark .statement { color: #fff; }
.only .statement em, .section--dark .statement em { color: var(--accent); }
.ba .sh__num { color: var(--sage); margin-bottom: 18px; }
.ba__lead { margin-top: 24px; color: rgba(255, 255, 255, .82); }
.ba--light { border-top-color: var(--line-2); grid-template-columns: 1fr; }
.ba--light .sh__num { color: var(--green); }
.ba--light .ba__lead { color: var(--ink-2); }
.ba__view { position: relative; aspect-ratio: 4 / 3; overflow: hidden; --pos: 50%; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba__line i {
  position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121a16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E");
  background-size: 26px; background-position: center; background-repeat: no-repeat;
}
.ba__tag { position: absolute; top: 14px; z-index: 2; padding: 8px 12px; line-height: 1.25; background: rgba(11, 24, 19, .8); color: #fff; font-family: var(--f-disp); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; pointer-events: none; }
.ba__tag small { display: block; font-family: var(--f-jp); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: none; }
.ba__tag--b { left: 14px; }
.ba__tag--a { right: 14px; background: var(--accent); color: var(--ink); }
.ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__view:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 900px) { .ba { grid-template-columns: 1fr; } }
