/* =========================================================
   FUTURE TERASU
   黒 / 白 / 赤 の3色だけで組む
   ========================================================= */
:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --paper: #ffffff;
  --paper-2: #ffffff;
  --lamp: #e60012;
  --ember: #e60012;
  --rule: rgba(10, 10, 10, .16);
  --rule-d: rgba(255, 255, 255, .2);
  --f-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-go: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 4.6vw, 76px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-go);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; width: 100%; height: auto; }
br.sp { display: none; }
/* 改行は文節単位で。.nb は途中で折らないまとまり */
body { line-break: strict; word-break: auto-phrase; overflow-wrap: anywhere; }
p, dd, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
.nb { display: inline-block; }
::selection { background: var(--lamp); color: #fff; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 4px; }

.grain {
  position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; height: calc(var(--lvh, 1lvh) * 100); z-index: 80; pointer-events: none; opacity: .07;
  transform: translateZ(0); contain: strict;
  background-image: url("../img/grain.png"); background-size: 200px 200px;
}

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  color: var(--ink); transition: color .35s;
  font-family: var(--f-en); font-stretch: 112%; font-weight: 600;
  text-transform: uppercase;
}
/* 背景が暗い区間・メニュー展開中は白 */
.hd.is-dark, .menu-open .hd { color: #fff; }
.hd__logo { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .14em; }
.hd__logo-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.hd__nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); font-size: 12px; letter-spacing: .16em; }
.hd__nav a { position: relative; padding: 6px 0; }
.hd__nav a:not(.hd__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.hd__nav a:not(.hd__cta):hover::after, .hd__nav a[aria-current]:not(.hd__cta)::after { transform: scaleX(1); transform-origin: left; }
.hd__cta[aria-current] { background: var(--ink); color: #fff; }
.hd.is-dark .hd__cta[aria-current] { background: #fff; color: #000; }
.hd__cta { border: 1px solid currentColor; padding: 9px 20px !important; border-radius: 99px; transition: background .3s, color .3s; }
.hd__cta:hover { background: var(--ink); color: #fff; }
.hd.is-dark .hd__cta:hover { background: #fff; color: #000; }
.hd__menu { display: none; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .16em; font-family: inherit; font-weight: inherit; text-transform: inherit; }
.hd__menu-bars { position: relative; width: 28px; height: 10px; }
.hd__menu-bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.hd__menu-bars i:first-child { top: 0; }
.hd__menu-bars i:last-child { top: 8.5px; }
.menu-open .hd__menu-bars i:first-child { top: 4px; transform: rotate(18deg); }
.menu-open .hd__menu-bars i:last-child { top: 4px; transform: rotate(-18deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) 32px;
  clip-path: circle(0 at calc(100% - 40px) 34px); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; transition: clip-path .8s var(--ease); }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-d);
  font-family: var(--f-en); font-stretch: 118%; font-weight: 600; font-size: 34px; line-height: 1.2; text-transform: uppercase; letter-spacing: -.01em;
}
.menu__nav small { font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--lamp); letter-spacing: .1em; }
.menu__nav em { margin-left: auto; font-style: normal; font-family: var(--f-go); font-size: 11px; font-weight: 400; letter-spacing: .12em; opacity: .6; }
.menu__addr { font-size: 11px; opacity: .55; }

/* ---------- FV ---------- */
.fv { position: relative; height: 540vh; height: 540lvh; height: calc(var(--lvh, 1lvh) * 540); background: #000; }
.fv__stage {
  position: sticky; top: 0; height: 100vh; height: 100lvh; height: calc(var(--lvh, 1lvh) * 100); overflow: hidden;
  --c: 0;
}
.fv__light, .fv__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.fv__light { z-index: 2; }
.fv__canvas { z-index: 3; }
.fv__copy { position: absolute; inset: 0; display: flex; padding: 0 var(--pad); opacity: 0; pointer-events: none; will-change: opacity, transform; }
.fv__copy--a, .fv__copy--b { color: var(--paper); z-index: 1; }
.fv__copy--a { align-items: center; justify-content: center; }
.fv__h1 {
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(64px, 13.2vw, 232px); line-height: 1.16; letter-spacing: .02em;
  font-feature-settings: "palt" 0;
  margin-left: -.04em;
}
.fv__h1 { white-space: nowrap; }
.fv__h1 span { margin-left: 1em; }
.fv__copy--b { align-items: center; }
.fv__b-inner { margin-left: clamp(0px, 8vw, 150px); }
.fv__h2 { font-family: var(--f-min); font-weight: 500; font-size: clamp(30px, 5.4vw, 84px); line-height: 1.34; letter-spacing: .03em; }
.fv__b-text { margin-top: clamp(22px, 3vw, 40px); max-width: 30em; font-size: clamp(13px, 1.05vw, 15px); line-height: 2.1; opacity: .86; }

.fv__copy--c { z-index: 4; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(84px, calc(var(--lvh, 1vh) * 13), 150px); color: var(--ink); }
.fv__c-lead { font-family: var(--f-min); font-weight: 500; font-size: clamp(16px, 1.9vw, 28px); letter-spacing: .1em; margin-bottom: clamp(8px, 1.4vw, 20px); }
.fv__mark {
  display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--f-en); font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(54px, 12.4vw, 230px); line-height: .92; letter-spacing: -.035em;
  margin-left: -.05em;
}
.fv__mark, .ft__nav, .hd { overflow-wrap: normal; }
.fv__mark > span { display: inline-flex; overflow: hidden; padding-bottom: .04em; }
.fv__mark .ch { display: inline-block; transform: translateY(calc(112% * (1 - clamp(0, var(--c) * 2.4 - var(--i) * .11, 1)))); }
.fv__hint { position: absolute; left: 50%; bottom: 28px; margin-left: -.5px; transition: opacity .6s; z-index: 5; }
.fv__hint i { display: block; position: relative; width: 1px; height: 46px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.fv__hint i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.fv__hint.is-off { opacity: 0; }

/* ---------- section common ---------- */
.sec { position: relative; padding: clamp(96px, 13vw, 200px) var(--pad); }
.sec-head { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: clamp(14px, 2vw, 28px); }
.sec-head__idx { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--ember); padding-bottom: clamp(8px, 1.5vw, 24px); }
.sec-head__idx::after { content: ""; display: inline-block; width: clamp(24px, 4vw, 64px); height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; }
.sec-head__en {
  font-family: var(--f-en); font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 10.4vw, 176px); line-height: .9; letter-spacing: -.035em;
  white-space: nowrap; overflow-wrap: normal;
}
.sec-head__jp { grid-column: 2; margin-top: clamp(10px, 1.2vw, 18px); font-size: 13px; letter-spacing: .22em; }
.sec-head--dark .sec-head__idx { color: var(--lamp); }

[data-rv] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-rv].is-in { opacity: 1; transform: none; }

