/* 採用LP（/recruit/）専用スタイル。既存の styles.css と衝突しないよう .rlp 配下に限定する */

.rlp {
  --navy: #13294b;
  --navy-deep: #0b1b33;
  --navy-soft: #e9eef6;
  --orange: #e05300;
  --orange-bright: #ff7a1a;
  --orange-soft: #fff1e6;
  --ink: #1f2933;
  --muted: #5b6573;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;

  padding-top: 48px; /* モバイルの固定ヘッダー分 */
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media (min-width: 992px) {
  .rlp {
    padding-top: 80px; /* PCの固定ナビ分 */
  }
}

/* モバイルの固定電話バーにフッターが隠れないよう、フッター側に余白を足す。
   電話バーの高さは幅320pxで2行に折り返したとき約102px */
.rlp ~ .footer {
  padding-bottom: 104px;
}

@media (min-width: 992px) {
  .rlp ~ .footer {
    padding-bottom: 0;
  }
}

.rlp *,
.rlp *::before,
.rlp *::after {
  box-sizing: border-box;
}

.rlp img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* リセットは :where() で詳細度を上げず、各コンポーネントの余白指定を優先させる */
.rlp :where(h1, h2, h3, h4, p, dl, dd, ol, ul) {
  margin: 0;
}

.rlp :where(ol, ul) {
  padding: 0;
  list-style: none;
}

.rlp a {
  color: inherit;
}

/* 句の途中で改行させない（末尾の1〜2文字だけが次の行に落ちるのを防ぐ） */
.rlp-nobr {
  display: inline-block;
}

.rlp-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.rlp-section {
  padding: 64px 0;
}

.rlp-section--alt {
  background: var(--bg-alt);
}

.rlp-section--navy {
  background: var(--navy);
  color: #fff;
}

@media (min-width: 768px) {
  .rlp-section {
    padding: 96px 0;
  }
}

/* 見出し */
.rlp-heading {
  margin-bottom: 40px;
  text-align: center;
}

.rlp-heading__en {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.rlp-section--navy .rlp-heading__en {
  color: var(--orange-bright);
}

.rlp-heading__ja {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
}

.rlp-heading__lead {
  margin-top: 16px;
  color: var(--muted);
}

.rlp-section--navy .rlp-heading__lead {
  color: #c9d3e3;
}

@media (min-width: 768px) {
  .rlp-heading__ja {
    font-size: 34px;
  }
}

/* ファーストビュー（スクロール演出）
   - 写真の舞台 .rlp-hero__stage は固定ナビの直下に sticky で固定し、その手前を文章 .rlp-hero__scroll が下から上へ流れる
   - 写真は「旗（奥）」「人物（手前）」の2層。その間に飾り文字 SAFETY FIRST を挟む
   - 重なり順（舞台内）: 旗 1 → 飾り文字 2 → 暗がり 3 → 人物 4。文章は舞台より手前
   - 透明度と拡大はスクリプトでスクロール量に合わせて変える */
.rlp-hero {
  position: relative;
  /* ゆっくり流す文章がファーストビューの外（次のセクション）へはみ出さないよう切り取る。
     clip は hidden と違ってスクロール領域を作らないため、中の sticky は効いたまま。
     overflow: clip に対応しない古い Safari（15 など）向けに、clip-path でも同じ範囲を切り取る */
  clip-path: inset(0);
  overflow: clip;
  background: radial-gradient(120% 90% at 85% 10%, #234476 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #fff;
}

.rlp-hero__stage {
  position: -webkit-sticky;
  position: sticky;
  top: 48px;
  height: calc(100vh - 48px);
  height: calc(100svh - 48px);
  overflow: hidden;
}

/* 文章の背面を暗くして、人物に重なっても読めるようにする（スマホは下から） */
.rlp-hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to top, rgba(11, 27, 51, 0.88) 0%, rgba(11, 27, 51, 0.5) 38%, rgba(11, 27, 51, 0) 68%);
  pointer-events: none;
}

.rlp-hero__visual {
  position: absolute;
  inset: 0;
  transform-origin: 70% 30%;
  will-change: opacity, transform;
}

/* 写真の配置は「写真の横幅に対する割合」で決める（画面幅が変わっても位置関係が崩れない）
   - 写真内の位置: 旗を持つ右手の先 ≈ 66%、体の中心 ≈ 80%
   スマホ: 写真の 33%〜99% の範囲を画面幅に収める（旗の右側半分ほど＋伸ばした左手までの人物全身）。
           旗を持つ手の先（66%）が画面の中央に来る。下端はぼかして背景になじませる */
.rlp-hero__layer {
  position: absolute;
  top: 0;
  left: 50%;
  width: 150vw;
}

.rlp-hero__layer img {
  width: 100%;
  height: auto;
  max-width: none;
  transform: translateX(-66%);
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

.rlp-hero__layer--back {
  z-index: 1;
}

.rlp-hero__layer--front {
  z-index: 4;
}

/* 旗と人物の間を通る飾り文字 */
.rlp-hero__bigtext {
  position: absolute;
  z-index: 2;
  top: 32%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-family: Anton, "Arial Narrow", Impact, sans-serif;
  font-size: 44vw;
  line-height: 0.84;
  gap: 0.08em; /* 上段と下段の文字が重ならないよう、わずかに間をあける */
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  /* 帯（垂直から60°）と平行に、右肩上がりに傾ける */
  transform: translate(-50%, -50%) rotate(-30deg);
}

/* 上段は右上寄り、下段は左下寄りにずらして置き、斜めの流れを強調する */
.rlp-hero__bigtext-line {
  position: relative;
  display: block;
  will-change: transform;
}

.rlp-hero__bigtext-line--top {
  left: 0.9em;
}

.rlp-hero__bigtext-line--bottom {
  left: -0.6em;
}

/* 人物と旗の登場・退場の演出（canvas）。位置と大きさはスクリプトが本物の写真に合わせて決める */
.rlp-fx-pending .rlp-hero__layer,
.rlp-fx-pending .rlp-hero__bigtext {
  visibility: hidden;
}

.rlp-hero__fx {
  position: absolute;
  display: none;
  max-width: none;
  pointer-events: none;
}

.rlp-hero__stage.is-fx .rlp-hero__fx {
  display: block;
}

.rlp-hero__stage.is-fx .rlp-hero__layer {
  visibility: hidden;
}

.rlp-hero__fx--back {
  z-index: 1;
}

.rlp-hero__fx--front,
.rlp-hero__fx--lines {
  z-index: 4;
}

/* 流れる文章。舞台の上に重ねるため、舞台の高さ分だけ上へ引き上げる */
.rlp-hero__scroll {
  position: relative;
  z-index: 5;
  max-width: 1080px;
  margin: calc(48px - 100vh) auto 0;
  margin-top: calc(48px - 100svh);
  padding: 0 16px 28vh;
}

.rlp-hero__step--catch {
  /* 画面の高さに応じて連続的に位置を決め、開いた直後のキャッチが下の固定電話バーに隠れないようにする
     （360px ≒ ナビ48＋小見出し50＋見出し92＋電話バー84＋余裕） */
  padding-top: 50vh;
  padding-top: clamp(12vh, calc(100vh - 360px), 50vh);
}

.rlp-hero__step + .rlp-hero__step {
  margin-top: 9vh;
}

.rlp-hero__eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(11, 27, 51, 0.6);
  font-size: 13px;
  font-weight: 700;
}

.rlp-hero__catch {
  margin-top: 16px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.4);
}

