/*
 * FitSync Recruit (ムエタイ・キックボクシング) — 安心感色設計
 * 心理学反映: 信頼 (青) + ブランド統一 (FitSync 主色) + 健康 (緑) + 清潔 (白)
 *
 * 作成: 2026-05-02 Phase 4 (recruit/muaythai/)
 */

/* ═══════════════════════════════════════════════════════════════
   COLOR VARIABLES (安心感色設計)
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* メイン (信頼) */
  --r-primary: #2E5BBA;
  --r-primary-dark: #1f407f;
  --r-primary-light: #e8efff;
  --r-primary-lighter: #f5f8ff;

  /* サブ (FitSync 主色、ブランド統一) */
  --r-fs-orange: #e97d5a;
  --r-fs-orange-light: #fbeae2;

  /* アクセント (健康) */
  --r-health: #5cb85c;
  --r-health-dark: #3d8b3f;
  --r-health-light: #e6f4e7;

  /* 背景 */
  --r-bg: #fff;
  --r-bg-soft: #fafbfd;
  --r-bg-alt: #f4f7fb;

  /* テキスト */
  --r-text: #1a2747;
  --r-text-mid: #4a5470;
  --r-text-light: #5a6478;
  --r-text-muted: #8a93a6;

  /* ボーダー */
  --r-border: #e3e7ef;
  --r-border-light: #eef1f7;

  /* 補助 */
  --r-warning: #ffc107;
  --r-danger: #dc3545;
  --r-success: var(--r-health);

  /* 影 */
  --r-shadow: 0 2px 12px rgba(46, 91, 186, 0.06);
  --r-shadow-lg: 0 12px 32px rgba(46, 91, 186, 0.12);
  --r-shadow-card: 0 4px 16px rgba(20, 30, 60, 0.06);

  /* 角丸 */
  --r-radius: 12px;
  --r-radius-lg: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL
   ═══════════════════════════════════════════════════════════════ */
body {
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  color: var(--r-text);
  background: var(--r-bg);
  margin: 0;
  padding: 0;
  line-height: 1.8;
  font-feature-settings: "palt";
}

* {
  box-sizing: border-box;
}

a {
  color: var(--r-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--r-primary-dark);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   LOGO
   ═══════════════════════════════════════════════════════════════ */
.logo-text-large,
.logo-text-small {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--r-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI semibold", sans-serif;
}

.logo-text-large {
  font-size: 24px;
  display: inline-block;
  padding: 8px 0;
}

.logo-text-small {
  font-size: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   PLACEHOLDER (画像なし箇所の代替)
   ═══════════════════════════════════════════════════════════════ */
.placeholder-img {
  background: linear-gradient(135deg, var(--r-primary-light), var(--r-bg-soft));
  border: 2px dashed var(--r-primary);
  border-radius: var(--r-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--r-primary);
  position: relative;
  min-height: 180px;
}

.placeholder-img::after {
  content: attr(data-placeholder);
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--r-text-muted);
  background: rgba(255, 255, 255, 0.92);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.placeholder-portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto;
}

.placeholder-text {
  font-style: italic;
  color: var(--r-text-muted);
  background: var(--r-bg-soft);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--r-primary);
  font-size: 0.9em;
}

/* ═══════════════════════════════════════════════════════════════
   COMMON SECTION
   ═══════════════════════════════════════════════════════════════ */
.recruit-section {
  padding: 80px 20px;
  max-width: 100%;
}

.recruit-section-alt {
  background: var(--r-bg-soft);
}

.recruit-section-trust {
  background: linear-gradient(180deg, var(--r-bg) 0%, var(--r-primary-lighter) 100%);
}

.recruit-section-health {
  background: linear-gradient(180deg, var(--r-health-light) 0%, var(--r-bg) 100%);
}

.recruit-section-cta {
  background: linear-gradient(135deg, var(--r-primary-lighter), var(--r-bg));
  padding: 80px 20px 100px;
}

.recruit-container {
  max-width: 1100px;
  margin: 0 auto;
}

.recruit-h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--r-text);
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0 0 16px;
}

.recruit-h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--r-primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

.recruit-h2-sub {
  font-size: 13px;
  color: var(--r-primary);
  text-align: center;
  margin: 0 0 48px;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
}

