        /*
 * Keep the cloned site on its responsive layout at every viewport width.
 * The original width-based media queries in style.css are locked to the
 * 480px state; this file only defines the centered application frame.
 */
@font-face {
  font-family: "M PLUS 1";
  src: url("assets/fonts/m-plus-1-japanese-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "M PLUS 1";
  src: url("assets/fonts/m-plus-1-japanese-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: "M PLUS 1";
  src: url("assets/fonts/m-plus-1-japanese-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "M PLUS 1";
  src: url("assets/fonts/m-plus-1-japanese-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --site-frame-width: min(100vw, 480px);
  --site-frame-offset: max(0px, calc((100vw - 480px - (100vw - 100%)) / 2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: #000000;
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
  font-family: "M PLUS 1", sans-serif;
  font-feature-settings: "palt" 1;
}

body {
  margin: 0;
  background: #000000;
  color: #ee7e04;
  font-size: .85rem;
  line-height: 1.65;
}

main {
  display: block;
}

a {
  background-color: transparent;
  text-decoration: none;
}

img,
svg {
  vertical-align: middle;
}

img {
  max-width: 100%;
  border-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
  font-size: 100%;
  line-height: inherit;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only-focusable:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

body,
#page {
  width: 100%;
  max-width: 480px;
  margin-right: auto;
  margin-left: auto;
}
#page {
  overflow-x: hidden;
  background: #000000;
}

#l-header {
  z-index: 1000;
  position: fixed;
  top: 0;
  right: auto;
  left: var(--site-frame-offset);
  width: var(--site-frame-width);
  max-width: 480px;
  color: #ee7e04;
}

#l-header .l-header__wrapper {
  position: relative;
  display: flex;
  width: 100%;
}

/* ===== One-screen vertical swipe layout ===== */
.swipe-page {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.swipe-page.is-entry-scroll {
  scroll-snap-type: none;
}

.swipe-page body,
.swipe-page #page {
  min-height: 100%;
  overflow: visible;
}

.swipe-page #page,
.swipe-page .swipe-container,
.swipe-page .swipe-section {
  max-width: 100%;
  overflow-x: clip;
}

.swipe-container {
  width: 100%;
}

.swipe-section {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0 !important;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.swipe-section > .container {
  width: 100%;
}

.is-video-intro #l-header {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.video-intro {
  position: relative;
  overflow: hidden;
  background: #000000;
}

.video-intro__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-intro__scroll {
  z-index: 2;
  position: absolute;
  bottom: clamp(24px, 5dvh, 42px);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: #fdfdfd;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1;
  transform: translateX(-50%);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}

.video-intro__scroll i {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  animation: video-intro-scroll 1.8s ease-in-out infinite;
  transform: rotate(45deg);
}

@keyframes video-intro-scroll {
  0%,
  100% {
    opacity: .45;
    transform: translateY(-2px) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(6px) rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-intro__scroll i {
    animation: none;
  }
}

/* ===== NJY KIKO recruitment LP: inherited Yokota design vocabulary ===== */
.recruit-lp {
  background: #000000;
  color: #fdfdfd;
  font-size: 14px;
  line-height: 1.75;
}

.recruit-lp *,
.recruit-lp *::before,
.recruit-lp *::after {
  box-sizing: border-box;
}

.recruit-lp p,
.recruit-lp h2,
.recruit-lp h3,
.recruit-lp blockquote,
.recruit-lp figure,
.recruit-lp dl,
.recruit-lp dd,
.recruit-lp ol {
  margin: 0;
}

.recruit-lp a {
  color: inherit;
}

html.swipe-page #l-header .l-header__logo--link {
  position: relative;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px !important;
  height: 60px !important;
  padding-top: 0 !important;
  background: #ee7e04;
  color: #ee7e04;
}

html.swipe-page #l-header #l-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px !important;
  margin: 0;
  color: #ee7e04;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.l-header__wordmark {
  display: block;
  width: 96px;
  height: auto;
}

html.swipe-page #l-header,
html.swipe-page #l-header__bg {
  height: 60px;
}

html.swipe-page #l-header .l-header__wrapper {
  height: 55px;
}

.l-header__actions {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: stretch;
  height: 60px;
}