/* ---------- ABOUT ---------- */
.about { padding-top: clamp(110px, 12vw, 190px); }
.about__statement { margin: clamp(70px, 11vw, 180px) 0 clamp(80px, 12vw, 190px); padding-left: clamp(0px, 16vw, 300px); }
.about__lit { font-family: var(--f-min); font-weight: 500; font-size: clamp(25px, 4.1vw, 66px); line-height: 1.62; letter-spacing: .05em; --q: 0; }
.about__lit .ch { opacity: clamp(.13, calc((var(--q) * (var(--n) + 10) - var(--i)) / 10), 1); }

.about__grid { display: grid; grid-template-columns: clamp(40px, 16vw, 300px) minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 90px); align-items: start; }
.about__tate { writing-mode: vertical-rl; font-family: var(--f-min); font-size: 13px; letter-spacing: .42em; line-height: 1; white-space: nowrap; color: var(--ember); position: sticky; top: 120px; }
.about__h { font-family: var(--f-min); font-weight: 500; font-size: clamp(24px, 2.5vw, 38px); line-height: 1.6; letter-spacing: .06em; margin-bottom: 1.2em; }
.about__body p + p { margin-top: 1.6em; }
.about__principles { border-top: 1px solid var(--ink); }
.about__principles li { display: grid; grid-template-columns: 3.4em 1fr; padding: 26px 0 28px; border-bottom: 1px solid var(--rule); }
.about__p-no { font-family: var(--f-min); font-style: italic; font-size: 17px; color: var(--ember); line-height: 1.7; }
.about__principles h3, .about__principles h4 { font-family: var(--f-min); font-weight: 500; font-size: 19px; letter-spacing: .08em; line-height: 1.7; margin-bottom: 8px; }
.about__principles p { font-size: 13.5px; line-height: 1.95; opacity: .82; }

