/* BPO採用トップ専用（.p-bpo の中だけに効かせる）
   配色: 濃いグレー主体＋差し色オレンジ（ラフ 2026-10-30 準拠） */
.p-bpo {
  /* 3LINKS オフィシャルカラーパレット（H:\マイドライブ.資料\90_社内資料\ブランドカラー資料） */
  --bpo-dark: #4a494a;      /* Main/Primary = Gray/700。KVイラストの背景色と同じ */
  --bpo-dark-2: #1a1a1a;    /* Gray/900 */
  --bpo-base: #f5f5f3;      /* Gray/50 */
  --bpo-base-2: #eaeae6;
  --bpo-ink: #1a1a1a;       /* Gray/900 */
  --bpo-muted: #666666;     /* Gray/500 */
  --bpo-on-dark: #dcdcd8;   /* 濃いグレーの上の本文 */
  --bpo-line: #c7c7c3;      /* Gray/200 */
  --bpo-accent: #efc33b;    /* Main/Secondary = Accent/Gold */
  --bpo-accent-hover: #f5d000; /* Accent/Yellow */
  --bpo-accent-ink: #1a1a1a;
  --bpo-accent-deep: #a07800; /* 白地に置く金の文字（#efc33b のままだと白地で読めない） */
  --bpo-marker: rgba(239, 195, 59, .45);
  --bpo-white: #fff;
  --bpo-radius: 4px;
  --bpo-max: 1200px;
  --bpo-en: 'Inter', 'Noto Sans JP', sans-serif;
  color: var(--bpo-ink);
  background: var(--bpo-white);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.9;
  text-align: left;
  overflow-x: clip;
}
.p-bpo > main { margin: 0 !important; }
.p-bpo *,
.p-bpo *::before,
.p-bpo *::after { box-sizing: border-box; }
.p-bpo h1, .p-bpo h2, .p-bpo h3, .p-bpo p, .p-bpo figure, .p-bpo dl { margin: 0; text-align: inherit; }
.p-bpo a { color: inherit; }

.p-bpo__inner { max-width: var(--bpo-max); margin: 0 auto; padding: 0 32px; }
.p-bpo__narrow { max-width: 760px; margin: 0 auto; }
/* セクションの上下の余白。斜めのセクションは隣に --slant ぶん食い込むので、隣のセクションはそのぶん足す */
.p-bpo { --sec: 152px; --slant-gap: clamp(36px, 5vw, 96px); }
.p-bpo__sec { padding: var(--sec) 0; }
.p-bpo-slant + .p-bpo__sec:not(.p-bpo-slant) { padding-top: calc(var(--sec) + var(--slant-gap)); }
.p-bpo__sec:not(.p-bpo-slant):has(+ .p-bpo-slant) { padding-bottom: calc(var(--sec) + var(--slant-gap)); }
.p-bpo__sec--gray { background: var(--bpo-base); }
.p-bpo__sec--white { background: var(--bpo-white); } /* 斜めで隣と重ねるときは、地の色を持たせないと隣が透ける */
.p-bpo__sec--dark { background: var(--bpo-dark); color: var(--bpo-white); }

/* 見出し（左寄せ・ラフ準拠） */
.p-bpo__head { margin-bottom: 56px; }
.p-bpo__head--center { text-align: center; }
.p-bpo__eyebrow { display: block; font-family: var(--bpo-en); font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--bpo-muted); text-transform: uppercase; margin-bottom: 12px; }
.p-bpo__sec--dark .p-bpo__eyebrow { color: var(--bpo-accent); }
.p-bpo__h2 { word-break: auto-phrase; font-size: clamp(28px, 3.8vw, 44px); font-weight: 900; line-height: 1.45; letter-spacing: .02em; }
.p-bpo__lead { margin-top: 16px; font-size: 16px; color: var(--bpo-muted); }
.p-bpo__sec--dark .p-bpo__lead { color: var(--bpo-on-dark); }
.p-bpo__text p { font-size: 17px; line-height: 2.1; }
.p-bpo__text p + p { margin-top: 2em; }
.p-bpo__sec--dark .p-bpo__text p { color: var(--bpo-on-dark); }
.p-bpo__mk { background: linear-gradient(transparent 62%, var(--bpo-marker) 62%); font-weight: 700; padding: 0 .1em; color: var(--bpo-ink); }
.p-bpo__sec--dark .p-bpo__mk { color: var(--bpo-accent); background: none; padding: 0; } /* 濃い地ではマーカーを引かず、金の文字だけで目立たせる */
/* マーカー2種類目：黒で文字全体を覆う（濃い地で使う。<span class="p-bpo__mk p-bpo__mk--box">） */
.p-bpo .p-bpo__mk.p-bpo__mk--box { color: var(--bpo-white); background: var(--bpo-dark-2); padding: .15em .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ボタン（角を立てる・ラフ準拠） */
.p-bpo__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.p-bpo__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 32px; border-radius: var(--bpo-radius); font-weight: 800;
  text-decoration: none !important; transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.p-bpo__btn::after { content: "↗"; font-weight: 700; }
.p-bpo__btn[data-modal]::after { content: "+"; font-size: 1.25em; line-height: 1; } /* ページ内で開くものは「＋」 */
.p-bpo__btn:hover { transform: translateY(-2px); }
.p-bpo__btn--primary { background: var(--bpo-accent); color: var(--bpo-accent-ink) !important; }
.p-bpo__btn--primary:hover { background: var(--bpo-accent-hover); }
.p-bpo__btn--ghost { border: 2px solid rgba(255,255,255,.7); color: var(--bpo-white) !important; }
.p-bpo__btn--ghost:hover { background: var(--bpo-white); color: var(--bpo-ink) !important; }
.p-bpo__btn--dark { background: var(--bpo-dark); color: var(--bpo-white) !important; }
.p-bpo__btn--sm { min-height: 48px; padding: 0 20px; font-size: 15px; }

/* 1. キービジュアル：背景（墨）・斜線・文字・人物の4層 */
.p-bpo-kv { position: relative; overflow: hidden; color: var(--bpo-white); background: var(--bpo-dark-2); min-height: min(880px, 100svh); isolation: isolate; }
.p-bpo-kv__bg { position: absolute; inset: -4%; z-index: 0; }
.p-bpo-kv__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.p-bpo-kv__bg::after { /* 左側を暗く落として、文字を読みやすくする */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,26,26,.88) 0%, rgba(26,26,26,.6) 34%, rgba(26,26,26,0) 60%), linear-gradient(0deg, rgba(26,26,26,.5) 0%, rgba(26,26,26,0) 30%);
}
.p-bpo-kv__streaks { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.p-bpo-kv__streak { position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.85)); transform-origin: 0 50%; }
.p-bpo-kv__grid { position: relative; z-index: 3; max-width: var(--bpo-max); margin: 0 auto; padding: 0 32px; min-height: inherit; display: flex; align-items: center; }
.p-bpo-kv__text { width: min(520px, 44%); padding: 140px 0 150px; }
.p-bpo-kv__people { position: absolute; z-index: 2; right: max(-40px, calc(50% - 780px)); bottom: 0; width: min(62vw, 940px); /* 文字の枠(1200px)に合わせて置く */ margin: 0; pointer-events: none; }
.p-bpo-kv__people img { display: block; width: 100%; height: auto; }
.p-bpo-kv__label { display: inline-block; font-size: 13px; letter-spacing: .14em; color: var(--bpo-on-dark); border-left: 3px solid var(--bpo-accent); padding-left: 12px; margin-bottom: 28px; }
.p-bpo-kv__copy { word-break: auto-phrase; font-size: clamp(34px, 4.4vw, 62px); font-weight: 900; line-height: 1.32; letter-spacing: .01em; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.p-bpo-kv__line { display: block; overflow: hidden; padding-bottom: .04em; }
.p-bpo-kv__line > span { display: inline-block; }
.p-bpo-kv__line.is-accent > span { color: var(--bpo-accent); }
.p-bpo-kv__sub { margin-top: 32px; font-size: 16px; line-height: 2; color: var(--bpo-on-dark); }
.p-bpo-kv__partner { margin-top: 20px; font-size: 14px; color: var(--bpo-on-dark); }
.p-bpo-kv__partner a { color: var(--bpo-white); font-weight: 700; }
/* 筆文字の見出し（画像）と「営業スキルが、身につく会社。」 */
.p-bpo-kv__line.is-moji { width: min(980px, 68vw); margin: 20px 0 0; padding-bottom: 22px; } /* 影が行の枠で切れて帯に見えないよう、下を内側でとる */
.p-bpo-kv__line.is-moji img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .5)); }
.p-bpo .p-bpo-kv__tag { margin: 0 0 18px; font-size: 18px; font-weight: 900; letter-spacing: .08em; color: var(--bpo-accent); }
@media (min-width: 992px) {
  .p-bpo-kv__people { bottom: -120px; } /* 一行の大きな見出しが顔にかからないよう、3人を下げる */
}
@media (min-width: 1400px) {
  /* 左の余白に、金の縦書きで置く */
  .p-bpo .p-bpo-kv__tag { position: absolute; left: -64px; top: 150px; margin: 0; writing-mode: vertical-rl; letter-spacing: .32em; padding: 4px 10px 4px 0; border-right: 1px solid rgba(239, 195, 59, .6); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
}

/* 2. 流れる職種名の帯 */
.p-bpo-band { position: relative; z-index: 2; margin: -28px 0 0; transform: rotate(-2deg); background: var(--bpo-dark-2); border-top: 3px solid var(--bpo-accent); overflow: hidden; }
.p-bpo-band__track { display: flex; width: max-content; animation: bpoMarquee 28s linear infinite; }
.bpo-js .p-bpo-band__track { animation: none; } /* GSAPが動かす */
/* 画面の外のセクションは、ずっと続くCSSの動き（点線・ポワン・帯）を止める。印は bpo.js の IntersectionObserver が付ける */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
.p-bpo-band__item { font-family: var(--bpo-en); padding: 18px 0; font-size: clamp(18px, 2vw, 26px); font-weight: 900; letter-spacing: .12em; color: var(--bpo-white); white-space: nowrap; }
.p-bpo-band__item::after { content: "/"; color: var(--bpo-accent); margin: 0 28px; }

/* 3. 募集職種カード（ラフ 2026-10-30_職種カードラフ 準拠：2×2、表は4枚とも同じ4行） */
.p-bpo__h2--bar::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 18px; background: var(--bpo-accent); }

