/* ========================================
   ビジネス職採用ページCSS
======================================== */

.nowrap {
  display: inline-block;
}

.recruit-business,
.recruit-engineer {
  position: relative;
}

/* ========================================
   HERO SECTION
======================================== */
.rb-hero {
  position: relative;
  z-index: 1;
  background-color: transparent;
}

/* Header (Title Area) */
.rb-hero__header {
  position: relative;
  height: 427px;
  overflow: hidden;
}

.rb-hero__header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.rb-hero__header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rb-hero__header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-gray-medium);
  mix-blend-mode: multiply;
}

.rb-hero__header-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: 100px;
}

.rb-hero__subtitle {
  font-family: var(--recruit-font-family);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.rb-hero__title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rb-hero__title-line {
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--color-white);
}

.rb-hero__title {
  font-family: var(--recruit-font-family);
  font-size: 50px;
  font-weight: 400;
  color: var(--color-white);
  margin: 0;
}

/* Quick Links */
.rb-hero__links {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 40px;
}

.rb-hero__link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-black);
  transition: color 0.3s ease;
}

.rb-hero__link:hover {
  color: var(--recruit-primary);
}

.rb-hero__link-icon {
  width: 22px;
  height: 22px;
  color: var(--color-black);
}

.rb-hero__link-icon svg {
  width: 100%;
  height: 100%;
}

.rb-hero__link-text {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
}


/* Hero Message */
.rb-hero__message {
  padding: 80px 40px;
  max-width: 1080px;
  margin: 0 auto;
}

.rb-hero__message-title {
  font-family: var(--recruit-font-family);
  font-size: 80px;
  font-weight: 400;
  color: var(--recruit-primary);
  line-height: 1.2;
  margin: 0 0 40px;
}

.rb-hero__message-title span {
  display: block;
}

.rb-hero__message-text {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-black);
  max-width: 800px;
  margin: 0;
}

/* ========================================
   MARQUEE SECTION
======================================== */
.rb-marquee {
  padding: 40px 0;
  overflow: hidden;
  height: 480px;
}

.rb-marquee__track {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  width: max-content;
  height: 100%;
  animation: marquee-scroll 50s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rb-marquee__item {
  flex-shrink: 0;
  overflow: hidden;
}

.rb-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* バラバラなサイズと位置（上・中・下が連続しない配置）
   10枚ループ → 10n+Xパターン */
.rb-marquee__item:nth-child(10n+1) {
  width: 420px;
  height: 360px;
  margin-top: 30px;    /* 上・大 */
}

.rb-marquee__item:nth-child(10n+2) {
  width: 165px;
  height: 165px;
  margin-top: 105px;   /* 中・小 */
}

.rb-marquee__item:nth-child(10n+3) {
  width: 270px;
  height: 300px;
  margin-top: 225px;   /* 下・中 */
}

.rb-marquee__item:nth-child(10n+4) {
  width: 180px;
  height: 240px;
  margin-top: 15px;    /* 上・小 */
}

.rb-marquee__item:nth-child(10n+5) {
  width: 390px;
  height: 270px;
  margin-top: 195px;   /* 下・大 */
}

.rb-marquee__item:nth-child(10n+6) {
  width: 225px;
  height: 195px;
  margin-top: 90px;    /* 中・中 */
}

.rb-marquee__item:nth-child(10n+7) {
  width: 150px;
  height: 210px;
  margin-top: 38px;    /* 上・小 */
}

.rb-marquee__item:nth-child(10n+8) {
  width: 330px;
  height: 285px;
  margin-top: 240px;   /* 下・大 */
}

.rb-marquee__item:nth-child(10n+9) {
  width: 240px;
  height: 255px;
  margin-top: 120px;   /* 中・中 */
}

.rb-marquee__item:nth-child(10n+10) {
  width: 300px;
  height: 315px;
  margin-top: 210px;   /* 下・大 */
}


/* ========================================
   PAY SYSTEM SECTION
======================================== */
.rb-pay-system {
  position: relative;
  z-index: 1;
  padding-top: 100px;
}

.rb-pay-system__header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px 60px;
}

