.join-page {
  --join-blue: #072880;
  --join-orange: #f6b030;
  --join-copy: #888888;
}

.join-page main { overflow: hidden; }
.join-page .section_title { font-size: 32px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.join-hero {
  position: relative;
  height: 540px;
  color: #fff;
  overflow: hidden;
}
.join-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.join-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 40, 128, .28), rgba(7, 40, 128, 0) 50%);
}
.join-hero__title {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 232px;
  transform: translateX(-50%);
}
.join-hero__title.reveal-left { transform: translate(-50%, 0) translateX(-80px); }
.join-hero__title.reveal-left.is-visible { transform: translateX(-50%); }
.join-hero__title h1,
.join-hero__title p {
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 58px;
}
.join-hero__title p { margin-top: 20px; }

.prospect-section {
  position: relative;
  height: 965px;
  overflow: visible;
  background: #fff;
}
.prospect-section__inner {
  position: relative;
  height: 989px;
  padding-top: 3%;
}
.prospect-visual {
  position: absolute;
  z-index: 1;
  left: 427px;
  top: 8%;
  width: 666px;
  height: 888px;
  object-fit: contain;
}
.prospect-stat {
  position: absolute;
  z-index: 2;
  width: 579px;
  height: 202px;
}
.prospect-stat--left { left: 0; }
.prospect-stat--right { right: 0; text-align: right; }
.prospect-stat--top { top: 18%; }
.prospect-stat--bottom { top: 561px; }
.prospect-stat__head {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 80px;
}
.prospect-stat--right .prospect-stat__head { justify-content: flex-end; }
.prospect-stat__head strong {
  display: flex;
  width: 119px;
  height: 72px;
  flex: 0 0 119px;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  color: #fff;
  background: var(--join-blue);
  font-weight: 700;
}
.prospect-stat__head strong > span { font-size: 32px; line-height: 1; }
.prospect-stat--left .prospect-stat__head strong {
  background: transparent url("assets/join/join-back-left.png") center / 100% 100% no-repeat;
}
.prospect-stat--right .prospect-stat__head strong {
  background: transparent url("assets/join/join-back-right.png") center / 100% 100% no-repeat;
}
.prospect-stat__head small {
  margin: 0 0 0 4px;
  font-size: 24px;
  line-height: 1;
}
.prospect-stat h3 {
  display: flex;
  height: 100%;
  align-items: center;
  margin: 0;
  color: var(--join-blue);
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
}
.prospect-stat p {
  width: 369px;
  margin: 20px 0 0;
  color: var(--join-copy);
  font-size: 16px;
  line-height: 32px;
}
.prospect-stat--right p { margin-left: auto; text-align: left; }
.prospect-stat i {
  position: absolute;
  left: 0;
  right: 19px;
  bottom: 8px;
  height: 4px;
  background: var(--join-orange);
  transform-origin: left center;
}
.prospect-stat i::after {
  content: "";
  position: absolute;
  right: -19px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--join-orange);
  transform: translateY(-50%);
}
.prospect-stat--right i {
  left: 19px;
  right: 0;
  transform-origin: right center;
}
.prospect-stat--right i::after { left: -19px; right: auto; }

.join-future { height: 600px; }
.join-future h2 { display: flex; justify-content: center; flex-wrap: wrap; }
.join-future h2,
.join-future h3 { letter-spacing: 5px; }
.join-future h2 strong { font-weight: 700; }

.pain-section {
  height: 659px;
  padding-top: 90px;
  padding-bottom: 90px;
  background: #fff;
}
.pain-section__inner { height: 479px; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 91px;
  margin-top: 80px;
}
.pain-card {
  height: 348px;
  min-width: 0;
  padding: 30px 36px 28px;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 24px;
  outline: none;
  background: #eff8ff;
  transition: opacity .8s var(--ease) var(--sequence-delay, 0ms), transform .9s var(--ease) var(--sequence-delay, 0ms), border-color .25s ease, box-shadow .25s ease;
}
.pain-card:hover,
.pain-card:focus-visible {
  border-color: var(--join-blue);
  box-shadow: 0 18px 40px rgba(7, 40, 128, .08);
}
.pain-card strong {
  display: block;
  color: var(--join-blue);
  font-size: 64px;
  line-height: 102px;
  font-weight: 700;
}
.pain-card h3 {
  margin: 16px 0 18px;
  color: var(--join-blue);
  font-size: 24px;
  line-height: 35px;
  font-weight: 700;
  white-space: nowrap;
}
.pain-card p {
  margin: 0;
  color: var(--join-copy);
  font-size: 16px;
  line-height: 32px;
}
.pain-card > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease) calc(var(--sequence-delay, 0ms) + 90ms), transform .8s var(--ease) calc(var(--sequence-delay, 0ms) + 90ms);
}
.join-sequence.is-visible .pain-card > * { opacity: 1; transform: none; }