/* 背景：大きく薄い英字・斜めの帯と線（SVG）・点の網。動きは bpo.js */
.p-bpo-jobsec { position: relative; overflow: hidden; isolation: isolate; background: var(--bpo-base); }
.p-bpo-jobsec > .p-bpo__inner { position: relative; z-index: 1; }
.p-bpo-jobsec__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.p-bpo-jobsec__lines { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; }
/* 背景の大きな薄い英字（キャリア・働く環境・選考の流れ・理念で共通。動きは bpo.js） */
.p-bpo-hasword { position: relative; overflow: hidden; isolation: isolate; }
.p-bpo-hasword > .p-bpo__inner { position: relative; z-index: 1; }
.p-bpo-bgword { position: absolute; top: 64px; right: -1.5%; z-index: 0; font-family: var(--bpo-en); font-size: clamp(96px, 15vw, 260px); font-weight: 900; line-height: 1; letter-spacing: -.02em; color: rgba(26, 26, 26, .045); white-space: nowrap; pointer-events: none; }
.p-bpo-slant .p-bpo-bgword { top: calc(64px + var(--slant)); }
.p-bpo__sec--dark .p-bpo-bgword { color: rgba(255, 255, 255, .045); }
.p-bpo-jobsec__word { position: absolute; top: 72px; right: -1.5%; font-family: var(--bpo-en); font-size: clamp(96px, 16vw, 280px); font-weight: 900; line-height: 1; letter-spacing: -.02em; color: rgba(26, 26, 26, .035); white-space: nowrap; }
.p-bpo-jobsec__dots { position: absolute; width: 280px; height: 280px; background: radial-gradient(circle, rgba(26, 26, 26, .2) 1.2px, transparent 1.6px) 0 0 / 16px 16px; }
.p-bpo-jobsec__dots.is-tl { left: 0; top: 0; -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%); mask-image: linear-gradient(135deg, #000, transparent 70%); }
.p-bpo-jobsec__dots.is-br { right: 0; bottom: 0; -webkit-mask-image: linear-gradient(315deg, #000, transparent 70%); mask-image: linear-gradient(315deg, #000, transparent 70%); }

/* カード：中の4段（見出し・本文・表・ボタン）を、隣のカードと高さを揃える（subgrid） */
.p-bpo-jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; counter-reset: job; }
.p-bpo-job { position: relative; display: flex; flex-direction: column; background: var(--bpo-white); border: 1px solid var(--bpo-line); border-radius: var(--bpo-radius); padding: 40px 40px 36px; transition: box-shadow .25s ease, transform .25s ease; }
@supports (grid-template-rows: subgrid) {
  .p-bpo-job { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
}
.p-bpo-job:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26, 26, 26, .1); }
.p-bpo-job__meta { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.p-bpo-job.is-key .p-bpo-job__meta, .p-bpo-job.is-partner .p-bpo-job__meta { padding-right: 120px; } /* 右上のバッジと重ねない */
.p-bpo-job__no { font-family: var(--bpo-en); counter-increment: job; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.p-bpo-job__no::before { content: counter(job, decimal-leading-zero); }
.p-bpo-job__en { font-family: var(--bpo-en); display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .2em; color: var(--bpo-muted); font-weight: 700; }
.p-bpo-job__en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.p-bpo-job__badge,
.p-bpo-job__pill { position: absolute; top: 40px; right: 40px; font-size: 12px; font-weight: 800; line-height: 1.6; padding: 3px 12px; }
.p-bpo-job__badge { background: var(--bpo-accent); color: var(--bpo-accent-ink); }
.p-bpo-job__pill { background: var(--bpo-base-2); color: var(--bpo-muted); border-radius: 99px; }
.p-bpo-job .p-bpo-job__ttl { word-break: auto-phrase; font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; line-height: 1.4; margin: 24px 0 16px; }
.p-bpo-job .p-bpo-job__catch { word-break: auto-phrase; font-size: 19px; font-weight: 800; line-height: 1.6; color: var(--bpo-accent-deep); margin-bottom: 14px; }
.p-bpo-job .p-bpo-job__read { font-size: 14px; line-height: 1.95; color: var(--bpo-muted); margin-bottom: 28px; }
.p-bpo-job__spec { margin: 0; border-top: 1px solid var(--bpo-line); }
.p-bpo-job__spec > div { display: grid; grid-template-columns: 6.5em 1fr; border-bottom: 1px solid var(--bpo-line); }
.p-bpo-job__spec dt, .p-bpo-job__spec dd { margin: 0; padding: 11px 14px; font-size: 14px; line-height: 1.6; }
.p-bpo-job__spec dt { font-weight: 700; color: var(--bpo-muted); background: rgba(26, 26, 26, .035); }
.p-bpo-job__spec dd { font-weight: 700; }
:is(.p-bpo-job, .p-bpo-modal) .p-bpo-job__note { margin-top: 8px; font-size: 12px; color: var(--bpo-muted); }
.p-bpo-job__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; align-self: end; }
.p-bpo-job__toggle,
.p-bpo-job__apply { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 16px; border-radius: var(--bpo-radius); font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer; text-decoration: none !important; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.p-bpo-job__toggle { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.p-bpo-job__toggle::after { content: ""; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .3s ease; }
.p-bpo-job__toggle:hover { background: var(--bpo-ink); color: var(--bpo-white); border-color: var(--bpo-ink); }
.p-bpo-job__apply { background: var(--bpo-accent); color: var(--bpo-accent-ink) !important; }
.p-bpo-job__apply::after { content: "→"; font-weight: 700; transition: transform .15s ease; }
.p-bpo-job__apply:hover { background: var(--bpo-accent-hover); }
.p-bpo-job__apply:hover::after { transform: translateX(4px); }
.p-bpo-job__info { display: grid; grid-template-columns: 8.5em 1fr; gap: 0 16px; margin: 0; }
.p-bpo-job__info dt, .p-bpo-job__info dd { margin: 0; padding: 14px 0; border-top: 1px dashed var(--bpo-line); font-size: 14px; line-height: 1.8; }
.p-bpo-job__info dt { font-weight: 800; }
.p-bpo-job__info ul { margin: 0; padding: 0; list-style: none; }
.p-bpo-job__info li { position: relative; padding-left: 1em; }
.p-bpo-job__info li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; background: var(--bpo-accent); }
:is(.p-bpo-job, .p-bpo-modal) .p-bpo-job__fit { margin-top: 16px; padding: 16px 20px; background: var(--bpo-base); font-size: 15px; font-weight: 700; line-height: 1.7; }
.p-bpo-job__fit span { display: block; font-size: 12px; color: var(--bpo-muted); margin-bottom: 2px; }
.p-bpo-job__link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* SV：濃い地に金の縁 */
.p-bpo-job.is-key { background: var(--bpo-dark-2); color: var(--bpo-white); border: 2px solid var(--bpo-accent); }
.p-bpo-job.is-key .p-bpo-job__en, .p-bpo-job.is-key .p-bpo-job__read, .p-bpo-job.is-key .p-bpo-job__note,
.p-bpo-job.is-key .p-bpo-job__spec dt, .p-bpo-job.is-key .p-bpo-job__fit span { color: var(--bpo-on-dark); }
.p-bpo-job.is-key .p-bpo-job__catch { color: var(--bpo-accent); }
.p-bpo-job.is-key .p-bpo-job__spec, .p-bpo-job.is-key .p-bpo-job__spec > div { border-color: rgba(255, 255, 255, .22); }
.p-bpo-job.is-key .p-bpo-job__spec dt { background: rgba(255, 255, 255, .05); }
.p-bpo-job.is-key .p-bpo-job__info dt, .p-bpo-job.is-key .p-bpo-job__info dd { border-color: rgba(255, 255, 255, .2); }
.p-bpo-job.is-key .p-bpo-job__info dd { color: var(--bpo-on-dark); }
.p-bpo-job.is-key .p-bpo-job__fit { background: rgba(255, 255, 255, .07); }
.p-bpo-job.is-key .p-bpo-job__toggle:hover { background: var(--bpo-white); color: var(--bpo-ink); border-color: var(--bpo-white); }
.p-bpo-job.is-key:hover { box-shadow: 0 18px 40px rgba(26, 26, 26, .28); }
/* 職種の詳細（モーダル）：見出しは濃い地、本文だけスクロール、応募ボタンは下に固定 */
.p-bpo-modal { position: fixed; inset: 0; margin: auto; width: min(760px, calc(100% - 48px)); max-width: none; height: fit-content; max-height: min(880px, calc(100svh - 64px)); padding: 0; border: 0; border-radius: var(--bpo-radius); background: var(--bpo-white); color: var(--bpo-ink); overflow: hidden; font-family: 'Noto Sans JP', sans-serif; line-height: 1.9; text-align: left; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.p-bpo-modal[open] { display: flex; }
.p-bpo-modal::backdrop { background: rgba(26, 26, 26, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.p-bpo-modal *, .p-bpo-modal *::before, .p-bpo-modal *::after { box-sizing: border-box; }
.p-bpo-modal p, .p-bpo-modal h3 { margin: 0; }
.p-bpo-modal a { color: inherit; }
.p-bpo-modal__box { display: flex; flex-direction: column; width: 100%; max-height: inherit; }
.p-bpo-modal__head { position: relative; flex: none; padding: 32px 88px 28px 40px; background: var(--bpo-dark-2); color: var(--bpo-white); border-bottom: 3px solid var(--bpo-accent); }
.p-bpo-modal__en { font-family: var(--bpo-en); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--bpo-on-dark); }
.p-bpo-modal .p-bpo-modal__ttl { word-break: auto-phrase; font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.4; margin: 6px 0 8px; }
.p-bpo-modal__catch { font-size: 16px; font-weight: 800; color: var(--bpo-accent); }
.p-bpo-modal__close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 50%; transition: background-color .15s ease, transform .3s ease; }
.p-bpo-modal__close::before, .p-bpo-modal__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--bpo-white); transform: translate(-50%, -50%) rotate(45deg); }
.p-bpo-modal__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.p-bpo-modal__close:hover { background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.p-bpo-modal__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 32px 40px 36px; }
.p-bpo-modal .p-bpo-modal__read { font-size: 15px; color: var(--bpo-muted); margin-bottom: 24px; }
.p-bpo-modal .p-bpo-job__info { margin-top: 32px; }
.p-bpo-modal .p-bpo-job__fit { margin-top: 24px; }
.p-bpo-modal__foot .p-bpo-job__toggle::after { transform: rotate(45deg); }
.p-bpo-modal__foot { flex: none; display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; padding: 16px 40px; background: var(--bpo-white); border-top: 1px solid var(--bpo-line); }
/* JS が動かないときは、URLの #sv などで開いた詳細を、カードの下にそのまま出す */
/* 福利厚生一覧：アコーディオンにせず、全部開いたまま2列に並べる */
.p-bpo-modal.is-welfare { width: min(960px, calc(100% - 48px)); }
.p-bpo-modal.is-welfare .p-bpo-modal__foot { grid-template-columns: 1fr; }
.p-bpo-welfare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.p-bpo-welfare li { padding: 18px 20px; background: var(--bpo-base); border-left: 3px solid var(--bpo-accent); border-radius: 0 var(--bpo-radius) var(--bpo-radius) 0; }
.p-bpo-modal .p-bpo-welfare__ttl { font-size: 16px; font-weight: 900; line-height: 1.5; margin-bottom: 4px; }
.p-bpo-welfare__read { font-size: 14px; line-height: 1.8; color: var(--bpo-muted); }
.p-bpo-modal .p-bpo-welfare__note { margin-top: 24px; font-size: 14px; font-weight: 700; }
.p-bpo-modal:not([open]):target { display: block; position: static; width: auto; max-height: none; margin: 48px auto 0; max-width: var(--bpo-max); box-shadow: none; }

/* コールスタッフ（業務委託）：正社員と混ざらないよう、グレー地で控えめに */
.p-bpo-job.is-partner { background: #efefec; }
.p-bpo-job.is-partner .p-bpo-job__spec dt { background: rgba(26, 26, 26, .05); }
.p-bpo-job.is-partner .p-bpo-job__fit { background: var(--bpo-white); }

/* 4. BPOとは（濃いグレー） */
.p-bpo-compare__wrap { overflow-x: auto; margin-top: 72px; }
.p-bpo-compare { width: 100%; border-collapse: collapse; }
.p-bpo-compare th, .p-bpo-compare td { padding: 20px 24px; border: 1px solid rgba(255,255,255,.18); vertical-align: top; text-align: left; line-height: 1.7; }
.p-bpo-compare thead th { font-size: 14px; color: var(--bpo-on-dark); background: rgba(255,255,255,.04); }
.p-bpo-compare thead th.is-us { background: var(--bpo-accent); color: var(--bpo-accent-ink); }
.p-bpo-compare tbody th { width: 22%; font-weight: 700; }
.p-bpo-compare td { color: var(--bpo-on-dark); }
.p-bpo-compare td.is-us { font-weight: 700; color: var(--bpo-white); background: rgba(239,195,59,.1); }
.p-bpo-note { margin-top: 16px; font-size: 13px; color: var(--bpo-muted); }
.p-bpo__sec--dark .p-bpo-note { color: var(--bpo-on-dark); }

/* 雲：3枚を重ねて、横に流しつつスクロールで上下にずらす（動きは bpo.js） */
.p-bpo-clouds { position: relative; overflow: hidden; isolation: isolate; }
.p-bpo-clouds > .p-bpo__inner { position: relative; z-index: 1; }
.p-bpo-cloud { position: absolute; left: 0; right: 0; top: -15%; bottom: -15%; z-index: 0; pointer-events: none; }
.p-bpo-cloud__img { position: absolute; inset: 0 auto 0 0; width: calc(100% + var(--tile)); background-repeat: repeat; background-position: 0 0; background-size: var(--tile) auto; } /* タイルは縦にもつながるので、セクションの高さ全体に敷く */
.p-bpo-cloud--1 { opacity: .75; }
.p-bpo-cloud--1 .p-bpo-cloud__img { --tile: 2000px; background-image: url(../img/bpo/cloud1.webp); }
.p-bpo-cloud--2 { opacity: .55; }
.p-bpo-cloud--2 .p-bpo-cloud__img { --tile: 1600px; background-image: url(../img/bpo/cloud2.webp); }
.p-bpo-cloud--3 { opacity: .4; }
.p-bpo-cloud--3 .p-bpo-cloud__img { --tile: 1300px; background-image: url(../img/bpo/cloud3.webp); }
.p-bpo-clouds .p-bpo-compare { background: rgba(26,26,26,.35); }

/* 上下を斜めに切るセクション（KVの斜線・帯と同じ右上がり）。前後のセクションに斜め分だけ重ねる */
.p-bpo-slant { --slant: clamp(36px, 5vw, 96px); position: relative; z-index: 1; margin: calc(var(--slant) * -1) 0; padding-top: calc(var(--sec) + var(--slant)); padding-bottom: calc(var(--sec) + var(--slant)); clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.p-bpo-slant__edge { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: var(--slant); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cline x1='0' y1='10' x2='100' y2='0' stroke='%23efc33b' stroke-width='6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; pointer-events: none; } /* 金の線は SVG で描く（グラデーションの斜めの縁は Windows の等倍の画面でギザギザになる）。太さ6の半分は切り口の外に隠れ、見えるのは3px */

/* BPOとは：右上の人物（見出しと本文の右の空きに置く。狭い画面では出さない） */
.p-bpo .p-bpo-about__person { position: absolute; z-index: 0; top: calc(var(--slant) + 24px); right: max(0px, calc(50% - 680px)); width: min(36vw, 560px); margin: 0; pointer-events: none; }
.p-bpo-about__person img { display: block; width: 100%; height: auto; }
@media (max-width: 1199px) { .p-bpo .p-bpo-about__person { display: none; } }

/* 図：アポで終わらせない（左の金の線＝最後から最初へ戻る改善の流れ） */
.p-bpo .p-bpo-funnel { margin: 80px 0 0; padding: 48px 48px 36px; background: rgba(26, 26, 26, .4); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--bpo-radius); }
.p-bpo-funnel .p-bpo-funnel__ttl { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.4; margin-bottom: 36px; }
.p-bpo-funnel__ttl span { color: var(--bpo-accent); }
.p-bpo-funnel__chart { --row: 64px; display: grid; grid-template-columns: 40px 4.5em 1fr 18px 18px 9.5em; grid-template-rows: repeat(4, var(--row)); column-gap: 12px; align-items: center; }
.p-bpo-funnel__label { grid-column: 2; font-weight: 800; font-size: 16px; }
.p-bpo-funnel__track { grid-column: 3; height: 60%; }
.p-bpo-funnel__bar { display: block; height: 100%; background: rgba(255, 255, 255, .24); transform-origin: 0 50%; }
.p-bpo-funnel__bar.is-us { background: var(--bpo-accent); }
.p-bpo-funnel__loop { grid-column: 1; grid-row: 1 / 5; align-self: stretch; position: relative; margin: calc(var(--row) / 2) 0 calc(var(--row) / 2) 8px; border: 2px solid var(--bpo-accent); border-right: 0; border-radius: 16px 0 0 16px; }
.p-bpo-funnel__loop::after { content: ""; position: absolute; right: -10px; top: -7px; border: 6px solid transparent; border-left: 10px solid var(--bpo-accent); } /* 架電へ戻る矢印 */
.p-bpo-funnel__range { align-self: stretch; margin: 10px 0; border: 2px solid; border-left: 0; }
.p-bpo-funnel__range.is-other { grid-column: 4; grid-row: 1 / 4; border-color: rgba(255, 255, 255, .45); border-style: dashed; }
.p-bpo-funnel__range.is-us { grid-column: 5; grid-row: 1 / 5; border-color: var(--bpo-accent); }
.p-bpo-funnel__range-txt { grid-column: 6; font-size: 14px; font-weight: 700; line-height: 1.5; }
.p-bpo-funnel__range-txt.is-other { grid-row: 3; color: var(--bpo-on-dark); }
.p-bpo-funnel__range-txt.is-us { grid-row: 4; color: var(--bpo-accent); }
.p-bpo-funnel .p-bpo-funnel__note { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; font-size: 15px; font-weight: 700; line-height: 1.8; }
.p-bpo-funnel__key { flex: none; width: 28px; height: 20px; margin-top: 4px; border: 2px solid var(--bpo-accent); border-right: 0; border-radius: 10px 0 0 10px; }
.p-bpo-funnel .p-bpo-note { margin-top: 12px; font-size: 12px; }

/* 5. しくみ図：2本のレーン。線を引き、金の点が流れ続ける（動きは bpo.js）。役割のカードは募集職種のモーダルを開く */
.p-bpo-structure { background: radial-gradient(circle, rgba(26, 26, 26, .08) 1px, transparent 1.4px) 0 0 / 24px 24px, var(--bpo-white); }
.p-bpo-lanes { display: grid; gap: 24px; }
.p-bpo-lane { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; padding: 36px 40px; background: var(--bpo-base); border-radius: var(--bpo-radius); }
.p-bpo-lane__no { display: block; font-family: var(--bpo-en); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; margin-bottom: 12px; }
.p-bpo-lane .p-bpo-lane__ttl { font-size: 22px; font-weight: 900; line-height: 1.5; }
.p-bpo-lane .p-bpo-lane__read { font-size: 14px; color: var(--bpo-muted); }
.p-bpo-lane__track { position: relative; display: flex; align-items: stretch; } /* 同じレーンのカードは高さをそろえる */
.p-bpo-lane__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--bpo-line); }
.p-bpo-lane__dot { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--bpo-accent); box-shadow: 0 0 0 5px rgba(239, 195, 59, .25); opacity: 0; }
.p-bpo-lane__step { position: relative; z-index: 1; flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--bpo-white); border: 1px solid var(--bpo-line); border-radius: var(--bpo-radius); text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.p-bpo-lane__step:hover { transform: translateY(-3px); border-color: var(--bpo-ink); box-shadow: 0 12px 28px rgba(26, 26, 26, .1); }
.p-bpo-lane__name { font-size: 17px; font-weight: 900; line-height: 1.5; }
.p-bpo-lane__desc { font-size: 13px; line-height: 1.75; color: var(--bpo-muted); }
.p-bpo-lane__more { margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--bpo-accent-deep); }
.p-bpo-lane__more::after { content: " →"; }
.p-bpo-lane__step.is-key { background: var(--bpo-dark-2); color: var(--bpo-white); border: 2px solid var(--bpo-accent); }
.p-bpo-lane__step.is-key .p-bpo-lane__desc { color: var(--bpo-on-dark); }
.p-bpo-lane__step.is-key .p-bpo-lane__more { color: var(--bpo-accent); }
.p-bpo-lane__arrow { position: relative; z-index: 1; flex: 0 0 40px; height: 28px; align-self: center; }
.p-bpo-lane__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -8px; border-top: 2px solid var(--bpo-ink); border-right: 2px solid var(--bpo-ink); transform: rotate(45deg); }
.p-bpo-lane__goal { position: relative; z-index: 1; flex: none; align-self: center; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--bpo-accent); color: var(--bpo-accent-ink); font-size: 17px; font-weight: 900; }
.p-bpo-lanes .p-bpo-lanes__center { text-align: center; font-size: 17px; margin-top: 24px; }

