.lower-page--recruitments,
.recruitments-page { overflow-x: clip; background: var(--color-cream); }

@media (min-width: 1100px) {
  .lower-page--recruitments .lower-hero--navigation { --lower-hero-height: 544px; }
}

.recruitments-intro__inner { width: min(calc(100% - 216px), 1224px); margin: 0 auto; padding: 68px 0 56px; }
.recruitments-intro p { margin: 26px 0 0; font-size: 16px; line-height: 2; }

.recruitments-wanted { position: relative; height: 655px; margin-top: 310px; overflow: visible; background: var(--color-blue); color: #fff; }
/* Match TOP's curve/body overlap, including fractional mobile scroll offsets. */
.recruitments-wanted__curve { position: absolute; z-index: 0; right: 0; bottom: 100%; left: 0; height: 310px; overflow: hidden; transform: translateY(1px); pointer-events: none; }
.recruitments-wanted__curve svg { display: block; width: 100%; max-width: none; height: 310px; }
.recruitments-wanted__curve-mobile { display: none !important; }
.recruitments-wanted__inner { position: relative; z-index: 1; width: 1224px; height: 100%; margin: 0 auto; }
.recruitments-wanted__heading { position: absolute; z-index: 6; top: -176px; left: 0; }
.recruitments-wanted__heading .c-section-heading__title { scroll-margin-top: 120px; font-size: 40px; line-height: 1.5; }
.recruitments-wanted__cards { position: absolute; z-index: 7; inset: 0; }
.recruitments-wanted-card { position: absolute; width: 320px; min-height: 132px; padding: 24px 16px; border-radius: 24px; background: #fff; color: var(--color-ink); text-align: center; }
.recruitments-wanted-card::after { position: absolute; top: 50%; right: -13px; width: 26px; height: 26px; background: #fff; content: ""; transform: translateY(-50%) rotate(45deg); }
.recruitments-wanted-card small { display: block; font-size: 12px; }
.recruitments-wanted-card p { margin-top: 3px; font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: .1em; }
.recruitments-wanted-card p span { color: var(--color-coral); }
@media (min-width: 1100px) {
  .recruitments-wanted-card p { margin-top: 8px; }
}
.recruitments-wanted-card--1 { top: 28px; left: 0; }
.recruitments-wanted-card--2 { top: 106px; left: 372px; }
.recruitments-wanted-card--3 { top: 184px; left: 0; }
.recruitments-wanted-card--4 { top: 262px; left: 372px; }
.recruitments-wanted-card--5 { top: 340px; left: 0; }
.recruitments-wanted__people { position: absolute; z-index: 5; top: -216px; right: -76px; display: block; width: 578px; height: 842px; }
.recruitments-wanted__people img { display: block; width: 100%; height: auto; }

.recruitments-openings {
  --recruitments-openings-cap-height: 80px;
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: linear-gradient(
    to bottom,
    var(--color-blue) 0 var(--recruitments-openings-cap-height),
    #fff var(--recruitments-openings-cap-height)
  );
}
.recruitments-openings::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: var(--recruitments-openings-cap-height);
  border-radius: 40px 40px 0 0;
  background: #fff;
  content: "";
  pointer-events: none;
}
.recruitments-openings__inner { position: relative; z-index: 1; display: grid; width: 1016px; margin: 0 auto; gap: 80px; }
.recruitment-group { position: relative; }
.recruitment-group--career { padding-top: 80px; border-top: 1px solid var(--color-line); }
.recruitment-group header { text-align: center; }
.recruitment-group header > span { color: var(--color-coral); font-family: var(--font-latin); font-size: 12px; font-style: italic; font-weight: 700; letter-spacing: .05em; }
.recruitment-group--career header > span { color: var(--color-blue); }
.recruitment-group h2 { margin: 5px 0 0; font-size: 40px; font-weight: 500; line-height: 58px; letter-spacing: .05em; }
.recruitment-group header p { margin: 24px 0 0; font-size: 16px; }
.recruitment-jobs { display: grid; margin-top: 40px; gap: 16px; }
.recruitment-job { position: relative; display: flex; height: 80px; align-items: center; padding: 0 72px 0 40px; border-radius: 2px; background: #fff7f2; gap: 24px; }
.recruitment-jobs--career .recruitment-job { background: var(--color-pale-blue); }
.recruitment-job__department { display: inline-flex; min-width: 96px; height: 32px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 16px; background: var(--color-coral); color: #fff; font-size: 16px; font-weight: 500; line-height: 1; text-align: center; }
.recruitment-jobs--career .recruitment-job__department { background: var(--color-blue); }
.recruitment-job strong { font-size: 20px; font-weight: 500; letter-spacing: .1em; }
.recruitment-job i { position: absolute; top: 50%; right: 24px; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--color-coral); color: #fff; transform: translateY(-50%); }
.recruitment-jobs--career .recruitment-job i { background: var(--color-blue); }
.recruitment-job:focus-visible { outline: 2px solid var(--color-blue); outline-offset: 4px; }
.recruitment-job:focus-visible .c-arrow-icon { animation: arrow-spin-clockwise var(--motion-arrow-duration) var(--motion-arrow-easing); }

@media (hover:hover) and (pointer:fine) {
  .recruitment-job:hover .c-arrow-icon { animation: arrow-spin-clockwise var(--motion-arrow-duration) var(--motion-arrow-easing); }
}

@media (min-width: 1440px) {
  .recruitments-intro__inner { width: 1224px; }
  .recruitments-intro__inner,
  .recruitments-wanted__inner { margin-right: 0; margin-left: max(108px, calc((100vw - 1224px) / 2)); }
  .recruitments-openings__inner { margin-right: 0; margin-left: max(212px, calc((100vw - 1016px) / 2)); }
}

@media (max-width: 1439px) {
  .recruitments-wanted {
    --recruitments-wanted-curve-height: 310px;
    height: auto;
    min-height: 592px;
    margin-top: var(--recruitments-wanted-curve-height);
    overflow: visible;
    background: var(--color-blue);
  }
  .recruitments-wanted__curve {
    top: auto;
    bottom: 100%;
    height: var(--recruitments-wanted-curve-height);
  }
  .recruitments-wanted__curve svg { height: 100%; }
  .recruitments-wanted__inner { width: 100%; min-height: 592px; height: auto; margin: 0; }
  .recruitments-wanted__heading { z-index: 6; top: -176px; left: 101px; }
  .recruitments-wanted__cards { z-index: 7; }
  .recruitments-wanted-card { min-height: 132px; padding: 24px 16px; }
  .recruitments-wanted .recruitments-wanted-card[data-reveal] {
    transform: translateY(18px);
  }
  .recruitments-wanted-card--1 { top: 28px; left: 108px; }
  .recruitments-wanted-card--2 { top: 106px; left: 480px; }
  .recruitments-wanted-card--3 { top: 184px; left: 108px; }
  .recruitments-wanted-card--4 { top: 262px; left: 480px; }
  .recruitments-wanted-card--5 { top: 340px; left: 108px; }
  .recruitments-wanted__people { z-index: 5; top: -216px; right: 0; bottom: auto; left: auto; width: min(578px, 41vw); height: auto; }
  .recruitments-openings { padding-top: 112px; }
  .recruitments-openings__inner { width: min(calc(100% - 216px), 1016px); gap: 64px; }
  .recruitment-group--career { padding-top: 64px; }
}

@media (min-width: 1300px) and (max-width: 1439px) {
  .recruitments-wanted { min-height: 655px; }
}

@media (min-width: 1100px) and (max-width: 1299px) {
  .recruitments-wanted {
    --recruitments-wanted-curve-height: clamp(104px, 9vw, 116px);
    min-height: 0;
  }
  .recruitments-wanted__curve-desktop { display: none !important; }
  .recruitments-wanted__curve-mobile { display: block !important; }
  .recruitments-wanted__inner {
    display: grid;
    min-height: 0;
    grid-template-columns: 320px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(32px, 4vw, 48px);
    padding: 48px clamp(48px, 6.5vw, 92px) 96px;
  }
  .recruitments-wanted__heading { position: relative; top: auto; left: auto; grid-column: 1 / -1; }
  .recruitments-wanted__cards { position: relative; inset: auto; display: flex; width: auto; flex-direction: column; gap: 24px; padding-top: 48px; }
  .recruitments-wanted-card { position: relative; inset: auto; width: 100%; min-height: 116px; padding: 20px 14px; }
  .recruitments-wanted-card::after { right: -10px; width: 20px; height: 20px; }
  .recruitments-wanted__people { position: relative; inset: auto; align-self: end; width: min(100%, 520px); height: auto; margin-top: 48px; justify-self: center; }
}

@media (max-width: 1099px) {
  .recruitments-intro { padding: var(--lower-section-space-start) 0 var(--lower-section-space-end); }
  .recruitments-intro__inner { width: min(calc(100% - 80px), 920px); padding: 0; }
  .recruitments-openings { --recruitments-openings-cap-height: 40px; }
  .recruitments-openings__inner { width: min(calc(100% - 80px), 920px); }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .recruitments-wanted {
    --recruitments-wanted-curve-height: clamp(88px, 10vw, 96px);
    min-height: 0;
  }
  .recruitments-wanted__curve-desktop { display: none !important; }
  .recruitments-wanted__curve-mobile { display: block !important; }
  .recruitments-wanted__inner {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(24px, 4vw, 48px);
    padding: 48px 40px 96px;
  }
  .recruitments-wanted__heading { position: relative; top: auto; left: auto; grid-column: 1 / -1; }
  .recruitments-wanted__heading .c-section-heading__title { font-size: clamp(32px, 3.9vw, 40px); }
  .recruitments-wanted__cards { position: relative; inset: auto; display: flex; width: auto; flex-direction: column; gap: 24px; padding-top: 48px; }
  .recruitments-wanted-card { position: relative; inset: auto; width: 100%; min-height: 116px; padding: 20px 14px; }
  .recruitments-wanted-card::after { right: -10px; width: 20px; height: 20px; }
  .recruitments-wanted-card small { font-size: clamp(11px, 1.3vw, 12px); }
  .recruitments-wanted-card p { font-size: clamp(16px, 2vw, 20px); line-height: 1.55; }
  .recruitments-wanted__people { position: relative; inset: auto; align-self: end; width: min(100%, 520px); height: auto; margin-top: 48px; justify-self: center; }
}

@media (max-width: 767px) {
  .recruitments-intro__inner,
  .recruitments-openings__inner { width: calc(100% - 48px); }
  .recruitments-intro p { font-size: 15px; }
  .recruitments-intro p br { display: none; }
  .recruitments-wanted { --recruitments-wanted-curve-height: 80px; overflow: visible; }
  .recruitments-wanted__curve-desktop { display: none !important; }
  .recruitments-wanted__curve-mobile { display: block !important; }
  .recruitments-wanted__inner { display: flex; width: 100%; min-height: 0; flex-direction: column; padding: 3px 0 65px; }
  .recruitments-wanted__heading { position: relative; top: auto; left: auto; padding: 0 24px; }
  .recruitments-wanted__heading .c-section-heading__title { font-size: 24px; }
  .recruitments-wanted__cards { position: relative; inset: auto; display: flex; width: 100%; flex-direction: column; gap: 28px; margin-top: 36px; padding: 0; }
  .recruitments-wanted-card { position: relative; top: auto; left: auto; width: min(252px, calc(100% - 48px)); min-height: 116px; padding: 20px 14px; }
  .recruitments-wanted-card:nth-child(odd) { align-self: flex-start; margin-left: 24px; }
  .recruitments-wanted-card:nth-child(even) { align-self: flex-end; margin-right: 24px; }
  .recruitments-wanted-card::after { top: auto; right: 50%; bottom: -10px; width: 20px; height: 20px; transform: translateX(50%) rotate(45deg); }
  .recruitments-wanted-card small { font-size: 11px; }
  .recruitments-wanted-card p { font-size: 15px; line-height: 1.55; }
  .recruitments-wanted__people { position: relative; top: auto; right: auto; bottom: auto; left: calc(50% + 12px); width: min(88vw, 360px); height: auto; margin-top: 27px; transform: translateX(-46.9163%); }
  .recruitments-openings { padding: 80px 0 96px; }
  .recruitments-openings__inner { gap: 40px; }
  .recruitment-group--career { padding-top: 40px; }
  .recruitment-group h2 { font-size: 32px; line-height: 1.5; }
  .recruitment-job { height: auto; min-height: 96px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 16px 64px 16px 20px; gap: 8px; }
  .recruitment-job__department { min-width: 0; font-size: 13px; }
  .recruitment-job strong { font-size: 18px; }
  .recruitment-job i { right: 16px; }
}

@media (min-width: 520px) and (max-width: 767px) {
  .recruitments-wanted__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(252px, 100%), 1fr));
    gap: 28px 16px;
    padding-inline: 24px;
  }
  .recruitments-wanted-card,
  .recruitments-wanted-card:nth-child(odd),
  .recruitments-wanted-card:nth-child(even) {
    width: 100%;
    max-width: 327px;
    margin-inline: 0;
    align-self: stretch;
    justify-self: center;
  }
  .recruitments-wanted-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
