/* 合わせ技 — JNT 3D concept v5（A の構図と素材 ＋ 浮き彫りの地球儀の日本と江戸川の光）
   色：Studio Ink #07080B（地）／Graphite #0F1318（面）／Steel #8E98A5（小さな字）／Arc White #EEF2F6（字・ガラスの弧）／JNT Blue #0082C8（球）
   光の三色（ロゴの尾）：Green #6CBB4F／Cyan #2DB5E6／Violet #8E8FD0。暗い地では「光」としてだけ使う。明るい面（採用の入口）では大きな面に使う */
:root {
  --ink: #07080B;
  --graphite: #0F1318;
  --steel: #8E98A5;
  --paper: #EEF2F6;
  --blue: #0082C8;
  --blue-hi: #5DB8EC;
  --g: #6CBB4F;
  --c: #2DB5E6;
  --v: #8E8FD0;
  --studio: #D9DADA; /* 撮影データの背景のグレー（明るいスタジオ） */
  --line: rgba(238, 242, 246, .14);
  --line-2: rgba(238, 242, 246, .26);
  --gut: 20px;
  --lx: 18px;  /* 下の段の白い一筋（縦）の位置：.wrap の左から */
  --tx: 44px;  /* 一筋のある節の文字の左 */
  --dock: calc(58px + env(safe-area-inset-bottom, 0px));
  --jp: "M PLUS 1", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  --en: "Saira", "M PLUS 1", system-ui, sans-serif;
  --split: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='9' viewBox='0 0 44 9'%3E%3Cpath d='M0 4.5H17' stroke='%23EEF2F6' stroke-width='1.2'/%3E%3Cpath d='M17 4.5L44 1' stroke='%238E8FD0' stroke-width='1.2'/%3E%3Cpath d='M17 4.5H44' stroke='%232DB5E6' stroke-width='1.2'/%3E%3Cpath d='M17 4.5L44 8' stroke='%236CBB4F' stroke-width='1.2'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 16px/1.85 var(--jp); letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: var(--dock);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 2px; }
.en { font-family: var(--en); font-stretch: 125%; font-weight: 500; letter-spacing: .06em; }
.pc { display: none; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--paper); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
h1, h2, h3, p, dd, a { word-break: auto-phrase; }

/* 光が分かれる印（白い一本が三色に分かれる）：3D の舞台の中だけで使う */
.split { display: inline-block; width: 44px; height: 9px; background: var(--split) no-repeat center / 44px 9px; vertical-align: middle; flex: none; }

