/* 合わせ技 — 下層ページの部品（style.css・recruit.css の後に読む）。
   会社のページ＝暗い地（Studio Ink・Graphite・字は Arc White・差し色の青）、採用のページ＝明るいスタジオ（.rc）。
   色・書体・線（白い一筋）・ボタンは design/merge の物をそのまま使い、ここでは足りない部品だけを足す。3D は使わない（JS なし）。 */

/* 写真の <picture>：箱を作らない＝デザインの「.ph img」「.job__ph img」などの指定がそのまま img に効く */
.pic { display: contents; }

/* 日本語の字（社長の決定 2026-10-16・きよこさんの声「フォントがポップすぎ。会社としての信頼感」）：M PLUS 1 → Noto Sans JP。
   英語・数字の Saira はそのまま。読み込みは build_site.py の FONTS_CORP・FONTS_RECRUIT */
:root {
  --jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --en: "Saira", "Noto Sans JP", system-ui, sans-serif;
}

/* ---------- 会社の下層：ページの頭 ---------- */
.sub .gh, .gh.is-solid { background: #07080B; border-bottom: 1px solid var(--line); }  /* 下層＝不透明（本文が透けない）。トップは 3D の舞台を過ぎたら同じ地（boot.js が is-solid を付ける） */
.pghero { position: relative; padding: 96px 0 58px; overflow: hidden; }  /* 下の余白は、線の上端（下端から 44px）より 14px 下まで＝見出しと線の間を空ける */
.pghero__in { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut) 0 var(--tx); }
.pghero::before {  /* 白い一筋：ページの頭で右から来て、左で丸く下へ折れる（トップの線と同じ作り） */
  content: ""; position: absolute; z-index: 1; pointer-events: none; left: max(var(--lx), calc(50% - 620px + var(--lx))); right: 0; bottom: -2px; height: 46px;
  border-top: 2px solid var(--paper); border-left: 2px solid var(--paper); border-top-left-radius: 26px;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 30%); mask-image: linear-gradient(to left, transparent 0, #000 30%);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0 0 26px; padding: 0; list-style: none; font-size: 12.5px; letter-spacing: .06em; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin: 0 .7em; opacity: .55; }
.crumbs a { color: rgba(238, 242, 246, .82); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: rgba(238, 242, 246, .62); }
.pghero__k { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.pghero__title { font-weight: 400; font-size: 32px; line-height: 1.35; letter-spacing: .04em; word-break: auto-phrase; }
.pghero__lead { margin-top: 16px; font-size: 16px; line-height: 1.85; color: rgba(238, 242, 246, .82); max-width: 36em; }
.pghero__ph { position: relative; z-index: 0; margin: 28px var(--gut) 34px var(--tx); aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--studio); }
.pghero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 25%); filter: contrast(1.03); }