.rlp-hero__catch em {
  font-style: normal;
  color: var(--orange-bright);
}

.rlp-hero__sub {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.5);
}

.rlp-hero__lead {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #e3e9f2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

.rlp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rlp-badge {
  padding: 6px 12px;
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.rlp-badge small {
  font-size: 11px;
  font-weight: 700;
}

.rlp-badge--accent {
  background: var(--orange-bright);
  color: var(--navy-deep);
}

.rlp-hero__step--cta .rlp-cta__note,
.rlp-hero__step--cta .rlp-cta__hours {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {
  .rlp-hero__catch {
    font-size: 48px;
  }

  .rlp-hero__sub {
    font-size: 24px;
  }

  .rlp-hero__step {
    max-width: 600px;
  }

  .rlp-hero__bigtext {
    top: 48%;
    left: 58%;
    font-size: clamp(200px, 26vw, 460px);
  }

  /* PC・タブレット: 人物を大きく見せ（脚は見切れ）、旗を持つ右手の先が画面の中心線にかかる位置に置く */
  .rlp-hero__layer {
    left: 56%;
    width: auto;
    height: 104%;
  }

  .rlp-hero__layer img {
    width: auto;
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* 元写真の端で旗が切れているため、旗の層だけ左端をぼかして背景になじませる */
  .rlp-hero__layer--back img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
  }

  /* PC・タブレット: 文章側（左）と下側を暗くする */
  .rlp-hero__stage::after {
    background:
      linear-gradient(90deg, rgba(11, 27, 51, 0.82) 0%, rgba(11, 27, 51, 0.45) 36%, rgba(11, 27, 51, 0) 58%),
      linear-gradient(to top, rgba(11, 27, 51, 0.6) 0%, rgba(11, 27, 51, 0) 35%);
  }

  .rlp-hero__step--catch {
    padding-top: 30vh;
  }
}

/* 背の低い画面（横向きのスマホなど）: 開いた直後のキャッチが下の固定電話バーに隠れないよう上へ寄せる */
@media (max-height: 500px) {
  .rlp-hero__step--catch {
    padding-top: 12vh;
  }
}

@media (min-width: 992px) {
  /* PC: 人物を大きく（脚は見切れ）、旗を持つ右手の先が画面の中心線より少し右に来る位置 */
  .rlp-hero__layer {
    height: 116%;
  }

  .rlp-hero__stage {
    top: 80px;
    height: calc(100vh - 80px);
    height: calc(100svh - 80px);
  }

  .rlp-hero__scroll {
    margin-top: calc(80px - 100vh);
    margin-top: calc(80px - 100svh);
  }
}

/* 採用ページだけ、PCの固定ナビの左右（白い余白）を濃い色で埋める。
   上へ流れたファーストビューの文章がナビの横からのぞかないようにするため */
.page-recruit .nav-wrapper {
  background: #262626;
}

/* 電話CTA */
.rlp-cta {
  margin-top: 32px;
}

.rlp-cta__note {
  font-size: 14px;
  font-weight: 700;
}

.rlp-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin-top: 12px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 0 #9c3a00;
  transition: transform 0.15s, box-shadow 0.15s;
}

.rlp-tel:hover,
.rlp-tel:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #9c3a00;
}

.rlp-tel:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 4px;
}

