@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,700&display=swap');

/* ==============================================================
   採用LP（page-recruit-lp.php）専用スタイル
   Figma参照デザイン（fileKey: 8kvJcOMlS2Cu3FPC92sFo7）完全実装版
   カラー: #003870(ネイビー) / #0261C0(ブルー) / #ADA169(ゴールド)
   ============================================================== */

/* ── 採用LP 変数 ─────────────────────────────────────────────── */
#recruit-lp {
  --rp-navy: #003870;
  --rp-blue: #0261C0;
  --rp-gold: #ADA169;
  --rp-gray-bg: #f1f4f5;
  --rp-cta-bg: #dce6ed;
  --rp-hero-bg: #e7f2ff;
  --rp-white: #ffffff;
  --rp-text: #333333;
  --rp-border: #e0e0e0;
  --rp-inner-w: 1200px;
  --rp-narrow-w: 820px;
  --rp-section-pad: 80px;
  --rp-radius: 12px;
  --rp-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .08);
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--rp-text);
  line-height: 1.7;
}

/* ── 共通 ─────────────────────────────────────────────────────── */
.rlp-inner {
  max-width: var(--rp-inner-w);
  margin: 0 auto;
  padding: 0 32px;
}

.rlp-inner--narrow {
  max-width: var(--rp-narrow-w);
}

/* ⑧ TimeRex：フォームセクションのみ幅を広げる */
#rlp-form .rlp-inner--narrow {
  max-width: 1100px;
}

.rlp-section {
  padding: var(--rp-section-pad) 0;
}

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

.rlp-section--white {
  background: var(--rp-white);
}

/* 応募の流れ：背景色 */
#rlp-flow {
  background: #ebeef1;
}

.rlp-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.rlp-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--rp-gold);
  margin: 0 0 10px;
}

.rlp-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--rp-navy);
  margin: 0;
  line-height: 1.35;
}

/* ==============================================================
   #01 ヒーロー
   ============================================================== */
.rlp-hero {
  position: relative;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

/* 暗めのオーバーレイ（背景画像の上に青味を載せる） */
.rlp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 30, 70, 0.78) 0%,
      rgba(2, 60, 140, 0.50) 60%,
      rgba(0, 30, 70, 0.35) 100%);
  z-index: 0;
}

.rlp-hero__inner {
  max-width: var(--rp-inner-w);
  margin: 0 auto;
  padding: 100px 32px 80px;
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: center;
}

.rlp-hero__content {
  /* 左カラム */
}

/* 右カラム：ビジュアル画像 */
.rlp-hero__visual {
  position: relative;
}

.rlp-hero__visual-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* サブラベル */
.rlp-hero__sub {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
  padding: 5px 18px;
  margin: 0 0 20px;
  letter-spacing: .06em;
}

/* キャッチコピー ② vw 比例でフォントサイズを自動調整・各行で折り返さない */
.rlp-hero__catch {
  font-size: clamp(30px, 3.4vw, 56px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: -.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
  white-space: nowrap; /* ② 行内折り返し禁止（<br>による改行は維持） */
}

.rlp-hero__catch em {
  font-style: normal;
  color: #f3b80a;
  font-size: 1.1em; /* ② h1 に追随してスケール（固定 4rem 廃止） */
}

/* ④ 「しっかり稼ぐ。」強調カラー */
.rlp-hero__accent {
  color: #f5e146;
}

/* サブコピー */
.rlp-hero__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
  line-height: 1.75;
  margin: 0 0 36px;
}

/* アピールポイント 3つ */
.rlp-hero__points {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.rlp-hero__point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
  padding: 16px 24px;
  backdrop-filter: blur(4px);
}

.rlp-hero__point-num {
  font-size: clamp(17px, 2.2vw, 28px); /* ③ vw比例でスケール */
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
  white-space: nowrap; /* ③ 折り返し禁止 */
}

.rlp-hero__point-unit {
  font-size: 0.6em;
  font-weight: 700;
}