.recruit-h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--r-text);
  margin: 40px 0 20px;
  text-align: center;
}

.recruit-h3 i {
  color: var(--r-primary);
  margin-right: 10px;
}

.recruit-section-intro {
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  color: var(--r-text-mid);
}

/* ═══════════════════════════════════════════════════════════════
   HERO (青ベース、信頼感のフルスクリーン)
   ═══════════════════════════════════════════════════════════════ */
.recruit-hero {
  position: relative;
  min-height: 760px;
  padding: 100px 20px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2747 0%, #2E5BBA 70%, #4a7cd1 100%);
}

.recruit-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(92, 184, 92, 0.12) 0%, transparent 50%);
  z-index: 1;
}

.recruit-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 60, 0.0) 0%, rgba(20, 30, 60, 0.3) 100%);
  z-index: 2;
}

.recruit-hero-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.recruit-hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.recruit-hero-title {
  margin: 0 0 24px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-title-sub {
  display: block;
  font-size: 22px;
  font-weight: 400;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
}

.recruit-hero-tagline {
  font-size: 22px;
  margin: 24px 0 16px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.recruit-hero-body {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  margin: 16px auto 32px;
  max-width: 740px;
}

.recruit-hero-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px auto;
  max-width: 800px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.12);
  padding: 18px 14px;
  border-radius: 12px;
  font-size: 13px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  backdrop-filter: blur(4px);
}

.trust-item i {
  font-size: 24px;
  color: #5cb85c;
}

.trust-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.recruit-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 40px 0 32px;
}

.recruit-hero-reassure {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 24px;
  background: rgba(92, 184, 92, 0.15);
  padding: 14px 20px;
  border-radius: 8px;
  display: inline-block;
  border: 1px solid rgba(92, 184, 92, 0.3);
  line-height: 1.7;
}

.recruit-hero-reassure i {
  color: #5cb85c;
  margin-right: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--r-primary);
  color: #fff;
  border-color: var(--r-primary);
}

.btn-primary:hover {
  background: var(--r-primary-dark);
  border-color: var(--r-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--r-shadow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.recruit-section .btn-outline {
  color: var(--r-primary);
  border-color: var(--r-primary);
}

.recruit-section .btn-outline:hover {
  background: var(--r-primary-lighter);
  color: var(--r-primary-dark);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-large {
  padding: 18px 32px;
  font-size: 17px;
}

/* ═══════════════════════════════════════════════════════════════
   WHY (5 つの理由)
   ═══════════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.why-card {
  background: var(--r-bg);
  padding: 32px 24px;
  border-radius: var(--r-radius-lg);
  box-shadow: var(--r-shadow-card);
  border-top: 4px solid var(--r-primary);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--r-shadow-lg);
}

.why-card-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px;
  font-weight: 800;
  color: var(--r-primary-light);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.05em;
}

.why-card-icon {
  font-size: 32px;
  color: var(--r-primary);
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--r-text);
  line-height: 1.5;
}

.why-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--r-text-mid);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-photo {
  text-align: center;
}

.about-photo-caption {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--r-text);
}

.about-photo-caption small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--r-text-light);
  margin-top: 4px;
}

.about-body p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--r-text);
  margin: 0 0 16px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   JOB DESCRIPTION
   ═══════════════════════════════════════════════════════════════ */
.job-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  border-collapse: collapse;
  background: var(--r-bg);
  border-radius: var(--r-radius);
  overflow: hidden;
  box-shadow: var(--r-shadow-card);
}

.job-table th,
.job-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--r-border-light);
  font-size: 15px;
}

.job-table th {
  background: var(--r-primary-lighter);
  color: var(--r-primary-dark);
  font-weight: 600;
  width: 28%;
}

.job-table thead th {
  background: var(--r-primary);
  color: #fff;
}

.job-table tbody tr:last-child td {
  border-bottom: none;
}

.job-frequency {
  background: var(--r-primary-lighter);
  padding: 28px;
  border-radius: var(--r-radius);
  border-left: 4px solid var(--r-primary);
  max-width: 900px;
  margin: 0 auto;
}

.job-frequency h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--r-primary-dark);
}

.job-frequency h3 i {
  margin-right: 8px;
}

.job-frequency p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--r-text);
}

