/* =========================================================
   TOUSEI — 名刺の「黒い文字＋金のライン」を軸にした配色
   ========================================================= */
:root {
  --ink: #0e0e0e;
  --ink-2: #1a1a1a;
  --paper: #f4f2ed;
  --paper-2: #e9e5dc;
  --gold: #c9a74e;
  --gold-soft: #e2cf98;
  --mute: #8a867d;
  --line: rgba(14, 14, 14, .12);
  --line-light: rgba(244, 242, 237, .14);

  --en: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--paper);
  transition: clip-path 1.1s var(--ease) .1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__word { display: flex; gap: .55em; font-family: var(--en); font-weight: 500; font-size: clamp(34px, 7vw, 72px); letter-spacing: 0; }
.loader__word span { display: inline-block; opacity: 0; transform: translateY(60%); animation: rise .9s var(--ease-out) forwards; }
.loader__word span:nth-child(2) { animation-delay: .06s } .loader__word span:nth-child(3) { animation-delay: .12s }
.loader__word span:nth-child(4) { animation-delay: .18s } .loader__word span:nth-child(5) { animation-delay: .24s }
.loader__word span:nth-child(6) { animation-delay: .30s }
.loader__line { height: 3px; margin-top: 18px; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: draw 1s var(--ease) .45s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }

/* ---------- progress / cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--gold); mix-blend-mode: difference;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--pad);
  color: var(--paper);
  transition: padding .5s var(--ease-out), background .5s, color .5s, transform .6s var(--ease-out);
}
.header.is-scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(244, 242, 237, .82); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.is-scrolled.is-dark { background: rgba(14, 14, 14, .72); color: var(--paper); }
.header.is-hidden { transform: translateY(-100%); }
.header__logo { font-family: var(--en); font-weight: 500; font-size: 20px; letter-spacing: .42em; margin-right: auto; position: relative; padding-bottom: 6px; }
.header__logo::after { content: ""; position: absolute; left: 0; right: .42em; bottom: 0; height: 2px; background: var(--gold); }
.header__nav { display: flex; gap: 34px; font-family: var(--en); font-size: 13px; letter-spacing: .16em; }
.header__nav a { position: relative; padding: 4px 0; }
.header__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta {
  position: relative; overflow: hidden;
  font-family: var(--en); font-size: 13px; letter-spacing: .16em;
  padding: 12px 26px; border: 1px solid currentColor; border-radius: 999px;
}
.header__cta::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); transition: transform .5s var(--ease-out); border-radius: inherit; }
.header__cta span { position: relative; }
.header__cta:hover { color: var(--ink); border-color: var(--gold); }
.header__cta:hover::before { transform: none; }

.burger { display: none; position: relative; z-index: 2; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
body.menu-open .burger { color: var(--paper); }
body.menu-open .burger span:first-child { transform: translateY(4px) rotate(20deg); }
body.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-20deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad);
  clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .9s var(--ease);
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; font-family: var(--en); font-size: clamp(36px, 10vw, 56px); font-weight: 400; line-height: 1.35; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease-out); }
.menu__nav i { font-style: normal; font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.menu__nav small { font-family: var(--ja); font-size: 11px; color: var(--mute); letter-spacing: .1em; }
body.menu-open .menu__nav a { opacity: 1; transform: none; }
body.menu-open .menu__nav a:nth-child(1) { transition-delay: .25s } body.menu-open .menu__nav a:nth-child(2) { transition-delay: .31s }
body.menu-open .menu__nav a:nth-child(3) { transition-delay: .37s } body.menu-open .menu__nav a:nth-child(4) { transition-delay: .43s }
body.menu-open .menu__nav a:nth-child(5) { transition-delay: .49s }
.menu__tel { margin-top: 40px; font-family: var(--en); font-size: 22px; letter-spacing: .1em; color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center;
  padding: 120px var(--pad) 100px;
  overflow: hidden; isolation: isolate;
}
.hero::after { /* 粒子感 */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background: radial-gradient(1200px 600px at 85% 110%, rgba(201,167,78,.16), transparent 60%),
              radial-gradient(800px 500px at 0% 0%, rgba(255,255,255,.05), transparent 60%);
}
.hero__frame { position: absolute; inset: -4%; width: 108%; height: 108%; z-index: -1; will-change: transform; }
.hero__frame line { stroke: rgba(244,242,237,.11); stroke-width: 1.2; fill: none; stroke-dasharray: 1800; stroke-dashoffset: 1800; }
.hero__frame .braces line { stroke: rgba(244,242,237,.08); }
.hero__frame .gold { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; }
.hero__frame .joints circle { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-ready .hero__frame line { animation: stroke 2.6s var(--ease) forwards; }
.is-ready .hero__frame .ledgers line { animation-delay: .35s; }
.is-ready .hero__frame .braces line { animation-delay: .8s; }
.is-ready .hero__frame .gold { animation: stroke 1.4s var(--ease) 1.4s forwards; }
.is-ready .hero__frame .joints circle { animation: pop .6s var(--ease-out) forwards, pulse 3.2s ease-in-out 2.4s infinite; }
.is-ready .hero__frame .joints circle:nth-child(1) { animation-delay: 1.5s, 2.5s } .is-ready .hero__frame .joints circle:nth-child(2) { animation-delay: 1.6s, 2.9s }
.is-ready .hero__frame .joints circle:nth-child(3) { animation-delay: 1.7s, 3.3s } .is-ready .hero__frame .joints circle:nth-child(4) { animation-delay: 1.8s, 3.7s }
.is-ready .hero__frame .joints circle:nth-child(5) { animation-delay: 1.9s, 4.1s } .is-ready .hero__frame .joints circle:nth-child(6) { animation-delay: 2.0s, 4.5s }
@keyframes stroke { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero__body { position: relative; max-width: 900px; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--en); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 36px; opacity: 0; transform: translateY(14px); transition: 1s var(--ease-out) .9s; }
.hero__eyebrow .dash { width: 44px; height: 1px; background: var(--gold); }
.hero__title { font-family: var(--mincho); font-weight: 600; font-size: clamp(34px, 6.4vw, 92px); line-height: 1.32; letter-spacing: .06em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease-out); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__title em { font-style: normal; color: var(--gold); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .06em; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) 1.4s; }
.hero__lead { margin-top: 36px; font-size: clamp(14px, 1.3vw, 16px); color: rgba(244,242,237,.72); line-height: 2.1; opacity: 0; transform: translateY(14px); transition: 1s var(--ease-out) 1.1s; }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title em::after { transform: scaleX(1); }
.is-ready .hero__eyebrow, .is-ready .hero__lead { opacity: 1; transform: none; }

