/* グレーの階調は、紙の白から露出を1/3段ずつ落とした値（リニア光で 2^(-1/3) 倍ずつ） */
:root {
  --ev-0: #efefef;   /* 紙 */
  --ev-1-3: #d8d8d8; /* −1/3 */
  --ev-2-3: #c3c3c3; /* −2/3 */
  --ev-1: #afafaf;   /* −1 */
  --ev-2: #808080;   /* −2 */
  --ev-3: #5c5c5c;   /* −3 */
  --ev-5: #2e2e2e;   /* −5 */
  --ev-6: #1f1f1f;   /* −6 */
  --ev-7: #141414;   /* −7 墨 */

  --paper: #fff;
  --ink: var(--ev-7);
  --sub: var(--ev-3);
  --faint: var(--ev-2);
  --line: var(--ev-2-3); /* 区切りの線。墨では強すぎるので −2/3 段 */
  --rule: var(--ev-1-3);
  --hair: var(--ev-1-3);
  --grain: 0;

  --sans: "Inter", "Zen Kaku Gothic New", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --gut: clamp(20px, 4.8vw, 96px);
  --head: 72px;
  --frame: 16px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --u: clamp(1px, 100vw / 1440, 1.25px); /* 文字の大きさの単位。1440pxで1px、広い画面では1.25pxまで */
}
:root[data-mode="dark"] {
  --paper: var(--ev-6); /* 上も下（読むページ）と同じグレー。Labだけは下で、もう一段深い墨にする */
  --ink: var(--ev-0);
  --sub: var(--ev-1);
  --faint: var(--ev-3);
  --line: var(--ev-3);
  --rule: var(--ev-5);
  --hair: var(--ev-5);
  --grain: .09;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: calc(16 * var(--u)); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: calc(16 * var(--u));
  font-weight: 500;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
/* 暗い表示のときだけ、モノクロフィルムの粒子をごく薄く */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transition: opacity .5s var(--ease);
}
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
p, dd { text-wrap: pretty; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 120; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }
.cap {
  display: flex;
  gap: 12px;
  font-size: calc(12 * var(--u));
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sub);
}
.cap span { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; mix-blend-mode: difference; }
.site-header__in { display: flex; align-items: center; gap: 32px; height: var(--head); }
.brand { display: flex; align-items: baseline; gap: 14px; margin-right: auto; text-decoration: none; white-space: nowrap; }
.brand__ja { font-size: calc(16 * var(--u)); font-weight: 600; letter-spacing: .02em; }
.brand__en { font-size: calc(11 * var(--u)); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.gnav ul { display: flex; gap: 28px; }
.gnav a { display: inline-flex; align-items: center; min-height: 44px; font-size: calc(14 * var(--u)); letter-spacing: .06em; text-decoration: none; }
.lever { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 2px; border: 0; background: none; }
.lever__lens { position: relative; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; }
.lever__iris { position: absolute; inset: 4px; border: 1px solid currentColor; border-radius: 50%; }
.lever[aria-checked="true"] .lever__iris { background: currentColor; }
.lever__notch { position: absolute; top: -4px; left: 50%; width: 1px; height: 5px; margin-left: -.5px; background: currentColor; transform-origin: 50% 13px; transition: transform .7s cubic-bezier(.34, 1.8, .5, 1); }
.lever:hover .lever__notch { transform: rotate(40deg); }
.lever[aria-checked="true"] .lever__notch { transform: rotate(180deg); }
.lever[aria-checked="true"]:hover .lever__notch { transform: rotate(220deg); }
.lever__label { min-width: 3.4em; font-size: calc(11 * var(--u)); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-align: left; }

/* ---------- frame / af / shutter / gauge ---------- */

.af { position: fixed; top: 0; left: 0; z-index: 55; width: 40px; height: 28px; pointer-events: none; opacity: 0; color: #fff; mix-blend-mode: difference; } /* 最初の画面の見出しにピントを送る枠。白の差分合成で、明るい背景では黒に見える */
.af i { position: absolute; width: 8px; height: 8px; border: 0 solid currentColor; transition: border-width .12s; }
.af i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.af i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.af i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.af i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.af.is-locked i:nth-child(1) { border-top-width: 2px; border-left-width: 2px; }
.af.is-locked i:nth-child(2) { border-top-width: 2px; border-right-width: 2px; }
.af.is-locked i:nth-child(3) { border-bottom-width: 2px; border-left-width: 2px; }
.af.is-locked i:nth-child(4) { border-bottom-width: 2px; border-right-width: 2px; }
html:not(.js) .af, html:not(.js) .gauge { display: none; }


/* どの面の上でも見えるよう、ヘッダーと同じく白で描いて背景と差の合成をする */
.gauge { position: fixed; top: 50%; right: calc(var(--frame) + 14px); z-index: 50; transform: translateY(-50%); pointer-events: none; mix-blend-mode: difference; }
.gauge { transition: opacity .9s cubic-bezier(.4, 0, .2, 1); }
.is-end .gauge { opacity: 0; }
.gauge__ticks { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; }
.gauge__ticks i { display: block; width: 5px; height: 1px; background: rgba(255, 255, 255, .45); }
.gauge__ticks i.is-major { width: 11px; background: #fff; }
.gauge__mark { position: absolute; top: -3px; right: 17px; width: 0; height: 0; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; border-left: 5px solid #fff; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; padding: calc(var(--head) + 8px + 28px) 0 calc(var(--frame) + 28px); }
.hero__in { flex: 1; display: flex; flex-direction: column; }
.eyebrow { font-size: calc(13 * var(--u)); letter-spacing: .08em; color: var(--sub); }
.hero__top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.hl-wrap { position: relative; isolation: isolate; margin: auto 0 0; padding-top: 48px; align-self: flex-start; }
.hl {
  font-size: clamp(34px, 5.6vw, 88px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.05em;
  font-feature-settings: "palt";
}
.hl__line { display: block; white-space: nowrap; }
.hl__line:nth-child(2) { padding-left: 1.04em; }
.is-intro .hl__line { filter: blur(7px); }

.hero__data {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 24px;
  align-items: end;
  margin-top: 64px;
}
.hero__desc { grid-column: 1 / 6; font-size: calc(14 * var(--u)); line-height: 1.85; }
.hero__facts { grid-column: 6 / 11; display: flex; gap: 40px; }
.hero__facts dt { font-size: calc(12 * var(--u)); font-weight: 500; letter-spacing: .12em; color: var(--sub); }
.hero__facts dd { font-size: calc(14 * var(--u)); line-height: 1.4; }
.hero__num { font-size: calc(30 * var(--u)); font-weight: 500; letter-spacing: -.04em; margin-right: 2px; font-variant-numeric: tabular-nums; }
/* 共通の矢印 */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { flex: none; width: 14px; height: 14px; transition: transform .45s var(--ease); }
.ico--down { transform: rotate(90deg); }
.ico--up { transform: rotate(-90deg); }
.ico--out { transform: rotate(-45deg); }
a:hover > .ico { transform: translateX(3px); }
a:hover > .ico--down { transform: rotate(90deg) translateX(3px); }
a:hover > .ico--up { transform: rotate(-90deg) translateX(3px); }
a:hover > .ico--out { transform: rotate(-45deg) translateX(3px); }
/* お問い合わせの矢印：ホバーで枠の外へ抜けて、反対側から入り直す（mount.jp の矢印と同じ動き）。抜ける距離 --d は枠から出る長さ */
.sq { overflow: hidden; }
.sq .ico { width: 15px; height: 15px; --d: 30px; }
.sq .ico--out { --d: 42px; }
@keyframes sq-pass {
  0% { transform: translateX(0); animation-timing-function: cubic-bezier(.1, 0, 1, .5); }
  16.6% { transform: translateX(var(--d)); }
  16.7% { transform: translateX(calc(var(--d) * -1)); animation-timing-function: cubic-bezier(0, .5, .5, 1); }
  100% { transform: translateX(0); }
}
@keyframes sq-pass-out {
  0% { transform: rotate(-45deg) translateX(0); animation-timing-function: cubic-bezier(.1, 0, 1, .5); }
  16.6% { transform: rotate(-45deg) translateX(var(--d)); }
  16.7% { transform: rotate(-45deg) translateX(calc(var(--d) * -1)); animation-timing-function: cubic-bezier(0, .5, .5, 1); }
  100% { transform: rotate(-45deg) translateX(0); }
}
.contact__link:hover .sq .ico, .contact__link:focus-visible .sq .ico { animation: sq-pass .9s; }
.contact__link:hover .sq .ico--out, .contact__link:focus-visible .sq .ico--out { animation-name: sq-pass-out; }
@media (prefers-reduced-motion: reduce) {
  .contact__link:hover .sq .ico, .contact__link:focus-visible .sq .ico { animation: none; }
}
.hero__data .link { grid-column: 11 / 13; justify-self: end; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: calc(14 * var(--u));
  white-space: nowrap;
}
/* テキストリンク・ナビ：下線は出さず、ホバーとフォーカスで文字の濃さが半分になってグレーに見える（mount.jp のテキストリンクと同じ） */
.link, .gnav a, .embed__open { text-decoration: none; }
.link, .gnav a { transition: opacity .3s var(--ease); }
.link:hover, .link:focus-visible, .gnav a:hover, .gnav a:focus-visible { opacity: .5; }

/* ---------- sections ---------- */
.sec { padding: 160px 0; scroll-margin-top: 0; }
.sec-head { display: flex; align-items: baseline; gap: 28px; margin-bottom: 56px; }
.sec-head .cap { min-width: 160px; }
.sec-title { font-size: clamp(28px, 2.9vw, 42px); font-weight: 650; line-height: 1.2; letter-spacing: -.04em; font-feature-settings: "palt"; }
.sec-foot { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin-top: 48px; }
.sec-foot__note { font-size: calc(13 * var(--u)); color: var(--sub); scroll-margin-top: 160px; }

/* できること：レンズの距離目盛りの線だけ（数字は出さない。動かさない） */
.hero__scale, .dial__scale { position: relative; height: 24px; margin-bottom: 4px; border-top: 1px solid var(--line); }
.hero__scale { grid-column: 1 / -1; }
.lens__tick { position: absolute; top: 0; width: 1px; height: 5px; background: var(--faint); }
.lens__tick.is-major { height: 9px; background: var(--sub); }
.dial__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc { padding: 28px 32px 8px 0; }
.svc + .svc { padding-left: 24px; border-left: 1px solid var(--hair); }
.svc__no { display: flex; gap: 12px; font-size: calc(12 * var(--u)); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sub); }
.svc__name { margin-top: 40px; font-size: clamp(26px, 2.8vw, 40px); font-weight: 650; line-height: 1.2; letter-spacing: -.045em; font-feature-settings: "palt"; }
.svc__desc { margin-top: 18px; max-width: 26em; font-size: calc(15 * var(--u)); line-height: 1.9; color: var(--sub); }

/* works：35mmの1コマ（3:2）。主役は「自分で設計した部分」の一文 */
.works { padding-top: 40px; }
.works__intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 64px; }
.works__statement { grid-column: 1 / 8; font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; line-height: 1.45; letter-spacing: -.03em; font-feature-settings: "palt"; }
.works__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px 18px;
  border: 1px solid var(--rule);
}
.work__cat { font-size: calc(12 * var(--u)); font-weight: 500; letter-spacing: .12em; color: var(--sub); }
.work__design { padding: 28px 0 24px; }
.work__design-label { font-size: calc(12 * var(--u)); font-weight: 500; letter-spacing: .08em; color: var(--sub); }
.work__design-text { margin-top: 10px; font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.5; letter-spacing: -.02em; font-feature-settings: "palt"; word-break: keep-all; overflow-wrap: anywhere; }
.work__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); }
.work__title { font-size: calc(16 * var(--u)); font-weight: 600; line-height: 1.5; }
.work__meta { font-size: calc(13 * var(--u)); color: var(--sub); }