/* Hero: 極限まで還元する（画像） */
.rb-pay-system__hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
}

.rb-pay-system__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 賞与等について記載（2カラム） */
.rb-pay-system__bonus {
  background-color: transparent;
  padding: 80px 100px;
}

.rb-pay-system__bonus-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.rb-pay-system__bonus-content {
  /* 左カラム */
}

.rb-pay-system__bonus-title {
  font-family: var(--recruit-font-family);
  font-size: 36px;
  font-weight: 400;
  color: var(--recruit-primary);
  margin: 0 0 20px;
}

.rb-pay-system__bonus-text {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-black);
  margin: 0;
}

.rb-pay-system__bonus-image-wrap {
  /* 右カラム */
}

.rb-pay-system__bonus-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 年収アップモデルケース（2カラム） */
.rb-pay-system__model {
  background-color: transparent;
  padding: 80px 100px;
}

.rb-pay-system__model-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.rb-pay-system__model-content {
  /* 左カラム */
}

.rb-pay-system__model-title {
  font-family: var(--recruit-font-family);
  font-size: 36px;
  font-weight: 400;
  color: var(--recruit-primary);
  margin: 0 0 20px;
}

.rb-pay-system__model-title span {
  display: block;
}

.rb-pay-system__model-text {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-black);
  margin: 0;
}

.rb-pay-system__model-image-wrap {
  /* 右カラム */
}

.rb-pay-system__model-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 還元率が高い理由 */
.rb-pay-system__reasons {
  padding: 80px 100px 100px;
}

.rb-pay-system__reasons-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.rb-pay-system__reasons-title {
  font-family: var(--recruit-font-family);
  font-size: 36px;
  font-weight: 400;
  color: var(--recruit-primary);
  margin: 0 0 50px;
}

.rb-pay-system__reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background-color: #EEF9FF;
  padding: 40px 30px;
}

.rb-pay-system__reason-card {
  background-color: var(--color-white);
  border-radius: 0;
  padding: 50px 35px 40px;
  min-height: 489px;
}

.rb-pay-system__reason-icon {
  display: block;
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 40px;
}

.rb-pay-system__reason-number {
  display: block;
  font-family: var(--recruit-font-family);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.rb-pay-system__reason-card .rb-pay-system__reason-title {
  font-family: var(--recruit-font-family);
  font-size: 28px;
  font-weight: 400;
  color: var(--recruit-primary);
  margin: 0 0 20px;
  line-height: normal;
}

.rb-pay-system__reason-text {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-black);
  margin: 0;
}

/* ========================================
   ABOUT US SECTION
======================================== */
.rb-about {
  padding: 100px 0;
}

.rb-about__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.rb-about__block {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

.rb-about__block-image {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1080px;
  height: 400px;
  overflow: hidden;
  text-decoration: none;
}

.rb-about__block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* 画像ホバーでズーム */
.rb-about__block-image:hover img {
  transform: scale(1.05);
}

.rb-about__block-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-gray-medium);
  mix-blend-mode: multiply;
}

.rb-about__block-label {
  position: absolute;
  top: 0;
  right: 15px;
  font-family: var(--recruit-font-family);
  font-size: 130px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1;
  text-align: right;
  margin: 0;
}

/* リンクボタン：画像内の左下に配置（TOPページと同様） */
.rb-about__block-link {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 430px;
  max-width: 80%;
  padding: 17px 25px;
  background-color: #FFFFFF;
  color: var(--recruit-primary);
  font-family: var(--recruit-font-family);
  font-size: 24px;
  font-weight: 500;
  overflow: hidden;
}

/* ホバー時の円形背景エフェクト */
.rb-about__block-link::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 37px;
  width: 25px;
  height: 25px;
  background-color: var(--recruit-primary);
  border-radius: 50%;
  transform: translate(50%, -50%) scale(1);
  transition: transform 0.4s ease;
  z-index: 0;
}

/* 画像パネルホバーで円形背景が広がる */
.rb-about__block-image:hover .rb-about__block-link::before {
  transform: translate(50%, -50%) scale(32);
}

