/* ============================================================
   RECRUIT PAGE — taiho-hp-frontend
   ============================================================ */

/* Hero */
.recruit-hero {
  position: relative;
  min-height: 440px;
  display: grid;
  align-content: end;
  overflow: hidden;
  background: var(--color-black);
}

.recruit-hero__image {
  position: absolute;
  inset: 0;
  margin: 0;
}

.recruit-hero__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.006) 0 1px, transparent 1px 8px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.54) 0, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.02) 40%, rgba(0, 0, 0, 0.46));
}

.recruit-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.72) saturate(0.38) contrast(1.14) brightness(0.88);
}

.recruit-hero__copy {
  position: relative;
  z-index: 2;
  padding: 96px var(--space-side) 68px;
  color: var(--color-white);
}

.recruit-hero__copy .section-kicker {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.recruit-hero__copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: var(--weight-heavy);
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.36);
}

.recruit-hero__breadcrumb {
  position: absolute;
  top: 32px;
  left: var(--space-side);
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-en);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  word-spacing: 0.12em;
}

.recruit-hero__breadcrumb a {
  color: inherit;
  transition: color 160ms;
}

.recruit-hero__breadcrumb a:hover {
  color: var(--color-white);
}

.recruit-hero__breadcrumb .sep {
  opacity: 0.48;
}

/* Message Section */
.recruit-message {
  display: grid;
  grid-template-columns: minmax(340px, 42%) 1fr;
  min-height: 400px;
}

.recruit-message__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  padding: 68px var(--section-pad);
  background-color: var(--color-red);
  background-image: linear-gradient(135deg, rgba(214, 0, 0, 0.99), rgba(196, 0, 0, 0.99));
  color: var(--color-white);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.14);
}

.recruit-message__panel .section-kicker {
  color: var(--color-white);
}

.recruit-message__panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: var(--weight-heavy);
  line-height: 1.28;
}

.recruit-message__panel .outline-word {
  position: absolute;
  top: -12px;
  left: 20px;
  color: transparent;
  font-family: var(--font-en);
  font-size: 8.6rem;
  font-weight: 500;
  line-height: 0.9;
  opacity: 0.38;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.46);
  text-transform: uppercase;
}

.recruit-message__content {
  display: grid;
  align-content: center;
  padding: 68px var(--section-pad);
  background-color: var(--color-paper);
  background-image: var(--paper-texture);
}

.recruit-message__content p {
  margin: 0 0 1.6em;
  font-size: 0.96rem;
  font-weight: var(--weight-strong);
  line-height: 2.15;
  color: #2a2a28;
}

.recruit-message__content p:last-child {
  margin-bottom: 0;
}

.recruit-message__content .recruit-message__sign {
  margin-top: 2em;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
  font-size: 0.88rem;
  font-weight: var(--weight-heavy);
  color: var(--color-ink);
}

/* Requirements Section */
.recruit-requirements {
  padding: 80px 0 108px;
  background-color: var(--color-paper-2);
  background-image: var(--paper-texture);
}

.recruit-requirements__inner {
  width: min(100% - var(--space-side) * 2, 960px);
  margin-inline: auto;
}

.recruit-requirements__heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 46px;
}

.recruit-requirements__heading .section-kicker {
  margin: 0;
}

.recruit-requirements__heading strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: var(--weight-heavy);
  line-height: 1;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--color-ink);
}

.recruit-table tr {
  border-bottom: 1px solid rgba(16, 16, 16, 0.18);
}

.recruit-table tr:last-child {
  border-bottom: 2px solid var(--color-ink);
}

.recruit-table th {
  width: 200px;
  padding: 22px 32px 22px 0;
  vertical-align: top;
  text-align: left;
  font-size: 0.88rem;
  font-weight: var(--weight-heavy);
  color: var(--color-ink);
  white-space: nowrap;
}

.recruit-table th::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  content: "";
  background: var(--color-red);
  border-radius: 50%;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.recruit-table td {
  padding: 22px 0;
  font-size: 0.94rem;
  font-weight: var(--weight-strong);
  color: #2a2a28;
  line-height: 1.85;
}

.recruit-table td a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recruit-table td a:hover {
  color: var(--color-red-dark);
}

/* Application Note */
.recruit-note {
  margin-top: 42px;
  padding: 26px 30px;
  border-left: 5px solid var(--color-red);
  background: var(--color-white);
  font-size: 0.92rem;
  font-weight: var(--weight-strong);
  line-height: 1.9;
  color: #333;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .recruit-hero {
    min-height: 380px;
    margin-top: var(--header-height);
  }

  .recruit-hero__copy h1 {
    font-size: 3.1rem;
  }

  .recruit-message {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .recruit-hero {
    min-height: 310px;
  }

  .recruit-hero__copy {
    padding: 72px var(--space-side) 52px;
  }

  .recruit-hero__copy h1 {
    font-size: 2.5rem;
  }

  .recruit-message {
    grid-template-columns: 1fr;
  }

  .recruit-message__panel,
  .recruit-message__content {
    padding: 52px var(--space-side);
  }

  .recruit-requirements {
    padding: 56px 0 80px;
  }

  .recruit-table th {
    width: 130px;
    font-size: 0.82rem;
    padding-right: 16px;
  }

  .recruit-table td {
    font-size: 0.88rem;
  }
}

@media (max-width: 430px) {
  .recruit-hero__copy h1 {
    font-size: 2rem;
  }

  .recruit-message__panel h2 {
    font-size: 1.8rem;
  }

  .recruit-table {
    display: block;
  }

  .recruit-table tr {
    display: grid;
    padding: 16px 0;
  }

  .recruit-table th,
  .recruit-table td {
    padding: 4px 0;
    width: auto;
  }

  .recruit-table th {
    font-size: 0.78rem;
  }
}