/* 6. 人物像：斜めに切った濃いグレー＋白い細線。考え方はカードにして、見出しの上に金の縁取りの大きな番号 */
.p-bpo-people { overflow: hidden; isolation: isolate; }
.p-bpo-people > .p-bpo__inner { position: relative; z-index: 1; }
.p-bpo-people__lines { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; z-index: 0; pointer-events: none; }
.p-bpo-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; counter-reset: v; }
.p-bpo-value { --line: 100%; position: relative; overflow: hidden; counter-increment: v; padding: 48px 40px 40px; background: linear-gradient(var(--bpo-accent), var(--bpo-accent)) 0 0 / var(--line) 3px no-repeat, rgba(26, 26, 26, .32); border-radius: var(--bpo-radius); }
.p-bpo-value::before { content: counter(v, decimal-leading-zero); display: block; margin-bottom: 16px; font-family: var(--bpo-en); font-size: 72px; font-weight: 900; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(239, 195, 59, .7); }
.p-bpo-value .p-bpo-value__ttl { word-break: auto-phrase; font-size: 24px; font-weight: 900; line-height: 1.5; margin-bottom: 18px; }
.p-bpo-value .p-bpo-value__read { color: var(--bpo-on-dark); font-size: 15px; line-height: 2; }
.p-bpo .p-bpo-values__close { text-align: center; margin-top: 80px; font-size: clamp(18px, 2.2vw, 26px); font-weight: 900; line-height: 1.9; }
.p-bpo-values__close span { color: var(--bpo-accent); }

