/* ========================================
   募集職種詳細ページCSS
======================================== */

.recruit-job-detail {
  background-color: transparent;
}

/* ========================================
   CONTENT SECTION
======================================== */
.rjd-content {
  background-color: transparent;
  padding: 60px 40px 100px;
}

.rjd-content__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 80px;
  background-color: var(--color-white);
}

.rjd-content__title {
  font-family: var(--recruit-font-family);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-black);
  margin: 0 0 40px;
}

.rjd-content__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 50px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border-thin);
  position: relative;
}

.rjd-content__row::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 160px;
  height: 1px;
  background-color: var(--recruit-primary);
}

/* 最後の行は下線なし */
.rjd-content__row:last-child {
  border-bottom: none;
}

.rjd-content__row:last-child::after {
  display: none;
}

.rjd-content__label {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
  padding-top: 4px;
}

.rjd-content__value {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-black);
}

.rjd-content__value ul {
  margin: 8px 0;
  padding-left: 1.5em;
  list-style: disc;
}

.rjd-content__value ol {
  margin: 8px 0;
  padding-left: 1.5em;
  list-style: decimal;
}

.rjd-content__value li {
  margin-bottom: 4px;
}

.rjd-content__value a {
  color: var(--color-primary);
  text-decoration: underline;
}

.rjd-content__value a:hover {
  text-decoration: none;
}

/* ========================================
   選考フロー
======================================== */
.rjd-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 300px;
}

.rjd-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rjd-flow__step-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background-color: var(--color-border-light);
  color: var(--color-black);
  font-family: var(--recruit-font-family);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

/* 最終ステップ（内定など） */
.rjd-flow__step-box--final {
  background-color: var(--recruit-primary);
  color: var(--color-white);
}

.rjd-flow__step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 35px;
  color: var(--color-black);
  font-size: 12px;
  line-height: 1;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1023px) {
  .rjd-content {
    padding: 40px 30px 80px;
  }

  .rjd-content__inner {
    padding: 40px 50px;
  }

  .rjd-content__title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .rjd-content__row {
    grid-template-columns: 140px 1fr;
    gap: 30px;
    padding: 30px 0;
  }

  .rjd-content__row::after {
    width: 140px;
  }

  .rjd-content__label {
    font-size: 15px;
  }

  .rjd-content__value {
    font-size: 15px;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 767px) {
  .rjd-content {
    padding: 30px 20px 60px;
  }

  .rjd-content__inner {
    padding: 30px 20px;
  }

  .rjd-content__title {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .rjd-content__row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 0;
  }

  .rjd-content__row::after {
    width: 100px;
  }

  .rjd-content__label {
    font-size: 14px;
    padding-top: 0;
  }

  .rjd-content__value {
    font-size: 14px;
    line-height: 1.85;
  }

  .rjd-flow {
    width: 100%;
  }

  .rjd-flow__step-box {
    height: 45px;
    font-size: 15px;
  }
}
