/* ============================================
   Recruit Page — recruit.css
   既存カラーパレット（style.css :root変数）を使用
   ============================================ */

/* --- HERO (左テキスト / 右写真) --- */
.rc-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy, #1a2744);
}
.rc-hero-split {
  display: flex;
  flex-direction: column;
}
.rc-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 24px 40px;
  order: 2;
}
.rc-hero-photo {
  order: 1;
  overflow: hidden;
}
.rc-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.rc-hero-en {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}
.rc-hero-catch {
  font-family: var(--font-heading);
  font-size: clamp(22px, 6vw, 40px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.8;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.6s forwards;
}
.rc-hero-catch em {
  font-family: var(--font-en), var(--font-heading);
  font-style: italic;
  color: var(--gold-light);
}
.rc-hero-sub {
  font-size: 14px;
  color: var(--text-on-dark-sub, rgba(255,255,255,0.7));
  line-height: 1.8;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}
.rc-hero-cta {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: var(--gold);
  border-radius: 40px;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: opacity 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}
.rc-hero-cta:hover { opacity: 0.85; }

/* --- Section Number (背景装飾) --- */
.rc-section-num {
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 300;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -0.02em;
  user-select: none;
}
.rc-section-num--light {
  color: rgba(255,255,255,0.06);
}

/* --- PHILOSOPHY --- */
.rc-philosophy {
  margin-top: 32px;
}
.rc-philosophy-left {
  margin-bottom: 28px;
}
.rc-philosophy-catch {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--text-primary);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}
/* Philosophy 本文 */
.rc-philosophy-body p {
  font-size: 14px;
  line-height: 2.0;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.rc-philosophy-body p:last-child {
  margin-bottom: 0;
}
.rc-highlight {
  background: linear-gradient(transparent 60%, rgba(184,155,100,0.18) 60%);
}

/* 社名由来カード */
.rc-name-card {
  background: var(--gray-50, #f9fafb);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.rc-name-card-en {
  font-family: var(--font-en), var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.rc-name-base,
.rc-name-up {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
}
.rc-name-eq {
  color: var(--gray-400, #9ca3af);
  margin: 0 2px;
}
.rc-name-sep {
  color: var(--gray-300, #d1d5db);
  margin: 0 8px;
}
.rc-name-card-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 0 !important;
}

/* --- 求める人物像カード --- */
.rc-persona-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.rc-persona-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  position: relative;
}
.rc-persona-num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}
.rc-persona-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.rc-persona-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* --- 人材マネジメントポリシー --- */
.rc-policy-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200, #e5e7eb);
}
.rc-policy-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-align: center;
}
.rc-policy-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}
.rc-policy-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.rc-policy-card {
  background: var(--gray-50, #f9fafb);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  border: 1px solid var(--gray-100, #f3f4f6);
}
.rc-policy-card .rc-policy-num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.rc-policy-card .rc-policy-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
}
.rc-policy-divider {
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto;
}
.rc-policy-card .rc-policy-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- 募集職種 --- */
.rc-positions-lead {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.9;
  margin-bottom: 32px;
}
.rc-job {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200, #e5e7eb);
  margin-bottom: 24px;
}
.rc-job:last-child { margin-bottom: 0; }

/* 共通事項 */
.rc-job-common {
  margin-top: 40px;
  padding: 28px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-top: 3px solid var(--gold);
}
.rc-job-common-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rc-job-common-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.rc-job-common .rc-job-table td strong {
  color: var(--text-primary);
  font-weight: 500;
}
/* 求人ヘッダー・タグ */
.job-card-dept {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.job-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  background: rgba(184,155,100,0.1);
  border: 1px solid rgba(184,155,100,0.25);
  border-radius: 20px;
  padding: 3px 12px;
  letter-spacing: 0.02em;
}
.rc-job-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.rc-job-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 4px 0 10px;
}
.rc-job-table {
  width: 100%;
  border-collapse: collapse;
}
.rc-job-table tr {
  border-bottom: 1px solid var(--gray-100);
}
.rc-job-table tr:last-child { border-bottom: none; }
.rc-job-table th {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  padding: 12px 8px 12px 0;
  width: 90px;
  vertical-align: top;
  text-align: left;
  white-space: nowrap;
}
.rc-job-table td {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 12px 0;
  line-height: 1.8;
}
.rc-job-table ul {
  padding-left: 1.2em;
  list-style: disc;
}
.rc-job-table li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- トークセクション --- */
.rc-talk-lead {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
}
.rc-talk-block {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.rc-talk-block:last-child { margin-bottom: 0; }

/* アコーディオン */
.rc-talk-block { list-style: none; }
.rc-talk-trigger {
  cursor: pointer;
  list-style: none;
}
.rc-talk-trigger::-webkit-details-marker { display: none; }
.rc-talk-trigger::marker { display: none; content: ''; }
.rc-talk-preview {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
  padding: 0 4px;
}
.rc-talk-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.rc-talk-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.3s;
}
details[open] .rc-talk-arrow {
  transform: rotate(-135deg);
}
details[open] .rc-talk-toggle {
  margin-bottom: 16px;
}
.rc-talk-block .rc-talk-body {
  animation: talkOpen 0.3s ease;
}
@keyframes talkOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ラベル */
.rc-talk-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 14px;
}
.rc-talk-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 16px;
  font-style: normal;
  flex-shrink: 0;
}
.rc-talk-label-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 400;
}