.hero__mark {
  position: absolute; right: var(--pad); bottom: 70px;
  display: flex; gap: .3em;
  font-family: var(--en); font-weight: 300; font-size: clamp(14px, 1.4vw, 18px); letter-spacing: 0;
  color: rgba(244,242,237,.5);
}
.hero__mark span { opacity: 0; transform: translateY(100%); transition: 1s var(--ease-out); }
.is-ready .hero__mark span { opacity: 1; transform: none; }
.hero__mark span:nth-child(1){transition-delay:1.5s}.hero__mark span:nth-child(2){transition-delay:1.55s}.hero__mark span:nth-child(3){transition-delay:1.6s}
.hero__mark span:nth-child(4){transition-delay:1.65s}.hero__mark span:nth-child(5){transition-delay:1.7s}.hero__mark span:nth-child(6){transition-delay:1.75s}

.hero__vertical { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-size: 11px; letter-spacing: .5em; color: rgba(244,242,237,.4); opacity: 0; transition: opacity 1.4s 1.6s; }
.is-ready .hero__vertical { opacity: 1; }

.hero__scroll { position: absolute; left: var(--pad); bottom: 40px; display: flex; align-items: center; gap: 16px; font-family: var(--en); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(244,242,237,.6); }
.hero__scroll i { position: relative; width: 80px; height: 1px; background: rgba(244,242,237,.2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: scrollbar 2.4s var(--ease) infinite; }
@keyframes scrollbar { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--gold); color: var(--ink); padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 34s linear infinite; font-family: var(--en); font-size: clamp(20px, 2.6vw, 34px); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee__track b { font-size: .5em; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- common ---------- */
section { position: relative; }
.sec-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-num { font-family: var(--en); font-size: 12px; letter-spacing: .12em; color: var(--gold); padding-top: .9em; position: relative; }
.sec-num::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--gold); vertical-align: middle; margin-left: 12px; }
.sec-title { font-family: var(--en); font-weight: 400; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: .01em; }
.sec-title small { display: block; margin-top: 14px; font-family: var(--ja); font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--mute); }
.sec-head--light .sec-title { color: var(--paper); }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 28ms); }
[data-split].is-in .w > span { transform: none; }