.rb-about__block-link-text {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* 画像パネルホバーでテキスト色変更 */
.rb-about__block-image:hover .rb-about__block-link-text {
  color: var(--color-white);
}

.rb-about__block-arrow {
  flex-shrink: 0;
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.rb-about__block-arrow-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--recruit-primary);
  border-radius: 50%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 画像パネルホバーで矢印の円が消える */
.rb-about__block-image:hover .rb-about__block-arrow-circle {
  opacity: 0;
  transform: scale(0.8);
}

.rb-about__block-arrow-icon {
  position: relative;
  width: 16px;
  height: 16px;
  color: var(--color-white);
  transition: transform 0.3s ease;
}

/* 画像パネルホバーで矢印が拡大 */
.rb-about__block-image:hover .rb-about__block-arrow-icon {
  transform: scale(1.8);
}

/* 説明テキスト */
.rb-about__block-desc {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-black);
  width: 100%;
  max-width: 1080px;
  margin: 20px 0 0;
}

.rb-about__block-desc p {
  margin: 0;
}

/* ========================================
   JOBS SECTION
======================================== */
.rb-jobs {
  padding: 100px 0;
  background-color: transparent;
}

.rb-jobs__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
}

.rb-jobs__desc {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-black);
  margin: 50px 0;
}

.rb-jobs__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.rb-jobs__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background-color: #EEF9FF;
  border-radius: 0;
  padding: 40px 26px;
  width: calc((100% - 60px) / 3);
  min-height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rb-jobs__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 100, 255, 0.1);
}

.rb-jobs__card-title {
  font-family: var(--recruit-font-family);
  font-size: 24px;
  font-weight: 700;
  color: var(--recruit-primary);
  margin: 0 0 20px;
  line-height: 1.4;
}

.rb-jobs__card-desc {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-black);
  margin: 0;
  flex-grow: 1;
}

.rb-jobs__card-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}

.rb-jobs__card-more-icon {
  width: 22px;
  height: 22px;
  order: 1;
}

.rb-jobs__card-more-text {
  font-family: var(--recruit-font-family);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1;
  order: 2;
}

.rb-jobs__empty {
  width: 100%;
  text-align: center;
  font-family: var(--recruit-font-family);
  font-size: 16px;
  color: var(--color-text-light);
  padding: 60px 0;
}

/* ========================================
   INTERVIEW SECTION
======================================== */
.rb-interview {
  padding: 100px 0;
}

.rb-interview__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
  overflow: hidden;
}

.rb-interview__header {
  margin-bottom: 50px;
}

.rb-interview__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 50px;
}

.rb-interview__scroll::-webkit-scrollbar {
  display: none;
}

.rb-interview__track {
  display: flex;
  gap: 30px;
  padding: 0 calc((100% - 1080px) / 2 + 40px);
  width: max-content;
}

@media (max-width: 1160px) {
  .rb-interview__track {
    padding: 0 40px;
  }
}

.rb-interview__track .media-card {
  width: 480px;
  flex-shrink: 0;
}

.rb-interview__track .media-card__image {
  border-radius: 0;
}

.rb-interview__empty {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  color: var(--color-text-light);
  text-align: center;
  padding: 40px;
}

.rb-interview__more {
  text-align: center;
  padding: 0 40px;
}

.rb-interview__more-button {
  display: inline-block;
  padding: 16px 60px;
  border: 1px solid var(--color-black);
  border-radius: 100px;
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-black);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.rb-interview__more-button:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* ============================================
   GSAP ScrollTrigger 横スクロール用
   PC (1024px〜) のみ適用
   ============================================ */