.rlp-hero__point-label {
  font-size: clamp(11px, 1.1vw, 15px); /* ③ vw比例でスケール */
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
}

/* CTAボタン */
.rlp-hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.rlp-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .15s, opacity .2s;
  cursor: pointer;
  white-space: nowrap;
}

.rlp-hero__btn:hover {
  color: #ffffff;
  /* 親テーマのリンクホバー色を上書き */
  transform: translateY(-2px);
}

.rlp-hero__btn--line {
  background: #06C755;
  /* LINEグリーン */
  color: #ffffff;
}

.rlp-hero__btn--line:hover {
  background: #05a847;
  color: #ffffff;
}

.rlp-hero__btn--outline {
  background: rgb(255 143 0);
  color: #ffffff;
  border: none;
}

.rlp-hero__btn--outline:hover {
  background: rgb(255 108 0);
  color: #ffffff;
}

/* ① キャッチ改行制御：PC でも3行表示 */
.rlp-hero__br {
  display: inline;
}

/* ⑤ サブコピー PC用改行 */
.rlp-desc__br {
  display: inline;
}

/* SP専用画像：PC では非表示 */
.rlp-hero__visual-sp {
  display: none;
}

/* ==============================================================
   #02 ロゴ帯（clients-marquee と同仕様）
   ============================================================== */
/* トップページの .clients-section / .clients-marquee / .clients-track
   の CSS（custom.css）をそのまま流用。
   recruit-lp 側では背景・ボーダーのみ上書きする。           */
.rlp-logos-section {
  background: var(--rp-white);
  border-top: 1px solid var(--rp-border);
  border-bottom: 1px solid var(--rp-border);
}

/* ==============================================================
   #03 お悩みセクション
   ============================================================== */
.rlp-cases {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.rlp-cases__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.rlp-case {
  background: var(--rp-white);
  border-radius: var(--rp-radius);
  padding: 24px;
  box-shadow: var(--rp-shadow);
}

.rlp-case__num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--rp-gold);
  margin: 0 0 10px;
}

.rlp-case__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--rp-navy);
  margin: 0;
}

.rlp-cases__illust {
  width: 300px;
  flex-shrink: 0;
}

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

/* ==============================================================
   #04 共感テキスト
   ============================================================== */
.rlp-empathy__lead {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--rp-navy);
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.5;
}

.rlp-empathy__sub {
  font-size: 18px;
  font-weight: 700;
  color: var(--rp-navy);
  text-align: center;
  margin: 0 0 32px;
}

.rlp-empathy__body {
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin: 0;
  text-align: justify;
}

/* ==============================================================
   #05 ABOUT US
   ============================================================== */
.rlp-about__lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--rp-navy);
  margin: 16px 0 0;
}

.rlp-about__body {
  max-width: 900px;
  margin: 32px auto 56px;
  text-align: center;
}

.rlp-about__body p {
  font-size: 16px;
  color: #555;
  margin: 0 0 8px;
}

.rlp-about__strong {
  font-weight: 700;
  color: var(--rp-navy) !important;
}

/* POINT cards */
.rlp-points {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.rlp-point {
  background: var(--rp-white);
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-template-rows: auto 1fr;
}

.rlp-point--reverse {
  grid-template-columns: 360px 1fr;
}

.rlp-point__head {
  padding: 32px 32px 0;
  grid-column: 1;
  grid-row: 1;
}

.rlp-point--reverse .rlp-point__head {
  grid-column: 2;
  grid-row: 1;
}

.rlp-point__body {
  padding: 16px 32px 32px;
  grid-column: 1;
  grid-row: 2;
}

.rlp-point--reverse .rlp-point__body {
  grid-column: 2;
  grid-row: 2;
}

.rlp-point__img {
  grid-column: 2;
  grid-row: 1 / 3;
  background: var(--rp-gray-bg);
  overflow: hidden;
}

.rlp-point--reverse .rlp-point__img {
  grid-column: 1;
  grid-row: 1 / 3;
}

.rlp-point__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.rlp-point__num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--rp-blue);
  margin: 0 0 8px;
}