.btn { position: relative; display: inline-flex; align-items: center; gap: 18px; padding: 18px 30px; border-radius: 999px; overflow: hidden; font-weight: 700; font-size: 14px; letter-spacing: .12em; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateX(-101%); transition: transform .6s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn span, .btn i { position: relative; }
.btn i { width: 26px; height: 1px; background: currentColor; transition: width .5s var(--ease-out); }
.btn i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.btn:hover i { width: 40px; }

/* ---------- about ---------- */
.about { padding: clamp(100px, 14vw, 200px) var(--pad); overflow: hidden; }
.about::before { content: "01"; position: absolute; right: -2vw; top: 6vw; font-family: var(--en); font-weight: 300; font-size: 34vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.about__statement { font-family: var(--mincho); font-weight: 600; font-size: clamp(28px, 3.8vw, 54px); line-height: 1.6; letter-spacing: .06em; }
.about__text p + p { margin-top: 1.4em; }
.about__text strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(201,167,78,.38) 62%); }
.about__keys { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 10vw, 140px); border-top: 1px solid var(--line); }
.about__keys li { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); }
.about__keys li + li { padding-left: 28px; }
.about__keys li:last-child { border-right: 0; }
.about__keys li:nth-child(2) { transition-delay: .12s; } .about__keys li:nth-child(3) { transition-delay: .24s; }
.about__keys .k { display: block; font-family: var(--en); font-size: clamp(26px, 3vw, 40px); font-weight: 400; letter-spacing: .02em; }
.about__keys .k::before { content: ""; display: block; width: 18px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.about__keys .v { display: block; margin-top: 10px; font-size: 13px; color: var(--mute); line-height: 1.8; }

/* ---------- service ---------- */
.service { background: var(--ink); color: var(--paper); }
.service__pin { position: relative; display: flex; align-items: center; gap: clamp(40px, 5vw, 80px); padding: clamp(100px, 12vw, 160px) var(--pad); }
.service__intro { flex: 0 0 auto; width: min(420px, 34vw); position: relative; z-index: 2; }
/* 横に流れてくるカードを見出しの裏へくぐらせる */
.has-hscroll .service__intro::before { content: ""; position: absolute; z-index: -1; top: -100vh; bottom: -100vh; left: calc(var(--pad) * -1); right: calc(clamp(40px, 5vw, 80px) * -1); background: linear-gradient(90deg, var(--ink) 82%, rgba(14,14,14,0)); }
.service__intro .sec-head { margin-bottom: 36px; }
.service__lead { color: rgba(244,242,237,.68); line-height: 2.1; }
.service__count { display: flex; align-items: center; gap: 14px; margin-top: 56px; font-family: var(--en); font-size: 12px; letter-spacing: .1em; color: rgba(244,242,237,.5); }
.service__count .cur { color: var(--gold); font-size: 22px; }
.service__count .bar { position: relative; width: 120px; height: 1px; background: var(--line-light); }
.service__count .bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.25); transition: transform .2s linear; }