/* ---------- menu（スマホ） ---------- */
.menu-btn {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-size: calc(12 * var(--u));
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.menu-btn__bars { position: relative; width: 22px; height: 7px; }
.menu-btn__bars i { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn__bars i:first-child { top: 0; }
.menu-btn__bars i:last-child { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: translateY(3px) rotate(20deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { transform: translateY(-3px) rotate(-20deg); }
.menu {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--head) + 32px) var(--gut) 28px;
  /* ページと同じ紙の色。暗い表示では、ページと同じグレー */
  --m-bg: var(--ev-0); --m-ink: var(--ev-7); --m-sub: var(--ev-3); --m-faint: var(--ev-2); --m-line: var(--ev-1-3);
  background: var(--m-bg);
  color: var(--m-ink);
  overflow-y: auto;
}
:root[data-mode="dark"] .menu { --m-bg: var(--ev-6); --m-ink: var(--ev-0); --m-sub: var(--ev-1); --m-faint: var(--ev-3); --m-line: var(--ev-5); }
.menu[hidden] { display: none; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; text-decoration: none; border-bottom: 1px solid var(--m-line); }
.menu__no { width: 22px; font-size: calc(12 * var(--u)); color: var(--m-faint); font-variant-numeric: tabular-nums; }
.menu__mask { display: block; overflow: hidden; }
.menu__text { display: block; font-size: calc(30 * var(--u)); font-weight: 600; line-height: 1.5; letter-spacing: -.03em; font-feature-settings: "palt"; }
.menu__foot { margin-top: 32px; font-size: calc(13 * var(--u)); color: var(--m-faint); }

/* ---------- lab：いつも墨の面（電子ファインダーの中） ---------- */
.lab {
  --paper: var(--ev-7);
  --ink: var(--ev-0);
  --sub: var(--ev-1);
  --faint: var(--ev-3);
  --rule: var(--ev-5);
  --hair: var(--ev-6);
  position: relative;
  background: var(--paper);
  color: var(--ink);
}
:root[data-mode="dark"] .lab { --paper: #0b0b0b; }
.lab::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.lab .wrap { position: relative; z-index: 1; }
.sec-sub { margin-left: auto; font-size: calc(14 * var(--u)); color: var(--sub); }
.lab__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.demo--a { grid-column: 1 / 7; }
.demo--b { grid-column: 7 / 13; margin-top: 96px; }
.demo__title { margin-bottom: 14px; font-size: calc(19 * var(--u)); font-weight: 600; letter-spacing: -.02em; }
.demo__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; font-size: calc(14 * var(--u)); line-height: 1.75; }
.demo__dl dt { font-size: calc(12 * var(--u)); font-weight: 500; letter-spacing: .08em; color: var(--sub); }
/* Lab：実際のデモをそのまま埋め込む */
.embed { border: 1px solid var(--rule); background: none; }
.embed__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--rule); }
.embed__name { font-size: calc(11 * var(--u)); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.embed__open { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: calc(12 * var(--u)); color: var(--sub); text-decoration: none; }
.embed__open:hover { color: var(--ink); }
.embed__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.embed__view iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
/* JSが効くときは、PC幅のまま読み込んで縮小する */
.embed__view.is-scaled iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; transform-origin: 0 0; }
.demo__hint { margin-top: 12px; font-size: calc(13 * var(--u)); color: var(--sub); }
.embed__tap, .demo__hint-touch { display: none; }
/* 指で操作する端末では、枠の中にスクロールを取られないよう、触れたら別のタブで開く */
@media (hover: none) {
  .embed__view iframe { pointer-events: none; }
  .embed__tap { display: block; position: absolute; inset: 0; z-index: 1; }
  .demo__hint-pc { display: none; }
  .demo__hint-touch { display: inline; }
}

