/* 2026-11-10 supplied artwork. Local OFL font subsets, with original glyph positions.
   Geometry and copy: inc/recruit-numbers.json. Text remains selectable SVG text. */
@font-face {
  font-family: "Yuho Numbers Kaku";
  src: url('../../fonts/recruit-numbers/ZenKakuGothicNew-Medium.woff2?v=20261110-copy') format('woff2');
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Yuho Numbers Kaku";
  src: url('../../fonts/recruit-numbers/ZenKakuGothicNew-Bold.woff2?v=20261110-copy') format('woff2');
  font-style: normal; font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "Yuho Numbers Maru";
  src: url('../../fonts/recruit-numbers/ZenMaruGothic-Medium.woff2?v=20261110-copy') format('woff2');
  font-style: normal; font-weight: 500; font-display: swap;
}
.page-recruit main .yuho-numbers {
  position: relative; width: 100%; max-width: 1440px; margin: 0 auto;
  overflow: visible; background: #f8f5ee;
}
/* Preserve the full artwork beyond the desktop canvas; main clips only at the viewport. */
.yuho-numbers__canvas { position: relative; width: 100%; aspect-ratio: 1440 / 1724.39; }
.yuho-numbers svg { display: block; width: 100%; height: 100%; max-width: none; overflow: visible; }
.yuho-numbers text { letter-spacing: 0; word-spacing: 0; font-kerning: none; font-feature-settings: normal; font-synthesis: none; }
.yuho-numbers__font-kaku { font-family: "Yuho Numbers Kaku", "Zen Kaku Gothic New", sans-serif; }
.yuho-numbers__font-maru { font-family: "Yuho Numbers Maru", "Zen Maru Gothic", sans-serif; }
.yuho-numbers__scene { position: absolute; inset: 0; pointer-events: none; }
.yuho-numbers .yuho-numbers__scene--mobile { display: none; }
.yuho-number { position: absolute; left: var(--desktop-x); top: var(--desktop-y); width: var(--desktop-w); height: var(--desktop-h); }
.yuho-number__static { width: 100%; height: 100%; }
.yuho-numbers .yuho-number__flip {
  display: none; position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; margin: 0; border: 0; border-radius: 12px; background: transparent;
  color: inherit; font: inherit; cursor: pointer; perspective: 900px;
  -webkit-tap-highlight-color: transparent;
}
.yuho-number__flip:focus-visible { outline: 2px solid #231815; outline-offset: 5px; }
.yuho-number__turn { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transition: transform .5s ease-in-out; }
.yuho-numbers .yuho-number__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; }
.yuho-number__face--back { transform: rotateY(180deg); }
.yuho-number__flip[aria-pressed="true"] .yuho-number__turn { transform: rotateY(180deg); }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .yuho-numbers.is-interactive .yuho-number__static { display: none; }
  .yuho-numbers.is-interactive .yuho-number__flip { display: block; }
}
@media (max-width: 767px) {
  .page-recruit main .yuho-numbers { margin-top: 64px; overflow: hidden; }
  .yuho-numbers__canvas { aspect-ratio: 375 / 2320; }
  .yuho-numbers .yuho-numbers__scene--desktop { display: none; }
  .yuho-numbers .yuho-numbers__scene--mobile { display: block; }
  .yuho-number { left: var(--mobile-x); top: var(--mobile-y); width: var(--mobile-w); height: var(--mobile-h); }
}
@media (prefers-reduced-motion: reduce) { .yuho-number__turn { transition: none; } }
@media print {
  .yuho-numbers.is-interactive .yuho-number__static { display: block; }
  .yuho-numbers.is-interactive .yuho-number__flip { display: none; }
}

/* The original gentle scroll reveal, independent of the hover flip. */
.yuho-number.is-reveal-enabled { transition: opacity .55s ease; }
.yuho-number.is-reveal-pending { opacity: 0; }
@media (prefers-reduced-motion: reduce), print {
  .yuho-number.is-reveal-enabled { opacity: 1; transition: none; }
}

/* Mobile: trim the PDF artboard below the final figure and center the next heading. */
@media (max-width: 767px) {
  .page-recruit main .yuho-numbers + .recruit-related { margin-top: 64px; }
  .page-recruit main .yuho-numbers + .recruit-related > h2 { text-align: center; }
}

/* Audit figure: the mobile addition is always static, including initial reveal. */
@media (max-width: 767px) {
  .yuho-number--audit.is-reveal-enabled { opacity: 1; transition: none; }
}