.rlp-point__title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--rp-navy);
  margin: 0;
  line-height: 1.4;
}

.rlp-point__body p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.8;
}

.rlp-point__strong {
  font-weight: 700;
  color: var(--rp-navy);
}

/* ==============================================================
   #06 CTAバナー
   ============================================================== */
.rlp-cta-banner {
  background: var(--rp-cta-bg) url('../img/content_bg.jpg') center center / cover no-repeat;
  padding: 48px 0;
}

.rlp-cta-banner .rlp-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.rlp-cta-banner__text {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

.rlp-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rp-gold);
  color: var(--rp-white);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 40px;
  position: relative;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}

.rlp-cta-banner__btn:hover {
  background: #95885a;
  transform: translateY(-2px);
}

.rlp-cta-banner__badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--rp-navy);
  color: var(--rp-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  padding: 4px 6px;
  border-radius: 4px;
}

/* ==============================================================
   #07 アドバイザー
   ============================================================== */
.rlp-advisors__lead {
  font-size: 16px;
  color: #555;
  margin: 20px 0 0;
  line-height: 1.7;
}

.rlp-advisors__strong {
  font-weight: 700;
  color: var(--rp-navy);
}

.rlp-advisors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.rlp-advisor {
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius);
  overflow: hidden;
  box-shadow: var(--rp-shadow);
}

.rlp-advisor__photo {
  aspect-ratio: 5/2;
  overflow: hidden;
  background: var(--rp-gray-bg);
}

.rlp-advisor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rlp-advisor__body {
  padding: 20px;
  border-left: 4px solid var(--rp-gold);
  margin: 0;
}

.rlp-advisor__catch {
  font-size: 16px;
  font-weight: 700;
  color: var(--rp-navy);
  margin: 0 0 10px;
}

.rlp-advisor__bio {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ==============================================================
   #08 転職事例
   ============================================================== */
.rlp-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rlp-case-card {
  background: var(--rp-white);
  border-radius: var(--rp-radius);
  overflow: hidden;
  box-shadow: var(--rp-shadow);
}

.rlp-case-card__ba {
  display: flex;
}

.rlp-case-card__side {
  flex: 1;
  aspect-ratio: 1.5;
  overflow: hidden;
  background: var(--rp-gray-bg);
}

.rlp-case-card__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rlp-case-card__side--after {
  background: #f8f8f8;
}

.rlp-case-card__divider {
  border: none;
  border-top: 8px solid var(--rp-gray-bg);
  margin: 0;
}

.rlp-case-card__desc {
  font-size: 14px;
  font-weight: 700;
  color: var(--rp-text);
  padding: 16px 20px 12px;
  margin: 0;
  line-height: 1.55;
}

.rlp-case-card__jobs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 20px;
  flex-wrap: wrap;
}

.rlp-case-card__before {
  font-size: 13px;
  color: #777;
}

.rlp-case-card__arrow-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--rp-navy);
  white-space: nowrap;
}

.rlp-case-card__after {
  font-size: 14px;
  font-weight: 700;
  color: var(--rp-navy);
}

/* ==============================================================
   #09 フォーム
   ============================================================== */
.rlp-form-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.rlp-form-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 180px;
  text-align: center;
}

.rlp-form-step__icon {
  width: 56px;
  height: 56px;
}

.rlp-form-step__label {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.rlp-form-lead {
  text-align: center;
  font-size: 16px;
  color: var(--rp-navy);
  margin: 0 0 8px;
}

.rlp-form-logo {
  display: block;
  margin: 0 auto 16px;
}

.rlp-form-title {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--rp-navy);
  text-align: center;
  margin: 0 0 40px;
}

.rlp-form {
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius);
  padding: 40px;
}

.rlp-form__group {
  margin-bottom: 24px;
}

.rlp-form__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--rp-text);
  margin-bottom: 8px;
}

.rlp-form__required {
  color: #e83820;
  margin-left: 4px;
}

.rlp-form__input,
.rlp-form__select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d0d5dd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--rp-text);
  background: var(--rp-white);
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
  appearance: auto;
}