/* ---------- ヘッダー ---------- */
.gh {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 60px;
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gut);
  background: linear-gradient(to bottom, rgba(7, 8, 11, .86) 0%, rgba(7, 8, 11, .5) 60%, rgba(7, 8, 11, 0) 100%);
}
.gh__logo { display: block; }
.gh__logo img { height: 24px; width: auto; }
.gh__nav, .gh__tel { display: none; }
.gh__menu { margin-left: auto; position: relative; }
.gh__menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .1em; padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px;
}
.gh__menu summary::-webkit-details-marker { display: none; }
.gh__bars { width: 14px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.gh__drawer {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px;
  display: grid; background: rgba(15, 19, 24, .98); border: 1px solid var(--line); border-radius: 10px; padding: 8px;
}
.gh__drawer a { text-decoration: none; padding: 11px 12px; font-size: 15px; border-radius: 6px; }
.gh__drawer a:hover { background: rgba(238, 242, 246, .06); }

/* ---------- 3D の舞台（最初の画面＋スクロールの2場面）---------- */
.stage { position: relative; }
.stage__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.poster, .gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.poster { opacity: 0; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.js:not(.rm):not(.no-3d) .poster--pre { opacity: 1; }
html:not(.js) .poster--final, .no-3d .poster--final, .rm .poster--final { opacity: 1; }
.gl { opacity: 0; transition: opacity 1.2s ease; }
.is-3d .gl { opacity: 1; }
.rm .gl { transition: none; }
.no-3d .gl { display: none; }
.shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(7, 8, 11, .7) 0, rgba(7, 8, 11, .25) 62px, rgba(7, 8, 11, 0) 110px),
    linear-gradient(to bottom, rgba(7, 8, 11, 0) 62%, rgba(7, 8, 11, .62) 76%, rgba(7, 8, 11, .94) 90%, #07080B 100%);
}

.hero, .act { position: relative; z-index: 2; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero { margin-top: -100vh; margin-top: -100svh; }
.act { height: 68vh; height: 68svh; }
.hero__in, .act__in { padding: 0 var(--gut) calc(var(--dock) + 26px); }

/* スマホの最初の画面：「警備会社。」が白い一筋の上に乗る（--by は merge3d.js の portrait[0] の by と同じ値）。
   本文は一筋のすぐ下（--drop・120px を超える空きを作らない）。尾の先にかからないよう本文の幅を絞る */
.hero .hero__in { position: absolute; inset: 0; padding: 0; }
@media (max-width: 899px) {
  .hero { --by: 48vh; --by: 48svh; --drop: calc(10vw + 44px); }
  .hero__head { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(100% - var(--by) + 10px); }
  .hero__body { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--by) + var(--drop)); }
  .kicker .split, .kicker__est { display: none; }
}
.kicker { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); white-space: nowrap; margin: 0 0 14px; }
.hero__title { font-weight: 400; line-height: 1.2; letter-spacing: .03em; }
.hero__title span { display: block; white-space: nowrap; }
.hero__t1 { font-size: 18px; line-height: 1.5; letter-spacing: .12em; color: rgba(238, 242, 246, .9); }
.hero__t2 { font-size: min(40px, 10.3vw); line-height: 1.1; letter-spacing: .03em; font-weight: 500; }
.hero__lead { font-size: 16px; line-height: 1.8; color: rgba(238, 242, 246, .88); max-width: 11.8em; }
.cta { display: none; }
.hero__note { margin-top: 8px; font-size: 12px; line-height: 1.75; color: var(--steel); }
.hero__ln { display: block; white-space: nowrap; }
.hero__sep { display: none; margin: 0 .4em; opacity: .6; }
/* 採用への入口（会社の最重要課題）：最初の画面から見つけられる */
.hero__job {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; padding: 9px 14px 9px 12px; text-decoration: none;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; line-height: 1.4; background: rgba(7, 8, 11, .5);
}
.hero__job-k { font-weight: 700; color: var(--ink); background: var(--paper); border-radius: 999px; padding: 2px 9px; font-size: 12px; letter-spacing: .08em; }
.hero__job-v { color: rgba(238, 242, 246, .9); }
.hero__job::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .6; }
.hero__job:hover { border-color: var(--paper); }
@media (max-height: 700px) { .hero__note { display: none; } }

