/* ============================================================
   recruit.css — 採用情報（スタッフ求人）
   このページだけで完結させる（下層共通の page.css は読み込まない）
   並び: 最初の画面 → 目次 → 会社と数字（数え上げ）→ 給与の階段（主役）
   → 募集職種 → 働き方 → 待遇 → 先輩の声 → 募集要項・よくある質問（見本どおりの明るい面）
   → 応募窓口 → スマホの固定応募ボタン
   動きは「給与の階段」「数え上げ」「共通の出現（motion.js）」と、背景の光（flow.js）
   背景は明るい地（白地に赤ピンクと水色のぼかし。末尾の「明るい地」。2026-10-18）。地を持たない区画に見える。
   明るい企業らしさは、区画の中の枠に入れた昼の写真（人物・会議室・オフィス）で出す。
   最初の画面と応募窓口はベルベットのまま
   ============================================================ */
.page-recruit { --hdr-h: 64px; --toc-h: 56px; }
@media (max-width: 1080px) { .page-recruit { --hdr-h: 60px; } }
html:has(.page-recruit) { scroll-behavior: smooth; }
.page-recruit [id] { scroll-margin-top: var(--hdr-h); }
/* 文は文節で折り返し、行末の1〜2文字だけの行を作らない */
.page-recruit main :is(p, dd, dt, .acc-q) { word-break: auto-phrase; }
@media (min-width: 900px) { .page-recruit [id] { scroll-margin-top: calc(var(--hdr-h) + var(--toc-h)); } }

