/* 採用詳細ページ共通スタイル */

/* パンくずリスト */








/* ヒーロー */
.recruit-hero {
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
  padding: 4rem 2rem;
  text-align: center;
}
.recruit-hero .container {
  max-width: 800px;
  margin: 0 auto;
}
.recruit-hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.recruit-hero-badge.contract {
  background: var(--accent);
  color: var(--text-dark);
}
.recruit-hero h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.recruit-hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.recruit-hero-salary {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* ハイライト（4カラム） */
.recruit-highlights {
  padding: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.recruit-highlights .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.highlight-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.highlight-icon svg {
  width: 22px;
  height: 22px;
}
.highlight-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}
.highlight-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* メインコンテンツ */
.recruit-content {
  padding: 3rem 0;
  background: var(--bg-base);
}
.recruit-content .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* セクション */
.recruit-section {
  margin-bottom: 3.5rem;
}
.recruit-section:last-child {
  margin-bottom: 0;
}
.recruit-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.recruit-section-title svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* 職種カード（2カラム） */
.job-type-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.job-type-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.2s ease;
}
.job-type-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.job-type-card h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.job-type-card .salary {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.job-type-card p {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* リスト */
.recruit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.recruit-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.5rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  border-bottom: 1px solid var(--border);
}
.recruit-list li:last-child {
  border-bottom: none;
}
.recruit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* アピールボックス */
.appeal-box {
  background: linear-gradient(135deg, rgba(217,119,6,0.08) 0%, rgba(245,158,11,0.08) 100%);
  border: 1px solid rgba(217,119,6,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.appeal-box h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.appeal-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.appeal-box li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.6;
}
.appeal-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* 詳細グリッド（2カラム） */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.detail-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}
.detail-card h4 {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.detail-card p {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.detail-card .note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* 待遇タグ */
.benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.benefit-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* 選考フロー */
.flow-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.5rem 0;
  position: relative;
}
.flow-steps::before {
  content: "";
  position: absolute;
  top: calc(1.5rem + 18px);
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.flow-step-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 2;
}
.flow-step p {
  font-size: 0.8rem;
  color: var(--text-body);
}

/* 応募セクション */
.recruit-apply {
  padding: 3rem 0;
  background: var(--bg-elevated);
  text-align: center;
}
.recruit-apply .container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}
.recruit-apply h2 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.recruit-apply > .container > p {
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.apply-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}
.apply-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.4);
}
.apply-main-btn svg {
  width: 20px;
  height: 20px;
}
.apply-alt {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.apply-alt p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.apply-alt-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.apply-alt-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.apply-alt-links a:hover {
  color: var(--primary);
}
.apply-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* 他の職種 */
.other-jobs {
  padding: 2rem 0;
  background: var(--bg-base);
  text-align: center;
}
.other-jobs .container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}
.other-jobs h3 {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.other-jobs-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.other-jobs-links a {
  padding: 0.6rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.other-jobs-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .recruit-hero {
    padding: 3rem 1.5rem;
  }
  .recruit-hero h1 {
    font-size: 1.75rem;
  }
  .recruit-hero-salary {
    font-size: 1.3rem;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .recruit-content {
    padding: 2.5rem 0;
  }
  .recruit-content .container {
    padding: 0 1.5rem;
  }
  .recruit-section {
    margin-bottom: 3rem;
  }
  .job-type-cards,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  /* 選考フローは横並びを維持 */
  .flow-steps {
    justify-content: center;
    gap: 0;
    padding: 1rem 0;
  }
  .flow-steps::before {
    top: calc(1rem + 16px);
    left: 15%;
    right: 15%;
  }
  .flow-step {
    min-width: 60px;
    flex: 0 0 auto;
  }
  .flow-step-num {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .flow-step p {
    font-size: 0.75rem;
  }
  .apply-alt-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ダークモード */
@media (prefers-color-scheme: dark) {
  .recruit-hero {
    background: linear-gradient(135deg, #0c0a09 0%, #1c1917 100%);
  }
  .recruit-highlights {
    background: var(--bg-section);
    border-color: var(--border);
  }
  .highlight-icon {
    background: rgba(217,119,6,0.15);
  }
  .highlight-text h4 {
    color: var(--text-primary);
  }
  .recruit-content {
    background: var(--bg-base);
  }
  .recruit-section-title {
    color: var(--text-primary);
  }
  .job-type-card {
    background: var(--bg-elevated);
    border-color: var(--border);
  }
  .job-type-card h4 {
    color: var(--text-primary);
  }
  .job-type-card p {
    color: var(--text-secondary);
  }
  .recruit-list li {
    color: var(--text-secondary);
    border-color: var(--border);
  }
  .appeal-box {
    background: rgba(217,119,6,0.08);
    border-color: rgba(217,119,6,0.2);
  }
  .appeal-box li {
    color: var(--text-secondary);
  }
  .detail-card {
    background: var(--bg-elevated);
    border-color: var(--border);
  }
  .detail-card p {
    color: var(--text-primary);
  }
  .detail-card .note {
    color: var(--text-muted);
  }
  .benefit-tag {
    background: rgba(217,119,6,0.15);
  }
  .flow-steps::before {
    background: var(--border);
  }
  .flow-step p {
    color: var(--text-secondary);
  }
  .recruit-apply {
    background: var(--bg-section);
  }
  .recruit-apply h2 {
    color: var(--text-primary);
  }
  .other-jobs {
    background: var(--bg-base);
  }
  .other-jobs-links a {
    border-color: var(--border);
    color: var(--text-secondary);
  }
}

/* インラインスタイル移行クラス */
.recruit-lead { color: var(--text-body); margin-bottom: 1rem; line-height: 1.7; }
.recruit-salary-white { color: #fff; }
.salary-highlight { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.detail-card-highlight { border-color: var(--primary); background: var(--primary-light); }

/* contractヒーローはオレンジグラデーション */
.recruit-hero.contract-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