.rlp-form__input:focus,
.rlp-form__select:focus {
  outline: none;
  border-color: var(--rp-blue);
  box-shadow: 0 0 0 3px rgba(2, 97, 192, .15);
}

.rlp-form__input::placeholder {
  color: #aaa;
}

.rlp-form__date {
  display: flex;
  gap: 12px;
}

.rlp-form__date .rlp-form__select {
  width: auto;
  flex: 1;
}

.rlp-form__select--full {
  width: 100%;
}

.rlp-form__group--check {
  margin-bottom: 32px;
}

.rlp-form__check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.rlp-form__check-label a {
  color: var(--rp-blue);
  text-decoration: underline;
}

.rlp-form__submit {
  text-align: center;
}

.rlp-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rp-navy);
  color: var(--rp-white);
  font-size: 20px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 40px;
  padding: 18px 48px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.rlp-form__btn:hover {
  background: #004d99;
  transform: translateY(-2px);
}

/* ==============================================================
   #03 SP専用CTAセクション
   ============================================================== */
.rlp-cta-sp {
  display: none; /* PCでは非表示 */
}

/* ==============================================================
   #04 選ばれる3つの理由
   ============================================================== */
.rlp-reasons__catch {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--rp-navy);
  margin: 24px 0 8px;
  line-height: 1.5;
}

.rlp-reasons__catch em {
  font-style: normal;
  color: var(--rp-blue);
  font-size: 1.3em;
}

.rlp-reasons__note {
  font-size: 12px;
  color: #888;
  margin: 0;
}

.rlp-point__sub {
  font-size: 15px;
  font-weight: 600;
  color: var(--rp-blue);
  margin: 10px 0 0;
  line-height: 1.6;
}

/* ==============================================================
   #05 応募の流れ
   ============================================================== */
.rlp-flow__lead {
  font-size: 15px;
  color: #666;
  margin: 8px 0 0;
}

.rlp-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.rlp-flow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius);
  padding: 28px 16px 24px;
  box-shadow: var(--rp-shadow);
  min-width: 0;
}

.rlp-flow__arrow {
  flex-shrink: 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
}

.rlp-flow__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--rp-gold);
  margin-bottom: 12px;
}

.rlp-flow__num span {
  display: block;
  font-size: 22px;
  color: var(--rp-navy);
  letter-spacing: 0;
  line-height: 1;
  margin-top: 2px;
}

.rlp-flow__icon {
  margin-bottom: 14px;
}

.rlp-flow__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--rp-navy);
  margin: 0 0 8px;
  line-height: 1.4;
}

.rlp-flow__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ==============================================================
   マーカーアニメーション
   ============================================================== */