.l-header__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(96px, 24vw, 112px);
  padding: 0 12px;
  border-left: 1px solid #ee7e04;
  border-bottom: 1px solid #ee7e04;
  background: #000000;
  color: #ee7e04;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.25;
  white-space: nowrap;
  transition: color .3s cubic-bezier(.165,.84,.44,1), background-color .3s cubic-bezier(.165,.84,.44,1);
}

.l-header__action--primary {
  background: #ee7e04;
  color: #000000;
}

.l-header__action > span:last-child {
  display: none;
}

.l-header__action:focus,
.l-header__action:hover {
  background: #ee7e04;
  color: #000000;
  text-decoration: none;
}

.l-header__action--primary:focus,
.l-header__action--primary:hover {
  background: #000000;
  color: #ee7e04;
}

.recruit-section {
  background: #000000;
}

.recruit-section:nth-of-type(even) {
  background: #000000;
}

#about.swipe-section,
#strength-01.swipe-section,
#strength-02.swipe-section,
#merit-01.swipe-section,
#merit-02.swipe-section,
#job.swipe-section,
#day.swipe-section,
#ideal.swipe-section {
  height: auto;
  min-height: 100dvh;
  max-height: none;
  overflow: visible;
}

#about > .recruit-section__inner,
#strength-01 > .recruit-section__inner,
#strength-02 > .recruit-section__inner,
#merit-01 > .recruit-section__inner,
#merit-02 > .recruit-section__inner,
#job > .recruit-section__inner,
#ideal > .recruit-section__inner {
  height: auto;
  min-height: 100dvh;
}

#day > .recruit-section__inner {
  height: auto;
  min-height: calc(100dvh - 60px);
}

#company,
#requirements,
#benefits {
  isolation: isolate;
}

#company::before,
#requirements::before,
#benefits::before {
  z-index: 0;
  position: absolute;
  inset: 0;
  background: url("images/njy/industrial-lifting-bg.webp") center 62% / 120% auto no-repeat;
  content: "";
  opacity: .07;
  pointer-events: none;
}

#company > .recruit-section__inner,
#requirements > .recruit-section__inner,
#benefits > .recruit-section__inner {
  z-index: 1;
  position: relative;
}

.recruit-section__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 74px 15px 22px;
}

.recruit-section__inner--split {
  justify-content: space-between;
}

#ideal .recruit-section__inner,
#company .recruit-section__inner,
#requirements .recruit-section__inner,
#benefits .recruit-section__inner {
  padding-right: 30px;
  padding-left: 30px;
}

#benefits .recruit-title {
  margin-bottom: 20px !important;
}

.recruit-about .recruit-section__inner--split,
.recruit-job .recruit-section__inner--split {
  justify-content: center;
  gap: 24px;
}

.recruit-title {
  display: block;
  margin: 0 0 clamp(18px, 4dvh, 32px) !important;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.recruit-title__en,
.recruit-title__ja {
  display: block;
}

#p-index .recruit-title .recruit-title__en {
  margin-top: 7px;
  color: #fdfdfd;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.35;
}

#p-index .recruit-title .recruit-title__ja {
  color: #ee7e04;
  font-size: clamp(28px, 8.6vw, 40px);
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.15;
}

.recruit-index {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(16px, 4dvh, 32px) !important;
  padding-bottom: 11px;
  border-bottom: 1px solid #ee7e04;
  color: #ee7e04;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}

.recruit-index span {
  font-size: 24px;
  letter-spacing: 0;
}

#strength-01 .recruit-index,
#strength-02 .recruit-index {
  gap: 4px;
}

.recruit-lead {
  margin-bottom: 16px !important;
  color: #ee7e04;
  font-size: clamp(17px, 4.8vw, 21px);
  font-weight: 600;
  line-height: 1.65;
}

.recruit-section__body > p + p {
  margin-top: 12px;
}

.recruit-photo {
  position: relative;
  width: 100%;
  height: clamp(190px, 37dvh, 330px);
  border-bottom: 1px solid #ee7e04;
}

.recruit-photo::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .18);
  content: "";
  pointer-events: none;
}

.recruit-photo img {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.08);
  object-fit: cover;
}

