/* 採用情報ページ：他下層ページのデザインを踏襲 */

:root {
  --section-gap: 80px;
}

section {
  margin-bottom: 0;
}

.container.section-padding {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

main .container.section-padding:first-of-type {
  padding-top: 120px;
}

.section-title.centered h2.small-margin {
  margin-bottom: 8px;
}

.section-title.centered p.subtitle {
  color: #666;
  max-width: none;
}

.section-bg-light {
  background: #f9f9f9;
}

/* ファーストビュー画像（仮・差し替え可） */
.hero-recruit .hero-visual-img-wrap img {
  object-fit: cover;
  object-position: center center;
}

/* ========== メッセージ（タイトル → 画像 → テキストの縦並び） ========== */
.recruit-message-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.recruit-message-img {
  width: 100%;
  margin-bottom: 0;
}

.recruit-message-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.recruit-message-text {
  width: 100%;
  margin-top: 1.5em;
}

.recruit-message-text p {
  margin: 0 0 1em;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

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

.recruit-message-text p.recruit-message-quote {
  font-size: 24px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .recruit-message-text {
    margin-top: 1.25em;
  }
}

/* ========== 募集要項 ========== */
.recruit-spec {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.recruit-spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  align-items: start;
}

.recruit-spec-row:last-child {
  border-bottom: none;
}

.recruit-spec-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary, #0b3b75);
  flex-shrink: 0;
}

.recruit-spec-value {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.recruit-spec-value br {
  margin-bottom: 0.25em;
}

.recruit-spec-cta {
  text-align: center;
  margin: 28px 0 0;
}

.btn-recruit-spec {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary, #0b3b75);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-recruit-spec:hover {
  opacity: 0.9;
  color: #fff;
}

@media (max-width: 767px) {
  .recruit-spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 20px;
  }

  .recruit-spec-label {
    font-size: 13px;
    padding-bottom: 2px;
  }

  .recruit-spec-value {
    font-size: 14px;
  }

  .recruit-spec-cta {
    margin-top: 24px;
  }
}

/* ========== 働く環境 ========== */
.recruit-env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.recruit-env-item {
  text-align: center;
}

.recruit-env-thumb {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #eee;
}

.recruit-env-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.recruit-env-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

@media (max-width: 767px) {
  .recruit-env-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== 働いている人の声 ========== */
.recruit-voice-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.recruit-voice-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.recruit-voice-row-reverse {
  flex-direction: row-reverse;
}

.recruit-voice-img-wrap {
  flex: 0 0 280px;
  width: 280px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  padding: 24px 24px 0 24px;
  box-sizing: border-box;
}

.recruit-voice-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recruit-voice-body {
  flex: 1;
  padding: 24px 28px;
  min-width: 0;
}

.recruit-voice-name {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
}

.recruit-voice-role {
  font-size: 13px;
  color: #666;
  margin: 0 0 12px;
}

.recruit-voice-text {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.recruit-voice-text p {
  margin: 0 0 1em;
}

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

.recruit-voice-catch {
  font-weight: 700;
  color: var(--primary, #0b3b75);
  margin-bottom: 1em !important;
}

@media (max-width: 767px) {
  .recruit-voice-list {
    gap: 32px;
  }

  .recruit-voice-row,
  .recruit-voice-row-reverse {
    flex-direction: column;
  }

  .recruit-voice-img-wrap {
    flex: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 24px 24px 0 24px;
  }

  .recruit-voice-body {
    padding: 20px;
  }
}

/* ========== 1日の流れ（タイムライン・縦線＋ドット＋時刻、画像なし） ========== */
.recruit-day-flow {
  background: #fff;
}

.recruit-day-flow-list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 20px;
}

/* 縦のタイムライン（ドットの中心を通る） */
.recruit-day-flow-list::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: #d1d5db;
  border-radius: 1px;
}

.recruit-day-flow-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  align-items: flex-start;
  position: relative;
}

.recruit-day-flow-item + .recruit-day-flow-item {
  border-top: 1px solid #f3f4f6;
}

.recruit-day-flow-track {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.recruit-day-flow-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary, #0b3b75);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d1d5db;
}

.recruit-day-flow-time {
  font-weight: 700;
  color: var(--primary, #0b3b75);
  line-height: 1.2;
}

.recruit-day-flow-body {
  flex: 1;
  min-width: 0;
}

.recruit-day-flow-title {
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}

.recruit-day-flow-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

@media (max-width: 767px) {
  .recruit-day-flow-list {
    padding-left: 16px;
  }

  .recruit-day-flow-list::before {
    left: 21px;
  }

  .recruit-day-flow-item {
    padding: 20px 0;
    gap: 16px;
  }

  .recruit-day-flow-track {
    flex: 0 0 56px;
    gap: 8px;
  }

  .recruit-day-flow-dot {
    width: 10px;
    height: 10px;
  }

  .recruit-day-flow-desc {
    font-size: 14px;
  }
}

/* ========== 福利厚生（coating「こんな方におすすめ」と同じデザイン） ========== */
.recruit-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recruit-benefits-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 4px solid var(--primary, #0b3b75);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.recruit-benefits-item:hover {
  background: #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.recruit-benefits-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary, #0b3b75);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.recruit-benefits-icon::before {
  content: '✓';
  display: block;
  line-height: 1;
}

.recruit-benefits-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text, #111827);
  font-weight: 500;
}

@media (max-width: 600px) {
  .recruit-benefits-item {
    padding: 14px 16px;
    gap: 12px;
  }

  .recruit-benefits-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .recruit-benefits-text {
    font-size: 15px;
  }
}

/* ========== 応募の流れ ========== */
.recruit-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.recruit-flow-step {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.recruit-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary, #0b3b75);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 12px;
}

.recruit-flow-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

@media (max-width: 767px) {
  .recruit-flow-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ========== お問い合わせ（トップの募集バナー同様・上下左右に余白のある長方形） ========== */
.recruit-cta-wrap {
  padding: 60px 0;
}

.recruit-cta-box {
  background: linear-gradient(135deg, var(--primary, #0b3b75), var(--primary-strong, #0a3366));
  color: #fff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.recruit-cta-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}

.recruit-cta-desc {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
  opacity: 0.95;
}

.recruit-cta-actions {
  text-align: center;
}

.btn-recruit-cta {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--primary, #0b3b75);
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: opacity 0.2s;
}

.btn-recruit-cta:hover {
  opacity: 0.9;
  color: var(--primary, #0b3b75);
}

/* レスポンシブ：セクション余白 */
@media (max-width: 767px) {
  :root {
    --section-gap: 40px;
  }

  main .container.section-padding:first-of-type {
    padding-top: 40px;
  }

  .recruit-cta-wrap {
    padding: 40px 0;
  }

  .recruit-cta-box {
    padding: 32px 20px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-gap: 32px;
  }

  main .container.section-padding:first-of-type {
    padding-top: 32px;
  }

  .recruit-cta-wrap {
    padding: 32px 0;
  }

  .recruit-cta-box {
    padding: 24px 16px;
  }
}
