/* =====================================================
   SOUTHGATE TAXI — recruit.css
   採用ページ専用スタイル
   すべてのクラスを rc- プレフィックスで統一
   FluentForm との干渉を完全排除
   ===================================================== */

/* ── Variables（style.cssと共有） ──────────────────── */
/* --black / --panel / --off / --dim / --line / --topbar-h / --wrap は style.css で定義済み */

/* ── Breadcrumb ───────────────────────────────────── */
.rc-breadcrumb {
  background: var(--black);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.rc-breadcrumb .rc-wrap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--dim);
}
.rc-breadcrumb a {
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}
.rc-breadcrumb a:hover    { color: var(--off); }
.rc-breadcrumb a:visited  { color: var(--dim); }

/* ── Common Layout ────────────────────────────────── */
.rc-wrap {
  max-width: var(--wrap, 960px);
  margin: 0 auto;
  padding: 0 var(--gap, 64px);
}

.rc-section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background: var(--black);
}

/* ── Eyebrow / H2 ─────────────────────────────────── */
.rc-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}

.rc-h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--off);
  margin-bottom: 56px;
  line-height: 1.15;
}

/* ── Hero ─────────────────────────────────────────── */
.rc-hero {
  background: var(--black);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--topbar-h, 80px) + 96px) 0 96px;
}

.rc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}

.rc-hero h1 {
  font-family: 'Oswald', sans-serif !important;
  font-size: clamp(40px, 6vw, 76px) !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  color: var(--off) !important;
  line-height: 1.1 !important;
  margin-bottom: 28px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.rc-lead {
  font-size: 16px;
  color: var(--dim);
  line-height: 2.0;
  max-width: 560px;
}

/* ── Stats ────────────────────────────────────────── */
.rc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.rc-stat-item {
  background: var(--black);
  padding: 48px 40px;
  transition: background .25s;
}
.rc-stat-item:hover { background: var(--panel); }

.rc-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}

.rc-stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--off);
  letter-spacing: .02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.rc-stat-note {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.8;
}

/* ── Requirements Table ───────────────────────────── */
.rc-table-wrap {
  overflow-x: auto;
}

table.rc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: transparent;
}

table.rc-table th,
table.rc-table td {
  padding: 22px 28px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}

table.rc-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--dim);
  background: var(--panel);
  width: 200px;
  white-space: nowrap;
}

table.rc-table td {
  color: var(--off);
  background: var(--black);
}

table.rc-table tbody tr:hover th,
table.rc-table tbody tr:hover td {
  background: var(--panel);
}

/* ── Benefits ─────────────────────────────────────── */
.rc-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.rc-benefit-item {
  background: var(--black);
  padding: 48px 40px;
  transition: background .25s;
}
.rc-benefit-item:hover { background: var(--panel); }

.rc-benefit-no {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--off);
  margin-bottom: 20px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.rc-benefit-item h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--off);
  margin-bottom: 14px;
}

.rc-benefit-item p {
  font-size: 14px;
  color: var(--dim);
  line-height: 2.0;
}

/* ── Flow ─────────────────────────────────────────── */
ol.rc-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.rc-flow-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: var(--black);
  padding: 40px 44px;
  transition: background .25s;
}
.rc-flow-item:hover { background: var(--panel); }

.rc-flow-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--dim);
  flex-shrink: 0;
  width: 56px;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 7px;
  padding-top: 4px;
}

.rc-flow-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--off);
  margin-bottom: 10px;
}

.rc-flow-body p {
  font-size: 14px;
  color: var(--dim);
  line-height: 2.0;
}

/* ── CTA Banner ───────────────────────────────────── */
.rc-cta {
  border: 1px solid var(--off);
  box-shadow: 0 0 0 4px var(--black), 0 0 0 5px var(--line);
  padding: 72px 56px;
  text-align: center;
  transition: transform .3s;
}
.rc-cta:hover { transform: translateY(-4px); }

.rc-cta h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--off);
  margin-bottom: 20px;
}

.rc-cta p {
  font-size: 15px;
  color: var(--dim);
  line-height: 2.0;
  max-width: 560px;
  margin: 0 auto 40px;
}

.rc-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Buttons（rc-専用 — sgt-btn とは完全独立） ──────── */
.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  cursor: pointer;
  white-space: nowrap;
}

/* 白ボタン（電話）: 白背景 + 黒文字 */
.rc-btn-white {
  background-color: #F5F5F0;
  color: #0A0A0A;
  border: 1px solid #F5F5F0;
}
.rc-btn-white:link,
.rc-btn-white:visited { color: #0A0A0A; }
.rc-btn-white:hover {
  background-color: transparent;
  color: #F5F5F0;
  transform: translateY(-3px);
}

/* 枠線ボタン（フォームへ）: 透明背景 + 白文字 */
.rc-btn-outline {
  background-color: transparent;
  color: #F5F5F0;
  border: 1px solid #F5F5F0;
}
.rc-btn-outline:link,
.rc-btn-outline:visited { color: #F5F5F0; }
.rc-btn-outline:hover {
  background-color: #F5F5F0;
  color: #0A0A0A;
  transform: translateY(-3px);
}

/* ── Apply Form Wrapper ───────────────────────────── */
.rc-form-wrap {
  max-width: 720px;
}

/* フォールバック */
.rc-form-fallback {
  border: 1px solid var(--line);
  padding: 40px;
  color: var(--dim);
  line-height: 2.0;
}
.rc-form-fallback p { margin-bottom: 12px; }
.rc-form-fallback a { color: var(--off); }
.rc-form-fallback .rc-form-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--dim);
  margin-top: 20px;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 960px) {
  .rc-wrap { padding: 0 40px; }
  .rc-section { padding: 80px 0; }
  .rc-hero { padding-top: calc(var(--topbar-h, 68px) + 72px); padding-bottom: 72px; }
  .rc-stats { grid-template-columns: 1fr; }
  .rc-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .rc-wrap { padding: 0 24px; }
  .rc-section { padding: 64px 0; }
  .rc-hero { padding-top: calc(var(--topbar-h, 68px) + 48px); padding-bottom: 56px; }
  .rc-stat-item { padding: 36px 28px; }
  .rc-benefit-item { padding: 36px 28px; }
  .rc-flow-item { flex-direction: column; gap: 16px; padding: 32px 24px; }
  .rc-flow-no { font-size: 22px; width: auto; }
  .rc-cta { padding: 48px 24px; }
  .rc-cta-btns { flex-direction: column; align-items: stretch; }
  .rc-btn { width: 100%; justify-content: center; padding: 18px 24px; }
  table.rc-table th { width: auto; white-space: normal; }
  table.rc-table th,
  table.rc-table td { padding: 16px 18px; }
  .rc-h2 { margin-bottom: 40px; }
}