.rlp-mark {
  background: linear-gradient(transparent 70%, rgba(243, 184, 10, 1) 55%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  transition: background-size 0.7s ease;
  padding: 0 2px;
  /* mark要素のデフォルト背景をリセット */
  color: inherit;
}

.rlp-mark--d1 {
  transition-delay: 0.5s;
}

.rlp-mark--d2 {
  transition-delay: 1.0s;
}

.rlp-mark--active {
  background-size: 100% 100%;
}

/* ==============================================================
   #06 CTAバナー（更新）
   ============================================================== */
.rlp-cta-banner__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==============================================================
   レスポンシブ
   ============================================================== */
@media screen and (max-width: 900px) {
  #recruit-lp {
    --rp-section-pad: 56px;
  }

  /* Hero（タブレット：1カラム、画像は非表示） */
  .rlp-hero {
    min-height: auto;
  }

  .rlp-hero__inner {
    grid-template-columns: 1fr;
    padding: 100px 24px 64px;
  }

  .rlp-hero__br {
    display: inline;
  }

  .rlp-hero__visual {
    display: none;
  }

  /* Cases */
  .rlp-cases {
    flex-direction: column;
  }

  .rlp-cases__illust {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Points */
  .rlp-point,
  .rlp-point--reverse {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .rlp-point__img,
  .rlp-point--reverse .rlp-point__img {
    grid-column: 1;
    grid-row: 1;
  }

  .rlp-point__head,
  .rlp-point--reverse .rlp-point__head {
    grid-column: 1;
    grid-row: 2;
    padding: 32px 0 0; /* ⑦ */
  }

  .rlp-point__body,
  .rlp-point--reverse .rlp-point__body {
    grid-column: 1;
    grid-row: 3;
    padding: 16px 0 32px; /* ⑦ */
  }

  .rlp-point__img img {
    min-height: 180px;
  }

  /* Advisors */
  .rlp-advisors__grid {
    grid-template-columns: 1fr;
  }

  .rlp-advisor {
    display: flex;
    flex-direction: row;
  }

  .rlp-advisor__photo {
    width: 140px;
    flex-shrink: 0;
    aspect-ratio: auto;
    min-height: 120px;
  }

  /* Cases grid */
  .rlp-cases-grid {
    grid-template-columns: 1fr;
  }

  /* CTA banner */
  .rlp-cta-banner .rlp-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  /* Form */
  .rlp-form {
    padding: 28px 20px;
  }

  .rlp-form__btn {
    font-size: 17px;
    padding: 16px 36px;
  }
}

/* ── スマホ（767px 以下）：FV コンパクト調整 ── */
@media screen and (max-width: 767px) {

  /* 背景位置を右寄りに調整 */
  .rlp-hero {
    background-position: 68% center;
    min-height: auto;
  }

  /* グリッド：1カラム縦並び */
  .rlp-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 50px 16px 32px;
    gap: 0;
  }

  /* PC用ビジュアル（右カラム）は非表示のまま */
  .rlp-hero__visual {
    display: none;
  }

  /* サブラベル */
  .rlp-hero__sub {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 10px;
    display: block;
    text-align: center;
  }

  /* ② キャッチコピー：モバイルは折り返し許可・vwスケール */
  .rlp-hero__catch {
    font-size: clamp(22px, 6.5vw, 30px);
    margin-bottom: 0;
    line-height: 1.3;
    text-align: center;
    white-space: normal; /* モバイルは折り返しOK */
  }

  .rlp-hero__catch em {
    font-size: 1.15em; /* ② モバイルでも親に追随 */
  }

  /* ⑤ サブコピーのPC用改行をモバイルで非表示 */
  .rlp-desc__br {
    display: none;
  }

  /* アピールポイント：1行3つ横並び */
  .rlp-hero__points {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    margin-bottom: 12px;
  }

  .rlp-hero__point {
    flex: 1;
    padding: 8px 2px;
    align-items: center;
  }

  .rlp-hero__point-num {
    font-size: clamp(13px, 4vw, 17px); /* ③ モバイルでもvwスケール */
  }

  .rlp-hero__point-label {
    font-size: clamp(9px, 2.5vw, 12px); /* ③ モバイルでもvwスケール */
    white-space: normal;
    text-align: center;
  }

  /* SP専用画像：キャッチとポイントの間に表示 */
  .rlp-hero__visual-sp {
    display: block;
    margin: auto;
  }

  .rlp-hero__visual-sp img {
    width: 80%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: auto;
  }

  /* サブコピー */
  .rlp-hero__desc {
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.65;
  }

  /* CTAボタン：SP では非表示 */
  .rlp-hero__cta {
    display: none;
  }

  /* SP専用CTAセクション：SP で表示 */
  .rlp-cta-sp {
    display: block;
  }

  /* CTAバナー：ボタン縦並び */
  .rlp-cta-banner__btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .rlp-cta-banner .rlp-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .rlp-cta-banner__btns .rlp-hero__btn {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* CTAバナーテキスト */
  .rlp-cta-banner__text {
    font-size: clamp(18px, 5vw, 26px);
    text-align: center;
  }

  /* 応募の流れ：縦並び */
  .rlp-flow {
    flex-direction: column;
    gap: 10px; /* ⑥ カード間の縦方向余白 */
  }

  /* ⑥ 応募の流れ：スマホで左右に余白を確保 */
  #rlp-flow .rlp-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .rlp-flow__step {
    width: calc(100% - 40px); /* 左右 20px ずつ余白 */
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;  /* 縦並び */
    align-items: center;     /* 中央揃え */
    text-align: center;
    padding: 24px 20px;
    gap: 0;
  }

  /* アイコン：PC と同様に下マージンを復元 */
  .rlp-flow__icon {
    margin-bottom: 12px;
  }

  /* 矢印：横向きを縦向きに */
  .rlp-flow__arrow {
    padding: 8px 0;
    transform: rotate(90deg);
  }

  /* STEP番号：ブロック表示に戻す */
  .rlp-flow__num {
    display: block;
    margin-bottom: 10px;
  }

  .rlp-flow__num span {
    display: block;
    font-size: 20px;
    margin-top: 2px;
  }

  .rlp-flow__title {
    margin-top: 4px;
    margin-bottom: 6px;
  }
}

/* ── 小型スマホ（480px 以下）追加調整 ── */
@media screen and (max-width: 480px) {
  .rlp-hero__inner {
    padding: 50px 16px 32px;
  }

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

}

@media screen and (max-width: 600px) {
  .rlp-inner {
    padding: 0 16px;
  }

  .rlp-cases__grid {
    grid-template-columns: 1fr;
  }

  .rlp-form-steps {
    gap: 24px;
  }

  .rlp-form__date {
    gap: 8px;
  }

  .rlp-advisor {
    flex-direction: column;
  }

  .rlp-advisor__photo {
    width: 100%;
    min-height: 160px;
  }
}

/* ==============================================================
   FV 入場アニメーション @keyframes
   ============================================================== */
@keyframes rlp-hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes rlp-hero-in-right {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* FV 各要素の入場 */
.rlp-hero__sub {
  animation: rlp-hero-in .55s ease both;
  animation-delay: .1s;
}

.rlp-hero__catch {
  animation: rlp-hero-in .65s ease both;
  animation-delay: .22s;
}

.rlp-hero__visual-sp {
  animation: rlp-hero-in .6s ease both;
  animation-delay: .32s;
}

.rlp-hero__points {
  animation: rlp-hero-in .65s ease both;
  animation-delay: .38s;
}

.rlp-hero__desc {
  animation: rlp-hero-in .6s ease both;
  animation-delay: .50s;
}

.rlp-hero__cta {
  animation: rlp-hero-in .6s ease both;
  animation-delay: .62s;
}

.rlp-hero__visual {
  animation: rlp-hero-in-right .75s ease both;
  animation-delay: .28s;
}

/* ==============================================================
   ボタン脈動アニメーション
   ============================================================== */
@keyframes rlp-pulse-line {
  0%, 100% { box-shadow: 0 4px 16px rgba(6,199,85,.40); }
  50%       { box-shadow: 0 4px 24px rgba(6,199,85,.70), 0 0 0 5px rgba(6,199,85,.14); }
}

@keyframes rlp-pulse-orange {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,143,0,.40); }
  50%       { box-shadow: 0 4px 24px rgba(255,143,0,.70), 0 0 0 5px rgba(255,143,0,.14); }
}