/* ================= 最初の画面 ================= */
.rh { position: relative; overflow: hidden; isolation: isolate; padding: calc(76px + 72px) 0 var(--s6); }
.rh-bg { position: absolute; inset: 0; z-index: -1; }
.rh-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.3) saturate(1.05); }
.rh-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 10, 11, .35) 0%, rgba(13, 10, 11, .55) 60%, var(--night) 100%); }
.rh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.rh-kicker { font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--text-2); margin-bottom: 18px; }
.rh-title { font-size: clamp(40px, 4.6vw, 68px); font-weight: 900; line-height: 1.28; letter-spacing: .01em; }
.rh-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.rh-facts li { display: flex; align-items: center; min-height: 46px; padding: 0 14px; background: rgba(244, 238, 234, .09); border-radius: var(--r-s); font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.rh-facts b { font-size: 22px; font-weight: 900; margin: 0 1px; }
.rh-lead { margin-top: 22px; color: var(--text-2); max-width: 30em; }
.rh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rh-banner { aspect-ratio: 1100 / 592; border-radius: var(--r-s); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
@media (max-width: 899px) {
  .rh { padding: calc(60px + 36px) 0 56px; }
  .rh-grid { grid-template-columns: 1fr; gap: 32px; }
  .rh-title { font-size: 32px; }
  .rh-facts { margin-top: 20px; }
  .rh-facts li { min-height: 42px; padding: 0 12px; font-size: 14px; }
  .rh-facts b { font-size: 20px; }
  .rh-cta { margin-top: 24px; }
  .rh-cta .btn { flex: 1 1 0; padding: 0 16px; }
}
@media (max-width: 767px) {
  /* スマホ：4つの札を同じ幅・同じ高さの 2×2 に（2026-10-16） */
  .rh-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .rh-facts li { justify-content: center; padding: 0 8px; }
}

/* ================= 目次 ================= */
.toc { position: relative; z-index: 60; background: rgba(13, 10, 11, .96); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc-in { display: flex; align-items: center; gap: 16px; height: var(--toc-h); width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.toc-list { display: flex; gap: 4px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.toc-list::-webkit-scrollbar { display: none; }
/* 項目は縮めない（縮むと「給与とキ／ャリア」と折り返す）。入りきらない分は横にスクロール */
.toc-list li { flex: none; }
.toc-list a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-s); font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--text-2); white-space: nowrap; transition: background-color var(--t-state) ease-out, color var(--t-state) ease-out; }
.toc-list a:hover { color: var(--text); background: rgba(244, 238, 234, .06); }
.toc-list a.is-on { color: var(--text); font-weight: 700; background: rgba(244, 238, 234, .14); }
.toc-cta { flex: none; min-height: 40px; padding: 0 20px; font-size: 13px; }
@media (min-width: 900px) { .toc { position: sticky; top: var(--hdr-h); } }
@media (max-width: 899px) {
  .toc-in { padding: 0; }
  .toc-list { padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); }
  .toc-list li:last-child { padding-right: var(--gutter); }
  .toc-cta { display: none; }
  /* スマホは項目の間を詰め、右端を薄く消して「横に続く」ことを見せる */
  .toc-list { gap: 2px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .toc-list a { padding: 0 12px; letter-spacing: .04em; }
}

/* 上部を軽く（recruit.js 7）：下へ読んでいる間は目次を隠し、ヘッダーを縮める。上へ戻すと両方出す
   目次が画面の上に貼り付いてから効く（最初の画面の下にある間は、ふつうに流れる）
   スマホも目次を上に貼り付け、上へ戻したときだけ出す（下へ読む間は隠れたまま）
   隠した目次も画面の外にあるだけで、キーボードで来られる（来たら recruit.js が出す） */
.hdr-logo img { transition: height .3s var(--ease-out); }
.hdr-cta { transition: min-height .3s var(--ease-out), border-color var(--wipe), background-color .3s ease-out, color .3s ease-out, transform .1s ease-out; }
.toc { transition: transform .4s var(--ease-out); }
body.is-tucked .toc { transform: translateY(calc(-100% - var(--hdr-h))); transition: transform .3s var(--ease-in); }
body.is-tucked .hdr.is-solid { height: 52px; }
body.is-tucked .hdr-logo img { height: 28px; }
body.is-tucked .hdr-cta { min-height: 36px; }
@media (max-width: 899px) {
  .toc { position: sticky; top: var(--hdr-h); }
}
@media (max-width: 1080px) {
  body.is-tucked .hdr, body.is-tucked .hdr.is-solid { height: 50px; }
  body.is-tucked .hdr-logo img { height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .toc, body.is-tucked .toc, .hdr, .hdr-logo img { transition: none; }
}

/* ================= 会社と数字 ================= */
.rabout-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4) 6vw; align-items: start; }
/* 見出しは太い明朝で大きく（2026-10-15） */
.rabout-title { font-size: clamp(38px, 5vw, 72px); font-weight: 800; line-height: 1.4; letter-spacing: .04em; }
.rabout-body p { color: var(--text-2); margin-bottom: 14px; max-width: 32em; }
.rabout-body b { color: var(--text); font-weight: 700; }
.rabout-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.rabout-links .arw { width: 16px; height: 16px; }

.nums { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 36px; margin-top: var(--s5); align-items: end; }
.nums-v { font-weight: 900; line-height: .92; white-space: nowrap; letter-spacing: 0; }
.nums-v b { font-weight: 900; }
.nums-v small { font-size: .34em; font-weight: 900; letter-spacing: .02em; margin: 0 .04em; }
.nums-l { margin-top: 12px; font-size: 14px; color: var(--text-2); letter-spacing: .08em; }
.nums-item--main { grid-column: 1 / 7; grid-row: 1 / 3; align-self: end; }
.nums-item--main .nums-v { font-size: clamp(150px, 18vw, 250px); }
.nums-item--main .nums-v b { color: var(--red); }
.nums-item--main .nums-v small { font-size: .28em; }
.nums-item--main .nums-l { font-size: 18px; font-weight: 700; color: var(--text); margin-top: 18px; }
/* 右の5つは同じ大きさで、3列の格子に並べる（上の段3つ・下の段2つ。列の左端をそろえる。2026-10-18） */
.nums-item--m .nums-v, .nums-item--s .nums-v { font-size: clamp(48px, 5vw, 72px); }
.nums-item:nth-child(2), .nums-item:nth-child(5) { grid-column: 7 / 9; }
.nums-item:nth-child(3), .nums-item:nth-child(6) { grid-column: 9 / 11; }
.nums-item:nth-child(4) { grid-column: 11 / 13; }
.nums-item:nth-child(2), .nums-item:nth-child(3), .nums-item:nth-child(4) { grid-row: 1; }
.nums-item:nth-child(5), .nums-item:nth-child(6) { grid-row: 2; }
@media (max-width: 899px) {
  .rabout-head { grid-template-columns: 1fr; gap: var(--s3); }
  .nums { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 12px; row-gap: 32px; margin-top: var(--s4); }
  .nums-item--main { grid-column: 1 / -1; grid-row: auto; }
  .nums-item--main .nums-v { font-size: 132px; }
  .nums-item--main .nums-l { font-size: 16px; margin-top: 12px; }
  /* スマホ：右の5つは同じ大きさで2列に */
  .nums-item--m .nums-v, .nums-item--s .nums-v { font-size: 44px; }
  .nums-item:nth-child(n+2) { grid-column: span 3; grid-row: auto; }
  .nums-l { font-size: 13px; margin-top: 8px; letter-spacing: .04em; }
}

/* ================= 給与とキャリア（給与の階段） ================= */
.st { position: relative; }
.st-pin { position: relative; display: flex; align-items: center; min-height: 100svh; padding: calc(var(--hdr-h) + var(--toc-h) + 32px) 0 48px; overflow: hidden; }
.st-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: end; }
.st-lead { margin-top: 18px; color: var(--text-2); max-width: 26em; }
.st-steps { margin-top: 36px; }
.st-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 15px; font-weight: 700; color: var(--text-3); letter-spacing: .08em; }
.st-when span { color: var(--text); font-size: 18px; font-weight: 900; letter-spacing: .04em; }
.st-pay { margin-top: 6px; font-weight: 900; line-height: 1; white-space: nowrap; }
.st-pay b { font-size: clamp(76px, 8vw, 124px); font-weight: 900; letter-spacing: -.01em; margin: 0 .04em; }
.st-pay small { font-size: 22px; font-weight: 900; }
.st-step[data-step="3"] .st-pay b { color: var(--red); }
.st-note { margin-top: 14px; font-size: 15px; color: var(--text-2); }

