/* ================================================================
   K RIDE — 採用ページ v8 専用スタイル
   site-v8.css の上に重ねて使う
   ================================================================ */

/* ---------- RC HERO ---------- */
.rc-hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: grid;
  grid-template-columns: 46% 54%;
  overflow: hidden;
  background: var(--paper);
}
.rc-hero__left {
  position: relative;
  z-index: 2;
  padding: clamp(110px, 14vh, 160px) var(--pad-x) clamp(60px, 8vh, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}
.rc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--orange-mist);
  color: var(--orange-deep);
  font-family: var(--en);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 0.9s var(--ease-out) 0.3s forwards;
  position: relative;
  z-index: 2;
}
.rc-hero__badge .kslash { width: 14px; height: 6px; background: var(--orange-deep); }
.rc-hero__title {
  font-family: var(--disp);
  font-weight: 900;
  color: var(--navy-deep);
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.24;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 1.0s var(--ease-out) 0.45s forwards;
  margin-bottom: 28px;
  text-wrap: balance;
  position: relative;
  z-index: 2;
}
.rc-hero__title em {
  background: linear-gradient(180deg, transparent 62%, var(--orange-tint) 62%);
  padding: 0 6px;
}
.rc-hero__sub {
  color: var(--text-dim);
  font-size: clamp(14.5px, 1.15vw, 15.5px);
  line-height: 2.0;
  max-width: 28em;
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 1.0s var(--ease-out) 0.6s forwards;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}
.rc-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 1.0s var(--ease-out) 0.75s forwards;
  position: relative;
  z-index: 2;
  margin-bottom: 36px;
}
.rc-hero__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroIn 1.0s var(--ease-out) 0.95s forwards;
  position: relative;
  z-index: 2;
}
.rc-hero__pills li {
  padding: 6px 14px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.rc-hero__block {
  position: absolute;
  right: -80px; bottom: -80px;
  width: 240px; height: 240px;
  background: var(--orange);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.94;
}
.rc-hero__block::before {
  content: "";
  position: absolute;
  right: 40px; top: 50px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.rc-hero__right {
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
}
.rc-hero__photo {
  position: absolute;
  inset: 0;
}
.rc-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroKen 10s var(--ease-out) forwards;
}
.rc-hero__stamp {
  position: absolute;
  right: 40px; top: 120px;
  z-index: 3;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  box-shadow: var(--sh-l);
  opacity: 0;
  transform: scale(0) rotate(-12deg);
  animation: stampIn 0.7s var(--ease-out) 1.1s forwards;
}
.rc-hero__stamp-arrow {
  font-size: 22px;
  margin-top: 4px;
}
@keyframes stampIn { to { opacity: 1; transform: scale(1) rotate(-12deg); } }
.rc-hero__dot {
  position: absolute;
  right: 32px; bottom: 32px;
  width: 76px; height: 76px;
  border: 4px solid var(--orange);
  border-radius: 50%;
  z-index: 3;
  opacity: 0;
  animation: heroPop2 0.7s var(--ease-out) 1.3s forwards;
  transform: scale(0);
}

/* ---------- WHY ---------- */
.rc-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.rc-why__card {
  padding: 40px 30px 34px;
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--sh-s);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.rc-why__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-m);
}
.rc-why__num {
  position: absolute;
  right: 24px; top: 20px;
  font-family: var(--en);
  font-weight: 900;
  font-size: 44px;
  color: var(--orange-mist);
  letter-spacing: 0;
  line-height: 1;
}
.rc-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--orange-mist);
  color: var(--orange);
  margin-bottom: 20px;
}
.rc-why__icon svg { width: 36px; height: 36px; }
.rc-why__card h3 {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 20px;
  color: var(--navy-deep);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  line-height: 1.5;
}
.rc-why__card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 2.0;
}

