/* 010 よくある質問 — 固有スタイル (共通 style.css の .acc をカンプ仕様に上書き) */
.anchor-pills {
  display: flex;
  justify-content: center;
  gap: 27px;
  margin-top: 60px;
}
.anchor-pill {
  width: 382px;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px;
}

.faq-sec { margin-top: 110px; }
.faq-list {
  max-width: 1200px;
  margin: 56px auto 0;
  display: grid;
  gap: 40px;
}
.acc--faq { background: var(--cream); padding: 26px 40px 30px; border-bottom: none; }
.acc--faq summary {
  padding: 0 40px 16px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid #c9b273;
  text-wrap: balance; /* 「か？」1文字孤立行を防ぐ (非対応ブラウザは従来折返し) */
}
.acc--faq summary::before { background: var(--gold); }
.acc--faq .acc-body { padding: 18px 0 0; font-size: 15px; line-height: 1.9; }
.acc--faq .acc-body::before { content: none; }

.contact-banner {
  border: 2px solid var(--red);
  color: var(--red);
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
  padding: 20px 24px;
  margin-top: 90px;
}

.sp-br { display: none; }

/* 中間幅: 3ピル均等圧縮で語中折返しするため nowrap 固定幅に */
@media (min-width: 769px) and (max-width: 1199px) {
  .anchor-pill { width: auto; flex: none; white-space: nowrap; padding: 14px 16px; }
}

@media (max-width: 768px) {
  .anchor-pills { flex-direction: column; gap: 14px; margin-top: 36px; }
  .anchor-pill { width: 100%; }
  .faq-sec { margin-top: 56px; }
  /* カンプ: カード幅広め (A 5行)、Qアイコンはカード上端から半分はみ出し */
  /* margin-top 56px: Qアイコン (-22px) が直上の見出し下線に接しない余白を確保 */
  .faq-list { margin: 56px -14px 0; gap: 36px; }
  .acc--faq { position: relative; margin-top: 30px; padding: 38px 20px 24px; }
  /* position: static で ::before の基準を summary → カード (.acc--faq) に変更 (web/ 版と同じ修正) */
  .acc--faq summary { display: block; position: static; padding: 0 0 12px; }
  .acc--faq summary::before {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  /* カンプどおり Q はカード上端に半分はみ出す。質問文1行目と被らないよう
     アイコンの飛び出し分 (22px) + 空気分を padding-top で確保 */
  .acc--faq summary::after { display: none; }
  .acc--faq .acc-body { padding: 14px 0 0; }
  .sp-br { display: inline; }
  .contact-banner { margin-top: 56px; font-size: 15px; }
}