/* 7. キャリア：右へ行くほど高くなる階段＋後ろの金の斜め矢印（スマホは下へ行くほど長い横棒） */
.p-bpo-career { position: relative; padding-top: 24px; }
.p-bpo-career__arrow { position: absolute; left: 4%; right: 6%; top: 0; bottom: 20%; width: 90%; height: 80%; overflow: visible; pointer-events: none; }
.p-bpo-career__arrow line { stroke: var(--bpo-accent); stroke-width: 2; stroke-dasharray: 6 6; animation: bpo-march-svg .6s linear infinite; }
/* 点線が左（始点）から右（終点）へ流れ続ける。1周＝点線1組（6＋6px）ぶん */
@keyframes bpo-march-svg { to { stroke-dashoffset: -12; } }
.p-bpo-career__head { position: absolute; left: 91.3%; top: 3.2%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bpo-accent); box-shadow: 0 0 0 6px rgba(239, 195, 59, .25); --ring: 4.1; } /* 矢印の行き先（線の終点に合わせた位置） */
/* 終点の金の丸：薄い輪が外へ広がって消える、をくり返す */
/* 影（box-shadow）を動かすと毎回描き直しになるので、後ろの円を大きくして消す（拡大と透明度だけ＝軽い） */
.p-bpo-career__head, .p-bpo-env__dot.is-to, .p-bpo-flow__step.is-goal .p-bpo-flow__node { isolation: isolate; }
.p-bpo-career__head::after, .p-bpo-env__dot.is-to::after, .p-bpo-flow__step.is-goal .p-bpo-flow__node::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 50%; background: rgba(239, 195, 59, .6); animation: bpo-ring 1.6s ease-out infinite; will-change: transform, opacity; pointer-events: none; }
@keyframes bpo-ring { from { transform: scale(1); opacity: 1; } to { transform: scale(var(--ring, 3)); opacity: 0; } }
.p-bpo-career__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 16px; height: 340px; margin: 0; padding: 0; list-style: none; }
.p-bpo-career__step { display: flex; flex-direction: column; gap: 4px; height: max(var(--h), 168px); padding: 22px 22px; background: var(--bpo-white); border-top: 4px solid var(--bpo-ink); border-radius: var(--bpo-radius) var(--bpo-radius) 0 0; transform-origin: 50% 100%; }
.p-bpo-career__no { font-family: var(--bpo-en); font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--bpo-muted); }
.p-bpo-career__name { word-break: auto-phrase; font-size: clamp(17px, 1.7vw, 22px); font-weight: 900; line-height: 1.4; }
.p-bpo-career__desc { position: relative; z-index: 1; margin-top: 6px; word-break: auto-phrase; font-size: 13px; font-weight: 500; line-height: 1.7; color: var(--bpo-muted); }
.p-bpo-career__step.is-goal .p-bpo-career__desc { color: var(--bpo-on-dark); }
.p-bpo-career__steps { counter-reset: cs; }
.p-bpo-career__step { position: relative; overflow: hidden; counter-increment: cs; }
.p-bpo-career__step::after { content: counter(cs, decimal-leading-zero); position: absolute; right: 12px; bottom: -14px; font-family: var(--bpo-en); font-size: 96px; font-weight: 900; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(26, 26, 26, .12); }
.p-bpo-career__step.is-goal::after { -webkit-text-stroke-color: rgba(239, 195, 59, .45); }
.p-bpo-career__step.is-goal { background: var(--bpo-dark-2); color: var(--bpo-accent); border-top-color: var(--bpo-accent); }
.p-bpo-career__step.is-goal .p-bpo-career__no { color: var(--bpo-on-dark); }
.p-bpo .p-bpo-career__note { text-align: center; margin-top: 24px; }