.recruit-photo--about img {
  object-position: center 55%;
}

.recruit-photo--about,
.recruit-photo--job {
  width: calc(100% + 15px);
  margin-right: -15px;
  border-bottom: 0;
}

.recruit-photo--job img {
  object-position: center 36%;
}

/* Hero: full-bleed photo, outlined-type rhythm, and direct message. */
.recruit-hero {
  isolation: isolate;
  color: #fdfdfd;
  background: #000000;
  overflow: hidden;
}

.recruit-hero__media,
.recruit-hero__shade {
  position: absolute;
  inset: 0;
}

.recruit-hero__media {
  z-index: -2;
  background: url(images/njy/hero.webp) 50% 50% / cover no-repeat;
  filter: grayscale(1) contrast(1.06);
  transform: scale(1);
  animation: recruit-hero-focus 1.5s cubic-bezier(.165, .84, .44, 1) both;
}

.recruit-hero__shade {
  z-index: -1;
  background: rgba(0,0,0,.62);
}

.recruit-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-top: 76px;
  padding-right: 15px;
  padding-bottom: clamp(24px, 5dvh, 48px);
  padding-left: 15px;
}

.recruit-kicker {
  margin-bottom: 14px !important;
  color: #ee7e04;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.recruit-hero__title {
  color: transparent;
  -webkit-text-stroke: 1px #ee7e04;
  font-size: clamp(38px, 12vw, 56px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.24;
}

.recruit-hero__copy {
  width: min(100%, 385px);
  margin-top: clamp(20px, 4dvh, 34px);
}

.recruit-hero__copy p + p {
  margin-top: 11px;
}

.recruit-hero__answer {
  padding-top: 12px;
  border-top: 1px solid #ee7e04;
  color: #ee7e04;
  font-size: 16px;
  font-weight: 700;
}

@keyframes recruit-hero-focus {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}

/* Strengths reuse the original outlined corporate-link language. */

.recruit-feature__content h2,
.recruit-statement {
  color: #ee7e04;
  font-size: clamp(30px, 9vw, 44px);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.35;
}

.recruit-feature--image {
  isolation: isolate;
  background: #000000;
  overflow: hidden;
}

.recruit-feature__media,
.recruit-feature__filter {
  position: absolute;
  inset: 0;
}

.recruit-feature__media {
  z-index: -2;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: grayscale(1) contrast(1.15);
}

.recruit-feature__media--work {
  background-image: url(images/njy/work.webp);
}

.recruit-feature__filter {
  z-index: -1;
  background: rgba(0,0,0,.67);
}

.recruit-feature__content {
  align-items: flex-start;
}

.recruit-feature__content h2 {
  margin-bottom: clamp(24px, 5dvh, 42px);
}

#strength-01 .recruit-feature__content h2,
#strength-02 .recruit-feature__content h2 {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  background: transparent;
  color: #000000;
}

#strength-01 .recruit-feature__content h2 span,
#strength-02 .recruit-feature__content h2 span {
  display: inline-block;
  padding: 4px 8px;
  background: #ee7e04;
}

.recruit-feature__content > p:not(.recruit-index) {
  max-width: 420px;
  font-size: 16px;
}

.recruit-feature__content > p + p:not(.recruit-index) {
  margin-top: 16px;
}

/* Merit screens use large statements, rules, and one factual number. */
.recruit-statement {
  padding-bottom: clamp(22px, 5dvh, 38px);
  border-bottom: 1px solid #ee7e04;
}

.recruit-statement span {
  color: #fdfdfd;
}

.recruit-rule-copy {
  margin-top: clamp(22px, 5dvh, 38px);
}

.recruit-rule-copy p + p {
  margin-top: 14px;
}

/* Merit 01: three continuous belts, with the copy moving in reverse. */
#merit-01 .recruit-section__inner,
#merit-02 .recruit-section__inner {
  padding-bottom: 0;
}

#merit-01 .recruit-statement,
#merit-02 .recruit-statement {
  padding-bottom: clamp(14px, 3dvh, 24px);
}

#merit-01 .recruit-rule-copy,
#merit-02 .recruit-rule-copy {
  margin-top: clamp(14px, 3dvh, 24px);
}

