/* The opening composition scrolls normally into MESSAGE. */
.recruit-hero--circle { position: relative; min-height: 0; padding: 0; background: #fcfefe; }
.hero-stage { position: relative; min-height: 620px; height: calc(100svh - 96px); overflow: hidden; isolation: isolate; }
.hero-content { position: relative; z-index: 3; width: 39%; margin-left: 8%; padding-block: clamp(28px,4vh,60px) 85px; }
.hero-outline { color: transparent; -webkit-text-stroke: 1.3px var(--blue); font-family: var(--latin); font-size: clamp(46px,min(5.15vw,8svh),88px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; width: max-content; max-width: 100%; background-image: linear-gradient(110deg, transparent 38%, rgba(157,213,231,.18) 44%, rgba(157,213,231,.85) 49%, #e7f9ff 51%, rgba(157,213,231,.55) 54%, transparent 62%); background-size: 300% 100%; background-position: 100% 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; animation: hero-text-shine 6.5s ease-in-out infinite; }
.hero-outline span { display: block; }
@keyframes hero-text-shine { 0%,12% { background-position: 100% 0; } 62%,100% { background-position: 0% 0; } }
.hero-message { margin-top: 26px; font-size: clamp(30px,min(3.3vw,5.2svh),52px); line-height: 1.45; font-weight: 900; letter-spacing: .015em; white-space: nowrap; }
.hero-message span { color: var(--blue); }
.hero-summary { margin-top: 14px; font-size: 16px; line-height: 1.9; }
.hero-entry-actions { display: flex; gap: 16px; margin-top: 26px; }
.hero-entry-actions .button { flex: 1; min-width: 0; min-height: 58px; gap: 12px; padding: 14px 18px 14px 24px; border: 1px solid; border-radius: 100px; font-size: 16px; white-space: nowrap; transition: background .2s, color .2s; }
.hero-entry-actions .button span { width: 24px; height: 24px; flex-shrink: 0; border-color: currentColor; }
.hero-entry-actions .button span svg { width: 16px; }
.hero-entry-actions .button-primary { background: #f4be91; border-color: #f4be91; color: #fff; }
.hero-entry-actions .button-secondary { background: #fff; border-color: var(--blue); color: var(--blue-deep); }
.hero-entry-actions .button:hover { background: #fff; color: var(--blue-deep); transform: none; }
.hero-entry-actions .button-primary:hover { color: #b8692e; }
.recruit-hero--circle .hero-media { position: absolute; z-index: 1; width: 43%; height: auto; aspect-ratio: 1; top: 46%; right: 10%; transform: translateY(-50%); border-radius: 50%; overflow: hidden; }
.recruit-hero--circle .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(1.08); }
.hero-orbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.orbit-photo { position: absolute; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.orbit-photo img { object-fit: cover; }
.orbit-photo-one { width: 10.7%; top: 1%; left: 42%; }
.orbit-photo-one img { object-position: center 20%; }
.orbit-photo-two { width: 12%; top: 7%; right: 1%; }
.orbit-photo-three { width: 12.8%; bottom: 12%; right: 3.5%; }
.orbit-photo-three img { object-position: center 24%; }
.orbit-photo-four { width: 9.5%; bottom: 12.5%; left: 48%; }
.orbit-dot { position: absolute; display: block; border-radius: 50%; background: var(--blue); }
.dot-one { width: 18px; height: 18px; left: 36%; top: 2%; opacity: .7; }
.dot-two { width: 40px; height: 40px; left: 43%; top: 25%; opacity: .4; }
.dot-three { width: 24px; height: 24px; right: 5%; top: 33%; opacity: .7; }
.dot-four { width: 18px; height: 18px; right: 16%; top: 7%; opacity: .7; }
.dot-five { width: 24px; height: 24px; right: 29%; bottom: 13%; opacity: .7; }
.dot-six { width: 36px; height: 36px; right: 15.5%; bottom: 7%; opacity: .3; }
.dot-seven { width: 52px; height: 52px; left: -1%; bottom: 22%; opacity: .14; }
.dot-eight { width: 44px; height: 44px; left: 35%; bottom: 3%; opacity: .14; }
.dot-nine { width: 18px; height: 18px; left: 22%; bottom: 10%; opacity: .7; }
.hero-scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--blue-deep); font: 700 12px var(--latin); }
.hero-scroll-cue svg { width: 20px; height: 27px; color: var(--blue); }
body:has(.recruit-hero--circle) .header-entry { border-radius: 100px; }
@media(min-width:701px) and (max-width:1200px) { .hero-content { margin-left: 6%; width: 41%; } .hero-entry-actions { gap: 10px; } .hero-entry-actions .button { padding-inline: 16px; gap: 8px; } }
@media(min-width:701px) and (max-width:1050px) { .hero-stage { height: calc(100svh - 80px); } .hero-outline { font-size: 5.3vw; } .hero-message { font-size: 3.4vw; } .hero-entry-actions { flex-direction: column; width: 240px; } .hero-entry-actions .button { min-height: 50px; } }
@media(max-width:700px) {
  .hero-stage { height: auto; min-height: 0; padding-bottom: 84px; }
  .hero-content { width: auto; margin: 0; padding: 30px 24px 0; }
  .hero-outline { font-size: clamp(30px,8.8vw,59px); line-height: 1.04; -webkit-text-stroke-width: 1px; }
  .hero-message { margin-top: 250px; font-size: clamp(27px,7.4vw,43px); }
  .hero-summary { font-size: 14px; margin-top: 16px; }
  .hero-entry-actions { margin-top: 22px; gap: 10px; }
  .hero-entry-actions .button { min-height: 52px; font-size: 12px; padding: 12px; gap: 6px; }
  .hero-entry-actions .button span { width: 20px; height: 20px; }
  .recruit-hero--circle .hero-media { width: 64%; top: 167px; right: 5%; transform: none; }
  .orbit-photo-one { width: 17%; top: 24px; right: 7%; left: auto; }
  .orbit-photo-two { width: 18%; top: 235px; left: 4%; right: auto; }
  .orbit-photo-three { width: 17%; top: 330px; left: 4%; bottom: auto; right: auto; }
  .orbit-photo-four { display: none; }
  .dot-one { left: 70%; top: 14px; width: 11px; height: 11px; }
  .dot-two { left: 6%; top: 198px; width: 24px; height: 24px; }
  .dot-three { right: 2%; top: 128px; width: 16px; height: 16px; }
  .dot-four { right: 5%; top: 427px; width: 14px; height: 14px; }
  .dot-five,.dot-six,.dot-nine { display: none; }
  .dot-seven { bottom: 20%; }
  .dot-eight { left: auto; right: -12px; bottom: 3%; }
  .hero-scroll-cue { bottom: 15px; font-size: 11px; }
}
@media(min-width:480px) and (max-width:700px) { .hero-message { margin-top: 340px; } .recruit-hero--circle .hero-media { top: 220px; width: 57%; } .orbit-photo-three { top: 440px; } }
@media (prefers-reduced-motion: reduce) and (max-width: 0px) /* 2026-11: 視差効果を減らす設定でも動かす（無効化） */ { .hero-outline { animation: none; background-image: none; } }
/* Desktop recruitment text previously set to 14px or smaller. */
@media (min-width: 1051px) {
  .text-link,
  .recruit-brand > span,
  .recruit-nav > a,
  .header-entry,
  .movie-control > span,
  .hero-year span,
  .hero-bottom p,
  .scroll-link,
  .hero-scroll-cue,
  .hero-introduction > div > p + p,
  .hero-introduction-actions .text-link,
  .message-photo figcaption,
  .message-copy > p,
  .signature span,
  .job-intro > p:last-child,
  .job-role,
  .job-step > p:last-child,
  .numbers-heading > p,
  .gender-label,
  .numbers-note,
  .talk-number,
  .speaker b,
  .speaker span,
  .talk-topics span,
  .talk-body > .text-link,
  .culture-intro,
  .culture-copy > p,
  .mvp-copy p,
  .celebrate-copy p,
  .salary-label,
  .salary > span,
  .salary-note,
  .salary-location h4,
  .region > p:not(.salary),
  .region .salary > span,
  .conditions dt,
  .conditions dd,
  .benefits li,
  .entry-copy > p:not(.entry-word),
  .entry-requirements,
  .footer-top > .text-link,
  .footer-bottom,
  .breadcrumbs,
  .article-speaker span,
  .small-note,
  .article-draft p,
  .dialogue-line > span,
  .dialogue-line > p,
  .form-preview-note,
  .form-row label,
  .form-row label > span,
  .form-row label > small,
  .form-back { font-size: 16px; }


  .recruit-nav { gap: clamp(12px,1.4vw,24px); }
  .footer-bottom { flex-wrap: wrap; gap: 12px 24px; }
}

/* Reference FV: keep these styles local to the careers landing page. */
body:has(.recruit-hero--circle) .recruit-header { border: 0; box-shadow: none; background: #fcfefe; }
body:has(.recruit-hero--circle) .header-entry { background: linear-gradient(110deg,#ff590a,#ff6812); color: #fff; border-radius: 999px; box-shadow: 0 4px 12px #ee6b1720; font-family: var(--font); }
body:has(.recruit-hero--circle) .header-entry svg { background: #fff; color: #f56826; border-radius: 50%; padding: 4px; width: 21px; height: 21px; }
body:has(.recruit-hero--circle) .header-entry { transition: filter .2s ease, box-shadow .2s ease; }
body:has(.recruit-hero--circle) .header-entry svg { transition: transform .2s ease; }
body:has(.recruit-hero--circle) .header-entry:is(:hover, :focus-visible) { filter: brightness(.92); box-shadow: 0 6px 16px #ee6b1740; }
body:has(.recruit-hero--circle) .header-entry:is(:hover, :focus-visible) svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) and (max-width: 0px) /* 2026-11: 視差効果を減らす設定でも動かす（無効化） */ {
  body:has(.recruit-hero--circle) .header-entry:is(:hover, :focus-visible) svg { transform: none; }
}
.hero-outline { animation: none; background: none; -webkit-text-stroke-color: #82c9eb; }
.hero-content { color: #304251; }
.hero-message span { color: #67badb; }
.hero-entry-actions .button { position: relative; justify-content: center; border-radius: 999px; }
.hero-entry-actions .button-primary { background: linear-gradient(110deg,#ff590a,#ff6812); border-color: #ff6310; box-shadow: 0 4px 12px #ee6b1715; }
.hero-entry-actions .button-secondary { color: #2286ad; border-color: #7ac7ed; background: #fff; }
.hero-entry-actions .button span { position: absolute; right: 10%; width: 18px; height: 18px; }
.hero-entry-actions .button span svg { width: 12px; height: 12px; }
.hero-entry-actions .button:hover { background: #fff5ee; color: #cf4c08; }
.hero-entry-actions .button-secondary:hover { background: #edf9ff; color: #2286ad; }
.hero-scroll-cue { color: #7ac7ed; }
.dot-ten { left: 30.7%; top: 6.8%; width: 27px; height: 27px; opacity: .08; }
.dot-eleven { right: 2.3%; top: 56.5%; width: 18px; height: 18px; opacity: .25; }
.dot-twelve { right: 6.3%; bottom: 2.3%; width: 18px; height: 18px; opacity: .25; }
@media (min-width: 701px) {
  body:has(.recruit-hero--circle) { --fv-unit: min(.0939849624vw, 1.5px); }
  body:has(.recruit-hero--circle) .recruit-header { height: calc(62 * var(--fv-unit)); padding-inline: 3.4%; gap: calc(48 * var(--fv-unit)); }
  body:has(.recruit-hero--circle) .recruit-header .recruit-brand img { width: calc(116 * var(--fv-unit)); max-height: none; }
  body:has(.recruit-hero--circle) .recruit-nav { position: static; display: flex; flex-direction: row; align-items: center; margin-left: auto; padding: 0; gap: calc(24 * var(--fv-unit)); border: 0; box-shadow: none; background: transparent; overflow: visible; }
  body:has(.recruit-hero--circle) .recruit-nav > a { font-size: calc(9 * var(--fv-unit)); padding: 0; border: 0; min-height: 36px; }
  body:has(.recruit-hero--circle) .header-entry { margin-left: 0; min-height: 0; height: calc(36 * var(--fv-unit)); padding: 0 calc(9 * var(--fv-unit)) 0 calc(17 * var(--fv-unit)); gap: calc(12 * var(--fv-unit)); font-size: calc(12 * var(--fv-unit)); white-space: nowrap; }
  body:has(.recruit-hero--circle) .header-entry svg { width: calc(21 * var(--fv-unit)); height: calc(21 * var(--fv-unit)); }
  body:has(.recruit-hero--circle) .menu-toggle { display: none; }
  .hero-stage { max-width: 1596px; margin-inline: auto; height: max(calc(651 * var(--fv-unit)),calc(100svh - 62 * var(--fv-unit))); min-height: 0; }
  .hero-content { margin-left: 8%; width: 37.2%; padding: calc(38 * var(--fv-unit)) 0 0; }
  .hero-outline { font-size: calc(58 * var(--fv-unit)); line-height: .9655; letter-spacing: -.025em; -webkit-text-stroke-width: 1px; }
  .hero-message { margin-top: calc(25 * var(--fv-unit)); font-size: calc(38 * var(--fv-unit)); line-height: 1.35; letter-spacing: .025em; }
  .hero-summary { margin-top: calc(9 * var(--fv-unit)); font-size: calc(14 * var(--fv-unit)); line-height: 1.65; letter-spacing: .04em; }
  .hero-entry-actions { flex-direction: row; width: 100%; gap: calc(13 * var(--fv-unit)); margin-top: calc(20 * var(--fv-unit)); }
  .hero-entry-actions .button { min-height: 0; height: calc(50 * var(--fv-unit)); padding: 0 calc(29 * var(--fv-unit)) 0 calc(15 * var(--fv-unit)); font-size: calc(13 * var(--fv-unit)); }
  .hero-entry-actions .button span { width: calc(18 * var(--fv-unit)); height: calc(18 * var(--fv-unit)); }
  .recruit-hero--circle .hero-media { width: 43%; top: calc(45 * var(--fv-unit)); right: 10.5%; transform: none; }
  .orbit-photo-one { width: 10.9%; top: 0; left: 41.6%; }
  .orbit-photo-two { width: 12.3%; top: calc(39 * var(--fv-unit)); right: .8%; }
  .orbit-photo-three { width: 13%; top: calc(429 * var(--fv-unit)); bottom: auto; right: 3.5%; }
  .orbit-photo-four { width: 9.7%; top: calc(461 * var(--fv-unit)); bottom: auto; left: 47.7%; }
  .dot-one { left: 36.1%; top: 1.4%; width: 17px; height: 17px; }
  .dot-two { left: 42.9%; top: 23.5%; width: 42px; height: 42px; }
  .dot-three { right: 4.9%; top: 30.6%; }
  .dot-four { right: 15.6%; top: 4.8%; }
  .dot-five { right: 29.7%; bottom: 14.6%; }
  .dot-six { right: 15.5%; bottom: 9.5%; }
  .dot-seven { left: -.7%; bottom: 23.4%; width: 60px; height: 60px; }
  .dot-eight { left: 35.3%; bottom: 5.8%; width: 48px; height: 48px; }
  .dot-nine { left: 21.6%; bottom: 11.8%; }
  .hero-scroll-cue { bottom: calc(18 * var(--fv-unit)); font-size: calc(11 * var(--fv-unit)); }
}
@media (max-width: 700px) {
  .hero-entry-actions .button { padding-right: 29px; padding-left: 7px; }
  .hero-entry-actions .button span { right: 8px; }
  .dot-ten,.dot-eleven,.dot-twelve { display: none; }
}
/* Final alignment against the supplied 1064px reference. */
.hero-outline { font-family: Arial, sans-serif; font-weight: 700; }
.hero-content, body:has(.recruit-hero--circle) .recruit-header { font-family: var(--font), 'Yu Gothic', Meiryo, sans-serif; }
.recruit-hero--circle .hero-media video { transform: scale(1.12); }
@media (min-width: 701px) {
  .hero-message { letter-spacing: .065em; }
  .hero-entry-actions { margin-top: calc(15 * var(--fv-unit)); }
  .hero-entry-actions .button:first-child { flex: 194; }
  .hero-entry-actions .button:last-child { flex: 189; }
  body:has(.recruit-hero--circle) .header-entry { width: calc(112 * var(--fv-unit)); gap: 0; justify-content: space-between; }
  body:has(.recruit-hero--circle) .recruit-nav > a[href='#culture'] { gap: calc(9 * var(--fv-unit)); }
  body:has(.recruit-hero--circle) .recruit-nav > a[href='#culture']::before { content: ''; order: 1; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
}
.hero-content, body:has(.recruit-hero--circle) .recruit-header { font-family: 'Zen Kaku Gothic New', 'Yu Gothic', Meiryo, sans-serif; }
@media (min-width: 701px) {
  .hero-outline { transform: translateY(3px) scaleX(.95); transform-origin: left top; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .hero-stage { height: calc(651 * var(--fv-unit)); }
}

/* The scaled video could paint its square corners outside the rounded mask while scrolling (notably on mobile). */
.recruit-hero--circle .hero-media { clip-path: circle(50% at 50% 50%); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.message-section .section-heading p .nowrap { display: inline-block; }

/* Google Translate (en/vi/id/my) text is longer than the Japanese labels: let the hero buttons wrap instead of overflowing. */
.translated-ltr .hero-entry-actions .button { white-space: normal; line-height: 1.3; text-align: center; }
@media (min-width: 701px) { .translated-ltr .hero-entry-actions .button { height: auto; min-height: calc(50 * var(--fv-unit)); padding-block: 6px; padding-right: calc(44 * var(--fv-unit)); } }