/* 本文の節（会社）：.sec.spine をそのまま使う。下層は少し詰める */
.sub .sec { padding: 64px 0; }
.sub .sec + .sec { border-top: 1px solid var(--line); }
.sub .sec.contact { border-top: 1px solid var(--line); }
.sub .sec__head { margin-bottom: 28px; }
.prose { max-width: 46em; font-size: 16px; line-height: 1.95; color: rgba(238, 242, 246, .88); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); font-weight: 500; font-size: 22px; line-height: 1.5; color: var(--paper); }
.prose h3 { margin-top: 1.8em; font-weight: 500; font-size: 18px; line-height: 1.6; color: var(--paper); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: .45em; }
.prose a { color: #9BD3F5; text-underline-offset: 3px; }
.prose a.more { color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.7; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 8px 10px; text-align: left; vertical-align: top; min-width: 7em; }
.prose th { background: rgba(238, 242, 246, .06); font-weight: 500; }
.prose strong { color: #fff; font-weight: 700; }
.prose blockquote { padding-left: 16px; border-left: 2px solid var(--line-2); color: rgba(238, 242, 246, .78); }
.note { font-size: 13px; line-height: 1.8; color: var(--steel); }

/* 項目の一覧（警備業務紹介・選ばれる理由など）：線の枝に並ぶ */
.items { display: grid; gap: 0; border-top: 1px solid var(--line); }
.items__i { position: relative; display: grid; gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.items__i::before { content: ""; position: absolute; z-index: 2; left: calc(var(--lx) - var(--tx) - 2.5px); top: 44px; width: 7px; height: 7px; border-radius: 50%; background: var(--paper); }
.items__i::after { content: ""; position: absolute; left: calc(var(--lx) - var(--tx) + 6px); top: 47px; width: calc(var(--tx) - var(--lx) - 6px); height: 1px; background: rgba(238, 242, 246, .45); }
.items__k { font-size: 12px; letter-spacing: .18em; color: var(--steel); text-transform: uppercase; }
.items__name { font-weight: 500; font-size: 22px; line-height: 1.45; letter-spacing: .04em; }
.items__name small { margin-left: .6em; font-size: 13px; font-weight: 400; color: var(--steel); letter-spacing: .1em; }
.items__text { font-size: 15.5px; line-height: 1.9; color: rgba(238, 242, 246, .8); max-width: 40em; }
.items__text + .items__text { margin-top: .6em; }
.items__ph { aspect-ratio: 3 / 2; border-radius: 3px; background: var(--studio); }
.items__ph img { object-position: var(--pos, 50% 25%); }

/* 数字の帯（教育・保険など。人数は 2026-10-14 の社長の決定で今のサイトどおり戻した＝下の「社長の決定の反映」） */
.facts2 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 8px; }
.facts2__i { background: var(--ink); padding: 22px 20px; }
.facts2__v { font-size: 34px; line-height: 1.2; letter-spacing: .02em; color: #fff; }
.facts2__v small { font-size: 15px; margin-left: 2px; letter-spacing: .06em; }
.facts2__k { margin-top: 6px; font-size: 14px; color: rgba(238, 242, 246, .86); }
.facts2__s { margin-top: 2px; font-size: 12.5px; color: var(--steel); }

/* よくある質問（会社） */
/* 会社のページだけに絞る（採用トップの section.rs.faq に当てない。採用の下層は body が rc sub） */
.sub:not(.rc) .faq { border-top: 1px solid var(--line); max-width: 980px; }
.sub:not(.rc) .faq__i { padding: 22px 0; border-bottom: 1px solid var(--line); }
.sub:not(.rc) .faq dt { position: relative; padding-left: 2em; font-weight: 500; font-size: 16.5px; line-height: 1.7; }
.sub:not(.rc) .faq dt::before { content: "Q"; position: absolute; left: 0; top: 0; font-family: var(--en); font-stretch: 125%; color: var(--blue-hi); }
.sub:not(.rc) .faq dd { position: relative; margin: 10px 0 0; padding-left: 2em; font-size: 15px; line-height: 1.9; color: rgba(238, 242, 246, .8); }
.sub:not(.rc) .faq dd::before { content: "A"; position: absolute; left: 0; top: 0; font-family: var(--en); font-stretch: 125%; color: var(--steel); }

/* 会社情報の表・沿革 */
.spec--full { margin-top: 0; }
.hist { border-top: 1px solid var(--line); }
.hist li { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.75; }
.hist time { color: var(--steel); font-size: 13.5px; letter-spacing: .04em; }
@media (max-width: 899px) { .hist li { grid-template-columns: 1fr; gap: 2px; } }   /* スマホは日付を出来事の上に置く */
.creedlist { display: grid; gap: 22px; }
.creedlist h3 { font-weight: 500; font-size: 18px; line-height: 1.6; }
.creedlist p { margin-top: 6px; font-size: 15px; line-height: 1.95; color: rgba(238, 242, 246, .8); max-width: 44em; }
.bigq { font-weight: 400; font-size: 24px; line-height: 1.6; letter-spacing: .05em; }
.bigq span { display: block; }
.greet { display: grid; gap: 26px; }
.greet__ph { width: 160px; aspect-ratio: 2 / 3; border-radius: 3px; background: var(--studio); }
.greet__ph img { object-position: 50% 10%; }
.greet__name { margin-top: 10px; font-size: 13px; color: var(--steel); letter-spacing: .1em; }
.cert { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 18px; }
.cert figure { width: 180px; }
.cert img { width: 100%; height: auto; border-radius: 3px; background: #fff; }
.cert figcaption { margin-top: 8px; font-size: 12.5px; color: var(--steel); line-height: 1.6; }
.map-link { display: inline-flex; margin-top: 10px; }

/* 取引先の一覧（選ばれる理由の警備実績） */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15em), 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.clients li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: rgba(238, 242, 246, .84); }
.quals { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.quals li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
.prose .quals { list-style: none; padding-left: 0; }   /* .prose の中（サービス案内の対応エリア）でも黒丸と行の間を付けない */
.prose .quals li + li { margin-top: 0; }

/* お知らせ */
.newslist { border-top: 1px solid var(--line); }
.newslist li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.newslist time { font-size: 13px; color: var(--steel); letter-spacing: .1em; }
.newslist p { font-size: 16px; line-height: 1.8; }

/* サイトマップ */
.smap { display: grid; gap: 30px; }
.smap h2 { font-weight: 500; font-size: 17px; letter-spacing: .06em; margin-bottom: 10px; color: var(--steel); }
.smap ul { border-top: 1px solid var(--line); }
.smap li { border-bottom: 1px solid var(--line); }
.smap a { display: block; padding: 11px 0; font-size: 15.5px; text-decoration: none; }
.smap a:hover { text-decoration: underline; text-underline-offset: 4px; }
.smap li li a { padding-left: 1.2em; font-size: 14.5px; color: rgba(238, 242, 246, .84); }
.smap li ul { border-top: 1px solid var(--line); }
.smap li li:last-child { border-bottom: 0; }

/* 送信完了・404 */
.done > * { max-width: 40em; }   /* 箱は .wrap のまま＝本文の左がほかのページとそろう */
.done p { font-size: 16px; line-height: 1.95; color: rgba(238, 242, 246, .88); }
.done p + p { margin-top: .9em; }
.done__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }

/* ---------- コラム ---------- */
.mlist__grid, .art__grid { display: grid; gap: 48px; }
.mnav { display: grid; gap: 28px; align-content: start; }
.mnav__t { font-weight: 500; font-size: 13px; letter-spacing: .16em; color: var(--steel); margin-bottom: 10px; }
.mnav ul { border-top: 1px solid var(--line); }
.mnav li { border-bottom: 1px solid var(--line); }
.mnav a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; font-size: 14.5px; text-decoration: none; }
.mnav a[aria-current] { color: #fff; font-weight: 700; }
.mnav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mnav__n { font-size: 12px; color: var(--steel); }
.mnav__arch > li { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.mnav__arch > li > ul { grid-column: 1 / -1; border-top: 0; }
.mnav__arch li li { border-bottom: 0; }
.mnav__arch li li a { padding: 4px 0 4px 1.2em; font-size: 13.5px; color: rgba(238, 242, 246, .8); }
.art__dates { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 26px; font-size: 13px; color: var(--steel); letter-spacing: .06em; }
.art__pager { display: grid; gap: 10px; margin-top: 48px; max-width: 46em; }
.art__pg { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 4px; text-decoration: none; font-size: 15px; line-height: 1.6; }
.art__pg:hover { border-color: var(--paper); }
.art__pgk { font-size: 12px; color: var(--steel); letter-spacing: .12em; }
.art__rel { margin-top: 48px; max-width: 46em; }
.art__relt { font-weight: 500; font-size: 18px; margin-bottom: 8px; }

/* ---------- フォーム（会社・採用で共通の部品。jnt-form.js が使う id・class は変えない） ---------- */
.fm { max-width: 760px; }
.lib-form-flow__list { display: flex; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: fl; }
.lib-form-flow__list li { counter-increment: fl; flex: 1; padding: 10px 8px; border-radius: 4px; text-align: center; font-size: 13px; line-height: 1.4; border: 1px solid var(--line-2); color: var(--steel); }
.lib-form-flow__list li::before { content: counter(fl) ". "; }
.lib-form-flow__list li[aria-current] { background: var(--paper); color: var(--ink); border-color: var(--paper); font-weight: 700; }
.fm__row { display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fm__row:first-child { border-top: 1px solid var(--line); }
.fm__label { font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.fm__req { display: inline-block; font-size: 11.5px; font-weight: 700; line-height: 1.6; padding: 0 7px; border-radius: 2px; background: #C8443A; color: #fff; letter-spacing: .08em; }
.fm__opt { display: inline-block; font-size: 11.5px; line-height: 1.6; padding: 0 7px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--steel); }
.fm__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fm__zip { display: flex; align-items: center; gap: 8px; }
.fm__zip input { width: 6.5em; }
.fm__sub { display: grid; gap: 4px; font-size: 13px; color: var(--steel); }
.fm input[type="text"], .fm input[type="tel"], .fm input[type="email"], .fm select, .fm textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid rgba(238, 242, 246, .35); border-radius: 4px;
  background: rgba(238, 242, 246, .04); color: var(--paper); font: inherit; font-size: 16px; line-height: 1.6;
}
.fm textarea { min-height: 180px; resize: vertical; }
.fm select { appearance: auto; }
.fm select option { color: #07080B; }
.fm input:focus, .fm select:focus, .fm textarea:focus { outline: 2px solid var(--blue-hi); outline-offset: 1px; border-color: transparent; }
.fm__hint { font-size: 12.5px; color: var(--steel); }
.fm__agree { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.7; }
.fm__agree input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.fm__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.fm__btns .col { margin: 0; }
.lib-link__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; min-height: 54px; padding: 0 28px; border-radius: 4px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .1em; cursor: pointer; }
.lib-link__btn.--WHT { background: transparent; color: var(--paper); border-color: var(--line-2); }
.lib-link__btn:disabled { opacity: .45; cursor: not-allowed; }
.fm .jnt-form__confirm-list dd { border-bottom-color: var(--line); }
.jnt-form__note { color: var(--steel); }
.fm__noscript { margin: 1.5rem 0; padding: 1rem 1.25rem; border: 2px solid #c0392b; line-height: 1.8; }

/* ---------- 採用の下層（明るいスタジオ） ---------- */
.rc.sub .pghero { padding: 92px 0 54px; border-bottom: 0; }  /* 下の余白は、線の上端（下端から 39px）より 15px 下まで */
.rc.sub .pghero::before { left: var(--lx); border-width: var(--lw); border-color: #fff; height: 40px; bottom: -1px; filter: drop-shadow(0 1px 1.5px rgba(0, 38, 64, .28)); -webkit-mask-image: none; mask-image: none; }
.rc.sub .pghero__in { max-width: 1320px; margin: 0; padding: 0 var(--gut) 0 var(--tx); }
.rc .crumbs ol { color: #4A535E; }
.rc .crumbs a { color: #1F252C; }
.rc .crumbs [aria-current] { color: #4A535E; }
.rc .pghero__k { color: var(--ink); font-weight: 700; }
.rc .pghero__title { font-weight: 800; font-size: 36px; line-height: 1.3; letter-spacing: .03em; }
.rc .pghero__lead { color: #1F252C; }
.rc .pghero__ph { margin-left: var(--tx); border-radius: 14px; background: var(--studio); }
.rc.sub .rs { padding: 64px 0; }
.rc.sub .rs + .rs { border-top: 1px solid rgba(7, 8, 11, .1); }
.rc .prose { color: #1F252C; }
.rc .prose h2, .rc .prose h3 { color: var(--ink); }
.rc .prose h2 { border-bottom-color: rgba(7, 8, 11, .2); }
.rc .prose strong { color: var(--ink); }
.rc .note { color: #4A535E; }

/* 区分・シフト・キャリア（職種紹介） */
.klass { border-top: 1px solid rgba(7, 8, 11, .15); }   /* .tline と同じ細い罫線の表（左に区分・右に業務名） */
.klass__i { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(7, 8, 11, .12); }
.klass__i dt { font-weight: 800; font-size: 16px; line-height: 1.7; }
.klass__i dd { font-size: 15px; line-height: 1.7; color: #2C333B; }
.tline { margin-top: 16px; border-top: 1px solid rgba(7, 8, 11, .15); }
.tline li { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(7, 8, 11, .12); font-size: 15px; line-height: 1.7; }
.tline .en { font-weight: 700; font-size: 15px; }
.shift2 { display: grid; gap: 18px; }
.shift2__i { padding: 24px 22px; border-radius: 14px; color: var(--ink); }
.shift2__i--day { background: var(--g); }
.shift2__i--night { background: var(--v); }
.shift2__i h3 { font-weight: 800; font-size: 17px; line-height: 1.6; }
.shift2__i .tline { border-top-color: rgba(7, 8, 11, .25); }
.shift2__i .tline li { border-bottom-color: rgba(7, 8, 11, .18); }
.shift2__k { font-size: 13px; font-weight: 700; margin-top: 12px; }

/* 社員紹介 */
.mem { display: grid; gap: 16px; }
.mem__a { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); }
.mem__a:hover { box-shadow: 0 0 0 2px var(--ink); }
.mem__ph { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--studio); }
.mem__ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.mem__k { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }
.mem__name { font-weight: 800; font-size: 20px; line-height: 1.4; }
.mem__text { margin-top: 2px; font-size: 13.5px; line-height: 1.7; color: #2C333B; }
.iv__ph { margin: 0 var(--gut) 0 var(--tx); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--studio); }
.iv__ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.iv__cap { margin: 8px var(--gut) 0 var(--tx); font-size: 12px; color: #4A535E; }
.qbox + .qbox { margin-top: 44px; }
.qbox__q { position: relative; font-weight: 800; font-size: 21px; line-height: 1.5; letter-spacing: .02em; padding-left: 1.7em; }
.qbox__q::before { content: "Q"; position: absolute; left: 0; top: -.05em; font-family: var(--en); font-stretch: 125%; font-weight: 700; color: var(--deep); }
.qbox__a { margin-top: 14px; max-width: 40em; }
.qbox__a p { font-size: 16px; line-height: 1.95; color: #1F252C; }
.qbox__a p + p { margin-top: .8em; }

/* 数字で見る */
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nums__i { padding: 20px 18px 18px; border-radius: 14px; background: #fff; }
.nums__i:nth-child(3n+1) { box-shadow: inset 0 6px 0 var(--v); }
.nums__i:nth-child(3n+2) { box-shadow: inset 0 6px 0 var(--c); }
.nums__i:nth-child(3n) { box-shadow: inset 0 6px 0 var(--g); }
.nums dt { font-weight: 700; font-size: 14px; }
.nums dd { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; }
.nums__vu { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }   /* 数字と単位を折らない */
.nums__v { font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: .01em; }
.nums__u { font-weight: 800; font-size: 16px; }
.nums__note { flex-basis: 100%; font-size: 12px; color: #4A535E; }
.nums__g { display: inline-flex; align-items: baseline; gap: 4px; }
.nums dd.nums__gd { column-gap: 26px; }   /* 男女比の2つの間（右の余白にすると1枠の最小の幅が広がる） */
.nums__gk { font-weight: 700; font-size: 14px; margin-right: 4px; }
.nums__asof { margin-top: 14px; font-size: 13px; color: #4A535E; }

/* 採用のフォーム：明るい地 */
.rc .lib-form-flow__list li { border-color: rgba(7, 8, 11, .25); color: #4A535E; }
.rc .lib-form-flow__list li[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.rc .fm__row { border-color: rgba(7, 8, 11, .14); }
.rc .fm input[type="text"], .rc .fm input[type="tel"], .rc .fm input[type="email"], .rc .fm select, .rc .fm textarea { background: #fff; color: var(--ink); border-color: rgba(7, 8, 11, .3); }
.rc .fm input:focus, .rc .fm select:focus, .rc .fm textarea:focus { outline-color: var(--ink); }
.rc .fm__hint, .rc .fm__sub, .rc .jnt-form__note { color: #4A535E; }
.rc .fm__opt { border-color: rgba(7, 8, 11, .3); color: #4A535E; }
.rc .lib-link__btn { background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 999px; }
.rc .lib-link__btn.--WHT { background: #fff; color: var(--ink); border-color: rgba(7, 8, 11, .35); }
.rc .done p { color: #1F252C; }

/* フッターの公式アカウント（Facebook はリンクだけ・SDK は読まない） */
.ft__sns { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.ft__sns a { color: rgba(238, 242, 246, .84); text-underline-offset: 4px; }

@media (min-width: 900px) {
  .pghero { padding: 150px 0 72px; }
  .pghero--ph .pghero__in { display: block; max-width: 1240px; padding-right: calc(40% + 40px); }
  .pghero__ph { position: absolute; right: var(--gut); top: 120px; bottom: 56px; width: 36%; margin: 0; aspect-ratio: auto; }
  .pghero--ph { min-height: 560px; }   /* リードの無いページでも写真の枠が潰れない（写真の高さ 約384px） */
  .pghero__title { font-size: 48px; line-height: 1.3; }
  .pghero__lead { font-size: 17px; }
  .sub .sec { padding: 96px 0; }
  .sub .sec__title { font-size: 36px; }
  .items__i { grid-template-columns: 1fr 300px; column-gap: 48px; align-items: start; padding: 40px 0; }
  .items__i > * { grid-column: 1; }
  .items__i > .items__ph { grid-column: 2; grid-row: 1 / span 4; }
  .items__i::before { top: 54px; }
  .items__i::after { top: 57px; }
  .facts2 { grid-template-columns: repeat(3, 1fr); }
  .greet { grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
  .greet__ph { width: 200px; }
  .bigq { font-size: 34px; }
  .smap { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .mlist__grid, .art__grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
  .mlist__grid > .mnav, .art__grid > .mnav { position: sticky; top: 110px; }
  .art__pager { grid-template-columns: 1fr 1fr; }
  .art__pg--next { grid-column: 2; text-align: right; }
  .fm__row { grid-template-columns: 13em 1fr; gap: 20px; align-items: start; }
  .fm__label { padding-top: 10px; }
  .rc.sub .pghero { padding: 140px 0 60px; }
  .rc .pghero__title { font-size: 56px; }
  .rc.sub .rs { padding: 96px 0; }
  .shift2 { grid-template-columns: 1fr 1fr; gap: 22px; }
  .mem { grid-template-columns: repeat(3, 1fr); }
  .mem__a { grid-template-columns: 1fr; padding: 16px; }
  .nums { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .nums__v { font-size: 60px; }
  .iv__ph { max-width: 1000px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .pghero--ph .pghero__in { padding-right: calc(42% + 20px); }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.privacy .helpDesk { margin: 1em 0; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 4px; }
.privacy .helpDesk h3 { margin: 0 0 4px; font-size: 16px; }
.privacy .sign { margin-top: .6em; text-align: right; color: var(--steel); font-size: 14px; }
.privacy ol { list-style: decimal; }
fieldset.fm__row { margin: 0; min-width: 0; border: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
fieldset.fm__row:first-child { border-top: 1px solid var(--line); }
.rc fieldset.fm__row { border-color: rgba(7, 8, 11, .14); }
legend.fm__label { padding: 0; float: left; width: 100%; margin-bottom: 8px; }
legend.fm__label + div { clear: both; }
@media (min-width: 900px) {
  legend.fm__label { width: 13em; margin: 0 20px 0 0; }
  legend.fm__label + div { clear: none; overflow: hidden; }
}
.mem__k, .mem__name, .mem__text { display: block; }
.mlist__main, .art__main { min-width: 0; }
.prose pre, .prose code { white-space: pre-wrap; word-break: break-all; }
.prose a { overflow-wrap: anywhere; }

/* サービス案内の見出し＝キャッチコピー（1文ずつ3行・3行目に差し色） */
.pghero__l { display: block; }
.pghero__l--accent { color: var(--blue-hi); }

/* ---------- PC の点検の直し（2026-10-14） ---------- */
/* V1-10・V2-5：箇条書き・表・定義の語も文節で折る（style.css は design/merge の写しなので触らず、ここで足す。Chromium だけで効く） */
li, dt, th, td, figcaption { word-break: auto-phrase; }
/* V2-29：コラムの一覧の「最終更新」は常に2行目 */
.posts__upd { flex-basis: 100%; }
/* V2-20：記事の題名（見出し・一覧）が2〜3行になるときは、行の長さをそろえて最後の行に2〜3字だけ残さない */
.posts__title, .pghero__title { text-wrap: balance; }
/* X17：採用のフッター（暗い地）でもフォーカスの枠が見える色に */
.rc .ft :focus-visible { outline-color: var(--blue-hi); }
@media (max-width: 899px) {
  /* V1-1：トップの2つ目の場面の字を、3D の弧と緑の尾から読めるように縁取る（3D の作りは変えない） */
  .act--name .lab, .act--name .name, .act--name .act__text { text-shadow: 0 0 2px rgba(7, 8, 11, .95), 0 0 10px rgba(7, 8, 11, .9), 0 0 22px rgba(7, 8, 11, .7); }
  /* V1-1（2回目）：縁取りだけでは弧が字を横切るので、字の塊の後ろに薄い幕を敷く。縁は透明まで落とす＝塊の外の弧と尾はそのまま。
     幕は .act__in の中＝boot.js の文字の薄れと一緒に消える */
  .act--name .act__in { position: relative; isolation: isolate; }
  .act--name .act__in::before {
    content: ""; position: absolute; left: 0; right: 0; top: -70px; bottom: calc(var(--dock) - 10px); z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 70% 50% at 32% 50%, rgba(7, 8, 11, .78) 0, rgba(7, 8, 11, .7) 45%, rgba(7, 8, 11, .4) 75%, rgba(7, 8, 11, 0) 100%);
  }
  /* V1-4：ページの見出しの語（プライバシーポリシー など）が1行に入る大きさ */
  .pghero__title { font-size: min(32px, 7.6vw); }
  /* V2-3：採用トップの斜めの帯の字を、画面の右端から 16px 以上内側に収める（帯のはみ出し 0.12×(幅−58px) の分を空ける） */
  .rc .tp { padding-right: calc(12vw + 10px); }
  /* V2-8：数字で見るの数字と単位が、2列の1枠（390 で中 124px）に1行で入る大きさ */
  .nums__v { font-size: min(44px, 9.2vw); }
}
/* V2-8（2回目）：360px 未満は2列に入らない（男女比の「男性 90％」と「設立 2007年12月から」が1枠の幅を超える）ので1列に */
@media (max-width: 359px) {
  .nums { grid-template-columns: 1fr; }
}
/* ---------- 社長の決定の反映（2026-10-14） ---------- */
/* 人数を戻す：サービス案内のヒーローの数字（bm/site のヒーローの4つ・2列×2段）と、教育の段の4枚（22時間・12時間・25名・10億円） */
.pghero__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; max-width: 36em; }
.pghero__nums .facts2__i { padding: 16px 16px 14px; }
.pghero__nums .facts2__v { font-size: 28px; }
.pghero__nums .facts2__k { font-size: 12.5px; }
@media (min-width: 900px) {
  .facts2.pghero__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts2--4 { grid-template-columns: repeat(4, 1fr); }
}
/* 検証役の気づき（2026-10-14）
   (c) 記事の「前の記事」「次の記事」の題名も、見出しと同じく文節で折り、最後の行に2〜3字だけ残さない（「｜」の前の U+2060 は build_site.py の disp_title で入っている） */
.art__pgt { word-break: auto-phrase; text-wrap: balance; }
/* (a) 320px の横スクロール：原因は .dock・.rdock ではなく、トップのサービスの説明（li の文節折り＝V1-10 で長い文節が 126px の枠を超える）と、
   採用トップの夜勤の時刻（44px・折らない「20:00–翌5:00」が 262px の枠を超える）。360px 未満だけ直す（ほかの幅は変えない） */
@media (max-width: 359px) {
  .svc__text { word-break: normal; }
  .sh__time { font-size: 11vw; }
}
/* 社長の決定（2026-10-14）：900〜1339px の横スクロール（実測）
   採用トップ：日勤・夜勤の2列（1fr 1fr）の最小幅を、折らない時刻（76px）が決めていた。日勤の「8:00–17:00」は 76px で 502px
   （字の大きさの 6.61 倍）、日勤の枠の中は「画面の半分 − 左 var(--tx) 112px − 右 56px」＝画面の幅 1340px 未満で足りず、2列が 1339px に広がる。
   この幅の帯だけ、時刻の字を画面の幅に合わせて小さくする（6.65 倍と 65px＝右の 56px＋縦のスクロールバーの分 9px で余裕を取る）。
   上の端は 1359px：スクロールバーのあるブラウザ（Windows の 15px）では画面の幅 1354px まで横スクロールが出るため。1360px 以上と 899px 以下は変えない */
@media (min-width: 900px) and (max-width: 1359px) {
  .sh__time { font-size: min(76px, calc((50vw - var(--tx) - 65px) / 6.65)); }
}
/* トップ：サービスの段の説明（li の文節折り＝V1-10）の長い文節が枠を超え、画面の幅 900〜904px（スクロールバーありは 900〜919px）で
   文書の幅が 903〜905px になる。320px と同じく、この幅の帯だけ説明を文字で折る */
@media (min-width: 900px) and (max-width: 929px) {
  .svc__text { word-break: normal; }
}

/* ───────── 第2弾（2026-10-15）社長の答え：トップの 3D の舞台の下を白い地に ─────────
   社長の答え：いまいちなのは「色・雰囲気・スマホ」／色は「白基調で明るく」／雰囲気は「攻めたかっこよさ」／最初の画面（3D）は残す。
   最初の版（3D の舞台は暗いまま）の後、社長が明るい試作と見比べて「明るい版にする」と決めた（同日）＝下の「3D の舞台も明るく」。スマホの連絡の帯・フッターは黒のまま。
   色は会社の青（#0082C8）と黒い字だけ。白い一筋は青い1本の線に。意味のない勾配はやめて、線と面は塗りつぶしにする。
   design/merge は変えない（ここで上書き）。最初はトップだけ（社長「先にトップだけ見たい」）、同日「全部そろえて」で会社の下層（.sub:not(.rc)）にも同じ決まりを当てた */
:is(.top, .sub:not(.rc)) .sec {
  --ink2: #0B0D12;      /* 白い地の字 */
  --sub: #4F5862;       /* 白い地の小さな字（白に対して 7:1） */
  --line: rgba(11, 13, 18, .12);
  --line-2: rgba(11, 13, 18, .32);
  --steel: #59626D;
  background: #fff; color: var(--ink2);
}
:is(.top, .sub:not(.rc)) .sec :focus-visible { outline-color: var(--blue); }
:is(.top, .sub:not(.rc)) .sec .ph { background: var(--studio); }

/* 線（舞台の白い一筋 → 下の段では青い1本） */
:is(.top, .sub:not(.rc)) .spine::before { background: var(--blue); box-shadow: none; }
:is(.top, .sub:not(.rc)) .services::before { background: none; border-color: var(--blue); }
:is(.top, .sub:not(.rc)) .spine .sec__head .lab::before { background: #fff; border-color: var(--blue); }
:is(.top, .sub:not(.rc)) .facts.spine .sec__head .lab::before { background: #F2F4F7; }

/* 見出し：大きく太く。駅の言葉は青 */
:is(.top, .sub:not(.rc)) .sec .lab, :is(.top, .sub:not(.rc)) .spine .sec__head .lab:not(.en) { color: var(--blue); font-weight: 700; }
:is(.top, .sub:not(.rc)) .sec__title { font-weight: 700; font-size: min(36px, calc((100vw - 64px) / 8.6));  /* 320px で「ジェイエヌティが」（8字・折れない文節）が枠を超えた＝狭い画面だけ小さく */
   line-height: 1.25; letter-spacing: .01em; padding-bottom: 18px; }
:is(.top, .sub:not(.rc)) .sec__title::after { left: 0; right: auto; width: 56px; height: 4px; background: var(--blue); }
:is(.top, .sub:not(.rc)) .spine .sec__title::after { left: calc(var(--lx) - var(--tx) + 2px); width: calc(var(--tx) - var(--lx) + 56px); height: 2px; }
:is(.top, .sub:not(.rc)) .sec__lead { color: var(--sub); }
:is(.top, .sub:not(.rc)) .sec .more { border-color: var(--line-2); }
:is(.top, .sub:not(.rc)) .sec .more:hover { color: var(--blue); border-color: var(--blue); }
:is(.top, .sub:not(.rc)) .sec .btn:not(.btn--ink):not(.btn--line) { border-color: var(--line-2); color: var(--ink2); }
:is(.top, .sub:not(.rc)) .sec .btn:not(.btn--ink):not(.btn--line):hover { border-color: var(--ink2); }

/* 警備の仕事 */
:is(.top, .sub:not(.rc)) .svc__item::before { background: var(--blue); }
:is(.top, .sub:not(.rc)) .svc__item::after { background: var(--blue); opacity: .5; }
:is(.top, .sub:not(.rc)) .svc__tag { background: var(--blue); color: #fff; }
:is(.top, .sub:not(.rc)) .svc__name { font-weight: 700; }
:is(.top, .sub:not(.rc)) .svc__text { color: var(--sub); font-size: 15px; }
:is(.top, .sub:not(.rc)) .svc__go { color: var(--ink2); font-weight: 500; }
:is(.top, .sub:not(.rc)) .svc__link:hover .svc__name, :is(.top, .sub:not(.rc)) .svc__link:hover .svc__go { color: var(--blue); }
/* 4つの仕事は対等（社長の決定 2026-10-16・きよこさんの声「中心の仕事はいらん。4つ対等で」）＝「中心の仕事」の大きな駅をやめ、4つとも同じ形 */
:is(.top, .sub:not(.rc)) .svc__link { grid-template-columns: 124px 1fr; }
:is(.top, .sub:not(.rc)) .svc__item:nth-child(1) .svc__ph img { object-position: 50% 10%; }  /* shoot-099：顔と止まれの手 */

/* 現場での気づき：2つの言葉を、白い地に黒で大きく。続く文は会社の言葉（2026-10-16・代表挨拶の引用と代表の写真・名前は外した） */
:is(.top, .sub:not(.rc)) .field__q p { color: var(--sub); }
:is(.top, .sub:not(.rc)) .field__say { color: var(--ink2); font-weight: 700; font-size: 26px; }

/* 会社のこと：薄いグレーの面 */
:is(.top, .sub:not(.rc)) .facts { background: #F2F4F7; }
:is(.top, .sub:not(.rc)) .spec dt { color: var(--sub); }
:is(.top, .sub:not(.rc)) .spec__en { color: var(--sub); }

/* 対応エリア：ふつうの地図と同じ色の分け方に（社長の決定 2026-10-16・きよこさんの声「普通海が青」。前は海が白・陸が薄い青）
   ＝海は薄い青（SVG の地）、陸は薄い灰の一色（真っ白だとページの白に溶けて地図の範囲が見えなかった）。本社と地域の点は青 */
:is(.top, .sub:not(.rc)) .area__map { background: #D6E7F5; }
:is(.top, .sub:not(.rc)) .area__map #am-land stop { stop-color: #F1F4F7; }
:is(.top, .sub:not(.rc)) .area__map .am-coast { stroke: var(--blue); stroke-opacity: .55; }
:is(.top, .sub:not(.rc)) .area__map rect[fill="url(#am-core)"] { opacity: 0; }
:is(.top, .sub:not(.rc)) .area__map rect[fill="url(#am-pool)"] { opacity: .25; }  /* 陸を灰にした後、.55 だと本社のまわりの陸が海より青く見えた（レビュー 2026-10-16） */
:is(.top, .sub:not(.rc)) .area__map .am-ring { stroke: var(--ink2); stroke-opacity: .22; }
:is(.top, .sub:not(.rc)) .area__map .am-dot { fill: var(--blue); fill-opacity: 1; }
:is(.top, .sub:not(.rc)) .area__map .am-halo { fill: var(--blue); fill-opacity: .2; }
:is(.top, .sub:not(.rc)) .area__map .am-edo { fill: var(--blue); }
:is(.top, .sub:not(.rc)) .area__map .am-hq { fill: var(--ink2); font-weight: 700; }
:is(.top, .sub:not(.rc)) .area__map .am-pref { fill: var(--sub); }
:is(.top, .sub:not(.rc)) .area__big { font-weight: 700; }

/* お役立ち情報 */
:is(.top, .sub:not(.rc)) .posts__title { font-weight: 700; }
:is(.top, .sub:not(.rc)) .posts__link:hover .posts__title { color: var(--blue); }

/* 採用への入口：グレーのスタジオの面はそのまま。線と終点を青に */
:is(.top, .sub:not(.rc)) .recruit__cta::before { background: var(--blue); box-shadow: none; }
:is(.top, .sub:not(.rc)) .recruit__cta::after { background: var(--blue); box-shadow: none; }
:is(.top, .sub:not(.rc)) .recruit__end { background: var(--blue); box-shadow: 0 0 0 5px rgba(0, 130, 200, .22); }

/* 連絡：電話番号を黒で大きく */
:is(.top, .sub:not(.rc)) .contact__num { color: var(--ink2); font-weight: 600; }
:is(.top, .sub:not(.rc)) .contact__tel:hover .contact__num { color: var(--blue); }
:is(.top, .sub:not(.rc)) .contact__k, :is(.top, .sub:not(.rc)) .contact__hours, :is(.top, .sub:not(.rc)) .contact__note { color: var(--sub); }

@media (min-width: 900px) {
  :is(.top, .sub:not(.rc)) .sec__title { font-size: 64px; line-height: 1.2; letter-spacing: 0; }
  /* 4つの仕事は対等（2026-10-16）：左の線から出た横の枝に、同じ大きさの駅を並べる。狭い PC（900〜1179px）は2つずつ2段で、
     段ごとに左の線から枝が出る。広い PC は4つを1段（下の 1180px）。前の「中心の仕事は大きな駅・ほか3つは支線」の形はやめた */
  :is(.top, .sub:not(.rc)) .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 72px; }
  :is(.top, .sub:not(.rc)) .svc::before { content: none; }
  :is(.top, .sub:not(.rc)) .svc__item:not(.svc__item--main) { grid-column: auto; padding: 40px 0 0; }
  :is(.top, .sub:not(.rc)) .svc__item:not(.svc__item--main)::after { left: 0; top: 0; bottom: auto; width: calc(100% + 40px); height: 1.5px; background: var(--blue); opacity: 1; }
  :is(.top, .sub:not(.rc)) .svc__item:nth-child(odd)::after { left: calc(var(--lx) - var(--tx) + 2px); width: calc(100% + 40px - var(--lx) + var(--tx) - 2px); }
  :is(.top, .sub:not(.rc)) .svc__item:nth-child(even)::after { width: 100%; }
  :is(.top, .sub:not(.rc)) .svc__item:not(.svc__item--main)::before { left: -5.5px; top: -4.75px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: none; }
  :is(.top, .sub:not(.rc)) .svc__link { grid-template-columns: 1fr; gap: 22px; }
  :is(.top, .sub:not(.rc)) .svc__ph { aspect-ratio: 4 / 3; }
  :is(.top, .sub:not(.rc)) .svc__name { font-size: 26px; font-weight: 700; }
  :is(.top, .sub:not(.rc)) .field__say { font-size: 52px; line-height: 1.3; }
  :is(.top, .sub:not(.rc)) .area__big { font-size: 30px; }
  /* 電話番号は1行で（1024px で2行に折れていた＝第1弾の気づき）。列の幅に合わせて字を小さくする（番号の幅は字の約 9.4 倍） */
  :is(.top, .sub:not(.rc)) .contact__num { font-size: min(64px, 4.6vw); white-space: nowrap; }
  :is(.top, .sub:not(.rc)) .contact .sec__title { font-size: 48px; }
}
@media (min-width: 1180px) {
  /* 警備の仕事：広い PC は4つを1段（左の線から出た1本の枝に4つの駅） */
  :is(.top, .sub:not(.rc)) .svc { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
  :is(.top, .sub:not(.rc)) .svc__item:not(.svc__item--main)::after { width: calc(100% + 32px); }
  :is(.top, .sub:not(.rc)) .svc__item:nth-child(1)::after { left: calc(var(--lx) - var(--tx) + 2px); width: calc(100% + 32px - var(--lx) + var(--tx) - 2px); }
  :is(.top, .sub:not(.rc)) .svc__item:nth-child(3)::after { left: 0; width: calc(100% + 32px); }
  :is(.top, .sub:not(.rc)) .svc__item:nth-child(4)::after { width: 100%; }
  :is(.top, .sub:not(.rc)) .svc__ph { aspect-ratio: 4 / 5; }
  /* shoot-043：縦長の枠では顎と首が入った（レビュー 2026-10-16）＝下に寄せて少し拡大し、襟・記章・胸ポケットだけに */
  :is(.top, .sub:not(.rc)) .svc__item:nth-child(2) .svc__ph img { object-position: 50% 100%; transform: scale(1.15); transform-origin: 50% 100%; }
  :is(.top, .sub:not(.rc)) .svc__name { font-size: 24px; }
}
@media (max-width: 359px) {
  /* 4つとも写真＋文の2列になったので、320〜331px で「交通誘導警備」（折れない1文節・約126px）が右に 12px はみ出した（レビュー 2026-10-16）
     ＝写真をデザインのもとの 112px に戻す */
  :is(.top, .sub:not(.rc)) .svc__link { grid-template-columns: 112px 1fr; }
}
@media (max-width: 379px) {
  /* 360px（よくある Android の幅）でも説明文の文節が折れずに 14px はみ出していた（前からの物・レビュー 2026-10-16 で見つけた）
     ＝359px 以下だけだった普通の折り返しを、説明文だけ 379px まで広げる */
  :is(.top, .sub:not(.rc)) .svc__text { word-break: normal; }
}

/* ───────── 第2弾（2026-10-15）社長の決定：3D の舞台も明るく ─────────
   社長「トップも明るいほうがいいんでは？」→ 今の暗い版と明るい試作を並べて見比べ、「明るい版にする」。
   3D（merge3d.js）と止まった絵（poster）は暗いスタジオ用に作ってある（光は足し合わせ）。中身は変えず、出来上がった絵を
   色の反転＋色相 192° 回しで明るいスタジオに置き換える：黒い地 → 白、白い光の一筋 → 黒い線、球の青と尾の三色はほぼそのまま。
   192° と 1.7 は、180°・192°・200° を並べて撮り、球が会社の青（#0082C8）にいちばん近いものを選んだ。構図・場面・文は変えない
   → 同日、社長「PC はなんかなー、スマホは日本が見えない」（反転の絵は球が淡く、日本が薄い）→「3D を明るい場所向けに作り直す」。
     merge3d.js を明るいスタジオで描く作りに直し（青い陽極酸化の球・白い梨地の日本・ガラスの弧・墨の一筋・三色の帯）、止まった絵も書き出し直したので、
     色の反転（filter）は外した。下の .shade は舞台の上下を白へ溶かすだけ */
html:has(body.top) { background: #fff; }
.top .stage__pin { background: #fff; }
.top .shade {
  /* 明るいスタジオ（2026-10-15）：上の白い幕は短く（濃い青の球の上端を白く濁らせない）。メニューのボタンは下の白い地で読ませる */
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, .7) 0, rgba(255, 255, 255, .2) 44px, rgba(255, 255, 255, 0) 80px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .62) 76%, rgba(255, 255, 255, .94) 90%, #fff 100%);
}
.top .stage { color: #0B0D12; }
.top .stage .split { background-image: 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='%230B0D12' 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"); }
.top .hero__t1, .top .hero__lead, .top .act__text { color: #2A3038; }
.top .kicker, .top .hero__note, .top .stage .lab { color: #4F5862; }
.top .hero__title { font-weight: 500; }
.top .stage .btn { border-color: rgba(11, 13, 18, .32); color: #0B0D12; }
.top .stage .btn:hover { border-color: #0B0D12; }
.top .stage .btn--tel { background: #0B0D12; color: #fff; border-color: #0B0D12; }
.top .stage .btn--tel:hover { background: #1A1F26; }
.top .hero__job { background: rgba(255, 255, 255, .72); border-color: rgba(11, 13, 18, .3); }
.top .hero__job:hover { border-color: #0B0D12; }
.top .hero__job-k { background: var(--blue); color: #fff; }
.top .hero__job-v { color: #0B0D12; }
.top .stage .more { border-color: rgba(11, 13, 18, .32); }
.top .stage .more:hover { border-color: var(--blue); color: var(--blue); }
.top .stage :focus-visible { outline-color: var(--blue); }
.top .act--name .lab, .top .act--name .name, .top .act--name .act__text { text-shadow: 0 0 2px rgba(255, 255, 255, .95), 0 0 10px rgba(255, 255, 255, .9), 0 0 22px rgba(255, 255, 255, .7); }

/* ヘッダー：舞台の上は白い地に溶かし、舞台を過ぎたら白い帯（ロゴは色付き＝build_site.py の TOP_TEXT_FIX） */
.top .gh { background: linear-gradient(to bottom, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .55) 60%, rgba(255, 255, 255, 0) 100%); color: #0B0D12; }
.top .gh.is-solid { background: #fff; border-bottom: 1px solid rgba(11, 13, 18, .1); }
.top .gh__menu summary { border-color: rgba(11, 13, 18, .3); background: rgba(255, 255, 255, .9); }
.top .gh__drawer { background: #fff; border-color: rgba(11, 13, 18, .12); box-shadow: 0 8px 24px rgba(11, 13, 18, .12); }
.top .gh__drawer a:hover { background: rgba(0, 130, 200, .08); }
@media (min-width: 900px) {
  .top .gh__nav a { color: #2A3038; }
  .top .gh__nav a:hover { color: var(--blue); }
  .top .gh__tel { color: #0B0D12; }
  .top .gh__tel .en { color: #4F5862; }
  .top .shade {
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, .6) 60px, rgba(255, 255, 255, 0) 130px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .7) 90%, #fff 100%);
  }
}
@media (max-width: 899px) {
  /* スマホの2つ目の場面の字の後ろの幕（V1-1）も白に（暗い幕のままだと白い地に黒い雲が出る） */
  .top .act--name .act__in::before { background: radial-gradient(ellipse 70% 50% at 32% 50%, rgba(255, 255, 255, .82) 0, rgba(255, 255, 255, .72) 45%, rgba(255, 255, 255, .4) 75%, rgba(255, 255, 255, 0) 100%); }
}

/* ───────── 第2弾（2026-10-15）社長の答え：スマホの動き「3D が長い」「出だしが遅い・切り替わる」 ─────────
   (1) スマホの 3D は最初の1画面だけ：2つ目（社名）・3つ目（キャッチコピー）の場面を、3D の上を流れる白い面にする
       （前は約2画面半スクロールしないと「警備の仕事」が出なかった）。3D は最初の場面のまま止める（boot.js・build_site.py）。
       boot.js は上へ流れる文字を薄くする（fadeText）が、白い面の文は読ませたいので消さない
   (2) 開いた時から、導入の後の止まった絵（poster--final）を出す（前はぼんやりした導入の始まりの絵 → 3.2 秒の導入）。導入の動きも省く（merge3d.js） */
@media (max-width: 899px) {
  .js .top .poster--pre { opacity: 0; }
  .top .poster--final { opacity: 1; }
  .top .act { height: auto; position: relative; z-index: 3; background: #fff; display: block; }
  .top .act__in { opacity: 1 !important; padding: 64px var(--gut) 64px; }
  .top .act--name .act__in::before { display: none; }
  .top .act--name .lab, .top .act--name .name, .top .act--name .act__text { text-shadow: none; }
  .top .act--name { padding-top: 8px; }
  .top .act--creed .act__in { padding-top: 24px; padding-bottom: 88px; }
  .top .creed { font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
  .top .act--creed .act__body { margin-top: 26px; }
}

/* ───────── 第2弾（2026-10-15）社長の決定「全部そろえて」：会社の下層ページも白い地に ─────────
   色の言葉（--paper＝字・--ink＝地 ほか）を main の中だけ白い地用に入れ替える＝デザインの部品はそのまま白い地で読める。
   ヘッダーは白い帯（ロゴは色付き＝build_site.py の corp_parts）。フッターとスマホの連絡の帯は黒のまま（トップと同じ）。
   色を直に書いてある部品（明るい字の rgba(238,242,246,…) ほか）は下で1つずつ白い地用に */
html:has(body.sub:not(.rc)) { background: #fff; }
body.sub:not(.rc) { background: #fff; }
body.sub:not(.rc) main {
  --paper: #0B0D12; --ink: #fff; --graphite: #F2F4F7; --steel: #59626D; --blue-hi: #0082C8;
  --line: rgba(11, 13, 18, .12); --line-2: rgba(11, 13, 18, .32);
  --ink2: #0B0D12; --sub: #4F5862;
  background: #fff; color: #0B0D12;
}
body.sub:not(.rc) .gh { background: #fff; border-bottom: 1px solid rgba(11, 13, 18, .1); color: #0B0D12; }
body.sub:not(.rc) .gh__menu summary { border-color: rgba(11, 13, 18, .3); }
body.sub:not(.rc) .gh__drawer { background: #fff; border-color: rgba(11, 13, 18, .12); box-shadow: 0 8px 24px rgba(11, 13, 18, .12); }
body.sub:not(.rc) .gh__drawer a:hover { background: rgba(0, 130, 200, .08); }
@media (min-width: 900px) {
  body.sub:not(.rc) .gh__nav a { color: #2A3038; }
  body.sub:not(.rc) .gh__nav a:hover, body.sub:not(.rc) .gh__nav a[aria-current] { color: var(--blue); }
  body.sub:not(.rc) .gh__tel { color: #0B0D12; }
  body.sub:not(.rc) .gh__tel .en { color: #4F5862; }
}
/* ページの頭：線は青、見出しは太く大きく */
body.sub:not(.rc) .pghero::before { border-color: var(--blue); }
body.sub:not(.rc) .pghero__title { font-weight: 700; font-size: 34px; line-height: 1.3; letter-spacing: .02em; }
body.sub:not(.rc) .pghero__k { color: var(--blue); font-weight: 700; }
body.sub:not(.rc) .crumbs a { color: #2A3038; }
body.sub:not(.rc) .crumbs [aria-current] { color: #59626D; }
body.sub:not(.rc) .pghero__lead { color: #4F5862; }
@media (min-width: 900px) {
  body.sub:not(.rc) .pghero__title { font-size: 56px; line-height: 1.25; }
  body.sub:not(.rc) .sec__title { font-size: 48px; }
}
/* 本文の部品 */
body.sub:not(.rc) .prose { color: #2A3038; }
body.sub:not(.rc) .prose th { background: #F2F4F7; }
body.sub:not(.rc) .prose strong { color: #0B0D12; }
body.sub:not(.rc) .prose blockquote { color: #4F5862; }
body.sub:not(.rc) .prose a { color: var(--blue); }
body.sub:not(.rc) .items__i::after { background: var(--blue); opacity: .5; }
body.sub:not(.rc) .items__text { color: #4F5862; }
body.sub:not(.rc) .facts2__v { color: #0B0D12; font-weight: 700; }
body.sub:not(.rc) .facts2__k { color: #4F5862; }
body.sub:not(.rc) .faq dd { color: #4F5862; }
body.sub:not(.rc) .creedlist p { color: #4F5862; }
body.sub:not(.rc) .clients li, body.sub:not(.rc) .smap li li a, body.sub:not(.rc) .done p, body.sub:not(.rc) .mnav__arch li li a { color: #2A3038; }
body.sub:not(.rc) .mnav a[aria-current] { color: var(--blue); }
/* フォーム：白い入力欄に黒い字 */
body.sub:not(.rc) .fm input[type="text"], body.sub:not(.rc) .fm input[type="tel"], body.sub:not(.rc) .fm input[type="email"],
body.sub:not(.rc) .fm select, body.sub:not(.rc) .fm textarea { background: #fff; color: #0B0D12; border-color: rgba(11, 13, 18, .3); }

/* ───────── 第2弾（2026-10-15）「全部そろえて」：採用のページ ─────────
   採用のページはもとから明るいスタジオ。暗い地だったのは採用トップの「未経験から、隊長へ」だけ（会社のページの暗い地と対にしていた）＝
   会社のページも白くなったので、ここも明るい面に。白い一筋が見えるよう、真っ白ではなくスタジオの明るいグレー（--studio-hi）。フッター・連絡の帯は黒のまま */
.rc .step { background: var(--studio-hi); color: var(--ink); }
.rc .step .rs__k { color: #4A535E; }
.rc .step .rs__lead, .rc .steps__i p { color: #3A424C; }

/* フッターのグループ会社（ONKS）へのリンク（2026-10-15）：黒いフッターの中で、ほかのリンクと同じ下線の出し方 */
.ft__group a { color: inherit; text-underline-offset: 4px; }
.ft__group a:hover { color: #fff; }

/* 職種紹介のシフト：集合の時刻と勤務時間の注記（社長 2026-10-15「7:30 集合から勤務時間に数える」） */
.shift2__note { margin-top: 8px; font-size: 15px; line-height: 1.75; font-weight: 700; }

/* 採点ループ 2回目（2026-11-02）：ページ内の飛び先（#traffic・#faq・#contact など）が、固定のヘッダー（.gh 60px／78px）の裏に隠れない */
body:not(.rc) [id] { scroll-margin-top: 72px; }
@media (min-width: 900px) { body:not(.rc) [id] { scroll-margin-top: 92px; } }

/* 採用のヘッダー：スマホの「メニュー」（900px 以上は今の横並びのメニューだけ） */
.rh__menu { margin-left: auto; position: static; }   /* 開いた面はヘッダー（.rh＝absolute）基準で右に寄せる＝360px 以下で左にはみ出さない（Codex 11/03） */
.rh__menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 38px; font-size: 13px; letter-spacing: .1em; padding: 0 14px; border: 1px solid rgba(31, 37, 44, .3); border-radius: 999px; color: #1F252C; }
.rh__menu summary::-webkit-details-marker { display: none; }
.rh__menu summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rh__drawer { position: absolute; right: 16px; top: calc(100% + 4px); min-width: 220px; max-width: calc(100vw - 32px); display: grid; background: #fff; border: 1px solid rgba(31, 37, 44, .14); border-radius: 10px; padding: 8px; z-index: 25; }
.rh__drawer a { text-decoration: none; padding: 12px; font-size: 15px; color: #1F252C; }
.rh__menu + .rh__entry { margin-left: 8px; }
@media (min-width: 900px) { .rh__menu { display: none; } }

/* 採点ループ 3回目（2026-11-03）：募集条件の注意書き（日払いの上限・祝金の分割）は応募する人がいちばん知りたい条件＝11.5px から読める大きさに */
.rc .terms__chip { max-width: 30em; font-size: 13px; line-height: 1.65; color: #3A424C; }
/* トップの採用の箱：スマホで「すべての募集要項」の下に色の帯だけの空きが約 300px 出ていた＝帯を細く低く（PC は style.css の上書きのまま） */
@media (max-width: 899px) {
  .top .recruit__body { padding-bottom: 150px; }
  .top .pl { height: 44px; }
  .top .pl--v { bottom: 84px; }
  .top .pl--c { bottom: 36px; }
}

/* 採点ループ 4回目（2026-11-03）：サービス案内の教育の数字は3つに（保険の数字は「補償」の節だけ）・スマホで「約2,000」が割れない・お問い合わせのフォームの上の空き */
@media (min-width: 900px) { .facts2--3 { grid-template-columns: repeat(3, 1fr); } }
.pghero__nums .facts2__v { white-space: nowrap; font-size: clamp(22px, 6.2vw, 28px); }
main.sub > .sec--form { padding-top: 24px; }