.training-hero {
  --subpage-hero-height: 633px;
  --subpage-hero-panel-width: 686px;
  --subpage-hero-image: url("../assets/images/recruit/training/training-hero.webp");
  --subpage-hero-image-top: -5px;
  --subpage-hero-divider-shift: var(--store-hero-divider-shift, -49px);
  --subpage-hero-image-size: var(--store-hero-image-size, auto 133%);
  --subpage-hero-overlay: none;
  --subpage-hero-mobile-overlay: none;
  --subpage-hero-title-font-size: 54px;
  --subpage-hero-title-line-height: 70px;
  --subpage-hero-divider-after-bottom: 170px;
  --subpage-hero-divider-after-height: 230px;
}

.training-hero .subpage-hero__image {
  transform: scaleX(-1);
}

.training-hero__stats {
  width: min(1180px);
  max-width: none;
  height: auto;
  margin-top: 6px;
  z-index: 4;
  filter: drop-shadow(8px 8px 0 rgba(65, 49, 30, 0.18));
}

.training-intro {
  padding: 176px 0 140px;
  background: var(--color-bg-light);
}

.training-intro h2 {
  color: var(--color-text-primary);
  font-family: var(--font-yu);
  font-size: 48px;
  font-weight: 700;
  line-height: 51.2px;
  letter-spacing: 1.28px;
}

.training-intro p {
  width: 1024px;
  margin: 71px 0 0;
  color: var(--color-text-primary);
  font-family: var(--font-yu);
  font-size: 18px;
  font-weight: 700;
  line-height: 47px;
}

.technical-interview {
  position: relative;
  min-width: 1180px;
  padding: 132px 0 108px;
  overflow: hidden;
  background: var(--gradient-gold);
}

.technical-interview__inner {
  position: relative;
  width: 1200px;
  margin-inline: auto;
}

.training-display-word {
  position: absolute;
  z-index: 0;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 1.28px;
  pointer-events: none;
  user-select: none;
}

.technical-interview .training-display-word {
  top: 68px;
  left: -12px;
}

.section-heading span {
  display: block;
  color: var(--color-text-primary);
  font-family: var(--font-yu);
  font-size: 18px;
  font-weight: 500;
  line-height: 23.68px;
}

.technical-interview .section-heading__eyebrow,
.technical-interview .section-heading span {
  color: #fff;
}

.technical-interview__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 560px 420px;
  align-items: center;
  justify-content: center;
  gap: 95px;
  min-height: 328px;
  margin-top: 49px;
  padding: 70px 64px;
  background: #fff;
  box-shadow: var(--shadow-card-brown);
}

.technical-interview video {
  display: block;
  width: 560px;
  height: 315px;
  background: #000;
  object-fit: cover;
}

.technical-interview ul {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.technical-interview li {
  position: relative;
  min-height: 44px;
  padding: 12px 22px 10px 55px;
  color: var(--color-text-primary);
  font-family: var(--font-yu);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  background: #fff;
  border: 1px solid rgba(196, 168, 130, 0.5);
  border-radius: 4px;
  box-shadow: 5px 5px 0 rgba(196, 168, 130, 0.38);
}

.technical-interview li::before {
  position: absolute;
  top: 13px;
  left: 20px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-gold);
  content: "";
}

.technical-interview li::after {
  position: absolute;
  top: 13px;
  left: 27px;
  width: 7px;
  height: 16px;
  border-right: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  content: "";
  transform: rotate(42deg);
}

.debut-flow {
  padding: 156px 0 143px;
  background: var(--color-bg-light);
}

.debut-flow__panel {
  margin-top: 57px;
  padding: 33px 43px;
}

.debut-flow__panel img {
  display: block;
  width: 100%;
  height: auto;
}

.debut-flow__panel picture {
  display: block;
}

.training-scenes {
  position: relative;
  min-width: 1180px;
  padding: 133px 0 86px;
  overflow: hidden;
  background: #fff;
}

.training-scenes::before {
  position: absolute;
  inset: 0;
  background: url("../assets/images/about-hero.webp") center / cover no-repeat;
  opacity: 0.3;
  content: "";
}

.training-scenes__inner {
  position: relative;
  z-index: 1;
  width: 1200px;
  margin-inline: auto;
}