/* ヘッダー（写真＋名前） */
.rc-talk-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.rc-talk-member {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rc-talk-member img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gray-100);
}
.rc-talk-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
.rc-talk-role {
  font-size: 12px;
  color: var(--gray-400);
  display: block;
  margin-top: 2px;
}
.rc-talk-x {
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ナナメトーク 複数メンバー */
.rc-talk-header--multi {
  flex-wrap: wrap;
  gap: 12px;
}
.rc-talk-member-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rc-talk-member--small img {
  width: 44px;
  height: 44px;
}
.rc-talk-member--small .rc-talk-name {
  font-size: 13px;
}
.rc-talk-member--small .rc-talk-role {
  font-size: 11px;
}

/* 吹き出し */
.rc-talk-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rc-talk-balloon {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-primary);
  position: relative;
}
.rc-talk-balloon--left {
  align-self: flex-start;
  background: var(--gray-50);
  border-bottom-left-radius: 4px;
}
.rc-talk-balloon--right {
  align-self: flex-end;
  background: #eef3f9;
  border-bottom-right-radius: 4px;
}
.rc-talk-speaker {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 4px;
}

/* --- 会社紹介ピッチ --- */
.rc-pitch-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.rc-pitch-item {
  text-align: center;
}
.rc-pitch-value {
  display: block;
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 8px;
}
.rc-pitch-value--text {
  font-style: italic;
}
.rc-pitch-over {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-left: 4px;
  color: var(--gold-light);
}
.rc-pitch-unit {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-on-dark-sub);
  margin-left: 2px;
}
.rc-pitch-label {
  display: block;
  font-size: 13px;
  color: var(--text-on-dark-sub);
  line-height: 1.6;
}

/* --- CTA --- */
.rc-cta {
  padding: 20px 0;
}
.rc-cta-label {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.rc-cta-catch {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.rc-cta-faces {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.rc-cta-faces img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gold);
  outline: 2px solid var(--white);
  margin-left: -8px;
  transition: transform 0.3s;
}
.rc-cta-faces img:first-child {
  margin-left: 0;
}
.rc-cta-faces img:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 1;
}
.rc-cta-sub {
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.rc-cta-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 28px;
}

/* --- SP only --- */
.sp-only { display: inline; }

/* --- Gold line accent (section header下) --- */
.gold-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 12px auto 0;
}

/* ============================================
   Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
  .rc-hero-catch { font-size: clamp(28px, 4vw, 38px); }

  .rc-philosophy-catch { font-size: 22px; }

  .rc-persona-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .rc-policy-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .rc-talk-lead { font-size: 15px; }
  .rc-talk-block { padding: 32px 28px; }
  .rc-talk-member img { width: 64px; height: 64px; }
  .rc-talk-balloon { max-width: 80%; font-size: 15px; }

  .rc-pitch-numbers {
    grid-template-columns: repeat(4, 1fr);
  }

  .sp-only { display: none; }
}

/* ============================================
   Desktop (900px+)
   ============================================ */
@media (min-width: 900px) {
  .rc-hero-split {
    flex-direction: row;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
  }
  .rc-hero-text {
    flex: 0 0 auto;
    order: 1;
    padding: 80px 48px 80px 0;
  }
  .rc-hero-photo {
    flex: 0 1 45%;
    max-width: 45%;
    order: 2;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 40px 0;
  }
  .rc-hero-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }
  .rc-hero-catch { font-size: 38px; line-height: 1.9; }
  .rc-hero-en { font-size: 15px; }
  .rc-hero-sub { font-size: 15px; }

  .rc-section-num { font-size: 100px; margin-bottom: -28px; }

  .rc-philosophy-catch { font-size: 26px; }
  .rc-philosophy-body p { font-size: 16px; }
  .rc-name-card { padding: 24px 32px; }
  .rc-name-card-en { font-size: 18px; }
  .rc-name-base, .rc-name-up { font-size: 22px; }
  .rc-name-card-body { font-size: 15px; }

  .rc-persona-title { font-size: 18px; }
  .rc-persona-text { font-size: 15px; }

  .rc-policy-card { padding: 32px 24px; }
  .rc-policy-card .rc-policy-num { font-size: 40px; }
  .rc-policy-card .rc-policy-title { font-size: 20px; }
  .rc-policy-card .rc-policy-text { font-size: 15px; }

  .rc-pitch-value { font-size: 44px; }
  .rc-pitch-label { font-size: 14px; }

  .rc-cta-faces img { width: 68px; height: 68px; margin-left: -10px; }
  .rc-cta-faces img:first-child { margin-left: 0; }
  .rc-cta-catch { font-size: 28px; }
  .rc-cta-desc { font-size: 16px; }

  .rc-positions-lead { font-size: 16px; }
  .rc-job { padding: 36px 32px; }
  .rc-job-title { font-size: 20px; }
  .rc-job-table th { width: 120px; font-size: 14px; }
  .rc-job-table td { font-size: 15px; }
  .rc-job-table li { font-size: 15px; }

  .rc-talk-lead { font-size: 16px; }
  .rc-talk-block { padding: 36px 32px; }
  .rc-talk-label { font-size: 18px; }
  .rc-talk-member img { width: 72px; height: 72px; }
  .rc-talk-name { font-size: 15px; }
  .rc-talk-role { font-size: 13px; }
  .rc-talk-balloon { font-size: 16px; max-width: 75%; padding: 16px 20px; }
}

/* ============================================
   Wide (1200px+)
   ============================================ */
@media (min-width: 1200px) {
  .rc-hero-split { max-width: 1080px; }
  .rc-hero-catch { font-size: 42px; }
  .rc-section-num { font-size: 120px; margin-bottom: -36px; }
  .rc-philosophy-catch { font-size: 28px; }
  .rc-pitch-value { font-size: 52px; }
}