/* ---------- VALUES / 3ヶ条 ---------- */
.rc-values__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rc-values__item {
  padding: 32px 32px;
  background: var(--white);
  border-radius: var(--r-l);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  box-shadow: var(--sh-s);
  transition: transform 0.35s var(--ease-out);
}
.rc-values__item:hover { transform: translateX(6px); }
.rc-values__mark {
  font-family: var(--en);
  font-weight: 800;
  font-size: 40px;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.rc-values__item h3 {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 21px;
  color: var(--navy-deep);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.rc-values__item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 2.0;
}

/* ---------- A DAY / TIMELINE ---------- */
.rc-day__timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.rc-day__timeline::before {
  content: "";
  position: absolute;
  left: 60px; top: 24px; bottom: 24px;
  width: 2px;
  background: var(--orange-mist);
  z-index: 0;
}
.rc-day__slot {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
  align-items: start;
}
.rc-day__time {
  font-family: var(--en);
  font-weight: 800;
  font-size: 16px;
  color: var(--orange);
  padding-top: 22px;
  padding-left: 8px;
  position: relative;
}
.rc-day__time span {
  font-size: 30px;
  font-weight: 900;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}
.rc-day__time::after {
  content: "";
  position: absolute;
  right: -18px; top: 32px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--orange-mist);
}
.rc-day__card {
  padding: 26px 28px;
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--sh-s);
  transition: transform 0.35s var(--ease-out);
}
.rc-day__card:hover { transform: translateX(6px); }
.rc-day__label {
  display: inline-block;
  padding: 4px 10px;
  background: var(--orange-mist);
  color: var(--orange-deep);
  font-family: var(--en);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 10px;
}
.rc-day__card h3 {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 18px;
  color: var(--navy-deep);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.rc-day__card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.95;
}

/* ---------- BENEFITS ---------- */
.rc-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
}
.rc-benefit {
  padding: 30px 22px 28px;
  background: var(--paper-warm);
  border-radius: var(--r-l);
  text-align: center;
  transition: all 0.35s var(--ease-out);
}
.rc-benefit:hover {
  background: var(--orange-mist);
  transform: translateY(-6px);
}
.rc-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange);
  margin-bottom: 16px;
  transition: all 0.35s var(--ease-out);
}
.rc-benefit__icon svg { width: 28px; height: 28px; }
.rc-benefit:hover .rc-benefit__icon { background: var(--orange); color: var(--white); }
.rc-benefit h4 {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 15px;
  color: var(--navy-deep);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.rc-benefit p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ---------- STAFF VOICES ---------- */
.rc-voices__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.rc-voice {
  padding: 28px;
  background: var(--white);
  border-radius: var(--r-l);
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 28px;
  box-shadow: var(--sh-s);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.rc-voice:hover { transform: translateY(-6px); box-shadow: var(--sh-m); }
.rc-voice__photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--r-m);
  background: var(--sand);
}
.rc-voice__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.rc-voice:hover .rc-voice__photo img { transform: scale(1.05); }
.rc-voice__body {
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.rc-voice__role {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--orange-mist);
  color: var(--orange-deep);
  font-family: var(--en);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  align-self: flex-start;
}
.rc-voice__body h3 {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 19px;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.rc-voice__body p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 2.0;
}
.rc-voice__body footer {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.rc-voice__body footer b {
  color: var(--navy-deep);
  font-size: 13.5px;
  font-weight: 700;
  margin-right: 8px;
}

/* ---------- JOBS ---------- */
.rc-jobs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rc-job {
  padding: 32px 30px 34px;
  background: var(--paper-warm);
  border-radius: var(--r-l);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.rc-job:hover {
  background: var(--white);
  transform: translateY(-8px);
  box-shadow: var(--sh-m);
}
.rc-job__head { display: flex; flex-direction: column; gap: 12px; }
.rc-job__tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--en);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  border-radius: 999px;
  align-self: flex-start;
}
.rc-job__head h3 {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 22px;
  color: var(--navy-deep);
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.rc-job__head h3 small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.rc-job__lead {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.9;
}
.rc-job__spec {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.rc-job__spec > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: start;
}
.rc-job__spec dt {
  font-family: var(--en);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 3px;
}
.rc-job__spec dd {
  font-size: 13px;
  color: var(--navy-deep);
  line-height: 1.7;
  font-weight: 600;
}
.rc-job__spec dd small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-mute);
  font-weight: 400;
}
.rc-job .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- FLOW ---------- */
.rc-flow__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.rc-flow__step {
  padding: 26px 24px;
  background: var(--white);
  border-radius: var(--r-l);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--sh-s);
  position: relative;
}
.rc-flow__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--en);
  font-weight: 800;
  font-size: 20px;
  color: var(--orange);
  z-index: 2;
}
.rc-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--en);
  font-weight: 900;
  font-size: 18px;
}
.rc-flow__step h4 {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 16px;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.rc-flow__step p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.85;
}