/* CTAバナー内ボタン（FVではなく中間・末尾CTAのみ対象） */
.rlp-cta-banner .rlp-hero__btn--line,
.rlp-cta-sp    .rlp-hero__btn--line {
  animation: rlp-pulse-line 2.4s ease-in-out infinite;
}

.rlp-cta-banner .rlp-hero__btn--line:hover,
.rlp-cta-sp    .rlp-hero__btn--line:hover {
  animation: none;
}

.rlp-cta-banner .rlp-hero__btn--outline,
.rlp-cta-sp    .rlp-hero__btn--outline {
  animation: rlp-pulse-orange 2.4s ease-in-out infinite;
  animation-delay: .4s;
}

.rlp-cta-banner .rlp-hero__btn--outline:hover,
.rlp-cta-sp    .rlp-hero__btn--outline:hover {
  animation: none;
}

/* ==============================================================
   スクロール登場クラス（IntersectionObserver で .is-visible 付与）
   ============================================================== */
@keyframes rlp-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rlp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.rlp-reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .65s ease, transform .65s ease;
}

.rlp-reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .65s ease, transform .65s ease;
}

.rlp-reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .65s ease, transform .65s ease;
}

.rlp-reveal.is-visible,
.rlp-reveal-scale.is-visible,
.rlp-reveal-left.is-visible,
.rlp-reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

