/* ============================================================
   Components
   ------------------------------------------------------------
   複数セクション・複数テンプレートで再利用される役割ベースの部品。
   見た目の違い（色/サイズ）はあっても構造的な役割が同じものをここに置く。
   ============================================================ */

/* ---- Section Head（アイキャッチ＋見出し＋説明文） ---- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-head h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  line-height: 1.3;
}

.section-head h2.white {
  color: var(--color-white);
}

.section-head .eyebrow {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.section-head .eyebrow-accent {
  color: var(--color-accent);
}

/* ---- Button / CTA Link ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-accent-sm {
  background: var(--color-accent);
  color: var(--color-text);
}

.btn-white-sm {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-primary-block,
.btn-white-block {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: auto;
}

.btn-primary-block {
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid #1e3a8a;
}

.btn-white-block {
  background: var(--color-white);
  color: #2563eb;
}

/* ---- Badge / Tag / Pill ---- */
.hero-badge {
  background: var(--color-white);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.voice-tag {
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  padding: 6px 11px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
}

.pricing-badge {
  position: absolute;
  right: 0;
  top: 0;
  background: #facc15;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 0 12px 0 6px;
}

/* ---- Accordion（FAQ開閉） ---- */
.faq-item {
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 15px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
}

.faq-q-mark {
  color: var(--color-primary);
  font-size: 0.75rem;
}

.faq-question img {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 15px 15px 39px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
}