.service__track { display: flex; gap: 24px; will-change: transform; }
.card {
  position: relative; flex: 0 0 auto; width: clamp(300px, 28vw, 400px); min-height: 520px;
  padding: 40px 36px; border: 1px solid var(--line-light); border-radius: 4px;
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .6s, background .6s;
}
.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(201,167,78,.14), transparent 55%); opacity: 0; transition: opacity .7s; }
.card:hover { border-color: rgba(201,167,78,.6); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__no { font-family: var(--en); font-size: 88px; font-weight: 300; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(244,242,237,.3); transition: -webkit-text-stroke-color .6s; }
.card:hover .card__no { -webkit-text-stroke-color: var(--gold); }
.card__icon { width: 64px; height: 64px; margin: 44px 0 34px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__icon path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease); }
.card.is-in .card__icon path, .card:hover .card__icon path { stroke-dashoffset: 0; }
.card__en { font-family: var(--en); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.card__title { margin-top: 8px; font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: .08em; }
.card__text { margin-top: 18px; font-size: 14px; color: rgba(244,242,237,.66); line-height: 2; }
.card__line { margin-top: auto; padding-top: 30px; display: block; }
.card__line::before { content: ""; display: block; height: 1px; background: var(--gold); transform: scaleX(.12); transform-origin: left; transition: transform .9s var(--ease); }
.card:hover .card__line::before { transform: scaleX(1); }
.card--cta { justify-content: center; align-items: flex-start; gap: 36px; border-style: dashed; }
.card--cta p { font-family: var(--mincho); font-size: 28px; line-height: 1.6; }

/* 横スクロール（JS が有効でPC幅のとき） */
.has-hscroll .service { height: var(--hs-height, 300vh); }
.has-hscroll .service__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; padding-top: 0; padding-bottom: 0; }

/* ---------- flow ---------- */
.flow { padding: clamp(100px, 14vw, 200px) var(--pad); background: var(--paper); }
.flow__list { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; position: relative; z-index: 1; }
.flow__list li { position: relative; padding: 44px 24px 0 0; }
.flow__list li::before { content: ""; position: absolute; top: -6px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); transition: background .6s .4s, border-color .6s .4s; }
.flow__list li.is-in::before { background: var(--gold); border-color: var(--gold); }
.flow__list li:nth-child(2) { transition-delay: .1s } .flow__list li:nth-child(3) { transition-delay: .2s }
.flow__list li:nth-child(4) { transition-delay: .3s } .flow__list li:nth-child(5) { transition-delay: .4s }
.flow .step { font-family: var(--en); font-size: 12px; letter-spacing: .18em; color: var(--gold); }
.flow h3 { margin: 10px 0 14px; font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.flow p { font-size: 13.5px; color: #555; line-height: 1.95; }
.flow__rail { position: absolute; left: var(--pad); right: var(--pad); height: 1px; background: var(--line); top: var(--rail-top, 0); }
.flow__rail i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--rail, 0)); }

/* ---------- statement ---------- */
.statement { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-2); overflow: hidden; }
.statement__text { display: flex; flex-direction: column; font-family: var(--en); font-weight: 400; font-size: clamp(48px, 10.5vw, 170px); line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; will-change: transform; }
.statement__text span:first-child { padding-left: var(--pad); }
.statement__text .outline { color: transparent; -webkit-text-stroke: 1.2px var(--ink); padding-left: 18vw; }