/* ---------- FINAL CTA BAND ---------- */
.rc-cta-band {
  padding: clamp(100px, 14vw, 160px) var(--pad-x);
  background: var(--orange);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rc-cta-band::before {
  content: "";
  position: absolute;
  left: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.rc-cta-band::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -100px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.rc-cta-band__inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.rc-cta-band__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--en);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.rc-cta-band__title {
  font-family: var(--disp);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 24px;
  text-wrap: balance;
}
.rc-cta-band__title em {
  background: linear-gradient(180deg, transparent 62%, rgba(23,36,68,0.55) 62%);
  padding: 0 6px;
}
.rc-cta-band__body {
  color: rgba(255,255,255,0.94);
  font-size: 15px;
  line-height: 2.0;
  margin-bottom: 36px;
}
.rc-cta-band__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================================
   MOBILE
   ================================================================ */
@media (max-width: 900px) {
  .rc-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .rc-hero__left {
    order: 2;
    padding: 44px var(--pad-x) 72px;
  }
  .rc-hero__block {
    right: -80px; bottom: -80px;
    width: 180px; height: 180px;
  }
  .rc-hero__right {
    order: 1;
    aspect-ratio: 4/3;
    min-height: 360px;
  }
  .rc-hero__photo img { object-position: center 20%; }
  .rc-hero__title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 20px; line-height: 1.32; }
  .rc-hero__sub { font-size: 13.5px; margin-bottom: 28px; }
  .rc-hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .rc-hero__cta .btn { justify-content: center; padding: 18px 24px; }
  .rc-hero__pills li { font-size: 11px; padding: 6px 12px; }
  .rc-hero__stamp {
    right: 20px; top: 20px;
    width: 88px; height: 88px;
    font-size: 12px;
  }
  .rc-hero__stamp-arrow { font-size: 16px; }
  .rc-hero__dot { right: 16px; bottom: 16px; width: 52px; height: 52px; border-width: 3px; }

  .rc-why__grid {
    grid-template-columns: none;
    grid-auto-columns: 82%;
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-right: 30vw;
    gap: 14px;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad-x));
    padding-left: var(--pad-x);
  }
  .rc-why__grid::-webkit-scrollbar { display: none; }
  .rc-why__card { scroll-snap-align: start; padding: 32px 26px 28px; }

  .rc-values__item {
    grid-template-columns: 60px 1fr;
    gap: 16px;
    padding: 26px 22px;
  }
  .rc-values__mark { font-size: 32px; }
  .rc-values__item h3 { font-size: 18px; }

  .rc-day__timeline::before { left: 44px; }
  .rc-day__slot { grid-template-columns: 88px 1fr; gap: 16px; }
  .rc-day__time { padding-left: 4px; padding-top: 18px; }
  .rc-day__time { font-size: 13px; }
  .rc-day__time span { font-size: 22px; }
  .rc-day__time::after { right: -12px; top: 26px; width: 12px; height: 12px; }
  .rc-day__card { padding: 22px 22px; }
  .rc-day__card h3 { font-size: 16px; }

  .rc-benefits__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .rc-benefit { padding: 24px 18px 22px; }
  .rc-benefit h4 { font-size: 14px; }

  .rc-voices__grid { grid-template-columns: 1fr; gap: 20px; }
  .rc-voice { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .rc-voice__body h3 { font-size: 17px; }

  .rc-jobs__grid {
    grid-template-columns: none;
    grid-auto-columns: 88%;
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-right: 24vw;
    gap: 14px;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad-x));
    padding-left: var(--pad-x);
  }
  .rc-jobs__grid::-webkit-scrollbar { display: none; }
  .rc-job { scroll-snap-align: start; padding: 28px 24px; }
  .rc-job__head h3 { font-size: 19px; }

  .rc-flow__steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .rc-flow__step:not(:last-child)::after {
    right: 50%; top: auto; bottom: -18px;
    transform: translateX(50%) rotate(90deg);
  }

  .rc-cta-band { padding: 80px var(--pad-x); }
  .rc-cta-band__btns { flex-direction: column; align-items: stretch; }
  .rc-cta-band__btns .btn { justify-content: center; padding: 16px 24px; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .rc-why__grid,
  .rc-jobs__grid { grid-template-columns: repeat(3, 1fr); }
  .rc-benefits__grid { grid-template-columns: repeat(4, 1fr); }
  .rc-flow__steps { grid-template-columns: repeat(2, 1fr); }
  .rc-flow__step:nth-child(2)::after { display: none; }
}
