/* Work Style: keep the photo and information card visually independent. */
.career-page {
  overflow-x: hidden;
}
.work-layout {
  align-items: stretch;
  gap: 28px;
}
.work-layout > img,
.office-gallery {
  border-radius: 28px;
}
.work-layout > div {
  display: grid;
  align-content: center;
  margin-left: 0;
}
@media (max-width: 900px) {
  .work-layout {
    gap: 22px;
  }
  .work-layout > div {
    margin: 0;
  }
}

.career-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.career-data > div {
  padding: 32px 25px;
  border-right: 1px solid var(--line);
}
.career-data > div:last-child {
  border-right: 0;
}
.career-data strong {
  display: block;
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -0.04em;
}
.career-data span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 11px;
}
.benefit-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}
.benefit-facts span {
  padding: 22px 18px;
  background: #353b40;
  font-size: 12px;
}
.office-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  overflow: hidden;
  background: #111;
}
.office-gallery img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.office-gallery img:first-child {
  object-position: 72% center;
}
.office-gallery img:last-child {
  object-position: 70% center;
}
.culture-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 72px;
}
.culture-gallery article {
  overflow: hidden;
  border-radius: 28px;
  background: #f2f0eb;
  color: #17241f;
}
.culture-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.culture-gallery article > div {
  padding: 28px 30px 32px;
}
.culture-gallery span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  color: var(--accent);
}
.culture-gallery h3 {
  margin: 10px 0 12px;
  font-size: clamp(20px, 2vw, 30px);
}
.culture-gallery p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: #55605b;
}
.story-rail img {
  object-position: center 35%;
}
.career-marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  overflow: hidden;
  border: 0;
  background: #e34837;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(65, 10, 5, 0.28),
    0 -1px 0 rgba(65, 10, 5, 0.28);
  transform: rotate(-0.35deg) scale(1.01);
  transform-origin: center;
}
.career-marquee:nth-of-type(even) {
  background: #e34837;
}
.marquee-theme-ivory-green .career-marquee,
.marquee-theme-ivory-green .career-marquee:nth-of-type(even) {
  background: #f2efe5;
  color: #17483f;
  box-shadow:
    0 1px 0 rgba(23, 72, 63, 0.2),
    0 -1px 0 rgba(23, 72, 63, 0.2);
}
.marquee-theme-regaxia-gold .career-marquee,
.marquee-theme-regaxia-gold .career-marquee:nth-of-type(even) {
  background: #d4ad5f;
  color: #173f37;
  box-shadow:
    0 1px 0 rgba(23, 63, 55, 0.24),
    0 -1px 0 rgba(23, 63, 55, 0.24);
}
.marquee-theme-deep-green .career-marquee,
.marquee-theme-deep-green .career-marquee:nth-of-type(even) {
  background: #17483f;
  color: #f2e6cc;
  box-shadow:
    0 1px 0 rgba(5, 32, 27, 0.3),
    0 -1px 0 rgba(5, 32, 27, 0.3);
}
.marquee-theme-navy-gold .career-marquee,
.marquee-theme-navy-gold .career-marquee:nth-of-type(even) {
  background: #13263a;
  color: #d4ad5f;
  box-shadow:
    0 1px 0 rgba(212, 173, 95, 0.22),
    0 -1px 0 rgba(212, 173, 95, 0.22);
}
.marquee-theme-burgundy-ivory .career-marquee,
.marquee-theme-burgundy-ivory .career-marquee:nth-of-type(even) {
  background: #742f2f;
  color: #f2e6cc;
  box-shadow:
    0 1px 0 rgba(45, 16, 16, 0.24),
    0 -1px 0 rgba(45, 16, 16, 0.24);
}
.marquee-theme-monochrome .career-marquee,
.marquee-theme-monochrome .career-marquee:nth-of-type(even) {
  background: #111;
  color: #f4f2ed;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16),
    0 -1px 0 rgba(255, 255, 255, 0.16);
}
.career-marquee > div {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: careerMarquee 24s linear infinite;
}
.career-marquee span {
  display: flex;
  align-items: center;
  flex: none;
  min-height: 132px;
  padding: 0 clamp(25px, 3vw, 52px);
  font-family: Anton, Impact, "Arial Narrow", sans-serif;
  font-size: clamp(66px, 8.6vw, 134px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}
.career-marquee-reverse > div {
  animation-direction: reverse;
  animation-duration: 32s;
}
.career-marquee-jp > div {
  animation-duration: 34s;
}
.career-marquee-jp span {
  font-family: Anton, Impact, "Arial Narrow", sans-serif;
  font-size: clamp(54px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.career-marquee-jp {
  margin-bottom: -10px;
}
.career-marquee-hero {
  border-top: 0;
}
.career-marquee-inline {
  width: 100vw;
  max-width: 100vw;
  margin: 64px 0 72px calc(50% - 50vw);
}
.entry-section {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 620px;
  margin-top: -2px;
  padding: 130px 28px;
  background: url("./assets/recruit-entry-team-20260804.jpg") center 42% / cover
    no-repeat;
}
.entry-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(20, 26, 23, 0.74),
      rgba(20, 26, 23, 0.46) 50%,
      rgba(20, 26, 23, 0.66)
    ),
    linear-gradient(0deg, rgba(15, 20, 18, 0.58), transparent 55%);
}
.entry-inner {
  position: relative;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.38);
}
.entry-inner a {
  text-shadow: none;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
}
.company-deck .deck-card {
  min-height: 230px;
  padding: 30px;
  background: transparent;
  border: 0;
  color: #d4ad5f;
}
.company-deck .deck-card img {
  width: min(280px, 90%);
}
.company-deck .deck-card span {
  margin-top: 20px;
  letter-spacing: 0.12em;
}
.benefits-detail-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) 1.35fr;
  gap: clamp(45px, 7vw, 110px);
  margin-top: 72px;
  padding: clamp(42px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.benefits-heading > span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.benefits-detail-card h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.benefits-heading p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.benefits-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.benefits-detail-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefits-detail-grid li {
  position: relative;
  padding: 18px 32px 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
}
.benefits-detail-grid li:first-child {
  border-top: 1px solid var(--line);
}
.benefits-detail-grid li::after {
  position: absolute;
  right: 4px;
  top: 50%;
  color: var(--accent);
  content: "＋";
  font-size: 13px;
  transform: translateY(-50%);
}
.benefits-note {
  grid-column: 2;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11px;
}

/* Scroll motion for company data and benefits. */
.career-data.reveal > div {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.65s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.career-data.reveal > div::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(212, 173, 95, 0));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.career-data.reveal.is-visible > div {
  opacity: 1;
  transform: none;
}
.career-data.reveal.is-visible > div::after {
  transform: scaleX(1);
}
.career-data.reveal.is-visible > div:nth-child(2) {
  transition-delay: 0.12s;
}
.career-data.reveal.is-visible > div:nth-child(3) {
  transition-delay: 0.24s;
}
.career-data.reveal.is-visible > div:nth-child(4) {
  transition-delay: 0.36s;
}
.career-data.reveal.is-visible > div:nth-child(2)::after {
  transition-delay: 0.12s;
}
.career-data.reveal.is-visible > div:nth-child(3)::after {
  transition-delay: 0.24s;
}
.career-data.reveal.is-visible > div:nth-child(4)::after {
  transition-delay: 0.36s;
}
.career-data strong {
  background: linear-gradient(100deg, #fff 25%, var(--accent) 48%, #fff 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.career-data.reveal.is-visible strong {
  animation: data-shine 1.25s 0.35s ease both;
}
.career-data.reveal.is-visible > div:nth-child(2) strong {
  animation-delay: 0.47s;
}
.career-data.reveal.is-visible > div:nth-child(3) strong {
  animation-delay: 0.59s;
}
.career-data.reveal.is-visible > div:nth-child(4) strong {
  animation-delay: 0.71s;
}
@keyframes data-shine {
  from {
    background-position: 110% 0;
  }
  to {
    background-position: -20% 0;
  }
}
.benefits-detail-card.reveal .benefits-heading {
  opacity: 0;
  transform: translateX(-34px);
  transition:
    opacity 0.7s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.benefits-detail-card.reveal.is-visible .benefits-heading {
  opacity: 1;
  transform: none;
}
.benefits-detail-card.reveal .benefits-detail-grid li {
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s,
    padding 0.25s;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li {
  opacity: 1;
  transform: none;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li:nth-child(1) {
  transition-delay: 0.08s;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li:nth-child(2) {
  transition-delay: 0.14s;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li:nth-child(3) {
  transition-delay: 0.2s;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li:nth-child(4) {
  transition-delay: 0.26s;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li:nth-child(5) {
  transition-delay: 0.32s;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li:nth-child(6) {
  transition-delay: 0.38s;
}
.benefits-detail-grid li:hover {
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.benefits-detail-grid li::after {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s;
}
.benefits-detail-grid li:hover::after {
  color: #fff;
  transform: translateY(-50%) rotate(135deg);
}
.benefits-detail-card.reveal .benefits-note {
  opacity: 0;
  transition: opacity 0.6s 0.55s ease;
}
.benefits-detail-card.reveal.is-visible .benefits-note {
  opacity: 1;
}

.media-grid {
  border: 1px solid var(--line);
}
.media-grid article {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}
.media-grid article:last-child {
  border-right: 0;
}
.about-visual > img {
  object-position: center center;
}
.benefits-note {
  margin: 26px 0 0;
  color: #85928f;
  font-size: 12px;
}
@keyframes careerMarquee {
  to {
    transform: translateX(-25%);
  }
}
.position-cards {
  grid-template-columns: repeat(3, 1fr);
}
.position-cards article {
  display: flex;
  flex-direction: column;
}
.position-cards article > p {
  min-height: 120px;
}
.position-cards article > a {
  margin-top: auto;
}
.job-note {
  margin: 25px 0 0;
  color: var(--muted) !important;
  font-size: 12px;
}
@media (max-width: 1100px) {
  .position-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .career-data {
    grid-template-columns: 1fr 1fr;
  }
  .career-data > div:nth-child(2) {
    border-right: 0;
  }
  .career-data > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .benefit-facts {
    grid-template-columns: 1fr 1fr;
  }
  .office-gallery img {
    min-height: 300px;
  }
  .culture-gallery {
    gap: 16px;
    margin-top: 48px;
  }
}
@media (max-width: 620px) {
  .position-cards {
    grid-template-columns: 1fr;
  }
  .position-cards article > p {
    min-height: 0;
  }
  .office-gallery {
    grid-template-columns: 1fr;
    gap: 6px;
    border-radius: 20px;
  }
  .office-gallery img {
    min-height: 0;
    aspect-ratio: 16/10;
  }
  .office-gallery img:first-child {
    object-position: 68% center;
  }
  .office-gallery img:last-child {
    object-position: 66% center;
  }
  .culture-gallery {
    grid-template-columns: 1fr;
  }
  .culture-gallery article {
    border-radius: 20px;
  }
  .culture-gallery article > div {
    padding: 22px;
  }
  .career-marquee {
    transform: rotate(-0.7deg) scale(1.02);
  }
  .career-marquee span {
    min-height: 88px;
    padding: 0 22px;
    font-size: 54px;
  }
  .career-marquee-jp span {
    font-size: 42px;
    letter-spacing: -0.02em;
  }
  .career-marquee-jp {
    margin-bottom: -12px;
  }
  .career-marquee-inline {
    margin-top: 48px;
    margin-bottom: 48px;
  }
  .entry-section {
    min-height: 540px;
    background-position: 58% center;
  }
  .benefits-detail-card {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 48px;
    padding: 42px 0;
  }
  .benefits-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .benefits-detail-grid ul {
    gap: 16px;
  }
  .benefits-detail-grid li {
    font-size: 13px;
  }
  .benefits-note {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .career-marquee > div {
    animation: none;
    transform: none;
  }
  .career-marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .career-marquee::-webkit-scrollbar {
    display: none;
  }
}

/* Final PC / tablet / mobile balance */
@media (min-width: 901px) {
  .positions-section,
  .interview-section,
  .work-section,
  .recruit-sdgs-section {
    padding-top: clamp(64px, 6vw, 88px);
  }
  .position-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .position-cards article {
    padding: clamp(28px, 2.8vw, 42px);
  }
  .position-cards h3 {
    min-height: 2.2em;
  }
}

@media (max-width: 900px) {
  .career-section,
  .positions-section,
  .recruit-sdgs-section {
    padding-top: 56px;
    padding-bottom: 72px;
  }
  .career-page .career-marquee-inline + .section-title {
    margin-bottom: 48px;
  }
}

@media (max-width: 560px) {
  .career-hero > img {
    object-position: 55% center;
  }
  .career-hero-copy {
    top: 70%;
  }
  .career-hero .career-hero-copy h1 {
    font-size: clamp(35px, 9.2vw, 42px);
    line-height: 0.93;
  }
  .career-hero .career-hero-copy p {
    font-size: 11px;
  }
  .section-title h2 {
    overflow-wrap: anywhere;
  }
  .interview-intro {
    margin: 42px 0;
  }
  .interview-intro > p {
    font-size: 14px;
    line-height: 2;
  }
  .position-cards article {
    padding: 28px 22px;
  }
  .position-cards h3 {
    font-size: 24px;
  }
  .recruit-form-shell,
  .recruit-apply-intro {
    min-width: 0;
  }
  .mobile-apply-cta {
    left: auto;
    right: 12px;
    width: 190px;
    height: 50px;
    border-radius: 999px;
    font-size: 13px;
  }
}

.recruit-apply-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 8vw, 130px);
  padding: clamp(90px, 10vw, 150px) max(28px, 9vw);
  background: #292e32;
}
.recruit-apply-intro {
  align-self: start;
  position: sticky;
  top: 50px;
}
.recruit-apply-intro > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.recruit-apply-intro h2 {
  margin: 18px 0 25px;
  font-size: clamp(42px, 5.5vw, 82px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.recruit-apply-intro > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
.recruit-apply-intro > a {
  display: inline-flex;
  flex-direction: column;
  margin-top: 34px;
  color: var(--accent);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.recruit-apply-intro > a small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.recruit-form-shell {
  padding: clamp(30px, 4vw, 58px);
  background: #202529;
}
.recruit-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.recruit-field {
  padding: 0 0 27px;
  margin-bottom: 27px;
  border-bottom: 1px solid var(--line);
}
.recruit-field label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  font-size: 12px;
  font-weight: 700;
}
.recruit-field label b,
.recruit-consent b {
  padding: 3px 7px;
  color: #202529;
  background: var(--accent);
  font-size: 9px;
}
.recruit-field label small {
  color: var(--muted);
  font-weight: 500;
}
.recruit-field input:not([type="file"]),
.recruit-field select,
.recruit-field textarea {
  width: 100%;
  padding: 10px 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  font: inherit;
  font-size: 15px;
}
.recruit-field input::placeholder,
.recruit-field textarea::placeholder {
  color: #6f777d;
}
.recruit-field select {
  color: #fff;
}
.recruit-field select option {
  color: #111;
}
.recruit-field textarea {
  resize: vertical;
  line-height: 1.8;
}
.recruit-field:focus-within {
  border-color: var(--accent);
}
.recruit-file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.recruit-file-field > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.recruit-file-field > span::after {
  content: "ファイルを選択";
  padding: 10px 14px;
  color: #202529;
  background: var(--accent);
  font-weight: 700;
}
.recruit-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
}
.recruit-consent > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.recruit-consent input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.recruit-consent a {
  color: var(--accent);
  text-decoration: underline;
}
.recruit-form-error {
  min-height: 22px;
  margin: 18px 0 0;
  color: #ffb4ab;
  font-size: 12px;
}
.recruit-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 8px;
  padding: 20px 24px;
  color: #202529;
  background: var(--accent);
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.2s;
}
.recruit-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.recruit-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}
.recruit-success {
  padding: 70px 20px;
  text-align: center;
}
.recruit-success > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.recruit-success h3 {
  margin: 20px 0;
  font-size: clamp(25px, 3vw, 40px);
}
.recruit-success p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
@media (max-width: 900px) {
  .recruit-apply-section {
    grid-template-columns: 1fr;
  }
  .recruit-apply-intro {
    position: static;
  }
  .recruit-form-shell {
    padding: 34px 24px;
  }
}
@media (max-width: 900px) {
  .media-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .media-grid article:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 560px) {
  .recruit-file-field > span {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    overflow: hidden;
  }
  .recruit-file-field > span::after {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .recruit-consent {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  .recruit-consent > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .career-data.reveal > div,
  .benefits-detail-card.reveal .benefits-heading,
  .benefits-detail-card.reveal .benefits-detail-grid li,
  .benefits-detail-card.reveal .benefits-note {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .career-data strong {
    animation: none !important;
    background: none;
    color: #fff;
  }
  .career-data.reveal > div::after {
    transform: scaleX(1);
    transition: none;
  }
}

/* Regaxia green accent text system. */
.career-page .career-nav a:hover,
.career-page .career-hero-copy p,
.career-page .section-title p,
.career-page .outline-button span,
.career-page .about-links i,
.career-page .story-rail span,
.career-page .positions-inner > p,
.career-page .position-cards article > span,
.career-page .entry-inner > p,
.career-page .career-data span,
.career-page .culture-gallery span,
.career-page .benefits-heading > span,
.career-page .benefits-detail-grid li::after,
.career-page .recruit-apply-intro > span,
.career-page .recruit-apply-intro > a,
.career-page .recruit-consent a,
.career-page .recruit-success > span,
.career-page .gx-footer-menu-columns h3 {
  color: #fff;
}
.career-page .career-data strong {
  background: linear-gradient(
    100deg,
    #fff 25%,
    rgba(255, 255, 255, 0.55) 48%,
    #fff 70%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee-theme-navy-gold .career-marquee,
.marquee-theme-navy-gold .career-marquee:nth-of-type(even) {
  color: #f2e6cc;
}

/* Regaxia green CTA system. */
.career-page {
  --accent: #fff;
}
.career-page .position-cards article > a,
.career-page .entry-inner > a,
.career-page .recruit-submit {
  color: #202529;
  background: #fff;
  border-color: #fff;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.career-page .recruit-field label b,
.career-page .recruit-consent b,
.career-page .recruit-file-field > span::after {
  color: #202529;
  background: #fff;
}
.career-page .recruit-consent input {
  accent-color: #fff;
}
.career-page .position-cards article > a {
  justify-content: center;
  text-align: center;
}
.career-page .position-cards article > a + a {
  margin-top: 10px;
}
.career-page .position-cards article > a.indeed-cta {
  color: #202529;
  background: #fff;
  border: 1px solid #fff;
}
.career-page .position-cards article > a.indeed-cta b {
  margin-right: 0.35em;
  color: #2557a7;
  font-size: 1.15em;
  letter-spacing: -0.03em;
}
.career-page .position-cards article > a.indeed-cta:hover {
  color: #fff;
  background: #2557a7;
  border-color: #2557a7;
}
.career-page .position-cards article > a.indeed-cta:hover b {
  color: #fff;
}
.career-page .entry-inner > a,
.career-page .recruit-submit {
  position: relative;
  justify-content: center;
  gap: 0;
  padding-right: 64px;
  padding-left: 64px;
  text-align: center;
}
.career-page .entry-inner > a {
  width: min(380px, 100%);
}
.career-page .entry-inner > a > span,
.career-page .recruit-submit > i {
  position: absolute;
  right: 24px;
}
@media (max-width: 420px) {
  .career-page .entry-inner > a,
  .career-page .recruit-submit {
    padding-right: 52px;
    padding-left: 52px;
  }
  .career-page .entry-inner > a > span,
  .career-page .recruit-submit > i {
    right: 18px;
  }
}
.career-page .position-cards article > a:hover,
.career-page .entry-inner > a:hover,
.career-page .recruit-submit:hover {
  color: #202529;
  background: #e9eceb;
  border-color: #fff;
}

/* Keep the default careers marquee in Burgundy & Ivory. */
.career-page:not([class*="marquee-theme-"]) .career-marquee {
  color: #f2e6cc;
}

/* Continuous, restrained motion for the company statistics. */
.career-data.reveal.is-visible > div {
  animation: data-float 3.6s ease-in-out infinite;
}
.career-data.reveal.is-visible > div:nth-child(2) {
  animation-delay: -0.9s;
}
.career-data.reveal.is-visible > div:nth-child(3) {
  animation-delay: -1.8s;
}
.career-data.reveal.is-visible > div:nth-child(4) {
  animation-delay: -2.7s;
}
.career-data.reveal.is-visible strong {
  animation: data-shine-loop 3.2s ease-in-out infinite;
}
.career-data.reveal.is-visible > div::after {
  animation: data-line-pulse 3.6s ease-in-out infinite;
}
@keyframes data-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.025);
  }
}
@keyframes data-shine-loop {
  0%,
  24% {
    background-position: 110% 0;
  }
  58%,
  100% {
    background-position: -20% 0;
  }
}
@keyframes data-line-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .career-data.reveal.is-visible > div,
  .career-data.reveal.is-visible strong,
  .career-data.reveal.is-visible > div::after {
    animation: none;
  }
}

/* Continuous motion for the benefits list. */
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li {
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.09) 48%,
    transparent 68%
  );
  background-position: 160% 0;
  background-size: 220% 100%;
  animation: benefit-sweep 5.4s ease-in-out infinite;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li:nth-child(2n) {
  animation-delay: -1.8s;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li:nth-child(3n) {
  animation-delay: -3.6s;
}
.benefits-detail-card.reveal.is-visible .benefits-detail-grid li::after {
  animation: benefit-plus 2.8s ease-in-out infinite;
}
.benefits-detail-card.reveal.is-visible
  .benefits-detail-grid
  li:nth-child(even)::after {
  animation-delay: -1.4s;
}
@keyframes benefit-sweep {
  0%,
  30% {
    background-position: 160% 0;
  }
  70%,
  100% {
    background-position: -80% 0;
  }
}
@keyframes benefit-plus {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(-50%) rotate(0deg) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) rotate(90deg) scale(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .benefits-detail-card.reveal.is-visible .benefits-detail-grid li,
  .benefits-detail-card.reveal.is-visible .benefits-detail-grid li::after {
    animation: none;
  }
}

/* Illustrated employee-benefit cards with an infinite horizontal marquee. */
.benefits-detail-card.benefits-illustrated {
  display: block;
  width: 100vw;
  margin-right: 0;
  margin-left: calc(50% - 50vw);
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
}
.benefits-illustrated .benefits-heading,
.benefits-illustrated .benefits-note {
  width: min(1180px, calc(100% - 56px));
  margin-right: auto;
  margin-left: auto;
}
.benefits-card-marquee {
  margin-top: 54px;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}
.benefits-card-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: benefits-card-marquee 48s linear infinite;
}
.benefits-card-group {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}
.benefits-card-group article {
  display: grid;
  grid-template-rows: 104px auto auto;
  align-content: start;
  width: 260px;
  min-height: 280px;
  padding: 32px 28px;
  color: #202529;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.benefits-card-group article:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}
.benefits-card-group .benefit-photo {
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #f1f2f0;
  box-shadow: 0 8px 22px rgba(20, 34, 31, 0.16);
}
.benefits-card-group .benefit-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.benefits-card-group b {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}
.benefits-card-group small {
  margin-top: 9px;
  color: #69716f;
  text-align: center;
  font-size: 11px;
  line-height: 1.65;
}
.benefits-illustrated .benefits-note {
  margin-top: 28px;
}
.benefits-instagram {
  line-height: 1.8;
}
.benefits-instagram a {
  display: inline-block;
  margin-left: 0.6em;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.benefits-card-marquee:hover .benefits-card-track {
  animation-play-state: paused;
}
@keyframes benefits-card-marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 620px) {
  .benefits-illustrated .benefits-heading,
  .benefits-illustrated .benefits-note {
    width: calc(100% - 48px);
  }
  .benefits-card-marquee {
    margin-top: 38px;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .benefits-card-track {
    animation-duration: 38s;
  }
  .benefits-card-group {
    gap: 12px;
    padding-right: 12px;
  }
  .benefits-card-group article {
    width: 220px;
    min-height: 245px;
    padding: 25px 20px;
    grid-template-rows: 88px auto auto;
  }
  .benefits-card-group .benefit-photo {
    width: 68px;
    height: 68px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .benefits-card-marquee {
    overflow-x: auto;
  }
  .benefits-card-track {
    animation: none;
  }
  .benefits-card-group[aria-hidden="true"] {
    display: none;
  }
}

/* Detailed corporate-sales role information. */
.sales-job-detail {
  margin-top: 88px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}
.sales-job-detail > header {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 18px 7vw;
  align-items: end;
}
.sales-job-detail > header span {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.sales-job-detail > header h3 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.sales-job-detail > header p {
  grid-column: 2;
  grid-row: 1/3;
  margin: 0;
  color: #cbd1d5;
  font-size: 13px;
  line-height: 2;
}
.sales-job-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 55px;
  border: 1px solid var(--line);
}
.sales-job-summary div {
  min-height: 145px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.sales-job-summary div:last-child {
  border-right: 0;
}
.sales-job-summary strong {
  display: block;
  font-size: clamp(25px, 2.7vw, 42px);
  line-height: 1;
}
.sales-job-summary small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}
.sales-job-accordions {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.sales-job-accordions details {
  border-bottom: 1px solid var(--line);
}
.sales-job-accordions summary {
  position: relative;
  padding: 28px 55px 28px 0;
  cursor: pointer;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  list-style: none;
}
.sales-job-accordions summary::-webkit-details-marker {
  display: none;
}
.sales-job-accordions summary i,
.sales-job-accordions summary i::after {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 1px;
  background: #fff;
  content: "";
}
.sales-job-accordions summary i::after {
  inset: 0;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
.sales-job-accordions details[open] summary i::after {
  transform: rotate(0);
}
.sales-detail-body {
  padding: 0 0 38px;
  color: #cbd1d5;
  font-size: 13px;
  line-height: 1.95;
}
.sales-detail-body > p {
  max-width: 900px;
}
.sales-detail-body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 25px 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}
.sales-detail-body ul li {
  padding: 17px 20px;
  background: #252b30;
}
.sales-detail-body ul {
  gap: 0 34px;
  padding: 0;
  border: 0;
  background: transparent;
}
.sales-detail-body ul li {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.sales-detail-body ul li:nth-child(-n + 2) {
  border-top: 1px solid var(--line);
}
.salary-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 25px;
}
.salary-examples p {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
}
.sales-condition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.sales-condition-grid dl {
  margin: 0;
  border-top: 1px solid var(--line);
}
.sales-condition-grid dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.sales-condition-grid dt {
  color: var(--muted);
}
.sales-condition-grid dd {
  margin: 0;
  color: #fff;
}
.selection-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 28px 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}
.selection-flow li {
  padding: 20px;
  background: #252b30;
}
.selection-flow b {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
}
.sales-detail-instagram {
  display: inline-flex;
  margin-top: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-weight: 700;
}
@media (max-width: 760px) {
  .sales-job-detail {
    margin-top: 65px;
    padding-top: 50px;
  }
  .sales-job-detail > header {
    grid-template-columns: 1fr;
  }
  .sales-job-detail > header h3,
  .sales-job-detail > header p {
    grid-column: auto;
    grid-row: auto;
  }
  .sales-job-summary {
    grid-template-columns: 1fr 1fr;
  }
  .sales-job-summary div:nth-child(2) {
    border-right: 0;
  }
  .sales-job-summary div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .sales-detail-body ul,
  .salary-examples,
  .sales-condition-grid {
    grid-template-columns: 1fr;
  }
  .sales-detail-body ul li:nth-child(2) {
    border-top: 0;
  }
  .selection-flow {
    grid-template-columns: 1fr 1fr;
  }
}

/* Two-tier editorial section headers: red marquee above oversized black title. */
.career-data,
.sales-job-summary {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
}
.career-page:not([class*="marquee-theme-"]) .career-marquee,
.career-page:not([class*="marquee-theme-"]) .career-marquee:nth-of-type(even) {
  color: #fff;
  background: #e34837;
}
.career-page .career-marquee-inline {
  z-index: 3;
  margin-bottom: -3px;
  border-bottom: 0;
  box-shadow: none;
  transform: scaleX(1.01);
}
.career-page .career-marquee-inline + .section-title {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: none;
  margin: 0 0 clamp(70px, 8vw, 125px) calc(50% - 50vw);
  padding: clamp(18px, 2.2vw, 32px) max(28px, 9vw) clamp(22px, 2.6vw, 38px);
  overflow: hidden;
  background: #171b1e;
  text-align: left;
}
.career-page .career-marquee-inline + .section-title h2 {
  font-family: Anton, Impact, "Arial Narrow", sans-serif;
  font-size: clamp(62px, 8.3vw, 132px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.career-page .career-marquee-inline + .section-title p {
  margin-top: 14px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
}
@media (max-width: 760px) {
  .career-page .career-marquee-inline + .section-title {
    margin-bottom: 65px;
    padding: 16px 22px 21px;
  }
  .career-page .career-marquee-inline + .section-title h2 {
    font-size: clamp(46px, 12.5vw, 64px);
    white-space: normal;
  }
  .career-page .career-marquee-inline + .section-title p {
    margin-top: 10px;
  }
}
/* Keep the English hero statement directly above the Japanese catch copy. */
.career-hero-copy {
  position: absolute;
  left: clamp(28px, 9vw, 150px);
  top: 68%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  transform: translateY(-42%);
}

.career-hero .career-hero-copy h1,
.career-hero .career-hero-copy p {
  position: static;
  inset: auto;
  margin: 0;
  transform: none;
}

.career-hero .career-hero-copy h1 {
  font-size: clamp(58px, 6.4vw, 104px);
  line-height: 0.92;
}

.career-hero .career-hero-copy h1 span {
  white-space: nowrap;
}

@media (max-width: 560px) {
  .career-hero-copy {
    left: 22px;
    right: 20px;
    top: 69%;
    gap: 18px;
  }

  .career-hero .career-hero-copy h1 {
    font-size: 9.5vw;
  }
}

/* SDGs section for the careers page. */
.recruit-sdgs-section {
  padding-top: clamp(90px, 11vw, 170px);
  padding-bottom: clamp(90px, 11vw, 170px);
  border-top: 1px solid var(--line);
  background: #20262b;
}
.recruit-sdgs-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  margin-top: 62px;
}
.recruit-sdgs-lead > p {
  max-width: 760px;
  margin: 0;
  color: #cbd1d5;
  font-size: 14px;
  line-height: 2.1;
}
.recruit-sdgs-icons {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-top: 64px;
}
.recruit-sdgs-icons img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
}
.recruit-sdgs-icons img:hover {
  transform: translateY(-8px);
  filter: brightness(1.08);
}
.recruit-sdgs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
  border: 1px solid var(--line);
}
.recruit-sdgs-grid article {
  min-height: 270px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}
.recruit-sdgs-grid article:last-child {
  border-right: 0;
}
.recruit-sdgs-grid span {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.recruit-sdgs-grid h3 {
  margin: 48px 0 17px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
}
.recruit-sdgs-grid p {
  margin: 0;
  color: #9da7a9;
  font-size: 12px;
  line-height: 1.9;
}
@media (max-width: 760px) {
  .recruit-sdgs-lead {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 42px;
  }
  .recruit-sdgs-lead .outline-button {
    width: 100%;
  }
  .recruit-sdgs-icons {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 42px;
  }
  .recruit-sdgs-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }
  .recruit-sdgs-grid article {
    min-height: 0;
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .recruit-sdgs-grid article:last-child {
    border-bottom: 0;
  }
  .recruit-sdgs-grid h3 {
    margin-top: 25px;
  }
}
/* Chapter flow and final recruitment polish — 2026-08-04 */
.career-page main {
  display: flex;
  flex-direction: column;
  overflow: clip;
}
.career-hero {
  order: 1;
}
.about-section {
  order: 2;
}
.positions-section {
  order: 3;
}
.interview-section {
  order: 4;
}
.work-section {
  order: 5;
}
.recruit-sdgs-section {
  order: 6;
}
.faq-section {
  order: 7;
}
.media-section {
  display: none !important;
}
.pre-apply-flow {
  order: 8;
}
.recruit-apply-section {
  order: 9;
}
.career-marquee-jp {
  order: 10;
}
.entry-section {
  order: 11;
}

/* Keep the strongest motion on chapter openings, and quieter motion on supporting chapters. */
.recruit-sdgs-section .career-marquee,
.work-section .career-marquee {
  --marquee-duration: 38s;
  opacity: 0.92;
}
.interview-section .career-marquee,
.positions-section .career-marquee {
  --marquee-duration: 26s;
}
.career-marquee > div {
  animation-duration: var(--marquee-duration, 30s);
}

/* Faster chapter marquees requested for the main recruitment sections. */
.about-section .career-marquee,
.work-section .career-marquee,
.interview-section .career-marquee,
.positions-section .career-marquee {
  --marquee-duration: 13s;
}

.story-profile {
  margin: 0.8rem 0 0 !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
}

.benefits-marquee-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.2rem auto 0.75rem;
  max-width: 1180px;
  padding: 0 1.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}
.benefits-marquee-tools button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 0.55rem 1rem;
  cursor: pointer;
  font: inherit;
  transition: 0.25s ease;
}
.benefits-marquee-tools button:hover,
.benefits-marquee-tools button[aria-pressed="true"] {
  background: #fff;
  color: #17211f;
}
.benefits-card-marquee {
  cursor: grab;
  overflow-x: auto;
  scrollbar-width: none;
  touch-action: pan-x;
}
.benefits-card-marquee::-webkit-scrollbar {
  display: none;
}
.benefits-card-marquee.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.benefits-card-marquee.is-paused .benefits-card-track,
.benefits-card-marquee.is-dragging .benefits-card-track {
  animation-play-state: paused !important;
}

.pre-apply-flow {
  padding-top: clamp(72px, 8vw, 120px) !important;
  padding-bottom: clamp(72px, 8vw, 120px) !important;
  background: #202625;
}
.pre-apply-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.pre-apply-steps li {
  position: relative;
  min-height: 150px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.pre-apply-steps li:last-child {
  border-right: 0;
}
.pre-apply-steps b {
  font:
    400 1rem/1 Anton,
    sans-serif;
  color: #fff;
}
.pre-apply-steps span {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
}
.pre-apply-note {
  max-width: 1180px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
}
.mobile-apply-cta {
  display: none;
}

/* Cohesive image treatment */
.about-visual img,
.culture-gallery img,
.story-rail img {
  filter: none !important;
  object-fit: cover;
  background: #151a19;
}
.culture-gallery article,
.story-rail article,
.about-visual {
  overflow: hidden;
}

@media (max-width: 767px) {
  .career-page {
    padding-bottom: 68px;
  }
  .positions-section {
    order: 3;
  }
  .interview-section {
    order: 4;
  }
  .work-section {
    order: 5;
  }
  .benefits-marquee-tools {
    padding: 0 20px;
    align-items: flex-start;
  }
  .benefits-marquee-tools span {
    max-width: 170px;
    text-align: right;
    line-height: 1.5;
  }
  .pre-apply-steps {
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
    padding: 0;
  }
  .pre-apply-steps li {
    min-height: 112px;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .pre-apply-steps li:nth-child(2) {
    border-right: 0;
  }
  .pre-apply-steps li:nth-child(n + 3) {
    border-bottom: 0;
  }
  .mobile-apply-cta {
    display: flex;
    position: fixed;
    z-index: 999;
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 54px;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #fff;
    color: #17211f;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  }
  .mobile-apply-cta i {
    font-style: normal;
    position: absolute;
    right: 18px;
  }
  .sales-job-accordions details:not([open]) .sales-detail-body {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .career-marquee > div,
  .benefits-card-track {
    animation: none !important;
  }
  .mobile-apply-cta {
    transition: none;
  }
}

/* Final responsive overrides: intentionally last in cascade. */
.entry-mobile-break {
  display: none;
}
@media (min-width: 901px) {
  .positions-section,
  .interview-section,
  .work-section,
  .recruit-sdgs-section {
    padding-top: clamp(64px, 6vw, 88px);
  }
  .position-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .position-cards article {
    padding: clamp(28px, 2.8vw, 42px);
  }
}
@media (max-width: 900px) {
  .career-section,
  .positions-section,
  .recruit-sdgs-section {
    padding-top: 56px;
    padding-bottom: 72px;
  }
  .career-page .career-marquee-inline + .section-title {
    margin-bottom: 48px;
  }
}
@media (max-width: 560px) {
  .entry-mobile-break {
    display: block;
  }
  .career-hero {
    height: min(150vw, 620px);
    min-height: min(150vw, 620px);
    background: #171b1e;
  }
  .about-section {
    padding-top: 0 !important;
  }
  .about-section > .career-marquee-inline {
    margin-top: 0 !important;
  }
  .career-hero > img {
    content: url("./assets/recruit-hero-eight-members-mobile-extended-20260804.png");
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.42);
    transform-origin: center center;
    animation: mobile-hero-team-reveal 2.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s
      forwards;
    will-change: transform;
  }
  .career-hero-copy {
    top: 104px;
    bottom: auto;
    transform: none;
    z-index: 3;
  }
  .career-hero .career-hero-copy h1 {
    font-size: clamp(35px, 9.2vw, 42px);
    line-height: 0.93;
  }
  .career-hero .career-hero-copy p {
    font-size: 11px;
  }
  .interview-intro {
    margin: 42px 0;
  }
  .interview-intro > p {
    font-size: 14px;
    line-height: 2;
  }
  .position-cards article {
    padding: 28px 22px;
  }
  .position-cards h3 {
    font-size: 24px;
  }
  .mobile-apply-cta {
    left: auto;
    right: 12px;
    width: 190px;
    height: 50px;
    border-radius: 999px;
    font-size: 13px;
  }
}

@keyframes mobile-hero-team-reveal {
  to {
    transform: scale(1);
  }
}

@media (max-width: 560px) and (prefers-reduced-motion: reduce) {
  .career-hero > img {
    animation: none;
    transform: scale(1);
  }
}

/* Finished-page marquee color studies. These classes are injected by the
   dedicated preview routes so every URL remains a stable, complete page. */
.career-page .career-marquee {
  background: #1a1d20 !important;
  color: #d9dde0 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -1px rgba(255, 255, 255, 0.12) !important;
}
.marquee-theme-emerald-ivory .career-marquee {
  background: #0d513f !important;
  color: #f4efe3 !important;
  box-shadow: none !important;
}
.marquee-theme-navy-champagne .career-marquee {
  background: #11283e !important;
  color: #dfc58f !important;
  box-shadow: none !important;
}
.marquee-theme-forest-sage .career-marquee {
  background: #183f35 !important;
  color: #cbd8c5 !important;
  box-shadow: none !important;
}
.marquee-theme-wine-cream .career-marquee {
  background: #722f3d !important;
  color: #f6ead7 !important;
  box-shadow: none !important;
}
.marquee-theme-charcoal-silver .career-marquee {
  background: #1a1d20 !important;
  color: #d9dde0 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -1px rgba(255, 255, 255, 0.12) !important;
}
.marquee-theme-copper-ivory .career-marquee {
  background: #a95339 !important;
  color: #fff3df !important;
  box-shadow: none !important;
}

/* Center the two highlighted outline-button labels; keep arrows on the right. */
.career-page .about-lead > .outline-button,
.career-page .recruit-sdgs-lead > .outline-button {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}
.career-page .outline-button > .outline-button-label {
  display: block;
  width: 100%;
  color: inherit;
  text-align: center;
}
.career-page .outline-button > .outline-button-arrow {
  position: absolute;
  right: 22px;
}

/* Keep the 01-04 panel grid exactly level with the adjacent team photo. */
.career-page .about-visual {
  height: clamp(480px, 46vw, 640px);
  min-height: 0;
  align-items: stretch;
}
.career-page .about-visual > .about-team-photo,
.career-page .about-visual > .about-links {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.career-page .about-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.career-page .about-links > a {
  min-width: 0;
  min-height: 0;
}

@media (max-width: 900px) {
  .career-page .about-visual {
    height: auto;
  }
  .career-page .about-visual > .about-team-photo,
  .career-page .about-visual > .about-links {
    height: auto;
    aspect-ratio: 1179 / 742;
  }
  .career-page .about-visual > .about-team-photo {
    object-fit: cover;
  }
  .career-page .about-links > a {
    padding: clamp(16px, 4vw, 24px);
  }
}

/* Keep the numbered navigation grid and prevent right-side overflow. */
.career-page .about-visual {
  height: auto;
  max-width: 100%;
  overflow: hidden;
}
.career-page .about-visual > .about-team-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1179 / 742;
  object-fit: cover;
}
.career-page .about-visual > .about-links {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Display the application heading as two lines; keep the Japanese title intact. */
.career-page .recruit-apply-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.career-page .recruit-apply-heading > span {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.career-page .recruit-apply-heading > h2 {
  margin: 0 0 25px;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .career-page .recruit-apply-heading {
    gap: 14px;
  }
  .career-page .recruit-apply-heading > span {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .career-page .recruit-apply-heading > h2 {
    font-size: clamp(34px, 10.5vw, 42px);
    letter-spacing: -0.06em;
  }

  /* ENTRY: reveal more of the left side of the team photo on phones. */
  .career-page .entry-section {
    background-position: 38% center;
  }
}
