/* =========================================================
   AXDC LP
   デスクトップはデザイン（幅1420）の座標をそのまま使い、
   1px = var(--u) で画面幅に合わせて拡縮する。
   ========================================================= */
:root {
  --u: calc(min(100vw, 1420px) / 1420);
  --blue: #015BB4;
  --blue-2: #0057AD;
  --navy: #004B9B;
  --navy-2: #003C7B;
  --ink: #202945;
  --mist: #EBF1F8;
  --font: "Figtree", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  /* 和文の見出し用：「AI」「GPU」などの欧文も和文フォントで組む（欧文だけ Figtree になると違和感があるため） */
  --font-ja: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: #fff;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 0;
  line-break: strict;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; font-weight: 400; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
strong { font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- セクションと配置の基本 ---------- */
.sec { position: relative; height: calc(var(--sh) * var(--u)); }

/* .b：デザイン上の x と「1行目のベースライン」で置く */
.b {
  position: absolute;
  left: calc(50% + (var(--x) - 710) * var(--u));
  top: calc((var(--by) - var(--st) - var(--lh) / 2 - 0.36 * var(--fs)) * var(--u));
  font-size: calc(var(--fs) * var(--u));
  line-height: calc(var(--lh) * var(--u));
  width: max-content;
  max-width: calc(var(--w, 1000) * var(--u));
}
.mt { margin-top: calc(var(--m) * var(--u)); }
/* 見出し直下のリード文は太字 */
.lead { font-weight: 700; }
/* 日本語の見出しは基本 Bold：英字見出しの上の小見出し、h3、カードや項目の見出し。本文（p）は通常の太さに戻す */
.eyebrow, h3, .layer strong, .drivers strong, .roles strong, .inquiries strong, .steps > li, .specs > li { font-weight: 700; }
.steps > li p, .specs > li p { font-weight: 400; }

.eyebrow { letter-spacing: 0; }
/* 和文の見出し・小見出し・カードの見出しは、中の欧文も和文フォントにする（英字の大見出し .title は Figtree のまま） */
.fv-copy, .lead, .eyebrow, h3, .svc-sub, .steps strong, .spec-cols strong, .roles strong, .layer strong, .drivers strong, .inquiries strong,
.policy h2, .done h2, .page-eyebrow { font-family: var(--font-ja); }
.title { letter-spacing: 0; white-space: nowrap; }
.title.tight { letter-spacing: calc(-8.88 * var(--u)); }
.title .indent { padding-left: calc(272.9 * var(--u)); }
.title .indent-m { padding-left: calc(72 * var(--u)); }

/* ---------- FV ---------- */
.fv { z-index: 3; background: #050d18; color: #fff; }
.fv-video, .fv-shade {
  position: absolute; left: 0; top: 0;
  width: 100%; height: calc(1097 * var(--u));
}
.fv-video { object-fit: cover; pointer-events: none; }
/* 文字を読みやすくするための影と、下端のピクセル帯（About の青）へのつなぎ */
.fv-shade {
  background:
    linear-gradient(90deg, rgba(3, 10, 22, .72) 0%, rgba(3, 10, 22, .35) 45%, rgba(3, 10, 22, .05) 75%),
    linear-gradient(180deg, rgba(3, 10, 22, .25) 0%, rgba(3, 10, 22, 0) 30%, rgba(3, 12, 28, .35) 80%, rgba(3, 14, 32, .55) 100%);
}
.fv-dots {
  position: absolute; inset: 0 0 auto 0;
  width: 100%; height: calc(880 * var(--u));
  pointer-events: none;
  mix-blend-mode: screen;
}
.fv-glow {
  position: absolute; left: 50%; top: 0;
  width: calc(1420 * var(--u)); height: calc(1097 * var(--u));
  translate: -50% 0;
  overflow: visible; pointer-events: none;
  mix-blend-mode: multiply;
}
.fv h1, .fv p { z-index: 1; text-shadow: 0 2px 24px rgba(0, 10, 30, .35); }
.fv h1 { font-weight: 700; }
/* FV の高さは常に画面いっぱい（100vh）。文字・ピクセル帯・暗いぼかしは下端からの距離をデザインどおりに保つ
   （画面がとても低いときだけ、見出しが上で切れないよう文字の位置の計算に最低 640 デザインpx を使う） */
.fv { height: 100vh; height: 100svh; }
.fv-video, .fv-shade { height: 100%; }
.fv-dots { height: 100%; }
@media (min-width: 761px) {
  /* 文字は左下：画面の下端をデザインのピクセル帯の上端（829）とみなして置く */
  .fv .b { top: calc((var(--by) - var(--st) - var(--lh) / 2 - 0.36 * var(--fs)) * var(--u) + max(100%, 640 * var(--u)) - 829 * var(--u)); }
}
/* ピクセル帯は文字にかからないよう、上端を FV の下端から 40 デザインpx 上に置き、残りは About の上端に重ねる */
.fv .pixels { top: auto; bottom: calc(-228.45 * var(--u)); }
.fv-glow { top: auto; bottom: 0; }
/* PC：FV の帯は最下段を描かない（2段）ので、下の段の下側も About の色へ溶かし、帯の下端で途切れて見えないようにする */
@media (min-width: 761px) {
  .fv .pixels {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 25%, #000 48%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.15) 70%, transparent 76%);
            mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 25%, #000 48%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.15) 70%, transparent 76%);
  }
}
/* FV に掛かるタイル（JS で描く）。FV の上端から、帯の2段目の上端まで */
.pixels-extra {
  position: absolute; left: 0; width: 100%;
  /* canvas は top/bottom だけだと元の画素数の高さになるので、高さを明示する */
  top: 0; height: calc(100% + 27.11 * var(--u));
  z-index: 2; pointer-events: none;
}
/* FV → About の境目：動画の下 260 から About 側 228.45（ピクセル帯の下端）まで、
   透明 → 動画の下の紺 → About の青 と変わるグラデーションで境目の線を消す */
.fv-blend {
  position: absolute; left: 0; right: 0;
  bottom: calc(-228.45 * var(--u)); height: calc(488.45 * var(--u));
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(3, 10, 22, 0) 0%,
    rgba(3, 10, 22, .45) 22%,
    rgba(4, 13, 30, .9) 42%,
    #040f26 53.2%,
    #040f26 100%);
}

/* ---------- ピクセル帯 ---------- */
.pixels {
  position: absolute; left: 0; right: 0;
  top: calc((var(--py) - var(--st)) * var(--u));
  height: calc(268.45 * var(--u));
  z-index: 2;
}
.pixels canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* ピクセル帯：上側を前のセクションにフェードさせる（下の段はそのまま次のセクションの色につながる） */
.pixels {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 25%, #000 62%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 25%, #000 62%);
}
/* サービス → 需要と市場の帯：上辺の崩しとフェードは JS でマスごとに付けるのでマスクは外す。
   キャンバスを1段ぶん（帯の 1/4）下に伸ばし、次のセクションに少しはみ出すマスを描く */
.pixels[data-band="2"] { -webkit-mask-image: none; mask-image: none; z-index: 3; }
.pixels[data-band="2"] canvas { bottom: auto; height: 125%; }

/* ---------- 青セクション ---------- */
.blue { background: var(--blue); }
.about { z-index: 2; }
/* 試作：About の背景を FV の動画下の紺（#040f26）から About の青へ、セクションの中でゆっくり変える */
.about {
  background: linear-gradient(180deg,
    #040f26 0,
    #040f26 calc(228.45 * var(--u)),
    #05173a calc(430 * var(--u)),
    #072b66 calc(720 * var(--u)),
    #04479a calc(1030 * var(--u)),
    #015BB4 calc(1300 * var(--u)));
}
/* 文節（<wbr> の位置）でだけ改行し、言葉の途中で折り返さない */
.phrase { word-break: keep-all; overflow-wrap: anywhere; }
.photo {
  position: absolute;
  left: calc(50% + (var(--x) - 710) * var(--u));
  top: calc((var(--y) - var(--st)) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
  overflow: hidden;
  border-radius: 5px; /* サービスのカードと同じ角丸 */
  clip-path: inset(0 0 0 0 round 5px);
  transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1);
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  scale: 1.16;
  will-change: transform;
  transition: scale 1.6s cubic-bezier(.2, .7, .2, 1);
}
/* 出現前：下から幕が上がるように見せる */
.reveal-photo:not(.is-in) { clip-path: inset(100% 0 0 0 round 5px); }
.reveal-photo:not(.is-in) img { scale: 1.32; }
.static .reveal-photo { clip-path: inset(0 round 5px); transition: none; }
.static .photo img { scale: 1; transform: none !important; transition: none; }

/* Our Approach の背面グリッド（About の下端から始まる） */
.grid-lines {
  /* 画面の幅いっぱいに引く。横線は SVG を横に伸ばし、縦線はデザインと同じ間隔（106.93）の
     繰り返し模様で、デザインの位置（左端から 75.93）にそろえたまま左右の端まで続ける */
  position: absolute; left: 0; top: calc((2341 - 2481) * var(--u));
  width: 100%; height: calc(2509.25 * var(--u)); /* 工程図と仕様パネルのぶん＋「相談する」を画面中央まで上げるために伸ばす下側 800 */
  z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(237, 239, 242, .2) 0 1px, transparent 1px) calc(50% - 580.605 * var(--u)) 0 / calc(106.93 * var(--u)) 100% repeat-x;
}
/* 罫線の出現：Our Approach に差し掛かると（.grid-on）、横線は上から順に左→右へ、
   縦線（JS で1本ずつ作る .grid-v）は左から順に上→下へ、さーっと引かれてマス目になる */
.grid-anim .grid-lines { background: none; }
.grid-v {
  position: absolute; left: 0; top: calc((2341 - 2481) * var(--u));
  width: 100%; height: calc(2509.25 * var(--u)); /* 工程図と仕様パネルのぶん＋「相談する」を画面中央まで上げるために伸ばす下側 800 */
  z-index: 3; pointer-events: none; overflow: hidden;
}
.grid-v i {
  position: absolute; top: 0; width: 1px; height: 100%;
  left: calc(50% + (75.93 - 710 + var(--k) * 106.93) * var(--u));
  background: rgba(237, 239, 242, .2);
  transform: scaleY(0); transform-origin: 50% 0;
  transition: transform 1.4s cubic-bezier(.65, 0, .25, 1) calc(max(var(--k), 0) * .07s);
}
.grid-lines path { transform-box: fill-box; transform-origin: 0 50%; }
.grid-anim .grid-lines path { transform: scaleX(0); transition: transform 1.3s cubic-bezier(.65, 0, .25, 1) calc(.1s + var(--i) * .06s); }
.grid-anim .grid-head { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.65, 0, .25, 1); }
.grid-on .grid-v i { transform: none; }
.grid-anim.grid-on .grid-lines path { transform: none; }
.grid-anim.grid-on .grid-head { clip-path: inset(0); }
.static .grid-v i, .static .grid-lines path { transform: none; transition: none; }
.static .grid-head { clip-path: none; transition: none; }

/* About 側に出す罫線の始まり（最後の写真の下端は About の下端から 77 上。その写真の下 1/4＝80 を足して 157）。
   横線は Our Approach 側と同じ位置（About の下端から 40・140 上）に引く */
.grid-head {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: calc(157 * var(--u));
  pointer-events: none;
  background:
    linear-gradient(rgba(237, 239, 242, .2), rgba(237, 239, 242, .2)) 0 calc(17 * var(--u)) / 100% 1px no-repeat,
    linear-gradient(rgba(237, 239, 242, .2), rgba(237, 239, 242, .2)) 0 calc(117 * var(--u)) / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(237, 239, 242, .2) 0 1px, transparent 1px) calc(50% - 580.605 * var(--u)) 0 / calc(106.93 * var(--u)) 100% repeat-x;
}
.steps .num, .specs .num { margin-right: calc(10 * var(--u)); }
.step-body, .spec-body {
  margin-top: calc(11.3 * var(--u));
  font-size: calc(13.1 * var(--u));
  line-height: calc(23 * var(--u));
}
.steps .b { max-width: calc(var(--w) * var(--u)); }
.step-body { max-width: calc(200 * var(--u)); }
/* 工程図（Figma「Frame 175」1182×521）：見出しの 34 下から。ひし形の上面に番号と工程名、下の面に説明 */
.process {
  position: absolute;
  left: calc(50% + (119 - 710) * var(--u)); /* セクションの中で左右中央に来るよう 179 → 119 */
  top: calc((2960.4 - 2481) * var(--u));
  width: calc(1182 * var(--u)); height: calc(521 * var(--u));
}
.process-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.process-steps { list-style: none; margin: 0; padding: 0; }
.process-steps > li {
  position: absolute;
  left: calc(var(--px) * var(--u)); top: calc(var(--py) * var(--u));
  width: calc(197 * var(--u)); text-align: center; color: #fff;
}
.process-steps .num { display: block; margin: 0; font-family: "Figtree", sans-serif; font-weight: 500; font-size: calc(19.7 * var(--u)); line-height: calc(24 * var(--u)); }
.process-steps strong { display: block; font-weight: 700; margin-top: calc(10 * var(--u)); font-size: calc(19.7 * var(--u)); line-height: calc(30 * var(--u)); white-space: nowrap; }
.process-steps .step-body { position: absolute; left: 0; top: calc(180 * var(--u)); width: 100%; max-width: none; margin: 0; text-align: left; }
/* 表示：左の工程から 0.22 秒ずつ遅らせて、ひし形が下から少し弾むように「ぽん」と出る。文字は面のあとに続く */
.process .pf-tile, .process-steps > li { --pd: calc(.15s + var(--n) * .22s); }
.process .pf-tile {
  opacity: 0; transform: translateY(28px) scale(.94);
  transform-box: fill-box; transform-origin: 50% 50%;
  transition: opacity .5s ease var(--pd), transform .75s cubic-bezier(.34, 1.56, .64, 1) var(--pd);
}
.process-steps > li { opacity: 0; translate: 0 calc(14 * var(--u)); transition: opacity .6s ease calc(var(--pd) + .12s), translate .7s cubic-bezier(.2, .7, .2, 1) calc(var(--pd) + .12s); }
.process.is-in .pf-tile { opacity: 1; transform: none; }
.process.is-in .process-steps > li { opacity: 1; translate: 0 0; }
.static .process .pf-tile, .static .process-steps > li { opacity: 1; transform: none; translate: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .process .pf-tile, .process-steps > li { opacity: 1; transform: none; translate: none; transition: none; }
}
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .35em; transition: text-decoration-color .3s; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- 境目の溶け込み（PC・スマホ共通。JS の 4. を参照） ----------
   前のセクションの下端が画面下に着いたら画面を固定し、全面に重ねた WebGL で
   次のセクションの色を下から湧き上がらせる。次のセクションは 1 画面ぶん重ねて置き、
   色が覆い切る直前に文字をフェードインさせる。固定の長さ・位置は JS が px で入れる */
.melt.is-on > .sec { position: sticky; z-index: 1; }
.melt.is-on + .sec { z-index: 2; }
.melt.is-on + .sec .blur-edge, .melt.is-on .blur-edge { display: none; }
.melt.is-on + .role { background: linear-gradient(var(--mist), var(--mist)) 0 var(--vh) / 100% 100% no-repeat; }
.melt-canvas { display: none; position: absolute; left: 0; bottom: 0; width: 100%; z-index: 6; pointer-events: none; }
.melt.is-on .melt-canvas { display: block; }

/* ---------- Our Role & Strengths ---------- */
.role { background: var(--mist); color: var(--blue); z-index: 1; }
.blur-edge {
  position: absolute; left: 0; right: 0;
  top: calc((var(--ey) - var(--st)) * var(--u));
  height: calc(var(--eh) * var(--u));
  pointer-events: none;
}
.blur-edge svg { width: 100%; height: 100%; overflow: hidden; }
/* 箱の下端で色の段差が出ないよう、下側は透明に溶かす */
.blur-edge { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.blur-edge path { transform-box: view-box; }
.blur-in { position: absolute; inset: 0; will-change: filter, opacity; }

/* 概念図：リード文と3枚のカードのあいだ（x 200〜1210、y 4080〜）に置く */
/* 図は少し大きく：幅 1010 → 1100（x 155〜1255、中心は以前と同じ）。高さが約 31 増えるので、
   下のカード・注釈・セクションの高さを 31 ずつ下げている */
.diagram {
  position: absolute;
  left: calc(50% + (155 - 710) * var(--u));
  top: calc((4041.2 - var(--st)) * var(--u)); /* 図の画像が縦に長くなったので 30 上げ、下の3列との間はこれまでと同じ */
  width: calc(1100 * var(--u));
}
.role-diagram { display: block; width: 100%; height: auto; overflow: visible; }
.role-diagram text { font-family: inherit; }
.rd-t { fill: #fff; font-size: 24px; font-weight: 500; }
.rd-strong { font-weight: 700; }
.rd-line { fill: none; stroke: #b9dcff; stroke-width: 3; stroke-opacity: .8; }
/* 線の上を走る光（pathLength=1000 にそろえ、短い光の粒を流し続ける） */
.rd-flow { fill: none; stroke: #f2fbff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 70 930; animation: rd-flow var(--t, 3s) linear var(--o, 0s) infinite; }
.rd-flow-s { stroke-dasharray: 180 820; }
@keyframes rd-flow { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.rd-nodes circle { fill: #fff; transform-box: fill-box; transform-origin: center; animation: rd-node 2.4s ease-in-out calc(var(--k, 0) * .45s) infinite; filter: drop-shadow(0 0 6px #bfe6ff); }
@keyframes rd-node { 0%, 100% { opacity: .55; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
.rd-led { fill: #2f83e0; animation: rd-led 1.8s steps(1) calc(var(--k, 0) * .4s) infinite; }
@keyframes rd-led { 0%, 60% { fill: #2f83e0; } 61%, 100% { fill: #fff; } }
.rd-bolt { animation: rd-bolt 3s ease-in-out infinite; }
@keyframes rd-bolt { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 50% { opacity: .35; } 54% { opacity: 1; } 58% { opacity: .5; } 62% { opacity: 1; } }
.rd-arrow { transform-box: fill-box; animation: rd-arrow 2.2s ease-in-out infinite; }
@keyframes rd-arrow { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(-8px); } }
.rd-meridian { transform-box: fill-box; transform-origin: center; animation: rd-spin 3.2s ease-in-out infinite; }
@keyframes rd-spin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
.rd-pill { animation: rd-pill 2.6s ease-in-out infinite; }
@keyframes rd-pill { 0%, 100% { fill-opacity: .75; } 50% { fill-opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .rd-flow { display: none; }
  .rd-nodes circle, .rd-led, .rd-bolt, .rd-arrow, .rd-meridian, .rd-pill { animation: none; }
}
.roles .b strong { display: block; margin-top: calc(7.9 * var(--u)); font-size: calc(13.5 * var(--u)); line-height: calc(20 * var(--u)); }
.roles .b p { margin-top: calc(3.7 * var(--u)); font-size: calc(11.1 * var(--u)); line-height: calc(19.5 * var(--u)); max-width: calc(250 * var(--u)); }
.cap { display: block; letter-spacing: .16em; }
.roles .cap { font-size: calc(9 * var(--u)); letter-spacing: calc(1.4432 * var(--u)); }

/* ---------- Service ---------- */
.service { background: #fff; color: var(--blue-2); }
/* サービス一覧（参考：カードを左右 30 の余白でほぼ画面幅いっぱいに並べ、角丸 5px。
   1・2段目は画面の中ほどで止まり、次の段が下から重なってくると奥へ縮み・暗く・薄くなる） */
.svc-stack {
  --row-h: calc(480 * var(--u));
  position: absolute; left: 0; right: 0;
  top: calc((5187.78 - 4817) * var(--u)); /* 見出しを中央に積み、リード文を下に置いたぶん下げた（リード文の下〜カードは 48） */
  width: calc(100% - 60 * var(--u)); max-width: 1760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: calc(20 * var(--u));
}
/* 段ごとに止まる位置を --peek ずつ下げ、奥の段の上端が帯状に残るようにする。
   下の余白（margin-bottom）を次の段の負の margin-top で打ち消し、見た目の間隔は変えずに
   「全段がそろった瞬間に、まとめて画面外へ流れる」ようにしている */
.svc-stack { --peek: calc(36 * var(--u)); }
.svc-row { --i: 0; position: sticky; top: calc(max(24px, calc(50vh - (var(--row-h) + 2 * var(--peek)) / 2)) + var(--i) * var(--peek)); }
.svc-row:nth-child(1) { margin-bottom: calc(2 * var(--peek)); }
.svc-row:nth-child(2) { --i: 1; margin-top: calc(-2 * var(--peek)); margin-bottom: var(--peek); }
.svc-row:nth-child(3) { --i: 2; margin-top: calc(-1 * var(--peek)); }
.svc-row:last-child { position: relative; top: auto; }
/* 奥へ下がった段は白を重ねて淡い青グレーにする（不透明なので、さらに奥の段は透けない） */
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #fff; opacity: var(--fade, 0); pointer-events: none; border-radius: inherit; }
.svc-row-in { display: grid; gap: calc(20 * var(--u)); height: var(--row-h); transform-origin: 50% 0; }
.svc-row--2 .svc-row-in { grid-template-columns: 1fr 1fr; }
.svc-row--3 .svc-row-in { grid-template-columns: repeat(3, 1fr); gap: calc(10 * var(--u)); height: calc(540 * var(--u)); } /* 04・05 は文章が多いので、この段だけ少し高く */
.svc-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: calc(40 * var(--u)) calc(36 * var(--u)) calc(34 * var(--u));
  border-radius: 5px;
  background:
    radial-gradient(120% 90% at 80% 100%, rgba(80, 150, 235, .28), transparent 60%),
    linear-gradient(160deg, #0a55a8 0%, #004B9B 45%, #003f86 100%);
  color: #fff;
}
.svc-head, .svc-points { position: relative; z-index: 1; }
.svc-num { display: block; font-family: "Figtree", sans-serif; font-weight: 500; font-size: calc(12 * var(--u)); letter-spacing: .12em; opacity: .6; margin-bottom: calc(10 * var(--u)); }
.svc-card h3 { font-size: calc(24 * var(--u)); line-height: 1.4; font-weight: 700; margin: 0; }
/* 04 の見出しはカードの幅をわずかに超えて2行になるので、字間を少し詰めて1行に収める */
.svc-card h3.h3-tight { letter-spacing: -0.03em; }
@media (min-width: 761px) { .svc-card h3.h3-tight { white-space: nowrap; } }
.svc-sub { font-size: calc(13 * var(--u)); font-weight: 700; margin-left: 1.2em; opacity: .9; }
.svc-desc { margin-top: calc(14 * var(--u)); font-size: calc(13 * var(--u)); line-height: 1.8; font-weight: 700; max-width: calc(560 * var(--u)); }
.svc-points { list-style: none; margin: auto 0 0; padding: 0; font-size: calc(12 * var(--u)); line-height: 1.75; max-width: calc(520 * var(--u)); text-shadow: 0 1px 12px rgba(0, 40, 100, .6); }
.svc-points li { padding-left: 1em; text-indent: -1em; opacity: .88; }
.svc-points li::before { content: "・"; }
/* 上段（01・02）は文字の幅を広げる。02 はカード幅の約7割まで（狭い画面では元の 560 を下限に）、
   01 の説明文は幅の制限をなくし、カードが十分広い画面では1行に収まる */
.svc-row--2 .svc-desc, .svc-row--2 .svc-points { max-width: max(calc(560 * var(--u)), 70%); }
.svc-dev .svc-desc { max-width: none; }
/* 06 は説明文を2行に（1行目は「受託します。」まで） */
.svc-power .svc-desc { max-width: calc(840 * var(--u)); }
.svc-note { position: relative; z-index: 1; margin-top: calc(10 * var(--u)); font-size: calc(10.5 * var(--u)); line-height: 1.6; opacity: .7; }
/* 図：カードの右下に大きく。文字の後ろに回す */
.svc-art { position: absolute; z-index: 0; right: calc(28 * var(--u)); bottom: calc(14 * var(--u)); width: 46%; height: 72%; pointer-events: none; }
.svc-row--3 .svc-art { right: 0; left: 0; margin: 0 auto; width: 70%; height: 36%; bottom: calc(92 * var(--u)); opacity: .85; }
/* 説明文の長いカードは図をさらに下げ、文字にかからないようにする */
/* 04・05 は箇条書きが5つあるので、イラストは説明文と箇条書きの間に小さく置く */
.svc-net .svc-art, .svc-asset .svc-art { height: 15%; bottom: calc(196 * var(--u)); opacity: .8; }
.svc-row--1 .svc-art { width: 34%; height: 82%; right: calc(90 * var(--u)); }
.svc-art .iso { width: 100%; height: 100%; overflow: visible; }
/* 図のアニメーション：カードが見えたら部品が下から順に組み上がり、その後はゆっくり動き続ける */
.svc-card .iso-piece { opacity: 0; translate: 0 26px; transition: opacity .8s cubic-bezier(.2, .7, .2, 1) calc(.25s + var(--i) * .09s), translate .9s cubic-bezier(.2, .7, .2, 1) calc(.25s + var(--i) * .09s); }
.svc-card.is-in .iso-piece { opacity: 1; translate: 0 0; }
.svc-card.is-in .iso-float { animation: svc-float 5s ease-in-out 1.4s infinite; }
.svc-card.is-in .iso-bolt { animation: svc-bolt 3.2s ease-in-out 1.4s infinite; }
.svc-card .iso-arc { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1) .9s; }
.svc-card.is-in .iso-arc { stroke-dashoffset: 0; }
@keyframes svc-float { 50% { transform: translateY(-8px); } }
@keyframes svc-bolt { 0%, 100% { opacity: 1; } 45% { opacity: .55; } 50% { opacity: 1; } 55% { opacity: .7; } }
.static .svc-card .iso-piece { opacity: 1; translate: none; transition: none; }
.static .svc-card .iso-arc { stroke-dashoffset: 0; transition: none; }

/* 写真版（.service.is-photo）：カード全面に写真を敷き、文字が読めるよう紺のグラデーションを重ねる。
   イラストは出さない。カードが見えたら写真がゆっくり 1.08 倍から等倍に戻る */
.is-photo .svc-card { background: #01306a; isolation: isolate; }
.is-photo .svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(1, 30, 74, .9) 0%, rgba(1, 36, 86, .72) 30%, rgba(1, 40, 94, .4) 50%, rgba(1, 32, 78, .78) 70%, rgba(1, 24, 60, .93) 100%),
    linear-gradient(rgba(1, 48, 110, .2), rgba(1, 48, 110, .2)),
    var(--photo) center / cover no-repeat;
  /* 写真ごとの色味・明るさの差をそろえる（彩度と明るさを一律に落として紺に寄せる） */
  filter: saturate(.66) brightness(.92);
  transform: scale(1.08); transition: transform 2.4s cubic-bezier(.2, .7, .2, 1);
}
.is-photo .svc-card.is-in::before { transform: scale(1); }
.is-photo .svc-card:hover::before { transform: scale(1.03); }
.is-photo .svc-art { display: none; }
.is-photo .svc-desc, .is-photo .svc-card h3 { text-shadow: 0 1px 2px rgba(0, 18, 50, .45), 0 1px 16px rgba(0, 20, 60, .7); }
.is-photo .svc-points { text-shadow: 0 1px 2px rgba(0, 18, 50, .45), 0 1px 14px rgba(0, 20, 60, .7); }
.is-photo .svc-points li { opacity: 1; }
.static .is-photo .svc-card::before { transform: none; transition: none; }

/* ---------- Needs & Markets ---------- */
.needs { background: var(--navy); }
/* 5つの層：井上株式会社サイトの「ソリューションパッケージ」と同じ見せ方。
   リストは英字見出しの中ほど（449）から画面の右端まで。行ごとの上罫線は画面の右端まで伸びる。
   ふだんは各行を 40% の濃さで、行の頭を 107 だけ右に下げて並べる。ホバーした行だけ
   ・濃さ 100%、行の頭が左へ 107 伸びる、高さ 200 → 336
   ・見出しが 0.68 倍 → 等倍、番号が少し上へ
   行が高くなったぶん（--grow）、セクションの高さと下の3つの要素を下げる */
.needs { height: calc(var(--sh) * var(--u) + var(--grow, 0px)); transition: height .7s cubic-bezier(.22, 1, .36, 1); }
.layers {
  position: absolute;
  left: calc(50% + (344 - 107 - 710) * var(--u)); right: 0; /* ふだんの行の頭は x 344 */
  top: calc(396 * var(--u)); /* 見出し直下の罫線から */
  color: #fff;
}
/* 見出しの直下の罫線：画面の端から端まで。1行目の上罫線を兼ねる */
.needs-rule { position: absolute; left: 0; right: 0; top: calc(396 * var(--u)); border-top: 1px solid rgba(255, 255, 255, .4); pointer-events: none; }
.layer:first-child .layer-row::before { display: none; }
.layers::after { content: ""; position: absolute; left: calc(107 * var(--u)); right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .4); }
.layers > .layer { height: calc(200 * var(--u)); transition: height .7s cubic-bezier(.22, 1, .36, 1), opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.layers > .layer.is-active { height: calc(336 * var(--u)); }
.layer-row {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  margin-left: auto; width: calc(100% - 107 * var(--u));
  padding: 0 calc(84 * var(--u)) 0 calc(40 * var(--u)); /* 文字の頭を罫線の頭から少し内側に入れる。説明文は x 946 から */
  opacity: .4;
  transition: width .7s cubic-bezier(.22, 1, .36, 1), opacity .5s;
}
.layer-row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid #fff; }
.layer.is-active .layer-row { width: 100%; opacity: 1; }
.layer-left { position: relative; z-index: 1; flex: 1; min-width: 0; } /* 見出しが長い行でも説明文の位置をそろえる */
.layer .cap { display: flex; align-items: baseline; gap: calc(14 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1; letter-spacing: .12em; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.layer .layer-num { font-weight: 500; font-size: calc(26 * var(--u)); letter-spacing: 0; }
.layer strong {
  display: block; margin-top: calc(10 * var(--u));
  font-size: calc(38 * var(--u)); line-height: 1.3; letter-spacing: .02em; white-space: nowrap;
  transform: scale(.684); transform-origin: left center;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}
.layer.is-active .cap { transform: translateY(calc(-10 * var(--u))); }
.layer.is-active strong { transform: none; }
.layer-right { width: calc(390 * var(--u)); flex: none; }
.layer p { font-size: calc(13.5 * var(--u)); line-height: calc(25 * var(--u)); text-align: justify; }
.needs .drivers > li { transform: translateY(var(--grow, 0px)); transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
/* リストが縦に伸びたぶん（5行×200 − 元の 206.95 ＝ 793.05）、下の3つの要素を下げる */
.needs .drivers { --st: 6047.4; } /* リストを 15 上げたぶん、下の3つも 15 上げる */
.drivers strong { display: block; }
.drivers p { margin-top: calc(7.7 * var(--u)); font-size: calc(11.9 * var(--u)); line-height: calc(21 * var(--u)); }

/* ---------- Company ---------- */
.company {
  background: linear-gradient(#004B9B, #013B7A) 0 calc(286 * var(--u)) / 100% calc(1396 * var(--u)) no-repeat, #004B9B; /* 中身を 50 下げたぶん、グラデーションの始まりも 50 下げる */
  overflow-x: clip;
}
/* Building the Foundation for AI：画面からはみ出す大きな英字。左へ流れ続けるループアニメーション
   （同じ文を4つ並べ、半分＝2つ分ずらしたところで最初に戻すので継ぎ目が出ない） */
.building {
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(196 * var(--u));
  overflow: hidden;
  pointer-events: none;
}
.building-track {
  position: absolute;
  left: calc(50% + (3.6 - 710) * var(--u));
  top: calc((7898.45 - 7752.45 - 0.93 * 139) * var(--u)); /* 文字の下のラインは 136 のときと同じ位置に保つ */
  display: flex;
  font-family: "Figtree", sans-serif; font-weight: 500;
  font-size: calc(139 * var(--u)); line-height: 1.15; /* 136 → 139 */
  letter-spacing: calc(2 * var(--u));
  white-space: nowrap;
  color: #fff; opacity: .24; /* .3 → .24 で少し薄く */
  animation: building-loop 53s linear infinite; /* 文が長くなったぶん（約1.3倍）時間ものばし、流れる速さは前と同じ */
  will-change: transform;
}
.building-track > span { padding-right: .45em; }
@keyframes building-loop { to { transform: translateX(-50%); } }
.static .building-track { animation: none; }
@media (prefers-reduced-motion: reduce) { .building-track { animation: none; } }
/* 会社概要：項目ごとに細い罫線で区切り、上下にゆとりを持たせる */
.profile > div {
  display: grid; grid-template-columns: calc(120 * var(--u)) 1fr; align-items: baseline;
  padding: calc(28 * var(--u)) 0 calc(29 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.profile > div:first-child { padding-top: 0; border-top: 0; }
/* 事業内容・事業の特徴の箇条書き：1項目1行で始め、折り返した行は「・」の後ろにそろえる */
.profile .dd-list > span { display: block; padding-left: 1em; text-indent: -1em; }
.profile > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.profile dt { font-size: calc(11.6 * var(--u)); letter-spacing: calc(0.582 * var(--u)); }
.company .blur-edge { z-index: 1; }

/* ---------- Contact ---------- */
/* Company の下からかぶさる面とお問い合わせの背景は #0C1D29（フッターと同じ色）。
   お問い合わせのカードは白で、文字は #0C1D29 */
.contact { background: transparent; z-index: 2; color: #0C1D29; }
.melt:not(.is-on) + .contact { background: #0C1D29; } /* 溶け込み演出が無いとき（スマホ・動きを減らす設定） */
/* Contact の紺の背景に流れるドット（JS で描く）。白いパネルと文字より下に敷く */
.contact-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contact .blur-in::before {
  content: "";
  position: absolute;
  left: calc(50% + (125 - 710) * var(--u));
  top: calc((9033 - 8981.45) * var(--u));
  width: calc(1170 * var(--u));
  height: calc(652 * var(--u)); /* カードを 63 高くしたぶん 589 → 652 */
  background: #fff;
  border-radius: calc(16 * var(--u));
}
.contact-arrow {
  display: block;
  position: absolute;
  left: calc(50% + (1060 - 710) * var(--u));
  top: calc((9172 - 8981.45) * var(--u));
  width: calc(132 * var(--u)); height: calc(28 * var(--u));
}
.contact-arrow path { stroke: #0C1D29; }
.contact-arrow svg { width: 100%; height: 100%; overflow: visible; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
/* 白いカード全体（.contact-card-link）をホバーしたら矢印を右へ動かす */
.contact-card-link {
  position: absolute; z-index: 2;
  left: calc(50% + (125 - 710) * var(--u));
  top: calc((9033 - 8981.45) * var(--u));
  width: calc(1170 * var(--u)); height: calc(652 * var(--u));
  border-radius: calc(16 * var(--u));
}
.contact-card-link:focus-visible { outline: 3px solid #89BDF2; outline-offset: 4px; }
.blur-in:has(.contact-card-link:hover) .contact-arrow svg,
.blur-in:has(.contact-card-link:focus-visible) .contact-arrow svg { transform: translateX(calc(18 * var(--u))); }
.inquiries li {
  position: absolute;
  left: calc(50% + (var(--x) - 710) * var(--u));
  top: calc((9324 - 8981.45) * var(--u));
  width: calc(336 * var(--u)); height: calc(227 * var(--u));
}
.inquiries .inq {
  display: block; height: 100%;
  padding: calc(28.15 * var(--u)) calc(24 * var(--u)) 0 calc(28 * var(--u));
  background: #004B9B; color: #fff; /* 白いカードの上の小カードは青地に白文字 */
  border-radius: calc(4 * var(--u));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
/* デザインでは2枚目だけ中身が約10px下がっている */
.inquiries li:nth-child(2) .inq { padding-top: calc(38.5 * var(--u)); }
.inquiries .cap { font-size: calc(10.7 * var(--u)); line-height: calc(16 * var(--u)); letter-spacing: 0; }
.inquiries strong { display: block; margin-top: calc(14.9 * var(--u)); font-size: calc(16.4 * var(--u)); line-height: calc(25.5 * var(--u)); white-space: nowrap; }
.inquiries p { margin-top: calc(13.6 * var(--u)); font-size: calc(10.7 * var(--u)); line-height: calc(18 * var(--u)); max-width: calc(282 * var(--u)); }

/* ---------- Footer ---------- */
.footer { background: #0C1D29; color: #fff; z-index: 3; } /* Contact が画面より低いとき、固定演出の白い層より手前に出す */
.footer-logo {
  position: absolute;
  left: calc(50% + (120 - 710) * var(--u)); top: calc(64 * var(--u));
  width: calc(302 * var(--u)); height: calc(121 * var(--u));
  background: var(--navy-2);
}
.footer-nav li {
  position: absolute;
  left: calc(50% + (var(--x) - 710) * var(--u));
  top: calc((var(--by) - 9686 - 10 - 5.3) * var(--u));
  font-size: calc(14.8 * var(--u)); line-height: calc(20 * var(--u));
  letter-spacing: calc(0.5248 * var(--u));
  white-space: nowrap;
}
.footer-nav span { display: block; font-size: calc(11.5 * var(--u)); line-height: calc(16.4 * var(--u)); }
.footer-nav a:hover, a.footer-copy:hover { opacity: .6; }
.footer-rule {
  position: absolute; margin: 0; border: 0;
  left: calc(50% + (120 - 710) * var(--u)); top: calc(300 * var(--u));
  width: calc(1180 * var(--u)); height: 1px; background: #fff;
}
.footer-copy { letter-spacing: calc(0.5248 * var(--u)); white-space: nowrap; }

/* ---------- 出現アニメーション ---------- */
.reveal { opacity: 0; translate: 0 calc(18 * var(--u)); transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.static .reveal { opacity: 1; translate: none; transition: none; }
/* 英字見出し：行ごとに下からせり上がる（参考：hkt.co.jp）。
   行の箱（.tl）で下側を隠し、中の文字を 100% 下から元の位置へ 1.5 秒で動かす。
   g・p・y などの下に出る部分が切れないよう、箱の上下に少し余白を足して同じだけ詰める */
.title.reveal { opacity: 1; translate: none; transition: none; }
.title .tl { display: block; overflow: hidden; padding: .1em 0 .2em; margin: -.1em 0 -.2em; }
.title .tl > span { display: block; transform: translateY(calc(100% + .35em)); transition: transform 1.5s cubic-bezier(.19, 1, .22, 1) var(--d, 0s); }
.title.is-in .tl > span { transform: none; }
.static .title .tl > span { transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .title .tl > span { transform: none; transition: none; }
}

/* =========================================================
   スマートフォン（760px以下）：座標配置をやめて縦積みにする
   ========================================================= */
@media (max-width: 760px) {
  .sec { height: auto; padding: 72px 20px; }
  .b, .layer, .inquiries li, .footer-nav li, .contact-arrow {
    position: relative; left: auto; top: auto; max-width: none; width: auto;
  }
  .b {
    font-size: calc(max(11, 12 + (var(--fs) - 12) * 0.45) * 1px);
    line-height: calc(var(--lh) / var(--fs));
    margin-bottom: 16px;
  }
  .title { margin: 4px 0 24px; }
  .b.title { font-size: 40px; line-height: 1.1; }
  .title.tight { letter-spacing: -.06em; }
  .title .indent, .title .indent-m { padding-left: 1.1em; }
  br.pc { display: none; }

  .fv { height: auto; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: calc(67.11 * var(--u) + 32px); }
  .fv-dots, .fv-video, .fv-shade { height: 100%; }
  .pixels { top: auto; bottom: 0; }

  .about { padding-top: calc(64px + 228.45 * var(--u)); }
  .about { display: flex; flex-direction: column; }
  .photo { position: relative; left: auto; top: auto; width: calc(100% + 20px); height: auto; aspect-ratio: var(--w) / var(--h); margin: 8px 0 32px; }
  .photo:nth-of-type(1) { order: -1; margin: -64px -20px 40px auto; width: calc(100% + 20px); }
  .photo:nth-of-type(2) { order: 10; margin-left: -20px; }
  .photo:nth-of-type(3) { order: 11; margin: 0 0 0 auto; width: 86%; }
  .grid-lines, .grid-head, .grid-v { display: none; }
  .building { position: relative; height: auto; margin: -11px -20px 87px; padding: 20px 0; } /* 前後の余白を 1.4 倍に（上 153 → 214、下 77 → 108） */
  .building-track { position: relative; left: auto; top: auto; width: max-content; font-size: 65px; animation-duration: 24.5s; }
  .company { background: linear-gradient(#004B9B, #013B7A); }

  .steps, .specs, .roles, .drivers, .layers, .inquiries { display: grid; gap: 24px; margin: 8px 0 32px; }
  .steps .b, .specs .b, .roles .b, .drivers .b { font-size: 17px; line-height: 1.5; }
  .steps .b { max-width: none; } /* PC用の列幅指定（--w）がスマホで効いて1行が数文字になっていたのを解除 */
  .step-body, .spec-body, .roles .b p, .drivers p { font-size: 13px; line-height: 1.75; margin-top: 6px; max-width: none; }
  .roles .b strong { font-size: 15px; line-height: 1.5; margin-top: 6px; }
  .roles .cap { font-size: 10px; letter-spacing: .12em; }

  .blur-edge { top: -150px; height: 520px; }
  .role { padding-top: 120px; }
  .melt.is-on + .role { padding-top: 72px; }
  .blur-in { position: relative; inset: auto; }
  .diagram { position: relative; left: auto; top: auto; width: auto; margin: 8px -20px 28px; padding: 0 20px 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .role-diagram { width: 900px; max-width: none; } /* 図の文字がおよそ11pxになる幅。横にスクロールして見る */

  /* サービス一覧：縦に1列。重なる演出はなし */
  .svc-stack { position: relative; top: auto; width: auto; margin: 24px -8px 0; gap: 12px; --row-h: auto; }
  .svc-row, .svc-row:last-child { position: relative; top: auto; margin: 0 !important; }
  .svc-card::after { display: none; }
  .svc-row-in, .svc-row--2 .svc-row-in, .svc-row--3 .svc-row-in { grid-template-columns: 1fr; gap: 12px; height: auto; transform: none !important; filter: none !important; opacity: 1 !important; }
  .svc-card { padding: 28px 22px 24px; }
  .svc-num { font-size: 11px; margin-bottom: 8px; }
  .svc-card h3 { font-size: 19px; }
  .svc-sub { display: block; margin: 4px 0 0; font-size: 12px; }
  .svc-desc { font-size: 13px; line-height: 1.75; margin-top: 10px; max-width: none; }
  .br-pc { display: none; }
  .svc-power .svc-desc { max-width: none; }
  .svc-row--2 .svc-points { max-width: none; }
  .svc-art, .svc-row--3 .svc-art, .svc-row--1 .svc-art { position: relative; right: auto; left: auto; bottom: auto; width: 82%; height: 190px; margin: 14px auto 6px; opacity: 1; }
  .svc-points { font-size: 12.5px; max-width: none; margin-top: 8px; }
  .svc-note { font-size: 11px; margin-top: 8px; }
  .is-photo .svc-card { min-height: 420px; }
  .is-photo .svc-points { margin-top: auto; padding-top: 120px; }
  .service .pixels { position: relative; margin: 40px -20px -72px; height: calc(268.45 * var(--u)); }

  /* スマホ：ホバーが無いので全行を濃さ 100% で並べる */
  .needs { height: auto; }
  .layers { position: static; display: block; gap: 0; }
  .layers::after { left: 0; }
  .needs-rule { display: none; }
  .layer:first-child .layer-row::before { display: block; }
  .layers > .layer, .layers > .layer.is-active { display: block; height: auto; }
  .layer-row, .layer.is-active .layer-row { display: block; width: 100%; height: auto; padding: 24px 0 28px 16px; opacity: 1; }
  .layer .cap, .layer.is-active .cap { gap: 12px; font-size: 11px; transform: none; }
  .layer .layer-num { font-size: 22px; }
  .layer strong { font-size: 20px; line-height: 1.45; margin-top: 10px; white-space: normal; transform: none; }
  .layer-right { width: auto; }
  .layer p { margin-top: 14px; font-size: 13px; line-height: 1.75; }
  .needs .drivers > li { transform: none; }

  .profile > div { grid-template-columns: 84px 1fr; padding: 20px 0 21px; }
  .profile > div:first-child { padding-top: 0; }
  .profile dt { font-size: 12px; }
  .profile dd { font-size: 13px; line-height: 1.75; }
  .profile br { display: none; }
  .company { padding-bottom: 140px; }
  .company .blur-edge { top: auto; bottom: -200px; height: 480px; }

  .contact { padding: 24px 12px 56px; }
  .contact .blur-in { padding: 48px 20px 24px; }
  .contact .blur-in::before { left: 0; top: 0; width: 100%; height: 100%; border-radius: 16px; }
  .contact .blur-in > * { position: relative; }
  .contact-arrow { width: 96px; height: 20px; margin: -8px 0 20px; }
  .inquiries li { height: auto; }
  .inquiries .inq { padding: 22px 20px 24px; }
  .contact .blur-in > .contact-card-link { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 16px; }
  .inquiries li:nth-child(2) .inq { padding-top: 22px; }
  .inquiries .cap { font-size: 11px; line-height: 1.5; }
  .inquiries strong { font-size: 16px; line-height: 1.55; margin-top: 8px; white-space: normal; }
  .inquiries strong br { display: none; }
  .inquiries p { font-size: 12.5px; line-height: 1.75; margin-top: 10px; max-width: none; }

  .footer { padding: 28px 20px 18px; }
  .footer-logo { position: relative; left: auto; top: auto; display: block; width: 120px; height: 48px; }
  .footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 20px 0 22px; }
  .footer-nav li { font-size: 14px; line-height: 1.4; white-space: normal; }
  .footer-nav span { font-size: 11px; line-height: 1.4; }
  .footer-rule { position: relative; left: auto; top: auto; width: 100%; margin-bottom: 14px; }
  .footer-copy { display: inline-block; margin: 0 16px 0 0; font-size: 11px; }
}

/* ---------- Header（FV を過ぎたら上からすっと出る。FV の上では隠す）
   ロゴは単体で左に置き、ナビだけを角丸の箱で囲む（端から端までの帯にはしない） ---------- */
:root { --hdr-h: 96px; }
.sec[id] { scroll-margin-top: var(--hdr-h); }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: calc(20px + env(safe-area-inset-top, 0px));
  pointer-events: none; /* 箱の外の余白はクリックを下に通す */
  transform: translateY(-101%);
  visibility: hidden;
}
.site-header.is-shown { transform: none; visibility: visible; transition: transform .6s cubic-bezier(.19, 1, .22, 1), visibility 0s; }
.site-header:not(.is-shown) { transition: transform .4s cubic-bezier(.55, 0, .45, 1), visibility 0s .4s; }
.site-header-in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  /* ナビの箱は画面の右端に寄せる（幅 1420 より広い画面でも中央に寄せない）。
     ロゴだけは、これまでどおり幅 1420 の枠の左端に置く */
  padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.site-logo { margin-left: max(0px, (100vw - 1420px) / 2); }
.site-logo, .site-nav { pointer-events: auto; }
.site-logo { flex: none; width: 100px; height: 40px; background: var(--navy-2); }
/* フッターが画面に入ったらヘッダーのロゴを消す（メニューを開いている間は出したまま） */
.site-logo { transition: opacity .35s, visibility 0s; }
.site-header.is-footer:not(.is-open) .site-logo { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.site-nav {
  padding: 8px 8px 8px 30px; border-radius: 8px;
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 2px 16px rgba(0, 40, 90, .08);
  color: var(--navy);
}
.site-nav ul { display: flex; align-items: center; gap: 30px; }
.site-nav a { display: block; font-size: 14px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; transition: opacity .2s; }
.site-nav a:hover { opacity: .6; }
/* お問い合わせボタン：ホバーでフッターと同じ濃紺（#0C1D29）に変える */
.site-nav-cta a { padding: 12px 24px; border-radius: 999px; background: var(--navy); color: #fff; transition: background-color .25s; }
.site-nav-cta a:hover { opacity: 1; background: #0C1D29; }
@media (max-width: 1000px) {
  .site-nav { padding-left: 22px; }
  .site-nav ul { gap: 20px; }
  .site-nav a { font-size: 13px; }
}
.site-burger { display: none; }
/* スマホ：ハンバーガー。開くと全画面のメニューが出る（参考：oasiz.org の動き）
   背景のグラデーションが上から下へ 1.1 秒で現れ、0.6 秒遅れて中身がフェードイン。
   閉じるときは中身が先に消え、背景が上へ引っ込む。色は紺〜青（このサイトのトーン） */
@media (max-width: 760px) {
  :root { --hdr-h: 72px; }
  .site-header { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .site-header-in { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .site-logo { width: 80px; height: 32px; transition: background-color .4s, opacity .35s, visibility 0s; }
  .site-header.is-open .site-logo { background: #fff; }
  .site-burger {
    display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .45); /* 紺のセクションの上でも輪郭が見えるように */
    pointer-events: auto;
    background: var(--navy);
    box-shadow: 0 2px 12px rgba(0, 40, 90, .18);
    transition: background-color .4s;
  }
  .site-burger span { grid-area: 1 / 1; width: 16px; height: 1.5px; background: #fff; transition: transform .4s cubic-bezier(.75, 0, 0, 1), background-color .4s; }
  .site-burger span:nth-child(1) { transform: translateY(-3.5px); }
  .site-burger span:nth-child(2) { transform: translateY(3.5px); }
  .site-burger span:nth-child(3) { display: none; }
  .site-header.is-open .site-burger { background: #fff; }
  .site-header.is-open .site-burger span { background: var(--navy); }
  .site-header.is-open .site-burger span:nth-child(1) { transform: rotate(30deg); }
  .site-header.is-open .site-burger span:nth-child(2) { transform: rotate(-30deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column;
    padding: calc(104px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
    border: 0; border-radius: 0; box-shadow: none; background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    color: #fff;
    visibility: hidden; pointer-events: none;
    transition: visibility 0s 1.1s;
  }
  .site-nav::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(120% 70% at 0% 100%, #2E8BE6 0%, rgba(1, 91, 180, .85) 35%, rgba(0, 75, 155, 0) 75%),
      linear-gradient(180deg, #0C1D29 0%, #0C1D29 22%, #003C7B 70%, #004B9B 100%);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.1s cubic-bezier(.75, 0, 0, 1);
  }
  .site-nav ul {
    position: relative; flex-direction: column; align-items: stretch; gap: 0;
    opacity: 0; transition: opacity .6s cubic-bezier(.46, .03, .23, .97);
  }
  .site-header.is-open .site-nav { visibility: visible; pointer-events: auto; transition: none; }
  .site-header.is-open .site-nav::before { clip-path: inset(0); }
  .site-header.is-open .site-nav ul { opacity: 1; transition-delay: .6s; }
  .site-nav li:not(.site-nav-cta) { border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .site-nav li:not(.site-nav-cta) a { padding: 20px 2px; font-size: 20px; letter-spacing: .06em; }
  .site-nav-cta { margin-top: 32px; }
  .site-nav-cta a { padding: 18px; font-size: 15px; text-align: center; background: #fff; color: var(--navy); }
  .site-nav-cta a:hover { background: #fff; opacity: .85; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header.is-shown, .site-header:not(.is-shown),
  .site-nav, .site-nav::before, .site-nav ul, .site-burger span { transition: none !important; }
}

/* =========================================================
   本文の文字サイズをそろえる：PC 15px（1420px 幅のとき。ほかの幅では画面幅に比例）・SP 14px
   サービスのカードの中（説明文・箇条書き）は対象外。見出し・注釈・図の中の小さい文字も対象外
   ========================================================= */
/* 本文の行間は 164%（PC 15px × 1.64 ＝ 24.6px、以前は 27px・180%） */
.b.txt, .b.phrase { --fs: 15 !important; --lh: 24.6 !important; }
.step-body, .spec-body, .roles .b p, .layer p, .drivers p, .profile dd, .inquiries p {
  font-size: calc(15 * var(--u)); line-height: calc(24.6 * var(--u));
}
/* 13px 前後の文字に合わせて入れていた手動の改行は、15px だと変な位置で折れるので外し、幅で自然に折り返す */
.b.txt br.pc, .b.phrase br.pc, .step-body br.pc, .spec-body br.pc, .roles .b p br.pc, .layer p br.pc, .drivers p br.pc, .inquiries p br.pc { display: none; }
/* 本文が 15px になったので、すぐ上の項目見出し（13.5〜13.9px）を 17px に上げて本文より大きく保つ */
.drivers > li.b { --fs: 17 !important; --lh: 25 !important; }
.roles .b strong { font-size: calc(17 * var(--u)); line-height: calc(25 * var(--u)); }
/* 需要の3要因：列の間隔（318）に対して本文の幅を少し狭め、列どうしの間をあける */
.drivers p { max-width: calc(286 * var(--u)); }
/* お問い合わせの3枚のカード：本文が 15px になって収まらないので高さを 227 → 290 に */
.inquiries li { height: calc(290 * var(--u)); }
/* 会社概要：15px でも1項目の行が折れないよう表の幅を広げる（右端 776.3 + 560 = 1336.3） */
.profile { --w: 560 !important; }
/* 会社概要の罫線を 480 → 624（1.3倍）に。右端（1256.3）は見出しの左端と左右対称のまま、左へ伸ばす */
@media (min-width: 761px) {
  .profile { --x: 689 !important; --w: 567.3 !important; width: calc(567.3 * var(--u)); } /* 罫線の左端を見出し「Company」の右端（約599）から 90 離す。右端 1256.3 はそのまま */
  /* 項目名（最長「事業の特徴」約61）と内容（最長「事業内容」の1行 約360）の間を 64 空け、
     そのまとまりを罫線の幅の中央に置く（左右とも約70の余白）。全行で左端はそろえる */
  .profile > div { grid-template-columns: calc(62 * var(--u)) calc(364 * var(--u)); column-gap: calc(64 * var(--u)); justify-content: center; }
}
@media (max-width: 760px) {
  .b.txt, .b.phrase, .step-body, .spec-body, .roles .b p, .layer p, .drivers p, .profile dd, .inquiries p {
    font-size: 14px; line-height: 1.64;
  }
  /* 上で PC 用に足した幅・高さ・見出しサイズは、スマホでは元のスマホ用の指定に戻す */
  .drivers p { max-width: none; }
  .roles .b strong { font-size: 15px; line-height: 1.5; }
  .inquiries li { height: auto; }
}

/* =========================================================
   フッター（PC）：中身を画面幅の約81%に広げる（左右の余白は約9.6%ずつ。参考：inouekabu.com のフッター）
   デザインの x（120〜1300）を、画面の [9.625vw, 90.375vw] に引き伸ばして置く。文字の大きさは今のまま
   ========================================================= */
@media (min-width: 761px) {
  .footer { --fl: calc(50% - 40.375vw); --fw: 80.75vw; }
  .footer-logo, .footer-rule, .footer p.footer-copy { left: var(--fl); }
  .footer-rule { width: var(--fw); }
  .footer-nav li { left: calc(var(--fl) + (var(--x) - 120) / 1180 * var(--fw)); }
  .footer a.footer-copy { left: auto; right: var(--fl); }
}

/* =========================================================
   サービス：小見出し・英字見出し・リード文を中央そろえで縦に積む（文字の色・大きさは今のまま）
   ========================================================= */
.service > .eyebrow, .service > .title, .service > .b.txt { text-align: center; }
@media (min-width: 761px) {
  .service > .eyebrow, .service > .title, .service > .b.txt { left: 0; right: 0; margin-inline: auto; }
}

/* =========================================================
   Our Role の3項目：カード型（1・2枚目は線の枠、3枚目＝AXDC は紺で塗る）。カードの外の背景は今のまま
   図と同じ横幅（x 200〜1210）に3等分で並べる。本文は通常の本文より 1px 小さい 14px（SP 13px）
   ========================================================= */
.roles {
  position: absolute;
  left: calc(50% + (200 - 710) * var(--u)); top: calc((4551 - 3366) * var(--u)); /* 図との間を倍に（+50）。図を大きくしたぶん +31 */
  width: calc(1010 * var(--u));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(20 * var(--u));
  list-style: none; margin: 0; padding: 0;
}
.roles > li.b {
  position: relative; left: auto; top: auto; width: auto; max-width: none;
  padding: calc(26 * var(--u)) calc(26 * var(--u)) calc(28 * var(--u));
  border: 1px solid rgba(1, 91, 180, .4); border-radius: calc(10 * var(--u));
  color: var(--blue);
}
.roles > li.b:last-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.roles .cap { display: block; font-size: calc(11 * var(--u)); line-height: calc(16 * var(--u)); letter-spacing: .12em; font-weight: 700; }
.roles .b strong { margin-top: calc(14 * var(--u)); font-size: calc(18 * var(--u)); line-height: calc(26 * var(--u)); }
.roles .b p { margin-top: calc(8 * var(--u)); font-size: calc(13 * var(--u)); line-height: calc(21.32 * var(--u)); max-width: none; } /* 通常の本文（15px）より 2px 小さく。行間はほかの本文と同じ 164% */
/* 注釈：カードの右端にそろえて、カードの下に置く */
.role .b.note { left: auto; right: calc(50% - (1210 - 710) * var(--u)); text-align: right; }
@media (max-width: 760px) {
  .roles { position: static; width: auto; display: grid; grid-template-columns: 1fr; gap: 12px; margin: 8px 0 24px; }
  .roles > li.b { padding: 20px 20px 22px; border-radius: 10px; margin: 0; }
  .roles .cap { font-size: 10px; line-height: 1.5; }
  .roles .b strong { margin-top: 8px; font-size: 16px; line-height: 1.5; }
  .roles .b p { margin-top: 6px; font-size: 12px; line-height: 1.64; }
  .role .b.note { text-align: left; right: auto; }
}

/* ---------- 需要と市場：3つの要因（5つの層の文法に合わせる） ----------
   リストの最下段の罫線（x 344 から右端まで）を上辺にして、左（x 123）に小見出し、
   右に 3 列（各 331、x 344 / 675 / 1006）を縦の細い罫線で区切って並べる */
.drivers .cap { display: flex; align-items: baseline; gap: calc(12 * var(--u)); font-size: calc(11 * var(--u)); line-height: 1; letter-spacing: .12em; font-weight: 700; }
.drivers .layer-num { font-weight: 500; font-size: calc(22 * var(--u)); letter-spacing: 0; }
.drivers .cap + strong { margin-top: calc(16 * var(--u)); }
@media (min-width: 761px) {
  .needs .drivers-label {
    --x: 123; --fs: 13.3; --lh: 20;
    top: calc(1430 * var(--u));
    transform: translateY(var(--grow, 0px));
  }
  .needs .drivers > li.b {
    top: calc(1396 * var(--u));
    width: calc(331 * var(--u)); max-width: none;
    padding: calc(34 * var(--u)) calc(32 * var(--u)) 0;
  }
  .needs .drivers > li.b:nth-child(1) { --x: 344 !important; }
  .needs .drivers > li.b:nth-child(2) { --x: 675 !important; }
  .needs .drivers > li.b:nth-child(3) { --x: 1006 !important; }
  .needs .drivers > li.b::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px solid rgba(255, 255, 255, .25);
  }
  .needs .drivers p { max-width: none; margin-top: calc(12 * var(--u)); }
}
@media (max-width: 760px) {
  .drivers-label { margin-top: 24px; }
  .drivers > li { border-top: 1px solid rgba(255, 255, 255, .4); padding-top: 24px; }
  .drivers .cap { gap: 10px; font-size: 10px; }
  .drivers .layer-num { font-size: 18px; }
  .drivers .cap + strong { margin-top: 12px; }
}

/* ---------- 3つの要因：カード（B案。section.needs の dv-b で、上の基本の組みを上書きする） ---------- */
@media (min-width: 761px) {
  /* B 案：カード。見出しの左端（123）から左右対称の右端（1297）まで3枚を並べる。半透明の面と細い枠、角は写真と同じ 5 */
  /* 見出し「市場を動かす3つの要因」（22）をリストの下 184 に1行で置き、カードはその下 24 から */
  .needs.dv-b { --sh: 2015 !important; } /* カードの下〜ループ文字の上の余白を 97 → 136（1.4倍）にするため 39 足す */
  /* 3枚の括りの位置：元の 123 から 12 左へ寄せたあと、16 右へ戻して 127。見出しも1枚目の左端にそろえる */
  .needs.dv-b .drivers-label { --x: 127; --fs: 22; --lh: 32; top: calc(1580 * var(--u)); }
  .needs.dv-b .drivers-label br { display: none; }
  .needs.dv-b .drivers > li.b {
    top: calc(1636 * var(--u)); width: calc(375.3 * var(--u)); height: calc(290 * var(--u));
    padding: calc(36 * var(--u)) calc(34 * var(--u)) 0;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: calc(5 * var(--u));
  }
  .needs.dv-b .drivers > li.b::before { display: none; }
  .needs.dv-b .drivers > li.b:nth-child(1) { --x: 127 !important; }
  .needs.dv-b .drivers > li.b:nth-child(2) { --x: 526.3 !important; }
  .needs.dv-b .drivers > li.b:nth-child(3) { --x: 925.7 !important; }
  /* 画面に入ったら、0.15 秒おいて左のカードから 0.25 秒ずつ遅らせ、1.1 秒かけて少し左から横へすべり込ませる */
  .needs.dv-b .drivers > li.reveal { translate: calc(-32 * var(--u)) 0; transition-duration: .7s, 1.1s, 1.1s; }
  .needs.dv-b .drivers > li.reveal.is-in { translate: 0 0; }
  .needs.dv-b .drivers > li.reveal:nth-child(1) { --d: .15s !important; }
  .needs.dv-b .drivers > li.reveal:nth-child(2) { --d: .4s !important; }
  .needs.dv-b .drivers > li.reveal:nth-child(3) { --d: .65s !important; }
  .static .needs.dv-b .drivers > li.reveal { translate: none; }

}
@media (max-width: 760px) {
  .needs.dv-b .drivers-label br { display: none; }
  .needs.dv-b .drivers-label { font-size: 18px; line-height: 1.5; }
  .needs.dv-b .drivers > li { border: 1px solid rgba(255, 255, 255, .18); border-radius: 5px; background: rgba(255, 255, 255, .07); padding: 24px 20px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .needs.dv-b .drivers > li.reveal { translate: none; }
}
/* スマホ：工程図は出さず、4つの工程を今までどおり縦に並べる */
@media (max-width: 760px) {
  .process { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .process-art { display: none; }
  .process-steps { display: grid; gap: 24px; margin: 8px 0 32px; }
  .process-steps > li { position: relative; left: auto; top: auto; width: auto; text-align: left; font-size: 17px; line-height: 1.5; font-weight: 700; opacity: 1; translate: none; transition: none; }
  .process-steps .num { display: inline; margin-right: 10px; font-size: inherit; line-height: inherit; }
  .process-steps strong { display: inline; margin: 0; font-size: inherit; line-height: inherit; white-space: normal; }
  .process-steps .step-body { position: static; margin-top: 6px; font-weight: 400; }
}

/* 工程図の下だけ罫線を消す：4本のタワーそれぞれの中心に、ふちをぼかした楕円の穴を開け、
   4枚を重ねて（どれか1つでも穴なら線を消す）階段状の図の形に沿って罫線を消す。四角い切れ目が出ないようにする */
.grid-lines, .grid-v {
  --holes: radial-gradient(ellipse calc(320 * var(--u)) calc(380 * var(--u)) at calc(50% + -347 * var(--u)) calc(943.4 * var(--u)), transparent 58%, #000 100%),
    radial-gradient(ellipse calc(320 * var(--u)) calc(380 * var(--u)) at calc(50% + -76 * var(--u)) calc(900.8 * var(--u)), transparent 58%, #000 100%),
    radial-gradient(ellipse calc(320 * var(--u)) calc(380 * var(--u)) at calc(50% + 195 * var(--u)) calc(858.2 * var(--u)), transparent 58%, #000 100%),
    radial-gradient(ellipse calc(320 * var(--u)) calc(380 * var(--u)) at calc(50% + 466 * var(--u)) calc(815.6 * var(--u)), transparent 58%, #000 100%);
  -webkit-mask-image: var(--holes); mask-image: var(--holes);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* 対応規模・仕様のパネル（参考画像を工程図と同じ幅 1182 に合わせて読んだ寸法）。罫線（z-index 3）より手前。
   上端は横罫線（3541）と重ならないよう、マスの半分（3591）に置く */
.spec-panel {
  position: absolute; z-index: 4;
  left: calc(50% + (119 - 710) * var(--u)); /* セクションの中で左右中央に来るよう 179 → 119 */
  top: calc((3591 - 2481) * var(--u));
  width: calc(1182 * var(--u)); height: calc(268 * var(--u));
  padding: calc(48 * var(--u)) calc(37 * var(--u)) 0;
  background: var(--blue-2); border-radius: calc(5 * var(--u)); color: #fff;
}
.spec-panel h3 { font-size: calc(18 * var(--u)); line-height: calc(28 * var(--u)); }
.spec-cols { list-style: none; margin: calc(22 * var(--u)) 0 0; padding: 0; display: grid; grid-template-columns: calc(393 * var(--u)) calc(400 * var(--u)) 1fr; }
.spec-cols li { max-width: calc(322 * var(--u)); }
.spec-cols strong { display: block; font-weight: 700; font-size: calc(23 * var(--u)); line-height: calc(34 * var(--u)); }
.spec-cols p { margin-top: calc(12 * var(--u)); font-size: calc(15 * var(--u)); line-height: calc(26.6 * var(--u)); }
@media (max-width: 760px) {
  .spec-panel { position: relative; left: auto; top: auto; width: auto; height: auto; padding: 28px 22px 30px; border-radius: 5px; margin: 8px 0 32px; }
  .spec-panel h3 { font-size: 16px; line-height: 1.5; }
  .spec-cols { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 18px; }
  .spec-cols li { max-width: none; }
  .spec-cols strong { font-size: 19px; line-height: 1.5; }
  .spec-cols p { margin-top: 6px; font-size: 13px; line-height: 1.75; }
}

/* ---------- ロゴ（AXDC.svg 白 / AXDC-1.svg 黒。どちらも 1361×283 の同じ形） ----------
   ヘッダー：ロゴの形をマスクにして色を塗る。濃い背景では白、明るいセクション（data-logo-dark）の上では黒に切り替える。
   フッター：紺の上なので白。どちらも枠の左端・上下中央に、縦横比を保って置く */
:root { --logo: url("data:image/svg+xml,%3Csvg width=%221361%22 height=%22283%22 viewBox=%220 0 1361 283%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M1237.55 282.861C1215.26 282.861 1194.54 279.582 1175.39 273.025C1156.25 266.206 1139.46 256.502 1125.04 243.913C1110.88 231.062 1099.73 215.981 1091.6 198.671C1083.73 181.361 1079.8 162.084 1079.8 140.84C1079.8 120.383 1083.99 101.631 1092.39 84.5828C1100.78 67.5351 1112.19 52.7167 1126.61 40.1277C1141.04 27.2763 1157.82 17.4411 1176.97 10.622C1196.11 3.54068 1216.44 0 1237.95 0C1254.73 0 1270.86 2.09818 1286.34 6.29455C1301.81 10.4909 1315.97 16.1298 1328.82 23.2111C1341.68 30.0302 1352.17 37.3738 1360.3 45.242L1330 86.1565C1321.61 78.8128 1312.56 72.3872 1302.86 66.8794C1293.42 61.1094 1283.06 56.6508 1271.78 53.5036C1260.5 50.3563 1248.18 48.7827 1234.8 48.7827C1221.69 48.7827 1208.97 51.012 1196.64 55.4706C1184.57 59.6669 1173.69 65.8304 1163.99 73.9608C1154.28 81.829 1146.54 91.533 1140.77 103.073C1135 114.351 1132.12 127.071 1132.12 141.234C1132.12 156.445 1135 169.821 1140.77 181.361C1146.81 192.639 1154.94 202.343 1165.17 210.474C1175.66 218.342 1187.46 224.374 1200.57 228.57C1213.69 232.504 1227.32 234.471 1241.49 234.471C1255.91 234.471 1268.76 232.636 1280.04 228.964C1291.32 225.292 1301.29 220.702 1309.94 215.194C1318.86 209.424 1326.99 203.786 1334.33 198.278L1358.72 239.586C1351.38 245.618 1341.54 252.044 1329.22 258.863C1316.89 265.682 1302.86 271.452 1287.12 276.173C1271.39 280.631 1254.86 282.861 1237.55 282.861Z%22 fill=%22white%22/%3E%3Cpath d=%22M732.916 278.925V3.53906H868.641C893.033 3.53906 914.67 7.21087 933.554 14.5545C952.7 21.6358 968.698 31.4711 981.55 44.0602C994.663 56.6492 1004.5 71.3365 1011.06 88.1219C1017.61 104.645 1020.89 122.348 1020.89 141.232C1020.89 160.378 1017.61 178.344 1011.06 195.129C1004.5 211.652 994.663 226.208 981.55 238.797C968.436 251.386 952.437 261.222 933.554 268.303C914.67 275.384 893.033 278.925 868.641 278.925H732.916ZM784.059 239.191L780.125 231.716H866.674C884.247 231.716 899.327 229.355 911.916 224.635C924.505 219.914 934.865 213.488 942.996 205.358C951.388 196.965 957.552 187.392 961.486 176.639C965.42 165.623 967.387 153.821 967.387 141.232C967.387 128.905 965.42 117.365 961.486 106.612C957.552 95.5966 951.388 85.8926 942.996 77.4998C934.865 69.1071 924.505 62.5503 911.916 57.8294C899.327 53.1085 884.247 50.7481 866.674 50.7481H778.944L784.059 44.0602V239.191Z%22 fill=%22white%22/%3E%3Cpath d=%22M595.741 278.925L491.488 154.608L360.089 3.53906H426.969L527.681 123.135L663.014 278.925H595.741ZM358.122 278.925L484.013 129.036L518.239 160.116L422.641 278.925H358.122ZM536.73 151.067L502.896 121.168L594.167 3.53906H658.686L536.73 151.067Z%22 fill=%22white%22/%3E%3Cpath d=%22M0 278.925L129.431 3.53906H182.542L311.579 278.925H257.289L174.673 103.465C172.313 98.4816 169.952 93.3673 167.592 88.1219C165.232 82.8764 162.871 77.631 160.511 72.3855C158.412 66.8778 156.314 61.3701 154.216 55.8624C152.38 50.3547 150.544 44.9781 148.708 39.7326L161.297 39.3392C159.462 45.1092 157.495 50.8792 155.396 56.6492C153.298 62.1569 150.938 67.6646 148.315 73.1724C145.955 78.6801 143.594 84.0567 141.234 89.3021C138.873 94.2853 136.644 99.3996 134.546 104.645L52.3233 278.925H0ZM57.831 219.127L76.3212 174.672H232.504L242.34 219.127H57.831Z%22 fill=%22white%22/%3E%3C/svg%3E"); }
.site-logo, .footer-logo {
  -webkit-mask: var(--logo) left center / contain no-repeat; mask: var(--logo) left center / contain no-repeat;
}
.site-logo { width: 120px; background: #fff; transition: background-color .35s, opacity .35s, visibility 0s; }
.site-header.logo-dark:not(.is-open) .site-logo { background: #000; }
.footer-logo { background: #fff; }
@media (max-width: 760px) {
  .site-logo { width: 96px; }
}

/* アプローチ末尾の相談導線：本文を太字に、「相談する」に下線つき矢印（矢印の角度はコンタクトの矢印と同じ 21.33:14.76） */
.b.cta-lead { font-weight: 700; }
.b.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow svg {
  position: absolute; left: 0; top: calc(100% + 10 * var(--u));
  width: calc(170 * var(--u)); height: calc(15.5 * var(--u)); overflow: visible;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.link-arrow:hover svg, .link-arrow:focus-visible svg { transform: translateX(calc(12 * var(--u))); }
@media (max-width: 760px) {
  .b.link-arrow { display: inline-block; margin-bottom: 40px; }
  .link-arrow svg { top: calc(100% + 8px); width: 150px; height: 13.7px; }
}

/* Approach の罫線は下へ長めに引いてあるので、セクションの下端で切る（上は About にかかる 140 のぶんだけ外へ出す） */
.sec.approach { clip-path: inset(calc(-140 * var(--u) - 1px) 0 0 0); }

/* スマホ：Contact は画面より縦に長く、背面の紺（Company の切り替えの色）が途中で終わって白が見えていたので、
   切り替えに重なる最初の 1 画面ぶんは透明のまま、その下に同じ紺を敷く */
@media (max-width: 760px) {
  .sec.contact { background: linear-gradient(transparent var(--vh, 100vh), #0C1D29 var(--vh, 100vh)); }
}

/* お問い合わせの3枚のカード：本文を 13px に（PC は 1420px 幅のとき 13px、ほかの幅では比例。スマホは 13px） */
.inquiries p { font-size: calc(13 * var(--u)); line-height: calc(22.6 * var(--u)); }
@media (max-width: 760px) { .inquiries p { font-size: 13px; line-height: 1.74; } }

/* 会社概要：罫線の左端から項目名までは 32 */
@media (min-width: 761px) {
  .profile > div { justify-content: start; padding-left: calc(32 * var(--u)); }
}

/* FV のコピー：英字見出しと同じく、行ごとに下からせり上がる。
   文字の影（ぼかし 24px）が箱で切れないよう、箱の余白を大きめに取って同じだけ詰める */
.fv-copy.reveal { opacity: 1; translate: none; transition: none; }
.fv-copy .tl { display: block; overflow: hidden; padding: 28px 28px 32px; margin: -28px -28px -32px; }
.fv-copy .tl + .tl { margin-top: -60px; }
.fv-copy .tl > span { display: block; transform: translateY(calc(100% + 40px)); transition: transform 1.5s cubic-bezier(.19, 1, .22, 1) var(--d, 0s); }
.fv-copy .tl + .tl > span { transition-delay: calc(var(--d, 0s) + .14s); }
.fv-copy.is-in .tl > span { transform: none; }
.static .fv-copy .tl > span { transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .fv-copy .tl > span { transform: none; transition: none; } }
/* スマホ：FV コピーの行の箱を左右に広げると画面の外へはみ出して横スクロールが出るので、左右はセクションの余白（20px）の内側に収める */
@media (max-width: 760px) { .fv-copy .tl { padding-inline: 16px; margin-inline: -16px; } }