/* スタガー遅延 */
.rlp-reveal-d1 { transition-delay: .10s; }
.rlp-reveal-d2 { transition-delay: .22s; }
.rlp-reveal-d3 { transition-delay: .34s; }
.rlp-reveal-d4 { transition-delay: .46s; }

/* ==============================================================
   prefers-reduced-motion — 全アニメーション無効化
   ============================================================== */
@media (prefers-reduced-motion: reduce) {
  .rlp-hero__sub,
  .rlp-hero__catch,
  .rlp-hero__visual-sp,
  .rlp-hero__points,
  .rlp-hero__desc,
  .rlp-hero__cta,
  .rlp-hero__visual {
    animation: none;
    opacity: 1;
  }

  .rlp-reveal,
  .rlp-reveal-scale,
  .rlp-reveal-left,
  .rlp-reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rlp-hero__btn,
  .rlp-cta-banner .rlp-hero__btn--line,
  .rlp-cta-banner .rlp-hero__btn--outline,
  .rlp-cta-sp .rlp-hero__btn--line,
  .rlp-cta-sp .rlp-hero__btn--outline {
    animation: none !important;
  }
}

/* ==============================================================
   新着案件スライダー
   ============================================================== */
.rlp-jobs-wrapper {
  position: relative;
  padding: 0 48px;
}

.rlp-jobs-slider {
  overflow: hidden;
  container-type: inline-size; /* cqi 単位の基準コンテナ（= スライダー幅） */
}

.rlp-jobs-track {
  display: flex;
  gap: 24px;
  transition: transform .42s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

/* カード — cqi はスライダー幅を直接参照するため見切れが発生しない */
/* PC 4枚: (スライダー幅 - gap×3) ÷ 4 */
.rlp-job-card {
  flex: 0 0 calc((100cqi - 72px) / 4);
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  padding: 20px 18px 22px;
  box-shadow: 0 2px 8px rgba(0, 38, 90, .06);
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.rlp-job-card:hover {
  box-shadow: 0 6px 20px rgba(0, 38, 90, .12);
  transform: translateY(-2px);
}

.rlp-job-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--rp-navy);
  margin: 0 0 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.4em;
}

.rlp-job-card__tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rlp-job-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  background: #eef2f7;
  color: #555;
  letter-spacing: .04em;
}

.rlp-job-card__tag--new {
  background: #ff8f00;
  color: #fff;
}

.rlp-job-card__tag--hi {
  background: #fff0e0;
  color: #d06000;
}

.rlp-job-card__tag--sub {
  background: #e8f0fe;
  color: var(--rp-blue);
}

.rlp-job-card__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rlp-job-card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

.rlp-job-card__meta-item svg {
  flex-shrink: 0;
}

.rlp-job-card__meta-item--rate {
  font-size: 16px;
  font-weight: 700;
  color: var(--rp-navy);
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f4;
  margin-bottom: 1px;
}

/* Prev / Next ボタン */
.rlp-jobs-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
  transition: background .2s, border-color .2s;
  color: var(--rp-navy);
  z-index: 2;
}

.rlp-jobs-btn:hover:not(:disabled) {
  background: var(--rp-navy);
  border-color: var(--rp-navy);
  color: #fff;
}

.rlp-jobs-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.rlp-jobs-btn--prev { left: 0; }
.rlp-jobs-btn--next { right: 0; }

/* ドット */
.rlp-jobs-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.rlp-jobs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cdd4de;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .25s, transform .25s;
}