/* 8. 環境 */
/* 7. 働く環境：上に「場所」「休み」の2枚、下に制度の黒い箱 */
.p-bpo-env { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.p-bpo-env__item { position: relative; background: var(--bpo-base); border-radius: var(--bpo-radius); padding: 40px 36px 36px; border-top: 3px solid var(--bpo-accent); }
.p-bpo .p-bpo-env__ttl { font-weight: 900; font-size: 20px; line-height: 1.5; margin-bottom: 10px; }
.p-bpo-env__read { font-size: 15px; color: var(--bpo-muted); }
.p-bpo .p-bpo-env__big { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; line-height: 1; }
.p-bpo-env__num { font-family: var(--bpo-en); font-size: clamp(56px, 6vw, 88px); font-weight: 900; letter-spacing: -.03em; }
.is-holiday .p-bpo-env__num { font-family: inherit; font-size: clamp(44px, 4.6vw, 68px); letter-spacing: .02em; }
.p-bpo-env__unit { font-family: var(--bpo-en); font-size: 18px; font-weight: 800; letter-spacing: .16em; color: var(--bpo-accent-deep); }
/* 駅→本社の線 */
.p-bpo-env__route { position: relative; height: 20px; }
.p-bpo-env__route-line { position: absolute; left: 8px; right: 10px; top: 50%; height: 2px; margin-top: -1px; overflow: hidden; transform-origin: 0 50%; }
/* 点線は、1目盛りぶん長い帯を横に動かす（背景の位置を動かすと毎回描き直しになるため） */
.p-bpo-env__route-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -12px; right: 0; background: repeating-linear-gradient(to right, var(--bpo-ink) 0 6px, transparent 6px 12px); animation: bpo-dash-x .6s linear infinite; will-change: transform; }
@keyframes bpo-dash-x { to { transform: translateX(12px); } }
.p-bpo-env__dot { position: absolute; top: 50%; border-radius: 50%; transform: translateY(-50%); }
.p-bpo-env__dot.is-from { left: 0; width: 14px; height: 14px; background: var(--bpo-white); border: 2px solid var(--bpo-ink); }
.p-bpo-env__dot.is-to { right: 0; width: 18px; height: 18px; background: var(--bpo-accent); box-shadow: 0 0 0 6px rgba(239, 195, 59, .25); --ring: 3.4; }
.p-bpo .p-bpo-env__route-txt { display: flex; justify-content: space-between; margin: 4px 0 24px; font-size: 13px; font-weight: 700; color: var(--bpo-muted); }
/* 1週間 */
.p-bpo-env__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.p-bpo-env__week li { display: grid; place-items: center; height: 44px; border-radius: var(--bpo-radius); background: var(--bpo-white); font-size: 14px; font-weight: 800; color: var(--bpo-muted); }
.p-bpo-env__week li.is-off { background: var(--bpo-accent); color: var(--bpo-accent-ink); }
/* 制度 */
.p-bpo-env__item.is-benefit { grid-column: 1 / -1; display: grid; grid-template-columns: 300px 1fr; gap: 48px; background: var(--bpo-dark-2); color: var(--bpo-white); padding: 48px; }
.is-benefit .p-bpo-env__read { color: var(--bpo-on-dark); }
.p-bpo-env__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.p-bpo .p-bpo-env__gttl { font-weight: 900; font-size: 16px; line-height: 1.4; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.p-bpo-env__gttl span { display: block; font-family: var(--bpo-en); font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--bpo-accent); margin-bottom: 4px; }
.p-bpo-env__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.p-bpo-env__chips li { padding: 5px 12px; border: 1px solid rgba(239, 195, 59, .55); border-radius: 99px; font-size: 13px; font-weight: 700; line-height: 1.6; }
.p-bpo-env + .p-bpo__btns { margin-top: 48px; }