/* ---------- company ---------- */
.company { padding: clamp(100px, 14vw, 200px) var(--pad); }
.company__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.company__table > div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.company__table > div:first-child { border-top: 1px solid var(--line); }
.company__table > div::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 9em; height: 1px; background: var(--gold); }
.company__table dt { font-weight: 700; font-size: 13px; letter-spacing: .14em; }
.company__table dd { font-size: 14.5px; }
.company__table dd a { border-bottom: 1px solid var(--gold); }
.company__map { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--ink); border-radius: 4px; overflow: hidden; transition-delay: .15s; }
.company__map svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
.company__map:hover svg { transform: scale(1.06); }
.company__map .grid path { stroke: rgba(244,242,237,.07); stroke-width: 1; fill: none; }
.company__map .road { stroke: rgba(244,242,237,.22); stroke-width: 10; fill: none; stroke-linecap: round; }
.company__map .road--thin { stroke-width: 4; stroke: rgba(244,242,237,.14); }
.company__map .pin { fill: var(--gold); }
.company__map .pin-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.company__map-label { position: absolute; left: 28px; bottom: 26px; color: var(--paper); font-size: 18px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.company__map-label small { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; font-weight: 400; }
.company__map-label i { display: block; margin-top: 6px; font-style: normal; font-weight: 400; font-size: 12px; color: rgba(244,242,237,.6); }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--paper); padding: clamp(100px, 14vw, 200px) var(--pad); overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,167,78,.22), transparent); pointer-events: none; }
.contact__inner { position: relative; }
.contact__lead { font-family: var(--mincho); font-weight: 600; font-size: clamp(28px, 4.2vw, 60px); line-height: 1.55; letter-spacing: .06em; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(50px, 7vw, 90px); }
.contact__card { position: relative; display: flex; flex-direction: column; padding: 40px 44px; border: 1px solid var(--line-light); border-radius: 4px; overflow: hidden; transition: border-color .5s, color .5s; }
.contact__card:nth-child(2) { transition-delay: .12s; }
.contact__card::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.contact__card:hover { color: var(--ink); border-color: var(--gold); }
.contact__card:hover::before { transform: scaleY(1); }
.contact__card > * { position: relative; }
.contact__card .label { font-family: var(--en); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); transition: color .5s; }
.contact__card:hover .label { color: var(--ink); }
.contact__card .value { margin-top: 16px; font-family: var(--en); font-size: clamp(28px, 3.6vw, 48px); font-weight: 400; letter-spacing: .04em; line-height: 1.2; }
.contact__card .value--mail { font-size: clamp(18px, 2.2vw, 30px); word-break: break-all; }
.contact__card .note { margin-top: 14px; font-size: 13px; opacity: .7; }
.contact__card .arrow { position: absolute; right: 40px; top: 40px; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; transition: transform .6s var(--ease-out); }
.contact__card .arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -5px 0 0 -7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.contact__card:hover .arrow { transform: rotate(-45deg); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 70px var(--pad) 30px; border-top: 1px solid var(--line-light); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__logo { font-family: var(--en); font-weight: 500; font-size: 22px; letter-spacing: .42em; }
.footer__addr { margin-top: 18px; font-size: 13px; color: rgba(244,242,237,.6); }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--en); font-size: 13px; letter-spacing: .14em; }
.footer__nav a:hover { color: var(--gold); }
.footer__huge { margin: 40px 0 10px; font-family: var(--en); font-weight: 500; font-size: 22vw; line-height: .8; letter-spacing: 0; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(244,242,237,.16); background: linear-gradient(90deg, var(--gold), var(--gold)) no-repeat 0 0 / var(--fill, 0%) 100%; -webkit-background-clip: text; background-clip: text; }
.footer__bottom { display: flex; justify-content: space-between; font-family: var(--en); font-size: 11px; letter-spacing: .14em; color: rgba(244,242,237,.5); }
.totop:hover { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 14px; }
  .header__nav, .header__cta { display: none; }
  .burger { display: block; }
  .hero__vertical { display: none; }
  .hero__mark { bottom: 44px; }
  .about__grid, .company__grid, .contact__cards { grid-template-columns: 1fr; }
  .about__keys { grid-template-columns: 1fr; }
  .about__keys li, .about__keys li + li { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service__pin { flex-direction: column; align-items: stretch; }
  .service__intro { width: auto; }
  .service__count { display: none; }
  .service__track { flex-direction: column; }
  .card { width: auto; min-height: 0; }
  .card__icon { margin: 26px 0 22px; }
  .flow__list { grid-template-columns: 1fr; padding-left: 36px; }
  .flow__list li { padding: 0 0 40px; }
  .flow__list li::before { left: -36px; top: 6px; }
  .flow__rail { left: calc(var(--pad) + 6px); right: auto; width: 1px; height: var(--rail-h, 0); top: var(--rail-top, 0); }
  .flow__rail i { transform-origin: top; transform: scaleY(var(--rail, 0)); }
  .company__table > div { grid-template-columns: 1fr; gap: 4px; }
  .company__table > div::after { width: 3em; }
  .contact__lead { font-size: clamp(22px, 6.2vw, 28px); }
  .contact__card { padding: 30px 26px; }
  .contact__card .arrow { right: 22px; top: 26px; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