/* 動きがあるとき：いま居る段だけを大きく見せる */
.st.is-anim .st-steps { display: grid; }
.st.is-anim .st-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s ease-out, visibility 0s .3s; }
.st.is-anim .st-step.is-on { opacity: 1; visibility: visible; transition: opacity .3s ease-out; }
/* 動きがないとき：4段を一覧で見せる */
.st:not(.is-anim) .st-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.st:not(.is-anim) .st-pay b { font-size: clamp(48px, 4.4vw, 64px); }
.st:not(.is-anim) .st-pay small { font-size: 16px; }

.st-chart { --ch: clamp(260px, 50svh, 440px); padding-top: 152px; }  /* 札（64px）＋札に乗るいーぷらくん（88px） */
.st-plot { position: relative; height: var(--ch); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; border-bottom: 1px solid var(--line-2); }
.st-col { position: relative; height: 100%; }
.st-bar { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) * 100%); background: rgba(244, 238, 234, .13); border-radius: 2px 2px 0 0; transform-origin: 50% 100%; transform: scaleY(var(--g, 1)); transition: background-color .3s ease-out; }
.st-col.is-top .st-bar { background: var(--red); }
.st-val { position: absolute; left: 0; right: 0; bottom: calc(var(--h) * var(--g, 1) * 100% - 44px); text-align: center; font-size: 14px; font-weight: 900; line-height: 1; white-space: nowrap; opacity: var(--o, 1); }
.st-val b { font-size: 24px; margin-right: 1px; }
.st-mark { position: absolute; left: 0; bottom: 0; z-index: 2; will-change: transform; transform: translate(var(--mx, 0px), var(--my, 0px)); }
/* いーぷらくんが「あなた」の札と一緒に段を上る（2026-09-30 会議）。札の上に乗る分だけ、図の上（.st-chart の padding-top）を空けてある */
.st-kun { display: block; width: 72px; height: auto; margin: 0 auto 2px; }
/* 最後（1年）の段に着いたら、えぷ子ちゃんが左隣に出る（高さはいーぷらくんとそろえる。札の幅・位置は変えない。2026-10-18） */
.st-chara { position: relative; }
.st-epuko { position: absolute; right: calc(50% + 34px); bottom: 2px; width: auto; height: 92px; max-width: none; opacity: 0; transform: translateY(10px); transition: opacity .4s ease-out, transform .5s var(--ease-out); pointer-events: none; }
.st-mark.is-goal .st-epuko { opacity: 1; transform: none; }
/* 2人そろったら、2人のまとまりを札の真ん中にそろえる（えぷ子ちゃん 81px＋間 6px＋いーぷらくん 72px。いーぷらくんを (81+6)/2 右へ、えぷ子ちゃんはその左。2026-10-19 オーナー指示） */
.st-kun { transition: transform .5s var(--ease-out); }
.st-mark.is-goal .st-kun { transform: translateX(43.5px); }
.st-mark.is-goal .st-epuko { right: calc(50% - 1.5px); }
/* 赤い棒の中の金額は白 */
.st-col.is-top .st-val { color: #fff; }
.st-mark span { display: block; padding: 6px 12px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 900; line-height: 1.4; letter-spacing: .1em; border-radius: var(--r-s); white-space: nowrap; }
.st-mark::after { content: ""; display: block; width: 0; height: 0; margin: 0 auto; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 7px solid var(--paper); }
.st-axis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin-top: 12px; }
.st-axis li { text-align: center; font-size: 14px; font-weight: 700; color: var(--text-3); letter-spacing: .06em; transition: color .3s ease-out; }
.st-axis li.is-on { color: var(--text); }