@media (min-width: 1024px) {
  /* 横スクロールモード */
  .rb-interview__track {
    padding-left: 0;
    padding-right: 0;
  }

  .rb-interview .rb-interview__track {
    will-change: transform;
  }
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1023px) {
  /* Hero */
  .rb-hero__header {
    height: 350px;
  }

  .rb-hero__header-content {
    padding: 0 40px;
    padding-top: 80px;
  }

  .rb-hero__title {
    font-size: 36px;
  }

  .rb-hero__links {
    padding: 15px 40px;
    gap: 20px;
    flex-wrap: wrap;
  }

  .rb-hero__link-text {
    font-size: 14px;
  }

  .rb-hero__message {
    padding: 60px 40px;
  }

  .rb-hero__message-title {
    font-size: 50px;
  }

  /* Marquee */
  .rb-marquee {
    height: 390px;
    padding: 30px 0;
  }

  .rb-marquee__item:nth-child(10n+1) { width: 300px; height: 270px; margin-top: 22px; }
  .rb-marquee__item:nth-child(10n+2) { width: 120px; height: 120px; margin-top: 75px; }
  .rb-marquee__item:nth-child(10n+3) { width: 210px; height: 225px; margin-top: 150px; }
  .rb-marquee__item:nth-child(10n+4) { width: 135px; height: 180px; margin-top: 15px; }
  .rb-marquee__item:nth-child(10n+5) { width: 285px; height: 210px; margin-top: 135px; }
  .rb-marquee__item:nth-child(10n+6) { width: 165px; height: 150px; margin-top: 68px; }
  .rb-marquee__item:nth-child(10n+7) { width: 112px; height: 157px; margin-top: 195px; }
  .rb-marquee__item:nth-child(10n+8) { width: 240px; height: 217px; margin-top: 30px; }
  .rb-marquee__item:nth-child(10n+9) { width: 180px; height: 195px; margin-top: 90px; }
  .rb-marquee__item:nth-child(10n+10) { width: 330px; height: 247px; margin-top: 8px; }

  /* Pay System */
  .rb-pay-system {
    padding-top: 80px;
  }

  .rb-pay-system__header {
    padding: 0 40px 40px;
  }

  .rb-pay-system__hero {
    padding: 0 40px;
  }

  .rb-pay-system__bonus {
    padding: 60px 40px;
  }

  .rb-pay-system__bonus-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rb-pay-system__bonus-title {
    font-size: 28px;
  }

  .rb-pay-system__model {
    padding: 60px 40px;
  }

  .rb-pay-system__model-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rb-pay-system__model-title {
    font-size: 28px;
  }

  .rb-pay-system__reasons {
    padding: 60px 40px 80px;
  }

  .rb-pay-system__reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 20px;
  }

  /* About */
  .rb-about__inner {
    padding: 0 40px;
    gap: 40px;
  }

  .rb-about__block-image {
    width: 100%;
    height: 300px;
  }

  .rb-about__block-label {
    font-size: 80px;
  }

  .rb-about__block-desc {
    width: 100%;
  }

  .rb-about__block-link {
    width: 350px;
    padding: 15px 20px;
    font-size: 20px;
  }

  .rb-about__block-link::before {
    width: 22px;
    height: 22px;
    right: 31px;
  }

  .rb-about__block-arrow {
    width: 28px;
    height: 28px;
  }

  .rb-about__block-arrow-icon {
    width: 14px;
    height: 14px;
  }

  /* Jobs */
  .rb-jobs {
    padding: 80px 0;
  }

  .rb-jobs__inner {
    padding: 0 40px;
  }

  .rb-jobs__desc {
    margin: 40px 0;
  }

  .rb-jobs__grid {
    gap: 20px;
  }

  .rb-jobs__card {
    width: calc((100% - 20px) / 2);
    padding: 30px 20px;
    min-height: 200px;
  }

  .rb-jobs__card-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .rb-jobs__card-desc {
    font-size: 14px;
  }

  .rb-jobs__card-more-text {
    font-size: 16px;
  }

  /* Interview */
  .rb-interview__inner {
    padding: 0 40px;
    overflow: visible;
  }

  .rb-interview__track {
    padding: 0;
  }

  .rb-interview__track .media-card {
    width: 280px;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 767px) {
  /* Hero */
  .rb-hero__header {
    height: 300px;
  }

  .rb-hero__header-content {
    padding: 0 20px;
    padding-top: 80px;
  }

  .rb-hero__subtitle {
    font-size: 14px;
  }

  .rb-hero__title {
    font-size: 28px;
  }

  .rb-hero__links {
    padding: 15px 20px;
    gap: 15px;
    flex-direction: column;
    align-items: flex-start;
  }

  .rb-hero__message {
    padding: 40px 20px;
  }

  .rb-hero__message-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .rb-hero__message-text {
    font-size: 14px;
  }

  /* Marquee */
  .rb-marquee {
    height: 360px;
    padding: 20px 0;
  }

  .rb-marquee__item:nth-child(10n+1) { width: 270px; height: 225px; margin-top: 15px; }
  .rb-marquee__item:nth-child(10n+2) { width: 150px; height: 150px; margin-top: 52px; }
  .rb-marquee__item:nth-child(10n+3) { width: 195px; height: 210px; margin-top: 82px; }
  .rb-marquee__item:nth-child(10n+4) { width: 165px; height: 195px; margin-top: 8px; }
  .rb-marquee__item:nth-child(10n+5) { width: 255px; height: 195px; margin-top: 75px; }
  .rb-marquee__item:nth-child(10n+6) { width: 180px; height: 165px; margin-top: 38px; }
  .rb-marquee__item:nth-child(10n+7) { width: 142px; height: 180px; margin-top: 105px; }
  .rb-marquee__item:nth-child(10n+8) { width: 225px; height: 202px; margin-top: 15px; }
  .rb-marquee__item:nth-child(10n+9) { width: 187px; height: 187px; margin-top: 60px; }
  .rb-marquee__item:nth-child(10n+10) { width: 285px; height: 217px; margin-top: 0; }

  /* Pay System */
  .rb-pay-system {
    padding-top: 60px;
  }

  .rb-pay-system__header {
    padding: 0 20px 30px;
  }

  .rb-pay-system__hero {
    padding: 0 20px;
  }

  .rb-pay-system__bonus {
    padding: 40px 20px;
  }

  .rb-pay-system__bonus-title {
    font-size: 24px;
  }

  .rb-pay-system__bonus-text {
    font-size: 14px;
  }

  .rb-pay-system__bonus-image-wrap {
    width: 100%;
  }

  .rb-pay-system__bonus-image {
    width: 100%;
    max-width: 100%;
  }

  .rb-pay-system__model {
    padding: 40px 20px;
  }

  .rb-pay-system__model-title {
    font-size: 24px;
  }

  .rb-pay-system__model-title span {
    display: inline;
  }

  .rb-pay-system__model-text {
    font-size: 14px;
  }

  .rb-pay-system__model-image-wrap {
    width: 100%;
  }

  .rb-pay-system__model-image {
    width: 100%;
    max-width: 100%;
  }

  .rb-pay-system__reasons {
    padding: 40px 20px 60px;
  }

  .rb-pay-system__reasons-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .rb-pay-system__reason-card {
    padding: 30px 20px;
  }

  .rb-pay-system__reason-card .rb-pay-system__reason-number {
    font-size: 12px;
  }

  .rb-pay-system__reason-card h4.rb-pay-system__reason-title {
    font-size: 24px;
  }

  .rb-pay-system__reason-card .rb-pay-system__reason-text {
    font-size: 14px;
  }

  /* About */
  .rb-about {
    padding: 60px 0;
  }

  .rb-about__inner {
    padding: 0 20px;
    gap: 50px;
  }

  .rb-about__block-image {
    width: 100%;
    height: 220px;
  }

  .rb-about__block-label {
    font-size: 58px;
    right: 10px;
  }

  .rb-about__block-desc {
    width: 100%;
    font-size: 14px;
    line-height: 24px;
    margin-top: 15px;
  }

  .rb-about__block-link {
    width: auto;
    max-width: 85%;
    padding: 12px 16px;
    font-size: 14px;
    gap: 16px;
  }

  .rb-about__block-link::before {
    width: 22px;
    height: 22px;
    right: 31px;
  }

  .rb-about__block-link-text {
    white-space: normal;
    word-break: keep-all;
  }
}