.about__outline { margin-top: clamp(90px, 12vw, 180px); display: grid; grid-template-columns: clamp(40px, 16vw, 300px) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 90px); }
.about__outline-h { font-size: 13px; font-weight: 500; letter-spacing: .2em; line-height: 1.6; }
.about__outline-h span { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); margin-bottom: 4px; }
.about__outline dl { border-top: 1px solid var(--ink); }
.about__outline dl > div { display: grid; grid-template-columns: clamp(100px, 14vw, 220px) 1fr; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.about__outline dt { font-size: 13px; letter-spacing: .14em; opacity: .62; }
.about__outline dd { line-height: 1.9; }

/* ---------- SERVICE ---------- */
.service { background: var(--paper-2); padding-top: 0; }
.service::before { content: ""; display: block; height: 1px; background: var(--ink); margin-bottom: clamp(96px, 13vw, 200px); }
.service__lead { margin: clamp(40px, 5vw, 80px) 0 clamp(50px, 7vw, 110px); padding-left: clamp(0px, 16vw, 300px); font-family: var(--f-min); font-weight: 500; font-size: clamp(17px, 1.7vw, 25px); line-height: 2; letter-spacing: .08em; }
.service__list { border-top: 1px solid var(--ink); }
.service__list > li { border-bottom: 1px solid var(--rule); }
.srv {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: clamp(40px, 16vw, 300px) minmax(0, 1fr) minmax(0, 1.05fr) 60px;
  column-gap: clamp(20px, 3vw, 50px); align-items: start;
  padding: clamp(30px, 3.8vw, 58px) 0;
  transition: color .5s var(--ease);
  --mx: 50%; --my: 50%;
}
.srv::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -2; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.srv::after { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at calc(var(--mx) + var(--pad)) var(--my), rgba(230, 0, 18, .34), rgba(230, 0, 18, .08) 45%, transparent 70%); }
.srv__no { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; padding-top: .9em; transition: transform .6s var(--ease); }
.srv__ttl h3 { font-family: var(--f-min); font-weight: 500; font-size: clamp(22px, 2.5vw, 40px); line-height: 1.45; letter-spacing: .04em; }
.srv__ttl p { margin-top: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.srv__body > p { font-size: 14px; line-height: 2.05; }
.srv__tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 18px; }
.srv__tags li { font-size: 11.5px; line-height: 1; letter-spacing: .08em; padding: 7px 11px 8px; border: 1px solid currentColor; border-radius: 99px; opacity: .78; }
.srv__arrow { justify-self: end; margin-top: 10px; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; position: relative; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.srv__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translate(-70%, -50%) rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .srv:hover { color: var(--paper); }
  .srv:hover::before { transform: scaleY(1); transform-origin: top; }
  .srv:hover::after { opacity: 1; }
  .srv:hover .srv__arrow { background: var(--lamp); border-color: var(--lamp); color: #fff; transform: rotate(-45deg); }
}

.flow { margin-top: clamp(80px, 10vw, 160px); --q: 0; }
.flow__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin-bottom: 26px; }
.flow__line { position: relative; height: 1px; background: var(--rule); }
.flow__line i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--q)); }
.flow__line b { position: absolute; top: -5px; left: calc(var(--q) * 100%); width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 5px rgba(230, 0, 18, .28), 0 0 26px 6px rgba(230, 0, 18, .55); }
.flow__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 50px); margin-top: 30px; }
.flow__steps li { opacity: .28; transition: opacity .6s; }
.flow__steps li.is-on { opacity: 1; }
.flow__steps span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.flow__steps h3, .flow__steps h4 { font-family: var(--f-min); font-weight: 500; font-size: clamp(24px, 2.8vw, 42px); line-height: 1.5; letter-spacing: .1em; margin: 4px 0 10px; }
.flow__steps p { font-size: 13px; line-height: 1.9; max-width: 19em; }

