
/* =========================================================
   Tokens — bridge-advisory-site/DESIGN.md（決定71で採用したカンプ）
   ※ Primary はロゴ原本の #395562（決定56）を採用
   ========================================================= */
:root {
  /* brand */
  --color-primary: #395562;
  --color-primary-hover: #2B4450;
  --color-primary-light: #6F8E9A;
  --color-primary-tint: #DCE5E8;

  /* base (light) */
  --color-ink: #1E2A30;
  --color-bg: #F0F2F3;
  --color-surface: #F8F9F9;
  --color-text: #1E2A30;
  --color-text-sub: #52616A;
  --color-text-muted: #5F6D75;
  --color-border: #D3DADD;
  --color-divider: rgba(30, 42, 48, 0.1);
  --color-line: #C3CCD0;

  /* cards (light) */
  --color-card-bg: linear-gradient(160deg, rgba(57, 85, 98, 0.06) 0%, rgba(57, 85, 98, 0.02) 60%, rgba(255, 255, 255, 0.35) 100%);
  --color-card-border: rgba(57, 85, 98, 0.08);
  --color-row-bg: rgba(255, 255, 255, 0.6);
  --color-chip-bg: #DFE4E6;
  --color-chip-border: #8A989F;
  --color-light-glass-bg: rgba(255, 255, 255, 0.35);
  --color-light-glass-border: rgba(255, 255, 255, 0.7);

  /* dark */
  --color-dark-bg: #1F2B31;
  --color-dark-text: #F0F2F3;
  --color-dark-text-sub: #C3CDD1;
  --color-glass-bg: rgba(220, 229, 232, 0.05);
  --color-glass-border: rgba(220, 229, 232, 0.16);
  --color-dark-divider: rgba(220, 229, 232, 0.22);

  /* decoration */
  --gradient-plane: linear-gradient(135deg, rgba(220, 229, 232, 0.28) 0%, rgba(220, 229, 232, 0.04) 100%);
  --gradient-plane-light: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(195, 204, 208, 0.35) 100%);
  --gradient-ink: radial-gradient(120% 140% at 85% 20%, #4E6873 0%, #1E2A30 55%);
  --gradient-primary: radial-gradient(120% 140% at 85% 20%, #5C7B87 0%, #395562 60%);
  --gradient-sphere: radial-gradient(120% 120% at 30% 25%, #6E838C 0%, #35474F 45%, #1E2A30 100%);
  --color-glow-1: rgba(143, 184, 196, 0.4);
  --color-glow-2: rgba(230, 196, 168, 0.35);

  /* type */
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-display: "Marcellus", "Optima", "Candara", "Zen Kaku Gothic New", serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* space */
  --gutter: clamp(20px, 5vw, 100px);
  --section: clamp(96px, 12vw, 200px);
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 120px;
}
@media (max-width: 1023px) { :root { --header-h: 64px; } }

/* =========================================================
   約物詰め（目立つ見出しだけ・決定103）
   YakuHanJP は句読点・括弧の文字だけが入った書体。見出しの書体の前に置くと、約物だけが置き換わって余白が詰まる。
   Zen Kaku Gothic New には約物を詰める機能（palt・halt）が無いため。ライセンスは fonts/LICENSE-YakuHanJP.txt
   ========================================================= */
@font-face { font-family: "YakuHanJP"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/YakuHanJP-Medium.woff2") format("woff2");
  unicode-range: U+3001, U+3002, U+3008-3011, U+3014, U+3015, U+30FB, U+FF01, U+FF08, U+FF09, U+FF1A, U+FF1B, U+FF1F, U+FF3B, U+FF3D, U+FF5B, U+FF5D; }
@font-face { font-family: "YakuHanJP"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/YakuHanJP-Bold.woff2") format("woff2");
  unicode-range: U+3001, U+3002, U+3008-3011, U+3014, U+3015, U+30FB, U+FF01, U+FF08, U+FF09, U+FF1A, U+FF1B, U+FF1F, U+FF3B, U+FF3D, U+FF5B, U+FF5D; }
/* :where() は詳細度 0。英字の見出し（.sec-head__title の Marcellus など）、クラスで書体を決めているものには効かない */
:where(h1, h2, h3, h4), .page-lead__catch { font-family: "YakuHanJP", var(--font-jp); }

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Noise（全ページ共通） */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
/* 和文を文節の切れ目で折り返し（「技／術者」のような語中の改行を防ぐ）、最終行に1〜2文字だけ残さない。
   対応ブラウザ（Chrome 系）でだけ効き、それ以外では従来どおりに折り返す（2026-09-30 点検） */
body { word-break: auto-phrase; }
p, li, h1, h2, h3, dt, dd, figcaption { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; border-radius: 4px; }
.is-dark :focus-visible, .dark :focus-visible, .footer :focus-visible, .mmenu :focus-visible { outline-color: #FFFFFF; }
/* マウス・タッチで開け閉めしたメニューで、スクリプトがフォーカスを移した要素には囲みを出さない（site.js・2026-10-28）。focusVisible に対応しないブラウザ向けの保険 */
.is-pointer-focus:focus-visible { outline: none; }

.container { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 300; background: var(--color-ink); color: #fff; padding: 12px 20px; border-radius: var(--radius-full); }
.skip-link:focus { top: 16px; }
.nowrap { display: inline-block; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  transition: background-color .4s var(--ease), transform .4s var(--ease), backdrop-filter .4s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header.is-scrolled { background: rgba(240, 242, 243, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header.is-dark.is-scrolled { background: rgba(31, 43, 49, 0.7); }
.header.is-hidden { transform: translateY(-100%); transition: background-color .4s var(--ease), transform 1.2s var(--ease), backdrop-filter .4s; }  /* 隠れるときはゆっくり（戻るときは .4s） */

.logo { position: relative; display: block; flex-shrink: 0; height: clamp(40px, 4vw, 56px); }
/* SVGは余白のない実寸。比率を指定せず高さだけ決める（design-system/assets/logo/README.md） */
.logo img { display: block; height: 100%; width: auto; transition: opacity .3s; }
.logo .logo--white { position: absolute; left: 0; top: 0; opacity: 0; }
.header.is-dark .logo .logo--dark { opacity: 0; }
.header.is-dark .logo .logo--white { opacity: 1; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 64px); }
.nav__link {
  position: relative; white-space: nowrap;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.04em; line-height: 1;
  padding-block: 12px;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--color-primary);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
@media (hover: hover) { .nav__link:hover::after { transform: scaleX(1); } }
.header.is-dark .nav__link { color: var(--color-dark-text); }
.header.is-dark .nav__link::after { background: var(--color-dark-text); }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span {
  position: absolute; left: 2px; width: 40px; height: 1.5px; background: var(--color-text);
  transition: transform .4s var(--ease), top .4s var(--ease), background-color .3s;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 26px; }
.header.is-dark .menu-btn span { background: var(--color-dark-text); }
.menu-open .menu-btn span { background: var(--color-dark-text); }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(20deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-20deg); }

@media (max-width: 1023px) {
  .nav, .header .header__cta { display: none; }
  .menu-btn { display: block; }
  .logo { height: 36px; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 60px; padding-inline: 40px;
  border-radius: var(--radius-full);
  font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1;
  white-space: nowrap;
  transition: background-position .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn__arrow { width: 20px; height: 20px; flex-shrink: 0; transition: transform .4s var(--ease); }
.btn--primary { background: var(--gradient-primary); color: #FFFFFF; }
.btn--ink { background: var(--gradient-ink); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn--light { background: var(--color-bg); color: var(--color-ink); }
.btn--outline { border: 1.5px solid var(--color-primary); color: var(--color-primary); height: 52px; padding-inline: 36px; }
@media (hover: hover) {
  .btn--primary:hover { background: radial-gradient(120% 140% at 60% 0%, #5C7B87 0%, #395562 60%); }  /* btn--ink と同じく光の位置だけずらす */
  .btn--ink:hover { background: radial-gradient(120% 140% at 60% 0%, #4E6873 0%, #1E2A30 55%); }
  .btn--light:hover { background: #FFFFFF; }
  .btn--outline:hover { background: var(--color-primary); color: #FFFFFF; }
  .btn:hover .btn__arrow { transform: translateX(4px); }
}
.header__cta { height: 56px; padding-inline: 32px; transition: transform .4s var(--ease), background-color .3s; }
@media (hover: hover) { .header__cta:hover { transform: scale(1.04); } }

/* =========================================================
   Section heading（バーコード → 英字タイトル → 括弧サブタイトル）
   ========================================================= */
/* 見出しの上の部材：画面の左端の外から差し込まれ、見出しの頭の少し右で止まる（ヒーローの「架設」と同じ動き）。
   先に細い基準線が引かれ、部材が入ると消える。部材の端はヒーローの斜材と同じ向きに斜めに切る */
.member { --h: clamp(8px, 0.85vw, 12px); position: relative; display: block; width: 72px; height: var(--h); }  /* 太さは画面幅に合わせて 8〜12px */
.member__bar {
  position: absolute; top: 0; bottom: 0; right: 0; left: -100vw;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--h) * 0.58) 100%, 0 100%);  /* 端の斜めはヒーローの斜材と同じ約60度 */
}
.member__guide {
  position: absolute; left: -100vw; right: -32px; top: 50%; height: 1px; margin-top: -0.5px;
  background: var(--color-primary-light); opacity: 0; transform-origin: left;
}
.dark .member__bar { background: var(--color-primary-tint); }
.dark .member__guide { background: rgba(220, 229, 232, 0.5); }
.js .member__bar { transform: translateX(calc(-100vw - 120px)); }
.js .member__guide { transform: scaleX(0); opacity: 1; }
.js .is-in .member__bar { transform: none; transition: transform 0.8s var(--ease) 0.05s; }
.js .is-in .member__guide { transform: scaleX(1); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.5s var(--ease) 0.8s; }
.sec-head__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.5rem, 6vw, 7rem); line-height: 1; letter-spacing: -0.02em;
  margin-top: 0.12em;  /* 部材との間。タイトルの大きさに比例させ、見た目の余白を大文字の高さの約0.37倍にそろえる（決定81） */
}
.sec-head__sub {
  margin-top: 8px;
  font-size: clamp(1.125rem, 1.5vw, 1.5rem); font-weight: 500; letter-spacing: 0.16em; line-height: 1.6;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex; align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; z-index: -2; border-radius: 50%; filter: blur(80px);
  width: 48vw; height: 48vw; right: 4vw; top: 10%;
  background: radial-gradient(circle, var(--color-glow-1) 0%, transparent 70%);
}
.hero__glow--sand { width: 30vw; height: 30vw; right: 30vw; top: 55%; background: radial-gradient(circle, var(--color-glow-2) 0%, transparent 70%); }
.hero__inner { position: relative; z-index: 1; }
.hero__label {
  font-family: var(--font-display); font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
  letter-spacing: 0.18em; color: var(--color-text-sub);
  display: flex; align-items: center; gap: 16px;
}
.hero__label::before { content: ""; width: 48px; height: 1px; background: currentColor; }
.hero__catch {
  margin-top: clamp(24px, 3vw, 40px);
  font-size: clamp(2.25rem, 5.2vw, 5.5rem);
  font-weight: 500; line-height: 1.4; letter-spacing: 0.04em;
}
.hero__catch .line { display: block; overflow: hidden; }
.hero__catch .line > span { display: inline-block; }
.hero__sub {
  margin-top: clamp(28px, 3vw, 48px);
  font-size: clamp(1.0625rem, 1.5vw, 1.5rem); font-weight: 500; line-height: 1.9; letter-spacing: 0.08em;
  color: var(--color-text-sub);
}
.hero__sub span { display: block; }
.hero__actions { margin-top: clamp(40px, 4vw, 64px); }

/* ストラクチャーラインの表示枠：ヘッダーの下から始め、上端をなだらかに消す。
   画面の縦が短いと図形がヘッダーの裏まで伸び、お問い合わせボタンとつながって見えるため（2026-09-30） */
.hero__graphic {
  position: absolute; inset: var(--header-h) 0 0 0; z-index: 0;
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 clamp(56px, 11vh, 120px));
  mask-image: linear-gradient(to bottom, transparent 0, #000 clamp(56px, 11vh, 120px));
}
/* ストラクチャーライン（ロゴシンボル由来のブランドグラフィック） */
.structure {
  position: absolute; z-index: 0; pointer-events: none;
  right: -6vw; bottom: -14vh;
  width: min(62vw, 980px); height: auto;
  overflow: visible;  /* 部材を画面の外から差し込むため。上端だけ clipPath で切る */
}
.structure .beam { fill: none; stroke: var(--color-primary); stroke-linecap: butt; }
.structure .thin { fill: none; stroke: var(--color-line); stroke-width: 1.5; }
.structure .guide { fill: none; stroke: var(--color-primary-light); stroke-width: 1; }
.hero__catch .ch { display: inline-block; }

.scroll-ind {
  position: absolute; left: var(--gutter); bottom: 40px; z-index: 1;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--color-text-sub);
}
.scroll-ind__line { width: 1px; height: 56px; background: var(--color-border); position: relative; overflow: hidden; }
.scroll-ind__line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--color-primary); animation: scrollline 1.8s var(--ease) infinite; }
@keyframes scrollline { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* =========================================================
   01 ISSUES（せり上がりパネル）
   ========================================================= */
.panel {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding-block: clamp(80px, 9vw, 160px) var(--section);
}
.panel::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 60%; height: 200px; pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(143, 184, 196, 0.25), transparent 70%);
}
.issues { display: grid; grid-template-columns: minmax(280px, 34%) 1fr; gap: clamp(32px, 6vw, 120px); }
.issues__list { border-top: 1px solid var(--color-divider); }
.issues__item {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline;
  padding-block: clamp(24px, 2.4vw, 36px);
  font-size: clamp(1.0625rem, 1.4vw, 1.375rem); font-weight: 500; line-height: 1.7; letter-spacing: 0.06em;
}
/* 行の下線：左から伸ばす */
.issues__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-divider); transform-origin: left; }
/* 01〜04 を順に、左からじわっと差し込んで止める（通常の reveal より長く・遠くから） */
.js .issues__item.reveal { transform: translateX(-64px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.js .issues__item.reveal.is-in { transform: none; }
.js .issues__item.reveal::after { transform: scaleX(0); transition: transform 1.6s var(--ease); transition-delay: inherit; }
.js .issues__item.reveal.is-in::after { transform: none; }
.issues__idx { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 1rem; letter-spacing: 0.06em; color: var(--color-text-muted); }
.issues__answer {
  margin-top: clamp(48px, 5vw, 80px);
  font-size: clamp(1.375rem, 2.2vw, 2.125rem); font-weight: 700; line-height: 1.6; letter-spacing: 0.06em;
}
.issues__answer strong { color: var(--color-primary); font-weight: 700; }

/* =========================================================
   02 SERVICE（ダーク・ガラスカード）
   ========================================================= */
.dark { color: var(--color-dark-text); }
.service {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #172126 0%, #34464E 50%, #1A252A 100%);
  padding-block: var(--section);
}
.service::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.plane { position: absolute; z-index: -2; pointer-events: none; background: var(--gradient-plane); will-change: transform; }
.plane--1 { width: 70vw; height: 90%; right: -12vw; top: -8%; clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); }
.plane--2 { width: 55vw; height: 70%; right: 6vw; top: 18%; clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .4; }  /* .7→.4：カードの文字の背後に重なるため */
.plane--3 { width: 40vw; height: 50%; left: -10vw; bottom: -6%; clip-path: polygon(0 30%, 100% 0, 70% 100%, 0 100%); opacity: .5; }

.service__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.service__lead { margin-top: clamp(40px, 4vw, 64px); font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.glass-grid { margin-top: clamp(48px, 5vw, 80px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.glass {
  display: flex; flex-direction: column;
  background: var(--color-glass-bg);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);  /* 背後の面の輪郭を文字の下でぼかす */
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  min-height: 360px;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
@media (hover: hover) { .glass:hover { border-color: rgba(220, 229, 232, 0.45); background: rgba(220, 229, 232, 0.09); } }
.glass__tag { font-size: 1rem; font-weight: 500; letter-spacing: 0.04em; color: var(--color-dark-text-sub); }
.glass__num { font-family: var(--font-display); font-size: clamp(4rem, 7vw, 6.5rem); line-height: 1; margin-top: 8px; color: rgba(220, 229, 232, 0.55); }
.glass__title { margin-top: 24px; font-size: clamp(1.375rem, 1.8vw, 1.75rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.08em; }
.glass__rule { height: 1px; background: var(--color-dark-divider); margin-block: 32px; }
.glass__body { font-size: 1.125rem; line-height: 1.8; letter-spacing: 0.1em; margin-top: auto; }
.service__more { margin-top: 48px; }

/* ---------- 【図1 簡略版】業務の区分と関与の位置（CONTENTS.md 21章・Diagram） ----------
   文字は HTML、線と面は CSS。ダーク面の配色（Diagram: 線 rgba(220,229,232,.6)／面 glass-bg／文字 dark-text）。
   StrWorks を指す部分だけ primary ＋白文字。影・グラデーション・ガラス効果は使わない。
   PC：工程を横軸に、Ⅰ・Ⅱの帯を上下に並べる。SP（639px以下）：工程を縦軸にして組み替える */
.fig1 {
  background: rgba(23, 33, 38, 0.35);  /* 背後の面の輪郭が図を横切らないよう沈める */
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  --fig-line: rgba(220, 229, 232, 0.6);
  --fig-face: var(--color-glass-bg);
  --fig-text: var(--color-dark-text);
  --fig-text-sub: var(--color-dark-text-sub);
  --fig-sw: var(--color-primary);
  margin: clamp(48px, 5vw, 80px) 0 0;
  padding: clamp(28px, 3vw, 48px) clamp(20px, 3vw, 48px) clamp(36px, 3.4vw, 52px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
}
.fig1__cap { font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; color: var(--fig-text-sub); }
.fig1__grid {
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(150px, 13rem) repeat(5, minmax(0, 1fr));
  grid-template-rows: auto 56px 56px;
  row-gap: 20px;
}
.fig1__axis { display: contents; }
.fig1__step {
  grid-row: 1; grid-column: var(--c);
  position: relative;
  padding: 0 4px 16px;
  text-align: center;
  font-size: 0.9375rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.04em;
  color: var(--fig-text);
  border-bottom: 1px solid var(--fig-line);
}
.fig1__step::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 1px; height: 9px; background: var(--fig-line); }
.fig1__label {
  grid-column: 1; grid-row: var(--r);
  align-self: center;
  display: flex; align-items: baseline; gap: 12px;
  font-size: 1.0625rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.06em;
  color: var(--fig-text);
}
.fig1__no { font-family: var(--font-display); font-size: 1.375rem; line-height: 1; color: var(--fig-text-sub); }
.fig1__band {
  grid-column: 2 / -1; grid-row: var(--r);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--fig-line);
  border-radius: 12px;  /* radius-diagram */
  font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; line-height: 1;
}
.fig1__band--sw { background: var(--fig-sw); border-color: var(--fig-sw); color: #FFFFFF; }
.fig1__band--client { background: var(--fig-face); color: var(--fig-text); }
/* StrWorks が関わる点：下から刺さる線と、帯の縁の primary の印 */
.fig1__pin { position: absolute; left: var(--at); top: 100%; width: 1px; height: 20px; background: var(--fig-line); }
.fig1__pin::before {
  content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px;
  background: var(--fig-sw); border: 1.5px solid #FFFFFF; border-radius: 3px;
}
.fig1__pin-label { position: absolute; left: 0; top: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1.4; color: var(--fig-text-sub); }
.fig1__key { margin-top: 72px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; color: var(--fig-text-sub); }
.fig1__key::before { content: ""; width: 12px; height: 12px; background: var(--fig-sw); border: 1.5px solid #FFFFFF; border-radius: 3px; }
@media (max-width: 1023px) {
  .fig1__grid { grid-template-columns: minmax(112px, 9rem) repeat(5, minmax(0, 1fr)); }
  .fig1__step { font-size: 0.8125rem; letter-spacing: 0.02em; }
  .fig1__label { flex-direction: column; gap: 6px; font-size: 0.9375rem; }
}
@media (max-width: 639px) {
  /* 横向きのまま、区分名を帯の上に移して5つの工程で幅いっぱいを使う（決定83：縦に組み替えると工程の流れが読み取りにくいため）。
     図全体を縮小すると文字が 7px 前後になり読めないので、縮小ではなく並べ方を変える。工程名は 12px */
  .fig1__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: auto auto 44px auto 44px;
    row-gap: 0;
  }
  .fig1 { padding-inline: 16px; }
  .fig1__step { grid-column: calc(var(--c) - 1); padding: 0 1px 12px; font-size: 0.75rem; line-height: 1.4; letter-spacing: 0; word-break: keep-all; }  /* 語の途中で折らない。「設計／条件の／設定」だけ <wbr> で折ってよい位置を示す */
  .fig1__label {
    grid-column: 1 / -1; grid-row: calc(var(--r) * 2 - 2);
    flex-direction: row; align-items: baseline; gap: 8px;
    margin: 22px 0 8px; font-size: 0.875rem; letter-spacing: 0.04em;
  }
  .fig1__no { font-size: 1.125rem; }
  .fig1__band { grid-column: 1 / -1; grid-row: calc(var(--r) * 2 - 1); font-size: 0.875rem; }
  .fig1__pin { height: 16px; }
  .fig1__pin-label { top: calc(100% + 6px); font-size: 0.75rem; letter-spacing: 0.02em; }
  .fig1__key { margin-top: 60px; }
}
@media (max-width: 359px) {
  .fig1__step { font-size: 0.6875rem; }
}

/* =========================================================
   03 PROFILE（サイドタイトル型）
   ========================================================= */
.profile { padding-block: var(--section); }
.side { display: grid; grid-template-columns: minmax(280px, 34%) 1fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.side__title { position: sticky; top: 160px; }
.side__title .btn { margin-top: clamp(40px, 4vw, 64px); }
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 48px);
}
.profile__lead { font-size: clamp(1.375rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.profile__text { margin-top: 20px; font-size: 1.125rem; line-height: 2; color: var(--color-text-sub); }
.years { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--color-divider); }
.years__item { padding-top: 24px; }
.years__item + .years__item { border-left: 1px solid var(--color-divider); padding-left: clamp(20px, 3vw, 40px); }
.years__label { font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; color: var(--color-text-sub); }
.years__value { margin-top: 4px; font-family: var(--font-display); font-size: clamp(4rem, 8vw, 7.5rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--color-primary); }
.years__value small { font-family: var(--font-jp); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; margin-left: 6px; color: var(--color-text); letter-spacing: 0.04em; }
.quals { margin-top: 24px; }
.quals__head { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 500; color: var(--color-text-sub); letter-spacing: 0.06em; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; height: 32px; padding-inline: 16px; border-radius: var(--radius-full); background: var(--color-chip-bg); color: var(--color-text-sub); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; line-height: 1; }
.quals__list { display: grid; gap: 12px; }
.quals__item {
  display: flex; align-items: center; min-height: 60px; padding: 12px 24px;
  background: var(--color-row-bg); border: 1px solid var(--color-border); border-radius: var(--radius-full);
  font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1.5;
}

/* =========================================================
   04 FLOW / 05 INSIGHTS（ライト幾何学面セクション）
   ========================================================= */
.planes {
  position: relative; overflow: hidden; isolation: isolate;
  background: #E4E9EB;
  padding-block: var(--section);
}
.band { position: absolute; z-index: -1; pointer-events: none; background: var(--gradient-plane-light); will-change: transform; }
.band--1 { width: 140vw; height: 38vw; left: -30vw; top: 12%; transform: rotate(-24deg); clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%); }
.band--2 { width: 120vw; height: 22vw; left: -10vw; top: 58%; transform: rotate(-24deg); opacity: .8; }
.band--3 { width: 90vw; height: 14vw; right: -30vw; top: 36%; transform: rotate(-24deg); opacity: .6; }

.flow__grid { margin-top: clamp(48px, 5vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lglass {
  background: var(--color-light-glass-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--color-light-glass-border);
  border-radius: var(--radius-lg);
}
.step { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; padding: 32px 36px; }
/* 順序が分かるよう、枠の右辺を「＞」にし、次の枠の左辺をくぼませて先端を差し込む（矢羽根）。
   先端の角度は約120度：先端の深さ --tip ＝ 枠の高さ × tan30° ÷ 2（script で枠の高さから計算して .flow__grid に入れる）。
   clip-path で切ると斜めの辺の枠線が消えるので、斜めの辺は ::before / ::after の線で描き足す。
   1列に積む幅（1023px以下）では下向き（∨）にし、上下で差し込む */
.flow__grid { --tip: 44px; --seam: 12px; column-gap: 0; }
.step {
  position: relative;
  padding: 32px calc(24px + var(--tip)) 32px 36px;
  border-right: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%);
}
.step + .step {
  margin-left: calc(var(--seam) - var(--tip));  /* 前の枠の先端が、この枠のくぼみに入る */
  padding-left: calc(20px + var(--tip));
  border-left: 0;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%, var(--tip) 50%);
}
.step::after, .step + .step::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: var(--tip); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 100' preserveAspectRatio='none'%3E%3Cpolyline points='0,0 24,50 0,100' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
.step::after { right: 0; }
.step + .step::before { left: 0; }
@media (max-width: 1023px) {
  .flow__grid { --tip: 20px; --seam: 10px; row-gap: 0; }
  .step {
    padding: 32px 36px calc(24px + var(--tip));
    border-right: 1px solid var(--color-light-glass-border); border-bottom: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tip)), 50% 100%, 0 calc(100% - var(--tip)));
  }
  .step + .step {
    margin-left: 0; margin-top: calc(var(--seam) - var(--tip));
    padding-left: 36px; padding-top: calc(20px + var(--tip));
    border-left: 1px solid var(--color-light-glass-border); border-top: 0;
    border-radius: 0;
    clip-path: polygon(0 0, 50% var(--tip), 100% 0, 100% calc(100% - var(--tip)), 50% 100%, 0 calc(100% - var(--tip)));
  }
  .step::after, .step + .step::before { left: 0; right: 0; width: auto; height: var(--tip); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpolyline points='0,0 50,20 100,0' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
  .step::after { top: auto; bottom: 0; }
  .step + .step::before { top: 0; bottom: auto; }
}
/* 01 から順に、左からじわっと差し込む（Issues と同じ動き） */
.js .step.reveal { transform: translateX(-48px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.js .step.reveal.is-in { transform: none; }
.step__num { font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; font-size: clamp(2.5rem, 3.4vw, 3.5rem); line-height: 1; padding-right: 24px; border-right: 1px solid var(--color-divider); color: var(--color-primary); }
.step__title { font-size: clamp(1.25rem, 1.5vw, 1.5rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.08em; }
.step__text { margin-top: 12px; font-size: 1rem; line-height: 1.8; letter-spacing: 0.06em; color: var(--color-text-sub); }
.flow__more { margin-top: 40px; }

.insights { margin-top: var(--section); }
.insights__compact { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; }
.news-list { margin-top: 32px; display: grid; gap: 12px; }
.news {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; column-gap: 24px;
  padding: 32px 36px;
  transition: background-color .3s;
}
@media (hover: hover) { .news:hover { background: rgba(255, 255, 255, 0.6); } .news:hover .news__title { color: var(--color-primary); } }
.news__date { padding-right: 24px; border-right: 1px solid var(--color-divider); font-family: var(--font-display); font-variant-numeric: tabular-nums; color: var(--color-text); }
.news__date span { display: block; }
.news__y { font-size: 1rem; line-height: 1.4; }
.news__md { font-size: 1.625rem; line-height: 1.2; letter-spacing: 0.02em; }
.news__title { font-size: 1.125rem; font-weight: 500; line-height: 1.7; letter-spacing: 0.06em; transition: color .3s; }
.news__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.news__tag { margin-top: 16px; display: inline-flex; align-items: center; height: 24px; padding-inline: 8px; border: 1px solid var(--color-chip-border); border-radius: 6px; background: rgba(255, 255, 255, 0.5); color: var(--color-text-sub); font-size: 0.8125rem; letter-spacing: 0.04em; line-height: 1; }
.placeholder { color: var(--color-text-muted); }
.note-caption { margin-top: 16px; font-size: 0.875rem; line-height: 1.6; letter-spacing: 0.04em; color: var(--color-text-muted); }

/* =========================================================
   CONTACT（円形CTA）
   ========================================================= */
.contact { padding-block: var(--section); }
.contact__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.contact__label { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.18em; color: var(--color-text-sub); }
.contact__title { margin-top: 20px; font-size: clamp(1.5rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.06em; }
.contact__line { display: block; }
.sphere {
  width: clamp(180px, 18vw, 260px); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--gradient-sphere); color: #FFFFFF;
  font-size: 1.125rem; font-weight: 500; letter-spacing: 0.08em; line-height: 1;
  transition: transform .5s var(--ease), background-position .5s var(--ease);
}
.sphere svg { width: 24px; height: 24px; transition: transform .4s var(--ease); }
@media (hover: hover) { .sphere:hover { transform: scale(1.04); background: radial-gradient(120% 120% at 20% 15%, #6E838C 0%, #35474F 45%, #1E2A30 100%); } .sphere:hover svg { transform: translateX(4px); } }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--color-ink); color: var(--color-dark-text); padding-block: clamp(80px, 10vw, 160px) 40px; }
.footer__top { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }
.footer__logo { width: clamp(200px, 20vw, 280px); height: auto; }
.footer__info { margin-top: 32px; font-size: 0.9375rem; line-height: 2; letter-spacing: 0.06em; color: var(--color-dark-text-sub); font-style: normal; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 16px 56px; }
.footer__nav a { font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1.6; }
@media (hover: hover) { .footer__nav a:hover { text-decoration: underline; text-underline-offset: 6px; } }
.footer__bottom { margin-top: clamp(64px, 8vw, 120px); padding-top: 24px; border-top: 1px solid var(--color-dark-divider); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--color-dark-text-sub); }
.footer__bottom { align-items: center; }
.footer__legal { display: flex; gap: 16px 32px; flex-wrap: wrap; align-items: center; }
.footer__legal a { text-decoration: underline; text-underline-offset: 4px; }
/* ページの先頭へ：ダーク面の枠線ボタン。ホバーで矢印だけ上へ（ButtonInk と同じ控えめな動き） */
.to-top {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;  /* 正円 */
  border: 1px solid var(--color-glass-border);
  color: var(--color-dark-text);
  transition: background-color .3s, border-color .3s;
}
.to-top svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
@media (hover: hover) {
  .to-top:hover { background: rgba(220, 229, 232, 0.08); border-color: rgba(220, 229, 232, 0.45); }
  .to-top:hover svg { transform: translateY(-3px); }
}

/* =========================================================
   Mobile menu
   ========================================================= */
.mmenu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--color-dark-bg); color: var(--color-dark-text);
  padding: calc(var(--header-h) + 24px) 20px calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
.menu-open .mmenu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }  /* 開くときは即座に可視化してフォーカスを移せるようにする */
.mmenu__list { border-top: 1px solid var(--color-dark-divider); }
.mmenu__list li { border-bottom: 1px solid var(--color-dark-divider); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .mmenu__list li { opacity: 1; transform: none; }
.menu-open .mmenu__list li:nth-child(2) { transition-delay: .05s; }
.menu-open .mmenu__list li:nth-child(3) { transition-delay: .1s; }
.menu-open .mmenu__list li:nth-child(4) { transition-delay: .15s; }
.mmenu__list a { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 12px; }
.mmenu__en { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.2; }
.mmenu__ja { font-size: 0.875rem; color: var(--color-dark-text-sub); letter-spacing: 0.06em; margin-left: 12px; }
.mmenu__actions { margin-top: auto; padding-top: 40px; display: grid; gap: 12px; }
.mmenu__actions .btn { width: 100%; }
.menu-open .header { background: transparent !important; backdrop-filter: none; }
.menu-open .header .logo .logo--dark { opacity: 0; }
.menu-open .header .logo .logo--white { opacity: 1; }
body.menu-open { overflow: hidden; }

/* =========================================================
   Reveal motion
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
/* 見出し：まず部材が差し込まれ、そのあと英字タイトル → 日本語 → リード・ボタンの順に出る（決定81） */
.js header.reveal { opacity: 1; transform: none; }
.js header.reveal > :not(.member) { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js header.reveal.is-in > :not(.member) { opacity: 1; transform: none; }
.js header.reveal.is-in > :nth-child(2) { transition-delay: .35s; }
.js header.reveal.is-in > :nth-child(3) { transition-delay: .47s; }
.js header.reveal.is-in > :nth-child(4) { transition-delay: .59s; }
.js .reveal.is-in { opacity: 1; transform: none; }
/* ヒーローの登場は末尾の script（Web Animations API）で制御する（決定75：案A 架設） */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js header.reveal > * { opacity: 1; transform: none; }
  .js .member__bar, .js .issues__item.reveal::after { transform: none; }
  .js .member__guide { opacity: 0; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1023px) {
  .issues, .side { grid-template-columns: 1fr; }
  .side__title { position: static; }
  .flow__grid { grid-template-columns: 1fr; gap: 0; }
  .service__head { grid-template-columns: 1fr; }
  .structure { width: 90vw; right: -18vw; bottom: -8vh; opacity: .9; }
}
@media (max-width: 639px) {
  body { font-size: 0.9375rem; line-height: 1.8; letter-spacing: 0.06em; }
  .hero { min-height: calc(100svh - 48px); flex-direction: column; align-items: stretch; padding-top: calc(var(--header-h) + 72px); padding-bottom: 96px; }
  .hero__catch { font-size: clamp(1.75rem, 8.4vw, 2.25rem); line-height: 1.5; }
  .hero__label { font-size: 0.75rem; letter-spacing: 0.1em; gap: 12px; }
  .hero__label::before { width: 32px; }
  .hero__sub { font-size: clamp(0.8125rem, 3.7vw, 1rem); line-height: 1.9; letter-spacing: 0.02em; }
  .hero__actions .btn { height: 56px; padding-inline: 32px; }
  /* SPは図形を文章とボタンの下に続けて置く（決定84）。画面の下端を基準に重ねると、縦の短い機種で図形がせり上がり、
     サブコピーやボタンに重なっていた（375×667・360×640 で確認） */
  .hero__graphic {
    position: relative; inset: auto; order: 2;
    height: clamp(220px, 34svh, 320px); margin-top: 16px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 48px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 48px);
  }
  .structure { width: 118vw; right: -34vw; top: -10vw; bottom: auto; }
  .scroll-ind { bottom: 24px; }
  .panel { border-radius: 32px 32px 0 0; padding-block: 72px 88px; }
  .sec-head__title { font-size: clamp(3rem, 14vw, 4rem); }
  .sec-head__sub { font-size: 1rem; letter-spacing: 0.1em; margin-top: 8px; }
  .issues__item { grid-template-columns: 40px 1fr; font-size: 1rem; padding-block: 20px; }
  .issues__answer { font-size: clamp(1.25rem, 5.6vw, 1.5rem); margin-top: 40px; }
  .service, .profile, .planes, .contact { padding-block: 88px; }
  .service__lead { font-size: clamp(1.375rem, 6vw, 1.75rem); margin-top: 32px; }
  .glass-grid { gap: 12px; margin-top: 40px; }
  .glass { padding: 24px 18px; min-height: 0; border-radius: 20px; }
  .glass__num { font-size: 3rem; }
  .glass__title { font-size: 1rem; letter-spacing: 0.04em; margin-top: 16px; }
  .glass__rule { margin-block: 20px; }
  .glass__body { font-size: 0.9375rem; line-height: 1.65; letter-spacing: 0.06em; }
  .card { border-radius: 24px; padding: 24px 20px; }
  .profile__lead { font-size: clamp(1.25rem, 5.6vw, 1.5rem); }
  .profile__text { font-size: 0.9375rem; line-height: 1.8; }
  .years__value { font-size: clamp(3rem, 16vw, 4.5rem); }
  .years__value small { font-size: 1.125rem; }
  .years__label { font-size: 0.8125rem; letter-spacing: 0; white-space: nowrap; }
  .quals__item { min-height: 52px; padding: 12px 20px; font-size: 0.9375rem; border-radius: 24px; }
  .step { padding: 24px 20px calc(20px + var(--tip)); column-gap: 20px; border-radius: 24px 24px 0 0; }
  .step + .step { padding-top: calc(16px + var(--tip)); padding-left: 20px; border-radius: 0; }
  .step__num { font-size: 2.25rem; padding-right: 20px; }
  .step__title { font-size: 1.125rem; }
  .step__text { font-size: 0.9375rem; }
  .news { padding: 28px 24px; column-gap: 20px; border-radius: 28px; }
  .news__date { padding-right: 20px; }
  .news__y { font-size: 0.875rem; }
  .news__md { font-size: 1.375rem; }
  .news__title { font-size: 1rem; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__inner .sphere { justify-self: end; width: clamp(180px, 55vw, 220px); }
  .contact__title { font-size: clamp(1.5rem, 6.6vw, 1.875rem); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
}
/* =========================================================
   Print（稟議資料として印刷される前提。DESIGN.md 付録・design-system README）
   ナビ・メニュー・装飾は落とし、本文・カード・図解は残す。ダーク面は白背景・黒文字へ
   ========================================================= */
@media print {
  body { background: #FFFFFF; color: #1E2A30; }
  body::before, .service::after { display: none; }
  .header, .mmenu, .skip-link, .scroll-ind, .to-top, .hero__graphic, .hero__glow, .plane, .band, .panel::before, .member { display: none !important; }
  .js .reveal, .js .reveal > *, .hero * { opacity: 1 !important; transform: none !important; }
  .hero { min-height: 0; padding: 24px 0 40px; }
  .panel, .card, .lglass, .glass { break-inside: avoid; }
  .service, .footer { background: #FFFFFF !important; color: #1E2A30 !important; }
  .glass__tag, .glass__num, .footer__info, .footer__bottom { color: #52616A !important; }
  .glass { border-color: #D3DADD; background: #FFFFFF; }
  .glass__rule { background: #D3DADD; }
  /* 背景色・グラデーションは既定では印刷されない。白文字のボタン類は白地・濃色文字・枠線へ切り替える */
  .btn--primary, .btn--ink, .sphere { background: #FFFFFF !important; color: #1E2A30 !important; border: 1px solid #395562; }
  .form__req { background: none !important; color: #1E2A30 !important; border: 1px solid #395562; }
  .btn--light { border: 1px solid #395562; }
  .fig1 {
    --fig-line: #6F8E9A; --fig-face: #FFFFFF; --fig-text: #1E2A30; --fig-text-sub: #52616A;
    border-color: #D3DADD; background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .fig1__band--client { background: #DCE5E8; }
  .footer__logo { filter: invert(1) brightness(0.3); }
  .footer__bottom { border-top-color: #D3DADD; }
  a { text-decoration: none; }
}

/* =========================================================
   /service/ 業務内容（下層ページ）— 以下はトップ（index.html）のCSSに追加した部分
   ========================================================= */
.page-head { padding-top: clamp(140px, 14vw, 200px); padding-bottom: clamp(80px, 9vw, 140px); }
.page-lead { margin-top: clamp(56px, 6vw, 96px); display: grid; grid-template-columns: minmax(280px, 34%) 1fr; gap: clamp(32px, 6vw, 120px); }
.page-lead__body { grid-column: 2; }
.page-lead__catch { font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.page-lead__text { margin-top: clamp(24px, 2.4vw, 36px); font-size: 1.125rem; line-height: 2; letter-spacing: 0.08em; }
.page-lead__text span { display: block; }

.svc { position: relative; }
.svc + .svc,
.page-body + .svc { margin-top: var(--section); }  /* /contact/：フォームの後の「Contact」も、区画どうしと同じ間隔を空ける */
.svc__body > * + * { margin-top: clamp(24px, 2.4vw, 32px); }

/* 区分Ⅰ・Ⅱのカード（ライト。トップのガラスカードと同じ積み方） */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; }
.cat__tag { font-size: 1rem; font-weight: 500; letter-spacing: 0.04em; color: var(--color-text-sub); }
.cat__num { font-family: var(--font-display); font-size: clamp(3.5rem, 5vw, 5rem); line-height: 1; margin-top: 8px; color: var(--color-primary); }
.cat__title { margin-top: 20px; font-size: clamp(1.25rem, 1.8vw, 1.75rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.08em; }
.cat__rule { height: 1px; background: var(--color-divider); margin-block: 24px; }
.cat__body { font-size: 1.0625rem; line-height: 1.9; letter-spacing: 0.06em; }
.cat__out { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; justify-items: start; }
.cat__out p { font-size: 1rem; line-height: 1.8; letter-spacing: 0.04em; color: var(--color-text-sub); }

/* 【図1 詳細版】業務の区分と関与の位置（ライト面）
   線 primary-light、面 primary-tint／白、StrWorks の部分だけ primary ＋白文字。文字は HTML、線と面は CSS */
.fig1d {
  --fig-line: var(--color-primary-light);
  --fig-face: var(--color-primary-tint);
  --fig-text: var(--color-text);
  --fig-text-sub: var(--color-text-sub);
  --fig-sw: var(--color-primary);
  margin: 0;
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2.6vw, 40px) clamp(32px, 3vw, 44px);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.fig1d__cap { font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; color: var(--fig-text-sub); }
.fig1d__grid {
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 8.5rem repeat(5, minmax(0, 1fr)) 11rem;
  grid-template-rows: auto minmax(56px, auto) minmax(56px, auto);
  row-gap: 24px;
  padding-bottom: 44px;
}
.fig1d__axis { display: contents; }
.fig1d__step {
  grid-row: 1; align-self: end;
  position: relative;
  padding: 0 4px 16px;
  text-align: center;
  font-size: 0.875rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.02em;
  color: var(--fig-text);
  border-bottom: 1px solid var(--fig-line);
  word-break: keep-all;
}
.fig1d__step:nth-child(1) { grid-column: 2; }
.fig1d__step:nth-child(2) { grid-column: 3; }
.fig1d__step:nth-child(3) { grid-column: 4; }
.fig1d__step:nth-child(4) { grid-column: 5; }
.fig1d__step:nth-child(5) { grid-column: 6; }
.fig1d__step::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 1px; height: 9px; background: var(--fig-line); }
.fig1d__out-head { grid-row: 1; grid-column: 7; align-self: end; padding: 0 0 16px 36px; font-size: 0.875rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.04em; color: var(--fig-text-sub); }
.fig1d__label {
  grid-column: 1; align-self: center;
  display: flex; flex-direction: column; gap: 6px;
  padding-right: 16px;
  font-size: 0.9375rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.04em;
  color: var(--fig-text);
}
.fig1d__label--1 { grid-row: 2; }
.fig1d__label--2 { grid-row: 3; }
.fig1d__no { font-family: var(--font-display); font-size: 1.375rem; line-height: 1; color: var(--fig-text-sub); }
.fig1d__band {
  grid-column: 2 / 7; align-self: center; height: 56px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--fig-line);
  border-radius: 12px;
  font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; line-height: 1;
}
.fig1d__band--1 { grid-row: 2; }
.fig1d__band--2 { grid-row: 3; }
.fig1d__band--sw { background: var(--fig-sw); border-color: var(--fig-sw); color: #FFFFFF; }
.fig1d__band--client { background: var(--fig-face); color: var(--fig-text); }
/* StrWorks が関わる点：下から刺さる線と、帯の縁の primary の印（トップの図1と同じ部品）＋点のラベル */
.fig1d__pin { position: absolute; top: 100%; width: 1px; height: 20px; background: var(--fig-line); }
.fig1d__pin--a { left: 30%; }
.fig1d__pin--b { left: 60%; }
.fig1d__pin--c { left: 90%; }
.fig1d__pin::before {
  content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px;
  background: var(--fig-sw); border: 1.5px solid #FFFFFF; border-radius: 3px;
}
.fig1d__pin-label {
  position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.875rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.04em;
  color: var(--fig-text);
}
.fig1d__out {
  grid-column: 7; align-self: center;
  position: relative;
  padding-left: 36px;
  font-size: 0.875rem; font-weight: 500; line-height: 1.6; letter-spacing: 0.02em;
  color: var(--fig-text);
}
.fig1d__out--1 { grid-row: 2; }
.fig1d__out--2 { grid-row: 3; }
.fig1d__out::before { content: ""; position: absolute; left: 8px; top: 50%; width: 16px; height: 1px; background: var(--fig-line); }
.fig1d__out::after { content: ""; position: absolute; left: 22px; top: calc(50% - 4px); border-left: 6px solid var(--fig-line); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.fig1d__out-item { display: block; white-space: nowrap; }
.fig1d__out-label { display: none; }
.fig1d__key { margin-top: 28px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; color: var(--fig-text-sub); }
.fig1d__key::before { content: ""; width: 12px; height: 12px; background: var(--fig-sw); border: 1.5px solid #FFFFFF; outline: 1px solid var(--fig-line); border-radius: 3px; }

/* 右カラムが狭い幅（SP と 1024〜1279px）：工程の軸は横のまま。区分名を帯のすぐ上に、成果物を帯の下に移し、
   5つの工程で幅いっぱいを使う（トップの図1のSPと同じ組み方。縮小はしない） */
@media (max-width: 639px), (min-width: 1024px) and (max-width: 1279px) {
  .fig1d__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: none; row-gap: 0; padding-bottom: 0; }
  .fig1d__step:nth-child(1) { grid-column: 1; }
  .fig1d__step:nth-child(2) { grid-column: 2; }
  .fig1d__step:nth-child(3) { grid-column: 3; }
  .fig1d__step:nth-child(4) { grid-column: 4; }
  .fig1d__step:nth-child(5) { grid-column: 5; }
  .fig1d__out-head { display: none; }
  .fig1d__label { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 8px; margin: 24px 0 8px; padding-right: 0; font-size: 0.875rem; }
  .fig1d__label--1 { grid-row: 2; }
  .fig1d__label--2 { grid-row: 5; }
  .fig1d__no { font-size: 1.125rem; }
  .fig1d__band { grid-column: 1 / -1; height: 44px; font-size: 0.875rem; }
  .fig1d__band--1 { grid-row: 3; }
  .fig1d__band--2 { grid-row: 6; }
  .fig1d__out { grid-column: 1 / -1; padding-left: 0; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
  .fig1d__out::before, .fig1d__out::after { display: none; }
  .fig1d__out--1 { grid-row: 4; }
  .fig1d__out--2 { grid-row: 7; margin-top: 52px; }  /* 関わる点のラベルの下 */
  .fig1d__out-label {
    display: inline-flex; align-items: center; height: 24px; padding-inline: 10px;
    border-radius: var(--radius-full); background: var(--color-chip-bg); color: var(--color-text-sub);
    font-size: 0.75rem; letter-spacing: 0.04em; line-height: 1;
  }
}
@media (max-width: 639px) {
  .fig1d { padding-inline: 16px; border-radius: 24px; }
  .fig1d__step { padding: 0 1px 12px; font-size: 0.75rem; line-height: 1.4; letter-spacing: 0; }
  .fig1d__pin { height: 16px; }
  .fig1d__pin-label { font-size: 0.75rem; letter-spacing: 0.02em; }
  .fig1d__out { font-size: 0.8125rem; }
}
@media (max-width: 359px) { .fig1d__step { font-size: 0.6875rem; } }

/* 想定されるご相談：区分ごとの小見出し → ケースカード */
.cases__group + .cases__group { margin-top: clamp(48px, 5vw, 80px); }
.cases__head { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.125rem, 1.4vw, 1.375rem); font-weight: 500; line-height: 1.5; letter-spacing: 0.08em; }
.cases__no { font-family: var(--font-display); font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1; color: var(--color-primary); }
.cases__list { margin-top: 20px; display: grid; gap: 16px; }
.case__no { display: block; font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 1rem; letter-spacing: 0.02em; line-height: 1; color: var(--color-text-muted); }
.case__title { margin-top: 12px; font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.08em; }
.case__rule { height: 1px; background: var(--color-divider); margin-block: 24px; }
.case__segs { margin: 0; display: grid; gap: 16px; }
.case__seg { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: start; }
.case__seg dt { padding-top: 2px; }
.case__seg dd { margin: 0; font-size: 1rem; line-height: 1.9; letter-spacing: 0.06em; color: var(--color-text-sub); }
.case__seg .chip { height: 28px; padding-inline: 14px; font-size: 0.8125rem; letter-spacing: 0.08em; white-space: nowrap; }

/* 対応可能な業務／対応範囲外の業務：簡潔な一覧（ケースカードと同じ見せ方にしない） */
.plain-list { border-top: 1px solid var(--color-divider); }
.plain-list__item { padding-block: clamp(20px, 2vw, 28px); border-bottom: 1px solid var(--color-divider); }
.plain-list__text { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 500; line-height: 1.7; letter-spacing: 0.06em; }
.plain-list__note { margin-top: 8px; font-size: 0.875rem; line-height: 1.6; letter-spacing: 0.04em; color: var(--color-text-muted); }
.plain-list__desc { margin-top: 10px; font-size: 1rem; line-height: 1.9; letter-spacing: 0.06em; color: var(--color-text-sub); }

.contact__text { margin-top: 24px; font-size: 1.125rem; line-height: 2; letter-spacing: 0.08em; color: var(--color-text-sub); }

@media (max-width: 1023px) {
  .page-lead { grid-template-columns: 1fr; }
  .page-lead__body { grid-column: 1; }
}
@media (max-width: 639px) {
  .page-head { padding-bottom: 72px; }
  .page-lead { margin-top: 40px; }
  .page-lead__catch { font-size: clamp(1.25rem, 5.6vw, 1.5rem); }
  .page-lead__text { font-size: 0.9375rem; line-height: 1.8; letter-spacing: 0.06em; }
  .svc + .svc, .page-body + .svc { margin-top: 88px; }
  .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .cat__num { font-size: 3rem; }
  .cat__title { font-size: 1.125rem; margin-top: 16px; }
  .cat__rule { margin-block: 20px; }
  .cat__body { font-size: 0.9375rem; line-height: 1.8; }
  .cat__out p { font-size: 0.9375rem; }
  .cases__list { gap: 12px; }
  .case__title { font-size: 1.125rem; }
  .case__rule { margin-block: 20px; }
  .case__seg { grid-template-columns: 1fr; gap: 8px; }
  .case__seg dd { font-size: 0.9375rem; line-height: 1.8; }
  .plain-list__item { padding-block: 20px; }
  .plain-list__text { font-size: 1rem; }
  .plain-list__note { font-size: 0.75rem; }
  .plain-list__desc { font-size: 0.9375rem; line-height: 1.8; }
  .contact__text { font-size: 0.9375rem; line-height: 1.8; }
}
@media print {
  .fig1d { -webkit-print-color-adjust: exact; print-color-adjust: exact; break-inside: avoid; }
  .side__title { position: static; }
}

/* ---------- 2026-10 修正：見出しの階層・ページヘッダーの背景・図1の幅・ケースカードのスティッキー ---------- */
/* ページタイトルを大きく、セクション見出しはそれより小さく */
.page-head .sec-head__title { font-size: clamp(4.5rem, 9vw, 10rem); }
.page-head .sec-head__sub { font-size: clamp(1.25rem, 1.8vw, 1.75rem); margin-top: 12px; }
.svc .sec-head__title { font-size: clamp(2.75rem, 4.2vw, 4.75rem); }

/* ページヘッダーの背景：ライトの帯セクションと同じ斜めの帯。下のパネルを少し重ね、角丸の外に帯の面を見せる */
.page-head { position: relative; overflow: hidden; isolation: isolate; background: var(--color-bg); padding-bottom: calc(clamp(80px, 9vw, 140px) + 48px); }
.page-head .band--1 { top: -10%; }
.page-head .band--2 { top: 48%; }
.page-head .band--3 { top: 20%; }
.page-head + .panel { margin-top: -48px; z-index: 1; }

/* 左の見出し列を縮めて、右の本文を広く */
.svc.side, .page-lead { grid-template-columns: minmax(240px, 28%) 1fr; }

/* 図1：見出し列・成果物列を縮め、最初の工程（設計条件の設定）を広く取って1行に収める */
.fig1d { padding-inline: clamp(20px, 2.2vw, 32px); }
.fig1d__grid { grid-template-columns: 7.5rem minmax(0, 1.45fr) repeat(4, minmax(0, 1fr)) 10.5rem; }
.fig1d__pin--a { left: 35%; }
.fig1d__pin--c { left: 91%; }
@media (max-width: 639px), (min-width: 1024px) and (max-width: 1279px) {
  .fig1d__grid { grid-template-columns: minmax(0, 1.45fr) repeat(4, minmax(0, 1fr)); }
}

/* ケースカード：スクロールで上に積み重なるスティッキーカード。下のカードが上のカードの上に重なるので面は不透明にする */
.cases__list { gap: 24px; }
.case { position: sticky; top: 160px; background: var(--color-card-bg), var(--color-surface); }
.case:nth-child(2) { top: 180px; }
.case:nth-child(3) { top: 200px; }
.case:nth-child(4) { top: 220px; }
@media (max-width: 1023px) {
  .svc.side, .page-lead { grid-template-columns: 1fr; }
  .case { top: 88px; }
  .case:nth-child(2) { top: 100px; }
  .case:nth-child(3) { top: 112px; }
  .case:nth-child(4) { top: 124px; }
}
@media (max-width: 639px) {
  .page-head { padding-bottom: calc(72px + 32px); }
  .page-head + .panel { margin-top: -32px; }
  .page-head .sec-head__title { font-size: clamp(3.75rem, 19vw, 5rem); }
  .page-head .sec-head__sub { font-size: 1.125rem; }
  .svc .sec-head__title { font-size: clamp(2.5rem, 11vw, 3rem); }
  .cases__list { gap: 16px; }
}
@media print {
  .page-head { background: #FFFFFF; }
  .case { position: static; }
}

/* =========================================================
   その他の下層ページ（/profile/ /flow/ /faq/ /contact/ /contact/thanks/ /privacy/ 404）
   ========================================================= */
/* 英字が長い見出し（Qualifications / Confidentiality）は左列に収まる大きさに */
.svc .sec-head__title--long { font-size: clamp(2rem, 2.6vw, 3.25rem); overflow-wrap: anywhere; }
/* 英字の無いページ（送信完了・プライバシーポリシー）：日本語をタイトルの大きさで */
.page-head__ja { margin-top: 20px; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; }
.page-head--min { min-height: 88vh; }
/* 本文だけのページ：サイドタイトル型と同じ右列に置く */
.page-body { display: grid; grid-template-columns: minmax(240px, 28%) 1fr; gap: clamp(32px, 6vw, 120px); }
.page-body > * { grid-column: 2; min-width: 0; }
.page-actions { margin-top: clamp(40px, 4vw, 64px); display: flex; flex-wrap: wrap; gap: 16px; }
.contact__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }

/* 定義リスト（/profile/ 事業概要・経歴、/contact/ 01） */
.dlist { margin: 0; border-bottom: 1px solid var(--color-divider); }
.dlist__row { display: grid; grid-template-columns: 26% 1fr; gap: 24px; padding-block: 24px; border-top: 1px solid var(--color-divider); }
.dlist dt { font-size: 1rem; font-weight: 500; line-height: 1.8; letter-spacing: 0.06em; color: var(--color-text-sub); }
.dlist dd { margin: 0; font-size: 1.0625rem; line-height: 1.8; letter-spacing: 0.06em; }
.dlist dd p + p { margin-top: 4px; }
.dlist--wide .dlist__row { grid-template-columns: 44% 1fr; }

/* 経歴 */
.career__lead { font-size: clamp(1.375rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.career__lead span { display: block; }
.career__text { font-size: 1.125rem; line-height: 2; letter-spacing: 0.08em; color: var(--color-text-sub); }
.career__block { margin-top: clamp(48px, 5vw, 72px); }
.career__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 20px; font-size: clamp(1.125rem, 1.4vw, 1.375rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.08em; }
.career__period { font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; color: var(--color-text-sub); }

/* 資格の注記 */
.quals__no { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 400; color: var(--color-text-sub); letter-spacing: 0.04em; }
.quals__note { margin-top: 24px; font-size: 1rem; line-height: 1.9; letter-spacing: 0.06em; color: var(--color-text-sub); }
.quals__note span { display: block; }

/* 番号付きカード（業務方針）／契約形態のカード */
.ncards { display: grid; gap: 16px; }
.ncard__no { display: block; font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: clamp(2.25rem, 3vw, 3rem); line-height: 1; color: var(--color-primary); }
.ncard__title { margin-top: 16px; font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.08em; }
.ncard__rule { height: 1px; background: var(--color-divider); margin-block: 24px; }
.ncard__body { font-size: 1.0625rem; line-height: 1.9; letter-spacing: 0.06em; color: var(--color-text-sub); }

/* 業務の流れ：6ステップの行 */
.steps6 { border-bottom: 1px solid var(--color-divider); }
.steps6__item { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding-block: clamp(24px, 2.4vw, 32px); border-top: 1px solid var(--color-divider); }
.steps6__num { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: clamp(2rem, 2.6vw, 2.75rem); line-height: 1; color: var(--color-primary); }
.steps6__title { font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.08em; }
.steps6__text { margin-top: 8px; font-size: 1rem; line-height: 1.9; letter-spacing: 0.06em; color: var(--color-text-sub); }

/* 本文 */
.prose p { font-size: 1.125rem; line-height: 2; letter-spacing: 0.08em; }
.prose p + p { margin-top: 1.4em; }
.prose__strong { font-size: clamp(1.25rem, 1.8vw, 1.625rem) !important; font-weight: 700; line-height: 1.6 !important; }
.prose .btn { margin-top: clamp(32px, 3vw, 48px); }

/* 図2・図3 共通（図1 詳細版と同じ面・線） */
.figx { --fig-line: var(--color-primary-light); --fig-face: var(--color-primary-tint); margin: 0; padding: clamp(28px, 3vw, 44px) clamp(20px, 2.2vw, 32px); background: #FFFFFF; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.figx__cap { font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; color: var(--color-text-sub); }

/* 図2 秘密保持契約の位置 */
.fig2__grid { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 24px; row-gap: 16px; padding-bottom: 40px; }
.fig2__zone { grid-column: 3 / 7; grid-row: 1 / 3; margin: -16px -16px -16px -12px; background: var(--fig-face); border-left: 1px dashed var(--fig-line); border-radius: 0 12px 12px 0; }
.fig2__label { grid-column: 3 / 7; grid-row: 1; position: relative; font-size: 0.875rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.04em; color: var(--color-text); }
.fig2__steps { display: contents; }
.fig2__step { grid-row: 2; position: relative; min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 4px; background: #FFFFFF; border: 1px solid var(--fig-line); border-radius: 12px; text-align: center; }
.fig2__step:nth-child(1) { grid-column: 1; } .fig2__step:nth-child(2) { grid-column: 2; } .fig2__step:nth-child(3) { grid-column: 3; }
.fig2__step:nth-child(4) { grid-column: 4; } .fig2__step:nth-child(5) { grid-column: 5; } .fig2__step:nth-child(6) { grid-column: 6; }
.fig2__step--opt { border-style: dashed; }
.fig2__no { font-family: var(--font-display); font-size: 1rem; line-height: 1; color: var(--color-text-sub); }
.fig2__name { font-size: 0.875rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--color-text); white-space: nowrap; }
.fig2__note { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--color-text-sub); }
.fig2__step + .fig2__step::before { content: ""; position: absolute; right: calc(100% + 6px); top: 50%; width: 12px; height: 1px; background: var(--fig-line); }
.fig2__step + .fig2__step::after { content: ""; position: absolute; right: calc(100% + 2px); top: calc(50% - 4px); border-left: 6px solid var(--fig-line); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }

/* 図3 2つの契約形態 */
.fig3__grid { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 9.5rem 1fr; row-gap: 28px; }
.fig3__axis { grid-column: 2; position: relative; height: 1px; background: var(--fig-line); margin-right: 8px; }
.fig3__axis::after { content: ""; position: absolute; right: -8px; top: -4px; border-left: 8px solid var(--fig-line); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.fig3__label { grid-column: 1; align-self: center; padding-right: 16px; font-size: 0.9375rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.04em; color: var(--color-text); }
.fig3__track { grid-column: 2; position: relative; height: 48px; }
.fig3__track--sup { height: auto; padding-bottom: 52px; }
.fig3__case { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background: #FFFFFF; border: 1px solid var(--fig-line); border-radius: 12px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }
.fig3__case:nth-child(1) { left: 0; width: 22%; } .fig3__case:nth-child(2) { left: 34%; width: 14%; } .fig3__case:nth-child(3) { left: 58%; width: 30%; }
.fig3__band { height: 48px; display: flex; align-items: center; justify-content: center; background: var(--fig-face); border: 1px solid var(--fig-line); border-radius: 12px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.08em; }
.fig3__ticks { position: absolute; left: 0; right: 0; top: 48px; height: 16px; background-image: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), var(--fig-line) calc(12.5% - 1px) 12.5%); background-size: 100% 100%; clip-path: inset(0 12.5% 0 0); }
.fig3__tick-label { position: absolute; left: 0; top: 72px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; color: var(--color-text); }

/* FAQ（すべて展開）：質問行はリンク行と同じ形、回答はカード */
.faq { display: grid; gap: clamp(32px, 3vw, 48px); }
.faq__q { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 16px; padding: 18px 32px; background: var(--color-row-bg); border: 1px solid var(--color-border); border-radius: var(--radius-full); font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.faq__mark { font-family: var(--font-display); font-weight: 400; font-size: 1.25em; line-height: 1; color: var(--color-primary); }
.faq__a { margin-top: 8px; }
.faq__a p { font-size: 1.0625rem; line-height: 1.9; letter-spacing: 0.06em; color: var(--color-text-sub); }
.faq__a p + p { margin-top: 1em; }

/* フォーム */
.form { display: grid; gap: 28px; }
.form__field { display: grid; gap: 10px; }
.form__label { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; }
.form__req { display: inline-flex; align-items: center; height: 24px; padding-inline: 10px; border-radius: var(--radius-full); background: var(--color-primary); color: #FFFFFF; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1; }
.form__opt { display: inline-flex; align-items: center; height: 24px; padding-inline: 10px; border-radius: var(--radius-full); background: var(--color-chip-bg); color: var(--color-text-sub); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1; }
.form__input { width: 100%; height: 56px; padding-inline: 20px; background: var(--color-row-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); font: inherit; font-size: 1rem; color: var(--color-text); transition: border-color .3s var(--ease); }
.form__input--area { height: 240px; padding-block: 16px; resize: vertical; line-height: 1.8; }
.form__input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.form__agree { display: flex; align-items: center; gap: 12px; font-size: 1rem; letter-spacing: 0.04em; cursor: pointer; }
.form__agree input { width: 22px; height: 22px; margin: 0; accent-color: var(--color-primary); flex-shrink: 0; }
.form__agree a { text-decoration: underline; text-underline-offset: 3px; color: var(--color-primary); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.form__submit .btn { border: 0; font: inherit; cursor: pointer; }
.form__note { font-size: 0.9375rem; letter-spacing: 0.06em; color: var(--color-text-sub); }

/* プライバシーポリシーの条項 */
.policy { border-bottom: 1px solid var(--color-divider); }
.policy__item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-block: clamp(24px, 2.4vw, 32px); border-top: 1px solid var(--color-divider); }
.policy__no { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 1.375rem; line-height: 1.3; color: var(--color-primary); }
.policy__title { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 700; line-height: 1.6; letter-spacing: 0.08em; }
.policy__text { margin-top: 8px; font-size: 1rem; line-height: 1.9; letter-spacing: 0.06em; color: var(--color-text-sub); }
.policy__text span { display: block; }
.policy__text a { text-decoration: underline; text-underline-offset: 3px; color: var(--color-primary); }  /* 外部サービスの各社へのリンク（06・決定103）。フォームの同意のリンクと同じ見た目 */
.policy__date { margin-top: 32px; font-size: 0.9375rem; letter-spacing: 0.06em; color: var(--color-text-sub); }

/* 送信完了・404 */
.done__text { font-size: 1.125rem; line-height: 2; letter-spacing: 0.08em; }
.done__text span { display: block; }
.done__text + .done__text { margin-top: 1.4em; }
.done__tel { margin-top: 1.4em; font-size: 1.25rem; font-weight: 500; letter-spacing: 0.08em; }

@media (max-width: 1279px) {
  .fig2__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; column-gap: 0; row-gap: 20px; padding-bottom: 0; }
  .fig2__step:nth-child(n) { grid-column: 1; flex-direction: row; justify-content: flex-start; gap: 16px; min-height: 56px; padding: 12px 20px; }
  .fig2__step:nth-child(1) { grid-row: 1; } .fig2__step:nth-child(2) { grid-row: 2; }
  .fig2__label { grid-column: 1; grid-row: 3; padding-top: 8px; }
  .fig2__step:nth-child(3) { grid-row: 4; } .fig2__step:nth-child(4) { grid-row: 5; } .fig2__step:nth-child(5) { grid-row: 6; } .fig2__step:nth-child(6) { grid-row: 7; }
  .fig2__zone { grid-column: 1; grid-row: 3 / 8; margin: 0 -12px -12px; border-left: 0; border-top: 1px dashed var(--fig-line); border-radius: 0 0 12px 12px; }
  .fig2__label { padding-inline: 4px; }
  .fig2__note { position: static; transform: none; margin-left: auto; white-space: normal; text-align: right; }
  .fig2__step + .fig2__step::before { right: auto; left: 32px; top: auto; bottom: calc(100% + 6px); width: 1px; height: 8px; }
  .fig2__step + .fig2__step::after { right: auto; left: 28px; top: auto; bottom: calc(100% + 1px); border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--fig-line); border-bottom: 0; }
  .fig2__label + .fig2__steps .fig2__step:nth-child(3)::before { display: none; }
}
@media (max-width: 1279px) and (min-width: 640px) {
  .fig2__step:nth-child(3)::before, .fig2__step:nth-child(3)::after { display: none; }
}
@media (max-width: 1023px) {
  .page-body { grid-template-columns: 1fr; }
  .page-body > * { grid-column: 1; }
}
@media (max-width: 639px) {
  .svc .sec-head__title--long { font-size: clamp(1.875rem, 8.6vw, 2.5rem); }
  .page-head__ja { font-size: clamp(1.5rem, 7vw, 2rem); margin-top: 16px; }
  .page-head--min { min-height: 80vh; }
  .dlist__row, .dlist--wide .dlist__row { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
  .dlist dt { font-size: 0.875rem; }
  .dlist dd { font-size: 0.9375rem; }
  .career__lead { font-size: clamp(1.125rem, 5.2vw, 1.375rem); }
  .career__text, .prose p, .done__text { font-size: 0.9375rem; line-height: 1.8; letter-spacing: 0.06em; }
  .prose__strong { font-size: 1.125rem !important; }
  .career__head { font-size: 1.0625rem; }
  .career__period { font-size: 0.875rem; }
  .quals__no { font-size: 0.8125rem; }
  .quals__note { font-size: 0.875rem; line-height: 1.8; }
  .ncards { gap: 12px; }
  .ncard__no { font-size: 2rem; }
  .ncard__title { font-size: 1.125rem; margin-top: 12px; }
  .ncard__rule { margin-block: 20px; }
  .ncard__body { font-size: 0.9375rem; line-height: 1.8; }
  .steps6__item { grid-template-columns: 48px 1fr; gap: 16px; padding-block: 20px; }
  .steps6__num { font-size: 1.75rem; }
  .steps6__title { font-size: 1.0625rem; }
  .steps6__text { font-size: 0.9375rem; line-height: 1.8; }
  .figx { padding-inline: 16px; border-radius: 24px; }
  .fig2__step:nth-child(n) { padding: 12px 16px; gap: 12px; }
  .fig2__note { font-size: 0.75rem; }
  .fig2__label { font-size: 0.8125rem; }
  .fig3__grid { grid-template-columns: 1fr; row-gap: 0; }
  .fig3__axis { grid-column: 1; margin-bottom: 8px; }
  .fig3__label { grid-column: 1; padding-right: 0; margin: 20px 0 8px; font-size: 0.875rem; }
  .fig3__track { grid-column: 1; height: 44px; }
  .fig3__track--sup { height: auto; }
  .fig3__band { height: 44px; }
  .fig3__ticks { top: 44px; }
  .fig3__tick-label { top: 66px; font-size: 0.8125rem; }
  .fig3__case { font-size: 0.8125rem; letter-spacing: 0; }
  .faq__q { grid-template-columns: auto 1fr; gap: 12px; padding: 14px 20px; border-radius: 24px; font-size: 1rem; }
  .faq__a p { font-size: 0.9375rem; line-height: 1.8; }
  .form { gap: 24px; }
  .form__input { font-size: 1rem; }
  .form__input--area { height: 200px; }
  .form__submit .btn { width: 100%; justify-content: center; }
  .policy__item { grid-template-columns: 40px 1fr; gap: 12px; padding-block: 20px; }
  .policy__no { font-size: 1.125rem; }
  .policy__title { font-size: 1rem; }
  .policy__text { font-size: 0.9375rem; line-height: 1.8; }
  .done__tel { font-size: 1.0625rem; }
  .page-actions .btn, .contact__actions .btn { width: 100%; justify-content: center; }
}
@media print {
  .figx { -webkit-print-color-adjust: exact; print-color-adjust: exact; break-inside: avoid; }
  .page-head--min { min-height: 0; }
  .form__input { background: #FFFFFF; }
}

/* 長いボタン・長い子要素で右列が広がらないように */
.svc.side, .page-lead, .page-body { grid-template-columns: minmax(240px, 28%) minmax(0, 1fr); }
.svc__body { min-width: 0; }
@media (max-width: 1023px) {
  .svc.side, .page-lead, .page-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .prose .btn { width: 100%; height: auto; min-height: 60px; padding-block: 14px; white-space: normal; text-align: left; justify-content: space-between; line-height: 1.5; }
}

/* 図3 2つの契約形態（作り直し）：同じ時間軸の上で、契約の数と区切り方を比べる。
   業務契約＝案件ごとに1本ずつの契約（括弧が3つ）、技術サポート契約＝期間で1本の契約（括弧が1つ） */
.fig3b__axis-row { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 14rem minmax(0, 1fr); column-gap: 32px; }
.fig3b__axis { grid-column: 2; position: relative; height: 1px; margin-right: 8px; background: var(--fig-line); }
.fig3b__axis::after { content: ""; position: absolute; right: -8px; top: -4px; border-left: 8px solid var(--fig-line); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.fig3b__row { display: grid; grid-template-columns: 14rem minmax(0, 1fr); column-gap: 32px; align-items: start; padding-block: 28px; }
.fig3b__row + .fig3b__row { border-top: 1px solid var(--color-divider); }
.fig3b__name { font-size: 1.0625rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.06em; color: var(--color-text); }
.fig3b__desc { margin-top: 8px; font-size: 0.9375rem; line-height: 1.8; letter-spacing: 0.04em; color: var(--color-text-sub); }
.fig3b__vis { min-width: 0; }
.fig3b__lane, .fig3b__brk-lane { position: relative; }
.fig3b__lane { height: 48px; }
.fig3b__case, .fig3b__term { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--fig-line); border-radius: 12px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; white-space: nowrap; color: var(--color-text); }
.fig3b__case { background: #FFFFFF; }
.fig3b__term { left: 0; right: 0; background: var(--fig-face); }
.fig3b__case:nth-child(1), .fig3b__brk:nth-child(1) { left: 0; width: 26%; }
.fig3b__case:nth-child(2), .fig3b__brk:nth-child(2) { left: 34%; width: 16%; }
.fig3b__case:nth-child(3), .fig3b__brk:nth-child(3) { left: 58%; width: 38%; }
.fig3b__brk--full:nth-child(1) { left: 0; width: 100%; }
.fig3b__brk-lane { margin-top: 10px; height: 40px; }
.fig3b__brk { position: absolute; top: 0; display: flex; justify-content: center; padding-top: 18px; line-height: 1; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; color: var(--color-primary);
  background: linear-gradient(var(--color-primary), var(--color-primary)) left top / 1px 10px no-repeat, linear-gradient(var(--color-primary), var(--color-primary)) right top / 1px 10px no-repeat, linear-gradient(var(--color-primary), var(--color-primary)) left 9px / 100% 1px no-repeat; }
@media (max-width: 1279px) {
  .fig3b__axis-row { grid-template-columns: minmax(0, 1fr); }
  .fig3b__axis { grid-column: 1; }
  .fig3b__row { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
}
@media (max-width: 639px) {
  .fig3b__row { padding-block: 22px; }
  .fig3b__name { font-size: 1rem; }
  .fig3b__desc { font-size: 0.875rem; }
  .fig3b__lane { height: 44px; }
  .fig3b__case, .fig3b__term { font-size: 0.8125rem; letter-spacing: 0.02em; }
  .fig3b__brk { font-size: 0.75rem; }
}

/* 図1 詳細版：SPの組み直し（Ⅰ・Ⅱを区切り線で分け、成果物は縦に並べる） */
@media (max-width: 639px) {
  .fig1d { padding: 24px 14px 28px; }
  .fig1d__step { font-size: 0.6875rem; padding-bottom: 10px; }
  .fig1d__label { margin: 28px 0 10px; }
  .fig1d__label--2 { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--color-divider); }
  .fig1d__out { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 4px 12px; margin-top: 14px; }
  .fig1d__out--2 { margin-top: 56px; }
  .fig1d__out-label { grid-row: 1 / span 3; }
  .fig1d__out-item { grid-column: 2; white-space: normal; line-height: 1.6; }
  .fig1d__key { justify-content: flex-start; margin-top: 24px; }
}

/* 図1 詳細版：SP は縦型（工程を上から下へ。行ごとに罫線を通し、Ⅰ・Ⅱの帯を列で並べる） */
.fig1v { display: none; }
@media (max-width: 639px) {
  .fig1d:not(.fig1v) { display: none; }
  .fig1v { display: block; }
  .fig1v__grid { margin-top: 20px; display: grid; grid-template-columns: 5.25rem minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: auto repeat(5, minmax(52px, auto)); column-gap: 10px; }
  .fig1v__head { grid-row: 1; align-self: end; display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; font-size: 0.8125rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.02em; color: var(--fig-text); }
  .fig1v__head .fig1d__no { font-size: 1.125rem; }
  .fig1v__head--1 { grid-column: 2; }
  .fig1v__head--2 { grid-column: 3; }
  .fig1v__axis { display: contents; }
  .fig1v__step { grid-column: 1 / -1; display: flex; align-items: center; padding-right: calc(100% - 5.25rem); border-top: 1px solid var(--fig-line); font-size: 0.75rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.02em; color: var(--fig-text); word-break: keep-all; }
  .fig1v__step:last-child { border-bottom: 1px solid var(--fig-line); }
  .fig1v__step:nth-child(1) { grid-row: 2; } .fig1v__step:nth-child(2) { grid-row: 3; } .fig1v__step:nth-child(3) { grid-row: 4; }
  .fig1v__step:nth-child(4) { grid-row: 5; } .fig1v__step:nth-child(5) { grid-row: 6; }
  .fig1v__band { border: 1px solid var(--fig-line); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; }
  .fig1v__band--sw { grid-column: 2; grid-row: 2 / 7; margin-block: 8px; position: relative; z-index: 1; background: var(--fig-sw); border-color: var(--fig-sw); color: #FFFFFF; }
  .fig1v__lane { grid-column: 3; grid-row: 2 / 7; position: relative; z-index: 1; margin-block: 8px; }
  .fig1v__band--client { position: absolute; left: 0; top: 0; bottom: 0; width: 34px; background: var(--fig-face); color: var(--fig-text); }
  .fig1v__band--client span { writing-mode: vertical-rl; letter-spacing: 0.2em; }
  .fig1v__pin { position: absolute; left: 34px; width: 14px; height: 1px; background: var(--fig-line); }
  .fig1v__pin::before { content: ""; position: absolute; left: -7px; top: -6px; width: 12px; height: 12px; background: var(--fig-sw); border: 1.5px solid #FFFFFF; border-radius: 3px; }
  .fig1v__pin-label { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; color: var(--fig-text); }
  .fig1v__pin--a { top: 30%; }
  .fig1v__pin--b { top: 60%; }
  .fig1v__pin--c { top: 90%; }
  .fig1v__outs { margin-top: 24px; display: grid; gap: 16px; }
  .fig1v__out { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
  .fig1v__out-head { display: flex; align-items: center; gap: 8px; }
  .fig1v__out-head .fig1d__no { font-size: 1.125rem; }
  .fig1v__out-list { display: grid; gap: 2px; font-size: 0.8125rem; font-weight: 500; line-height: 1.6; letter-spacing: 0.02em; color: var(--fig-text); padding-top: 1px; }
}

/* 図3：期間帯の中に説明文を記載（目盛りは廃止） */
.fig3b__term { flex-wrap: wrap; padding: 0 12px; text-align: center; line-height: 1.4; }
.fig3b__lane + .fig3b__brk-lane { margin-top: 10px; }

