/* =========================
   採用情報ページ共通
========================= */

/* PC版：冒頭余白を他ページと100%統一 */
.recruit-page-hero {
  padding-top: 100px;
  padding-bottom: 60px;
  text-align: center; /* 子要素を中央寄せ */
}

.recruit-page-hero h1 {
  font-size: 32px;
  margin-bottom: 15px;
  text-align: center;
}

/* H1下のリード文：強制中央寄せ */
.recruit-page-hero .lead-text {
  font-size: 1.2rem;
  color: #555;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 80px 20px;
}

h2 {
  font-size: 28px;
  margin-bottom: 40px;
  text-align: center;
}

/* H2下のメッセージ文：強制中央寄せ */
#message p,
#apply p {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* =========================
   募集要項テーブル
========================= */

.recruit-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.recruit-table th,
.recruit-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.recruit-table th {
  background-color: #fcfcfc;
  width: 25%;
  text-align: left;
  font-weight: bold;
}

/* =========================
   従業員の声
========================= */

.voice-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.voice-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.voice-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 30px;
  flex-shrink: 0;
}

.voice-content {
  text-align: left;
}

.voice-content h3 {
  color: #E60012;
  margin-bottom: 10px;
  font-size: 1.25rem;
  text-align: left; /* カード内はバランスを見て左寄せ */
}

.voice-content p {
  text-align: left; /* カード内はバランスを見て左寄せ */
  margin: 0;
}

/* =========================
   タイムライン
========================= */

.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  gap: 30px;
}

.timeline-item .time {
  font-weight: bold;
  font-size: 20px;
  color: #E60012;
  width: 80px;
  flex-shrink: 0;
  text-align: right;
  padding-top: 10px;
}

.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.timeline-content img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.timeline-content p {
  margin: 0;
  font-weight: bold;
  font-size: 1rem;
  text-align: left;
}
/* #applyセクション全体の設定 */
#apply.text-center {
  text-align: center; /* 中身をすべて中央に寄せる */
}

/* ボタンを中央に配置する */
#apply .btn.btn-red {
  display: inline-block; /* 横幅を文字に合わせつつ、中央寄せを有効にする */
  margin: 0 auto;        /* 左右の余白を自動にして中央へ */
  text-decoration: none; /* 下線を消す */
}

/* 文言も念のため中央に */
#apply p {
  text-align: center;
  margin-bottom: 20px;
}
/* =========================
   レスポンシブ
========================= */

@media (max-width: 768px) {
  .recruit-page-hero {
    padding-top: 40px; /* スマホ版：他のページと同じ高さに固定 */
  }

  section {
    padding: 50px 20px;
  }

  .recruit-table th {
    width: 35%;
    font-size: 14px;
  }

  /* 従業員の声 スマホ */
  .voice-card {
    flex-direction: column;
    text-align: center;
  }

  .voice-card img {
    margin: 0 0 20px 0;
  }

  .voice-content {
    text-align: center;
  }

  .voice-content h3, 
  .voice-content p {
    text-align: center;
  }

  /* タイムライン スマホ */
  .timeline-item {
    flex-direction: column;
    gap: 10px;
  }

  .timeline-item .time {
    text-align: left;
    width: auto;
  }

  .timeline-content {
    flex-direction: column;
    text-align: center;
  }

  .timeline-content img {
    width: 100%;
    height: auto;
  }
}