@media (max-width: 899px) {
  .st-pin { padding: calc(var(--hdr-h) + 20px) 0 24px; }
  .st-grid { grid-template-columns: 1fr; gap: 12px; }
  .st-lead { margin-top: 10px; font-size: 15px; line-height: 1.7; }
  .st-steps { margin-top: 18px; }
  .st-when span { font-size: 16px; }
  .st-pay b { font-size: 64px; }
  .st-pay small { font-size: 18px; }
  .st-note { margin-top: 8px; font-size: 14px; }
  .st:not(.is-anim) .st-steps { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .st:not(.is-anim) .st-pay b { font-size: 40px; }
  .st:not(.is-anim) .st-pay small { font-size: 13px; }
  .st:not(.is-anim) .st-when { gap: 2px 8px; font-size: 13px; }
  .st:not(.is-anim) .st-when span { font-size: 14px; }
  .st-chart { --ch: clamp(170px, 30svh, 280px); padding-top: 118px; }  /* 札（52px）＋いーぷらくん（66px） */
  .st-val { font-size: 12px; bottom: calc(var(--h) * var(--g, 1) * 100% - 34px); }
  .st-val b { font-size: 18px; }
  .st-mark span { font-size: 12px; padding: 5px 10px; }
  .st-kun { width: 54px; }
  .st-epuko { height: 69px; right: calc(50% + 26px); }
  /* スマホ：えぷ子ちゃん 61px＋間 4px＋いーぷらくん 54px。真ん中にそろえると右端の子が画面の縁に付くので、まとまりを 14px 左に寄せて余白 16px を残す */
  .st-mark.is-goal .st-kun { transform: translateX(18.5px); }
  .st-mark.is-goal .st-epuko { right: calc(50% + 12.5px); }
  .st-axis li { font-size: 13px; }
}
/* 背の低いスマホは図の上の説明を省く。判定は読み込み時の1回だけ（recruit.js の is-short）。
   画面の高さで切り替えると、iPhone でアドレスバーが縮んだときに説明が増えて固定の高さとずれ、下の「役職別の給与」に重なる（2026-10-27 オーナー指摘・iPhone 16 Pro） */
.st.is-anim.is-short .st-lead { display: none; }

/* 階段のあと：役職別の給与 */
.st-after { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s4) clamp(32px, 5vw, 88px); padding-top: var(--s5); padding-bottom: var(--s6); }
.st-after-title { font-size: var(--fs-h3); font-weight: 900; line-height: 1.3; margin-bottom: 14px; }
.st-after-head p { color: var(--text-2); max-width: 26em; }
.pay { border-top: 1px solid var(--line-2); }
.pay-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pay-row dt { font-size: 18px; font-weight: 700; line-height: 1.5; }
.pay-row dt small { display: block; font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: .04em; }
.pay-row dd { font-weight: 900; white-space: nowrap; line-height: 1; text-align: right; }
.pay-row dd b { font-size: clamp(36px, 3.6vw, 52px); letter-spacing: 0; }
.pay-row dd small { font-size: 14px; font-weight: 700; margin-left: 4px; }
.pay-row--top dd b { color: var(--red); }
.pay-note { margin-top: 18px; font-size: 13px; line-height: 1.9; color: var(--text-3); }
.pay-note b { color: var(--text); font-weight: 700; }
@media (max-width: 899px) {
  .st-after { grid-template-columns: 1fr; padding-top: var(--s4); padding-bottom: 72px; gap: var(--s3); }
  .st-after-title { font-size: 24px; }
  .pay-row { padding: 16px 0; }
  .pay-row dt { font-size: 16px; }
  .pay-row dd b { font-size: 34px; }
  .pay-row dd small { font-size: 12px; }
}

/* ================= 募集職種 ================= */
.pos { background: var(--night-2); }
.pos-list { border-top: 1px solid var(--line-2); }
.pos-item { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 6px 48px; align-items: baseline; padding: 26px 24px; border-bottom: 1px solid var(--line); }
.pos-item h3 { font-size: 22px; font-weight: 900; line-height: 1.4; }
.pos-item p { color: var(--text-2); max-width: 40em; }
.pos-item--lead { background: rgba(244, 238, 234, .07); padding-top: 34px; padding-bottom: 34px; }
.pos-item--lead h3 { font-size: clamp(26px, 2.4vw, 32px); }
.pos-item--lead p { color: var(--text); }
@media (max-width: 767px) {
  .pos-item { grid-template-columns: 1fr; padding: 22px 16px; }
  .pos-item h3 { font-size: 20px; }
  .pos-item--lead { padding: 26px 16px; }
  .pos-item--lead h3 { font-size: 24px; }
}

