/* =========================
   RECRUIT PAGE
========================= */

.recruit-page {
  padding-top: 108px;
}


/* =========================
   HERO
========================= */

.recruit-hero {
  position: relative;

  min-height: 460px;

  background: #111;

  overflow: hidden;
}

.recruit-hero-image {
  position: absolute;
  inset: 0;
}

.recruit-hero-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.recruit-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.18)
    );
}

.recruit-hero-copy {
  position: relative;

  z-index: 2;

  width: min(1200px, calc(100% - 40px));

  min-height: 460px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: #ffffff;
}

.recruit-en {
  margin: 0 0 12px;

  color: var(--solid-red);

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 0.22em;
}

.recruit-hero h1 {
  margin: 0 0 20px;

  font-size: clamp(38px, 5vw, 60px);

  line-height: 1.2;
}

.recruit-message {
  margin: 0;

  font-size: clamp(18px, 2vw, 26px);

  line-height: 1.8;

  font-weight: 600;
}


/* =========================
   SECTION
========================= */

.recruit-section {
  padding: 90px 0;

  background: #ffffff;
}

.recruit-section-gray {
  background: #f7f7f7;
}

.recruit-container {
  width: min(1100px, calc(100% - 40px));

  margin: 0 auto;
}


/* =========================
   TITLE
========================= */

.recruit-section-title {
  margin-bottom: 36px;

  padding-left: 18px;

  border-left: 4px solid var(--solid-red);
}

.recruit-section-title span {
  display: block;

  margin-bottom: 8px;

  color: var(--solid-red);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.18em;
}

.recruit-section-title h2 {
  margin: 0;

  font-size: clamp(28px, 3vw, 38px);

  line-height: 1.3;
}


/* =========================
   INFO TABLE
========================= */

.recruit-info {
  border-top: 1px solid #dddddd;
}

.recruit-row {
  display: grid;

  grid-template-columns: 220px 1fr;

  border-bottom: 1px solid #dddddd;
}

.recruit-th {
  padding: 22px 20px;

  background: #fafafa;

  font-weight: 700;
}

.recruit-td {
  padding: 22px 26px;

  color: #444444;
}

.recruit-td ul {
  margin: 0;

  padding-left: 20px;
}

.recruit-td li {
  margin-bottom: 7px;
}

.recruit-td li:last-child {
  margin-bottom: 0;
}


/* =========================
   FLOW
========================= */

.recruit-flow-section {
  background: #f7f7f7;
}

.recruit-flow {
  display: grid;

  grid-template-columns:
    1fr auto
    1fr auto
    1fr auto
    1fr auto
    1fr;

  gap: 14px;

  align-items: center;

  margin-top: 45px;
}

.flow-item {
  min-height: 130px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  background: #ffffff;

  border-top: 3px solid var(--solid-red);

  text-align: center;
}

.flow-item span {
  margin-bottom: 10px;

  color: var(--solid-red);

  font-size: 12px;

  font-weight: 700;
}

.flow-item strong {
  font-size: 16px;
}

.flow-arrow {
  color: var(--solid-red);

  font-size: 24px;

  font-weight: 700;
}

.recruit-flow-note {
  margin-top: 32px;

  padding: 24px 28px;

  background: #ffffff;

  border-left: 4px solid var(--solid-red);
}

.recruit-flow-note p {
  margin: 0 0 8px;
}

.recruit-flow-note p:last-child {
  margin-bottom: 0;
}


/* =========================
   CONTACT
========================= */

.recruit-contact {
  margin-top: 50px;

  text-align: center;
}

.recruit-contact p {
  margin-bottom: 18px;
}

.recruit-contact-btn {
  display: inline-block;

  min-width: 200px;

  padding: 15px 28px;

  background: var(--solid-red);

  color: #ffffff;

  font-weight: 700;

  letter-spacing: 0.08em;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.recruit-contact-btn:hover {
  background: var(--solid-red-dark);

  transform: translateY(-1px);
}


/* 当前页面 */
.nav-current {
  color: var(--solid-red);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .recruit-page {
    padding-top: 76px;
  }

  .recruit-hero,
  .recruit-hero-copy {
    min-height: 380px;
  }

  .recruit-section {
    padding: 65px 0;
  }

  .recruit-row {
    grid-template-columns: 1fr;
  }

  .recruit-th {
    padding-bottom: 8px;

    background: transparent;

    color: var(--solid-red);
  }

  .recruit-td {
    padding-top: 4px;
  }

  .recruit-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);

    text-align: center;
  }

}

.recruit-top-photos {
  width: min(1100px, calc(100% - 40px));
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.recruit-top-photos img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.recruit-section-photo {
  max-width: 640px;
  margin: 30px auto 0;
}

.recruit-section-photo img {
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .recruit-top-photos {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1000px) {
  .recruit-section:not(.recruit-flow-section) .recruit-container {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;
  }

  .recruit-section:not(.recruit-flow-section) .recruit-container
    > .recruit-section-title,
  .recruit-section:not(.recruit-flow-section) .recruit-container
    > .section-ribbon {
    grid-column: 1 / -1;
  }

  .recruit-section:not(.recruit-flow-section) .recruit-container
    > .recruit-info {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }

  .recruit-section:not(.recruit-flow-section) .recruit-container
    > .recruit-section-photo {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}