/* 極端に狭い幅では任意位置で改行を許可 */
@media (max-width: 320px) {
  .rb-about__block-link-text {
    word-break: normal;
  }
}

@media (max-width: 767px) {
  .rb-about__block-arrow {
    width: 28px;
    height: 28px;
  }

  .rb-about__block-arrow-icon {
    width: 18px;
    height: 18px;
  }

  /* Jobs */
  .rb-jobs {
    padding: 60px 0;
  }

  .rb-jobs__inner {
    padding: 0 20px;
  }

  .rb-jobs__desc {
    font-size: 14px;
    margin: 30px 0;
  }

  .rb-jobs__grid {
    gap: 15px;
  }

  .rb-jobs__card {
    width: 100%;
    padding: 25px 20px;
    min-height: auto;
    border-radius: 0;
  }

  .rb-jobs__card-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .rb-jobs__card-desc {
    font-size: 14px;
  }

  .rb-jobs__card-more {
    margin-top: 15px;
  }

  .rb-jobs__card-more-text {
    font-size: 14px;
  }

  .rb-jobs__card-more-icon {
    width: 18px;
    height: 18px;
  }

  /* Interview */
  .rb-interview {
    padding: 60px 0;
  }

  .rb-interview__inner {
    padding: 0;
    overflow: visible;
  }

  .rb-interview__header {
    padding: 0 20px;
    margin-bottom: 30px;
  }

  .rb-interview__track {
    padding: 0 20px;
    gap: 20px;
  }

  .rb-interview__track .media-card {
    width: 260px;
  }

  .rb-interview__more {
    padding: 0 20px;
  }

  .rb-interview__more-button {
    padding: 14px 40px;
    font-size: 14px;
  }
}