/* ================= 働き方 ================= */
.ws-chart { --ws-name: 88px; }
.ws-axis { position: relative; height: 20px; margin-left: calc(var(--ws-name) + 24px); font-size: 13px; color: var(--text-3); }
.ws-axis span { position: absolute; top: 0; left: calc(var(--p) * 1%); transform: translateX(calc(var(--p) * -1%)); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-rows { margin-top: 12px; border-top: 1px solid var(--line-2); }
.ws-row { display: grid; grid-template-columns: var(--ws-name) minmax(0, 1fr); gap: 10px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ws-name { font-size: 20px; font-weight: 900; }
.ws-track { position: relative; height: 44px; background: rgba(244, 238, 234, .04); border-radius: var(--r-s); }
.ws-bar { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 1%); width: 56%; display: flex; align-items: center; padding: 0 14px; background: rgba(244, 238, 234, .16); border-radius: var(--r-s); font-size: 14px; font-weight: 700; white-space: nowrap; }
.ws-desc { grid-column: 2; color: var(--text-2); font-size: 15px; }
@media (max-width: 767px) {
  .ws-chart { --ws-name: 44px; }
  .ws-axis { margin-left: calc(var(--ws-name) + 12px); font-size: 11px; }
  .ws-row { gap: 8px 12px; padding: 18px 0; }
  .ws-name { font-size: 17px; }
  .ws-track { height: 36px; }
  .ws-bar { padding: 0 10px; font-size: 12px; }
  .ws-desc { font-size: 14px; line-height: 1.7; }
}

/* ================= 待遇・福利厚生 ================= */
.bn { background: var(--night-2); }
.bn-money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: var(--s5); }
.bn-money > div { padding-top: 22px; border-top: 1px solid var(--line-2); }
.bn-money dt { font-size: 16px; font-weight: 700; color: var(--text-2); }
.bn-money-v { margin-top: 6px; font-size: 20px; font-weight: 900; line-height: 1.1; white-space: nowrap; }
.bn-money-v b { font-size: clamp(52px, 5vw, 72px); margin: 0 .04em; }
.bn-money-d { margin-top: 8px; font-size: 14px; color: var(--text-3); }
.bn-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line-2); }
.bn-list > div { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bn-list dt { font-weight: 700; }
.bn-list dd { color: var(--text-2); font-size: 15px; line-height: 1.75; }
@media (max-width: 899px) {
  .bn-list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .bn-money { grid-template-columns: 1fr; gap: 0; margin-bottom: var(--s4); border-top: 1px solid var(--line-2); }
  .bn-money > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 16px; padding: 16px 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .bn-money-v { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 16px; text-align: right; }
  .bn-money-v b { font-size: 44px; }
  .bn-money-d { margin-top: 2px; font-size: 13px; }
  .bn-list > div { grid-template-columns: 1fr; padding: 16px 0; }
}

/* ================= 先輩の声・動画・取材記事 ================= */
/* PC は2人を横に並べ、それぞれ写真を左に小さく・文字を右に（大きな写真と交互の段組みは高さを取りすぎた。2026-10-19 オーナー指示） */
.vc-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); }
.vc-case { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.vc-case .vc-q { font-size: clamp(20px, 1.8vw, 24px); }
/* 写真は2枚とも 4:5 にそろえ、文字を焼き込んでいない写真（求人LPと同じ）を使う。見出しと本文は HTML だけ（2026-10-18 SPレビュー 中5） */
.vc-img { aspect-ratio: 4 / 5; border-radius: var(--r-s); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.vc-who { font-size: 14px; font-weight: 700; color: var(--text-3); letter-spacing: .06em; }
.vc-q { margin: 12px 0 20px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.45; }
.vc-text p:not(.vc-who) { color: var(--text-2); max-width: 32em; }
.vc-sub { font-size: 20px; font-weight: 900; margin-bottom: 20px; }
.vc-movie-wrap { margin-top: var(--s6); }
.vc-movie { position: relative; max-width: 960px; aspect-ratio: 16 / 9; border-radius: var(--r-s); overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.vc-movie video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-sound { position: absolute; right: 16px; bottom: 16px; min-height: 44px; background: rgba(13, 10, 11, .72); }
.press { margin-top: var(--s6); }
.press-list { border-top: 1px solid var(--line-2); max-width: 960px; }
.press-list a { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background-color var(--t-state) ease-out; }
.press-list a:hover { background: rgba(244, 238, 234, .05); }
.press-date { font-size: 14px; color: var(--text-3); }
.press-title { font-weight: 700; line-height: 1.6; }
.press-list .arw { width: 18px; height: 18px; color: var(--text-2); transition: transform var(--t-state) var(--ease-out); }
.press-list a:hover .arw { transform: translateX(3px); }
.press-foot { margin-top: 28px; max-width: 960px; }
.press-media { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 14px; color: var(--text-2); }
.press-media > span { width: 100%; font-size: 13px; font-weight: 700; color: var(--text-3); letter-spacing: .08em; }
.press-media a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; border-bottom: 1px solid var(--line-2); transition: color var(--t-state), border-color var(--t-state); }
.press-media a:hover { color: var(--text); border-color: var(--text); }
.press-more { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 20px; }
.press-more .arw { width: 16px; height: 16px; }
/* 会社説明の動画：先方の動画の比率（1920×1032）のまま。端を切らない */
.cv { margin-top: var(--s6); }
.cv-movie { aspect-ratio: 1920 / 1032; }
.cv-movie video { object-fit: contain; }
.cv-chapters .press-list a { cursor: pointer; }
.cv-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }
@media (max-width: 767px) {
  .vc-cases { grid-template-columns: 1fr; gap: var(--s5); }
  .vc-case { grid-template-columns: 1fr; gap: 24px; }
  .vc-q { font-size: 24px; margin: 8px 0 14px; }
  .vc-movie-wrap, .press { margin-top: var(--s5); }
  .vc-sub { font-size: 19px; }
  .vc-sound { right: 8px; bottom: 8px; padding: 0 14px; font-size: 12px; }
  .press-list a { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 0; }
  .press-date { grid-column: 1; }
  .press-title { grid-column: 1; }
  .press-list .arw { grid-column: 2; grid-row: 1 / span 2; }
}

/* ================= 募集要項・よくある質問（明るい面） ================= */
.paper { background: var(--paper); color: var(--ink); }
.paper .sec-lead { color: var(--ink-2); }
.paper ::selection { background: var(--red); color: #fff; }
.paper .sec + .sec { padding-top: 0; }
.req-box { max-width: 980px; }
.req-table > div { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line-ink); }
.req-table { border-top: 1px solid var(--ink); }
.req-table dt { font-weight: 900; }
.req-table dd { color: var(--ink-2); }
.req-table dd b { color: var(--ink); font-weight: 900; }
.req-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--ink-3); }
.req-link:hover { border-color: var(--ink); }
.req-table--more { border-top: 0; }
.req-table--more > div:last-child { border-bottom: 0; }