/* ═══════════════════════════════════════════════════════════════
   COMPENSATION
   ═══════════════════════════════════════════════════════════════ */
.compensation-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 48px;
  border-collapse: collapse;
  background: var(--r-bg);
  border-radius: var(--r-radius);
  overflow: hidden;
  box-shadow: var(--r-shadow-card);
}

.compensation-table th,
.compensation-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--r-border-light);
  font-size: 15px;
}

.compensation-table th {
  background: var(--r-health);
  color: #fff;
  font-weight: 600;
}

.compensation-table tbody tr:last-child td {
  border-bottom: none;
}

.amount-highlight {
  color: var(--r-health-dark);
  font-size: 18px;
  font-weight: 700;
}

.income-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px auto;
  max-width: 1000px;
}

.income-card {
  background: var(--r-bg);
  padding: 24px;
  border-radius: var(--r-radius);
  box-shadow: var(--r-shadow-card);
  text-align: center;
  border-top: 4px solid var(--r-health);
  transition: transform 0.2s ease;
}

.income-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--r-shadow-lg);
}

.income-card-highlight {
  border-color: var(--r-primary);
  background: var(--r-primary-lighter);
  position: relative;
}

.income-card-highlight::before {
  content: '人気';
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--r-fs-orange);
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.income-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--r-text);
}

.income-detail {
  font-size: 12px;
  color: var(--r-text-light);
  margin: 0 0 16px;
}

.income-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--r-health-dark);
  margin: 0;
}

.income-amount span {
  font-size: 13px;
  font-weight: 400;
  color: var(--r-text-light);
}

.income-note {
  text-align: center;
  font-size: 13px;
  color: var(--r-text-light);
  margin: 16px 0 32px;
  font-style: italic;
}

.compensation-details {
  margin-top: 48px;
}

.comp-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.comp-detail-item {
  background: var(--r-bg);
  padding: 24px;
  border-radius: var(--r-radius);
  box-shadow: var(--r-shadow-card);
  text-align: center;
}

.comp-detail-item i {
  font-size: 28px;
  color: var(--r-primary);
  margin-bottom: 12px;
}

.comp-detail-item h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--r-text);
}

.comp-detail-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--r-text-mid);
}

/* ═══════════════════════════════════════════════════════════════
   LOCATIONS
   ═══════════════════════════════════════════════════════════════ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.location-card {
  background: var(--r-bg);
  border-radius: var(--r-radius);
  overflow: hidden;
  box-shadow: var(--r-shadow-card);
  transition: transform 0.2s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--r-shadow-lg);
}

.location-card-img {
  width: 100%;
  height: 140px;
  margin: 0;
  border-radius: 0;
}

.location-card-body {
  padding: 20px;
}

.location-card-body h3 {
  margin: 0 0 6px;
  color: var(--r-primary-dark);
  font-size: 18px;
}

.location-card-body p {
  margin: 4px 0;
  font-size: 13px;
  color: var(--r-text);
}

.location-access {
  color: var(--r-text-light) !important;
  line-height: 1.7;
}

.mobile-note {
  background: var(--r-fs-orange-light);
  padding: 24px;
  border-radius: var(--r-radius);
  margin-top: 32px;
  border-left: 4px solid var(--r-fs-orange);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.mobile-note h4 {
  margin: 0 0 8px;
  color: var(--r-fs-orange);
}

.mobile-note h4 i {
  margin-right: 8px;
}

.mobile-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════
   REQUIREMENTS
   ═══════════════════════════════════════════════════════════════ */
.req-mandatory {
  background: var(--r-bg);
  padding: 32px;
  border-radius: var(--r-radius);
  box-shadow: var(--r-shadow-card);
  max-width: 900px;
  margin: 0 auto 48px;
  border-left: 4px solid var(--r-primary);
}

.req-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.req-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.8;
}

.req-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--r-health);
  font-weight: 700;
  font-size: 18px;
}

.req-priority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}

.priority-card {
  background: var(--r-bg);
  padding: 28px 22px;
  border-radius: var(--r-radius);
  box-shadow: var(--r-shadow-card);
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--r-shadow-lg);
}

.priority-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--r-primary);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.priority-a .priority-rank {
  background: linear-gradient(135deg, var(--r-primary), var(--r-primary-dark));
  box-shadow: 0 4px 12px rgba(46, 91, 186, 0.3);
}