.recruit-merit-marquee {
  width: calc(100% + 30px);
  margin-top: calc(clamp(14px, 2.5dvh, 22px) + 20px);
  margin-left: -15px;
  overflow: hidden;
  background: #000000;
}

.recruit-merit-marquee__row {
  position: relative;
  overflow: hidden;
}

.recruit-merit-marquee__track,
.recruit-merit-marquee__group {
  display: flex;
  align-items: center;
  width: max-content;
}

.recruit-merit-marquee__track {
  animation: recruit-merit-marquee 22s linear infinite;
  animation-fill-mode: both;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.motion-ready .recruit-merit:not(.is-motion-active) .recruit-merit-marquee__track {
  animation-play-state: paused;
}

.motion-ready .recruit-merit.is-motion-active .recruit-merit-marquee__track {
  animation-play-state: running;
}

.recruit-merit-marquee__group {
  flex: none;
  gap: 18px;
  padding-right: 18px;
}

.recruit-merit-marquee__row--art {
  height: clamp(52px, 9dvh, 72px);
}

.recruit-merit-marquee__row--art img {
  flex: none;
  display: block;
  width: auto;
  max-width: none;
  height: clamp(48px, 8.4dvh, 66px);
  object-fit: contain;
}

.recruit-merit-marquee__row--art-bottom .recruit-merit-marquee__track {
  animation-duration: 26s;
  animation-delay: -8s;
}

.recruit-merit-marquee__row--text {
  height: 52px;
  margin: 8px 0;
  background: #ee7e04;
  color: #000000;
}

.recruit-merit-marquee__row--text .recruit-merit-marquee__track {
  animation-name: recruit-merit-marquee-reverse;
  animation-duration: 18s;
}

.recruit-merit-marquee__row--text .recruit-merit-marquee__group {
  gap: 24px;
  padding-right: 24px;
}

.recruit-merit-marquee__row--text span {
  flex: none;
  font-family: "Barlow Condensed", "M PLUS 1", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 52px;
  white-space: nowrap;
}

@keyframes recruit-merit-marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes recruit-merit-marquee-reverse {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .recruit-merit-marquee__track {
    animation-play-state: paused;
  }
}

/* One-day overview: time, marker, and content are read along one vertical rail. */
#day.swipe-section {
  overflow: hidden;
  padding-top: 60px;
}

#day .recruit-section__inner {
  height: 100%;
  margin-top: 0;
  padding-top: 22px;
  padding-right: 24px;
  padding-bottom: 22px;
  padding-left: 24px;
}

#day .recruit-title {
  margin-bottom: clamp(22px, 4dvh, 32px) !important;
}

.recruit-timeline {
  position: relative;
  isolation: isolate;
  padding: 0;
  list-style: none;
}

.recruit-timeline::before {
  z-index: -1;
  position: absolute;
  top: 12%;
  right: -8%;
  width: 82%;
  height: 76%;
  background: url("images/njy/merit-slider/merit-slider-12.png") 50% / contain no-repeat;
  content: "";
  opacity: .07;
  pointer-events: none;
}

.recruit-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 58px 16px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 70px;
  padding: 12px 0;
}

.recruit-timeline li::before {
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: #ee7e04;
  box-shadow: 0 0 0 3px #000000;
  content: "";
}

.recruit-timeline li::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 73.5px;
  width: 1px;
  background: #ee7e04;
  content: "";
  opacity: .8;
}

.recruit-timeline li:first-child::after {
  top: 50%;
}

.recruit-timeline li:last-child::after {
  bottom: 50%;
}

.recruit-timeline time {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 3px;
  color: #ee7e04;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(19px, 2.5dvh, 20px);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
}

.recruit-timeline span {
  z-index: 1;
  grid-column: 3;
  grid-row: 1;
  color: #bdbdbd;
  font-size: clamp(13px, 1.7dvh, 14px);
  line-height: 1.45;
}

.recruit-timeline strong {
  display: block;
  margin-bottom: 5px;
  color: #fdfdfd;
  font-size: clamp(16px, 2dvh, 17px);
  font-weight: 700;
}

