/* recruit site B: white ground, many photos, the yellow marker and navy */
:root { --kp-main: #1f63c6; --kp-deep: #0d2a5e; --kp-soft: #f3f6fb; --kp-ink: #0d2a5e; }
.t-saiyo-b .sec--soft { background: #f3f6fb; }
.mark-y { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); }

/* section heads: a yellow bar before the English */
.t-saiyo-b .sh__en { display: flex; align-items: center; gap: 12px; color: var(--blue); font: 700 14px/1 var(--en); letter-spacing: .26em; }
.t-saiyo-b .sh__en::before { content: ""; width: 26px; height: 6px; background: var(--yellow); }
.t-saiyo-b .sh__ja { margin-top: 18px; color: var(--ink); font: 900 clamp(28px, 3vw, 42px)/1.4 var(--jp); letter-spacing: .06em; }

/* message (the concept of the ② page) */
.cp__ttl { word-break: auto-phrase; }

/* jobs: photo cards, the job name on the yellow marker */
.rb-jb__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: 1240px; margin: clamp(48px, 5vw, 64px) auto 0; }
.rb-jb__card { position: relative; display: flex; flex-direction: column; height: 100%; }
.rb-jb__im { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.rb-jb__im img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.rb-jb__card:hover .rb-jb__im img { transform: scale(1.04); }
.rb-jb__tx { display: grid; align-content: start; gap: 8px; padding: 18px 2px 58px; }
.rb-jb__en { color: var(--blue); font: italic 800 14px/1 var(--en); letter-spacing: .06em; }
.rb-jb__t { color: var(--ink); font: 900 19px/1.5 var(--jp); letter-spacing: .04em; }
.rb-jb__t mark { padding: 0 .04em; background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); color: inherit; }
.rb-jb__d { color: #3a4456; font-size: 14.5px; line-height: 1.85; text-align: justify; }
.rb-jb__arw { position: absolute; right: 2px; bottom: 6px; display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); transition: background-color .3s ease, color .3s ease; }
.rb-jb__arw .kp-arw { width: 16px; height: 16px; }
.rb-jb__card:hover .rb-jb__arw { background: var(--ink); color: #fff; }

/* environment: icon cards */
.rb-ev__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1180px; margin: clamp(48px, 5vw, 64px) auto 0; }
.rb-ev__list li { display: grid; justify-items: center; align-content: start; padding: 36px 26px 34px; border-radius: 8px; background: #fff; text-align: center; }
.rb-ev__ic img { width: 92px; height: 92px; }
.rb-ev__tx { display: grid; justify-items: center; }
.rb-ev__t { display: inline; margin-top: 16px; padding: 0 .1em; color: var(--ink); font: 900 19px/1.5 var(--jp); letter-spacing: .06em; background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); }
.rb-ev__d { margin-top: 12px; color: #3a4456; font-size: 14.5px; line-height: 1.85; text-align: justify; }

/* one wide photo with a white caption */
.rb-ph { position: relative; }
.rb-ph__im img { width: 100%; height: clamp(300px, 38vw, 540px); object-fit: cover; }
.rb-ph__cp { position: absolute; left: var(--gut); bottom: clamp(20px, 3vw, 40px); display: grid; gap: 8px; padding: 22px 30px; border-radius: 6px; background: #fff; }
.rb-ph__en { color: var(--blue); font: italic 800 15px/1 var(--en); letter-spacing: .04em; }
.rb-ph__ja { color: var(--ink); font: 900 clamp(18px, 1.8vw, 24px)/1.5 var(--jp); letter-spacing: .06em; }

/* FAQ */
.rb-fq__list { display: grid; gap: 12px; max-width: 880px; margin: clamp(44px, 4.4vw, 60px) auto 0; }
.rb-fq__i { border-radius: 8px; background: #f3f6fb; }
.rb-fq__i summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 16px; padding: 20px 26px 20px 22px; }
.rb-fq__q { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 800 18px/1 var(--en); }
.rb-fq__qt { color: var(--ink); font-size: 16.5px; font-weight: 900; line-height: 1.6; letter-spacing: .04em; }
.rb-fq__pm { position: relative; width: 18px; height: 18px; color: var(--ink); }
.rb-fq__pm::before, .rb-fq__pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; margin-top: -1px; background: currentColor; transition: transform .3s ease; }
.rb-fq__pm::after { transform: rotate(90deg); }
.rb-fq__i[open] .rb-fq__pm::after { transform: rotate(0); }
.rb-fq__a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 0 26px 22px 22px; }
.rb-fq__al { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); font: 800 18px/1 var(--en); }
.rb-fq__a p { padding-top: 6px; color: #2c3546; font-size: 15.5px; line-height: 1.9; text-align: justify; }

@media (max-width: 1100px) {
  .rb-jb__list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .rb-ev__list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
}
@media (max-width: 640px) {
  .t-saiyo-b .sh__ja { font-size: clamp(24px, 7vw, 30px); }
  .rb-jb__list { grid-template-columns: 1fr; gap: 18px; }
  .rb-jb__card { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 0 16px; }
  .rb-jb__im { aspect-ratio: auto; height: 100%; min-height: 140px; }
  .rb-jb__tx { gap: 6px; padding: 4px 0 44px; }
  .rb-jb__en { font-size: 12px; }
  .rb-jb__t { font-size: 16px; }
  .rb-jb__d { font-size: 13px; line-height: 1.75; }
  .rb-jb__arw { right: 0; bottom: 0; width: 36px; height: 36px; }
  .rb-ev__list { grid-template-columns: 1fr; gap: 12px; }
  .rb-ev__list li { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; gap: 0 16px; padding: 22px 20px; text-align: left; }
  .rb-ev__ic img { width: 64px; height: 64px; }
  .rb-ev__tx { justify-items: start; }
  .rb-ev__t { margin-top: 2px; font-size: 17px; }
  .rb-ev__d { margin-top: 8px; font-size: 13.5px; line-height: 1.75; }
  .rb-ph__cp { left: 16px; right: 16px; padding: 16px 18px; }
  .rb-ph__ja { font-size: 17px; }
  .rb-fq__i summary { grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 12px; padding: 16px 16px 16px 14px; }
  .rb-fq__q, .rb-fq__al { width: 34px; height: 34px; font-size: 16px; }
  .rb-fq__qt { font-size: 15px; }
  .rb-fq__pm, .rb-fq__pm::before, .rb-fq__pm::after { width: 16px; }
  .rb-fq__a { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 0 16px 18px 14px; }
  .rb-fq__a p { padding-top: 4px; font-size: 14.5px; }
}
