.footer {
  margin: 0;
}

/* ===============================================
   Job Detail Page Styles
   =============================================== */

/* グラデーション定義 */
.gradient-text {
  background: linear-gradient(270deg, #0063b1 0%, #7d95e4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.job-detail-main {
  position: relative;
  overflow: hidden;
  background: var(--rfa-color-strong03);
  min-height: 100vh;
  padding-bottom: 180px;
}

/* ===============================================
   メインビジュアル
   =============================================== */
.job-detail-mv {
  position: relative;
  padding: 120px 0 60px;
  background: transparent;
}

.job-detail-mv__inner {
  position: relative;
  width: 84%;
  max-width: 1080px;
  margin: 0 auto;
  z-index: 2;
}

/* ===============================================
   Section共通
   =============================================== */
.section-heading {
}

.section-heading__en {
  font-family: 'RFA Gothic Std', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: #000;
  display: block;
  margin-bottom: 15px;
}

.section-heading__ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 1.6px;
  background: linear-gradient(90deg, #295d7e 0%, #43506e 66.346%, #5d435e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===============================================
   詳細コンテンツ
   =============================================== */
.job-detail-contents {
  position: relative;
  padding: 0 0 80px;
}

.job-detail-contents__inner {
  width: 84%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 詳細カード */
.detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 60px;
  position: relative;
}

.detail-card--highlight {
  background: linear-gradient(90deg, #fff 0%, #fff 100%),
              linear-gradient(-72.4335deg, rgb(240, 240, 238) 1.2132%, rgb(230, 241, 255) 89.059%);
}

.detail-card__row {
  display: flex;
  gap: 110px;
  align-items: flex-start;
}

.detail-card__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 1.6px;
  color: #272222;
  min-width: 110px;
  flex-shrink: 0;
}

.detail-card__content {
  flex: 1;
  max-width: 800px;
}

.detail-card__content p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 1.6px;
  color: #272222;
  margin: 0;
}

.detail-card__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 1.6px;
  color: #272222;
  margin: 0 0 10px 0;
}

.detail-card__text--large {
  font-size: 14px;
  margin-bottom: 20px;
}

.detail-card__subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 1.6px;
  color: #272222;
  margin: 0 0 10px 0;
}

.detail-card__list {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1.6px;
  color: #272222;
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-card__list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 4px;
}

.detail-card__list li::before {
  content: '・';
  position: absolute;
  left: 0;
}

.detail-card__list--plain li {
  padding-left: 0;
}

.detail-card__list--plain li::before {
  content: '';
}

.detail-card__note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1.6px;
  color: #272222;
  margin: 10px 0 0 0;
}

.detail-card__note-inline {
  font-size: 12px;
  display: inline-block;
  margin-top: 5px;
}

.detail-card__section {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #cfcfcf;
}

.detail-card__section--last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.detail-card__salary {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 1.6px;
  color: #272222;
  margin: 0 0 8px 0;
}

.detail-card__address {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 1.6px;
  color: #272222;
  margin: 0 0 10px 0;
}

.detail-card__highlight-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 1.6px;
  color: #272222;
  margin: 0 0 15px 0;
}

/* ===============================================
   サイドナビゲーション
   =============================================== */
.side-nav {
  position: fixed;
  right: 0;
  top: 190px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.side-nav__btn {
  width: 60px;
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transition: opacity 0.3s ease;
}

.side-nav__btn span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11.81px;
  font-weight: 500;
  line-height: 17.715px;
  letter-spacing: 0.2362px;
}

.side-nav__btn--entry {
  background: linear-gradient(255.97deg, rgb(209, 251, 255) 1.637%, rgb(212, 230, 255) 75.345%);
}

.side-nav__btn--entry span {
  font-family: 'RFA Gothic Std', sans-serif;
  font-size: 14.434px;
  font-weight: 400;
  line-height: 23.62px;
  letter-spacing: 0.2887px;
  color: #000;
}

.side-nav__btn--requirements {
  background: linear-gradient(90deg, rgb(41, 93, 126) 0%, rgb(93, 67, 94) 100%);
}

.side-nav__btn--requirements span {
  color: #fff;
}

.side-nav__btn:hover {
  opacity: 0.8;
}

/* ===============================================
   レスポンシブ
   =============================================== */

/* タブレット */
@media screen and (max-width: 1024px) {
  .job-detail-mv__inner,
  .job-detail-contents__inner {
    padding: 0 60px;
  }

  .detail-card {
    padding: 30px 40px;
  }

  .detail-card__row {
    gap: 60px;
  }

  .footer-cta {
    padding: 0 60px 110px;
  }

  .footer-cta__inner {
    padding: 0 40px 0 80px;
  }

  .footer-cta__title {
    font-size: 38px;
    line-height: 54px;
  }

}

/* スマートフォン */
@media screen and (max-width: 768px) {
  .job-detail-mv {
    padding: 80px 0 40px;
  }

  .job-detail-mv__inner,
  .job-detail-contents__inner {
    padding: 0 30px;
  }
  .job-detail-contents {
    padding: 0 0 10%;
  }
  .section-heading__en {
    font-size: 14px;
  }

  .section-heading__ja {
    font-size: 28px;
    line-height: 32px;
  }

  .detail-card {
    padding: 24px 20px;
  }

  .detail-card__row {
    flex-direction: column;
    gap: 16px;
  }

  .detail-card__title {
    font-size: 12px;
    line-height: 20px;
    min-width: auto;
  }

  .detail-card__content p {
    font-size: 14px;
    line-height: 28px;
  }

  .detail-card__text {
    font-size: 12px;
    line-height: 24px;
  }

  .detail-card__subtitle {
    font-size: 12px;
    line-height: 20px;
  }

  .detail-card__list {
    font-size: 11px;
    line-height: 18px;
  }

  .detail-card__note {
    font-size: 11px;
    line-height: 18px;
  }

  .detail-card__salary {
    font-size: 12px;
    line-height: 24px;
  }

  .detail-card__address {
    font-size: 12px;
    line-height: 20px;
  }

  /* サイドナビをボトムナビに変更 */
  .side-nav {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: auto;
    flex-direction: row;
    z-index: 1000;
  }

  .side-nav__btn {
    width: 50%;
    height: 60px;
    writing-mode: horizontal-tb;
    text-orientation: unset;
  }

  .side-nav__btn span {
    font-size: 14px;
    line-height: 1.4;
  }

  .side-nav__btn--entry span {
    font-size: 16px;
  }


}

/* 極小画面 */
@media screen and (max-width: 375px) {
  .job-detail-main {
    padding-bottom: 110px;
  }
  .job-detail-mv__inner,
  .job-detail-contents__inner {
    padding: 0 20px;
  }

  .detail-card {
    padding: 20px 16px;
  }


}
