/* =====================================================================
   歩工業 / AYUMI KOGYO
   Design system "LEVEL" — 水平・垂直・直角。まっすぐ丁寧に。
   ---------------------------------------------------------------------
   ・ロゴのスラッシュ（//）＝ 図面の寸法線ティック
   ・紋章の水平器 ＝ スクロール/入力の進捗UI（気泡）
   ・通り芯バブル・寸法線・トンボ ＝ 設計図の精度で信頼を語る
   ===================================================================== */

@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }

:root {
  --paper: #f2f0eb;
  --paper-2: #e8e5de;
  --paper-3: #dcd8cf;
  --ink: #131718;
  --ink-2: #1d2223;
  --ink-3: #2b3132;
  --text: #22282a;
  --mute: #666d6b;
  --mute-l: #a7aca8;
  --green: #23876f;       /* logo green */
  --green-d: #1b6b58;     /* AA text on paper */
  --green-l: #5fbfa4;     /* on ink */
  --red: #bc1f2e;         /* logo red — survey marks */
  --line: rgba(19, 23, 24, .14);
  --line-2: rgba(19, 23, 24, .28);
  --line-l: rgba(242, 240, 235, .16);
  --line-l2: rgba(242, 240, 235, .32);

  --f-min: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", serif;
  --f-sans: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --f-en: "Archivo", "Zen Kaku Gothic New", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 5.4vw, 96px);
  --sec: clamp(96px, 11vw, 184px);
  --hd-h: 84px;
  --slope: 0.55;          /* logo stripe slope (dx/dy) */
  --ease: cubic-bezier(.2, .72, .12, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --r: 2px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  font-family: var(--f-sans);
  font-size: 15.5px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 0;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .hd.is-light :focus-visible { outline-color: var(--green-l); }

/* concrete grain (painted with the page — no full-screen overlay layer) */
body { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .055 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.paper2 { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .055 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 10001; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 13px; transition: top .2s; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- layout ---------- */
.container { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: calc(var(--sec) * .7); }
.dark { background: var(--ink); color: #e9e7e1; }
.paper2 { background: var(--paper-2); }

/* ---------- type ---------- */
.en { font-family: var(--f-en); letter-spacing: .02em; }
.mono { font-family: var(--f-mono); letter-spacing: .04em; }
.min { font-family: var(--f-min); }
.eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mute); display: inline-flex; align-items: center; gap: 12px; line-height: 1.4;
}
.eyebrow::before { content: "//"; color: var(--green); letter-spacing: -.08em; font-weight: 500; }
.eyebrow--light { color: rgba(242, 240, 235, .7); }
.eyebrow--light::before { color: var(--green-l); }

.bubble {
  --s: 30px;
  width: var(--s); height: var(--s); border-radius: 50%;
  border: 1px solid currentColor; display: inline-grid; place-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0; line-height: 1; flex: none;
}

/* section head */
.sh { display: grid; gap: 22px; align-content: start; }
.sh__label { display: flex; align-items: center; gap: 14px; color: var(--mute); }
.sh__label .bubble { color: var(--text); }
.dark .sh__label, .dark .sh__label .bubble { color: rgba(233, 231, 225, .75); }
.sh__en { font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.sh__en::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.sh__title {
  font-family: var(--f-min); font-weight: 700; line-height: 1.38; letter-spacing: .02em;
  font-size: clamp(30px, 4.3vw, 66px); color: var(--ink);
}
.dark .sh__title { color: #f2f0eb; }
.sh__title em { font-style: normal; color: var(--green-d); }
.dark .sh__title em { color: var(--green-l); }
.lead { font-size: clamp(15px, 1.12vw, 17px); line-height: 2.15; color: var(--text); max-width: 36em; }
.dark .lead { color: rgba(233, 231, 225, .82); }

/* ---------- dimension line (寸法線) ---------- */
.dim {
  --c: var(--line-2);
  position: relative; height: 22px; display: flex; align-items: center; justify-content: center;
  color: var(--mute); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em;
}
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--c); transform-origin: left; transform: scaleX(var(--dim, 1)); transition: transform 1.4s var(--ease); }
.dim > i { position: absolute; top: 3px; width: 1px; height: 16px; background: var(--c); }
.dim > i::after { content: ""; position: absolute; left: -5px; top: 3px; width: 11px; height: 1.5px; background: var(--red); transform: rotate(-58deg); }
.dim > i:first-child { left: 0; } .dim > i:last-of-type { right: 0; }
.dim > span { position: relative; background: var(--paper); padding: 0 12px; }
.dark .dim { --c: var(--line-l2); color: rgba(233, 231, 225, .6); }
.dark .dim > span { background: var(--ink); }
.paper2 .dim > span { background: var(--paper-2); }
[data-reveal].dim { --dim: 0; }
[data-reveal].dim.is-in { --dim: 1; }

/* ---------- spirit level vial ---------- */
.vial {
  --w: 180px; --b: .5;
  position: relative; width: var(--w); height: 16px; border-radius: 99px;
  border: 1px solid currentColor; overflow: hidden;
  background: linear-gradient(180deg, rgba(95, 191, 164, .10), rgba(95, 191, 164, .22));
}
.vial::before, .vial::after { content: ""; position: absolute; top: 2px; bottom: 2px; width: 1px; background: currentColor; opacity: .6; }
.vial::before { left: calc(50% - 16px); } .vial::after { left: calc(50% + 16px); }
.vial > span {
  position: absolute; top: 3px; height: 8px; width: 26px; border-radius: 99px;
  left: calc(var(--b) * (100% - 26px));
  background: radial-gradient(ellipse at 40% 35%, #fff 0 18%, rgba(255, 255, 255, .55) 40%, rgba(255, 255, 255, .25) 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset;
  transition: left .5s var(--ease);
}
.vial.is-level { color: var(--green-l); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #f2f0eb;
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  height: 58px; padding: 0 10px 0 28px; border-radius: 99px;
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 500; letter-spacing: .1em; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), color .4s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--green); z-index: -1; transform: translateY(101%); transition: transform .55s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn__ico { width: 40px; height: 40px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; flex: none; overflow: hidden; transition: background .4s, color .4s; }
.btn__ico svg { width: 13px; height: 13px; transition: transform .55s var(--ease); }
.btn:hover .btn__ico svg { animation: arrowOut .6s var(--ease); }
@keyframes arrowOut { 0% { transform: none; } 45% { transform: translate(150%, -150%); } 46% { transform: translate(-150%, 150%); } 100% { transform: none; } }
.btn--light { --bg: #f2f0eb; --fg: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--light:hover .btn__ico { background: #fff; color: var(--green); }
.btn--line { --bg: transparent; --fg: var(--ink); border: 1px solid var(--line-2); }
.btn--line .btn__ico { background: var(--ink); color: #fff; }
.btn--line:hover { color: #fff; border-color: var(--green); }
.btn--line:hover .btn__ico { background: #fff; color: var(--green); }
.btn--ghost { --bg: transparent; --fg: #f2f0eb; border: 1px solid var(--line-l2); }
.btn--ghost .btn__ico { background: #f2f0eb; color: var(--ink); }
.btn--sm { height: 46px; padding: 0 6px 0 20px; gap: 12px; font-size: 13px; }
.btn--sm .btn__ico { width: 34px; height: 34px; }

.tlink { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .08em; padding-bottom: 6px; position: relative; font-weight: 500; }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.tlink:hover::after { transform: scaleX(0); }
.tlink svg { width: 11px; height: 11px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="slant"] { opacity: 1; transform: none; clip-path: polygon(0 0, 0 0, -30% 100%, 0 100%); transition: clip-path 1.5s var(--ease-io); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="slant"].is-in { clip-path: polygon(0 0, 130% 0, 100% 100%, 0 100%); }
.js [data-reveal="clip"] img, .js [data-reveal="slant"] img { transform: scale(1.14); transition: transform 2s var(--ease); }
.js [data-reveal="clip"].is-in img, .js [data-reveal="slant"].is-in img { transform: none; }

/* split text */
.split-line { white-space: nowrap; display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-ch { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 28ms + var(--d, 0) * 90ms); }
.is-in .split-ch, .split-go .split-ch { transform: none; }

/* =====================================================================
   HEADER
   ===================================================================== */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--hd-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter); color: var(--ink);
  transition: transform .6s var(--ease), background .5s, color .5s, height .5s var(--ease), box-shadow .5s;
}
.hd.is-solid { background: rgba(242, 240, 235, .96); height: 68px; box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden { transform: translateY(-110%); }
.hd.is-light { color: #f2f0eb; }
.hd.is-light.is-solid { background: rgba(19, 23, 24, .94); box-shadow: 0 1px 0 var(--line-l); }
.hd__logo { display: flex; align-items: center; gap: 16px; flex: none; }
.hd__wmwrap { position: relative; width: 132px; }
.hd__wm { width: 132px; transition: opacity .4s; }
.hd__wm--light { position: absolute; inset: 0; opacity: 0; }
.hd.is-light .hd__wm--ink { opacity: 0; }
.hd.is-light .hd__wm--light { opacity: 1; }
.hd__sub { font-family: var(--f-mono); font-size: 9px; letter-spacing: .2em; line-height: 1.5; opacity: .62; border-left: 1px solid currentColor; padding-left: 14px; }
.hd__nav { display: flex; gap: clamp(18px, 2.4vw, 44px); margin-left: auto; }
.hd__nav a { white-space: nowrap; position: relative; font-size: 13.5px; font-weight: 500; letter-spacing: .1em; padding: 8px 0; display: flex; align-items: baseline; gap: 8px; }
.hd__nav a i { font-style: normal; font-family: var(--f-mono); font-size: 9.5px; opacity: .5; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hd__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hd__nav a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }
.hd__right { display: flex; align-items: center; gap: 18px; }
.hd__tel { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.2; font-family: var(--f-en); font-weight: 600; font-size: 17px; letter-spacing: .04em; }
.hd__tel small { font-family: var(--f-mono); font-size: 9px; letter-spacing: .24em; opacity: .6; font-weight: 400; }
.hd.is-light .btn--ink { --bg: #f2f0eb; --fg: var(--ink); }
.hd.is-light .btn--ink:hover { color: #fff; }
.hd__menu { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 4px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .22em; }
.hd__menu-lines { width: 26px; height: 10px; position: relative; }
.hd__menu-lines::before, .hd__menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), width .5s var(--ease); }
.hd__menu-lines::before { top: 0; } .hd__menu-lines::after { bottom: 0; width: 64%; }
.hd__menu:hover .hd__menu-lines::after { width: 100%; }
.hd__vial { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.hd.is-solid .hd__vial { opacity: 1; }
.hd__vial span { position: absolute; top: 0; height: 2px; width: 72px; left: calc(var(--sp, 0) * (100% - 72px)); background: linear-gradient(90deg, transparent, var(--green) 30%, var(--green) 70%, transparent); }

/* menu overlay */
.menu { position: fixed; inset: 0; z-index: 950; color: #f2f0eb; visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); transform: translateX(101%); transition: transform .8s var(--ease-io); will-change: transform; }
.menu.is-open .menu__bg { transform: none; }
.menu__close { position: absolute; top: 20px; right: var(--gutter); z-index: 3; height: 46px; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .22em; color: #f2f0eb; }
.menu__close i { width: 26px; height: 26px; position: relative; }
.menu__close i::before, .menu__close i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.menu__close i::after { transform: rotate(-45deg); }
.menu__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; padding: 120px var(--gutter) 48px; overflow: auto; }
.menu__nav { display: flex; flex-direction: column; justify-content: center; }
.menu__nav a {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 12px;
  padding: 18px 0; border-bottom: 1px solid var(--line-l);
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
.menu__nav i { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--green-l); }
.menu__nav b { font-family: var(--f-min); font-size: clamp(26px, 3.4vw, 48px); font-weight: 700; letter-spacing: .04em; line-height: 1.3; }
.menu__nav em { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .24em; opacity: .5; }
.menu__nav a:hover b { color: var(--green-l); }
.menu__nav a[aria-current="page"] b::after { content: "●"; font-size: 10px; color: var(--red); vertical-align: middle; margin-left: 12px; }
.menu__side { display: flex; flex-direction: column; gap: 32px; justify-content: center; opacity: 0; transition: opacity .8s .45s; }
.menu.is-open .menu__side { opacity: 1; }
.menu__visual { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ink-2); }
.menu__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1.2s var(--ease); }
.menu__visual img.is-on { opacity: 1; transform: none; }
.menu__info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; font-size: 13px; }
.menu__info dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; opacity: .5; margin-bottom: 4px; }
.menu__info a:hover { color: var(--green-l); }

/* =====================================================================
   LOADER & PAGE TRANSITION
   ===================================================================== */
.ld { display: none; }
.is-first .ld {
  display: grid; position: fixed; inset: 0; z-index: 9998; place-content: center; justify-items: center; gap: 26px;
  background: var(--ink); color: #f2f0eb;
}
.ld__crest { width: 200px; clip-path: inset(0 100% 0 0); animation: ldCrest .6s .05s var(--ease) forwards; }
@keyframes ldCrest { to { clip-path: inset(0 0 0 0); } }
.ld .vial { --w: 150px; color: rgba(242, 240, 235, .5); }
.ld .vial > span { animation: ldBubble .8s var(--ease) forwards; transition: none; }
@keyframes ldBubble { 0% { left: 0; } 40% { left: calc(100% - 26px); } 70% { left: calc(38% - 13px); } 100% { left: calc(50% - 13px); } }
.ld__txt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .4em; opacity: .6; }
.ld.is-done { animation: ldOut .55s var(--ease-io) forwards; }
@keyframes ldOut { to { clip-path: polygon(0 0, 0 0, -60% 100%, 0 100%); } }
.is-first .ld { clip-path: polygon(0 0, 160% 0, 100% 100%, 0 100%); }

.tr { position: fixed; inset: 0; z-index: 9997; pointer-events: none; visibility: hidden; }
.tr.is-on, .is-enter .tr { visibility: visible; }
.tr__panel { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100vw + 56vh); background: var(--ink); transform-origin: bottom left; transform: translateX(-55vh) skewX(-28.8deg); will-change: transform; }
.tr__s { position: absolute; left: 0; top: 0; bottom: 0; width: 5vh; transform-origin: bottom left; transform: translateX(-200vw) skewX(-28.8deg); will-change: transform; }
.tr__s--g { background: var(--green); }
.tr__s--r { background: var(--red); }
.tr__mark { position: absolute; left: 50%; top: 50%; width: 132px; translate: -50% -50%; opacity: 0; }

/* survey cursor */
.sv { position: fixed; inset: 0; pointer-events: none; z-index: 800; opacity: 0; transition: opacity .3s; }
.sv.is-on { opacity: 1; }
.sv__x, .sv__y { position: absolute; background: rgba(242, 240, 235, .35); }
.sv__x { left: 0; right: 0; height: 1px; top: 0; }
.sv__y { top: 0; bottom: 0; width: 1px; left: 0; }
.sv__dot { position: absolute; width: 11px; height: 11px; margin: -5px 0 0 -5px; border: 1px solid #fff; border-radius: 50%; }
.sv__lbl { position: absolute; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: #fff; background: rgba(19, 23, 24, .6); padding: 3px 7px; white-space: nowrap; transform: translate(14px, 12px); }
.sv--ink .sv__x, .sv--ink .sv__y { background: rgba(19, 23, 24, .22); }
.sv--ink .sv__dot { border-color: var(--ink); }

/* side indicator */
.side { position: fixed; left: 18px; top: 50%; z-index: 700; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; color: var(--mute); mix-blend-mode: difference; color: #cfd3cf; transition: opacity .4s; }
.side__line { width: 1px; height: 56px; background: currentColor; opacity: .5; }
.side__no { color: #fff; }
.side.is-swap .side__name { animation: sideSwap .6s var(--ease); }
@keyframes sideSwap { from { opacity: 0; transform: translateY(-10px); } }

/* =====================================================================
   HOME — HERO
   ===================================================================== */
.hero { position: relative; height: 100svh; min-height: 680px; max-height: 1200px; color: #f2f0eb; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide { position: absolute; inset: 0; visibility: hidden; }
.hero__slide.is-active, .hero__slide.is-in { visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1.0); } }
.hero__draw { position: absolute; inset: 0; z-index: 2; background: var(--ink); }
.hero__draw img { width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.hero__draw::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(95, 191, 164, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 191, 164, .09) 1px, transparent 1px); background-size: 48px 48px; }
.hero__wipe { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero__wipe .tr__s { width: 3.6vh; opacity: 0; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(12, 15, 16, .78) 0%, rgba(12, 15, 16, .42) 42%, rgba(12, 15, 16, .06) 72%),
  linear-gradient(0deg, rgba(12, 15, 16, .72) 0%, rgba(12, 15, 16, 0) 38%),
  linear-gradient(180deg, rgba(12, 15, 16, .45) 0%, rgba(12, 15, 16, 0) 22%); }
.hero__marks i { position: absolute; width: 22px; height: 22px; border-color: rgba(242, 240, 235, .55); border-style: solid; border-width: 0; }
.hero__marks i:nth-child(1) { top: calc(var(--hd-h) + 14px); left: var(--gutter); border-top-width: 1px; border-left-width: 1px; }
.hero__marks i:nth-child(2) { top: calc(var(--hd-h) + 14px); right: var(--gutter); border-top-width: 1px; border-right-width: 1px; }
.hero__marks i:nth-child(3) { bottom: 26px; left: var(--gutter); border-bottom-width: 1px; border-left-width: 1px; }
.hero__marks i:nth-child(4) { bottom: 26px; right: var(--gutter); border-bottom-width: 1px; border-right-width: 1px; }
.hero__inner { position: absolute; left: 0; right: 0; bottom: clamp(96px, 14vh, 160px); }
.hero__title { font-family: var(--f-min); font-weight: 800; font-size: clamp(56px, 9vw, 160px); line-height: 1.12; letter-spacing: .02em; margin: 0 0 30px; text-shadow: 0 2px 40px rgba(0, 0, 0, .35), 0 0 80px rgba(0, 0, 0, .25); will-change: transform, opacity; }
.hero__title .accent { color: var(--green-l); }
.hero__lead { font-size: clamp(14px, 1.1vw, 16.5px); line-height: 2.1; max-width: 34em; color: rgba(242, 240, 235, .86); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__rail { position: absolute; top: calc(var(--hd-h) + 58px); right: var(--gutter); writing-mode: vertical-rl; font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; color: rgba(242, 240, 235, .6); display: flex; gap: 18px; align-items: center; }
.hero__rail::after { content: ""; width: 1px; height: 80px; background: currentColor; }
.hero__panel {
  position: absolute; right: var(--gutter); bottom: 64px; width: min(360px, 32vw);
  border-top: 1px solid var(--line-l2); padding-top: 18px; font-size: 13px;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end;
}
.hero__no { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: rgba(242, 240, 235, .7); }
.hero__no b { color: #fff; font-weight: 500; font-size: 20px; letter-spacing: .06em; }
.hero__cap { grid-column: 1 / -1; font-family: var(--f-min); font-size: 17px; font-weight: 600; letter-spacing: .06em; min-height: 1.6em; }
.hero__meta { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: rgba(242, 240, 235, .6); }
.hero__ctrl { display: flex; gap: 6px; grid-row: 1; grid-column: 2; }
.hero__ctrl button { width: 38px; height: 38px; border: 1px solid var(--line-l2); border-radius: 50%; display: grid; place-items: center; color: #f2f0eb; transition: background .3s, color .3s; }
.hero__ctrl button:hover { background: #f2f0eb; color: var(--ink); }
.hero__ctrl svg { width: 12px; height: 12px; }
.hero__prog { grid-column: 1 / -1; height: 1px; background: var(--line-l); position: relative; margin-top: 10px; }
.hero__prog span { position: absolute; inset: 0; background: var(--green-l); transform-origin: left; transform: scaleX(0); }
.hero__level { position: absolute; left: var(--gutter); bottom: 44px; display: flex; align-items: center; gap: 16px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: rgba(242, 240, 235, .7); }
.hero__level .vial { color: rgba(242, 240, 235, .55); --w: 150px; }
.hero__level .vial > span { transition: left .25s ease-out; }
.hero__deg { min-width: 7.5em; }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; translate: -50% 0; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .3em; color: rgba(242, 240, 235, .6); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--green-l), transparent); animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero intro sequencing */
.js .hero .hero__inner > *, .js .hero__panel, .js .hero__level, .js .hero__rail, .js .hero__scroll { opacity: 0; transform: translateY(20px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.hero.is-ready .hero__inner > *, .hero.is-ready .hero__panel, .hero.is-ready .hero__level, .hero.is-ready .hero__rail, .hero.is-ready .hero__scroll { opacity: 1; transform: none; }
.hero.is-ready .hero__inner > :nth-child(2) { transition-delay: .08s; }
.hero.is-ready .hero__inner > :nth-child(3) { transition-delay: .5s; }
.hero.is-ready .hero__inner > :nth-child(4) { transition-delay: .62s; }
.hero.is-ready .hero__panel { transition-delay: .8s; }
.hero.is-ready .hero__level, .hero.is-ready .hero__rail, .hero.is-ready .hero__scroll { transition-delay: .95s; }

/* =====================================================================
   HOME — VALUES (LISTEN / CRAFT / LIVE)
   ===================================================================== */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value { position: relative; padding: 48px clamp(20px, 2.6vw, 48px) 56px; border-left: 1px solid var(--line); overflow: hidden; }
.value:first-child { border-left: 0; }
.value__axis { display: flex; align-items: center; gap: 10px; color: var(--mute); margin-bottom: 44px; }
.value__axis::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 14px, transparent 14px 18px, var(--line-2) 18px 20px, transparent 20px 24px); }
.value .value__en { font-family: var(--f-en); font-weight: 800; font-stretch: 72%; font-size: clamp(54px, 6.6vw, 118px); line-height: .9; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1.2px var(--ink); transition: color .6s var(--ease); position: relative; }
.value__en::after { content: attr(data-t); position: absolute; left: 0; top: 0; color: var(--green); -webkit-text-stroke: 0; clip-path: inset(0 calc((1 - var(--fp, 0)) * 100%) 0 0); }
.value__jp { font-family: var(--f-min); font-weight: 700; font-size: clamp(22px, 2vw, 30px); margin: 30px 0 12px; display: flex; align-items: baseline; gap: 14px; color: var(--ink); }
.value__jp small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--mute); font-weight: 400; }
.value p { font-size: 14px; color: var(--mute); max-width: 22em; }

/* =====================================================================
   HOME — PHILOSOPHY
   ===================================================================== */
.philo { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
.philo__head { grid-column: 1 / span 6; }
.philo__body { grid-column: 8 / span 5; padding-top: 12px; }
.philo__body .lead + .lead { margin-top: 1.4em; }
.philo__sign { margin-top: 44px; display: flex; align-items: center; gap: 18px; }
.philo__sign img { width: 56px; }
.philo__sign p { font-size: 12px; color: var(--mute); line-height: 1.7; }
.philo__sign b { display: block; font-family: var(--f-min); font-size: 16px; color: var(--ink); letter-spacing: .1em; }
.philo__media { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 4fr; gap: clamp(16px, 2vw, 32px); margin-top: clamp(56px, 7vw, 120px); align-items: end; }
.philo__media figure { position: relative; overflow: hidden; }
.philo__media figure:first-child img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.philo__media figure:last-child { margin-bottom: 18%; }
.philo__media figure:last-child img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.fig-tag { position: absolute; left: 14px; bottom: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: #fff; background: rgba(19, 23, 24, .55); padding: 3px 8px; backdrop-filter: blur(4px); }

/* =====================================================================
   COMPARE (DRAWING ⇄ PERSPECTIVE)
   ===================================================================== */
.svc { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: center; }
.svc__text .lead { margin: 28px 0 40px; }
.cmp { position: relative; --x: 52%; user-select: none; touch-action: pan-y; }
.cmp__frame { position: relative; aspect-ratio: 1672/941; overflow: hidden; background: var(--ink); }
.cmp__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__draw { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); background: #10151a; }
.cmp__draw img { width: 100%; height: 100%; object-fit: cover; }
.cmp__draw::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(95, 191, 164, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 191, 164, .1) 1px, transparent 1px); background-size: 40px 40px; }
.cmp__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: #f2f0eb; pointer-events: none; }
.cmp__knob { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; translate: -50% -50%; border-radius: 50%; background: #f2f0eb; color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); font-family: var(--f-mono); font-size: 13px; }
.cmp__knob::before { content: "◂ ▸"; letter-spacing: .1em; }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp__lbl { position: absolute; top: 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; padding: 5px 10px; background: rgba(19, 23, 24, .6); color: #f2f0eb; pointer-events: none; }
.cmp__lbl--l { left: 14px; } .cmp__lbl--r { right: 14px; }
.cmp__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--mute); }
.cmp__cap b { font-family: var(--f-min); font-size: 14px; letter-spacing: .08em; color: var(--ink); font-weight: 700; }
.dark .cmp__cap b { color: #f2f0eb; }

/* =====================================================================
   HOME — SELECTED WORKS SHOWCASE
   ===================================================================== */
.show { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 72px); align-items: stretch; margin-top: clamp(48px, 5vw, 80px); }
.show__stage { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ink-2); }
.show__img { position: absolute; inset: 0; visibility: hidden; }
.show__img.is-active, .show__img.is-in { visibility: visible; }
.show__img img { width: 100%; height: 100%; object-fit: cover; }
.show__panel { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-block: 8px; }
.show__cat { font-family: var(--f-en); font-weight: 800; font-stretch: 70%; font-size: clamp(64px, 8.2vw, 150px); line-height: .82; letter-spacing: -.01em; color: var(--green-l); overflow: hidden; height: .84em; }
.show__cat span { display: block; transition: transform .9s var(--ease-io); }
.show__ttl { font-family: var(--f-min); font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; line-height: 1.55; min-height: 3.1em; color: #f2f0eb; }
.show__nav { display: flex; align-items: center; gap: 14px; }
.show__nav button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-l2); display: grid; place-items: center; color: #f2f0eb; transition: background .3s, color .3s, border-color .3s; }
.show__nav button:hover { background: #f2f0eb; color: var(--ink); border-color: #f2f0eb; }
.show__nav svg { width: 14px; height: 14px; }
.show__count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; margin-left: 10px; color: rgba(242, 240, 235, .6); }
.show__count b { color: #fff; font-weight: 500; }
.show__list { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.show__list button { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-l); font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: rgba(242, 240, 235, .5); text-align: left; transition: color .3s, padding .4s var(--ease); }
.show__list button.is-on { color: #fff; padding-left: 14px; }
.show__list button.is-on::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* photo rails */
.rails { display: grid; gap: 14px; margin-top: clamp(64px, 7vw, 120px); overflow: hidden; }
.rail { display: flex; gap: 14px; width: max-content; animation: rail 60s linear infinite; }
.rail--rev { animation-direction: reverse; animation-duration: 70s; }
.rails:hover .rail, .rails.is-paused .rail, .rails.is-off .rail { animation-play-state: paused; }
.hero.is-off .hero__slide img { animation-play-state: paused; }
.rail img { height: clamp(150px, 16vw, 250px); width: auto; aspect-ratio: 4/3; object-fit: cover; }
@keyframes rail { to { transform: translateX(-50%); } }
.rails__ctrl { display: flex; justify-content: flex-end; padding-inline: var(--gutter); }
.pausebtn { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; color: inherit; opacity: .7; display: inline-flex; gap: 8px; align-items: center; padding: 8px 0; }
.pausebtn:hover { opacity: 1; }

/* =====================================================================
   PROCESS
   ===================================================================== */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 96px); position: relative; }
.proc::before { content: ""; position: absolute; left: 15px; right: 0; top: 15px; height: 1px; background: var(--line-2); transform-origin: left; transform: scaleX(var(--pp, 0)); transition: transform 2.2s var(--ease-io); }
.proc.is-in { --pp: 1; }
.proc__step { position: relative; padding-right: clamp(16px, 2.4vw, 40px); }
.proc__step .bubble { --s: 31px; background: var(--paper); color: var(--ink); position: relative; z-index: 1; transition: background .5s, color .5s, border-color .5s; transition-delay: calc(var(--i) * .35s + .3s); }
.proc.is-in .proc__step .bubble { background: var(--ink); color: #fff; border-color: var(--ink); }
.proc__step h3 { font-family: var(--f-min); font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; margin: 30px 0 10px; color: var(--ink); }
.proc__step p { font-size: 13.5px; color: var(--mute); }
.proc__step .mono { display: block; font-size: 10px; letter-spacing: .22em; color: var(--green-d); margin-top: 22px; }

/* link cards (SERVICE / ABOUT) */
.lcards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); }
.lcard { position: relative; min-height: clamp(360px, 34vw, 520px); overflow: hidden; color: #f2f0eb; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 48px); isolation: isolate; }
.lcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.lcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 15, 16, .86), rgba(12, 15, 16, .2) 70%); transition: background .6s; }
.lcard:hover > img { transform: scale(1.06); }
.lcard:hover::before { background: linear-gradient(0deg, rgba(18, 70, 58, .92), rgba(12, 15, 16, .25) 80%); }
.lcard__top { position: absolute; top: clamp(24px, 3vw, 48px); left: clamp(24px, 3vw, 48px); right: clamp(24px, 3vw, 48px); display: flex; justify-content: space-between; align-items: center; }
.lcard__arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-l2); display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); }
.lcard__arrow svg { width: 14px; height: 14px; }
.lcard:hover .lcard__arrow { background: #f2f0eb; color: var(--ink); transform: rotate(45deg); }
.lcard h3 { font-family: var(--f-min); font-size: clamp(26px, 2.8vw, 42px); font-weight: 700; letter-spacing: .04em; }
.lcard p { font-size: 13.5px; opacity: .85; max-width: 30em; margin-top: 12px; }
.lcard .tlink { margin-top: 22px; align-self: flex-start; }

/* =====================================================================
   CONTACT CTA (shared)
   ===================================================================== */
.cta { position: relative; overflow: hidden; color: #f2f0eb; background: var(--ink); isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; transform: scale(1.08); transition: transform 8s linear; }
.cta.is-in .cta__bg img { transform: scale(1); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(19, 23, 24, .96) 30%, rgba(19, 23, 24, .55)); }
.cta__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 96px); align-items: end; }
.cta__title { font-family: var(--f-min); font-weight: 700; font-size: clamp(30px, 3.7vw, 58px); line-height: 1.4; margin: 24px 0 18px; }
.cta__cards { display: grid; gap: 0; border-top: 1px solid var(--line-l2); }
.ccard { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 20px; padding: 26px 8px; border-bottom: 1px solid var(--line-l2); position: relative; isolation: isolate; transition: padding .5s var(--ease), color .4s; }
.ccard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #f2f0eb; transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.ccard:hover { color: var(--ink); padding-inline: 24px; }
.ccard:hover::before { transform: none; }
.ccard__k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .22em; opacity: .7; }
.ccard__v { font-family: var(--f-en); font-weight: 600; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: .02em; line-height: 1.2; }
.ccard__v.jp { font-family: var(--f-min); font-weight: 700; font-size: clamp(20px, 2vw, 28px); }
.ccard__n { display: block; font-size: 12px; opacity: .65; margin-top: 4px; letter-spacing: .06em; }
.ccard__ico { width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .8; }
.ccard__ico svg { width: 13px; height: 13px; }
.cta__note { margin-top: 28px; font-size: 13px; opacity: .7; }