/* 9. 選考 */
/* 8. 選考の流れ：4つの点を金の点線でつなぐ */
.p-bpo-flow__panel { padding: 48px 56px 40px; background: var(--bpo-white); border-radius: var(--bpo-radius); box-shadow: 0 18px 40px rgba(26, 26, 26, .06); }
.p-bpo-flow { position: relative; }
.p-bpo-flow__line { position: absolute; left: 10%; right: 10%; top: 39px; height: 2px; overflow: hidden; transform-origin: 0 50%; }
.p-bpo-flow__line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -16px; right: 0; background: repeating-linear-gradient(to right, var(--bpo-accent) 0 8px, transparent 8px 16px); animation: bpo-dash-x16 .8s linear infinite; will-change: transform; }
@keyframes bpo-dash-x16 { to { transform: translateX(16px); } }
.p-bpo-flow__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.p-bpo-flow__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.p-bpo-flow__node { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--bpo-white); border: 2px solid var(--bpo-ink); font-family: var(--bpo-en); font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.p-bpo-flow__name { margin-top: 18px; font-size: 20px; font-weight: 900; line-height: 1.4; }
.p-bpo-flow__sub { word-break: auto-phrase; margin-top: 6px; max-width: 15em; font-size: 13px; line-height: 1.7; color: var(--bpo-muted); }
.p-bpo-flow__step.is-goal .p-bpo-flow__node { position: relative; background: var(--bpo-accent); border-color: var(--bpo-accent); box-shadow: 0 0 0 6px rgba(239, 195, 59, .25); --ring: 1.75; }
.p-bpo-flow__msg { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 28px; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px dashed var(--bpo-line); }
.p-bpo .p-bpo-flow__msg-label { padding: 6px 14px; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--bpo-accent-ink); background: var(--bpo-accent); border-radius: 99px; }
.p-bpo .p-bpo-flow__msg-txt { word-break: auto-phrase; font-size: 17px; font-weight: 700; line-height: 1.8; }

/* 10. 理念・会社概要 */
/* 9. 理念・会社概要：左に毛筆の理念、右に一文。下に会社概要 */
.p-bpo-philo { background: var(--bpo-dark-2); }
.p-bpo-company { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 88px; align-items: center; }
.p-bpo-philo .p-bpo-rinen__img img { filter: invert(1); } /* 黒い墨の画像を、黒地では白く出す */
.p-bpo-rinen { position: relative; aspect-ratio: 553 / 581; }
.p-bpo-rinen__img, .p-bpo-rinen__img img { display: block; width: 100%; height: auto; }
.p-bpo-rinen__img.is-bottom { position: absolute; inset: 0; }
/* 同じ画像を2枚重ね、上の「ありがとう」と下の縦書きを別々に出す（区切りは画像の上から44%＝文字のない行） */
.p-bpo-rinen__img.is-top { clip-path: inset(0 0 56% 0); }
.p-bpo-rinen__img.is-bottom { clip-path: inset(44% 0 0 0); }
.p-bpo .p-bpo-company__text .p-bpo__lead { margin-top: 28px; }

.p-bpo .p-bpo-companysec__ttl { margin-bottom: 36px; }
.p-bpo-company__info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin: 0; border-top: 2px solid var(--bpo-ink); }
.p-bpo-company__info > div { display: grid; grid-template-columns: 7em 1fr; border-bottom: 1px solid var(--bpo-line); }
.p-bpo-company__info dt, .p-bpo-company__info dd { margin: 0; padding: 20px 0; font-size: 15px; line-height: 1.8; }
.p-bpo-company__info dt { font-weight: 700; color: var(--bpo-muted); }
.p-bpo-company__sub { font-size: 13px; color: var(--bpo-muted); }

/* 11. CTA */
/* 10. エントリー：上だけ斜め（下はフッターにつながるので、まっすぐ） */
.p-bpo-cta { text-align: center; overflow: hidden; }
.p-bpo-slant.p-bpo-slant--top { margin-bottom: 0; padding-bottom: var(--sec); clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); }
.p-bpo-cta > .p-bpo__inner { position: relative; z-index: 1; }
.p-bpo-cta__marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; }
.p-bpo-cta__track { display: flex; width: max-content; animation: bpo-marquee 60s linear infinite; }
.p-bpo-cta__track span { padding-right: .5em; font-family: var(--bpo-en); font-size: clamp(120px, 18vw, 280px); font-weight: 900; line-height: 1; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .09); }
.p-bpo-cta__track span:nth-child(even) { -webkit-text-stroke-color: rgba(239, 195, 59, .16); }
@keyframes bpo-marquee { to { transform: translateX(-50%); } }
.p-bpo-cta__choices { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; max-width: 920px; margin: 48px auto 0; text-align: left; }
.p-bpo-cta__choice { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 28px 80px 28px 32px; border: 2px solid rgba(255, 255, 255, .6); border-radius: var(--bpo-radius); color: var(--bpo-white) !important; text-decoration: none !important; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.p-bpo-cta__choice::after { content: "→"; position: absolute; right: 28px; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 700; transition: transform .2s ease; }
.p-bpo-cta__choice:hover { transform: translateY(-3px); background: var(--bpo-white); color: var(--bpo-ink) !important; border-color: var(--bpo-white); }
.p-bpo-cta__choice:hover::after { transform: translateX(4px); }
.p-bpo-cta__choice.is-main { background: var(--bpo-accent); border-color: var(--bpo-accent); color: var(--bpo-accent-ink) !important; }
.p-bpo-cta__choice.is-main:hover { background: var(--bpo-accent-hover); border-color: var(--bpo-accent-hover); }
.p-bpo-cta__en { font-family: var(--bpo-en); font-size: 12px; font-weight: 800; letter-spacing: .2em; opacity: .75; }
.p-bpo-cta__ttl { word-break: auto-phrase; font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; line-height: 1.5; }
.p-bpo-cta__sub { word-break: auto-phrase; font-size: 13px; font-weight: 700; opacity: .8; }

/* 動き（本体は assets/js/bpo.js の GSAP。ここは JS が動く前に隠しておく分と、帯の予備） */
.bpo-js .p-bpo-kv [data-kv] { visibility: hidden; }
.bpo-js .p-bpo-kv__line > span { transform: translateY(110%); } /* GSAP の yPercent:110 と同じ位置 */
.bpo-js .p-bpo-kv__line.is-moji > span { transform: translateY(130%); } /* 筆文字は yPercent:130 から */
@keyframes bpoMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .p-bpo *, .p-bpo *::before { animation: none !important; transition: none !important; }
}