.lab { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.lab:not(.en) { font-size: 12.5px; letter-spacing: .2em; }
.name { font-size: 30px; line-height: 1.12; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; }
.name span { display: block; }
.act__body { margin-top: 16px; }
.act__text { font-size: 16px; line-height: 1.85; color: rgba(238, 242, 246, .86); max-width: 32em; }
.creed { font-weight: 400; font-size: 27px; line-height: 1.6; letter-spacing: .06em; }
.creed span { display: block; white-space: nowrap; }
.act--creed .act__body { margin-top: 22px; }

/* ---------- ふつうの節 ---------- */
.sec { position: relative; padding: 88px 0; }
/* 1本の線：3D の舞台の白い一筋が、下の段の入口で右から来て左で丸く下へ折れ、
   業務 → 現場の気づき → 会社 → 対応エリア → コラム → 採用の入口のエントリーまで、左を1本で下りる（採用ページの線と同じ作り） */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.spine { --sl: max(var(--lx), calc(50% - 620px + var(--lx))); }
.spine > .wrap { padding-left: var(--tx); }
.spine::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none; left: var(--sl); top: 0; bottom: 0; width: 2px;
  background: var(--paper); box-shadow: 0 0 6px rgba(143, 208, 244, .35);
}
.services::before {
  right: 0; width: auto; background: none; box-shadow: none;
  border-top: 2px solid var(--paper); border-left: 2px solid var(--paper); border-top-left-radius: 30px;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 24%); mask-image: linear-gradient(to left, transparent 0, #000 24%);
}
/* 節の見出しは線の上の駅（白い点＋細い枝） */
.spine .sec__head .lab { position: relative; }
.spine .sec__head .lab::before {
  content: ""; position: absolute; z-index: 2; top: 50%; left: calc(var(--lx) - var(--tx) - 4.5px); width: 11px; height: 11px; margin-top: -5.5px;
  border-radius: 50%; background: var(--ink); border: 2.5px solid var(--paper);
}
.spine .sec__title::after { left: calc(var(--lx) - var(--tx) + 2px); background: linear-gradient(90deg, rgba(238, 242, 246, .5), rgba(238, 242, 246, .2)); }
.facts.spine .sec__head .lab::before { background: var(--graphite); }
/* 駅の言葉（r3）：英語の棚の名前をやめ、線を下へ読むと「何を守るか → どう守るか → どんな会社か → どこで守るか → 頼む前に → 誰と守るか」になる */
.spine .sec__head .lab:not(.en) { font-size: 14px; letter-spacing: .16em; color: rgba(238, 242, 246, .88); font-weight: 500; }
.recruit .lab:not(.en) { font-size: 14px; letter-spacing: .16em; color: #2A3038; font-weight: 700; }
.sec__head { margin-bottom: 36px; }
.sec__title { position: relative; display: inline-block; padding-bottom: 14px; font-weight: 500; font-size: 28px; line-height: 1.4; letter-spacing: .04em; }
.sec__title::after { content: ""; position: absolute; left: -100vw; right: 0; bottom: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, rgba(238, 242, 246, 0) calc(100vw - 160px), rgba(238, 242, 246, .32) 100%); }
.sec__lead { margin-top: 14px; font-size: 16px; color: rgba(238, 242, 246, .8); max-width: 34em; }
.sec__links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 28px; }