/* =====================================================================
   REEL (horizontal works scroller, shared)
   ===================================================================== */
.reel__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.reel__ctrl { display: flex; align-items: center; gap: 22px; }
.reel__btns { display: flex; gap: 8px; }
.rbtn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.rbtn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rbtn svg { width: 13px; height: 13px; }
.reel__track { display: flex; gap: clamp(12px, 1.4vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; padding: clamp(36px, 4vw, 56px) var(--gutter) 8px; scrollbar-width: none; cursor: grab; scroll-padding-inline: var(--gutter); }
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.reel__track.is-drag a { pointer-events: none; }
.reel__item { flex: none; width: clamp(260px, 30vw, 460px); scroll-snap-align: start; }
.reel__item:nth-child(3n+2) { width: clamp(220px, 22vw, 330px); }
.reel__media { overflow: hidden; aspect-ratio: 4/3; background: var(--paper-3); }
.reel__item:nth-child(3n+2) .reel__media { aspect-ratio: 4/5; }
.reel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.88); pointer-events: none; }
.reel__item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.reel__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; }
.reel__cap b { font-family: var(--f-min); font-weight: 700; letter-spacing: .04em; }
.reel__cap span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: var(--mute); white-space: nowrap; }
.reel__foot { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.reel__hint { font-family: var(--f-mono); font-size: 10px; letter-spacing: .24em; color: var(--mute); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.reel__hint::before { content: "⟷"; font-size: 14px; letter-spacing: 0; }
.reel__bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.reel__bar span { position: absolute; top: -1px; height: 3px; background: var(--ink); left: 0; width: 20%; transition: left .2s linear; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ft { position: relative; background: var(--ink); color: #d9dcd8; padding-top: clamp(80px, 9vw, 140px); overflow: hidden; isolation: isolate; }
.ft__crest { position: absolute; right: -6vw; top: 40px; width: clamp(280px, 34vw, 560px); opacity: .05; z-index: -1; pointer-events: none; }
.ft__top { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(56px, 6vw, 96px); }
.ft__wm { width: 180px; }
.ft__copy { font-family: var(--f-min); font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; line-height: 1.6; color: #f2f0eb; margin-top: 36px; }
.ft__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-content: start; }
.ft__nav a { display: flex; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line-l); font-size: 14px; transition: color .3s, padding .4s var(--ease); }
.ft__nav a:hover { color: var(--green-l); padding-left: 8px; }
.ft__nav i { font-style: normal; font-family: var(--f-mono); font-size: 9.5px; opacity: .5; }
.ft__act { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ft__act .btn { width: 100%; justify-content: space-between; }
/* title block */
.tblock { display: grid; grid-template-columns: repeat(12, 1fr); border: 1px solid var(--line-l2); font-size: 13px; }
.tblock > div { padding: 16px 18px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.tblock dt { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .22em; opacity: .55; margin-bottom: 6px; }
.tblock dd { line-height: 1.8; color: #eceae4; }
.tblock a:hover { color: var(--green-l); }
.tb-a { grid-column: span 3; } .tb-b { grid-column: span 2; } .tb-c { grid-column: span 4; } .tb-d { grid-column: span 3; border-right: 0 !important; }
.tb-e { grid-column: span 5; border-bottom: 0 !important; } .tb-f { grid-column: span 4; border-bottom: 0 !important; } .tb-g { grid-column: span 3; border-bottom: 0 !important; border-right: 0 !important; }
.tb-g dd { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; }
.maplink { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; margin-top: 6px; color: var(--green-l); }
.maplink svg { width: 10px; height: 10px; }
.ft__giant { font-family: var(--f-en); font-weight: 800; font-stretch: 68%; font-size: 14.4vw; line-height: .8; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 235, .14); margin-top: clamp(48px, 6vw, 96px); text-align: center; user-select: none; }
.ft__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 26px 30px; border-top: 1px solid var(--line-l); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; color: rgba(217, 220, 216, .65); flex-wrap: wrap; }
.ft__bottom a:hover { color: #fff; }
.totop { display: inline-flex; align-items: center; gap: 10px; }
.totop i { width: 34px; height: 34px; border: 1px solid var(--line-l2); border-radius: 50%; display: grid; place-items: center; font-style: normal; transition: background .3s, color .3s; }
.totop:hover i { background: #f2f0eb; color: var(--ink); }

/* mobile fixed CTA */
.mcta { display: none; }

/* =====================================================================
   SUB PAGE HERO
   ===================================================================== */
.ph { position: relative; padding-top: calc(var(--hd-h) + clamp(40px, 6vw, 96px)); padding-bottom: clamp(56px, 6vw, 96px); overflow: hidden; }
.ph__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 72px); align-items: end; }
.ph__crumb { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .22em; color: var(--mute); display: flex; gap: 10px; flex-wrap: wrap; }
.ph__crumb b { color: var(--ink); font-weight: 500; }
.ph__crumb a:hover { color: var(--green-d); }
.ph__title { font-family: var(--f-min); font-weight: 800; font-size: clamp(42px, 5.4vw, 100px); line-height: 1.12; letter-spacing: .03em; color: var(--ink); margin: 28px 0 22px; }
.ph__lead { font-family: var(--f-min); font-size: clamp(17px, 1.6vw, 23px); font-weight: 600; letter-spacing: .06em; color: var(--text); }
.ph__index { margin-top: clamp(36px, 4vw, 64px); display: grid; border-top: 1px solid var(--line); max-width: 560px; }
.ph__index a { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; align-items: center; transition: padding .4s var(--ease), color .3s; }
.ph__index a:hover { padding-left: 10px; color: var(--green-d); }
.ph__index i { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; color: var(--mute); }
.ph__index em { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--mute); }
.ph__media { position: relative; }
.ph__frame { position: relative; overflow: hidden; aspect-ratio: 5/4; clip-path: polygon(calc(var(--slope) * 22%) 0, 100% 0, 100% 100%, 0 100%); }
.ph__frame img { width: 100%; height: 100%; object-fit: cover; }
.ph__sheet { position: absolute; right: 0; top: -34px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; color: var(--mute); display: flex; gap: 16px; }
.ph__sheet b { color: var(--ink); font-weight: 500; }
.ph__stripes { position: absolute; left: calc(var(--slope) * 22% * -1 + 0px); top: 0; bottom: 0; width: 100%; pointer-events: none; }
.ph__stripes i { position: absolute; top: 0; bottom: 0; width: 14px; transform-origin: bottom left; transform: skewX(-28.8deg); }
.ph__stripes i:first-child { left: calc(-28px); background: var(--green); }
.ph__stripes i:last-child { left: calc(-6px); background: var(--red); }
.ph .dim { margin-top: clamp(40px, 5vw, 72px); }

/* =====================================================================
   SERVICE — FIELD / CROSS SECTION
   ===================================================================== */
.field__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 56px); }
.field__intro .sh { grid-column: 1 / span 6; }
.field__intro .field__txt { grid-column: 8 / span 5; }
.field__catch { font-family: var(--f-min); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.8; color: var(--ink); margin-bottom: 24px; }
.xs { position: relative; height: 520vh; margin-top: clamp(56px, 6vw, 100px); }
.xs__sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 72px); align-items: center; padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.xs__diagram { position: relative; }
.xs__svg { width: 100%; height: auto; overflow: visible; }
.xs__layer { opacity: .08; transition: opacity .8s var(--ease), transform .8s var(--ease); transform: translateY(-14px); }
.xs__layer.is-on { opacity: 1; transform: none; }
.xs__layer.is-cur .xs__lbl { fill: var(--red); }
.xs__lbl { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; fill: var(--mute); transition: fill .4s; }
.xs__lbl--jp { font-family: var(--f-sans); font-size: 16px; letter-spacing: .06em; fill: var(--ink); font-weight: 500; }
.xs__steps { position: relative; }
.xs__count { font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; color: var(--mute); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.xs__count b { font-size: 34px; color: var(--ink); font-weight: 500; letter-spacing: .04em; }
.xs__photo { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); margin-bottom: 26px; }
.xs__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.xs__photo img.is-on { opacity: 1; transform: none; }
.xs__photo .fig-tag { z-index: 2; }
.xs__txt { position: relative; min-height: 190px; }
.xs__item { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.xs__item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.xs__item h3 { font-family: var(--f-min); font-size: clamp(22px, 2vw, 30px); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.xs__item p { font-size: 14px; color: var(--mute); max-width: 30em; }
.xs__bar { display: flex; gap: 6px; margin-top: 26px; }
.xs__bar i { flex: 1; height: 3px; background: var(--line); position: relative; overflow: hidden; }
.xs__bar i::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(var(--f, 0)); transform-origin: left; }
.xs__note { font-size: 11.5px; color: var(--mute); margin-top: 16px; }

/* design support (service) */
.ds { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: center; }
.ds__points { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-l); }
.ds__points li { padding: 16px 0; border-bottom: 1px solid var(--line-l); font-size: 13.5px; display: flex; gap: 12px; align-items: baseline; }
.ds__points li:nth-child(odd) { padding-right: 16px; }
.ds__points li span { font-family: var(--f-mono); font-size: 10px; color: var(--green-l); letter-spacing: .1em; }