.training-scenes__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 640px 500px;
  align-items: center;
  gap: 43px;
  margin-top: 55px;
}

.training-scenes video {
  display: block;
  width: 640px;
  height: 400px;
  object-fit: cover;
  background: #000;
}

.training-scenes__layout img {
  display: block;
  width: 500px;
  height: auto;
}

.training-curriculum {
  position: relative;
  min-width: 1180px;
  padding: 117px 0 116px;
  overflow: hidden;
  background: var(--gradient-gold);
}

.training-curriculum .container {
  position: relative;
}

.training-display-word--curriculum {
  top: 54px;
  left: 446px;
}

.training-curriculum__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 580px);
  gap: 60px;
  margin-top: 67px;
}

.training-curriculum-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 580px;
  height: 370px;
  background: #fff;
  box-shadow: var(--shadow-card-brown);
}

.training-curriculum-card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 522px;
}

.training-curriculum-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-family: var(--font-yu);
  font-size: 30px;
  font-weight: 700;
  line-height: 23.68px;
  white-space: nowrap;
}

.training-curriculum-card__icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.training-curriculum-card__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.training-curriculum-card ul {
  margin: 0;
  padding: 0;
  color: var(--color-text-primary);
  font-family: var(--font-yu);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  list-style: none;
  white-space: nowrap;
}

.training-curriculum-card li::before {
  content: "・";
}

.training-curriculum-card__photo {
  width: 348px;
  height: 232px;
  object-fit: cover;
}

.after-debut {
  min-width: 1180px;
  padding: 138px 0 126px;
  color: #fff;
  background:
    linear-gradient(rgba(55, 39, 23, 0.74), rgba(55, 39, 23, 0.74)),
    url("../assets/images/recruit/training/after-debut-bg.webp") center / cover no-repeat;
}

.after-debut__inner {
  width: 1200px;
  margin-inline: auto;
  text-align: center;
}

.after-debut h2 {
  font-family: var(--font-yu);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1.28px;
}

.after-debut__items {
  display: grid;
  grid-template-columns: repeat(5, 150px);
  justify-content: center;
  gap: 59px;
  margin-top: 65px;
}

.after-debut__items article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  width: 150px;
  height: 150px;
  border-radius: 12px;
  color: var(--color-accent);
  background: #fff;
  box-shadow: var(--shadow-card-gold);
}

