/* fable52 — 下層と採用ページの上塗り（今の style.css・pages.css・recruit.css の後に読む）。
   字と色をトップ（top52.css）にそろえる。文・並び・部品の形は今のまま。
   変えるもの：書体／ヘッダーとページの頭を墨の帯に／見出しの太さ（縦の線と駅の点は 11/12 に戻した） */
:root {
  --jp: "IBM Plex Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  --en: "Barlow Semi Condensed", "IBM Plex Sans JP", system-ui, sans-serif;
  --ink52: #0D1014;
}
.en { font-stretch: 100%; font-weight: 600; letter-spacing: .04em; }

/* ヘッダー：トップと同じ墨の帯（白いロゴ） */
body.sub:not(.rc) .gh { background: var(--ink52); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .16); }
body.sub:not(.rc) .gh__menu summary { border-color: rgba(255, 255, 255, .34); min-height: 40px; padding: 0 16px 0 14px; font-weight: 500; }
body.sub:not(.rc) .gh__drawer { background: #1A1F26; border-color: rgba(255, 255, 255, .16); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); color: #fff; }
body.sub:not(.rc) .gh__drawer a:hover { background: rgba(255, 255, 255, .07); }
body.sub:not(.rc) .gh__logo img { height: 26px; }
@media (min-width: 900px) {
  body.sub:not(.rc) .gh__logo img { height: 32px; }
  body.sub:not(.rc) .gh__nav { font-weight: 500; }
  body.sub:not(.rc) .gh__nav a { color: rgba(255, 255, 255, .88); }
  body.sub:not(.rc) .gh__nav a:hover, body.sub:not(.rc) .gh__nav a[aria-current] { color: #3BB2F2; }
  body.sub:not(.rc) .gh__tel { color: #fff; font-stretch: 100%; font-weight: 600; font-size: 21px; letter-spacing: .04em; }
  body.sub:not(.rc) .gh__tel .en { color: #98A2AC; font-size: 12px; }
}

/* 縦の線と駅の点は今の版のまま出す（2026-11-12 社長の決定で戻した＝採点し直しで審査役2人が「ページの背骨」と言った）。
   頭の曲がった線だけ外す（頭は墨の帯と一筋） */
body.sub:not(.rc) .pghero::before { display: none; }

/* 見出し・数字 */
body.sub:not(.rc) .pghero__title { font-weight: 700; letter-spacing: .02em; }
/* 「ページが見つかりません」の見出し（10字を折らない行）が、狭いスマホで右に切れないようにする。
   10字＋字間で 10.2em・左 44px＋右の余白 24px を空ける＝幅 418px 未満だけ小さくなる（360 で約 28px・390 で約 31px）。PC は変わらない */
body.sub:not(.rc) .pghero__title .t-fit { font-size: min(1em, calc((100vw - 68px) / 10.3)); }
body.sub:not(.rc) .sec__title { font-weight: 700; }
body.sub:not(.rc) .pghero__ph { border-radius: 0; }
body.sub:not(.rc) .contact__num { font-weight: 600; font-size: 52px; line-height: 1.1; letter-spacing: 0; }
@media (min-width: 900px) {
  body.sub:not(.rc) .contact__num { font-size: clamp(64px, 7.2vw, 104px); white-space: nowrap; }
}
.dock .dock__tel .en { font-size: 19.5px; font-weight: 600; letter-spacing: .01em; }
/* 下の固定の帯は透かさない（後ろの字が重なって読めると言われた） */
.dock { background: #090B0E; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn__v { font-size: 22px; }

/* ページの頭：ヘッダーから続く墨の帯に、題と一筋（トップの最初の画面と同じ調子でつなぐ）。本文は今の明るい面のまま */
body.sub:not(.rc) .pghero { background: var(--ink52); color: #F1F2F0; padding: 96px 0 40px; }
body.sub:not(.rc) .pghero .crumbs ol { color: #98A2AC; }
body.sub:not(.rc) .pghero .crumbs a { color: rgba(241, 242, 240, .86); }
body.sub:not(.rc) .pghero .crumbs [aria-current] { color: #98A2AC; }
body.sub:not(.rc) .pghero__k { color: #3BB2F2; }
body.sub:not(.rc) .pghero__title { color: #fff; }
body.sub:not(.rc) .pghero__l--accent { color: #3BB2F2; }
body.sub:not(.rc) .pghero__lead { color: rgba(241, 242, 240, .84); }
body.sub:not(.rc) .pghero__in::after { content: ""; display: block; position: relative; margin-top: 26px; width: min(520px, 78%); height: 1px; background: linear-gradient(90deg, #fff 0, rgba(255, 255, 255, .85) 70%, rgba(255, 255, 255, 0) 100%); }
body.sub:not(.rc) .pghero__in::before { content: ""; position: absolute; left: var(--tx); bottom: -2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; z-index: 1; }
body.sub:not(.rc) .pghero .facts2 { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .16); }
body.sub:not(.rc) .pghero .facts2__i { background: var(--ink52); }
body.sub:not(.rc) .pghero .facts2__v { color: #fff; }
body.sub:not(.rc) .pghero .facts2__k { color: #98A2AC; }
@media (min-width: 900px) {
  body.sub:not(.rc) .pghero { padding: 148px 0 64px; }
}

/* 「Q」「A」の印：幅の狭い欧文だと Q が 0 に見える＝日本語の書体の太い字で出す */
.sub:not(.rc) .faq dt::before, .sub:not(.rc) .faq dd::before, .qbox__q::before { font-family: var(--jp); font-stretch: 100%; font-weight: 700; }

/* スマホ：入力欄にキーボードで移ったとき、下の固定の帯の裏に隠れない */
@media (max-width: 899px) {
  html { scroll-padding-bottom: 104px; }
}

/* 採用ページ：見出しは太い LINE Seed JP（ポップに・2025年の方針） */
body.rc :is(h1, h2, h3) { font-family: "LINE Seed JP", var(--jp); }
/* キーボードで移った要素は、現れる動きの途中でもすぐ見せる（フォーカスの枠が見えない時間を作らない） */
.mo-r.mo-hide:focus-visible, .mo-r.mo-hide:focus-within, .mo-r:focus-visible, .mo-r:focus-within { opacity: 1 !important; translate: none !important; transition: none !important; }
/* フォーム：「必須」の印は折らない。PC は項目名の幅を少し広げる（「メールアドレス（半角）」と印が1行に収まる） */
.fm__req { flex: none; white-space: nowrap; }
@media (min-width: 900px) {
  .fm__row { grid-template-columns: 15em 1fr; }
}
/* 小見出しは太く（太さを 400 と 700 の2つに絞ったので、500 の指定が 400 で出て本文と区別が付きにくかった＝採点し直しで言われた） */
body.sub:not(.rc) :is(h2, h3, h4, .items__name, .art__relt), .sub:not(.rc) .faq dt, body.sub:not(.rc) .fm__label { font-weight: 700; }
/* ページの頭の数字：説明の字を明るく・少し大きく（暗い帯で沈んでいた） */
body.sub:not(.rc) .pghero .facts2__k { color: #C9D0D7; font-size: 13.5px; }
/* 小さい青の字（節の見出しの上のラベル・本文のリンク）は、トップの字の青（#006BA6・白の地で 5.75:1）にそろえる。
   今の青（#0082C8）は白の地で 4.18:1 で、読みやすさの目安 4.5:1 に足りなかった（2026-11-13 社長「1」）。線や点の青は変えない */
body.sub:not(.rc) .sec .lab, body.sub:not(.rc) .spine .sec__head .lab:not(.en) { color: #006BA6; }
/* ラベルの左の小さな飾りの線は元の青のまま（字の色を取る作りの所が字と一緒に濃くならないように） */
body.sub:not(.rc) .sec .lab::before, body.sub:not(.rc) .spine .sec__head .lab:not(.en)::before { border-color: var(--blue); }
body.sub:not(.rc) .prose a { color: #006BA6; }
body.sub:not(.rc) .mnav a[aria-current] { color: #006BA6; }   /* コラムのカテゴリのメニューで、今いるカテゴリ */