/* services list */
.srv { display: grid; gap: 0; margin-top: clamp(48px, 5vw, 88px); border-top: 1px solid var(--line-2); }
.srv__item { display: grid; grid-template-columns: 110px 5fr 6fr; gap: clamp(20px, 3vw, 56px); padding-block: clamp(40px, 4.4vw, 72px); border-bottom: 1px solid var(--line-2); align-items: start; }
.srv__item .srv__no { position: relative; font-family: var(--f-en); font-weight: 800; font-stretch: 70%; font-size: clamp(56px, 6vw, 96px); line-height: .8; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.srv__no::after { content: attr(data-t); position: absolute; left: 0; top: 0; color: var(--green); -webkit-text-stroke: 0; clip-path: inset(0 calc((1 - var(--fp, 0)) * 100%) 0 0); }
.srv__item h3 { font-family: var(--f-min); font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; color: var(--ink); line-height: 1.45; }
.srv__item h3 small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .24em; color: var(--mute); font-weight: 400; margin-top: 10px; }
.srv__item p { font-size: 14.5px; margin: 20px 0 24px; }
.srv__tags { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.srv__tags li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; display: flex; align-items: center; gap: 12px; }
.srv__tags li::before { content: "//"; font-family: var(--f-mono); font-size: 11px; color: var(--green-d); letter-spacing: -.1em; }
.srv__media { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.srv__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.srv__item:hover .srv__media img { transform: scale(1.05); }

/* builders */
.bld { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.bld__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.bld__cell { background: var(--ink); padding: 28px 26px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; transition: background .4s; }
.bld__cell:hover { background: var(--ink-3); }
.bld__cell i { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; color: var(--green-l); }
.bld__cell b { font-family: var(--f-min); font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; color: #f2f0eb; }
.bld__cell--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; background: var(--green); }
.bld__cell--wide:hover { background: #1f7a64; }
.bld__cell--wide b { font-size: 16px; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.ab-philo { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: center; }
.ab-philo__img { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.ab-philo__img img { width: 100%; height: 100%; object-fit: cover; }
.quote { font-family: var(--f-min); font-weight: 700; font-size: clamp(26px, 3.2vw, 50px); line-height: 1.6; color: var(--ink); margin: 28px 0 32px; letter-spacing: .03em; }
.quote::before { content: "“"; display: block; font-family: var(--f-en); font-size: 1.8em; line-height: .6; color: var(--green); margin-bottom: .1em; }

.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(48px, 5vw, 80px); }
.val { position: relative; background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 2.8vw, 44px); min-height: 330px; display: flex; flex-direction: column; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.val:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(19, 23, 24, .35); border-color: var(--line-2); }
.val__no { display: flex; justify-content: space-between; align-items: center; }
.val__no span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; color: var(--mute); }
.val h3 { font-family: var(--f-min); font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: var(--ink); margin: auto 0 14px; padding-top: 60px; }
.val p { font-size: 14px; color: var(--mute); }
.val__corner { position: absolute; right: 0; bottom: 0; width: 64px; height: 64px; }
.val__corner::before, .val__corner::after { content: ""; position: absolute; background: var(--green); transition: transform .6s var(--ease); }
.val__corner::before { right: 18px; bottom: 18px; width: 22px; height: 1.5px; transform-origin: right; transform: scaleX(0); }
.val__corner::after { right: 18px; bottom: 18px; width: 1.5px; height: 22px; transform-origin: bottom; transform: scaleY(0); }
.val:hover .val__corner::before, .val.is-in .val__corner::before { transform: none; } .val:hover .val__corner::after, .val.is-in .val__corner::after { transform: none; }

.hist { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); }
.hist__txt .lead + .lead { margin-top: 1.4em; }
.hist__note { font-size: 12px; opacity: .6; margin-top: 24px; }
.rep { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: center; }
.rep__photo { position: relative; aspect-ratio: 4/5; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.rep__photo::before { content: ""; position: absolute; inset: 18px; border: 1px dashed var(--line-2); }
.rep__photo img { width: 42%; opacity: .12; }
.rep__photo figcaption { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .3em; color: var(--mute); line-height: 1.8; }
.rep__photo figcaption b { display: block; font-family: var(--f-sans); letter-spacing: .12em; font-weight: 500; color: var(--text); font-size: 12px; }
.rep__photo .tick { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); }
.rep__photo .tick:nth-of-type(1) { top: 8px; left: 8px; border-top-width: 1px; border-left-width: 1px; }
.rep__photo .tick:nth-of-type(2) { top: 8px; right: 8px; border-top-width: 1px; border-right-width: 1px; }
.rep__photo .tick:nth-of-type(3) { bottom: 8px; left: 8px; border-bottom-width: 1px; border-left-width: 1px; }
.rep__photo .tick:nth-of-type(4) { bottom: 8px; right: 8px; border-bottom-width: 1px; border-right-width: 1px; }
.rep__en { font-family: var(--f-mono); font-size: 11px; letter-spacing: .34em; color: var(--green-d); }
.rep__name { font-family: var(--f-min); font-weight: 800; font-size: clamp(34px, 4vw, 60px); color: var(--ink); letter-spacing: .08em; margin: 10px 0 30px; line-height: 1.3; }
.rep__name small { font-size: .38em; letter-spacing: .2em; margin-right: .8em; font-weight: 600; color: var(--mute); vertical-align: middle; }
.rep__catch { font-family: var(--f-min); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.8; padding-left: 22px; border-left: 2px solid var(--green); color: var(--ink); margin-bottom: 28px; }
.rep__body p + p { margin-top: 1.2em; }

.co { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 96px); }
.co__table { border-top: 1px solid var(--ink); }
.co__table tr { border-bottom: 1px solid var(--line-2); }
.co__table th, .co__table td { text-align: left; vertical-align: top; padding: 22px 8px; font-size: 14.5px; }
.co__table th { width: 170px; font-weight: 500; color: var(--mute); font-size: 13px; }
.co__table th span { display: block; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .22em; opacity: .7; margin-top: 2px; }
.co__table a { border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.co__table a:hover { color: var(--green-d); border-color: var(--green-d); }
.co .maplink { color: var(--green-d); border: 0; }

/* =====================================================================
   WORKS
   ===================================================================== */
.filt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filt__btn { height: 42px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; display: inline-flex; align-items: center; gap: 10px; transition: background .3s, color .3s, border-color .3s; }
.filt__btn sup { font-family: var(--f-mono); font-size: 9.5px; opacity: .6; top: 0; }
.filt__btn:hover { border-color: var(--ink); }
.filt__btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.wk-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.wk-count { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: var(--mute); }
.wk-count b { font-family: var(--f-en); font-size: 30px; color: var(--ink); font-weight: 600; letter-spacing: .02em; margin-right: 6px; }
.wk-grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3vw, 48px) clamp(14px, 1.6vw, 24px); margin-top: clamp(36px, 4vw, 64px); }
.wk { grid-column: span 4; cursor: zoom-in; }
.wk.is-hide { display: none; }
.wk--xl { grid-column: span 8; } .wk--full { grid-column: 1 / -1; } .wk--full .wk__media { aspect-ratio: 21/8; } .wk--l { grid-column: span 6; } .wk--t { grid-row: span 2; }
.wk__media { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-3); }
.wk--xl .wk__media { aspect-ratio: 16/10; }
.wk--t .wk__media { aspect-ratio: auto; height: calc(100% - 118px); min-height: 380px; }
.wk__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter .6s; filter: saturate(.86); }
.wk:hover .wk__media img { transform: scale(1.05); filter: saturate(1.06); }
.wk__view { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; translate: -50% -50%; border-radius: 50%; background: rgba(242, 240, 235, .92); color: var(--ink); display: grid; place-items: center; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-align: center; line-height: 1.5; transform: scale(.4); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.wk:hover .wk__view, .wk:focus-visible .wk__view { transform: none; opacity: 1; }
.wk__no { position: absolute; left: 14px; top: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: #fff; mix-blend-mode: difference; }
.wk__body { padding-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.wk__meta { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; color: var(--mute); grid-column: 1 / -1; display: flex; gap: 10px; }
.wk__meta span + span::before { content: "·"; margin-right: 10px; }
.wk__ttl { font-family: var(--f-min); font-weight: 700; font-size: clamp(17px, 1.4vw, 21px); color: var(--ink); line-height: 1.5; }
.wk__arrow { width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease); align-self: center; }
.wk:hover .wk__arrow { background: var(--ink); color: #fff; transform: rotate(45deg); }
.wk__arrow svg { width: 11px; height: 11px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 960; background: rgba(12, 15, 16, .96); color: #f2f0eb; display: grid; grid-template-columns: 1fr 380px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__stage { position: relative; display: grid; place-items: center; padding: 72px 40px; min-height: 0; }
.lb__stage img { max-width: 100%; max-height: calc(100svh - 144px); object-fit: contain; transition: opacity .35s, transform .6s var(--ease); }
.lb__stage img.is-swap { opacity: 0; transform: scale(.98); }
.lb__side { border-left: 1px solid var(--line-l); padding: 90px 40px 40px; display: flex; flex-direction: column; gap: 20px; overflow: auto; }
.lb__no { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; opacity: .6; }
.lb__ttl { font-family: var(--f-min); font-weight: 700; font-size: 26px; line-height: 1.5; }
.lb__meta { display: grid; border-top: 1px solid var(--line-l); font-size: 13px; }
.lb__meta div { display: grid; grid-template-columns: 90px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line-l); }
.lb__meta dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; opacity: .55; padding-top: 3px; }
.lb__desc { font-size: 14px; opacity: .85; }
.lb__nav { display: flex; gap: 8px; margin-top: auto; }
.lb__nav button, .lb__close { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-l2); display: grid; place-items: center; color: #f2f0eb; transition: background .3s, color .3s; }
.lb__nav button:hover, .lb__close:hover { background: #f2f0eb; color: var(--ink); }
.lb__nav svg { width: 14px; height: 14px; }
.lb__close { position: absolute; top: 20px; right: 20px; z-index: 2; font-size: 20px; }
.lb .btn { margin-top: 8px; }

/* instagram block */
.ig { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 96px); align-items: center; }
.ig__prof { display: flex; align-items: center; gap: 18px; }
.ig__avatar { width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--green), var(--red), var(--green)); }
.ig__avatar span { width: 100%; height: 100%; border-radius: 50%; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.ig__avatar img { width: 62%; }
.ig__name b { display: block; font-family: var(--f-min); font-size: 22px; color: var(--ink); }
.ig__name span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--mute); }
.ig__txt { font-size: 14px; color: var(--mute); margin: 26px 0 30px; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ig__grid a { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.ig__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig__grid a::after { content: "↗"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: #fff; background: rgba(27, 107, 88, .55); opacity: 0; transition: opacity .4s; }
.ig__grid a:hover img { transform: scale(1.08); }
.ig__grid a:hover::after { opacity: 1; }

.mock-note { display: inline-flex; gap: 12px; align-items: center; font-size: 12px; color: var(--mute); border: 1px dashed var(--line-2); padding: 10px 16px; margin-top: 32px; }
.mock-note b { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; color: var(--red); font-weight: 500; }

/* =====================================================================
   NEWS
   ===================================================================== */
.nw { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.nw__side { position: sticky; top: 110px; display: grid; gap: 22px; }
.nw__side .filt { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line-2); }
.nw__side .filt__btn { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; height: 52px; padding: 0 4px; justify-content: space-between; }
.nw__side .filt__btn[aria-pressed="true"] { background: transparent; color: var(--ink); font-weight: 700; }
.nw__side .filt__btn[aria-pressed="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.nw__list { border-top: 1px solid var(--ink); }
.nw__item { border-bottom: 1px solid var(--line-2); }
.nw__item.is-hide { display: none; }
.nw__head { width: 100%; display: grid; grid-template-columns: 120px 100px 1fr 44px; gap: 20px; align-items: center; padding: 30px 6px; text-align: left; transition: padding .5s var(--ease), background .4s; }
.nw__head:hover { padding-left: 20px; background: rgba(255, 255, 255, .35); }
.nw__date { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--mute); }
.nw__cat { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-align: center; padding: 5px 0; border: 1px solid currentColor; border-radius: 99px; }
.nw__cat--news { color: var(--ink); } .nw__cat--works { color: var(--green-d); } .nw__cat--column { color: var(--red); }
.nw__ttl { font-family: var(--f-min); font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; color: var(--ink); line-height: 1.6; }
.nw__pm { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background .3s, border-color .3s; }
.nw__pm::before, .nw__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); translate: -50% -50%; transition: transform .45s var(--ease), background .3s; }
.nw__pm::after { transform: rotate(90deg); }
.nw__item.is-open .nw__pm { background: var(--ink); border-color: var(--ink); }
.nw__item.is-open .nw__pm::before, .nw__item.is-open .nw__pm::after { background: #fff; }
.nw__item.is-open .nw__pm::after { transform: rotate(0); }
.nw__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.nw__item.is-open .nw__body { grid-template-rows: 1fr; }
.nw__body > div { overflow: hidden; }
.nw__body p { padding: 0 6px 34px 246px; font-size: 14.5px; max-width: 64em; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.ct { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.ct__catch { font-family: var(--f-min); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.8; color: var(--ink); margin: 28px 0 18px; }
.ct__methods { display: grid; margin-top: 40px; border-top: 1px solid var(--ink); }
.ctm { display: grid; grid-template-columns: 110px 1fr 44px; gap: 16px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line-2); transition: padding .5s var(--ease), background .4s; }
.ctm:hover { background: #fff; padding-inline: 20px; }
.ctm__k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .22em; color: var(--mute); }
.ctm__v { font-family: var(--f-en); font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); color: var(--ink); line-height: 1.3; letter-spacing: .02em; }
.ctm__v.jp { font-family: var(--f-min); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); }
.ctm__n { display: block; font-size: 12px; color: var(--mute); margin-top: 4px; }
.ctm__ico { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.ctm:hover .ctm__ico { background: var(--ink); color: #fff; }
.ctm__ico svg { width: 12px; height: 12px; }
.flow { margin-top: clamp(64px, 7vw, 112px); }
.flow__list { margin-top: 36px; display: grid; position: relative; }
.flow__list::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1px; background: var(--line-2); }
.flow__item { display: grid; grid-template-columns: 31px 1fr; gap: 22px; padding-bottom: 32px; position: relative; }
.flow__item .bubble { --s: 31px; background: var(--paper); color: var(--ink); }
.flow__item h3 { font-family: var(--f-min); font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.flow__item p { font-size: 13.5px; color: var(--mute); margin-top: 4px; }

.form { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); padding: clamp(28px, 3vw, 48px); box-shadow: 0 40px 80px -50px rgba(19, 23, 24, .35); }
.form__head { display: flex; flex-direction: column-reverse; gap: 18px; }
.form__head h2 { font-family: var(--f-min); font-size: clamp(22px, 1.8vw, 27px); font-weight: 700; color: var(--ink); margin-top: 14px; }
.form__lvl { display: flex; align-items: center; gap: 14px; gap: 8px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .2em; color: var(--mute); }
.form__lvl .vial { --w: 120px; color: var(--mute-l); }
.form__lvl .vial.is-level { color: var(--green); }
.form__desc { font-size: 13px; color: var(--mute); margin: 16px 0 28px; }
.fld { display: grid; gap: 8px; margin-bottom: 20px; }
.fld label, .fld .fld__l { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.req { font-style: normal; font-size: 10px; color: var(--red); border: 1px solid var(--red); padding: 0 7px; border-radius: 99px; letter-spacing: .1em; line-height: 1.7; }
.opt { font-style: normal; font-size: 10px; color: var(--mute); border: 1px solid var(--line-2); padding: 0 7px; border-radius: 99px; letter-spacing: .1em; line-height: 1.7; }
.fld input, .fld select, .fld textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 12px 2px; font-size: 15px; border-radius: 0; transition: border-color .3s, background .3s; appearance: none; -webkit-appearance: none; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.fld textarea { min-height: 150px; resize: vertical; border: 1px solid var(--line-2); padding: 12px; margin-top: 4px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--green); background: rgba(35, 135, 111, .04); }
.fld.is-err input, .fld.is-err select, .fld.is-err textarea { border-color: var(--red); }
.fld__err { font-size: 12px; color: var(--red); min-height: 0; display: none; }
.fld.is-err .fld__err { display: block; }
.fld.is-ok label::after { content: "✓"; color: var(--green); font-size: 12px; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; cursor: pointer; margin: 6px 0 24px; }
.chk input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid var(--line-2); flex: none; margin-top: 3px; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.chk input:checked { background: var(--green); border-color: var(--green); }
.chk input:checked::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.chk.is-err input { border-color: var(--red); }
.form .btn { width: 100%; justify-content: space-between; }
.form__foot { font-size: 11.5px; color: var(--mute); margin-top: 16px; line-height: 1.8; }
.form__done { display: none; margin-top: 18px; padding: 14px 16px; background: rgba(35, 135, 111, .08); border-left: 2px solid var(--green); font-size: 13px; }
.form__done.is-on { display: block; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1560px) { .hd__sub { display: none; } }
@media (max-width: 1340px) { .hd__tel { display: none; } }
@media (max-width: 1100px) {
  :root { --hd-h: 72px; }
  .hd__nav { display: none; }
  .side { display: none; }
  .hero__cap, .hero__meta { display: none; }
  .hero__panel { width: 220px; }
  .values { grid-template-columns: 1fr; }
  .value { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .value:first-child { border-top: 0; }
  .philo__head, .philo__body { grid-column: 1 / -1; position: static; }
  .svc, .show, .cta__grid, .ds, .bld, .ab-philo, .hist, .rep, .co, .ig, .nw, .ct, .ph__grid { grid-template-columns: 1fr; }
  .field__intro .sh, .field__intro .field__txt { grid-column: 1 / -1; }
  .proc { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .proc::before { display: none; }
  .srv__item { grid-template-columns: 80px 1fr; }
  .srv__media { grid-column: 1 / -1; }
  .wk, .wk--l { grid-column: span 6; } .wk--xl { grid-column: 1 / -1; } .wk--t { grid-row: auto; }
  .wk--t .wk__media { height: auto; min-height: 0; aspect-ratio: 4/5; }
  .lb { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb__side { border-left: 0; border-top: 1px solid var(--line-l); padding: 24px; max-height: 42svh; }
  .lb__stage { padding: 64px 16px 16px; }
  .nw__side { position: static; }
  .nw__side .filt { flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; }
  .nw__side .filt__btn { border: 1px solid var(--line-2); border-radius: 99px; height: 40px; padding: 0 16px; }
  .nw__side .filt__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
  .nw__side .filt__btn[aria-pressed="true"]::after { display: none; }
  .form { position: static; }
  .xs__sticky { grid-template-columns: 1fr; align-content: center; gap: 18px; padding-top: 72px; }
  .xs__photo { display: none; }
  .ft__top { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
  .tb-a, .tb-b, .tb-c, .tb-d, .tb-e, .tb-f, .tb-g { grid-column: span 6; border-right: 1px solid var(--line-l) !important; border-bottom: 1px solid var(--line-l) !important; }
  .menu__inner { grid-template-columns: 1fr; }
  .menu__visual { display: none; }
  .ph__media { order: -1; }
  .ph__sheet { display: none; }
}
@media (max-width: 720px) {
  .split-line { white-space: normal; }
  body { font-size: 14.5px; }
  :root { --hd-h: 64px; }
  .hd.is-solid { height: 60px; }
  .hd__wmwrap, .hd__wm { width: 112px; }
  .hd__cta { display: none; }
  .hero { min-height: 620px; max-height: none; height: 100svh; }
  .hero__inner { bottom: 84px; }
  .hero__title { font-size: clamp(52px, 15.6vw, 76px); margin-bottom: 22px; }
  .hero__lead br { display: none; }
  .hero__cta .btn { height: 52px; }
  .hero__panel { left: var(--gutter); right: var(--gutter); width: auto; bottom: 40px; }
  .hero__cap, .hero__meta { display: none; }
  .hero__level, .hero__scroll, .hero__rail { display: none; }
  .hero__marks i:nth-child(3), .hero__marks i:nth-child(4) { display: none; }
  .proc { grid-template-columns: 1fr; }
  .lcards { grid-template-columns: 1fr; }
  .philo__media { grid-template-columns: 1fr; }
  .philo__media figure:last-child { margin: 0 0 0 30%; }
  .ccard { grid-template-columns: 1fr auto; padding: 20px 4px; }
  .ccard__k { grid-column: 1 / -1; }
  .vals { grid-template-columns: 1fr; }
  .val { min-height: 0; }
  .val h3 { padding-top: 36px; }
  .wk, .wk--l, .wk--xl { grid-column: 1 / -1; }
  .srv__item { grid-template-columns: 1fr; }
  .srv__tags { grid-template-columns: 1fr 1fr; }
  .bld__grid { grid-template-columns: 1fr; }
  .ds__points { grid-template-columns: 1fr; }
  .nw__head { grid-template-columns: 1fr 44px; gap: 8px 12px; padding: 22px 2px; }
  .nw__date { grid-row: 1; grid-column: 1; display: flex; gap: 12px; align-items: center; }
  .nw__cat { grid-row: 1; grid-column: 1; justify-self: start; margin-left: 110px; padding: 2px 12px; }
  .nw__ttl { grid-column: 1 / -1; grid-row: 2; }
  .nw__pm { grid-row: 1; grid-column: 2; }
  .nw__body p { padding: 0 2px 26px; }
  .ctm { grid-template-columns: 1fr 44px; }
  .ctm__k { grid-column: 1 / -1; }
  .co__table th { width: 100px; }
  .ft__top { grid-template-columns: 1fr; }
  .tb-a, .tb-b, .tb-c, .tb-d, .tb-e, .tb-f, .tb-g { grid-column: 1 / -1; border-right: 0 !important; }
  .ft { padding-bottom: 64px; }
  .ft__giant { font-size: 19vw; }
  .mcta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 880; border-radius: 99px; overflow: hidden; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); transform: translateY(140%); transition: transform .6s var(--ease); }
  .mcta.is-on { transform: none; }
  .mcta a { height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .1em; }
  .mcta a:first-child { background: var(--ink); color: #fff; }
  .mcta a:last-child { background: var(--green); color: #fff; }
  .mcta svg { width: 14px; height: 14px; }
  .xs { height: 460vh; }
  .xs__txt { min-height: 210px; }
  .xs__diagram { overflow: hidden; margin-inline: calc(var(--gutter) * -1); }
  .xs__svg { width: 150%; max-width: none; margin-left: 0; }
  .reel__item, .reel__item:nth-child(3n+2) { width: 74vw; }
  .reel__item:nth-child(3n+2) .reel__media { aspect-ratio: 4/3; }
  .ph__title { margin-top: 18px; }
  .menu__info { grid-template-columns: 1fr; }
  .lb__nav button, .lb__close { width: 46px; height: 46px; }
  .form__head { flex-direction: column; }
  .form__lvl { justify-items: start; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="clip"], .js [data-reveal="slant"] { opacity: 1; transform: none; clip-path: none; }
  .split-ch { transform: none; }
  .rail { animation: none; }
  .rails { overflow-x: auto; }
  .hero__draw { display: none; }
  .xs { height: auto; }
  .xs__sticky { position: relative; height: auto; padding-block: 40px; }
  .xs__layer { opacity: 1; transform: none; }
  .xs__item { position: relative; opacity: 1; transform: none; margin-bottom: 24px; }
  .xs__txt { min-height: 0; }
  .sv { display: none; }
}

/* no-JS fallbacks */
html:not(.js) .hero__slide:first-child { visibility: visible; }
html:not(.js) .hero__draw { display: none; }

/* service placeholder media (interior) */
.srv__media--ph { background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; }
.srv__media--ph::before { content: ""; position: absolute; inset: 16px; border: 1px dashed var(--line-2); }
.srv__media--ph figcaption { position: relative; text-align: center; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .28em; color: var(--mute); line-height: 2; }
.srv__media--ph figcaption b { display: block; font-family: var(--f-sans); font-weight: 500; letter-spacing: .1em; font-size: 13px; color: var(--text); }
.srv__media--ph .tick { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); }
.srv__media--ph .tick:nth-of-type(1) { top: 8px; left: 8px; border-top-width: 1px; border-left-width: 1px; }
.srv__media--ph .tick:nth-of-type(2) { top: 8px; right: 8px; border-top-width: 1px; border-right-width: 1px; }
.srv__media--ph .tick:nth-of-type(3) { bottom: 8px; left: 8px; border-bottom-width: 1px; border-left-width: 1px; }
.srv__media--ph .tick:nth-of-type(4) { bottom: 8px; right: 8px; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- article (post) ---------- */
.nw__body .nw__more { padding-top: 0; }
.nw__more a { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; color: var(--green-d); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.post { max-width: 760px; margin-inline: auto; }
.post__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--mute); }
.post__meta .nw__cat { padding: 5px 16px; }
.post__body { font-size: 16px; line-height: 2.1; }
.post__body > * + * { margin-top: 1.5em; }
.post__body h2 { font-family: var(--f-min); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.6; margin-top: 2.6em; padding-bottom: .5em; border-bottom: 1px solid var(--line-2); }
.post__body h3 { font-family: var(--f-min); font-size: clamp(18px, 1.8vw, 21px); margin-top: 2em; padding-left: 14px; border-left: 3px solid var(--green); }
.post__body img { width: 100%; height: auto; display: block; }
.post__body a { color: var(--green-d); text-decoration: underline; text-underline-offset: 3px; }
.post__body ul, .post__body ol { padding-left: 1.4em; }
.post__body blockquote { padding: 4px 0 4px 22px; border-left: 2px solid var(--line-2); color: var(--mute); }
.post__nav-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 72px; }
.post__nav { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line-2); transition: background .3s; }
.post__nav:hover { background: rgba(255, 255, 255, .5); }
.post__nav small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .22em; color: var(--mute); }
.post__nav span { font-family: var(--f-min); font-weight: 700; line-height: 1.6; }
.post__nav--r { text-align: right; grid-column: 2; }
.post__back { margin-top: 48px; }
@media (max-width: 720px) { .post__nav-wrap { grid-template-columns: 1fr; } .post__nav--r { grid-column: auto; } }
@media (max-width: 720px) { .nw__body p { padding-left: 6px; } }


/* =====================================================================
   2026-10 update — scroll motion, workers, showcase (SP)
   ===================================================================== */

/* ---- ② cross-section workers (stick figures) ---- */
.xs__w { opacity: 0; transition: opacity .5s var(--ease); fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.xs__w .hat { fill: var(--red); stroke: none; }
.xs__w circle[r="6"] { fill: var(--paper); }
.w-pour { opacity: 0; transition: opacity .5s var(--ease); }
.xs__layer.is-cur .xs__w, .xs__layer.is-cur .w-pour { opacity: 1; }
.xs__layer.is-cur .w-staff { animation: wStaff 1.3s ease-in-out infinite alternate; }
.xs__layer.is-cur .w-dig { animation: wDig 1.1s ease-in-out infinite alternate; }
.xs__layer.is-cur .w-dirt { animation: wDirt 1.1s ease-out infinite; }
.xs__layer.is-cur .w-rake { animation: wRake 1.2s ease-in-out infinite alternate; }
.xs__layer.is-cur .w-sway { animation: wSway 1.2s ease-in-out infinite alternate; }
.xs__layer.is-cur .w-hammer { animation: wHam .75s cubic-bezier(.5, 0, .85, .6) infinite; }
.xs__layer.is-cur .w-tap { animation: wTap .75s linear infinite; }
.xs__layer.is-cur .w-hose { animation: wHose 1.6s ease-in-out infinite alternate; }
.xs__layer.is-cur .w-pour { animation: wPour .45s linear infinite; }
.xs__layer.is-cur .w-float { animation: wFloat 1.1s ease-in-out infinite alternate; }
.xs__layer.is-cur .w-walk { animation: wWalk 2.8s ease-in-out infinite alternate; }
.w-tap, .w-dirt { opacity: 0; }
.w-hose { transform-origin: 0 -34px; }
@keyframes wStaff { to { transform: translateY(-5px); } }
@keyframes wDig { from { transform: rotate(-24deg); } to { transform: rotate(18deg); } }
@keyframes wDirt { 0% { opacity: 0; transform: translate(0, 12px); } 30% { opacity: 1; transform: translate(6px, -14px); } 100% { opacity: 0; transform: translate(16px, 10px); } }
@keyframes wRake { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes wSway { from { transform: translateX(-4px); } to { transform: translateX(8px); } }
@keyframes wHam { 0% { transform: rotate(-35deg); } 55% { transform: rotate(100deg); } 62% { transform: rotate(100deg); } 100% { transform: rotate(-35deg); } }
@keyframes wTap { 0%, 52% { opacity: 0; } 58% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes wHose { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes wPour { to { stroke-dashoffset: -12; } }
@keyframes wFloat { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes wWalk { from { transform: translateX(-34px); } to { transform: translateX(78px); } }

/* ---- ④ timeline: scroll-driven line ---- */
.tl { position: relative; margin-top: clamp(64px, 7vw, 120px); display: grid; grid-template-columns: repeat(4, 1fr); --tp: 0;
  background: linear-gradient(var(--line-l2), var(--line-l2)) 0 64px / 100% 1px no-repeat; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 2px; margin-top: -.5px; background: var(--green-l); transform: scaleX(var(--tp)); transform-origin: left; box-shadow: 0 0 14px rgba(95, 191, 164, .55); }
.tl::after { content: ""; position: absolute; top: 64px; left: calc(var(--tp) * 100%); width: 11px; height: 11px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--green-l); box-shadow: 0 0 0 5px rgba(95, 191, 164, .2), 0 0 18px 4px rgba(95, 191, 164, .55); }
.tl__item { position: relative; padding-right: 24px; }
.tl__item::before { content: ""; position: absolute; left: 0; top: 64px; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--ink); border: 1px solid var(--line-l2); z-index: 1; transition: background .5s, border-color .5s, box-shadow .6s; }
.tl__item.is-on::before { background: var(--green-l); border-color: var(--green-l); box-shadow: 0 0 0 7px rgba(95, 191, 164, .18); }
.tl__item .tl__yr { font-family: var(--f-en); font-weight: 700; font-stretch: 75%; font-size: clamp(38px, 4vw, 64px); line-height: 1; color: #f2f0eb; height: 64px; display: flex; align-items: flex-end; padding-bottom: 14px; }
.tl__item:last-child .tl__yr { color: var(--green-l); }
.tl__item p { font-size: 14px; color: rgba(233, 231, 225, .82); max-width: 18em; }
.tl__item p:not(.tl__yr) { padding-top: 24px; }
.tl__yr, .tl__item p:not(.tl__yr) { opacity: .2; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.tl__item p:not(.tl__yr) { transition-delay: .14s; }
.tl__item.is-on .tl__yr, .tl__item.is-on p:not(.tl__yr) { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .tl { grid-template-columns: 1fr; row-gap: 48px; padding-left: 36px; background: linear-gradient(var(--line-l2), var(--line-l2)) 4px 0 / 1px 100% no-repeat; }
  .tl::before { left: 4px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -.5px; transform: scaleY(var(--tp)); transform-origin: top; }
  .tl::after { left: 4px; top: calc(var(--tp) * 100%); }
  .tl__item { padding-right: 0; }
  .tl__item::before { left: -36px; top: 24px; margin-left: 0; }
  .tl__item .tl__yr { height: auto; padding-bottom: 0; align-items: center; font-size: 46px; }
  .tl__item p:not(.tl__yr) { padding-top: 12px; }
}

/* ---- ⑤ values cards: big scroll-filled numerals, stack on SP ---- */
.val__big { position: absolute; right: clamp(14px, 1.8vw, 26px); top: clamp(52px, 4vw, 66px); font-family: var(--f-en); font-weight: 800; font-stretch: 70%; font-size: clamp(92px, 9vw, 150px); line-height: .8; color: transparent; -webkit-text-stroke: 1.2px var(--line-2); pointer-events: none; user-select: none; }
.val__big::after { content: attr(data-t); position: absolute; right: 0; top: 0; color: var(--green); opacity: .22; -webkit-text-stroke: 0; clip-path: inset(calc((1 - var(--fp, 0)) * 100%) 0 0 0); }
.val::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--green); transform: scaleX(var(--fp, 0)); transform-origin: left; }
.val { z-index: 0; }
.val > *:not(.val__big):not(.val__corner) { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .vals { gap: 14px; }
  .val[data-reveal], .js .val[data-reveal].is-in { opacity: 1; transform: scale(var(--sc, 1)); transition: none; }
  .val { position: sticky; top: calc(var(--hd-h) + 10px + var(--i, 0) * 12px); min-height: 230px; transform-origin: 50% 0; filter: brightness(var(--br, 1)); box-shadow: 0 -10px 30px -20px rgba(19, 23, 24, .3); }
  .val__big { font-size: 100px; top: 56px; }
}

/* ---- ① HOME showcase on SP: tabs right under the photo, one screen ---- */
@media (max-width: 720px) {
  .show { gap: 12px; margin-top: 28px; }
  .show__stage { aspect-ratio: 3 / 2; }
  .show__panel { gap: 12px; padding-block: 0; }
  .show__list { order: -1; grid-template-columns: repeat(3, 1fr); gap: 6px; border-top: 0; }
  .show__list button { justify-content: center; height: 42px; padding: 0 4px; border: 1px solid var(--line-l2); border-radius: 99px; font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
  .show__list button.is-on { padding-left: 4px; background: #f2f0eb; color: var(--ink); border-color: #f2f0eb; font-weight: 600; }
  .show__list button.is-on::after { display: none; }
  .show__cat { font-size: 46px; }
  .show__ttl { font-size: 18px; min-height: 0; margin-top: 8px; }
  .show__nav { gap: 8px; }
  .show__nav button { width: 42px; height: 42px; }
  .show__count { margin-left: 4px; }
}

/* no-JS / reduced-motion fallbacks for new motion */
html:not(.js) .tl__yr, html:not(.js) .tl__item p:not(.tl__yr) { opacity: 1; transform: none; }
html:not(.js) .tl { --tp: 1; }
@media (prefers-reduced-motion: reduce) {
  .tl__yr, .tl__item p:not(.tl__yr) { opacity: 1; transform: none; }
  .xs__w, .w-pour { opacity: 0; }
}

/* ---- showcase stage: ratio via padding (iOS Safari collapses aspect-ratio on stretched grid items) ---- */
@media (max-width: 1100px) {
  .show { align-items: start; }
  .show__stage { aspect-ratio: auto; height: 0; padding-bottom: 75%; align-self: start; }
}
@media (max-width: 720px) {
  .show__stage { padding-bottom: 66.667%; }
}


/* ---- FV main copy: bigger, overshoot reveal, glow sweep, drawn underline, scroll parallax ---- */
.hero__title .split-line { padding-bottom: .2em; margin-bottom: -.2em; }
.hero__title .split-ch { transform: translateY(112%) rotate(6deg); transition-duration: 1.15s; transition-timing-function: cubic-bezier(.18, 1.25, .32, 1); transition-delay: calc(var(--i) * 55ms + var(--d, 0) * 90ms); }
.hero__title.split-go .split-ch { transform: none; }
.hero__title .accent { position: relative; }
.hero__title .accent::after { content: ""; position: absolute; left: .04em; right: .1em; bottom: -.1em; height: .06em; background: linear-gradient(90deg, var(--green-l), #e8f7f1 60%, var(--red)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-io) 1.5s; box-shadow: 0 0 18px rgba(95, 191, 164, .6); }
.hero__title.split-go .accent::after { transform: scaleX(1); }
.hero__title.split-go .accent .split-ch { animation: chGlow 5.5s ease-in-out infinite; animation-delay: calc(2.6s + var(--i) * 130ms); }
@keyframes chGlow { 0%, 22%, 100% { color: var(--green-l); text-shadow: none; } 9% { color: #f4fffa; text-shadow: 0 0 26px rgba(95, 191, 164, .9); } }
@media (prefers-reduced-motion: reduce) {
  .hero__title .split-ch { transform: none; }
  .hero__title .accent::after { transform: scaleX(1); transition: none; }
  .hero__title.split-go .accent .split-ch { animation: none; }
}

.hero.is-live .hero__title { transition: none; }

/* =====================================================================
   2026-10 update 3
   ===================================================================== */
/* still photo (replaces compare slider) */
.pfig { margin: 0; }
.pfig__frame { position: relative; overflow: hidden; background: var(--ink-2); }
.pfig__frame img { display: block; width: 100%; height: auto; }

/* values (LISTEN / CRAFT / LIVE): scroll-driven */
.values-sec { position: relative; overflow: hidden; }
.values-sec > .container { position: relative; z-index: 1; }
.vmarq { position: absolute; left: 0; top: 50%; z-index: 0; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--f-en); font-weight: 800; font-stretch: 68%; font-size: clamp(130px, 24vw, 380px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(19, 23, 24, .07);
  transform: translate3d(calc(var(--py, .5) * -45%), -50%, 0); }
/* --q / --q2 は JS が数値で書き込む（既定＝表示済み。JSが動かなくても消えない） */
.value { --q: 1; --q2: 1; }
.value:nth-child(2) { --dir: 1; }
.value__axis::after { order: 1; transform: scaleX(var(--q)); transform-origin: left; }
.value__axis .bubble { transform: rotate(calc((1 - var(--q)) * -200deg)) scale(calc(.6 + var(--q) * .4)); }
.value__ico { order: 2; width: 64px; height: 40px; flex: none; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.value__ico path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--q2)); }
.value .value__en { transform: translate3d(calc((1 - var(--q)) * var(--dir, -1) * 70%), 0, 0); opacity: calc(.08 + var(--q) * .92); transition: none; }
.value__jp { transform: translate3d(0, calc((1 - var(--q2)) * 34px), 0); opacity: var(--q2); }
.value > p:last-child { transform: translate3d(0, calc((1 - var(--q2)) * 22px), 0); opacity: calc(var(--q2) * 1); }
.value::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--green), var(--red)); transform: scaleX(var(--q2)); transform-origin: left; }

/* showcase stage: explicit height (no aspect-ratio / % padding — fixes iOS Safari collapse) */
@media (max-width: 1100px) {
  .show { display: flex; flex-direction: column; }
  .show { align-items: stretch; }
  .show__stage { aspect-ratio: auto; padding-bottom: 0; width: 100%; align-self: stretch; height: calc((100vw - var(--gutter) * 2) * .75); flex: none; }
}
@media (max-width: 720px) {
  .show__stage { height: calc((100vw - var(--gutter) * 2) * .6667); }
}

/* 代表イラスト */
.rep__photo { display: block; border: 0; background: var(--paper-2); }
.rep__photo::before { display: none; }
.rep__photo .rep__img { width: 100%; height: 100%; opacity: 1; object-fit: cover; object-position: 50% 18%; display: block; }

/* 2026-10 update 4: パース写真ブロック削除に伴い1カラム化 */
.svc, .ds { grid-template-columns: 1fr; }
.svc__text, .ds__text { max-width: 760px; }