.priority-b .priority-rank {
  background: var(--r-primary);
  opacity: 0.9;
}

.priority-c .priority-rank {
  background: var(--r-primary);
  opacity: 0.78;
}

.priority-d .priority-rank {
  background: var(--r-primary);
  opacity: 0.66;
}

.priority-e .priority-rank {
  background: linear-gradient(135deg, var(--r-fs-orange), var(--r-health));
}

.priority-card h4 {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--r-text);
}

.priority-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--r-text-mid);
  margin: 0;
}

.req-reassure {
  background: var(--r-health-light);
  padding: 24px 28px;
  border-radius: var(--r-radius);
  border-left: 4px solid var(--r-health);
  max-width: 800px;
  margin: 0 auto;
}

.req-reassure p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--r-text);
}

.req-reassure i {
  color: var(--r-health-dark);
  margin-right: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   WORKFLOW (採用フロー)
   ═══════════════════════════════════════════════════════════════ */
.workflow-timeline {
  list-style: none;
  padding: 0;
  margin: 32px auto 0;
  max-width: 760px;
  position: relative;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--r-primary-light);
}

.workflow-step {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
  position: relative;
}

.step-num {
  flex: 0 0 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--r-primary);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(46, 91, 186, 0.25);
}

.workflow-step-final .step-num {
  background: linear-gradient(135deg, var(--r-health), var(--r-primary));
}

.step-content {
  flex: 1;
  background: var(--r-bg);
  padding: 22px 26px;
  border-radius: var(--r-radius);
  box-shadow: var(--r-shadow-card);
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--r-primary-dark);
}

.step-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--r-text);
}

/* ═══════════════════════════════════════════════════════════════
   TRAINER VOICES (placeholder)
   ═══════════════════════════════════════════════════════════════ */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.voice-card {
  background: var(--r-bg);
  padding: 28px 24px;
  border-radius: var(--r-radius-lg);
  box-shadow: var(--r-shadow-card);
  text-align: center;
}

.placeholder-card {
  border: 1px dashed var(--r-border);
}

.voice-photo {
  width: 120px !important;
  height: 120px !important;
  margin: 0 auto 16px !important;
  min-height: auto !important;
}

.voice-card h4 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--r-text);
}

.voice-meta {
  font-size: 12px;
  color: var(--r-text-light);
  margin: 0 0 16px;
}

.voice-quote {
  font-size: 14px;
  line-height: 1.9;
  color: var(--r-text-mid);
  text-align: left;
  background: var(--r-bg-soft);
  padding: 16px;
  border-radius: 8px;
  position: relative;
}

.voice-quote::before {
  content: '"';
  position: absolute;
  top: -12px;
  left: 12px;
  font-size: 48px;
  color: var(--r-primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-category {
  font-size: 18px;
  color: var(--r-primary-dark);
  margin: 32px 0 16px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--r-primary-light);
}

.faq-item {
  background: var(--r-bg);
  margin: 0 0 12px;
  border-radius: 8px;
  box-shadow: var(--r-shadow-card);
  overflow: hidden;
  border: 1px solid var(--r-border-light);
}

.faq-item summary {
  padding: 18px 50px 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--r-text);
  list-style: none;
  position: relative;
  transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--r-bg-soft);
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--r-primary);
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--r-border-light);
  background: var(--r-primary-lighter);
}

.faq-item p {
  padding: 18px 22px;
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--r-text);
}

/* ═══════════════════════════════════════════════════════════════
   FORM
   ═══════════════════════════════════════════════════════════════ */
.recruit-form {
  max-width: 660px;
  margin: 32px auto;
  background: var(--r-bg);
  padding: 40px;
  border-radius: var(--r-radius-lg);
  box-shadow: var(--r-shadow-card);
}

.form-row {
  margin-bottom: 22px;
}

.form-row > label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--r-text);
}

.required {
  color: var(--r-danger);
  font-size: 12px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--r-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--r-primary);
  box-shadow: 0 0 0 3px var(--r-primary-light);
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.form-checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: 400;
  cursor: pointer;
  padding: 10px 12px;
  background: var(--r-bg-soft);
  border-radius: 6px;
  border: 1px solid var(--r-border-light);
  transition: background 0.2s, border-color 0.2s;
  font-size: 14px;
}