.rlp-jobs-dot.is-active {
  background: var(--rp-navy);
  transform: scale(1.35);
}

/* レスポンシブ */
/* タブレット 2枚: (スライダー幅 - gap×1) ÷ 2 */
@media screen and (max-width: 900px) {
  .rlp-job-card {
    flex: 0 0 calc((100cqi - 24px) / 2);
  }
  .rlp-jobs-wrapper {
    padding: 0 44px;
  }
}

/* スマホ 1枚: スライダー幅いっぱい */
@media screen and (max-width: 600px) {
  .rlp-job-card {
    flex: 0 0 100cqi;
  }
  .rlp-jobs-wrapper {
    padding: 0 40px;
  }
}

/* ==============================================================
   選ばれる理由セクション リデザイン
   ============================================================== */
#rlp-reasons {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #EBF3FF 0%, #F5F7FA 45%, #FFF8F0 100%);
}

/* 左上の装飾（青系シェイプ） */
#rlp-reasons::before {
  content: '';
  position: absolute;
  width: 1526px;
  height: 1577px;
  top: -816px;
  left: -1526px;
  background: rgba(176, 218, 255, 0.55);
  transform: matrix(1, 0, -1.19175, 1, 0, 0);
  transform-origin: 50% 100%;
  z-index: 0;
}

/* 右中段の装飾（ウォーム系 三角形） */
#rlp-reasons::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 210, 155, 0.55);
  clip-path: polygon(80% 38%, 100% 17%, 100% 59%);
  z-index: 0;
}

#rlp-reasons .rlp-inner {
  position: relative;
  z-index: 1;
}

/* 左下の装飾（グリーン系 三角形） */
#rlp-reasons .rlp-inner::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--rp-section-pad));
  bottom: calc(-1 * var(--rp-section-pad));
  left: calc(-50vw + 50%);
  width: 100vw;
  background: rgba(140, 210, 170, 0.5);
  clip-path: polygon(0 74%, 0 100%, 40% 100%);
  z-index: -1;
  pointer-events: none;
}

#rlp-reasons .rlp-points {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(0, 56, 112, .12);
  overflow: hidden;
  gap: 4rem;
  padding: 4rem 7rem;
}

#rlp-reasons .rlp-point {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-bottom: none;
}

#rlp-reasons .rlp-point__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 10px;
  line-height: 1;
}

#rlp-reasons .rlp-point__num::before {
  content: none;
}

#rlp-reasons .rlp-point__num em::before {
  content: '–\0020';
  color: #ff8f00;
  font-style: normal;
}

#rlp-reasons .rlp-point__num em {
  font-style: italic;
  font-weight: 700;
  font-family: 'Montserrat', 'Barlow', 'Arial', sans-serif;
  font-size: 3rem;
  color: #0261C0;
  letter-spacing: -.02em;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

#rlp-reasons .rlp-point__sub {
  display: inline-block;
  background: #FFF3EA;
  border-radius: 20px;
  color: #E07530;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  margin: 10px 0 0;
  line-height: 1.5;
}

#rlp-reasons .rlp-point__img {
  border-radius: 0.7rem;
  overflow: hidden;
}

#rlp-reasons .rlp-point:not(.rlp-point--reverse) .rlp-point__img {
  background: #EBF3FF;
}

#rlp-reasons .rlp-point--reverse .rlp-point__img {
  background: #FFF7EE;
}

@media screen and (max-width: 900px) {
  #rlp-reasons .rlp-points {
    border-radius: 16px;
    padding: 2.5rem 3rem;
    gap: 2.5rem;
  }
}

@media screen and (max-width: 600px) {
  #rlp-reasons .rlp-points {
    border-radius: 12px;
    padding: 2rem 1.25rem;
    gap: 2rem;
  }

  #rlp-reasons .rlp-point__num em {
    font-size: 2.2rem;
  }

  /* スマホ：背景デコレーションオブジェクトを非表示 */
  #rlp-reasons::before,
  #rlp-reasons::after,
  #rlp-reasons .rlp-inner::before {
    display: none;
  }
}