/* ============================================================
   recruit-faq.css — 採用 よくあるご質問ページ
   ============================================================ */


/* ============================
   ヒーロー上書き（背景画像）
============================ */
.rv-hero--faq {
  background: center center / cover no-repeat;
  position: relative;
}

.rv-hero--faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  border-radius: inherit;
}

.rv-hero--faq .rv-hero-title {
  position: relative;
  z-index: 1;
}
.rc-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
}

.rc-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #999;
}

.rc-breadcrumb ol li:not(:last-child)::after {
  content: '>';
  margin-left: 4px;
  color: #ccc;
}

.rc-breadcrumb ol li a {
  color: #666;
  text-decoration: none;
}

.rc-breadcrumb ol li a:hover {
  text-decoration: underline;
}
.rc-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
}

.rc-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #999;
}

.rc-breadcrumb ol li:not(:last-child)::after {
  content: '>';
  margin-left: 4px;
  color: #ccc;
}

.rc-breadcrumb ol li a {
  color: #666;
  text-decoration: none;
}

.rc-breadcrumb ol li a:hover {
  text-decoration: underline;
}
/* ============================
   FAQ セクション
============================ */
.rc-faq-section {
  background: #fff;
  padding: 64px 0 96px;
}

.rc-faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================
   FAQリスト
============================ */
.rc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* ============================
   Q&A アイテム
============================ */
.rc-faq-item {
  padding-bottom: 0;
}

/* Q 行 */
.rc-faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F6F5E2;
  padding: 16px 20px;
  border-radius: 40px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
  outline: none;
}

.rc-faq-q:hover {
  background: #efeede;
}

.rc-faq-q:focus-visible {
  outline: 2px solid #D4A017;
  outline-offset: -2px;
}

/* A 行 */
.rc-faq-a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: transparent;
  padding: 16px 56px 8px 20px;
}

.rc-faq-a[hidden] {
  display: none;
}

/* アイコン（Q / A） */
.rc-faq-icon {
  font-size: 26px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.2;
  width: 30px;
  text-align: center;
}

.rc-faq-icon--q {
  color: #E8913A;
}

.rc-faq-icon--a {
  color: #1B2A4A;
}

/* Q テキスト */
.rc-faq-q-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.55;
}

/* A テキスト */
.rc-faq-a-text {
  flex: 1;
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin: 0;
  padding-top: 4px;
}

/* トグルアイコン（＋） */
.rc-faq-toggle {
  font-size: 24px;
  font-weight: 300;
  color: #444;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
  margin-left: auto;
  padding-left: 12px;
}

.rc-faq-item--open .rc-faq-toggle {
  transform: rotate(45deg);
}


/* ============================
   RESPONSIVE — Tablet (≤ 1024px)
============================ */
@media (max-width: 1024px) {
  .rc-faq-section {
    padding: 48px 0 72px;
  }

  .rc-faq-q {
    padding: 14px 16px;
  }

  .rc-faq-q-text {
    font-size: 14px;
  }

  .rc-faq-a {
    padding: 14px 40px 8px 16px;
  }

  .rc-faq-a-text {
    font-size: 13px;
  }

  .rc-faq-icon {
    font-size: 22px;
    width: 26px;
  }
}


/* ============================
   RESPONSIVE — Mobile (≤ 640px)
============================ */
@media (max-width: 640px) {
  .rc-faq-section {
    padding: 40px 0 56px;
  }

  .rc-faq-container {
    padding: 0 16px;
  }

  .rc-faq-list {
    gap: 12px;
  }

  .rc-faq-q {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 30px;
  }

  .rc-faq-q-text {
    font-size: 13px;
  }

  .rc-faq-a {
    padding: 12px 16px 8px 14px;
    gap: 10px;
  }

  .rc-faq-a-text {
    font-size: 12.5px;
  }

  .rc-faq-icon {
    font-size: 18px;
    width: 22px;
  }

  .rc-faq-toggle {
    font-size: 20px;
  }
}