/* 開閉（募集要項の続き・よくある質問で共通） */
.acc { border-bottom: 1px solid var(--line-ink); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.6; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover .acc-q { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.acc-ic { flex: none; color: var(--ink-2); transition: transform .3s var(--ease-out); }
.acc[open] > summary .acc-ic { transform: rotate(45deg); }
.acc-body { overflow: hidden; }
.acc-body > p { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; }
.req-more { border-bottom: 1px solid var(--line-ink); }
.req-more summary { color: var(--ink); }
.faq-list { max-width: 980px; border-top: 1px solid var(--ink); }
.faq-list .acc summary { font-size: 17px; }
@media (max-width: 767px) {
  .req-table > div { grid-template-columns: 1fr; padding: 16px 0; }
  .acc summary { min-height: 60px; padding: 14px 0; }
  .acc-body > p { padding: 0 0 20px; }
  .faq-list .acc summary { font-size: 16px; }
}

/* ================= 応募窓口 ================= */
.apply { overflow: hidden; isolation: isolate; }
.apply-bg { position: absolute; inset: 0; z-index: -1; }
.apply-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.26); }
.apply-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(13, 10, 11, .4) 30%, rgba(13, 10, 11, .6) 100%); }
.desks { border-top: 1px solid var(--line-2); }
.desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 64px); align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.desk-img { border-radius: var(--r-s); box-shadow: 0 24px 48px rgba(0, 0, 0, .4); }
.desk:nth-child(1) .desk-img, .desk:nth-child(3) .desk-img { aspect-ratio: 1400 / 603; }
.desk:nth-child(2) .desk-img { aspect-ratio: 750 / 300; }
.desk-area { font-size: 14px; color: var(--text-3); letter-spacing: .12em; }
.desk-name { margin: 4px 0 12px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 900; line-height: 1.35; }
.desk-shops { color: var(--text-2); font-size: 15px; margin-bottom: 20px; }
.apply-mail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; margin-top: var(--s5); padding: 32px; background: rgba(13, 10, 11, .72); border: 1px solid var(--line); border-radius: var(--r-m); }
.apply-mail-h { font-size: 15px; font-weight: 700; color: var(--text-2); }
.apply-mail-addr { margin-top: 4px; font-size: clamp(20px, 2vw, 26px); font-weight: 900; overflow-wrap: anywhere; }
.apply-mail-addr a { border-bottom: 1px solid var(--line-2); }
.apply-mail-addr a:hover { border-color: var(--text); }
.apply-mail-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 899px) {
  .desk { grid-template-columns: 1fr; padding: 32px 0; gap: 20px; }
  .desk .btn { width: 100%; white-space: normal; text-align: center; }
  .apply-mail { grid-template-columns: 1fr; padding: 24px 20px; }
  .apply-mail-addr { font-size: 18px; }
  .apply-mail-btns .btn { flex: 1 1 100%; }
}

/* ================= 区画の中の明るい写真（背景は暗いまま、枠に入れて明るく見せる） ================= */
/* 会社と数字：見出しの下に人物写真（3:2 のまま切らずに見せる） */
.rabout-photo { margin-top: 32px; max-width: 520px; }
.rabout-photo .fphoto-in, .st-photo .fphoto-in { aspect-ratio: 3 / 2; }
/* 給与とキャリア：役職別の給与の左に人物写真 */
.st-photo { margin-top: 32px; }
/* 見出しの横に写真（働き方＝会議室）。写真の左は白い壁なので、机と窓が入るよう右寄せで切る */
.fhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4) 6vw; align-items: end; margin-bottom: var(--s5); }
.fhead-text .sec-lead { margin-top: 20px; max-width: 30em; }
.fhead-photo .fphoto-in { aspect-ratio: 16 / 10; }
.fhead-photo img { object-position: 100% 60%; }
@media (max-width: 899px) {
  .rabout-photo { max-width: none; margin-top: 24px; }
  .st-photo { margin-top: 24px; }
  .fhead { grid-template-columns: 1fr; gap: var(--s3); margin-bottom: var(--s4); }
}