.solution-section {
  height: 778px;
  background: #fff;
}
.solution-section__inner { height: 688px; }
.solution-list { margin-top: 80px; }
.solution-row {
  position: relative;
  display: grid;
  grid-template-columns: 525px minmax(0, 800px);
  min-height: 159px;
  padding: 0 155px 0 40px;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 1.1s ease var(--sequence-delay, 0ms), clip-path 1.6s var(--ease) var(--sequence-delay, 0ms);
}
.solution-row + .solution-row { margin-top: 40px; }
.solution-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #e4e4e4;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.5s var(--ease) calc(var(--sequence-delay, 0ms) + 180ms);
}
.solution-row > strong {
  color: var(--join-blue);
  font-size: 56px;
  line-height: 81px;
  font-weight: 400;
}
.solution-row h3 {
  margin: 7px 0 12px;
  color: var(--join-blue);
  font-size: 24px;
  line-height: 35px;
  font-weight: 700;
}
.solution-row p {
  max-width: 800px;
  margin: 0;
  color: var(--join-copy);
  font-size: 16px;
  line-height: 32px;
}
.join-sequence.is-visible .solution-row { opacity: 1; clip-path: inset(0); }
.join-sequence.is-visible .solution-row::after { transform: scaleX(1); }

.cooperation-section { height: auto; padding-bottom: 100px; background: #fff; }
.cooperation-section__inner {
  height: auto;
}
.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 94px;
}
.cooperation-grid img {
  width: 748px;
  height: 2428px;
  object-fit: contain;
}