/* Ideal-person content reuses the paired outlined-link component. */
.recruit-ideal__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: clamp(18px, 4dvh, 30px) 16px;
  border: 1px solid #ee7e04;
  background: #ee7e04;
}

.recruit-ideal__item + .recruit-ideal__item {
  margin-top: 16px;
}

.recruit-ideal__item > span {
  padding-left: 6px;
  color: #000000;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}

.recruit-ideal__item h3 {
  color: #000000;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.recruit-ideal__item p {
  margin-top: 9px;
  color: #000000;
  font-size: 13px;
  line-height: 1.7;
}

/* Company and requirements reuse the original information-list grammar. */
.recruit-data__list {
  border-top: 1px solid #ee7e04;
}

#company .recruit-data__list,
#requirements .recruit-data__list,
#benefits .recruit-data__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#company .recruit-data__list,
#requirements .recruit-data__list {
  min-height: clamp(320px, 58dvh, 490px);
}

#benefits .recruit-data__list {
  min-height: clamp(315px, 55dvh, 465px);
}

#company .recruit-data__list > div,
#requirements .recruit-data__list > div,
#benefits .recruit-data__list > div {
  flex: 1 1 0;
}

.recruit-data__list > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(238,126,4,.55);
}

.recruit-data__list dt {
  color: #ee7e04;
  font-size: 12px;
  font-weight: 600;
}

.recruit-data__list dd {
  color: #fdfdfd;
  font-size: 13px;
  line-height: 1.5;
}

.recruit-data__list dd a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recruit-pay dd {
  display: block;
  line-height: 1.8;
}

.recruit-pay strong {
  color: inherit;
  font-size: inherit;
}

/* The final form keeps sharp edges and thin yellow rules. */
#entry.recruit-entry {
  background: #ee7e04;
  color: #000000;
}

#entry.swipe-section {
  height: auto;
  min-height: 100dvh;
  max-height: none;
  overflow: visible;
}

#entry .recruit-section__inner {
  justify-content: flex-start;
  height: auto;
  min-height: 100dvh;
  padding: 92px 20px 48px;
}

#p-index .recruit-entry .recruit-title__en,
#p-index .recruit-entry .recruit-title__ja {
  color: #000000;
}

.recruit-entry .recruit-title {
  margin-bottom: 28px !important;
}

#p-index .recruit-entry .recruit-title__ja {
  font-size: clamp(23px, 6.8vw, 32px);
  line-height: 1.3;
}

.recruit-benefits .recruit-title {
  margin-bottom: 10px !important;
}

#p-index .recruit-benefits .recruit-title__ja {
  font-size: clamp(25px, 7.5vw, 34px);
}

.recruit-form {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 12px;
}

.recruit-form label {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  align-items: stretch;
  margin-bottom: .5rem;
}

.recruit-form label > span {
  color: #000000;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.recruit-form b,
.recruit-form em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  background: #000000;
  color: #ee7e04;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.recruit-form b {
  color: #ee7e04;
}

.recruit-form em {
  color: #fdfdfd;
}

.recruit-form input,
.recruit-form textarea,
.recruit-form select {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 9px 11px;
  border: 2px solid #000000;
  border-radius: 0;
  background: #fdfdfd;
  color: #000000;
  font: inherit;
  font-size: 13px;
}

.recruit-form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  overflow: hidden;
}

.recruit-form input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}

.recruit-form textarea {
  height: 96px;
  resize: none;
}

.recruit-form input:focus,
.recruit-form textarea:focus,
.recruit-form select:focus {
  outline: 2px solid #fdfdfd;
  outline-offset: 2px;
}

.recruit-form button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 79.2px;
  margin-top: 6px;
  padding: 0 15px;
  border: 1px solid #000000;
  border-radius: 0;
  background: #000000;
  color: #ee7e04;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}

.recruit-form button span {
  font-size: 24px;
}

.recruit-form__status {
  color: #000000;
  font-size: 11px;
  line-height: 1.4;
}

.recruit-copyright {
  margin-top: 8px !important;
  padding-top: 7px;
  border-top: 1px solid rgba(0,0,0,.45);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 9px;
  color: #000000;
  letter-spacing: .08em;
}