/* ================= スマホ：画面下の応募ボタン ================= */
.apply-bar { display: none; }
@media (max-width: 899px) {
  .apply-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; padding: 8px;
    /* 下を流れる本文が透けないよう、不透明の面にする（前はすりガラス rgba(…, .72)。明るい地になって見出しの太字が黒い塊として透けていた。
       .9 でもボタンの間に残ったので不透明にした。2026-10-18 SPレビュー 低4） */
    background: #1f1b1c;
    border: 1px solid var(--line); border-radius: var(--r-m);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
    transform: translateY(calc(100% + 32px)); visibility: hidden;
    transition: transform .45s var(--ease-out), visibility 0s .45s;
  }
  .apply-bar.is-show { transform: none; visibility: visible; transition: transform .45s var(--ease-out); }
  .apply-bar .btn { min-height: 48px; padding: 0 12px; font-size: 14px; }
  .apply-bar .btn-ghost { --b-bg: rgba(244, 238, 234, .06); }
  .drawer-open .apply-bar { visibility: hidden; }
  /* ページの最後の行がバーに隠れたまま終わらないよう、下にバーの高さぶんの余白 */
  .page-recruit .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ================= スマホ：説明文は右端まで詰めて折る（PC 用の行の長さの上限を外す。2026-10-16） ================= */
@media (max-width: 899px) {
  .st-lead, .st-after-head p, .fhead-text .sec-lead, .pos-item p, .rabout-body p { max-width: none; }
}

/* ================= 動きを減らす設定 ================= */
@media (prefers-reduced-motion: reduce) {
  html:has(.page-recruit) { scroll-behavior: auto; }
  .st-bar { transform: none; }
}

/* ================= 明るい地（2026-10-18 決定：見本 案B「ほどける色」の方向。修正指示 J-10） =================
   エンジ色の暗い地をやめ、白地に大きくぼかした赤みのピンクと水色の面がページの所々でにじんで重なる。
   ヘッダー・フッター・メニュー・年齢確認の幕・最初の画面・応募窓口（写真の区画）・固定応募ボタンは夜の色のまま。
   写真・数字の大きさなど背景以外は変えない */
.page-recruit {
  --night: #fcfbfb; --night-2: #f4f1f2; --night-3: #e9e5e7;
  --line: rgba(36, 24, 30, .14); --line-2: rgba(36, 24, 30, .26);
  --text: #1a1512; --text-2: #463f3a; --text-3: #544b46;
}
.page-recruit :is(.hdr, .drawer, .gate, .ftr, .rh, .apply, .apply-bar) {
  --night: #0d0a0b; --night-2: #1a1213; --night-3: #251a1b;
  --line: rgba(244, 238, 234, .16); --line-2: rgba(244, 238, 234, .28);
  --text: #f4eeea; --text-2: rgba(244, 238, 234, .76); --text-3: rgba(244, 238, 234, .6);
  color: var(--text);
}
/* ヘッダーは明るい地の上でもにじまないよう、最初から夜の帯にする */
.page-recruit .hdr { background: rgba(13, 10, 11, .94); }
.page-recruit .hdr::before { opacity: 0; }
/* 夜の色へ溶かす境目は使わない */
.page-recruit .flow-seam-top::before, .page-recruit .flow-seam-bottom::after { content: none; }
/* 写真・枠の影は明るい地向けに弱める */
.page-recruit :is(.fphoto-in, .vc-img, .vc-movie) { box-shadow: 0 24px 48px rgba(60, 36, 48, .16); }
/* 白い半透明で作っていた面・棒・ホバーを、濃い半透明に */
.page-recruit .st-bar { background: rgba(36, 24, 30, .1); }
.page-recruit .ws-track { background: rgba(36, 24, 30, .04); }
.page-recruit .ws-bar { background: rgba(36, 24, 30, .1); }
.page-recruit .pos-item--lead { background: rgba(255, 255, 255, .6); }
.page-recruit .press-list a:hover { background: rgba(36, 24, 30, .04); }
.page-recruit .toc { background: rgba(255, 253, 253, .94); }
.page-recruit .toc-list a:hover { background: rgba(36, 24, 30, .05); }
.page-recruit .toc-list a.is-on { background: rgba(36, 24, 30, .09); }
/* 階段の「あなた」の札：明るい地では濃い札に */
.page-recruit .st-mark span { background: var(--text); color: var(--paper); }
.page-recruit .st-mark::after { border-top-color: var(--text); }
/* 募集職種・待遇の面も地を持たず、色の面を区画の境目で切らない */
.page-recruit :is(.pos, .bn) { background: transparent; }
/* 背景：真っ白の地に、赤ピンクと水色の大きなぼかし（2026-10-18 オーナー：白地に、ぼかしをもっと分かりやすく）。
   面と面の間に白が残る大きさにし、色は濃いめ。2枚の層が逆向きにゆっくり漂い（transform）、スクロールでは層ごとに違う速さで動く（translate。動きは会社概要のみ）。
   補助の文字（--text-3）は面の濃い所でも 4.5:1 以上 */
