/* ============================================================
   recruit.css — 採用ページ専用スタイル
   ============================================================ */

/* ヘッダーを常に濃紺で固定 */
.recruit-page #header {
  background: rgba(13, 31, 53, 0.99) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ナビ アクティブ */
.nav-active {
  color: var(--primary) !important;
  font-weight: 700;
}

/* ---------- HERO ---------- */
.rp-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
}
.rp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.rp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,53,0.85) 0%, rgba(26,95,168,0.5) 100%);
  z-index: 1;
}
.rp-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.rp-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.rp-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 12px;
}
.rp-hero-sub {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  background: #f0f4f8;
  border-bottom: 1px solid #dde3ea;
  padding: 10px 0;
  font-size: 0.82rem;
  color: var(--text-light);
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
  transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 0.75; }
.bc-sep { color: var(--gray2); font-size: 0.7rem; }

/* ---------- SECTION COMMON ---------- */
.rp-section { padding: 80px 0; }
.rp-section-header { text-align: center; margin-bottom: 50px; }
.rp-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rp-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--dark);
}
.rp-line {
  width: 50px;
  height: 4px;
  background: var(--primary);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ---------- APPEAL GRID ---------- */
.rp-appeal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rp-appeal-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.rp-appeal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.11);
  border-bottom-color: var(--primary);
}
.rp-appeal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #3aa0d8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26,95,168,0.3);
}
.rp-appeal-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.rp-appeal-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ---------- JOB CARD ---------- */
.rp-job-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  border-top: 5px solid var(--primary);
}
.rp-job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 36px 28px;
  border-bottom: 1px solid var(--gray2);
  background: linear-gradient(135deg, #f8faff 0%, #eef3fb 100%);
  flex-wrap: wrap;
}
.rp-job-badge {
  display: inline-block;
  background: rgba(26,95,168,0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid rgba(26,95,168,0.25);
  margin-bottom: 10px;
}
.rp-job-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}
.rp-job-catch {
  font-size: 0.9rem;
  color: var(--text-light);
}
.rp-job-salary-box {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 16px 28px;
  text-align: center;
  flex-shrink: 0;
}
.rp-salary-label {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 4px;
  letter-spacing: 0.1em;
}
.rp-salary-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.rp-salary-num span { font-size: 1rem; font-weight: 700; }

/* Table */
.rp-table {
  width: 100%;
  border-collapse: collapse;
}
.rp-table tr {
  border-bottom: 1px solid var(--gray2);
}
.rp-table tr:last-child { border-bottom: none; }
.rp-table th {
  background: #f8faff;
  padding: 16px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  width: 200px;
  white-space: nowrap;
  text-align: left;
}
.rp-table th i {
  color: var(--primary);
  margin-right: 6px;
  width: 16px;
  text-align: center;
}
.rp-table td {
  padding: 16px 24px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}
.rp-table td strong { color: var(--primary); font-size: 1.05rem; }
.highlight-row td { background: rgba(26,95,168,0.04); }

/* ---------- FLOW ---------- */
.rp-flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.rp-flow-step {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  width: 240px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}
.rp-flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-bottom-color: var(--primary);
}
.rp-flow-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #3aa0d8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26,95,168,0.3);
}
.rp-flow-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 6px;
}
.rp-flow-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.rp-flow-text p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
}
.rp-flow-arrow {
  color: var(--primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ---------- CTA ---------- */
.rp-cta {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}
.rp-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rp-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.5);
  transform: scale(1.05);
}
.rp-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,53,0.88) 0%, rgba(26,95,168,0.6) 100%);
  z-index: 1;
}
.rp-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.rp-cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.rp-cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.rp-cta-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.rp-cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--primary);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  padding: 18px 48px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: all var(--transition);
  margin-bottom: 16px;
}
.rp-cta-tel:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
  background: #f0f5ff;
}
.rp-cta-tel i { font-size: 1.4rem; }
.rp-cta-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

/* ---------- CONTACT GRID ---------- */
.rp-contact-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 14px;
}
.rp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: start;
}
.rp-contact-card {
  background: var(--primary);
  color: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
}
.rp-form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-top: 4px solid var(--primary);
}
.rp-contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.rp-form-card .rp-contact-icon {
  background: rgba(26,95,168,0.1);
  color: var(--primary);
}
.rp-contact-card h3,
.rp-form-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: inherit;
}
.rp-form-card h3 { color: var(--dark); }
.rp-tel-num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  transition: opacity 0.2s;
}
.rp-tel-num:hover { opacity: 0.8; }
.rp-contact-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0.9;
}
.rp-contact-note {
  font-size: 0.78rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rp-appeal-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-job-header { flex-direction: column; }
  .rp-job-salary-box { width: 100%; text-align: left; }
  .rp-table th { width: 140px; }
  .rp-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rp-hero { height: 280px; }
  .rp-appeal-grid { grid-template-columns: 1fr; }
  .rp-flow-steps { flex-direction: column; align-items: stretch; }
  .rp-flow-step { width: 100%; }
  .rp-flow-arrow { transform: rotate(90deg); align-self: center; }
  .rp-table th { display: none; }
  .rp-table td { padding: 12px 16px; }
  .rp-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 0.8rem;
  }
  .rp-cta-tel { font-size: 1.3rem; padding: 16px 28px; }
  .rp-job-header { padding: 24px 20px; }
  .rp-table td { padding: 14px 20px; }
}