.application-section {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: #eef8ff url("assets/join/contact-bg.jpg") center / cover no-repeat;
}
.application-section__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.02) 52%, rgba(238,248,255,.18));
}
.application-section__inner {
  position: relative;
  z-index: 1;
  height: 100%;
}
.application-copy {
  position: absolute;
  left: 0;
  top: 185px;
  width: 490px;
}
.application-copy > img {
  width: 278px;
  height: 80px;
  object-fit: contain;
}
.application-copy h2 {
  margin: 14px 0 0;
  color: var(--join-blue);
  font-size: 32px;
  line-height: 64px;
  font-weight: 500;
  white-space: nowrap;
}
.application-copy i {
  display: block;
  width: 62px;
  height: 4px;
  margin-top: 24px;
  background: var(--join-blue);
}
.application-copy p {
  margin: 30px 0 0;
  color: var(--join-copy);
  font-size: 16px;
  line-height: 32px;
  text-align: justify;
}
.application-form {
  position: absolute;
  right: 0;
  top: 95px;
  width: 792px;
  height: 510px;
  padding: 56px 54px;
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(7, 40, 128, .08);
}
.application-form__row {
  display: grid;
  gap: 20px;
}
.application-form__row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.application-form__row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}
.application-form label { display: block; }
.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  color: var(--join-blue);
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  outline: none;
  background: #fff;
  font-size: 18px;
  line-height: 32px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.application-form input {
  height: 64px;
  padding: 15px 20px;
}
.application-form select {
  width: 100%;
  height: 64px;
  padding: 15px 48px 15px 20px;
  color: #8d96ab;
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #8d96ab 50%), linear-gradient(135deg, #8d96ab 50%, transparent 50%);
  background-position: calc(100% - 21px) 28px, calc(100% - 15px) 28px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.application-form select.has-value { color: var(--join-blue); }
.application-form select:disabled { cursor: not-allowed; background-color: #f7f8fb; opacity: 1; }
.application-form textarea {
  height: 146px;
  margin-top: 20px;
  padding: 10px 20px;
  resize: none;
}
.application-form input::placeholder,
.application-form textarea::placeholder { color: #8d96ab; opacity: 1; }
.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--join-blue);
  box-shadow: 0 0 0 3px rgba(7, 40, 128, .08);
}
.application-form button {
  width: 100%;
  height: 64px;
  margin-top: 16px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--join-blue);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.application-form button:hover,
.application-form button:focus-visible { background: #0d3aa3; transform: translateY(-2px); }
.application-form__status {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 15px;
  margin: 0;
  color: var(--join-blue);
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

.sequence-item {
  opacity: 0;
  transition: opacity .8s var(--ease) var(--sequence-delay, 0ms), transform .9s var(--ease) var(--sequence-delay, 0ms);
}
.sequence-up { transform: translateY(64px); }
.sequence-left { transform: translateX(-80px); }
.sequence-right { transform: translateX(80px); }
.join-sequence.is-visible .sequence-item { opacity: 1; transform: none; }

@media (max-width: 1500px) {
  .prospect-visual { left: 28.1%; width: 43.8%; }
  .prospect-stat { width: 38.1%; }
  .prospect-stat p { width: 72%; }
  .pain-grid { gap: clamp(28px, 5.9vw, 91px); }
  .solution-row { grid-template-columns: 34.5% minmax(0, 1fr); padding-right: 10%; }
  .cooperation-grid img { width: 100%; height: auto; }
  .application-copy { width: 32.2%; }
  .application-copy h2 { font-size: clamp(25px, 2.1vw, 32px); }
  .application-form { width: 52.1%; }
}

@media (max-width: 1100px) {
  .join-hero { height: min(520px, 58vw); min-height: 380px; }
  .join-hero__title { top: 42%; }
  .prospect-section { height: auto; }
  .prospect-section__inner { height: auto; padding-block: 72px; }
  .prospect-visual {
    position: relative;
    left: auto;
    top: auto;
    width: min(520px, 70%);
    height: auto;
    margin: 40px auto 20px;
  }
  .prospect-stat {
    position: relative;
    inset: auto;
    width: 100%;
    height: 202px;
    margin-top: 36px;
  }
  .prospect-stat--right { text-align: left; }
  .prospect-stat--right .prospect-stat__head { justify-content: flex-start; }
  .prospect-stat--right .prospect-stat__head h3 { order: 2; }
  .prospect-stat--right .prospect-stat__head strong { order: 1; }
  .prospect-stat--right p { margin-left: 0; }
  .prospect-stat--right i { left: 0; right: 19px; transform-origin: left center; }
  .prospect-stat--right i::after { left: auto; right: -19px; }
  .pain-section { height: auto; padding-block: 72px; }
  .pain-section__inner { height: auto; }
  .pain-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 52px; }
  .pain-card { height: 348px; }
  .solution-section { height: auto; padding-bottom: 72px; }
  .solution-section__inner { height: auto; }
  .solution-list { margin-top: 52px; }
  .solution-row { grid-template-columns: 150px 1fr; padding: 0 28px; }
  .cooperation-section { height: auto; padding-bottom: 100px; }
  .cooperation-section__inner { height: auto; }
  .cooperation-grid { margin-top: 52px; }
  .application-section { height: auto; padding-block: 72px; background-position: 70% center; }
  .application-section__inner { display: grid; grid-template-columns: 1fr; gap: 48px; height: auto; }
  .application-copy,
  .application-form { position: relative; inset: auto; width: 100%; }
  .application-copy { max-width: 620px; }
  .application-form { height: 510px; }
}

@media (max-width: 700px) {
  .join-hero { height: 400px; }
  .join-hero__title h1,
  .join-hero__title p { font-size: 34px; line-height: 48px; }
  .join-hero__title p { margin-top: 10px; }
  .prospect-stat__head { gap: 16px; }
  .prospect-stat__head { height: 72px; }
  .prospect-stat__head strong { width: 119px; height: 72px; flex-basis: 119px; padding-bottom: 20px; }
  .prospect-stat h3 { font-size: 26px; }
  .prospect-stat p { width: 86%; }
  .join-future h2 { font-size: 34px; }
  .pain-card { padding-inline: 24px; }
  .pain-card h3 { white-space: normal; }
  .solution-row { grid-template-columns: 92px 1fr; padding-inline: 18px; }
  .cooperation-grid { grid-template-columns: 1fr; gap: 24px; }
  .application-copy h2 { white-space: normal; }
}

@media (max-width: 500px) {
  .join-page .page-shell { width: calc(100% - 32px); }
  .join-page .section_title { font-size: 32px; }

  .join-hero { height: 330px; min-height: 330px; }
  .join-hero > img { object-position: 56% center; }
  .join-hero__title { top: 103px; }
  .join-hero__title h1,
  .join-hero__title p { font-size: 32px; line-height: 46px; }

  .prospect-section__inner { padding-block: 58px; }
  .prospect-visual { width: 92%; margin-top: 34px; }
  .prospect-stat { height: auto; min-height: 218px; margin-top: 30px; }
  .prospect-stat__head { height: 72px; }
  .prospect-stat__head strong {
    width: 119px;
    height: 72px;
    flex-basis: 119px;
    padding-bottom: 20px;
  }
  .prospect-stat__head small { font-size: 20px; }
  .prospect-stat h3 { font-size: 26px; }
  .prospect-stat p { width: calc(100% - 18px); margin-top: 18px; font-size: 16px; line-height: 32px; }
  .prospect-stat i { bottom: 4px; }

  .join-future { height: auto; min-height: 380px; padding: 60px 16px; }
  .join-future .future__copy { width: 100%; min-width: 0; }
  .join-future h2 {
    display: flex;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    font-size: clamp(22px, 6.8vw, 28px);
    line-height: 1.6;
    letter-spacing: 1px;
    white-space: normal;
  }
  .join-future h3 {
    max-width: 100%;
    font-size: clamp(18px, 5.3vw, 24px);
    letter-spacing: 1px;
  }

  .pain-section { padding-block: 58px; }
  .pain-grid { margin-top: 44px; }
  .pain-card { height: auto; min-height: 348px; padding: 30px 18px 28px; }
  .pain-card strong { font-size: 58px; }
  .pain-card h3 { font-size: 23px; line-height: 35px; }
  .pain-card p { font-size: 16px; line-height: 32px; }

  .solution-section { padding-bottom: 58px; }
  .solution-list { margin-top: 44px; }
  .solution-row {
    display: block;
    min-height: 0;
    padding: 0 0 30px;
  }
  .solution-row + .solution-row { margin-top: 30px; }
  .solution-row > strong { font-size: 48px; line-height: 66px; }
  .solution-row h3 { margin: 8px 0 14px; font-size: 23px; line-height: 35px; }
  .solution-row p { font-size: 16px; line-height: 32px; }

  .cooperation-section { padding-bottom: 100px; }
  .cooperation-grid { margin-top: 44px; }

  .application-section { padding-block: 58px; background-position: 72% center; }
  .application-section__inner { gap: 40px; }
  .application-copy > img { width: 222px; height: 64px; }
  .application-copy h2 { margin-top: 16px; font-size: 28px; line-height: 48px; }
  .application-copy p { font-size: 16px; line-height: 32px; text-align: left; }
  .application-form { height: auto; padding: 28px 20px 54px; border-radius: 20px; }
  .application-form__row { grid-template-columns: 1fr; gap: 14px; }
  .application-form__row--three { margin-top: 14px; }
  .application-form input,
  .application-form select { height: 58px; font-size: 16px; }
  .application-form select { background-position: calc(100% - 21px) 25px, calc(100% - 15px) 25px; }
  .application-form textarea { height: 132px; margin-top: 14px; font-size: 16px; }
  .application-form button { height: 58px; margin-top: 14px; font-size: 16px; }
  .application-form__status { left: 20px; right: 20px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .sequence-item,
  .solution-row,
  .solution-row::after,
  .pain-card > * { transition: none; }
  .sequence-item,
  .solution-row,
  .pain-card > * { opacity: 1; transform: none; clip-path: none; }
  .solution-row::after { transform: none; }
}