.page-recruit main { position: relative; }
.page-recruit .flow { position: absolute; background: #fff; overflow: hidden; }
.page-recruit .flow i { display: none; }
.page-recruit .flow::before, .page-recruit .flow::after { content: ""; position: absolute; inset: -14% -8%; opacity: 1; will-change: transform, translate; }
.page-recruit .flow::before { translate: 0 calc(var(--fy, 0) * -0.14px);
  /* 1400px ごとに、左に赤ピンク・右に水色をくり返す（どこまでスクロールしても画面に1〜2個入る）。
     ぼかしは1つ分の高さの内側で消えきる大きさにする（はみ出すと区切りで水平に切れ、白い四角に見える。2026-10-18） */
  background:
    radial-gradient(max(34vw, 440px) 480px at 10% 25%, rgba(240, 110, 140, .3), rgba(240, 110, 140, 0) 70%),
    radial-gradient(max(34vw, 440px) 480px at 90% 75%, rgba(96, 176, 236, .5), rgba(96, 176, 236, 0) 70%);
  background-size: 100% 1400px; background-repeat: repeat-y;
  animation: rcDrift1 26s ease-in-out infinite alternate; }
.page-recruit .flow::after { translate: 0 calc(var(--fy, 0) * 0.08px);
  /* 1100px ごとに、右寄りの水色・左寄りの赤ピンク（手前の層。少し淡く、前の層とずらして重ねる） */
  background:
    radial-gradient(max(26vw, 360px) 380px at 68% 25%, rgba(120, 190, 240, .4), rgba(120, 190, 240, 0) 70%),
    radial-gradient(max(26vw, 360px) 380px at 30% 75%, rgba(238, 120, 148, .22), rgba(238, 120, 148, 0) 70%);
  background-size: 100% 1100px; background-repeat: repeat-y;
  animation: rcDrift2 32s ease-in-out infinite alternate; }
@keyframes rcDrift1 { to { transform: translate3d(5vw, 1.2%, 0); } }
@keyframes rcDrift2 { to { transform: translate3d(-6vw, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .page-recruit .flow::before, .page-recruit .flow::after { animation: none; } }

/* 応募の見出し：入る幅なら1行、入らないときだけ「を」の後ろで折り返す（言葉の途中で切らない） */
.apply .sec-title .seg { display: inline-block; }

/* 動画と取材記事：横に余白がある幅では、動画の右に取材記事を縦に並べる。狭い幅は今までどおり縦積み */
@media (min-width: 1200px) {
  .vc-pair { display: grid; grid-template-columns: minmax(0, 960px) minmax(300px, 1fr); gap: 56px; align-items: start; margin-top: var(--s6); }
  .vc-pair .vc-movie-wrap, .vc-pair .press { margin-top: 0; }
  .vc-pair .press-list a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 18px 0; }
  .vc-pair .press-date { grid-column: 1; }
  .vc-pair .press-title { grid-column: 1; }
  .vc-pair .press-list .arw { grid-column: 2; grid-row: 1 / span 2; }
}

/* 先輩の声：スマホは横にスライドするカード。次の人の端を少し見せて、横に続くことを伝える。
   写真は 1:1（元の 4:5 の 8 割が見える）にして、1枚目で画面が埋まらないようにする */
@media (max-width: 767px) {
  .vc-cases { display: flex; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .vc-cases::-webkit-scrollbar { display: none; }
  /* 写真と文をすりガラスのカードで囲み、背景から1人ずつ切り分ける（2026-10-27 オーナー指示） */
  .vc-case { flex: 0 0 84%; gap: 18px; scroll-snap-align: start; padding: 10px 10px 22px; border-radius: var(--r-m); background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 12px 32px rgba(60, 36, 48, .10); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
  .vc-case { align-content: start; }  /* カードの高さは長いほうにそろうが、写真と文の間は広げない */
  .vc-case .vc-text { padding: 0 8px; }
  .vc-case .vc-who { font-size: 13px; letter-spacing: .02em; }  /* 「…システムエンジニア」を1行に収める */
  .vc-case .vc-img { aspect-ratio: 1 / 1; box-shadow: none; }
  .vc-case .vc-img img { object-position: 50% 20%; }
  .vc-case .vc-q { font-size: 21px; }
  .vc-case .vc-text p:not(.vc-who) { font-size: 15px; }
}