/* Keep all recruitment UI text at 14px or larger, except the compact day timeline. */
.l-header__action,
#p-index .recruit-section:not(.recruit-day) .recruit-title .recruit-title__en,
.recruit-index,
.recruit-kicker,
.recruit-ideal__item p,
.recruit-data__list dt,
.recruit-data__list dd,
.recruit-pay strong,
.recruit-pay small,
.recruit-form label > span,
.recruit-form b,
.recruit-form em,
.recruit-form input,
.recruit-form textarea,
.recruit-form select,
.recruit-form__status,
.recruit-copyright {
  font-size: 14px;
}

@media (max-height: 700px) {
  #ideal.swipe-section {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  #ideal .recruit-section__inner {
    height: auto;
    min-height: 100dvh;
    padding-bottom: 8px;
  }

  #day.swipe-section {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: hidden;
  }

  #day .recruit-section__inner {
    justify-content: center;
    height: auto;
    min-height: calc(100dvh - 60px);
    margin-top: 0;
  }

  .recruit-section__inner {
    padding-top: 64px;
    padding-bottom: 14px;
  }

  .recruit-title {
    margin-bottom: 14px !important;
  }

  .recruit-kicker {
    margin-bottom: 9px !important;
  }

  .recruit-hero__copy {
    margin-top: 14px;
  }

  #p-index .recruit-title .recruit-title__ja {
    font-size: clamp(26px, 8vw, 34px);
  }

  .recruit-photo {
    height: 34dvh;
  }

  .recruit-job .recruit-photo {
    height: 29dvh;
  }

  .recruit-feature__content h2,
.recruit-statement {
    font-size: clamp(27px, 8.4vw, 36px);
  }

  .recruit-timeline li {
    min-height: 47px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  #day .recruit-section__inner {
    padding-top: 28px;
    padding-right: 24px;
    padding-bottom: 28px;
    padding-left: 24px;
  }

  #day .recruit-title {
    margin-bottom: 20px !important;
  }

  #day .recruit-timeline li {
    min-height: 64px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .recruit-data__list > div {
    min-height: 44px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .recruit-ideal__item {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .recruit-ideal__item + .recruit-ideal__item {
    margin-top: 12px;
  }

  .recruit-benefits .recruit-data__list > div {
    min-height: 40px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

}

@media (max-width: 480px) {
  #requirements .recruit-data__list > .recruit-pay {
    flex: 0 0 auto;
  }
}

@media (max-width: 360px) {
  #requirements .recruit-data__list {
    min-height: 0;
  }

  #requirements .recruit-data__list > div {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruit-hero__media {
    animation: none;
  }
}

.swipe-page .swipe-section {
  scroll-snap-stop: normal;
}

/* ===== Desktop-only gutter UI ===== */
.desktop-rail {
  display: none;
}

@media (min-width: 769px) {
  html.swipe-page {
    background: #000000 url("images/njy/desktop-chain-bg.webp") center / cover fixed no-repeat;
  }

  .swipe-section {
    scroll-snap-stop: normal;
  }

  .desktop-rail {
    z-index: 20;
    position: fixed;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .desktop-rail--left {
    left: calc((100% - 480px) / 4);
    width: min(140px, calc((100% - 480px) / 2 - 40px));
    transform: translate(-50%, -50%);
  }

  .desktop-rail--left img {
    display: block;
    width: 100%;
    height: auto;
  }

  .desktop-rail--right {
    right: calc((100% - 480px) / 4);
    flex-direction: column;
    gap: 18px;
    width: min(180px, calc((100% - 480px) / 2 - 40px));
    transform: translate(50%, -50%);
  }

  .desktop-rail__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
    border: 1px solid #ee7e04;
    background: #000000;
    color: #ee7e04;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.4;
    pointer-events: auto;
    transition: color .3s cubic-bezier(.165,.84,.44,1), background-color .3s cubic-bezier(.165,.84,.44,1);
  }

  .desktop-rail__cta--primary {
    background: #ee7e04;
    color: #000000;
  }

  .desktop-rail__cta:focus,
  .desktop-rail__cta:hover {
    background: #ee7e04;
    color: #000000;
    text-decoration: none;
  }

  .desktop-rail__cta--primary:focus,
  .desktop-rail__cta--primary:hover {
    background: #000000;
    color: #ee7e04;
  }

  .desktop-rail__arrow {
    flex: 0 0 auto;
    margin-left: 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
  }
}

