/* ========================================
   セクション: S11_FAQ
   Figma node: 1038:5160 / 393×783
   ======================================== */

.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 0 40px;
  background: #F2F5FB;
  gap: 40px;
}

/* ── 見出しバー ── */
.faq-heading-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 0 30px;
  gap: 10px;
  background: var(--color-navy);
}

.faq-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  height: 24px;
  background: #ffffff;
  border-radius: 20px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-navy);
  white-space: nowrap;
}

.faq-heading {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
}

.faq-heading-yellow {
  color: #ffffff;
}

/* ── FAQリスト ── */
.faq-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 15px;
  gap: 15px;
}

/* ── FAQアイテム ── */
.faq-item {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #0F3460;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

/* ── 質問バー ── */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  gap: 12px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.faq-question-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.faq-badge-q {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #0F3460;
  border-radius: 4px;
  flex-shrink: 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.faq-question-text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #0F3460;
  text-align: left;
}

.faq-toggle {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  color: #0F3460;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  line-height: 1;
}

/* ── 回答エリア ── */
.faq-answer {
  display: none;
  padding: 16px;
  gap: 10px;
  background: #E5F5F8;
}

.faq-answer[aria-hidden="false"] {
  display: flex;
}

.faq-badge-a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #5DC1D6;
  border-radius: 4px;
  flex-shrink: 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.faq-answer-text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #333333;
  text-align: left;
  flex: 1;
  min-width: 0;
}
