/*
 * 採用情報ページ（recruit-page）用スタイル
 *
 * Figmaデザイン準拠・BEM命名・Google Style Guide準拠
 *
 * 主な仕様：
 * - セクションごとにBEMでクラス分け
 * - レスポンシブ対応
 * - 画像・SVGは@images直下
 * - コメントは日本語
 *
 * 制限事項：
 * - Tailwind等のユーティリティは未使用
 * - ACF/Gutenberg未使用
 */

.recruit-section {
  margin: 0 auto;
  padding: 40px 16px 80px 16px;
}

/* --- 求める人物像セクション --- */
.recruit-person {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  margin-bottom: 64px;
}

.recruit-person__image {
  width: clamp(20.625rem, 15.288rem + 23.72vw, 43.75rem);
  text-align: center;
}

.recruit-person__image img {
  width: auto;
  height: 400px;
}

.recruit-person__caption {
  font-size: 16px;
  color: #888;
  margin-top: 8px;
}

.recruit-person__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #000;
}

.recruit-person__checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recruit-person__checks li {
  display: flex;
  align-items: center;
  font-size: clamp(1rem, 0.769rem + 1.03vw, 2rem);
  color: #000;
  margin-bottom: 18px;
}

.recruit-person__icon {
  width: 32px;
  height: 32px;
  margin-right: 16px;
}

/* --- リード文・説明・雰囲気画像 --- */
.recruit-lead {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto 64px;
}

.recruit-lead__title {
  font-size: clamp(1.5rem, 1.286rem + 0.95vw, 2rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: #000;
}

.recruit-lead__desc {
  font-size: clamp(1rem, 0.571rem + 1.9vw, 2rem);
  color: #000;
  line-height: 1.2;
}

/* --- 1日の流れ・働き方紹介 --- */
.recruit-flow {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: fit-content;
  margin: 0 auto 64px;
}

.recruit-flow__item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.recruit-flow__image {
  flex: 0 0 260px;
  text-align: center;
}

.recruit-flow__image img {
  width: 100%;
  max-width: 260px;
}

.recruit-flow__text {
  flex: 1 1 0%;
}

.recruit-flow__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #000;
}

.recruit-flow__desc {
  font-size: 20px;
  color: #000;
  line-height: 1.6;
}

/* --- 集合写真スペース --- */
.recruit-group {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  justify-content: center;
}

.recruit-group__photo {
  flex: 0 0 420px;
  text-align: center;
}

.recruit-group__photo img {
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
}

.recruit-group__caption {
  font-size: 20px;
  color: #888;
  margin-top: 8px;
}

.recruit-group__message {
  text-align: left;
}

.recruit-group__title {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

/* --- 募集要項テーブル --- */
.recruit-table {
  width: fit-content;
  margin: 0 auto 64px;
}

.recruit-table__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.recruit-table__table th {
  background: #fff;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  width: clamp(7.5rem, 3.589rem + 17.38vw, 16.625rem);
  padding: 13.5px;
  text-align: left;
  border: 1px solid #8B5A2B;
}

.recruit-table__table th.recruit-table__header {
  background: #1FAF38;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 13.5px;
  border: 1px solid #8B5A2B;
}

.recruit-table__table td {
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 13.5px;
  text-align: left;
  border: 1px solid #8B5A2B;
}

/* --- 応募メッセージ・応募ボタン（recruit-cta） --- */
.recruit-cta {
  position: relative;
  margin: 64px 0 0 0;
  padding: 0;
}

.recruit-cta__inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 0 16px;
}

.recruit-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 64px 32px;
  background: none;
  position: relative;
}

.recruit-cta__text {
  margin-bottom: 32px;
  text-align: center;
}

.recruit-cta__text p {
  font-size: 32px;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.recruit-cta__background {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('../../images/cta-footer-recruit.png') center/cover no-repeat;
}

/* ボタンはcomponents.cssの.button-componentを利用 */

@media (max-width: 900px) {
  .recruit-cta__content {
    padding: 32px 8px;
    min-height: 220px;
  }

  .recruit-cta__text p {
    font-size: 18px;
  }
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {

  .recruit-person,
  .recruit-lead,
  .recruit-group {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }

  .recruit-person__image,
  .recruit-lead__image,
  .recruit-group__photo {
    max-width: 100%;
    margin: 0 auto;
  }

  .recruit-group__message {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .recruit-section {
    padding: 24px 15px 40px;
  }

  .recruit-person__title,
  .recruit-lead__title,
  .recruit-group__title {
    font-size: 24px;
  }

  .recruit-person__checks li,
  .recruit-lead__desc,
  .recruit-cta__message p {
    font-size: 18px;
  }

  .recruit-flow__title {
    font-size: 18px;
  }

  .recruit-group__caption {
    font-size: 14px;
  }

  .recruit-table__header {
    font-size: 20px;
  }

  .recruit-table__table th,
  .recruit-table__table td {
    font-size: 14px;
    padding: 8px 6px;
  }

  .recruit-cta {
    padding: 32px 8px;
  }

  .recruit-cta__btn {
    font-size: 18px;
    padding: 12px 24px;
  }
}