.form-checkbox-group label:hover {
  background: var(--r-primary-lighter);
  border-color: var(--r-primary-light);
}

.form-checkbox-group input[type="checkbox"] {
  margin-right: 10px;
}

.form-checkbox-priority label:nth-child(1) {
  border-left: 3px solid var(--r-primary);
}

.form-row-checkbox label {
  display: block;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 10px;
  font-size: 13px;
  padding: 6px 0;
}

.form-row-checkbox input[type="checkbox"] {
  margin-right: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   DIRECT CONTACT (CTA 内)
   ═══════════════════════════════════════════════════════════════ */
.recruit-direct-contact {
  max-width: 660px;
  margin: 40px auto 0;
  background: var(--r-primary-lighter);
  padding: 28px;
  border-radius: var(--r-radius);
  border-left: 4px solid var(--r-primary);
}

.recruit-direct-contact h4 {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--r-primary-dark);
}

.recruit-direct-contact ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.recruit-direct-contact li {
  padding: 8px 0;
  font-size: 14px;
}

.recruit-direct-contact li i {
  color: var(--r-primary);
  width: 24px;
  margin-right: 8px;
}

.recruit-no-resume {
  margin: 0;
  font-size: 13px;
  color: var(--r-text-mid);
  background: var(--r-bg);
  padding: 12px 16px;
  border-radius: 6px;
  line-height: 1.7;
}

.recruit-no-resume i {
  color: var(--r-health);
  margin-right: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .recruit-hero-title {
    font-size: 36px;
  }
  .hero-title-sub {
    font-size: 18px;
  }
  .recruit-hero-tagline {
    font-size: 19px;
  }
}

