/* ─── RECRUIT-COMMON.CSS ─────────────────────────────────────────────────────
   recruit_fulltime / recruit_partner 2ページ共通スタイル。
   読込順: common.css → recruit-common.css → ai-chat.css → <style>
   ────────────────────────────────────────────────────────────────────────── */

/* ─── 採用情報テーブル ─── */
.table-wrap {
  margin-top: 48px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: rgba(13,26,46,0.3);
}
.recruit-table {
  width: 100%; border-collapse: collapse; text-align: left; font-size: 14px;
}
.recruit-table th, .recruit-table td {
  padding: 24px 32px; border-bottom: 1px solid rgba(0,87,255,0.08);
}
.recruit-table tr:last-child td { border-bottom: none; }
.recruit-table th {
  background: rgba(0,87,255,0.05); color: #fff; font-weight: 700; width: 220px;
  border-right: 1px solid rgba(0,87,255,0.08); vertical-align: top;
}
.recruit-table td {
  color: var(--muted2); line-height: 1.8;
}

/* ─── FAQ アコーディオン ─── */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.faq-q {
  padding: 20px 24px; font-size: 15px; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: background .2s; user-select: none;
}
.faq-q:hover { background: rgba(0,87,255,.06); }
.faq-q-icon {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; color: var(--blue); transition: transform .3s; flex-shrink: 0;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1); font-size: 14px; color: var(--muted2); line-height: 1.9;
}
.faq-item.open .faq-a { padding: 0 24px 20px; max-height: 500px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .table-wrap { margin-top: 36px; }
  .recruit-table th, .recruit-table td { padding: 18px 22px; }
  .recruit-table th { width: 160px; }
}

/* スマホ: 行を縦積みにして横スクロールを防ぐ */
@media (max-width: 600px) {
  .recruit-table, .recruit-table tbody, .recruit-table tr { display: block; width: 100%; }
  .recruit-table th, .recruit-table td {
    display: block; width: 100%; border-right: none; padding: 14px 18px;
  }
  .recruit-table th {
    width: 100%; border-bottom: none; padding-bottom: 4px; font-size: 13px;
  }
  .recruit-table td { padding-top: 4px; padding-bottom: 18px; }
  .faq-q { padding: 16px 18px; }
  .faq-a { padding: 0 18px; }
  .faq-item.open .faq-a { padding: 0 18px 16px; }
}