.rlp-tel__icon {
  flex: none;
  width: 28px;
  height: 28px;
}

.rlp-tel__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.rlp-tel__label {
  font-size: 14px;
  font-weight: 700;
}

.rlp-tel__number {
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rlp-cta__hours {
  margin-top: 16px;
  font-size: 13px;
}

/* 現場写真のコマ割り（ファーストビューと「数字で見るNikkei」の間）
   セクションは通常どおりスクロールし、コマが画面の下に見え始めてから画面の上へ抜けるまでの間に、
   スクロール量に合わせてコマの列を右から左へ流す（画面への固定はしない）。
   コマは SVG でスクリプトが描く。スクリプトが動かない環境ではセクションごと表示しない */
.rlp-manga {
  display: none;
  position: relative;
  /* コマの間のフチと上下の余白は、ファーストビューの下端と同じ紺色にしてつなげる */
  background: var(--navy-deep);
}

.rlp-js .rlp-manga {
  display: block;
}

.rlp-manga__stage {
  display: flex;
  align-items: center;
  padding: 32px 0;
  overflow-x: auto;
}

.rlp-manga__track {
  flex: none;
  height: min(62vh, 520px);
}

.rlp-manga__track svg {
  display: block;
  width: auto;
  height: 100%;
}

/* スクロールに合わせて流すとき（動きを減らす設定でない場合） */
.rlp-manga.is-scroll .rlp-manga__stage {
  /* 下側は、次のセクションとの斜めの境目（右ほど高く、最大 3.49vw）の分を足し、右端でも 16px の余白が残るようにする */
  padding: 24px 0 calc(16px + 3.49vw);
  overflow: hidden;
}

.rlp-manga.is-scroll .rlp-manga__track {
  will-change: transform;
}

@media (min-width: 768px) {
  .rlp-manga__track {
    height: min(72vh, 640px);
  }
}

/* 「数字で見るNikkei」の上端に立つ人物。足元を下のセクションに置き、腰から上をコマ割りに重ねる */
.rlp-section--guard {
  position: relative;
  z-index: 1;
}

/* コマ割りとの境目を、左が低く右が高いゆるやかな斜め（水平から約2°）にする。
   セクションの上に同じ背景色の三角形を重ねて、コマ割りの下端を斜めに覆う（高さ = 画面幅 × tan2° ≒ 3.49vw） */
.rlp-section--guard::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  /* 1px 下のセクションに食い込ませ、継ぎ目に細い線が出ないようにする */
  bottom: calc(100% - 1px);
  height: calc(3.49vw + 1px);
  background: var(--bg-alt);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.rlp-guard {
  position: absolute;
  top: 0;
  right: max(8px, calc((100% - 1080px) / 2));
  height: 320px;
  /* スマホ: 高さの 80% をコマ割り側へはみ出させる（足元の 20% が下のセクション。見出しに重ならないよう控えめ）。
     さらに、人物の位置（画面幅の約8割の所）での斜めの境目の高さ（3.49vw × 0.8）だけ上げ、境目に立たせる */
  transform: translateY(calc(-80% - 2.8vw));
  pointer-events: none;
}

.rlp-guard img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
}