.after-debut__items img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.after-debut__items span {
  font-family: var(--font-yu);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.training-seniors {
  padding: 102px 0 118px;
  background: var(--color-bg-light);
}

.training-seniors__grid {
  display: grid;
  grid-template-columns: repeat(2, 550px);
  justify-content: center;
  gap: 100px;
  margin-top: 67px;
}

.training-senior-card {
  display: grid;
  grid-template-columns: 158.67px 204.76px;
  align-items: center;
  justify-content: center;
  gap: 55px;
  width: 550px;
  height: 350px;
  background: #fff;
  box-shadow: var(--shadow-card-gold);
}

.training-senior-card .shared-staff-card__role {
  display: none;
}

.training-senior-card__story {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.training-senior-card p,
.training-senior-card strong {
  display: block;
  font-family: var(--font-yu);
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
}

.training-senior-card__arrow {
  display: block;
  width: 19px;
  height: 15px;
  transform: rotate(90deg);
}

.training-senior-card strong {
  color: var(--color-accent);
  font-size: 25px;
  line-height: 23.68px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .recruit-training-page .container,
  .technical-interview__inner,
  .training-scenes__inner,
  .after-debut__inner {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    padding-inline: 20px;
    box-sizing: border-box;
    min-width: 0;
  }


  .training-hero {
  width: 100%;
  height: 393px;
  margin-inline: auto;
    --subpage-hero-logo-width: 72px;
    --subpage-hero-title-font-size: 30px;
    --subpage-hero-title-line-height: 40px;
    --subpage-hero-title-letter-spacing: 0.8px;
    --subpage-hero-lead-font-size: 13px;
    --subpage-hero-lead-font-weight: 700;
    --subpage-hero-lead-line-height: 23px;
  }

  .training-hero .subpage-hero__image {
    background-position: 48% center;
    background-size: cover;
  }

  .training-hero .subpage-hero__panel {
    gap: 18px;
    padding: 44px 20px 28px;
  }

  .training-hero .subpage-hero__logo,
  .training-hero h1 {
    margin-top: 0;
  }

  .training-hero p {
    width: 100%;
  }

  .training-hero__stats {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-inline: auto;
  }

  .training-intro {
    padding: 64px 0;
  }

  .training-intro h2 {
    font-size: 29px;
    line-height: 1.35;
    letter-spacing: 0.6px;
  }

  .training-intro p {
    width: 100%;
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.9;
  }

  .technical-interview,
  .training-scenes,
  .training-curriculum,
  .after-debut {
    min-width: 0;
  }

  .technical-interview {
    padding: 64px 0;
  }

  .technical-interview .training-display-word {
    top: 75px;
    left: 15px;
    font-size: 70px;
    color: rgba(255, 255, 255, 0.15);
  }

  .section-heading span {
    font-size: 13px;
    line-height: 22px;
  }

  .technical-interview__panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    margin-top: 30px;
    padding: 18px;
    box-shadow: var(--shadow-card-brown);
  }

  .technical-interview video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .technical-interview ul {
    width: 100%;
    gap: 12px;
  }

  .technical-interview li {
    min-height: 42px;
    padding: 11px 14px 10px 48px;
    font-size: 13px;
    line-height: 20px;
  }

  .technical-interview li::before {
    top: 11px;
    left: 17px;
  }

  .technical-interview li::after {
    top: 11px;
    left: 24px;
  }

  .debut-flow {
    padding: 64px 0;
  }

  .debut-flow__panel {
    margin-top: 30px;
    padding: 0;
  }

  .training-scenes {
    padding: 64px 0;
  }

  .training-scenes__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
  }

  .training-scenes video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .training-scenes__layout img {
    width: 100%;
  }

  .training-curriculum {
    padding: 64px 0;
  }

  .training-curriculum-card__content {
    justify-content: space-between;
    gap: 7px;
}
  .training-display-word--curriculum {
    top: 44px;
    left: 22px;
    font-size: 70px;
    color: rgba(255, 255, 255, 0.15);}

  .training-curriculum__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .training-curriculum-card {
    width: 100%;
    height: auto;
    padding: 18px;
    box-shadow: var(--shadow-card-brown);
  }




  .training-curriculum-card h3 {
    gap: 10px;
    font-size: 20px;
    line-height: 1.4;
  }

  .training-curriculum-card__icon {
    width: 48px;
    height: 48px;
  }


  .training-curriculum-card__photo {
    flex: 0 0 170px;
    width: 170px;
    height: 185px;
  }

  .training-curriculum-card ul {
    min-width: 0;
    font-size: 16px;
    white-space: normal;
  }

  .after-debut {
    padding: 64px 0;
  }

  .after-debut h2 {
    font-size: 27px;
    line-height: 1.45;
    letter-spacing: 0.6px;
  }

  .after-debut__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
  }

  .after-debut__items article {
    width: 102px;
    height: 118px;
    gap: 9px;
    border-radius: 10px;
  }

  .after-debut__items img {
    width: 48px;
    height: 48px;
  }

  .after-debut__items span {
    font-size: 11px;
    line-height: 1.4;
  }

  .training-seniors {
    padding: 64px 0;
  }

  .training-seniors__grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 30px;
  }

  .training-senior-card {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    height: auto;
    min-height: 205px;
    padding: 22px;
  }

  .training-senior-card .shared-staff-card {
    width: 116px;
    gap: 18px;
  }

  .training-senior-card .shared-staff-card__image {
    width: 116px;
    height: 116px;
  }

  .training-senior-card .shared-staff-card h3 {
    width: 121px;
    font-size: 18px;
    line-height: 23px;
    text-align: left;
  }

  .training-senior-card__story {
    gap: 8px;
  }

  .training-senior-card p,
  .training-senior-card strong {
    font-size: 13px;
    line-height: 1.45;
  }

  .training-senior-card strong {
    font-size: 15px;
    line-height: 1.45;
    white-space: normal;
  }

  .training-senior-card__arrow {
    width: 12px;
    height: 9px;
  }
}
