/* Recruit hero — Figma 2034:1180, 1920 × 730. */
.ys-page-recruit .page-hero {
  --recruit-unit: calc(100vw / 1920);
  height: calc(730 * var(--recruit-unit));
  align-items: flex-start;
  mask-image: url('../images/3d5b4.svg');
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
.ys-page-recruit .page-hero-photo {
  inset: auto;
  left: 0;
  top: calc(-219 * var(--recruit-unit));
  width: 100%;
  height: calc(1279 * var(--recruit-unit));
  object-fit: cover;
  max-width: none;
  opacity: 1;
}
.ys-page-recruit .page-hero::after {
  background: linear-gradient(to left, transparent, rgba(137,137,137,.6) 34.615%, rgba(56,56,56,.8));
  opacity: .7;
}
.ys-page-recruit .page-hero > .container {
  width: auto;
  max-width: none;
  margin: 0;
  padding: calc(231 * var(--recruit-unit)) 0 0;
  margin-left: calc(256 * var(--recruit-unit));
}
.ys-page-recruit .page-hero h1 { margin: 0; font-weight: 700; }
.ys-page-recruit .page-hero h1 > span {
  font-size: calc(150 * var(--recruit-unit));
  line-height: 1;
  letter-spacing:.08em;
  color: white;
}
.ys-page-recruit .page-hero h1 > small {
  display: flex;
  align-items: center;
  height: calc(48.066 * var(--recruit-unit));
  font-size: calc(36 * var(--recruit-unit));
  line-height: 1;
  letter-spacing:.08em;
  margin-top: calc(10 * var(--recruit-unit));
  color: white;
}
.ys-page-recruit .page-hero .breadcrumbs {
  justify-content: flex-start;
  width: fit-content;
  margin-top: calc(41 * var(--recruit-unit));
  padding: 0;
  font-size: calc(16 * var(--recruit-unit));
  line-height: 1;
  letter-spacing:.08em;
  font-weight: 700;
  gap: calc(10 * var(--recruit-unit));
}
.ys-page-recruit .page-hero .breadcrumbs a { display: flex; align-items: center; }
.ys-page-recruit .page-hero .breadcrumbs .breadcrumb-home { width: calc(19.972 * var(--recruit-unit)); height: auto; }
.ys-page-recruit .page-hero .breadcrumbs .breadcrumb-separator { width: calc(18 * var(--recruit-unit)); height: auto; }

/* Retain readable type on screens narrower than the supplied desktop frame. */
@media (max-width: 1100px) {
  .ys-page-recruit .page-hero { height: 300px; }
  .ys-page-recruit .page-hero-photo { top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
  .ys-page-recruit .page-hero > .container { margin-left: 20px; padding-top: 85px; width: calc(100% - 40px); }
  .ys-page-recruit .page-hero h1 > span { font-size: clamp(38px, 10vw, 72px); }
  .ys-page-recruit .page-hero h1 > small { height: 30px; margin-top: 10px; font-size: 22px; }
  .ys-page-recruit .page-hero .breadcrumbs { margin-top: 25px; font-size: 12px; gap: 10px; }
  .ys-page-recruit .page-hero .breadcrumbs .breadcrumb-home { width: 16px; }
  .ys-page-recruit .page-hero .breadcrumbs .breadcrumb-separator { width: 14px; }
}