.rlp-reveal__fx {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

/* 演出中は帯の canvas を表示し本物の写真を隠す。現れる前（is-hidden）はどちらも隠す */
.is-fx > .rlp-reveal__fx {
  display: block;
}

.rlp-guard.is-fx img,
.rlp-guard.is-hidden img,
.rlp-team__fig.is-fx img,
.rlp-team__fig.is-hidden img,
.rlp-job.is-fx > img,
.rlp-job.is-hidden > img {
  visibility: hidden;
}

/* 「数字で見るNikkei」と「仕事内容」の境目の中央に、境目をまたいで置く集合写真。
   背景を上側は前のセクションの色、下側は次のセクションの色にして、写真が境目の上にあるように見せる */
.rlp-team {
  position: relative;
  padding: 0 16px;
  background: var(--bg);
  text-align: center;
}

/* 上半分は前のセクションの色。境目は左が高く右が低い、ゆるやかな斜め（水平から約2°、上の境目と同じ角度）。
   左右の高さの差 = 画面幅 × tan2° ≒ 3.49vw を、写真の上下中央の線を中心に振り分ける */
.rlp-team::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-alt);
  clip-path: polygon(0 0, 100% 0, 100% calc(50% + 1.745vw), 0 calc(50% - 1.745vw));
  pointer-events: none;
}

.rlp-team__fig {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 100%;
  max-width: 960px;
  vertical-align: top;
}

.rlp-team__fig img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  /* PC・タブレット: 高さの 75% をコマ割り側へ、足元の 25% を下のセクションへ */
  .rlp-guard {
    height: 540px;
    transform: translateY(calc(-75% - 2.8vw));
  }
}