@media (max-width: 768px) {
  .recruit-section {
    padding: 60px 16px;
  }
  .recruit-h2 {
    font-size: 26px;
  }
  .recruit-hero {
    min-height: 660px;
    padding: 80px 16px 60px;
  }
  .recruit-hero-title {
    font-size: 30px;
  }
  .hero-title-sub {
    font-size: 16px;
  }
  .recruit-hero-tagline {
    font-size: 17px;
  }
  .recruit-hero-body {
    font-size: 15px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .placeholder-portrait {
    width: 160px;
    height: 160px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .income-cards {
    grid-template-columns: 1fr 1fr;
  }
  .req-priority-grid {
    grid-template-columns: 1fr;
  }
  .voices-grid {
    grid-template-columns: 1fr;
  }
  .form-row-grid {
    grid-template-columns: 1fr;
  }
  .form-checkbox-group {
    grid-template-columns: 1fr;
  }
  .recruit-form {
    padding: 24px 18px;
  }
  .workflow-timeline::before {
    left: 24px;
  }
  .step-num {
    flex: 0 0 48px;
    height: 48px;
    font-size: 18px;
  }
  .recruit-hero-trust {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 559px) {
  .recruit-hero {
    min-height: 600px;
  }
  .recruit-hero-title {
    font-size: 26px;
  }
  .recruit-hero-trust {
    grid-template-columns: 1fr;
  }
  .recruit-hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .recruit-hero-cta .btn {
    width: 100%;
  }
  .income-cards {
    grid-template-columns: 1fr;
  }
}

/* ═══ Founding Instructor Pool セクション ═══ */
.founding-grid {
  margin-top: 32px;
}

.founding-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(46, 91, 186, 0.06);
  border-left: 4px solid #2E5BBA;
  border-radius: 4px;
}

.founding-note p {
  margin: 0;
  color: #2E5BBA;
  font-size: 15px;
  line-height: 1.7;
}

.founding-note i {
  margin-right: 8px;
  color: #2E5BBA;
}

@media (max-width: 559px) {
  .founding-note {
    padding: 16px 20px;
    font-size: 14px;
  }
}

/* ═══ Location card image fix (overlap 防止) ═══ */
.location-card-img {
  width: 100%;
  height: 200px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f5f5f5;
  display: block;
}

.location-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══ About photo (代表) ═══ */
.about-photo-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 12px;
}

@media (max-width: 559px) {
  .location-card-img {
    height: 180px;
  }
}

/* ═══════════════════════════════════════════════
   Footer (mirror existing fitsync.jp style)
   既存 fitsync.jp index.html inline <style> から移植
   ═══════════════════════════════════════════════ */

footer {
  margin-top: 60px;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
  background: #fff;
}

.footer-social {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social i {
  color: #1a2747;
  font-size: 25px;
}

.footer-social a {
  color: #1a2747;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #1a2747;
  text-underline-offset: 5px;
  font-size: 17px;
}

.footer-social a:hover {
  color: #2E5BBA;
}

.footer-social .social-icon {
  margin: 0 20px;
  display: flex;
  align-items: center;
}

.footer-social .xiaohongshu {
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
  font-size: 18px;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  width: 100%;
  flex-wrap: wrap;
  padding: 16px 0 24px;
}

.footer-privacy {
  margin: 8px 30px 8px 0;
}

.footer-privacy a {
  text-decoration: none;
  color: #1a2747;
  font-size: 15px;
}

.footer-privacy a:hover {
  color: #2E5BBA;
}

.footer-copyright {
  margin: 8px 30px 8px 0;
}

.footer-copyright p {
  color: #1a2747;
  margin: 0;
}

.footer-copyright a {
  text-decoration: none;
  color: #1a2747;
}

.footer-copyright a:hover {
  color: #2E5BBA;
}

@media (max-width: 559px) {
  .footer-social .social-icon {
    margin: 0 12px;
  }
  .footer-container {
    flex-direction: column;
    gap: 4px;
  }
  .footer-privacy,
  .footer-copyright {
    margin: 4px 0;
  }
}

/* ═══════════════════════════════════════════════
   Mobile-responsive table → card transformation
   モバイル (max-width: 559px) で table をカード化
   ブランド品質維持・横スクロール完全排除
   ═══════════════════════════════════════════════ */

/* Tablet: prevent horizontal overflow with auto-scroll fallback */
@media (max-width: 991px) {
  .recruit-container {
    overflow-x: hidden;
  }
}

@media (max-width: 559px) {
  /* === Hide the desktop table layout, show card stack === */
  .compensation-table,
  .job-table {
    display: block;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    margin: 0 0 32px;
  }

  .compensation-table thead,
  .job-table thead {
    display: none;
  }

  .compensation-table tbody,
  .job-table tbody {
    display: block;
    width: 100%;
  }

  .compensation-table tbody tr,
  .job-table tbody tr {
    display: block;
    background: #fff;
    border: 1px solid var(--r-border-light);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }

  .compensation-table tbody td,
  .job-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    text-align: left;
    gap: 12px;
  }

  .compensation-table tbody td:last-child,
  .job-table tbody td:last-child {
    border-bottom: 0;
  }

  .compensation-table tbody td::before,
  .job-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
    font-size: 13px;
    flex-shrink: 0;
    min-width: 100px;
    text-align: left;
  }

  /* First cell of each row becomes card header (色付きバナー) */
  .compensation-table tbody td:first-child {
    background: linear-gradient(135deg, var(--r-health), var(--r-health-dark));
    color: #fff;
    padding: 14px 16px;
    font-weight: 700;
    border-bottom: 0;
    display: block;
    text-align: left;
    font-size: 15px;
    line-height: 1.4;
  }

  .compensation-table tbody td:first-child::before {
    display: none;
  }

  /* job-table の最初のセルは深い青 (信頼テーマ) */
  .job-table tbody td:first-child {
    background: linear-gradient(135deg, #2E5BBA, #1a2747);
    color: #fff;
    padding: 14px 16px;
    font-weight: 700;
    border-bottom: 0;
    display: block;
    text-align: left;
    font-size: 15px;
    line-height: 1.4;
  }

  .job-table tbody td:first-child::before {
    display: none;
  }

  .job-table tbody td:first-child strong {
    color: #fff;
  }

  /* Amount highlight on mobile cards */
  .compensation-table tbody td .amount-highlight {
    font-size: 16px;
    font-weight: 700;
  }

  /* Section heading h4 above tables — better spacing on mobile */
  .recruit-h4 {
    font-size: 16px !important;
    margin: 24px 0 12px !important;
    text-align: left !important;
    color: var(--r-text);
    padding-left: 4px;
  }
}