/* ===== Section entrance motion ===== */
.motion-ready.motion-play .motion-item {
  transition:
    opacity .78s cubic-bezier(.16, 1, .3, 1),
    transform .92s cubic-bezier(.16, 1, .3, 1),
    clip-path 1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--motion-delay, 70ms);
}

.motion-ready .swipe-section:not(.is-motion-active) .motion-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.motion-ready .swipe-section:not(.is-motion-active) .recruit-kicker,
.motion-ready .swipe-section:not(.is-motion-active) .recruit-index,
.motion-ready .swipe-section:not(.is-motion-active) .recruit-title__en {
  letter-spacing: .24em;
  transform: translate3d(-18px, 0, 0);
}

.motion-ready.motion-play .recruit-kicker,
.motion-ready.motion-play .recruit-index,
.motion-ready.motion-play .recruit-title__en {
  transition:
    opacity .68s cubic-bezier(.16, 1, .3, 1),
    transform .86s cubic-bezier(.16, 1, .3, 1),
    letter-spacing 1.05s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--motion-delay, 70ms);
}

.motion-ready .recruit-hero__title,
.motion-ready .recruit-title__ja,
.motion-ready .recruit-feature__content > h2 > span,
.motion-ready .recruit-statement {
  clip-path: inset(0 0 0 0);
}

.motion-ready .swipe-section:not(.is-motion-active) .recruit-hero__title,
.motion-ready .swipe-section:not(.is-motion-active) .recruit-title__ja,
.motion-ready .swipe-section:not(.is-motion-active) .recruit-feature__content > h2 > span,
.motion-ready .swipe-section:not(.is-motion-active) .recruit-statement {
  clip-path: inset(0 100% 0 0);
  transform: translate3d(-12px, 0, 0);
}

.motion-ready .recruit-hero:not(.is-motion-active) .recruit-kicker,
.motion-ready .recruit-hero:not(.is-motion-active) .recruit-hero__title {
  transform: translate3d(0, 18px, 0);
}

.motion-ready .recruit-photo,
.motion-ready .recruit-merit-marquee {
  clip-path: inset(0 0 0 0);
}

.motion-ready .swipe-section:not(.is-motion-active) .recruit-photo {
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 18px, 0);
}

.motion-ready .swipe-section:not(.is-motion-active) .recruit-merit-marquee {
  clip-path: inset(0 100% 0 0);
  transform: none;
}

.motion-ready .recruit-hero__media {
  animation: none;
  opacity: 1;
  transform: scale(1);
}

.motion-ready.motion-play .recruit-hero__media {
  transition:
    opacity 1.1s cubic-bezier(.16, 1, .3, 1),
    transform 1.6s cubic-bezier(.16, 1, .3, 1);
}

.motion-ready .swipe-section:not(.is-motion-active) .recruit-hero__media {
  opacity: .3;
  transform: scale(1.085);
}

.motion-ready .video-intro__media {
  animation: motion-video-arrival 1.8s cubic-bezier(.16, 1, .3, 1) both;
}

.motion-ready .is-motion-active .recruit-photo img {
  animation: motion-photo-breathe 12s ease-in-out 1.05s infinite alternate;
}

.motion-ready .recruit-timeline > li:nth-child(even),
.motion-ready .recruit-data__list > div:nth-child(even),
.motion-ready .recruit-ideal__item:nth-child(even) {
  transform-origin: right center;
}

.motion-ready .swipe-section:not(.is-motion-active) .recruit-timeline > li:nth-child(even),
.motion-ready .swipe-section:not(.is-motion-active) .recruit-data__list > div:nth-child(even),
.motion-ready .swipe-section:not(.is-motion-active) .recruit-ideal__item:nth-child(even) {
  transform: translate3d(18px, 22px, 0);
}

@keyframes motion-video-arrival {
  from {
    opacity: 0;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes motion-photo-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  .motion-item,
  .recruit-hero__media,
  .video-intro__media,
  .recruit-photo img {
    animation: none !important;
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