/* タブレット・スマホ */
@media (max-width: 991px) {
  .p-bpo { --sec: 100px; }
  .p-bpo-cta__choices { grid-template-columns: 1fr; max-width: 560px; margin-top: 40px; }
  .p-bpo-cta__choice { padding: 22px 68px 22px 20px; }
  .p-bpo-cta__sub { font-size: 12px; }
  .p-bpo-cta__choice::after { right: 20px; }
  .p-bpo__inner, .p-bpo-kv__grid { padding: 0 24px; }
  .p-bpo-kv { min-height: 0; }
  .p-bpo-kv__grid { display: block; min-height: 0; }
  .p-bpo-kv__text { width: auto; padding: 112px 0 8px; }
  .p-bpo-kv__bg::after { background: linear-gradient(180deg, rgba(26,26,26,.85) 0%, rgba(26,26,26,.55) 45%, rgba(26,26,26,.1) 75%); }
  .p-bpo-kv__bg img { object-position: 58% 50%; }
  .p-bpo-kv__people { position: relative; right: auto; width: 112%; margin: 0 -6% 0; }
  .p-bpo-kv__line.is-moji { width: min(100%, 420px); }
  .p-bpo-job { padding: 32px 28px 28px; }
  .p-bpo-job__badge, .p-bpo-job__pill { top: 32px; right: 28px; }
  .p-bpo-job__no { font-size: 34px; }
  .p-bpo-values, .p-bpo-company, .p-bpo-company__info { grid-template-columns: 1fr; }
  .p-bpo-flow__panel { padding: 40px 32px 32px; }

  .p-bpo-env__item.is-benefit { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
  .p-bpo-lane { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .p-bpo-lane__no { display: inline-block; font-size: 32px; margin: 0 12px 0 0; vertical-align: middle; }
  .p-bpo-lane .p-bpo-lane__ttl { display: inline-block; vertical-align: middle; }
  .p-bpo-values { gap: 20px; }
  .p-bpo-value { padding: 40px 28px 32px; }
  .p-bpo-value::before { font-size: 56px; margin-bottom: 12px; }
  .p-bpo-value .p-bpo-value__ttl { font-size: 21px; }
  .p-bpo-company { gap: 48px; }
  .p-bpo-rinen { width: min(100%, 360px); margin: 0 auto; }
}
@media (max-width: 767px) {
  .p-bpo-career { padding-top: 0; }
  .p-bpo-career__arrow, .p-bpo-career__head { display: none; }
  .p-bpo-career__steps { grid-template-columns: 1fr; height: auto; gap: 10px; }
  .p-bpo-career__step { height: auto; width: var(--w); padding: 16px 18px; border-top: 0; border-left: 4px solid var(--bpo-ink); border-radius: 0 var(--bpo-radius) var(--bpo-radius) 0; transform-origin: 0 50%; }
  .p-bpo-career__step.is-goal { border-left-color: var(--bpo-accent); }
  .p-bpo-career__step::after { display: none; }
  .p-bpo-jobs { grid-template-columns: 1fr; gap: 20px; }
  .p-bpo-env { grid-template-columns: 1fr; gap: 16px; }
  .p-bpo-env__item { padding: 32px 24px 28px; }
  .p-bpo-env__item.is-benefit { padding: 36px 24px; }
  .p-bpo-env__groups { grid-template-columns: 1fr; gap: 28px; }
  /* 選考の流れ：縦に並べ、点線も縦に流す */
  .p-bpo-flow__line { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; transform-origin: 50% 0; }
  .p-bpo-flow__line::before { left: 0; right: 0; top: -16px; bottom: 0; background: repeating-linear-gradient(to bottom, var(--bpo-accent) 0 8px, transparent 8px 16px); animation-name: bpo-dash-y16; }
  @keyframes bpo-dash-y16 { to { transform: translateY(16px); } }
  .p-bpo-flow__steps { grid-template-columns: 1fr; gap: 28px; }
  .p-bpo-flow__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: center; text-align: left; }
  .p-bpo-flow__node { grid-row: span 2; width: 64px; height: 64px; font-size: 18px; }
  .p-bpo-flow__name { margin-top: 0; font-size: 18px; align-self: end; }
  .p-bpo-flow__name:last-child { grid-row: span 2; align-self: center; } /* 補足のない段は、名前を丸の真横に */
  .p-bpo-flow__sub { align-self: start; }
  .p-bpo-flow__sub { margin-top: 2px; max-width: none; }
  .p-bpo-flow__msg { grid-template-columns: 1fr; justify-items: start; margin-top: 32px; padding-top: 24px; }
  .p-bpo-flow__panel { padding: 32px 20px 28px; }
  .p-bpo-career__desc { font-size: 12px; }
  .p-bpo .p-bpo-flow__msg-txt { font-size: 16px; }
  .p-bpo-lane__track { flex-direction: column; align-items: stretch; }
  .p-bpo-lane__line { left: 50%; right: auto; top: 24px; bottom: 36px; width: 2px; height: auto; margin: 0 0 0 -1px; }
  .p-bpo-lane__dot { display: none; }
  .p-bpo-lane__arrow { flex-basis: 36px; transform: rotate(90deg); }
  .p-bpo-lane__goal { align-self: center; width: 72px; height: 72px; }
}
@media (max-width: 575px) {
  .p-bpo__inner, .p-bpo-kv__grid { padding: 0 16px; }
  .p-bpo__text p { font-size: 16px; }
  .p-bpo-lane { padding: 28px 16px; }
  .p-bpo__btns .p-bpo__btn { width: 100%; }
  .p-bpo-compare th, .p-bpo-compare td { padding: 14px; font-size: 14px; }
  /* スマホは1項目ずつ縦に積む（3列だと狭すぎる） */
  .p-bpo-compare thead { display: none; }
  .p-bpo-compare, .p-bpo-compare tbody, .p-bpo-compare tr, .p-bpo-compare th, .p-bpo-compare td { display: block; width: auto; }
  .p-bpo-compare tr + tr { margin-top: 12px; }
  .p-bpo-compare tbody th { width: auto; background: rgba(255,255,255,.06); }
  .p-bpo-compare td { border-top: 0; }
  .p-bpo-compare td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; opacity: .7; margin-bottom: 2px; }
  .p-bpo-compare td.is-us::before { color: var(--bpo-accent); opacity: 1; }
  .p-bpo-job { padding: 28px 20px 24px; }
  .p-bpo-job__badge, .p-bpo-job__pill { top: 28px; right: 20px; }
  .p-bpo-job__meta { gap: 12px; }
  .p-bpo-job__en::before { width: 24px; }
  .p-bpo-job__foot { grid-template-columns: 1fr; }
  .p-bpo-job__foot .p-bpo-job__apply { order: -1; }
  .p-bpo-job__info { grid-template-columns: 1fr; }
  .p-bpo-modal { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .p-bpo-modal__head { padding: 24px 72px 20px 20px; }
  .p-bpo-modal__close { top: 16px; right: 16px; width: 44px; height: 44px; }
  .p-bpo-modal__body { padding: 24px 20px 28px; }
  .p-bpo-modal.is-welfare { width: 100%; }
  .p-bpo-welfare { grid-template-columns: 1fr; }
  .p-bpo-modal__foot { grid-template-columns: 1fr 1.6fr; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .p-bpo-job__info dd { border-top: 0; padding-top: 0; }
  .p-bpo-jobsec__dots { width: 160px; height: 160px; }
  .p-bpo .p-bpo-funnel { margin-top: 56px; padding: 28px 16px 24px; }
  .p-bpo-funnel__chart { --row: 52px; grid-template-columns: 22px 2.6em 1fr 10px 10px 6.4em; column-gap: 8px; }
  .p-bpo-funnel__label { font-size: 14px; }
  .p-bpo-funnel__loop { margin-left: 4px; }
  .p-bpo-funnel__range-txt { font-size: 11px; }
  .p-bpo-funnel .p-bpo-funnel__note { font-size: 14px; }
}

/* ローディング（トップのみ）：黒い画面にロゴと金の線。抜けるときは下の端を斜めにして、金の線を付ける */
.p-bpo-loader { --slant: clamp(36px, 5vw, 96px); position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center; background: #1a1a1a; }
.p-bpo-loader.is-leaving { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.p-bpo-loader__in { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.p-bpo-loader__in img { display: block; width: 180px; height: auto; }
.p-bpo-loader__bar { display: block; width: 180px; height: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.p-bpo-loader__bar > span { display: block; height: 100%; background: #efc33b; transform: scaleX(0); transform-origin: 0 50%; animation: bpo-loader-bar 1.4s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes bpo-loader-bar { to { transform: scaleX(.85); } } /* 読み込みが終わったら bpo.js が 100% まで伸ばす */
.p-bpo-loader__cap { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .32em; color: #8f8f8b; }
.p-bpo-loader__edge { position: absolute; left: 0; right: 0; bottom: 0; height: var(--slant); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cline x1='0' y1='10' x2='100' y2='0' stroke='%23efc33b' stroke-width='6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; opacity: 0; pointer-events: none; }
.p-bpo-loader.is-leaving .p-bpo-loader__edge { opacity: 1; }

/* 応募：背景の絵。上は暗くして見出しを読みやすく、下に3人が見える */
.p-bpo-cta__bg { position: absolute; left: 0; right: 0; bottom: -12%; height: 112%; z-index: 0; pointer-events: none; } /* 少し下へずらして、3人の頭がボタンの下に来るようにする */
.p-bpo-cta__bg picture, .p-bpo-cta__bg img { display: block; width: 100%; height: 100%; }
.p-bpo-cta__bg img { object-fit: cover; object-position: 50% 100%; opacity: .75; }
.p-bpo-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 26, 26, .92) 0%, rgba(26, 26, 26, .7) 45%, rgba(26, 26, 26, .05) 78%, rgba(26, 26, 26, .35) 100%); }
.p-bpo-cta { background: var(--bpo-dark-2); }
.p-bpo-slant.p-bpo-cta { padding-bottom: calc(var(--sec) + 22vw); } /* 3人が見えるよう、下を広くとる */
@media (max-width: 991px) {
  .p-bpo-slant.p-bpo-cta { padding-bottom: calc(var(--sec) + 58vw); }
  .p-bpo-cta__bg { bottom: 0; height: 120vw; } /* スマホは下だけに敷き、3人が切れないようにする */
}

/* 挿絵（チームの絵を職種カードへ、いちょう並木を「場所」、公園の休日を「休み」の箱へ） */
.p-bpo-job__fig { display: block; height: 200px; margin: -8px 0 24px; padding-top: 12px; background: var(--bpo-base); border-radius: var(--bpo-radius); overflow: hidden; } /* 黒いSVのカードでも絵が沈まないよう、明るい台に載せる */
.p-bpo-job__fig img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.p-bpo-job.is-partner .p-bpo-job__fig { background: var(--bpo-white); } /* 灰色のカードでは台を白にする */
.p-bpo-env__item:is(.is-access, .is-holiday) { --fig-h: 260px; overflow: hidden; padding-bottom: calc(var(--fig-h) + 12px); }
.p-bpo-env__fig { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fig-h); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); mask-image: linear-gradient(to bottom, transparent, #000 30%); }
.p-bpo-env__fig img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
@media (max-width: 991px) {
  .p-bpo-job__fig { height: 170px; }
  .p-bpo-env__item:is(.is-access, .is-holiday) { --fig-h: 52vw; }
}

/* 選考の流れ：5段にしたので、補足の注意書きを図の下に */
.p-bpo .p-bpo-flow__note { margin-top: 24px; text-align: center; }

/* 働く場所：左に「徒歩1分」、右にGoogleマップ（白黒寄りにして、サイトの色に合わせる） */
.p-bpo-env__item.is-map { padding: 0; overflow: hidden; min-height: 360px; }
.p-bpo-env__map { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.85) contrast(1.05); }
@media (max-width: 767px) {
  .p-bpo-env__item.is-map, .p-bpo-env__map { min-height: 300px; }
}

/* 募集職種：正社員3職種を横に3枚並べ、在宅のコールスタッフは下に細長く小さく置く */
@media (min-width: 992px) {
  .p-bpo-jobs { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .p-bpo-job:not(.is-partner) { padding: 32px 28px 28px; }
  .p-bpo-job .p-bpo-job__ttl { font-size: clamp(22px, 1.9vw, 26px); }
  .p-bpo-job .p-bpo-job__catch { font-size: 17px; }
  .p-bpo-job.is-partner { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, 1.25fr) 200px; grid-template-rows: none; align-items: center; column-gap: 32px; padding: 24px 28px; }
  .p-bpo-job.is-partner:hover { transform: none; }
  .p-bpo-job.is-partner .p-bpo-job__head { display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: center; }
  .p-bpo-job.is-partner .p-bpo-job__fig { grid-row: span 2; height: 96px; margin: 0; padding-top: 6px; }
  .p-bpo-job.is-partner .p-bpo-job__meta { padding-right: 0; }
  .p-bpo-job.is-partner .p-bpo-job__no { font-size: 26px; }
  .p-bpo-job.is-partner .p-bpo-job__en { display: none; } /* 細長い箱では英字を省き、番号と職種名だけにする */
  .p-bpo-job.is-partner .p-bpo-job__ttl { margin: 6px 0 0; font-size: 22px; }
  .p-bpo-job.is-partner .p-bpo-job__pill { top: 12px; right: 14px; }
  .p-bpo-job.is-partner .p-bpo-job__catch { margin-bottom: 6px; font-size: 16px; }
  .p-bpo-job.is-partner .p-bpo-job__read { margin-bottom: 0; font-size: 13px; line-height: 1.8; }
  .p-bpo-job.is-partner .p-bpo-job__spec dt, .p-bpo-job.is-partner .p-bpo-job__spec dd { padding: 6px 10px; font-size: 12.5px; }
  .p-bpo-job.is-partner .p-bpo-job__spec > div { grid-template-columns: 6.2em 1fr; }
  .p-bpo-job.is-partner .p-bpo-job__foot { grid-template-columns: 1fr; margin-top: 0; gap: 8px; }
  .p-bpo-job.is-partner :is(.p-bpo-job__toggle, .p-bpo-job__apply) { min-height: 44px; font-size: 14px; }
}
@media (max-width: 991px) {
  .p-bpo-jobs { grid-template-columns: 1fr; }
  /* スマホ・タブレットでも、コールスタッフは小さくまとめる（絵は職種名の横に小さく、条件の表とボタンも詰める） */
  .p-bpo-job.is-partner { padding: 20px 18px; }
  .p-bpo-job.is-partner .p-bpo-job__head { display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; align-items: center; }
  .p-bpo-job.is-partner .p-bpo-job__fig { grid-row: span 2; height: 76px; margin: 0; padding-top: 4px; }
  .p-bpo-job.is-partner .p-bpo-job__meta { padding-right: 0; }
  .p-bpo-job.is-partner .p-bpo-job__en { display: none; }
  .p-bpo-job.is-partner .p-bpo-job__no { font-size: 24px; }
  .p-bpo-job.is-partner .p-bpo-job__ttl { margin: 4px 0 0; font-size: 20px; }
  .p-bpo-job.is-partner .p-bpo-job__pill { top: 10px; right: 10px; font-size: 11px; }
  .p-bpo-job.is-partner .p-bpo-job__catch { margin: 14px 0 8px; font-size: 15px; }
  .p-bpo-job.is-partner .p-bpo-job__read { display: none; }
  .p-bpo-job.is-partner .p-bpo-job__spec dt, .p-bpo-job.is-partner .p-bpo-job__spec dd { padding: 6px 10px; font-size: 12.5px; }
  .p-bpo-job.is-partner .p-bpo-job__spec > div { grid-template-columns: 6.2em 1fr; }
  .p-bpo-job.is-partner .p-bpo-job__foot { grid-template-columns: 1fr 1fr; margin-top: 14px; gap: 8px; }
  .p-bpo-job.is-partner .p-bpo-job__foot .p-bpo-job__apply { order: 0; }
  .p-bpo-job.is-partner :is(.p-bpo-job__toggle, .p-bpo-job__apply) { min-height: 44px; font-size: 13px; }
}
