/* =========================
   Recruit Page
========================= */
/* ===== PAGE LAYOUT OVERRIDE ===== */
.container { max-width: 1080px; padding: 0 32px; }

/* ===== 1. HERO ===== */
#r-hero{ position: relative; min-height: 40vh;
  display: flex; align-items: center;
  background: var(--navy2); overflow: hidden;
}
#r-hero::before{ content: ''; position: absolute; inset: 0;
  background: linear-gradient(130deg, rgba(15,30,66,.95) 0%, rgba(27,45,94,.80) 55%, rgba(40,176,210,.15) 100%);
}
#r-hero::after{ content: ''; position: absolute; top: -120px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(40,176,210,.22) 0%, transparent 65%);
  border-radius: 50%;
}
.hero-grid-lines{ position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-grid-lines::before{ content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, rgba(40,176,210,.12), transparent); }
.hero-grid-lines::after{ content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: linear-gradient(to right, transparent, rgba(40,176,210,.12), transparent); }
.c-hero-content{ position: relative; z-index: 2; width: 100%; padding: 120px 0 72px; }
.c-hero-eyebrow{ display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.c-hero-eyebrow-bar{ width: 40px; height: 2px; background: var(--blue); flex-shrink: 0; }
.c-hero-eyebrow-text{ font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--blue); text-transform: uppercase; font-family: 'Helvetica Neue', Arial, sans-serif; }
.c-hero-title{ font-size: clamp(32px, 7vw, 96px); font-weight: 900; color: #fff; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 18px; }
.c-hero-title span{ color: var(--blue); }
/* ===== 2. 代表メッセージ ===== */
#r-message{ padding: 100px 0; background: #fff; }
.message-inner{ display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start; max-width: 900px; margin: 0 auto; }
.message-photo-wrap{ display: flex; flex-direction: column; align-items: center; }
.message-photo{ width: 280px; height: 280px; border-radius: 50%; object-fit: cover; object-position: top center; border: 4px solid #fff; box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.message-name{ margin-top: 24px; text-align: center; }
.message-name-ja{ font-size: 20px; font-weight: 900; color: var(--navy); }
.message-name-en{ font-size: 12px; color: var(--gray500); letter-spacing: .08em; margin-top: 4px; font-family: 'Helvetica Neue', Arial, sans-serif; }
.message-quote{ font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--navy); line-height: 1.5; margin-bottom: 32px; letter-spacing: -.02em;}
.message-quote span{ color: var(--blue); }
.message-body{ font-size: 15px; color: var(--gray700); line-height: 2; margin-bottom: 24px; }
/* ===== 3. 求める人物像 (自動スライダー) ===== */
#r-person{ padding: 100px 0; background: var(--gray50); overflow: hidden; }
.slider-wrap{ position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: 48px; }
.slider-track{ display: flex; gap: 24px; width: max-content; animation: scroll 30s linear infinite; }
.slide-card{ width: 300px; background: #fff; border: 1px solid var(--gray100); padding: 40px 32px; text-align: center; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.slide-title{ font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.4; }
.slide-desc{ font-size: 14px; color: var(--gray500); line-height: 1.8; text-align: left; }
@keyframes scroll{ 0% { transform: translateX(0); }
100% { transform: translateX(calc(-50% - 12px)); }
}
/* ===== 4. 募集職種 (ポップアップ) ===== */
#r-jobs{ padding: 100px 0; background: #fff; }
.jobs-list{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 48px auto 0;}
.job-card{ padding: 32px; border: 1px solid var(--gray100); background: #fff; cursor: pointer;
  transition: all .3s; position: relative; text-align: center;
}
.job-card:hover{ border-color: var(--blue); box-shadow: 0 10px 30px rgba(40,176,210,.1); transform: translateY(-4px); }
.job-card-plus{ position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 300; border: 2px solid #fff; transition: background .3s; }
.job-card:hover .job-card-plus{ background: var(--navy); }
.job-title{ font-size: 18px; font-weight: 900; color: var(--navy); line-height: 1.4; margin-bottom: 8px; }
.job-meta{ font-size: 12px; color: var(--gray500); letter-spacing: .05em;}
/* 求人詳細モーダル */
.job-modal-bg{ position: fixed; inset: 0; background: rgba(11,25,58,0.9); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; padding: 20px;}
.job-modal-bg.open{ opacity: 1; visibility: visible; }
.job-modal{ background: #fff; width: 100%; max-width: 600px; padding: 56px; position: relative; border-radius: 0; max-height: 90vh; overflow-y: auto;}
.job-modal-close{ position: absolute; top: 20px; right: 24px; font-size: 40px; cursor: pointer; color: var(--gray300); background:none; border:none; transition: color .3s;}
.job-modal-close:hover{ color: var(--navy); }
.job-modal-title{ font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 24px; border-bottom: 2px solid var(--blue); padding-bottom: 12px; }
.modal-section{ margin-bottom: 32px; }
.modal-section-label{ font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.modal-section-label::after{ content: ''; flex: 1; height: 1px; background: var(--gray100); }
.modal-desc{ font-size: 14.5px; color: var(--gray700); line-height: 1.8; }
.modal-footer{ padding-top: 32px; border-top: 1px solid var(--gray100); display: flex; justify-content: center; }
/* ===== 5. エントリー CTA ===== */
#r-entry{ padding: 100px 0; background: var(--gray50); text-align: center; }
.entry-lead { margin-top: 16px; font-size: 15px; color: var(--gray700); }
/* ===== RESPONSIVE ===== */
@media (max-width: 1024px){ .message-inner { grid-template-columns: 1fr; gap: 40px; }
.message-photo-wrap { position: static; max-width: 280px; margin: 0 auto; }
}
@media (max-width: 768px) { .c-hero-content{ padding: 100px 0 56px; }
.jobs-list{ grid-template-columns: 1fr; }
.job-modal{ padding: 40px 16px; }
}
@media (max-width: 768px) { .container { padding: 0 20px; } }
@media (max-width: 520px) {
  .slide-card {
    padding-left: 24px;
    padding-right: 24px;
  }
  .job-card {
    padding-left: 24px;
    padding-right: 24px;
  }
  .entry-lead {
    text-align: left;
  }
}
