/* ========================================
   recruit.css - 求人情報ページ
   求人募集・資格リスト・応募について
   page-title / cta は about.css を利用
   ======================================== */

/* リクルートページ: ヘッダーを MV 上に重ねてピル型で表示 */
@media (min-width: 768px) {
  body.p-recruit .header {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    margin: 0;
    z-index: 100;
    border-radius: 999px;
    box-shadow: 0 4px 0 0 rgba(0, 69, 153, 0.15);
    background: var(--color-white);
  }
}

@media (min-width: 1360px) {
  body.p-recruit .header {
    padding-left: 24px;
    padding-right: 16px;
    width: calc(100% - 80px);
  }
}

/* ----- 求人募集 ----- */
.recruit-intro {
  padding: 60px 0 0;
}

.recruit-intro__head {
  margin-bottom: 24px;
}

.recruit-intro__head .section-head__sub {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.recruit-intro__text {
  margin: 0 0 24px;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.recruit-intro__qualifications {
  background: rgba(197, 223, 247, 0.25);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.recruit-intro__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recruit-intro__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-text);
  padding: 0;
}

.recruit-intro__item::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url("../assets/images/check_icon.svg") center / contain no-repeat;
}

/* 画像はコンテナ外で画面幅いっぱいに表示 */
.recruit-intro__img-wrap {
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #e8e8e8;
}

.recruit-intro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 768px) {
  .recruit-intro {
    padding: 80px 0 0;
  }

  .recruit-intro__qualifications {
    padding: 28px 40px;
    margin-bottom: 48px;
  }

  .recruit-intro__item {
    font-size: 16px;
  }
}

/* 求人募集 PC: 画像は画面右端いっぱい、左は控えめの余白 */
@media (min-width: 1024px) {
  .recruit-intro {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 60px;
    padding: 120px 0 120px clamp(40px, 6vw, 100px);
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .recruit-intro .l-container {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .recruit-intro__head {
    margin-bottom: 16px;
  }

  .recruit-intro__head .section-head__title {
    font-size: 40px;
    letter-spacing: 0.05em;
    color: #191919;
  }

  .recruit-intro__head .section-head__sub {
    font-size: 20px;
    letter-spacing: 0.05em;
  }

  .recruit-intro__text {
    margin-bottom: 0;
  }

  .recruit-intro__qualifications {
    padding: 28px 50px;
    margin-bottom: 0;
    gap: 20px;
  }

  /* 画像エリア: 残り幅すべて使い画面右端まで表示 */
  .recruit-intro__img-wrap {
    flex: 1 1 0;
    min-width: 0;
    height: 700px;
    margin-right: 0;
  }

  .recruit-intro__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

/* ----- 応募について ----- */
.recruit-entry {
  position: relative;
  padding: 60px 20px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.recruit-entry__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/sp_entry_bg.png");
  background-size: cover;
  background-position: 30% center;
  background-repeat: no-repeat;
}

.recruit-entry__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  max-width: 400px;
}

.recruit-entry__head .section-head__title,
.recruit-entry__head .section-head__sub {
  color: var(--color-white);
}

.recruit-entry__head .section-head__sub--white {
  background: none;
  color: var(--color-white);
}

.recruit-entry__text {
  margin: 0;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.recruit-entry__text p {
  margin: 0 0 8px;
}

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

.recruit-entry__link {
  margin-top: 8px;
  width: 80px;
  height: 40px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .recruit-entry {
    padding: 80px 40px;
    min-height: 400px;
  }

  .recruit-entry__text {
    font-size: 18px;
  }
}

/* 応募について PC */
@media (min-width: 1024px) {
  .recruit-entry {
    padding: 100px 40px;
    min-height: auto;
  }

  .recruit-entry__bg {
    background-image: url("../assets/images/entry_bg.png");
    background-position: center;
    background-size: cover;
  }

  .recruit-entry__inner {
    gap: 48px;
    max-width: none;
  }

  .recruit-entry__head .section-head__title {
    font-size: 40px;
    letter-spacing: 0.05em;
  }

  .recruit-entry__head .section-head__sub {
    font-size: 20px;
    letter-spacing: 0.05em;
  }

  .recruit-entry__text {
    font-size: 18px;
    letter-spacing: 0.05em;
  }

  /* PC時は改行を表示しない（Figmaデザイン通り1行で表示） */
  .recruit-entry__text br {
    display: none;
  }

  .recruit-entry__text p {
    margin-bottom: 0;
  }

  .recruit-entry__text p + p {
    margin-top: 20px;
  }

  .recruit-entry__link {
    margin-top: 0;
    width: 100px;
    height: 50px;
  }
}