.more {
  display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid var(--line-2); transition: border-color .2s ease, color .2s ease;
}
.more::after { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .55; }
.more:hover { border-color: var(--paper); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border: 1px solid var(--line-2); border-radius: 4px; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .06em;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { border-color: var(--paper); }
.btn--tel { background: var(--paper); color: var(--ink); border-color: var(--paper); font-weight: 700; }
.btn--tel:hover { background: #fff; }
.btn__k { font-size: 12px; letter-spacing: .12em; }
.btn__v { font-size: 17px; letter-spacing: .04em; }

/* 実写（スターティア撮影・JNT の隊員）：明るいスタジオの写真を、暗い地の上で「光の当たった人」に見せる。
   周りのグレーは外へ向かって地の黒に溶かす（人の形・顔・制服は変えない） */
.ph { position: relative; overflow: hidden; background: var(--ink); }
.ph img {
  width: 100%; height: 100%; object-fit: cover; filter: contrast(1.03);
}

/* 警備の仕事：4つの仕事が線の枝に並ぶ（スマホは左の線に沿って縦に、PC は線から右へ出た枝に横に4つ） */
.svc { position: relative; display: grid; gap: 0; }
.svc__item { position: relative; border-bottom: 1px solid var(--line); }
.svc__item::before {
  content: ""; position: absolute; z-index: 2; left: calc(var(--lx) - var(--tx) - 2.5px); top: 40px; width: 7px; height: 7px; border-radius: 50%; background: var(--paper);
}
.svc__item::after { content: ""; position: absolute; left: calc(var(--lx) - var(--tx) + 6px); top: 43px; width: calc(var(--tx) - var(--lx) - 6px); height: 1px; background: rgba(238, 242, 246, .45); }
.svc__link { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start; padding: 22px 0; text-decoration: none; }
.svc__ph { aspect-ratio: 1 / 1; border-radius: 3px; background: var(--studio); }
.svc__ph img { object-position: 50% 18%; }
.svc__item--main .svc__link { grid-template-columns: 1fr; gap: 20px; padding-top: 0; }
.svc__item--main::before { top: 18px; }
.svc__item--main::after { top: 21px; }
.svc__item--main .svc__ph { aspect-ratio: 4 / 5; }
.svc__item--main .svc__ph img { object-position: 50% 0; }   /* shoot-099：正面・止まれの手 */
.svc__item:nth-child(2) .svc__ph img { object-position: 50% 66%; }  /* shoot-043：顎を入れず、襟・記章・胸ポケットだけの寄り */
.svc__item:nth-child(3) .svc__ph img { object-position: 50% 8%; transform: scale(1.3); transform-origin: 50% 8%; }  /* shoot-129：顔と指先に寄る */
.svc__item:nth-child(4) .svc__ph img { object-position: 23% 30%; transform: scale(1.2); transform-origin: 30% 20%; }
.svc__tag { display: inline-block; margin-bottom: 10px; font-size: 12px; line-height: 1.7; font-weight: 500; letter-spacing: .14em; color: var(--ink); background: var(--paper); padding: 0 8px; border-radius: 2px; }
.svc__name { font-weight: 500; font-size: 20px; line-height: 1.45; letter-spacing: .05em; }
.svc__item--main .svc__name { font-size: 26px; }
.svc__text { margin-top: 6px; font-size: 14.5px; line-height: 1.85; color: rgba(238, 242, 246, .76); }
.svc__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--steel); letter-spacing: .1em; }
.svc__go::after { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .55; }
.svc__link:hover .svc__name { color: #fff; }
.svc__link:hover .svc__go { color: var(--paper); }

.field { padding-top: 40px; }
/* 現場での気づき（代表挨拶の原文のまま）：「現場の変化 → 判断 → 対応」を、2つの言葉を大きく組んで見せる */
.field__q p { font-size: 16.5px; line-height: 1.95; color: rgba(238, 242, 246, .8); max-width: 40em; }
.field__say { display: block; margin: .25em 0 .3em; text-indent: -.5em; font-size: 23px; line-height: 1.5; letter-spacing: .03em; font-weight: 500; color: #fff; }
.field__say + .field__say { margin-top: 0; }
.field__by { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.field__ph { display: block; flex: none; width: 60px; height: 60px; border-radius: 50%; }
.field__ph img { object-position: 50% 10%; transform: scale(1.5); transform-origin: 50% 12%; }
.field__name { font-size: 13px; color: var(--steel); letter-spacing: .1em; }
.field__src { display: block; margin-top: 2px; font-size: 11.5px; letter-spacing: .14em; opacity: .85; }

/* 会社のこと（仕様書のような表） */
.facts { background: var(--graphite); }
.facts .sec__head { margin-bottom: 26px; }
.spec { border-top: 1px solid var(--line); margin-top: 36px; }
.spec__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 13px; line-height: 1.9; color: var(--steel); letter-spacing: .08em; }
.spec dd { font-size: 16px; line-height: 1.75; }
.spec__en { display: block; font-size: 12px; color: var(--steel); letter-spacing: .18em; text-transform: uppercase; margin-top: 2px; }
.num { font-size: 1.12em; letter-spacing: .03em; margin: 0 .08em; }

/* 対応エリア：地球儀の灯りの描き方（江戸川の点がいちばん明るく、灯りが周りへ広がる） */
.area { padding-bottom: 72px; }
.area__big { margin-top: 18px; font-size: 21px; line-height: 1.6; letter-spacing: .04em; font-weight: 500; }
.area__fig { margin: 8px calc(var(--gut) * -1) 0 0; }
.area__map { display: block; width: 100%; height: auto; }
.am-land { fill: url(#am-land); }
.am-coast { fill: none; stroke: #A9DAF6; stroke-opacity: .9; stroke-width: 1; stroke-linejoin: round; }
.area__map #am-land stop:first-child { stop-color: #25486A; }
.area__map #am-land stop:last-child { stop-color: #1A3550; }
.am-ring { fill: none; stroke: #EEF2F6; stroke-opacity: .16; stroke-width: .8; stroke-dasharray: 2 4; }
.am-dot { fill: #CFE9FA; fill-opacity: .9; }
.am-halo { fill: #EEF2F6; fill-opacity: .14; }
.am-edo { fill: #fff; }
.am-hq { fill: #EEF2F6; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.am-pref { fill: #B7C3CF; font-size: 13px; letter-spacing: .2em; }
.area__cap { margin: 10px 0 0; font-size: 12px; color: var(--steel); letter-spacing: .04em; }
/* スマホ：図は約 0.54 倍に縮むので、字は図の単位で大きく（画面で約 12〜13px） */
@media (max-width: 899px) {
  .am-hq { font-size: 25px; font-weight: 700; letter-spacing: .06em; }
  .am-pref { font-size: 23px; letter-spacing: .12em; fill: #C9D4DE; }
}

/* コラム */
.media { border-top: 1px solid var(--line); }
.sec__head--row .more { margin-top: 20px; }
.posts { border-top: 1px solid var(--line); }
.posts li { border-bottom: 1px solid var(--line); }
.posts__link { display: grid; gap: 6px; padding: 20px 0; text-decoration: none; }
.posts__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; color: var(--steel); letter-spacing: .08em; }
.posts__meta time { font-size: 12px; letter-spacing: .1em; }
.posts__title { font-size: 17px; line-height: 1.65; font-weight: 500; }
.posts__link:hover .posts__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* 採用の入口：ここだけ明るいスタジオ（採用ページと同じ家族）。本物の隊員の写真と、ロゴの三色の大きな面 */
.recruit { padding-top: 16px; }
.recruit { --cx: 22px; }
.recruit > .wrap { padding-left: var(--tx); }
.recruit__panel { position: relative; isolation: isolate; border-radius: 16px; background: var(--studio); color: var(--ink); }
.recruit__planes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; border-radius: inherit; }
.pl { position: absolute; display: block; border-radius: 999px; transform-origin: 0 50%; }
.pl--v { background: var(--v); width: 150%; height: 64px; left: -10%; bottom: 128px; transform: rotate(-14deg); }
.pl--c { background: var(--c); width: 150%; height: 64px; left: -10%; bottom: 58px; transform: rotate(-14deg); }
.pl--g { background: var(--g); width: 150%; height: 64px; left: -10%; bottom: -12px; transform: rotate(-14deg); }
.recruit__photo { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px 16px 0 0; }
.recruit__photo img {  /* r3：採用ページの主役と同じ shoot-156（先輩が腕を伸ばして示し、後輩が背中で聞く） */
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.recruit__body { position: relative; padding: 8px var(--cx) 250px; }
.recruit .lab { color: #4A535E; }
.recruit__title { font-weight: 700; font-size: 24px; line-height: 1.45; letter-spacing: .03em; }
.recruit__title span { display: block; }
.recruit__text { margin-top: 14px; font-size: 16px; color: #262B31; max-width: 32em; }
.recruit__cta { position: relative; display: grid; gap: 10px; margin: 22px 0 16px; }
.recruit__cta::before {  /* 左の線から、エントリーの所へ入る枝と終点の白い点 */
  content: ""; position: absolute; z-index: 2; top: 25px; left: calc(var(--lx) - var(--tx) - var(--cx)); width: calc(var(--tx) + var(--cx) - var(--lx) - 2px); height: 2px;
  background: linear-gradient(90deg, var(--paper), #fff); box-shadow: 0 1px 2px rgba(0, 38, 64, .3);
}
.recruit__cta::after {
  content: ""; position: absolute; z-index: 2; top: -2400px; height: 2427px; left: calc(var(--lx) - var(--tx) - var(--cx)); width: 2px;
  background: var(--paper); box-shadow: 0 0 6px rgba(143, 208, 244, .35);
}
.recruit__end { position: absolute; z-index: 3; top: 19px; left: -12px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .35), 0 1px 3px rgba(0, 38, 64, .35); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 700; }
.btn--ink:hover { background: #1A1F26; border-color: #1A1F26; }
.btn--line { border-color: rgba(7, 8, 11, .4); color: var(--ink); background: rgba(255, 255, 255, .5); font-weight: 700; }
.btn--line:hover { border-color: var(--ink); background: #fff; }
.more--ink { color: var(--ink); border-color: rgba(7, 8, 11, .3); font-size: 13.5px; }
.more--ink:hover { border-color: var(--ink); }

/* 連絡 */
.contact { padding-bottom: 110px; }
.contact__tel { display: grid; gap: 2px; text-decoration: none; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact__k { font-size: 12px; color: var(--steel); letter-spacing: .14em; }
.contact__num { font-size: 38px; line-height: 1.25; letter-spacing: .03em; }
.contact__hours { font-size: 13px; color: var(--steel); }
.contact__tel:hover .contact__num { color: #fff; }
.contact__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.contact__note { margin-top: 16px; font-size: 13.5px; line-height: 1.8; color: var(--steel); }

/* ---------- フッター ---------- */
.ft { position: relative; background: var(--graphite); }
.ft__in { padding-top: 48px; padding-bottom: 40px; display: grid; gap: 26px; }
.ft__logo { width: 112px; }
.ft__addr { margin-top: 16px; font-style: normal; font-size: 13px; line-height: 1.85; color: rgba(238, 242, 246, .78); }
.ft__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; }
.ft__nav a { text-decoration: none; color: rgba(238, 242, 246, .84); }
.ft__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft__group { font-size: 12.5px; color: var(--steel); }
.ft__c { font-size: 12px; color: var(--steel); letter-spacing: .14em; }

/* ---------- スマホの連絡の帯 ---------- */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 40; height: var(--dock);
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px;
  background: rgba(7, 8, 11, .9); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.dock a {
  display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; min-width: 0;
  border: 1px solid var(--line-2); border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .06em;
}
.dock .dock__tel { background: var(--paper); color: var(--ink); border-color: var(--paper); font-weight: 700; }
.dock__ic { flex: none; }
.dock .dock__tel .en { font-size: 14px; letter-spacing: 0; font-stretch: 100%; white-space: nowrap; }

/* ---------- PC ---------- */
@media (min-width: 900px) {
  :root { --dock: 0px; --gut: 64px; }
  .pc { display: inline; }
  .dock { display: none; }
  .gh { height: 78px; padding: 0 44px 0 48px; gap: 36px; }
  .gh__logo img { height: 30px; }
  .gh__nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; letter-spacing: .08em; }
  .gh__nav a { text-decoration: none; color: rgba(238, 242, 246, .84); }
  .gh__nav a:hover { color: #fff; }
  .gh__tel { display: flex; align-items: baseline; gap: 8px; text-decoration: none; font-family: var(--en); font-stretch: 125%; font-weight: 500; font-size: 15px; letter-spacing: .05em; }
  .gh__tel .en { color: var(--steel); font-size: 10.5px; letter-spacing: .2em; }
  .gh__menu { display: none; }

  .shade {
    background:
      linear-gradient(to bottom, rgba(7, 8, 11, .95) 0, rgba(7, 8, 11, .8) 74px, rgba(7, 8, 11, .32) 140px, rgba(7, 8, 11, 0) 230px),
      linear-gradient(to bottom, rgba(7, 8, 11, 0) 70%, rgba(7, 8, 11, .7) 90%, #07080B 100%),
      linear-gradient(to right, rgba(7, 8, 11, .72) 0%, rgba(7, 8, 11, .35) 34%, rgba(7, 8, 11, 0) 52%);
  }
  /* 見出しは白い一筋の上に、本文は下に（--by は merge3d.js の by と同じ値） */
  .act { height: 100vh; height: 100svh; }
  .hero { --by: 58%; }
  .act--name { --by: 56%; }
  .act--creed { --by: 60%; }
  .hero__in, .act__in { position: absolute; inset: 0; padding: 0; --tx: 96px; }
  .hero__head, .act__head { position: absolute; left: var(--tx); bottom: calc(100% - var(--by) + 26px); max-width: 800px; }
  .hero__body, .act__body { position: absolute; left: var(--tx); top: calc(var(--by) + 30px); max-width: 620px; margin: 0; }
  .kicker { font-size: 12.5px; letter-spacing: .2em; gap: 12px; margin-bottom: 22px; }
  .hero__title { font-weight: 300; font-size: 60px; line-height: 1.26; letter-spacing: .02em; min-height: 2.52em; }
  .hero__t1, .hero__t2 { font-size: 1em; line-height: inherit; letter-spacing: inherit; font-weight: inherit; color: inherit; }
  .hero__lead { margin-top: 0; font-size: 17px; max-width: 32em; }
  .cta { display: flex; gap: 10px; margin-top: 30px; }
  .btn__v { font-size: 18px; }
  .hero__note { display: block; margin-top: 14px; font-size: 12.5px; color: var(--steel); }
  .hero__ln { display: inline; }
  .hero__sep { display: inline; margin: 0 .6em; }
  .hero__job { margin-top: 18px; }

  .lab { font-size: 12.5px; letter-spacing: .2em; }
  .name { font-size: 64px; line-height: 1.08; letter-spacing: .06em; }
  .name span { display: inline; }
  .act__text { font-size: 18px; }
  .creed { font-weight: 300; font-size: 54px; line-height: 1.5; letter-spacing: .05em; }
  .act--creed .act__body { margin-top: 0; }

  .sec { padding: 140px 0; }
  .sec__head { margin-bottom: 56px; }
  .sec__title { font-weight: 400; font-size: 44px; line-height: 1.35; }
  .sec__lead { font-size: 17px; }
  .sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .sec__head--row .more { margin-top: 0; flex: none; }

  /* 警備の仕事（r3）：中心の仕事（交通誘導）は左の線にそのまま付く大きな駅。ほかの3つは、線から右へ分かれた支線の駅
     ＝「交通誘導警備を中心に、施設・巡回、駐車場、イベント・雑踏」の文の形を、線の形にした（4つ同じ大きさのカードをやめた） */
  :root { --lx: 24px; --tx: 64px; }
  .services { padding-top: 140px; }
  .svc { --bx: calc((100% - 64px) * 11 / 24 + 64px); grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); column-gap: 64px; padding-top: 0; }
  .svc::before { content: ""; position: absolute; top: 0; left: calc(var(--lx) - var(--tx) + 2px); width: calc(var(--bx) - var(--lx) + var(--tx) - 2px); height: 1.5px; background: linear-gradient(90deg, rgba(238, 242, 246, .55), var(--paper)); }
  .svc__item, .svc__item--main { border-bottom: 0; }
  .svc__item--main { grid-column: 1; grid-row: 1 / span 3; padding-top: 52px; }
  .svc__item:not(.svc__item--main) { grid-column: 2; padding: 52px 0 10px 52px; }
  .svc__item--main::before { left: calc(var(--lx) - var(--tx) - 6.5px); top: 52px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 10px rgba(143, 208, 244, .45); }
  .svc__item--main::after { left: calc(var(--lx) - var(--tx) + 8.5px); top: 59px; width: calc(var(--tx) - var(--lx) - 8.5px); height: 1.5px; background: var(--paper); }
  .svc__item:not(.svc__item--main)::after { left: -.75px; top: 0; bottom: 0; width: 1.5px; height: auto; background: var(--paper); }
  .svc__item:last-child::after { bottom: auto; height: calc(52px + 100px); }
  .svc__item:not(.svc__item--main)::before { left: -5.5px; top: calc(52px + 100px - 5.5px); width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--paper); }
  .svc__link { grid-template-columns: 200px 1fr; gap: 30px; padding: 0; align-items: start; }
  .svc__item--main .svc__link { grid-template-columns: 1fr; gap: 26px; padding: 0; }
  .svc__ph { aspect-ratio: 1 / 1; border-radius: 3px; }
  .svc__item--main .svc__ph { aspect-ratio: 4 / 5; }
  .svc__name { font-size: 24px; font-weight: 400; }
  .svc__item--main .svc__name { font-size: 36px; font-weight: 400; letter-spacing: .06em; }
  .svc__text { font-size: 15px; max-width: 30em; }
  .svc__item--main .svc__text { font-size: 16px; }

  .field { padding-top: 40px; }
  .field__q p { font-size: 18px; max-width: 940px; }
  .field__say { font-size: 44px; line-height: 1.4; margin-bottom: .2em; }
  .field__by { margin-top: 34px; }
  .field__ph { width: 72px; height: 72px; }

  .facts__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .spec { margin-top: 0; }
  .spec__row { grid-template-columns: 11em 1fr; gap: 14px; padding: 20px 0; }
  .spec dd { font-size: 17px; }

  .area__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
  .area__head { margin-bottom: 0; }
  .area__big { font-size: 26px; }
  .area__fig { margin: 0; }
  .area__cap { margin: 10px 0 0; }

  .posts__link { grid-template-columns: 300px 1fr; align-items: baseline; gap: 24px; padding: 26px 0; }
  .posts__title { font-size: 19px; }

  .recruit { padding-top: 24px; --cx: 72px; }
  .recruit__panel { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border-radius: 20px; min-height: 560px; }
  .recruit__photo { order: 2; aspect-ratio: auto; position: relative; border-radius: 0 20px 20px 0; }
  .recruit__photo img {
    position: absolute; inset: 0; object-position: 62% 30%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%); mask-image: linear-gradient(to right, transparent 0, #000 18%);
  }
  .recruit__body { order: 1; padding: 72px 40px 300px var(--cx); }
  .pl { height: 84px; }
  .pl--v { width: 70%; left: -6%; bottom: 150px; transform: rotate(-9deg); }
  .pl--c { width: 70%; left: -6%; bottom: 62px; transform: rotate(-9deg); }
  .pl--g { width: 70%; left: -6%; bottom: -26px; transform: rotate(-9deg); }
  .recruit__title { font-size: 36px; line-height: 1.45; }
  .recruit__text { font-size: 17px; }
  .recruit__cta { display: flex; }
  .recruit__cta::before { top: 25px; }
  .recruit__cta .btn { min-width: 190px; }

  .contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .contact__tel { padding: 30px 0; }
  .contact__num { font-size: 64px; }
  .contact__alt { max-width: 560px; }

  .ft__in { grid-template-columns: 1.2fr 2fr; padding-top: 64px; padding-bottom: 48px; column-gap: 64px; }
  .ft__nav { align-content: start; gap: 12px 28px; }
  .ft__group, .ft__c { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
  .hero__in, .act__in { --tx: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .gl, .btn, .more { transition: none; }
}