/* 数字 */
.rlp-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rlp-number {
  padding: 20px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.rlp-number__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.rlp-number__value {
  margin-top: 4px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.rlp-number__value strong {
  font-family: Montserrat, sans-serif;
  font-size: 34px;
  color: var(--orange);
}

.rlp-number__note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .rlp-numbers {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* 仕事内容 */
.rlp-jobs {
  display: grid;
  gap: 20px;
}

.rlp-job {
  position: relative; /* 帯の演出の canvas を写真の上に重ねるため */
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.rlp-job img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rlp-job__body {
  padding: 20px;
}

.rlp-job__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
}

.rlp-job__text {
  margin-top: 8px;
  font-size: 15px;
}

.rlp-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 768px) {
  .rlp-jobs {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* 未経験でも安心 */
.rlp-points {
  display: grid;
  gap: 16px;
}

.rlp-point {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.rlp-point__num {
  flex: none;
  font-family: Montserrat, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange-bright);
}

.rlp-point__title {
  font-size: 17px;
  font-weight: 900;
}

.rlp-point__text {
  margin-top: 4px;
  font-size: 15px;
  color: #d5deea;
}

@media (min-width: 768px) {
  .rlp-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* キャリア */
.rlp-steps {
  display: grid;
  gap: 8px;
}

.rlp-step {
  position: relative;
  padding: 16px 20px;
  border-radius: 8px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.rlp-step:nth-child(2) { background: #d3ddec; }
.rlp-step:nth-child(3) { background: #b9c8de; }
.rlp-step:nth-child(4) { background: var(--navy); color: #fff; }

.rlp-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  z-index: 1;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: var(--orange);
  border-bottom-width: 0;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .rlp-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .rlp-step:not(:last-child)::after {
    left: auto;
    right: -16px;
    bottom: 50%;
    border: 10px solid transparent;
    border-left-color: var(--orange);
    border-right-width: 0;
    transform: translateY(50%);
  }
}

.rlp-career {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.rlp-card {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.rlp-card__title {
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
}

.rlp-list {
  margin-top: 12px;
}

.rlp-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
}

.rlp-list li + li {
  margin-top: 6px;
}

.rlp-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.rlp-card__text {
  margin-top: 12px;
  font-size: 15px;
}

@media (min-width: 768px) {
  .rlp-career {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 1日の流れ */
.rlp-timeline {
  max-width: 640px;
  margin: 0 auto;
}

.rlp-timeline__item {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
}

.rlp-timeline__item::before {
  content: "";
  position: absolute;
  left: calc(52px + 20px - 1px); /* 時刻欄の幅 + 間隔 - 線幅の半分 = 丸印の中心 */
  top: 12px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.rlp-timeline__item:last-child::before {
  display: none;
}

.rlp-timeline__time {
  flex: none;
  width: 52px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
}

.rlp-timeline__dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 5px;
  margin-left: -10px;
  border: 4px solid var(--orange);
  border-radius: 50%;
  background: #fff;
}

.rlp-timeline__text {
  font-size: 15px;
}

.rlp-timeline__text strong {
  display: block;
  font-size: 16px;
}

/* 先輩の声 */
.rlp-voices {
  display: grid;
  gap: 32px;
}

.rlp-voice {
  overflow: hidden;
  scroll-margin-top: 96px; /* ページ内リンクで固定ナビの下に隠れないように */
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.rlp-voice__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--navy);
  color: #fff;
}

.rlp-voice__avatar {
  flex: none;
  display: block;
  width: 88px;
  height: 88px;
  border: 3px solid var(--orange-bright);
  border-radius: 50%;
  background: var(--orange-bright);
  object-fit: cover;
}

.rlp-voice__name {
  font-size: 20px;
  font-weight: 900;
}

.rlp-voice__name small {
  font-size: 13px;
  font-weight: 700;
}

.rlp-voice__meta {
  font-size: 13px;
  color: #c9d3e3;
}

.rlp-voice__body {
  padding: 24px;
}

.rlp-voice__catch {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--navy);
}

.rlp-qa {
  margin-top: 20px;
}

.rlp-qa dt {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 900;
  color: var(--orange);
}

.rlp-qa dd {
  margin-top: 4px;
  font-size: 15px;
}

.rlp-voice__message {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
  font-size: 15px;
}

.rlp-voice__message strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

@media (min-width: 992px) {
  .rlp-voices {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 先輩のキャリアの歩み */
.rlp-path {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 8px;
  background: var(--navy-soft);
}

.rlp-path__item {
  position: relative;
  padding: 0 0 12px 20px;
  font-size: 15px;
}

.rlp-path__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
}

.rlp-path__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.55em + 10px);
  bottom: 0;
  width: 2px;
  background: #b9c8de;
}

.rlp-path__item:last-child {
  padding-bottom: 0;
}

.rlp-path__item--now {
  font-weight: 900;
  color: var(--orange);
}

.rlp-path__item--now::before {
  background: var(--orange);
}

.rlp-path__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.rlp-text-link {
  display: inline-block;
  margin-left: 4px;
  font-weight: 700;
  color: var(--orange) !important;
}

/* 募集要項 */
.rlp-table {
  max-width: 860px;
  margin: 0 auto;
  border-top: 2px solid var(--navy);
}

.rlp-table__row {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.rlp-table dt {
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
}

.rlp-table dd {
  margin-top: 4px;
  font-size: 15px;
}

.rlp-table dd small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .rlp-table__row {
    display: flex;
    gap: 24px;
    padding: 20px 8px;
  }

  .rlp-table dt {
    flex: none;
    width: 160px;
  }

  .rlp-table dd {
    margin-top: 0;
  }
}

/* FAQ */
.rlp-faq {
  max-width: 860px;
  margin: 0 auto;
}

.rlp-faq details {
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.rlp-faq details + details {
  margin-top: 12px;
}

.rlp-faq summary {
  position: relative;
  padding: 18px 48px 18px 52px;
  font-weight: 900;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.rlp-faq summary::-webkit-details-marker {
  display: none;
}

.rlp-faq summary::before {
  content: "Q";
  position: absolute;
  left: 20px;
  top: 16px;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  color: var(--orange);
}

.rlp-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 14px;
  font-size: 24px;
  font-weight: 400;
  color: var(--muted);
}

.rlp-faq details[open] summary::after {
  content: "−";
}

.rlp-faq summary:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 2px;
  border-radius: 8px;
}

.rlp-faq__answer {
  position: relative;
  padding: 0 20px 20px 52px;
  font-size: 15px;
}

.rlp-faq__answer::before {
  content: "A";
  position: absolute;
  left: 20px;
  top: -2px;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* 応募の流れ */
.rlp-flow {
  display: grid;
  gap: 16px;
  counter-reset: flow;
}

.rlp-flow__item {
  position: relative;
  padding: 24px 20px 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  counter-increment: flow;
}

.rlp-flow__item::before {
  content: "STEP " counter(flow);
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.rlp-flow__title {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
}

.rlp-flow__text {
  margin-top: 8px;
  font-size: 15px;
}

@media (min-width: 768px) {
  .rlp-flow {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 応募CTA（ページ下部） */
.rlp-apply {
  text-align: center;
}

.rlp-apply__catch {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.rlp-apply__text {
  margin-top: 12px;
  color: #d5deea;
}

.rlp-apply .rlp-tel {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .rlp-apply__catch {
    font-size: 30px;
  }
}

/* 会社情報 */
.rlp-company {
  max-width: 860px;
  margin: 0 auto;
}

.rlp-map-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: var(--orange) !important;
}

/* モバイル固定電話バー */
.rlp-fixedbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  padding: 10px 16px;
  background: rgba(11, 27, 51, 0.96);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.rlp-fixedbar .rlp-tel {
  max-width: none;
  margin: 0;
  padding: 10px 16px;
  box-shadow: none;
}

.rlp-fixedbar .rlp-tel__number {
  font-size: 20px;
}

@media (min-width: 992px) {
  .rlp-fixedbar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rlp-tel {
    transition: none;
  }
}