/* ---------- page：ファインダーから目を離して読む面（白・墨の罫線・ゆったりした字間） ---------- */
.page {
  --paper: #fff;
  --rule: var(--ev-1-3);
  background: var(--paper);
  color: var(--ink);
  padding: 128px 0 0;
  font-weight: 500;
  letter-spacing: .06em;
}
:root[data-mode="dark"] .page { --paper: var(--ev-6); --rule: var(--ev-5); }
.page + .page { padding-top: 120px; }
.page-head { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 8px 24px; padding-top: 24px; margin-bottom: 40px; }
.page-head--row { grid-template-columns: auto 1fr; }
.page-index { font-size: calc(13 * var(--u)); font-weight: 500; letter-spacing: .1em; color: var(--sub); font-variant-numeric: tabular-nums; }
.page-head .page-index { grid-column: 1 / 3; }
.page-title { font-size: calc(24 * var(--u)); font-weight: 600; line-height: 1.5; letter-spacing: .04em; }
.page-head--row .page-title { grid-column: 1 / 3; }
.page-lead { grid-column: 2; grid-row: 1; text-align: right; font-size: calc(15 * var(--u)); font-weight: 600; line-height: 1.6; }

/* 上端の区切り線（お問い合わせだけ。プロフィールの見出しの上には引かない） */
.page-head, .contact__row { position: relative; }
.contact__row::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
/* 進め方：画面に止めて、工程を1つずつ送る（止めないときは一覧をそのまま読む） */
.pf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.pf__stage { display: none; }
.pf__side { position: relative; grid-column: 4 / 13; padding-left: 32px; }
.pf.is-pinned .pf__side { grid-column: 7 / 13; }
.pf__line { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--rule); }
.pf__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(1); }
.pf__item { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.pf__no { font-size: calc(12 * var(--u)); letter-spacing: .06em; color: var(--sub); font-variant-numeric: tabular-nums; }
.pf__name { font-size: calc(22 * var(--u)); font-weight: 600; line-height: 1.4; letter-spacing: .02em; }
.pf__desc { grid-column: 2; font-size: calc(14 * var(--u)); line-height: 1.8; color: var(--sub); }

/* 止めている間は、白い面で画面を埋める */
@media (min-width: 768px) { .is-motion .process { min-height: 100vh; } }
.pf.is-pinned { height: calc(100vh - 300px); min-height: 420px; align-items: center; }
.pf.is-pinned .pf__stage { display: flex; flex-direction: column; justify-content: flex-end; grid-column: 1 / 7; align-self: stretch; padding-bottom: 8px; }
.pf.is-pinned .pf__side { align-self: stretch; display: flex; align-items: center; }
.pf.is-pinned .pf__list { width: 100%; }
.pf.is-pinned .pf__desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pf.is-pinned .pf__item { padding: 14px 0; }
.pf.is-pinned .pf__line { display: none; }
.pf.is-pinned .pf__side { padding-left: 40px; }
.pf.is-pinned .pf__list { position: relative; }
/* 縦のメーター：線と、工程ごとの短い目盛りと、横棒の指標だけ */
.pf__meter { position: absolute; top: 0; bottom: 0; left: 0; width: 20px; border-left: 1px solid var(--line); }
.pf__mark { position: absolute; left: 0; width: 6px; height: 1px; background: var(--sub); }
.pf__meter .lens__tick { position: absolute; left: 0; width: 5px; height: 1px; background: var(--faint); }
.pf__meter .lens__tick.is-major { width: 9px; background: var(--sub); }
.pf__needle { position: absolute; top: 0; left: -6px; width: 20px; height: 1px; background: var(--ink); }
.pf.is-pinned .pf__item.is-current .pf__no { color: var(--ink); }
.pf__count { font-size: calc(13 * var(--u)); letter-spacing: .1em; color: var(--sub); font-variant-numeric: tabular-nums; }
.pf__count span { color: var(--ink); }
.pf__title { margin-top: 10px; font-size: clamp(48px, 6vw, 96px); font-weight: 650; line-height: 1.1; letter-spacing: -.03em; font-feature-settings: "palt"; }
.pf__text { margin-top: 20px; max-width: 26em; font-size: calc(16 * var(--u)); line-height: 1.9; }

.rows { border-top: 1px solid var(--rule); }
.rows__item { display: grid; grid-template-columns: 224px 1fr; gap: 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.rows__item dt { font-size: calc(16 * var(--u)); font-weight: 600; }
.rows__item dd { display: flex; justify-content: space-between; gap: 24px; font-size: calc(15 * var(--u)); }
.rows__item em { font-style: normal; color: var(--sub); letter-spacing: .14em; white-space: nowrap; }

.profile__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.profile__text { grid-column: 1 / 7; font-size: calc(16 * var(--u)); line-height: 2.1; }
.profile__text p + p { margin-top: 12px; }
/* 手描きの線画（背景は透過）。暗い表示では白い線にする */
.profile__icon { display: block; width: 168px; height: auto; margin: 0 0 12px -14px; }
:root[data-mode="dark"] .profile__icon { filter: invert(1); }
.profile__name { margin-bottom: 18px; font-size: calc(32 * var(--u)); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.spec { grid-column: 8 / 13; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-size: calc(13 * var(--u)); color: var(--sub); }
.spec dd { font-size: calc(15 * var(--u)); line-height: 1.75; }

.contact { padding-bottom: 120px; }
.contact__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding-top: 48px; }
.contact__row > div { grid-column: 1 / 8; }
.page-index--label { display: flex; gap: 12px; margin-bottom: 28px; }
.page-index--label span { color: var(--ink); }
.contact__lead { font-size: clamp(30px, 3.4vw, 48px); font-weight: 600; line-height: 1.45; letter-spacing: .02em; }
/* 「ご相談」にだけピントを合わせる（四隅だけの枠）。画面に入ると、ぼけた状態から枠が寄ってピントが合う */
.focus { position: relative; display: inline-block; padding: 0 .34em; margin: 0 .1em 0 -.06em; }
.focus__word { display: inline-block; }
.focus i { position: absolute; width: .2em; height: .2em; border: 0 solid currentColor; }
.focus i:nth-of-type(1) { top: -.06em; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.focus i:nth-of-type(2) { top: -.06em; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.focus i:nth-of-type(3) { bottom: -.1em; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.focus i:nth-of-type(4) { bottom: -.1em; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.contact__status { margin-top: 28px; font-size: calc(14 * var(--u)); color: var(--sub); }
.contact__list { grid-column: 8 / 13; border-top: 1px solid var(--rule); }
.contact__link { display: grid; grid-template-columns: 64px 1fr 44px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.contact__kind { font-size: calc(13 * var(--u)); color: var(--sub); }
.contact__value { font-size: calc(17 * var(--u)); font-weight: 600; letter-spacing: .02em; overflow-wrap: anywhere; }
.sq { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 2px; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.contact__link:hover .sq, .contact__link:focus-visible .sq { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.footer[data-view="page"] {
  --paper: #fff;
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}
:root[data-mode="dark"] .footer[data-view="page"] { --paper: var(--ev-6); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .demo--a { grid-column: 1 / 13; }
  .demo--b { grid-column: 4 / 13; margin-top: 64px; }
  .contact__row > div, .contact__list { grid-column: 1 / -1; }
  .profile__text { grid-column: 1 / -1; }
  .spec { grid-column: 1 / -1; margin-top: 16px; }
}

@media (max-width: 1023px) {
  .js .gnav { display: none; }
  .js .menu-btn { display: inline-flex; }
  .site-header__in { gap: 16px; }
  html:not(.js) .site-header { position: absolute; }
  html:not(.js) .site-header__in { flex-wrap: wrap; height: auto; padding-top: 14px; }
  html:not(.js) .gnav { order: 3; width: 100%; overflow-x: auto; }
  html:not(.js) .gnav ul { width: max-content; }
  html:not(.js) .hero { padding-top: 130px; }
}

@media (max-width: 1100px) {
  .svc { padding-right: 20px; }
  .svc + .svc { padding-left: 20px; }
  .dial__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:nth-child(odd) { padding-left: 0; border-left: 0; }
  .works__list { grid-template-columns: 1fr 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  :root { --gut: 20px; --head: 58px; --frame: 10px; }
  .brand__en { display: none; }
  .site-header__in { gap: 18px; }
  .gnav ul { gap: 18px; }
  .gnav a { font-size: calc(13 * var(--u)); }
  .gauge { display: none; }

  .hero { padding-top: calc(var(--head) + 8px + 22px); }
  .hl-wrap { margin: auto 0; padding-top: 0; }
  .hl { font-size: calc(34 * var(--u)); letter-spacing: -.055em; }
  .hero__data { display: block; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
  .hero__top { flex-direction: column; gap: 6px; }
  .hero__desc { font-size: calc(14 * var(--u)); }
  .hero__facts { gap: 28px; margin-top: 16px; }
  .hero__data .link { margin-top: 8px; }

  .sec { padding: 104px 0; }
  .sec-head { flex-direction: column; gap: 10px; margin-bottom: 32px; }
  .hero__scale, .dial__scale { display: none; }
  .dial__list { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .svc, .svc + .svc { padding: 22px 0 26px; border-left: 0; border-bottom: 1px solid var(--hair); }
  .svc__name { margin-top: 14px; font-size: calc(28 * var(--u)); }
  .svc__desc { margin-top: 10px; }

  .works__intro { display: block; margin-bottom: 36px; }
    .works__list { grid-template-columns: 1fr; gap: 40px; }
  .work__frame { aspect-ratio: auto; min-height: 260px; }
  .work__design-text { font-size: calc(22 * var(--u)); }
  .sec-foot { flex-direction: column; align-items: flex-start; gap: 4px; }

  .sec-head .sec-sub { margin-left: 0; }
  .lab__grid { display: block; }
  .demo--b { margin-top: 64px; }
  .demo__dl { grid-template-columns: 1fr; gap: 10px; }
  .jr__card { font-size: calc(12 * var(--u)); }
  .jr__card b { font-size: calc(10 * var(--u)); }

  .page { padding-top: 88px; }
  .page + .page { padding-top: 80px; }
  .page-head { grid-template-columns: 1fr; margin-bottom: 28px; }
  .page-lead { grid-column: 1; grid-row: auto; text-align: left; margin-top: 4px; }
  .pf { display: block; }
  .pf__side { padding-left: 20px; }
  .pf__item { grid-template-columns: 30px 1fr; }
  .pf__name { font-size: calc(18 * var(--u)); }
  .rows__item { grid-template-columns: 1fr; gap: 2px; }
  .profile__name { font-size: calc(26 * var(--u)); }
  .profile__icon { width: 128px; margin-left: -10px; }
  .profile__text { font-size: calc(15 * var(--u)); }
  .memo { grid-column: 1 / -1; }
  .contact { padding-bottom: 88px; }
  .contact__row { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; }
  .profile__body { grid-template-columns: 1fr; }
  .profile__text, .spec { grid-column: 1; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .contact__lead { font-size: calc(30 * var(--u)); }
  .contact__link { grid-template-columns: 52px 1fr 44px; gap: 10px; }
  .contact__value { font-size: calc(16 * var(--u)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* v5: copy and information architecture */
.hero__desc { grid-column: 1 / 8; max-width: 42rem; font-size: 1rem; }
.hero__desc p + p { margin-top: .75rem; }
.hero__proof { grid-column: 9 / 13; font-size: .875rem; line-height: 1.9; }
.hero__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.5rem; }
.hero__data .link { justify-self: start; }
.section-copy { max-width: 45rem; margin-bottom: 2.5rem; font-size: 1rem; line-height: 2; }
.section-copy--after { margin: 2.5rem 0 0; }
.svc__name { font-size: clamp(1.125rem, 1.8vw, 1.5rem); }
.svc__lead { margin: 1.25rem 0 .75rem; font-size: 1.0625rem; line-height: 1.8; font-weight: 600; }
.svc__desc { line-height: 2; }
.experience { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: center; }
.experience__number { font-family: Inter,sans-serif; font-size: clamp(5rem,10vw,9rem); line-height: 1.1; letter-spacing: -.06em; }
.experience__number span { font-family: "Zen Kaku Gothic New",sans-serif; font-size: 1.0625rem; letter-spacing: 0; margin-left: .75rem; }
.experience__copy { max-width: 36rem; font-size: 1rem; line-height: 2; }
.experience__lead { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.experience__copy .link { margin-top: 1.5rem; }
.lab .sec-sub { max-width: 40rem; line-height: 1.9; }
.profile__name span { display: block; font-size: .9375rem; margin-top: .5rem; }
.profile__statement { font-size: 1.25rem; line-height: 1.75; font-weight: 600; margin-bottom: 1.5rem; }
.contact__row { align-items: start; }
.contact__row > .contact__copy { grid-column: 8 / 13; font-size: 1rem; line-height: 2; }
.contact__copy p + p { margin-top: 1rem; }
.contact__list { grid-column: 8 / 13; margin-top: 1.5rem; }
.contact__link { grid-template-columns: 1fr 2.75rem; }
.contact__kind { grid-column: 1; }
.contact__value { grid-column: 1; }
.contact__link .sq { grid-column: 2; grid-row: 1 / 3; }
@media (max-width: 1100px) {
 .hero__proof { grid-column: 9 / 13; }
 .contact__row > .contact__copy, .contact__list { grid-column: 1 / -1; max-width: 42rem; }
}
@media (max-width: 767px) {
 .hl { font-size: clamp(1.7rem,7.4vw,2.5rem); }
 .hl__line:nth-child(2) { padding-left: 0; }
 .hero__proof { margin-top: 1.25rem; }
 .hero__actions { gap: .75rem 1.5rem; }
 .hero__data .link { margin-top: 0; }
 .experience { grid-template-columns: 1fr; gap: 1.5rem; }
 .experience__lead { font-size: 1.25rem; }
 .contact__lead { font-size: clamp(1.5rem,6.5vw,1.875rem); }
 .contact__row { gap: 1.5rem; }
 .contact__list { margin-top: 0; }
}
.lab .sec-head { flex-wrap: wrap; }
.lab .sec-sub { flex-basis: 100%; margin-left: 11.75rem; }
@media (max-width: 767px) { .lab .sec-sub { margin-left: 0; } }

/* v6: できること3つ・事例・料金 */
.dial__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.experience__lead { font-size: 1.25rem; line-height: 1.8; }
.facts { margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 14em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: calc(13 * var(--u)); color: var(--sub); }
.facts dd { font-size: calc(15 * var(--u)); font-weight: 600; }
.cases__note { margin: 96px 0 24px; font-size: calc(14 * var(--u)); color: var(--sub); }
.cases { border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--rule); }
.case__head { grid-column: 1 / 5; }
.case__no { font-size: calc(12 * var(--u)); letter-spacing: .12em; color: var(--sub); font-variant-numeric: tabular-nums; }
.case__name { margin-top: 12px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 650; line-height: 1.5; letter-spacing: -.02em; font-feature-settings: "palt"; }
.case__scope { margin-top: 8px; font-size: calc(14 * var(--u)); line-height: 1.8; color: var(--sub); }
.case__body { grid-column: 5 / 13; }
.case__body div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 10px 0; }
.case__body div + div { border-top: 1px solid var(--hair); }
.case__body dt { font-size: calc(13 * var(--u)); line-height: 2.2; color: var(--sub); }
.case__body dd { font-size: 1rem; line-height: 2; }
.price { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-bottom: 96px; }
.price__list { grid-column: 4 / 13; border-top: 1px solid var(--line); }
.price__list div { display: grid; grid-template-columns: 10em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.price__list dt { font-size: calc(14 * var(--u)); font-weight: 600; line-height: 1.9; }
.price__list dd { font-size: calc(15 * var(--u)); line-height: 1.9; color: var(--sub); }
.price__num { margin-right: 12px; font-size: 1.125rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.price__note { grid-column: 4 / 13; font-size: calc(13 * var(--u)); color: var(--sub); }
@media (max-width: 1100px) {
  .dial__list { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .svc, .svc + .svc { padding: 22px 0 26px; border-left: 0; border-bottom: 1px solid var(--hair); }
  .svc__desc { max-width: 42rem; }
  .case__head { grid-column: 1 / -1; }
  .case__body { grid-column: 1 / -1; }
  .price__list, .price__note { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .facts div, .case__body div, .price__list div { grid-template-columns: 1fr; gap: 2px; }
  .cases__note { margin-top: 64px; }
  .case { padding: 32px 0; gap: 16px; }
  .price { margin-bottom: 64px; }
}
.voices { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 96px; }
.voices__title { grid-column: 1 / 5; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 650; line-height: 1.5; letter-spacing: -.02em; }
.voices__list { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
.voice { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.voice__text { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.9; }
.voice__text p::before { content: "「"; }
.voice__text p::after { content: "」"; }
.voice__from { font-size: calc(13 * var(--u)); color: var(--sub); }
@media (max-width: 1100px) {
  .voices__title, .voices__list { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .voices { margin-top: 64px; gap: 16px; }
  .voices__list { grid-template-columns: 1fr; }
}

/* v6: スクロールの動き（枠・数字の目盛り） */
.dial { position: relative; }
.experience__meter { min-width: 0; }
.experience__scale { position: relative; height: 16px; margin-top: 8px; border-top: 1px solid var(--line); }
.experience__needle { position: absolute; top: -7px; width: 1px; height: 18px; background: var(--ink); }

/* v7: トップの数字1つ・短くした各セクション */
.hero__desc { grid-column: 1 / 7; }
.stat { grid-column: 8 / 13; }
.stat__number { font-family: Inter, sans-serif; font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat__number span { margin-left: .1em; font-size: .4em; letter-spacing: 0; }
.stat__caption { margin-top: 10px; font-size: calc(14 * var(--u)); line-height: 1.8; color: var(--sub); }
.stat .experience__scale { margin-top: 12px; }
.svc__lead { margin-bottom: 0; }
.voices__body { grid-column: 5 / 13; }
.voices__list { display: block; border-top: 1px solid var(--line); }
.voice { padding: 20px 0; }
.voices__body .voice__from { margin-top: 16px; }
.demo__dl { grid-template-columns: 1fr; }
.demo__note { margin-top: 12px; font-size: calc(13 * var(--u)); line-height: 1.8; color: var(--sub); }
.lab__note { margin-top: 64px; font-size: calc(14 * var(--u)); color: var(--sub); }
.profile__name span { font-weight: 500; color: var(--sub); }
.spec dt { font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  .voices__body { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .stat { margin-top: 28px; }
  .hero__actions { margin-top: 20px; }
}

/* v7: サービスページ（上から読み進めるだけ。切り替えるUIは使わない） */
.gnav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.sv { background: var(--paper); }
.sv-intro { padding: calc(var(--head) + 120px) 0 96px; }
.sv-intro__title { margin-top: 16px; font-size: clamp(36px, 4.4vw, 64px); font-weight: 650; line-height: 1.2; letter-spacing: -.04em; font-feature-settings: "palt"; }
.sv-intro__lead { max-width: 42rem; margin-top: 28px; font-size: 1rem; line-height: 2; }
.sv-list { position: relative; }
.sv-block__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; position: relative; padding-top: 64px; padding-bottom: 80px; }
.sv-block__in::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: var(--line); }
.sv-block + .sv-block .sv-block__in::before, .sv-list + .sv-block .sv-block__in::before { background: var(--rule); }
.sv-block__head { grid-column: 1 / 5; align-self: start; }
.sv-block__no { font-size: calc(12 * var(--u)); letter-spacing: .12em; color: var(--sub); font-variant-numeric: tabular-nums; }
.sv-block__name { display: inline-block; margin-top: 12px; font-size: clamp(1.375rem, 2.2vw, 2rem); font-weight: 650; line-height: 1.35; letter-spacing: -.03em; font-feature-settings: "palt"; }
.sv-block--info .sv-block__name { margin-top: 0; }
.sv-block__sub { margin-top: 12px; font-size: calc(14 * var(--u)); line-height: 1.8; color: var(--sub); }
.sv-block__body { grid-column: 5 / 13; }
.sv-block__lead { font-size: 1.125rem; font-weight: 600; line-height: 1.8; }
.sv-block__desc { margin-top: 12px; max-width: 42rem; font-size: 1rem; line-height: 2; }
.sv-block__desc a { text-underline-offset: 4px; }
.sv-block__fact { margin-top: 16px; font-size: calc(14 * var(--u)); line-height: 1.8; color: var(--sub); }
.sv-items { margin-top: 32px; border-top: 1px solid var(--rule); }
.sv-items li { display: grid; grid-template-columns: 3em 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: calc(15 * var(--u)); line-height: 1.8; }
.sv-items span { font-size: calc(12 * var(--u)); line-height: 2.2; color: var(--sub); font-variant-numeric: tabular-nums; }
.sv-block__body .price__list { border-top: 1px solid var(--line); }
.sv-block__body .price__note { margin-top: 16px; }
.sv-block__body .spec { margin-top: 0; }
.sv-cta { margin-top: 40px; }
.sv-cta .link { font-size: calc(16 * var(--u)); }
@media (max-width: 1100px) {
  .sv-block__head, .sv-block__body { grid-column: 1 / -1; }
  .sv-block__in { gap: 20px; }
}
@media (max-width: 767px) {
  .sv-intro { padding: calc(var(--head) + 64px) 0 56px; }
  .sv-block__in { padding-top: 44px; padding-bottom: 56px; }
}
/* v7: ヘッダーはサービスと料金へのリンクだけ。メニューは使わず、どの幅でもそのまま出す */
@media (max-width: 1023px) {
  .js .gnav { display: block; }
  html:not(.js) .gnav { order: 0; width: auto; }
}
/* Labの一覧へのボタンは、できることの下と同じく右に置く */
.lab__foot .cta-link { margin-left: auto; }
/* v7: Lab の一覧・詳細ページ */
.demo__more { margin-top: 8px; }
.lab__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 64px; }
.lab__foot .lab__note { margin-top: 0; }
.sv-intro .cap a { color: inherit; text-underline-offset: 4px; }
.lab-embed { padding-bottom: 80px; }
.lab-embed .embed { max-width: 1120px; }
.lab-list { padding-bottom: 120px; }
.lab-card { border-bottom: 1px solid var(--rule); }
.lab-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; grid-column: 1 / -1; }
@media (max-width: 767px) {
  .lab-embed { padding-bottom: 48px; }
  .lab-list { padding-bottom: 80px; }
}
/* v7: お問い合わせのメールと同じ形のリンク（できること・Labの下） */
.cta-link { width: min(100%, 26rem); border-top: 1px solid var(--rule); }
.hero__scale { height: 1px; margin-bottom: 23px; }
.lab__foot .cta-link { margin-left: auto; }
/* 狭い画面でも、ボタンを横いっぱいに広げない */
@media (max-width: 767px) {
  .cta-link { width: fit-content; min-width: 16rem; max-width: 100%; gap: 24px; }
  .lab__foot .cta-link { margin-left: auto; }
}
.sec-foot .cta-link { margin-left: auto; }
/* デモの枠の上の帯：フォルダ名は出さず、「別のタブで開く」だけを右に置く */
.embed__open { margin-left: auto; }
/* FVのラベル：頼める仕事の名前を先に、宛先を小さく後ろに */
.eyebrow { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.eyebrow__work { color: var(--ink); }
/* Labの墨の面では、矢印の四角を最初から白くして目立たせる（ホバーで線だけに戻る） */
.lab .cta-link .sq { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.lab .cta-link:hover .sq, .lab .cta-link:focus-visible .sq { background: transparent; border-color: var(--ink); color: var(--ink); }
/* Lab の一覧：mount の「外部メディア記事」の組み方（左に画面の縮小、右に名前、下に情報と矢印） */
.lab-card:last-child { border-bottom: 0; } /* 一覧の一番上と一番下には線を引かない（カードのあいだだけ） */
.lab-card__link { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: stretch; padding: 48px 0; text-decoration: none; }
.lab-card__fig { grid-column: 1 / 5; margin: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 2px; }
.lab-card__fig img, .lab-card__fig video { display: block; width: 100%; height: auto; aspect-ratio: 800 / 505; object-fit: cover; transition: transform .8s var(--ease); }
.lab-card__link:hover .lab-card__fig :is(img, video), .lab-card__link:focus-visible .lab-card__fig :is(img, video) { transform: scale(1.03); }
.lab-card__col { grid-column: 5 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
.lab-card__head { display: grid; gap: 10px; }
.lab-card__name { font-size: clamp(1.25rem, 1.9vw, 1.75rem); font-weight: 650; line-height: 1.45; letter-spacing: -.02em; }
.lab-card__desc { max-width: 42rem; font-size: 1rem; line-height: 2; color: var(--sub); }
.lab-card__meta { display: flex; justify-content: flex-end; align-items: flex-end; gap: 16px; }
.lab-card__use { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: calc(14 * var(--u)); line-height: 1.8; color: var(--sub); }
.lab-card__no { font-size: calc(12 * var(--u)); letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--ink); }
.lab-card__link:hover .sq, .lab-card__link:focus-visible .sq { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.lab-card__link:hover .sq .ico, .lab-card__link:focus-visible .sq .ico { animation: sq-pass .9s; }
@media (max-width: 767px) {
  .lab-card__link { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .lab-card__fig, .lab-card__col { grid-column: 1; }
}
/* フッター：一言紹介と、mount の「一覧を見る」と同じ形のリンク（小さい文字＋小さな矢印の四角） */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 24px; padding-bottom: calc(var(--frame) + 24px); font-size: calc(14 * var(--u)); color: var(--sub); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; }
.footer__top { font-size: calc(14 * var(--u)); text-transform: uppercase; letter-spacing: .08em; }
.more { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: calc(14 * var(--u)); font-weight: 600; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.more .sq { width: 24px; height: 24px; }
.more .sq .ico { width: 11px; height: 11px; }
.more:hover .sq, .more:focus-visible .sq { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.more:hover .sq .ico, .more:focus-visible .sq .ico { animation: sq-pass .9s; }
.more[aria-current="page"] { color: var(--faint); }
@media (max-width: 767px) {
  .footer { font-size: calc(13 * var(--u)); }
  .footer__nav { order: -1; width: 100%; margin-left: 0; }
}
/* サービスページの進め方：見出しを上に置き、その下に v6 の進め方（左に大きな工程名、右に一覧）を全幅で組む */
.sv-block__in--wide .sv-block__head, .sv-block__in--wide .pf { grid-column: 1 / -1; }
.pf__desc strong, .pf__text strong { font-weight: 600; color: var(--ink); }
/* Labの一覧：番号はデモの名前の前に置く */
.lab-card__name .lab-card__no { margin-right: 16px; vertical-align: .35em; }
/* できることの下の一文は、ボタンと並べて読ませる大きさにする */
.sec-foot__note--lead { margin-right: auto; max-width: 34rem; font-size: .9375rem; line-height: 1.9; color: var(--ink); }
/* お客様の声：言った人の種類を1つずつ添え、最後にまとめの注記 */
.voice .voice__from { margin-top: 0; }
.voice__note { margin-top: 16px; font-size: calc(13 * var(--u)); color: var(--sub); }
@media (max-width: 767px) {
  .sec-foot:has(.sec-foot__note--lead) { gap: 16px; }
}
/* 事例：見出しは小さく薄くして、本文の段落を主役にする。表の罫線はやめ、塊のあいだを空けて読ませる */
.case__body { display: grid; gap: 36px; }
.case__body div, .case__body div + div { display: block; padding: 0; border-top: 0; }
.case__body dt { margin-bottom: 10px; font-size: calc(12 * var(--u)); line-height: 1.6; letter-spacing: .08em; color: var(--faint); }
@media (max-width: 767px) {
  .case__body { gap: 28px; }
  .case__body dt { margin-bottom: 8px; }
}
/* メニュー：ヘッダーにページへのリンクを置かないので、どの画面幅でもメニューから開く */
.js .menu-btn { display: inline-flex; }
.menu { justify-content: flex-start; gap: 48px; }
.menu__list { border-top: 1px solid var(--m-line); }
.menu__list a { gap: 24px; padding: 14px 0; color: var(--m-ink); transition: opacity .3s var(--ease); }
.menu__list a:hover, .menu__list a:focus-visible { opacity: .6; }
.menu__list a[aria-current="page"] .menu__text { color: var(--m-faint); }
.menu__text { font-size: clamp(28px, 4vw, 56px); line-height: 1.3; }
.menu__contact { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: auto; }



/* ---------- Labの入口：左に説明、右にレンズの鏡筒（刻印の同心円）。スクロールで鏡筒が広がり、そのまま墨の面のデモが見える ---------- */
.lab:has(.lab-intro) { padding-top: 0; }
.lab-intro { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.lab-intro ~ .wrap { padding-top: 160px; }
/* 説明の側は、ほかのセクションと同じ紙の色 */
.lab-intro__copy {
  --paper: var(--ev-0); --ink: var(--ev-7); --sub: var(--ev-3); --rule: var(--ev-1-3);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: calc(var(--head) + 48px) 48px 64px var(--gut);
  background: var(--paper); color: var(--ink);
}
:root[data-mode="dark"] .lab-intro__copy { --paper: var(--ev-6); --ink: var(--ev-0); --sub: var(--ev-1); --rule: var(--ev-5); }
.lab-intro__title { margin-top: 20px; }
.lab-intro__lead { max-width: 30rem; margin: 28px 0 40px; font-size: 1rem; line-height: 2; }
.lab-intro__copy .cta-link .sq { background: transparent; border-color: var(--ink); color: var(--ink); }
.lab-intro__lens { position: relative; margin: 0; overflow: hidden; }
/* レンズの面も説明の側と同じ紙の色にして、線は墨で描く。穴の先のLab（墨の面）との明暗で入っていく */
.lab-intro__lens { --paper: var(--ev-0); background: var(--paper); color: var(--ev-7); }
:root[data-mode="dark"] .lab-intro__lens { --paper: var(--ev-6); color: var(--ev-0); }
.lab-intro__lens canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 動きのあるときは、入口を画面に貼りつけ（sticky）、説明の側を畳んで面（--o：0で半分、1で全面）を広げる。
   入口のうしろの「道のり」（__track）をスクロールし終えるころ、下からデモが上がってきて、面に開いた穴から見える（参考：contentarchitecture.dev） */
.lab.is-lensing .lab-intro { position: sticky; top: 0; display: block; height: 100vh; height: 100svh; min-height: 0; }
.lab-intro__track { height: 160vh; }
.lab.is-lensing .lab-intro ~ .wrap { margin-top: -100vh; margin-top: -100svh; }
.lab.is-lensing .lab-intro__copy { position: absolute; inset: 0 50% 0 0; z-index: 1; clip-path: inset(0 calc(100% * var(--o, 0)) 0 0); }
.lab.is-lensing .lab-intro__copy > * { will-change: transform, opacity; transform: translateX(calc(var(--o, 0) * -64px)); opacity: calc(1 - var(--o, 0) * 1.6); }
.lab.is-lensing .lab-intro__lens { position: absolute; inset: 0; background: var(--paper); }
.lab.is-lensing .lab-intro.is-open { visibility: hidden; }
.lab.is-lensing:not(.is-shown) .lab-intro ~ .wrap { pointer-events: none; }
@media (max-width: 1023px) {
  .lab-intro { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .lab-intro__track { height: 130vh; }
  .lab-intro__copy { padding: calc(var(--head) + 40px) var(--gut) 40px; }
  .lab-intro__lens { min-height: 56svh; }
  .lab.is-lensing .lab-intro__copy { inset: 0 0 40% 0; padding-top: calc(var(--head) + 16px); padding-bottom: 28px; clip-path: inset(0 0 calc(100% * var(--o, 0)) 0); }
  .lab.is-lensing .lab-intro__copy > * { will-change: transform, opacity; transform: translateY(calc(var(--o, 0) * -40px)); }
}
@media (max-width: 767px) {
  .lab-intro ~ .wrap { padding-top: 104px; }
  .lab-intro__lead { margin: 20px 0 32px; }
}

/* 慣性スクロール（Lenis）が動いている間の決まりごと */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* トップのLabのデモ：一覧のカードと同じ動画。マウスを乗せると動き、少しだけ寄る */
.demo__fig { display: block; overflow: hidden; border: 1px solid var(--rule); border-radius: 2px; }
.demo__fig video { display: block; width: 100%; height: auto; aspect-ratio: 800 / 505; object-fit: cover; transition: transform .8s var(--ease); }
.demo:hover .demo__fig video, .demo:focus-within .demo__fig video { transform: scale(1.03); }

/* 明るさの切り替え（レバー）は、メニューを開いたときだけ、メニューの右下（連絡先の並びの反対側）に出す */
.js .lever { position: fixed; right: var(--gut); bottom: 18px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.js .menu-btn[aria-expanded="true"] ~ .lever { opacity: 1; visibility: visible; }

/* FVの「制作の相談をする」：ホバーで下向きの矢印が下へ抜けて、上から入り直す（お問い合わせの矢印と同じ動き） */
.link__arrow { display: inline-flex; overflow: hidden; padding: 2px 0; }
.link__arrow .ico { --d: 22px; }
@keyframes sq-pass-down {
  0% { transform: rotate(90deg) translateX(0); animation-timing-function: cubic-bezier(.1, 0, 1, .5); }
  16.6% { transform: rotate(90deg) translateX(var(--d)); }
  16.7% { transform: rotate(90deg) translateX(calc(var(--d) * -1)); animation-timing-function: cubic-bezier(0, .5, .5, 1); }
  100% { transform: rotate(90deg) translateX(0); }
}
.link--drop:hover .link__arrow .ico, .link--drop:focus-visible .link__arrow .ico { animation: sq-pass-down .9s; }
@media (prefers-reduced-motion: reduce) {
  .link--drop:hover .link__arrow .ico, .link--drop:focus-visible .link__arrow .ico { animation: none; }
}

/* メニューの連絡先：お問い合わせと同じ、矢印つきのボタン。右下はレバーの場所としてあける */
.menu { --ink: var(--m-ink); --paper: var(--m-bg); --sub: var(--m-sub); --rule: var(--m-line); }
.menu__contact { display: grid; grid-template-columns: repeat(3, minmax(0, 20rem)); gap: 0 32px; margin-right: 140px; }
.menu__contact .cta-link { width: 100%; }
.menu__contact .contact__value { font-size: calc(15 * var(--u)); color: var(--m-ink); }
@media (max-width: 1023px) {
  .menu__contact { grid-template-columns: 1fr; margin-right: 0; }
  .menu__contact li + li .cta-link { border-top: 0; }
  .menu { padding-bottom: 76px; }
}

/* メニューのボタン：ホバーはほかのテキストリンクと同じく、文字の濃さが半分になるだけ */
.menu-btn { transition: opacity .3s var(--ease); }
.menu-btn:hover, .menu-btn:focus-visible { opacity: .5; }

/* フッターの「TOP」：ホバーで上向きの矢印が上へ抜けて、下から入り直す（FVの「制作の相談をする」の逆向き） */
@keyframes sq-pass-up {
  0% { transform: rotate(-90deg) translateX(0); animation-timing-function: cubic-bezier(.1, 0, 1, .5); }
  16.6% { transform: rotate(-90deg) translateX(var(--d)); }
  16.7% { transform: rotate(-90deg) translateX(calc(var(--d) * -1)); animation-timing-function: cubic-bezier(0, .5, .5, 1); }
  100% { transform: rotate(-90deg) translateX(0); }
}
.link--rise:hover .link__arrow .ico, .link--rise:focus-visible .link__arrow .ico { animation: sq-pass-up .9s; }
@media (prefers-reduced-motion: reduce) {
  .link--rise:hover .link__arrow .ico, .link--rise:focus-visible .link__arrow .ico { animation: none; }
}

/* Labの墨の面の「Labの一覧を見る」：上下の線を白に */
.lab__foot .cta-link { border-top-color: var(--ink); border-bottom-color: var(--ink); }

/* Labの一覧の絞り込み（mount.jp の制作事例の絞り込みと同じ形） */
.lab-filter { margin-bottom: 24px; }
.lab-filter__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lab-filter__title { font-size: calc(17 * var(--u)); font-weight: 600; letter-spacing: .02em; }
.lab-filter__toggle { position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper); transition: background-color .35s var(--ease), color .35s var(--ease); }
.lab-filter__toggle:hover, .lab-filter__toggle:focus-visible { background: transparent; color: var(--ink); }
.lab-filter__toggle i { position: absolute; top: 50%; left: 50%; width: 16px; height: 1.5px; margin: -.75px 0 0 -8px; border-radius: 1px; background: currentColor; transition: transform .4s var(--ease); }
.lab-filter__toggle i:last-child { transform: rotate(90deg); }
.lab-filter__toggle[aria-expanded="true"] i:last-child { transform: rotate(0deg); }
.lab-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lab-filter__chips:empty { display: none; }
.lab-filter__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 2px; background: none; font-size: calc(14 * var(--u)); font-weight: 500; }
.lab-filter__chip::before { content: "×"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 11px; line-height: 1; }
.lab-filter__chip:hover, .lab-filter__chip:focus-visible { border-color: var(--ink); }
.lab-filter__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 20px; padding: 28px 0; border-top: 1px solid var(--rule); }
.lab-filter__panel[hidden] { display: none; }
.lab-filter__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.lab-filter__group legend { margin-bottom: 12px; padding: 0; font-size: calc(13 * var(--u)); letter-spacing: .08em; color: var(--sub); }
.lab-filter__group label { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: calc(15 * var(--u)); font-weight: 500; cursor: pointer; }
.lab-filter__group input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.lab-filter__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--ink); }
.lab-filter__count { font-size: calc(15 * var(--u)); font-weight: 600; }
.lab-filter__clear { padding: 0; border: 0; background: none; font-size: calc(13 * var(--u)); text-decoration: underline; text-underline-offset: 4px; }
.lab-filter__clear:hover, .lab-filter__clear:focus-visible { opacity: .5; }
.lab-card[hidden] { display: none; }
.lab-filter__empty { padding: 48px 0; color: var(--sub); }
/* 各カードの分類（mount の「業界・業種：〜｜Webサイト：〜」と同じ並び） */
.lab-card__meta { justify-content: space-between; }
.lab-card__tags { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: calc(13 * var(--u)); line-height: 1.8; color: var(--sub); }
.lab-card__tags span + span::before { content: "｜"; margin: 0 .6em; color: var(--rule); }
@media (max-width: 767px) {
  .lab-filter__panel { grid-template-columns: 1fr; }
}

/* 事例の余白：本文の幅を絞って「困っていたこと／判断したこと」を2列に並べ、「結果」は下に1段。事例どうしの間も広くとる */
.cases__note { max-width: 40rem; margin-bottom: 40px; line-height: 1.9; }
.case { padding: 72px 0; column-gap: 24px; }
.case__head { grid-column: 1 / 5; }
.case__body { grid-column: 6 / 13; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.case__body div:last-child { grid-column: 1 / -1; padding-top: 32px; border-top: 1px solid var(--hair); }
.case__body dd { font-size: calc(15 * var(--u)); line-height: 2; }
.case__body div:last-child dd { max-width: 36rem; font-size: 1rem; font-weight: 600; }
@media (max-width: 1100px) {
  .case__head, .case__body { grid-column: 1 / -1; }
  .case__body { margin-top: 16px; }
}
@media (max-width: 767px) {
  .case { padding: 48px 0; }
  .case__body { grid-template-columns: 1fr; gap: 28px; margin-top: 8px; }
  .case__body div:last-child { padding-top: 24px; }
}

/* プロフィール：上の段は左に似顔絵と名前、右に文章（行と段落のあいだを広く）。下の段に対応範囲などを罫線少なめの3列で */
.profile__text { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.profile__who { grid-column: 1 / 5; }
.profile__story { grid-column: 6 / 12; max-width: 38rem; }
.profile__story p + p { margin-top: 24px; }
.spec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; margin-top: 88px; padding-top: 32px; border-top: 1px solid var(--line); }
.spec div, .spec div + div { display: block; padding: 0; border: 0; }
.spec dt { margin-bottom: 8px; font-size: calc(12 * var(--u)); letter-spacing: .08em; color: var(--faint); }
.spec dd { font-size: calc(15 * var(--u)); line-height: 1.8; }
@media (max-width: 1100px) {
  .profile__who { grid-column: 1 / -1; }
  .profile__story { grid-column: 1 / -1; margin-top: 24px; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 64px; }
}
@media (max-width: 767px) {
  .profile__story p + p { margin-top: 18px; }
    .spec { grid-template-columns: 1fr; gap: 22px; margin-top: 48px; padding-top: 24px; }
}

/* プロフィールの一覧：mount.jp のサービスの「詳細項目」と同じく、左寄せで項目名と内容を1行ずつ、罫線で区切って並べる */
.spec { grid-column: 1 / 8; display: block; margin-top: 88px; padding-top: 0; border-top: 1px solid var(--ink); }
.spec div, .spec div + div { display: grid; grid-template-columns: 8.5em 1fr; gap: 24px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec dt { margin: 0; font-size: calc(13 * var(--u)); font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.spec dd { font-size: calc(15 * var(--u)); line-height: 1.8; }
@media (max-width: 1100px) {
  .spec { grid-column: 1 / -1; margin-top: 64px; }
}
@media (max-width: 767px) {
  .spec { margin-top: 48px; }
  .spec div, .spec div + div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* お客様の声：ディレクターの顔アイコン（プロフィールの似顔絵と同じ、細い線のスケッチ。墨一色） */
.voice { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 24px; row-gap: 10px; align-items: start; }
.voice__icon { grid-row: 1 / 3; width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.voice__icon .voice__dot { fill: currentColor; stroke: none; }
.voice__text, .voice__from { grid-column: 2; }
.voices__list .voice { padding: 28px 0; }
@media (max-width: 767px) {
  .voice { grid-template-columns: 52px 1fr; column-gap: 16px; }
  .voice__icon { width: 52px; height: 52px; }
}

/* デモの「別のタブで開く」：ホバーで斜めの矢印が右上へ抜けて、左下から入り直す */
.embed__open .link__arrow .ico { --d: 20px; }
.embed__open:hover .link__arrow .ico, .embed__open:focus-visible .link__arrow .ico { animation: sq-pass-out .9s; }
@media (prefers-reduced-motion: reduce) {
  .embed__open:hover .link__arrow .ico, .embed__open:focus-visible .link__arrow .ico { animation: none; }
}

/* よくあるご質問（サービスと料金） */
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; list-style: none; cursor: pointer; font-size: calc(15 * var(--u)); font-weight: 600; line-height: 1.7; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q i { position: relative; flex: none; width: 12px; height: 12px; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 1.5px; background: currentColor; transition: transform .25s; }
.faq__q i::after { transform: rotate(90deg); }
.faq__item[open] .faq__q i::after { transform: rotate(0); }
.faq__q:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.faq__a { padding: 0 36px 20px 0; font-size: calc(15 * var(--u)); line-height: 1.8; color: var(--sub); }
@media (prefers-reduced-motion: reduce) { .faq__q i::before, .faq__q i::after { transition: none; } }

/* ---------- v8：スイススタイル（最初の画面） ---------- */
:root { font-synthesis-weight: auto; }
@media (min-width: 900px) {
  .hl-wrap { width: 100%; }
  .hl { font-size: clamp(34px, 8.4vw, 148px); font-weight: 700; line-height: 1.02; letter-spacing: -.06em; }
  .hl__line:nth-child(2) { padding-left: 0; }
  .hero__data { margin-top: 40px; padding-top: 14px; border-top: 2px solid var(--ink); align-items: start; }
  .hero__scale { display: none; }
  .hero__actions { grid-row: 1; grid-column: 1 / 5; margin-top: 0; }
  .hero__desc { grid-row: 1; grid-column: 5 / 9; max-width: none; font-size: calc(14 * var(--u)); }
  .stat { grid-row: 1; grid-column: 9 / 13; }
  .stat__number { font-size: clamp(4rem, 8vw, 8rem); font-weight: 300; letter-spacing: -.06em; }
}

/* v8：スイススタイル（セクション見出し・できること） */
@media (min-width: 900px) {
  .dial__scale { display: none; }
  .svc, .svc + .svc { padding: 14px 24px 8px 0; border-left: 0; border-top: 1px solid var(--ink); }
  .svc + .svc { padding-left: 0; }
  .dial__list { gap: 0 24px; }
  .svc__name { margin-top: 56px; font-size: clamp(18px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.04em; }
}

/* v8：スイススタイル（サービスと料金・Labの各ページ） */
.sv-intro__title { font-size: clamp(40px, 6.4vw, 104px); font-weight: 700; line-height: 1.04; letter-spacing: -.055em; }
.sv-block__in::before { height: 2px; background: var(--ink); }
.sv-block__name { font-weight: 700; letter-spacing: -.04em; }
.lab-intro__title { font-size: clamp(30px, 3.6vw, 56px); font-weight: 700; line-height: 1.12; letter-spacing: -.05em; }

/* 画面には出さず、読み上げにだけ伝える文 */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
