/* P10 exclusive content. Shared recruitment blocks retain their own styles. */
.page-recruit main .recruit-top-hero { position: relative; padding-top: 24px; }
.page-recruit main .recruit-top-hero-media { position: relative; isolation: isolate; }
.page-recruit main .recruit-top-hero-media::before { content: ''; position: absolute; z-index: -1; width: 84%; height: 21%; bottom: 22%; left: 8%; border-radius: 50%; background: #fff; }
.page-recruit main .recruit-top-hero-media::after { content: ''; position: absolute; z-index: -2; inset: 0; background: url('../../images/subpages-1005/pattern-left.svg') left top / 240px auto no-repeat, url('../../images/subpages-1005/pattern-right-complete.svg') right top / 240px auto no-repeat; }
.page-recruit main .recruit-top-hero-media picture { width: 100%; }
.page-recruit main .recruit-top-hero-media img { width: 100%; height: auto; }
.page-recruit main .recruit-top-intro { position: relative; width: min(860px, calc(100% - 64px)); margin: 30px auto 0; }
.page-recruit main .recruit-top-heading { font-size: 2rem; letter-spacing: .08em; margin: 0 0 38px; }
.page-recruit main .recruit-top-lead { font-size: 1.35rem; line-height: 1.82; margin: 0; }
.page-recruit main .recruit-top-job-pending { position: absolute; top: -8px; right: -80px; margin: 0; text-align: center; }
.page-recruit main .recruit-top-job-pending > a > span { display: block; border-radius: 30px; padding: 9px 40px; background: #ba2344; color: white; font-size: 1rem; }
.page-recruit main .recruit-top-job-pending small { display: block; font-size: .8125rem; margin-top: 4px; }
.page-recruit main .recruit-top-numbers { position: relative; margin: 180px auto 0; max-width: 1440px; }
.page-recruit main .recruit-top-section-heading { margin: 0; text-align: center; font-size: 2.8125rem; line-height: 1.5; letter-spacing: .04em; }
.page-recruit main .recruit-top-section-heading small { display: block; margin-top: 14px; font-size: 1.125rem; letter-spacing: .04em; }
.page-recruit main .recruit-top-number-field { position: relative; height: calc(92vw + 5rem); max-height: 1400px; margin-top: 20px; }
.page-recruit main .recruit-top-number-field::before { content: ''; position: absolute; inset: -100px -130px 0; background: url('../../images/subpages-1005/shape-green.svg') right top / 250px auto no-repeat, url('../../images/yuho.svg') right 260px / 220px auto no-repeat, url('../../images/yuho_5.svg') left 830px / 170px auto no-repeat; pointer-events: none; }
.page-recruit main .recruit-top-stat { position: absolute; width: 15.2%; min-height: 15%; margin: 0; padding: 2.7% 1.1%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.4; background: var(--recruit-stat-shape) center / 100% 100% no-repeat; }
.page-recruit main .recruit-top-stat dt { font-size: clamp(.75rem, 1.3vw, 1.15625rem); }
.page-recruit main .recruit-top-stat dd { margin: 4px 0 0; font-weight: 500; font-size: clamp(1rem, 1.93vw, 1.734375rem); line-height: 1.3; }
.page-recruit main .recruit-top-stat > dd > span { font-size: .7em; }
.page-recruit main .recruit-top-stat--green { --recruit-stat-shape: url('../../images/pages/recruit/shape-green.png'); color: white; min-height: 11%; }
.page-recruit main .recruit-top-stat--yellow { --recruit-stat-shape: url('../../images/pages/recruit/shape-yellow.png'); }
.page-recruit main .recruit-top-stat--blue { --recruit-stat-shape: url('../../images/pages/recruit/shape-blue.png'); color: white; }
.page-recruit main .recruit-top-stat--leave { left: 44%; top: 8%; }
.page-recruit main .recruit-top-stat--staff { left: 73%; top: 1%; }
.page-recruit main .recruit-top-stat--holiday { left: 26%; top: 19%; }
.page-recruit main .recruit-top-stat--gender { left: 7%; top: 23%; }
.page-recruit main .recruit-top-stat--management { left: 45%; top: 28%; }
.page-recruit main .recruit-top-stat--age { left: 78%; top: 34%; }
.page-recruit main .recruit-top-stat--childcare { left: 62%; top: 42%; }
.page-recruit main .recruit-top-stat--income { left: 6%; top: 47%; }
.page-recruit main .recruit-top-stat--overtime { left: 44%; top: 51%; }
.page-recruit main .recruit-top-stat--bento { left: 28%; top: 59%; }
.page-recruit main .recruit-top-stat--lunch { left: 7%; top: 66%; }
.page-recruit main .recruit-top-stat--bonus { left: 48%; top: 65%; }
.page-recruit main .recruit-top-number-photo { position: absolute; width: 15.2%; height: 15%; object-fit: cover; mask: var(--recruit-photo-mask) center / 100% 100% no-repeat; }
.page-recruit main .recruit-top-number-photo--0006 { left: 12%; top: -2%; --recruit-photo-mask: url('../../images/yuho.svg'); }
.page-recruit main .recruit-top-number-photo--0347 { left: 28%; top: 79%; height: 11%; --recruit-photo-mask: url('../../images/subpages-1005/shape-green.svg'); }
.page-recruit main .recruit-top-number-photo--0370 { left: 64%; top: 82%; --recruit-photo-mask: url('../../images/yuho_5.svg'); }
.page-recruit main .recruit-top-number-photo--0313 { left: 80%; top: 51%; --recruit-photo-mask: url('../../images/yuho.svg'); }
.page-recruit main .recruit-top-accent { position: absolute; width: 7%; aspect-ratio: 1.2; background: url('../../images/subpages-1005/shape-red.svg') center / contain no-repeat; }
.page-recruit main .recruit-top-accent--one { top: 22%; left: 66%; }
.page-recruit main .recruit-top-accent--two { top: 42%; left: 32%; }
.page-recruit main .recruit-top-accent--three { top: 62%; left: 64%; }
.page-recruit main .recruit-top-cross-intro { position: relative; padding: 80px 24px 0; text-align: center; font-size: 1.125rem; }
.page-recruit main .recruit-top-cross-intro::before { content: ''; position: absolute; inset: -20px 0 0; background: url('../../images/subpages-1005/pattern-left.svg') left top / 270px auto no-repeat, url('../../images/subpages-1005/pattern-right-complete.svg') right top / 270px auto no-repeat; z-index: -1; }
.page-recruit main .recruit-top-cross-intro p { margin: 0; }
@media (min-width: 768px) and (max-width: 1100px) {
  .page-recruit main .recruit-top-intro { width: calc(100% - 100px); }
  .page-recruit main .recruit-top-heading { font-size: 1.5rem; }
  .page-recruit main .recruit-top-job-pending { position: static; width: fit-content; margin: 28px 0 0 auto; }
  .page-recruit main .recruit-top-pc-break { display: none; }
}
@media (max-width: 767px) {
  /* Align the supplied SP artwork with its 375px reference, preserving its transparent margin. */
  .page-recruit main .recruit-top-hero { padding-top: 0; margin-top: -32px; }
  .page-recruit main .recruit-top-hero-media::before { left: -6%; bottom: 24%; width: 112%; height: 21%; }
  .page-recruit main .recruit-top-hero-media::after { background-size: 85px auto, 85px auto; }
  .page-recruit main .recruit-top-intro { width: calc(100% - 48px); margin-top: 38px; }
  .page-recruit main .recruit-top-heading { font-size: 1.25rem; letter-spacing: .03em; margin-bottom: 46px; text-align: center; }
  .page-recruit main .recruit-top-lead {  font-size: 1rem; line-height: 2.1875; letter-spacing: var(--tracking-body); }
  .page-recruit main .recruit-top-pc-break { display: none; }
  .page-recruit main .recruit-top-job-pending { position: static; width: fit-content; margin: 30px auto 0; }
  .page-recruit main .recruit-top-numbers { margin-top: 76px; }
  .page-recruit main .recruit-top-section-heading { font-size: 1.75rem; letter-spacing: .035em; }
  .page-recruit main .recruit-top-section-heading small { font-size: 1.375rem; margin-top: 18px; }
  .page-recruit main .recruit-top-number-field { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: repeat(48,minmax(3.2rem,auto)); height: auto; max-height: none; margin-top: 45px; }
  .page-recruit main .recruit-top-number-field::before { display: none; }
  .page-recruit main .recruit-top-stat { position: relative; inset: auto; width: 100%; height: 100%; min-height: 0; padding: 18px 9%; }
  .page-recruit main .recruit-top-stat dt { font-size: 1.15625rem; }
  .page-recruit main .recruit-top-stat dd { font-size: 1.734375rem; margin-top: 5px; }
  .page-recruit main .recruit-top-stat--leave { grid-area: 1 / 7 / 4 / 13; }
  .page-recruit main .recruit-top-stat--holiday { grid-area: 5 / 5 / 9 / 12; }
  .page-recruit main .recruit-top-stat--gender { grid-area: 7 / 1 / 11 / 7; margin-left: -12%; }
  .page-recruit main .recruit-top-stat--management { grid-area: 9 / 7 / 13 / 13; }
  .page-recruit main .recruit-top-stat--income { grid-area: 12 / 2 / 15 / 9; }
  .page-recruit main .recruit-top-stat--lunch { grid-area: 16 / 2 / 20 / 9; }
  .page-recruit main .recruit-top-stat--overtime { grid-area: 20 / 5 / 23 / 12; }
  .page-recruit main .recruit-top-stat--bento { grid-area: 23 / 2 / 27 / 9; }
  .page-recruit main .recruit-top-stat--bonus { grid-area: 27 / 7 / 31 / 13; }
  .page-recruit main .recruit-top-stat--age { grid-area: 32 / 6 / 35 / 13; z-index: 1; }
  .page-recruit main .recruit-top-stat--childcare { grid-area: 33 / 1 / 37 / 8; }
  .page-recruit main .recruit-top-stat--staff { grid-area: 38 / 4 / 40 / 10; background: none; padding: 20px 0; }
  .page-recruit main .recruit-top-number-photo { position: relative; inset: auto; width: 100%; height: 100%; }
  .page-recruit main .recruit-top-number-photo--0006 { grid-area: 2 / 1 / 7 / 7; margin-left: -4%; }
  .page-recruit main .recruit-top-number-photo--0347 { grid-area: 30 / 2 / 33 / 9; }
  .page-recruit main .recruit-top-number-photo--0370 { grid-area: 40 / 3 / 44 / 10; }
  .page-recruit main .recruit-top-number-photo--0313 { grid-area: 45 / 7 / 49 / 13; }
  .page-recruit main .recruit-top-accent { position: relative; inset: auto; width: 70%; align-self: center; }
  .page-recruit main .recruit-top-accent--one { grid-area: 15 / 9 / 17 / 11; }
  .page-recruit main .recruit-top-accent--two { grid-area: 36 / 9 / 38 / 11; }
  .page-recruit main .recruit-top-accent--three { grid-area: 45 / 1 / 49 / 7; width: 100%; height: 100%; background-image: url('../../images/yuho_pattern.svg'); }
  .page-recruit main .recruit-top-cross-intro { padding: 70px 24px 0; text-align: left; font-size: 1rem; line-height: 2; }
  .page-recruit main .recruit-top-cross-intro::before { display: none; }
}
/* Font-relative minimum widths preserve the colored background at 200% text. */
@media (max-width: 767px) {
  .page-recruit main .recruit-top-number-field { grid-template-rows: repeat(51,minmax(3.2rem,auto)); }
  .page-recruit main .recruit-top-stat { grid-column: 1 / -1; width: min(100%, max(58%, 11rem)); justify-self: start; margin-left: 0; }
  .page-recruit main .recruit-top-stat--leave,
  .page-recruit main .recruit-top-stat--management,
  .page-recruit main .recruit-top-stat--bonus,
  .page-recruit main .recruit-top-stat--age { width: min(100%, max(50%, 11rem)); justify-self: end; }
  .page-recruit main .recruit-top-stat--holiday { justify-self: end; margin-right: clamp(0px, calc(250px - 11rem), 30px); }
  .page-recruit main .recruit-top-stat--income,
  .page-recruit main .recruit-top-stat--lunch,
  .page-recruit main .recruit-top-stat--bento { margin-left: clamp(0px, calc(250px - 11rem), 24px); }
  .page-recruit main .recruit-top-stat--overtime { justify-self: end; margin-right: clamp(0px, calc(250px - 11rem), 24px); }
  .page-recruit main .recruit-top-stat--childcare { grid-row: 35 / 39; margin-top: min(0px, calc(4rem - 128px)); }
  .page-recruit main .recruit-top-stat--staff { grid-row: 40 / 42; justify-self: center; }
  .page-recruit main .recruit-top-number-photo--0370 { grid-row: 42 / 46; }
  .page-recruit main .recruit-top-number-photo--0313 { grid-row: 48 / 52; }
  .page-recruit main .recruit-top-accent--three { grid-row: 48 / 52; }
}
/* At larger text sizes, increase staggered gaps before backgrounds can cover text. */
@media (max-width: 767px) {
  .page-recruit main .recruit-top-number-field { --recruit-font-step: max(0px, calc(3.2rem - 51.2px)); padding-bottom: calc(14 * var(--recruit-font-step)); isolation: isolate; }
  .page-recruit main .recruit-top-stat { --recruit-font-offset: 0; transform: translateY(calc(var(--recruit-font-offset) * var(--recruit-font-step))); z-index: 1; }
  .page-recruit main .recruit-top-stat--gender { --recruit-font-offset: 4; }
  .page-recruit main .recruit-top-stat--management { --recruit-font-offset: 8; }
  .page-recruit main .recruit-top-stat--income,
  .page-recruit main .recruit-top-stat--lunch,
  .page-recruit main .recruit-top-stat--overtime,
  .page-recruit main .recruit-top-stat--bento,
  .page-recruit main .recruit-top-stat--bonus { --recruit-font-offset: 10; }
  .page-recruit main .recruit-top-number-photo--0347 { transform: translateY(calc(12 * var(--recruit-font-step))); }
  .page-recruit main .recruit-top-stat--age,
  .page-recruit main .recruit-top-stat--childcare,
  .page-recruit main .recruit-top-stat--staff { --recruit-font-offset: 14; }
  .page-recruit main .recruit-top-number-photo--0370,
  .page-recruit main .recruit-top-number-photo--0313,
  .page-recruit main .recruit-top-accent--three { transform: translateY(calc(14 * var(--recruit-font-step))); }
  .page-recruit main .recruit-top-accent { z-index: -1; }
  .page-recruit main .recruit-top-accent--one { transform: translateY(calc(10 * var(--recruit-font-step))); }
  .page-recruit main .recruit-top-accent--two { transform: translateY(calc(14 * var(--recruit-font-step))); }
}
/* Keep full-width bonus figures on the same center as their label. */
@media (max-width: 350px) {
  .page-recruit main .recruit-top-stat--income dt,
  .page-recruit main .recruit-top-stat--bento dt { font-size: 1.0625rem; }
}

/* Optical centers shared by labels and full-width figures. */
.page-recruit main .recruit-top-stat--green { --optical-text-x: -1cqw; --optical-text-y: -1cqw; }
.page-recruit main .recruit-top-stat--blue { --optical-text-x: 3cqw; --optical-text-y: -2cqw; }
.page-recruit main .recruit-top-stat > dd {
  width: max-content;
  flex-shrink: 0;
  text-align: center;
}

/* Tight tracking belongs to figures only, not their units or labels. */
.page-recruit main .recruit-top-stat dd .recruit-stat-number {
  font-size: inherit;
  letter-spacing: -0.2em;
}

/* A progressive front/back view. Original dt/dd keep the established geometry
   and remain the static fallback on touch, reduced-motion and without JS. */
.page-recruit main .recruit-top-stat > .recruit-stat-interaction { display: none; }
@media (min-width: 1280px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .page-recruit main .recruit-top-stat.is-flip-ready { background: none; }
  .page-recruit main .recruit-top-stat.is-flip-ready > :is(dt, dd) { visibility: hidden; }
  .page-recruit main .recruit-top-stat.is-flip-ready > .recruit-stat-interaction {
    display: block;
    visibility: visible;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  .page-recruit main .recruit-stat-flip {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .page-recruit main .recruit-stat-flip:focus-visible { outline: 2px solid #251f1c; outline-offset: 5px; }
  .page-recruit main .recruit-stat-turn {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform .55s ease-in-out;
  }
  .page-recruit main .recruit-stat-flip[aria-pressed="true"] .recruit-stat-turn { transform: rotateY(180deg); }
  .page-recruit main .recruit-stat-face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--recruit-stat-shape) center / 100% 100% no-repeat;
    pointer-events: none;
  }
  .page-recruit main .recruit-stat-face--back { transform: rotateY(180deg); }
  .page-recruit main .recruit-stat-face__text {
    position: relative;
    left: var(--optical-text-x, 0px);
    top: var(--optical-text-y, 0px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .page-recruit main .recruit-stat-face__label { font-weight: 400; font-size: clamp(.75rem, 1.3vw, 1.15625rem); line-height: 1.4; }
  .page-recruit main .recruit-stat-face__value { display: block; margin-top: 4px; line-height: 1.3; white-space: nowrap; }
  .page-recruit main .recruit-stat-face__value > span:not(.recruit-stat-number) { font-size: .7em; }
  .page-recruit main .recruit-stat-face--front .recruit-stat-face__value {
    margin-top: 0;
    font-size: var(--recruit-stat-front-size, 2.75rem);
    font-weight: 500;
  }
  .page-recruit main .recruit-stat-face--front .recruit-stat-face__value > span:not(.recruit-stat-number) { font-size: .36em; }
  .page-recruit main .recruit-top-stat--overtime { --recruit-stat-front-size: 2rem; }
  .page-recruit main .recruit-top-stat--bonus { --recruit-stat-front-size: 2.15rem; }
  .page-recruit main .recruit-top-stat--childcare { --recruit-stat-front-size: 2.4rem; }
}

/* Recruit TOP cross talk: relaxed vertical rhythm, shared parts unchanged. */
.page-recruit main .recruit-related > h2 { margin-bottom: 32px; }
.page-recruit main .recruit-related__intro { margin-bottom: 112px; }
.page-recruit main .recruit-related__card { display: flex; flex-direction: column; align-items: stretch; }
.page-recruit main .recruit-related__card h3 { margin-top: 52px; margin-bottom: 28px; }
.page-recruit main .recruit-related__card p { line-height: 1.95; margin-bottom: 32px; }
.page-recruit main .recruit-related__button { align-self: flex-start; margin-top: auto; }
@media (max-width: 767px) {
  .page-recruit main .recruit-related__intro { margin-bottom: 64px; }
  .page-recruit main .recruit-related__list { row-gap: 72px; }
  .page-recruit main .recruit-related__card h3 { margin-top: 32px; margin-bottom: 22px; }
  .page-recruit main .recruit-related__card p { margin-bottom: 28px; }
}

/* Keep a single footer gap after the final schedule link. */
.page-recruit main .recruit-schedule-link { padding-bottom: 0; }
@media (max-width: 767px) {
  .page-recruit .site-footer { margin-top: 120px; }
}

/* Two intact copies on a centered desktop composition: narrower viewports crop the outer edges; wider ones reveal them. One shared parallax layer. */
.page-recruit main .recruit-schedule-link__decoration {
  left: calc(50% - 50vw); right: auto; width: 100vw;
  overflow: visible; pointer-events: none;
}
.page-recruit main .recruit-schedule-link__pattern {
  position: absolute; display: block; width: 600px; height: auto;
  top: 190px; max-width: none;
}
.page-recruit main .recruit-schedule-link__pattern--left { left: calc(50% - 940px); }
.page-recruit main .recruit-schedule-link__pattern--right { right: calc(50% - 880px); top: 174px; }
@media (max-width: 767px) {
  .page-recruit main .recruit-schedule-link__pattern { width: 150px; top: 105px; }
  .page-recruit main .recruit-schedule-link__pattern--left { left: 8px; }
  .page-recruit main .recruit-schedule-link__pattern--right { right: 8px; top: 89px; }
}

/* Mobile review 05: supplied complete hero and balanced lower number composition. */
@media (max-width: 767px) {
  .page-recruit main .recruit-top-hero-media::before { content: none; }
  .page-recruit main .recruit-top-hero-media::after {
    background: url('../../images/mobile-1106/sp_recruit_top_left.png') left 34px / 89px auto no-repeat,
      url('../../images/mobile-1106/sp_recruit_top_right.png') right 41px / 89.5px auto no-repeat;
  }
  .page-recruit main .recruit-top-intro { margin-top: 16px; }
  .page-recruit main .recruit-top-stat--childcare { grid-row: 33 / 37; margin-top: 0; }
  .page-recruit main .recruit-top-stat--staff {
    grid-row: 38 / 42; padding: 18px 9%;
    background: var(--recruit-stat-shape) center / 100% 100% no-repeat;
  }
  .page-recruit main .recruit-top-number-photo--0313 { grid-row: 47 / 51; }
  .page-recruit main .recruit-top-accent--three {
    grid-row: 47 / 51; width: 150px;
    background: url('../../images/mobile-1106/sp_recruit_top_left.png') left center / contain no-repeat;
  }
  .page-recruit main .recruit-schedule-link__pattern { width: 256px; top: 90px; }
  .page-recruit main .recruit-schedule-link__pattern--left { left: -90px; }
  .page-recruit main .recruit-schedule-link__pattern--right { right: -76px; top: 90px; }
  .page-recruit .site-footer { margin-top: 64px; }
}