/* ---------- WORKS ---------- */
.works { position: relative; background: var(--ink); color: var(--paper); }
.works__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.works__track { display: flex; align-items: stretch; gap: clamp(20px, 2.6vw, 44px); padding: 0 var(--pad); will-change: transform; }
.works__intro { flex: 0 0 auto; width: min(54vw, 760px); display: flex; flex-direction: column; justify-content: center; padding-right: clamp(20px, 5vw, 90px); }
.works__lead { margin-top: clamp(28px, 3.4vw, 54px); font-family: var(--f-min); font-weight: 500; font-size: clamp(17px, 1.6vw, 24px); line-height: 2; letter-spacing: .08em; }
.works__note { margin-top: 22px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; opacity: .5; }
.wk {
  position: relative; isolation: isolate; flex: 0 0 auto; width: clamp(300px, 34vw, 520px);
  display: flex; flex-direction: column; padding: clamp(18px, 1.8vw, 28px);
  border: 1px solid var(--rule-d); background: var(--ink-2);
  --mx: 50%; --my: 30%;
}
.wk::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(230, 0, 18, .2), transparent 70%); }
.wk__vis { color: rgba(255, 255, 255, .5); background: #0a0a0a; border: 1px solid var(--rule-d); margin-bottom: 22px; transition: color .6s; }
.wk__vis .hl { fill: var(--lamp); stroke: none; opacity: .85; }
.wk__vis .hl-s { stroke: var(--lamp); stroke-width: 1.6; }
.wk__vis .hl-f { fill: rgba(230, 0, 18, .16); stroke: none; }
.wk__vis .hl-d { fill: var(--lamp); stroke: var(--lamp); }
.wk__meta { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.wk__meta span:first-child { color: var(--lamp); }
.wk__ttl { font-family: var(--f-min); font-weight: 500; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.5; letter-spacing: .05em; margin: 10px 0 10px; }
.wk__txt { font-size: 13px; line-height: 1.95; opacity: .78; }
.wk__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.wk__tags li { font-size: 11px; line-height: 1; letter-spacing: .08em; padding: 6px 10px 7px; border: 1px solid var(--rule-d); border-radius: 99px; }
@media (hover: hover) and (pointer: fine) {
  .wk:hover::after { opacity: 1; }
  .wk:hover .wk__vis { color: rgba(255, 255, 255, .9); }
}
.works__tail { flex: 0 0 auto; width: min(46vw, 560px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px; padding-left: clamp(20px, 5vw, 90px); }
.works__tail p { font-family: var(--f-min); font-weight: 500; font-size: clamp(26px, 3.2vw, 50px); line-height: 1.5; letter-spacing: .06em; }
.btn-line { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid currentColor; font-size: 14px; letter-spacing: .14em; }
.btn-line i { width: 34px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--ease); }
.btn-line i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn-line:hover i { width: 56px; }
.works__ui { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; display: flex; align-items: center; gap: 22px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.works__count b { font-weight: 500; font-size: 13px; color: var(--lamp); margin-right: 8px; }
.works__count span { opacity: .5; }
.works__bar { flex: 1; height: 1px; background: var(--rule-d); position: relative; }
.works__bar i { position: absolute; inset: 0; background: var(--lamp); transform-origin: left; transform: scaleX(0); }
.works__drag { opacity: .5; }

/* ---------- NEWS ---------- */
.news__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.news .sec-head__en { font-size: clamp(52px, 8.4vw, 140px); }
.news__list { border-top: 1px solid var(--ink); margin-top: clamp(0px, 2vw, 30px); }
.news__list a { display: grid; grid-template-columns: 7.5em 6em 1fr 30px; align-items: center; gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--rule); transition: padding .5s var(--ease); }
.news__list time { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; }
.news__cat { justify-self: start; font-size: 11px; line-height: 1; letter-spacing: .1em; padding: 6px 10px 7px; border: 1px solid var(--rule); border-radius: 99px; }
.news__ttl { font-size: 15px; line-height: 1.8; }
.news__list i { justify-self: end; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .5s var(--ease); }
.news__list i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.news__list a:hover { padding-left: 14px; }
.news__list a:hover i { transform: translateX(6px); }

/* ---------- CONTACT ---------- */
.contact { position: relative; background: #000; color: var(--paper); padding: clamp(110px, 14vw, 220px) var(--pad); }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(50px, 7vw, 130px); align-items: end; }
.contact--form .contact__in { align-items: start; }
.contact .sec-head__en { font-size: clamp(52px, 8.2vw, 138px); }
.contact__copy { margin-top: clamp(40px, 5vw, 80px); font-family: var(--f-min); font-weight: 500; font-size: clamp(26px, 3vw, 46px); line-height: 1.6; letter-spacing: .08em; }
.contact__txt { margin-top: 26px; max-width: 32em; font-size: 14px; opacity: .8; }
.form { padding-top: clamp(0px, 3vw, 50px); }
.form__row { display: block; padding: 18px 0 0; border-bottom: 1px solid var(--rule-d); transition: border-color .4s; }
.form__row:focus-within { border-color: var(--lamp); }
.form__row > label, .form__row legend { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; opacity: .75; padding: 0; }
.form__row em { font-style: normal; font-size: 10px; letter-spacing: .1em; color: var(--lamp); }
.form input[type="text"], .form input[type="email"], .form textarea {
  display: block; width: 100%; background: transparent; border: 0; outline: 0; color: var(--paper);
  font: inherit; font-size: 16px; letter-spacing: .04em; padding: 6px 0 14px; resize: vertical;
}
.form__row--chips { border-bottom: 0; padding-bottom: 6px; }
.form__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: block; font-size: 13px; line-height: 1; padding: 11px 16px 12px; border: 1px solid var(--rule-d); border-radius: 99px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.form__chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.form__chips input:focus-visible + span { outline: 2px solid var(--lamp); outline-offset: 3px; }
.form__foot { display: flex; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.btn-send { display: inline-flex; align-items: center; gap: 46px; padding: 20px 24px 20px 34px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .2em; transition: gap .5s var(--ease); }
.btn-send i { width: 34px; height: 34px; border-radius: 50%; background: var(--lamp); position: relative; }
.btn-send i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: translate(-70%, -50%) rotate(45deg); }
.btn-send:hover { gap: 60px; }
.form__status { font-size: 12.5px; line-height: 1.7; }

/* ---------- footer ---------- */
.ft { background: var(--ink); color: var(--paper); padding: clamp(50px, 6vw, 90px) var(--pad) 26px; overflow: hidden; }
.ft__top { display: flex; align-items: flex-start; gap: clamp(30px, 6vw, 110px); font-size: 12.5px; line-height: 1.9; }
.ft__name { font-size: 14px; font-weight: 500; letter-spacing: .1em; margin-bottom: 6px; }
.ft__addr { opacity: .85; }
.ft__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 34px; font-family: var(--f-en); font-stretch: 112%; font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.ft__nav a:hover, .ft__top-link:hover { color: var(--lamp); }
.ft__top-link { margin-left: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ft__mark { margin: clamp(50px, 7vw, 110px) 0 16px -.05em; white-space: nowrap; font-family: var(--f-en); font-stretch: 125%; font-weight: 700; font-size: 11.9vw; line-height: .86; letter-spacing: -.035em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .34); }
.ft__copy { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; opacity: .5; }

/* ---------- 共通リンク ---------- */
.more { margin-top: clamp(34px, 4vw, 60px); }
.more--sec { display: flex; justify-content: flex-end; margin-top: clamp(50px, 6vw, 90px); }
.works__more { align-self: flex-start; margin-top: 34px; }
.news__more { padding-top: 34px; display: flex; justify-content: flex-end; }
.news__list .news__more a { display: inline-flex; padding: 0 0 10px; border-bottom: 1px solid currentColor; gap: 18px; }
.news__list .news__more a:hover { padding-left: 0; }
.news__list .news__more i { width: 34px; justify-self: auto; transition: width .5s var(--ease); }
.news__list .news__more a:hover i { transform: none; width: 56px; }
.btn-line--back i::after { right: auto; left: 0; transform: rotate(-135deg); }
.tlink { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tlink:hover { color: var(--lamp); }

.contact__go {
  justify-self: end; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  width: 100%; max-width: 560px; padding: clamp(26px, 3vw, 44px) 0; border-top: 1px solid #fff; border-bottom: 1px solid #fff;
  font-family: var(--f-min); font-weight: 500; font-size: clamp(19px, 2vw, 30px); letter-spacing: .08em;
  transition: padding .6s var(--ease), opacity 1s var(--ease), transform 1.1s var(--ease);
}
.contact__go i { flex: 0 0 auto; width: clamp(48px, 4.4vw, 68px); aspect-ratio: 1; border-radius: 50%; background: var(--lamp); position: relative; transition: transform .6s var(--ease); }
.contact__go i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: translate(-70%, -50%) rotate(45deg); }
.contact__go:hover { padding-left: 18px; padding-right: 18px; }
.contact__go:hover i { transform: scale(1.12); }
.contact--cta .contact__copy { margin-top: 0; }

/* ---------- 下層ページ ---------- */
.ph { position: relative; isolation: isolate; overflow: hidden; background: #000; color: #fff; padding: clamp(170px, 21vw, 300px) var(--pad) clamp(36px, 4vw, 60px); }
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.5px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 80% 34%, #000 0, transparent min(58vw, 760px));
          mask-image: radial-gradient(circle at 80% 34%, #000 0, transparent min(58vw, 760px));
}
.ph__light { position: absolute; z-index: -1; left: 80%; top: 34%; width: min(90vw, 1100px); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, #fff 0, rgba(255, 255, 255, .9) .8%, rgba(255, 255, 255, .2) 3.4%, rgba(255, 255, 255, .07) 30%, rgba(255, 255, 255, 0) 100%); animation: ph-in 1.8s var(--ease) both; }
@keyframes ph-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.3); } }
.ph__en { font-family: var(--f-en); font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(54px, 12.4vw, 220px); line-height: .9; letter-spacing: -.035em; margin-left: -.05em; white-space: nowrap; overflow-wrap: normal; }
.ph__jp { margin-top: clamp(12px, 1.6vw, 24px); font-size: 14px; letter-spacing: .24em; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: clamp(50px, 7vw, 110px); padding-top: 16px; border-top: 1px solid var(--rule-d); font-size: 12px; letter-spacing: .1em; line-height: 1.6; }
.crumb li + li::before { content: "/"; margin: 0 12px; opacity: .45; }
.crumb li[aria-current] { opacity: .6; }
.crumb a:hover { color: var(--lamp); }

.pg { padding: clamp(80px, 10vw, 160px) var(--pad); }
.pg--rule { padding-top: 0; }
.pg--rule::before { content: ""; display: block; height: 1px; background: var(--ink); margin-bottom: clamp(50px, 6vw, 96px); }
.pg__lead { padding-left: clamp(0px, 16vw, 300px); font-family: var(--f-min); font-weight: 500; font-size: clamp(19px, 2.3vw, 36px); line-height: 1.9; letter-spacing: .08em; }
.pg__note { padding-left: clamp(0px, 16vw, 300px); margin-top: 22px; font-size: 12px; opacity: .55; }
.about__statement--page { margin: 0; }
.row { display: grid; grid-template-columns: clamp(120px, 16vw, 300px) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 90px); align-items: start; }
.row__h { font-size: 15px; font-weight: 500; letter-spacing: .2em; line-height: 1.6; }
.row__h span { display: block; font-family: var(--f-en); font-stretch: 112%; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin-bottom: 6px; }
.prose { max-width: 46em; }
.prose p + p { margin-top: 1.7em; }
.prose__lead { font-family: var(--f-min); font-weight: 500; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.7; letter-spacing: .08em; margin-bottom: 1.3em; }
.prose__sign { margin-top: 3em !important; font-size: 13px; line-height: 2; }
.prose__sign b { display: block; font-family: var(--f-min); font-weight: 500; font-size: 24px; letter-spacing: .2em; margin-top: 2px; }
.row .about__principles { max-width: 46em; grid-column: auto; }
.outline { border-top: 1px solid var(--rule); max-width: 60em; }
.outline > div { display: grid; grid-template-columns: clamp(100px, 14vw, 220px) 1fr; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.outline dt { font-size: 13px; letter-spacing: .14em; opacity: .62; }
.outline dd { line-height: 1.9; }
.faq { border-top: 1px solid var(--rule); max-width: 60em; }
.faq > div { padding: 30px 0 32px; border-bottom: 1px solid var(--rule); }
.faq dt { font-family: var(--f-min); font-weight: 500; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; letter-spacing: .06em; margin-bottom: 10px; }
.faq dd { line-height: 1.95; max-width: 46em; }

.anchors { margin: clamp(50px, 6vw, 90px) 0 0; padding-left: clamp(0px, 16vw, 300px); display: flex; flex-wrap: wrap; gap: 10px 12px; }
.anchors a { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 20px 13px; border: 1px solid var(--ink); border-radius: 99px; font-size: 13px; line-height: 1.3; transition: background .3s, color .3s; }
.anchors small { font-family: var(--f-mono); font-size: 11px; color: var(--ember); transition: color .3s; }
.anchors a:hover { background: var(--ink); color: #fff; }
.sd { margin: 0 var(--pad); padding: clamp(50px, 6.4vw, 100px) 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(30px, 6vw, 110px); align-items: start; scroll-margin-top: 80px; }
.sd__no { font-family: var(--f-en); font-stretch: 125%; font-weight: 700; font-size: clamp(54px, 7vw, 120px); line-height: 1; letter-spacing: -.03em; color: var(--lamp); }
.sd__ttl { font-family: var(--f-min); font-weight: 500; font-size: clamp(26px, 3.1vw, 50px); line-height: 1.45; letter-spacing: .04em; margin-top: clamp(14px, 1.6vw, 26px); }
.sd__en { margin-top: 10px; font-family: var(--f-en); font-stretch: 112%; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.sd__txt { font-size: clamp(15px, 1.25vw, 18px); line-height: 2.1; }
.sd__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 50px); margin-top: clamp(34px, 4vw, 60px); }
.sd__cols h3 { font-size: 13px; font-weight: 700; letter-spacing: .18em; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.dash li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.8; }
.dash li::before { content: ""; position: absolute; left: 0; top: 1.65em; width: 10px; height: 1px; background: var(--lamp); }
.pg--flow { padding-top: clamp(60px, 8vw, 120px); border-top: 1px solid var(--ink); margin: 0 var(--pad); padding-left: 0; padding-right: 0; }
.pg--flow .flow { margin-top: 0; }
.flow__h { font-family: var(--f-min); font-weight: 500; font-size: clamp(24px, 2.6vw, 40px); letter-spacing: .08em; line-height: 1.5; margin: -14px 0 40px; }

.case { margin: 0 var(--pad); padding: clamp(50px, 6.4vw, 100px) 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(30px, 5.4vw, 100px); align-items: center; scroll-margin-top: 80px; }
.case:nth-of-type(even) .case__vis { order: 2; }
.case__vis { background: var(--ink); color: rgba(255, 255, 255, .78); padding: clamp(18px, 3.4vw, 60px); }
.case__vis .hl { fill: var(--lamp); stroke: none; }
.case__vis .hl-s { stroke: var(--lamp); stroke-width: 1.6; }
.case__vis .hl-f { fill: rgba(230, 0, 18, .22); stroke: none; }
.case__vis .hl-d { fill: var(--lamp); stroke: var(--lamp); }
.case__meta { display: flex; gap: 18px; font-size: 12px; letter-spacing: .14em; }
.case__meta span:first-child { font-family: var(--f-en); font-stretch: 112%; font-weight: 600; text-transform: uppercase; color: var(--lamp); }
.case__ttl { font-family: var(--f-min); font-weight: 500; font-size: clamp(25px, 2.9vw, 46px); line-height: 1.5; letter-spacing: .05em; margin: 12px 0 clamp(22px, 2.6vw, 40px); }
.case__dl { border-top: 1px solid var(--rule); }
.case__dl > div { display: grid; grid-template-columns: 6.5em 1fr; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.case__dl dt { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; line-height: 2.2; }
.case__dl dd { font-size: 14px; line-height: 2; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 22px; }
.case__tags li { font-size: 11.5px; line-height: 1; letter-spacing: .08em; padding: 7px 11px 8px; border: 1px solid currentColor; border-radius: 99px; }
.case:last-of-type { margin-bottom: clamp(60px, 8vw, 120px); }

.news__list--page { margin: 0 0 0 clamp(0px, 16vw, 300px); }
.article { max-width: calc(52em + var(--pad) * 2); margin: 0 auto; }
.article__meta { display: flex; align-items: center; gap: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; }
.article__meta .news__cat { font-family: var(--f-go); }
.article__ttl { font-family: var(--f-min); font-weight: 500; font-size: clamp(24px, 2.9vw, 42px); line-height: 1.6; letter-spacing: .06em; margin: 18px 0 clamp(34px, 4vw, 60px); padding-bottom: clamp(26px, 3vw, 44px); border-bottom: 1px solid var(--ink); }

.contact--form { padding-top: clamp(60px, 8vw, 120px); }
.contact--form .contact__copy { margin-top: 0; }
.contact--form .form { padding-top: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { padding: 14px 18px; border: 1px solid var(--lamp); color: #fff; font-size: 13.5px; line-height: 1.8; margin-bottom: 10px; }
.form__err { color: #ff5c66; font-size: 12.5px; line-height: 1.6; padding-bottom: 12px; margin-top: -6px; }
.form [aria-invalid="true"] { caret-color: #ff5c66; }
.form--done { border-top: 1px solid #fff; padding-top: 34px !important; }
.form__done-h { font-family: var(--f-min); font-weight: 500; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: .08em; margin-bottom: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 30px minmax(0, 1fr); row-gap: 60px; }
  .about__principles { grid-column: 2; }
  .srv { grid-template-columns: 40px minmax(0, 1fr) 44px; row-gap: 18px; }
  .srv__body { grid-column: 2 / 4; grid-row: 2; }
  .srv__arrow { grid-column: 3; grid-row: 1; margin-top: 4px; width: 38px; height: 38px; }
  .contact__in, .news__grid { grid-template-columns: 1fr; }
  .contact__go { justify-self: start; }
  .sd, .case { grid-template-columns: 1fr; row-gap: 34px; }
  .case:nth-of-type(even) .case__vis { order: 0; }
}
@media (max-width: 900px) {
  .hd__nav { display: none; }
  .hd__menu { display: flex; }
  .works__pin { position: relative; height: auto; display: block; padding: 100px 0 90px; }
  .works__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding-bottom: 30px; scrollbar-width: none; transform: none !important; }
  .works__track::-webkit-scrollbar { display: none; }
  .works__intro { width: 80vw; scroll-snap-align: start; }
  .wk { width: 78vw; max-width: 420px; scroll-snap-align: center; }
  .works__tail { width: 76vw; scroll-snap-align: center; padding-left: 10px; }
  .works__ui { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 14px; }
  br.sp { display: inline; }
  .sec-head__en, .news .sec-head__en, .contact .sec-head__en { font-size: 11.5vw; }
  .hd { padding: 18px var(--pad); }
  .fv__h1 { font-size: 19vw; }
  .fv__h1 span { margin-left: .5em; }
  .fv__b-inner { margin-left: 0; }
  .fv__mark { font-size: 16.5vw; }
  .fv__copy--c { padding-bottom: 96px; }
  .about__statement, .service__lead, .pg__lead, .pg__note, .anchors { padding-left: 0; }
  .news__list--page { margin-left: 0; }
  .row { grid-template-columns: 1fr; row-gap: 26px; }
  .outline > div { grid-template-columns: 1fr; row-gap: 2px; padding: 16px 0; }
  .sd__cols { grid-template-columns: 1fr; }
  .ph__en { font-size: 13.4vw; }
  .about__outline { grid-template-columns: 1fr; row-gap: 20px; }
  .about__outline dl > div { grid-template-columns: 1fr; row-gap: 2px; padding: 16px 0; }
  .flow__steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .news__list a { grid-template-columns: auto 1fr 24px; row-gap: 6px; padding: 22px 0; }
  .news__ttl { grid-column: 1 / 3; grid-row: 2; }
  .news__list i { grid-row: 1 / 3; grid-column: 3; }
  .ft__top { flex-direction: column; gap: 26px; }
  .ft__top-link { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rv] { opacity: 1; transform: none; transition: none; }
  .fv__hint i::after, .ph__light { animation: none; }
}