/* ========================================
   MESSAGE SECTION（人と仕事を最適に結ぶ）
======================================== */
.rb-message {
  position: relative;
  z-index: 1;
  padding: 120px 0 100px;
}

.rb-message__inner {
  display: grid;
  grid-template-columns: 1fr 617px;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
  align-items: start;
}

.rb-message__content {
  padding-top: 0;
}

.rb-message__title {
  font-family: var(--recruit-font-family);
  font-size: 60px;
  font-weight: 400;
  color: var(--recruit-primary);
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 0 30px;
}

.rb-message__title span {
  display: block;
}

.rb-message__text {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-black);
  margin: 0 0 40px;
}

.rb-message__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rb-message__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--recruit-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-black);
}

.rb-message__check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.rb-message__images {
  display: flex;
  justify-content: flex-end;
}

.rb-message__images img {
  width: 100%;
  max-width: 617px;
  height: auto;
}


/* 共通区切り線 */
.rb-divider-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
}

.rb-divider {
  height: 1px;
  background-color: var(--recruit-primary);
}

/* --mt modifier は不要になったが、後方互換性のため残す */
.rb-divider-wrapper--mt {
  /* margin-top: 0; - セクションのpaddingで間隔を管理 */
}

/* MESSAGE - Tablet */
@media (max-width: 1023px) {
  .rb-message {
    padding: 60px 0 80px;
  }

  .rb-message__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 40px;
  }

  .rb-message__title {
    font-size: 42px;
  }

  .rb-message__images {
    order: -1;
    justify-content: center;
  }

  .rb-message__images img {
    max-width: 100%;
  }

  .rb-divider-wrapper {
    padding: 0 40px;
  }

  .rb-divider-wrapper--mt {
    /* セクションのpaddingで間隔を管理 */
  }

  .rb-about {
    padding: 80px 0;
  }
}

/* MESSAGE - Mobile */
@media (max-width: 767px) {
  .rb-message {
    padding: 40px 0 60px;
  }

  .rb-message__inner {
    gap: 30px;
    padding: 0 20px;
  }

  .rb-message__title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .rb-message__text {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .rb-message__list-item {
    font-size: 14px;
  }

  .rb-message__check-icon {
    width: 20px;
    height: 20px;
  }

  .rb-divider-wrapper {
    padding: 0 20px;
  }

  .rb-divider-wrapper--mt {
    /* セクションのpaddingで間隔を管理 */
  }
}
