/* ==========================================================================
   JRA-VAN オリジナルグッズ（index下部FAQ）
   CSS file: jv-oshigoods-index-faq.css
   NOTE: Shift_JISで保存（サーバ配信時はContent-Typeのcharsetも合わせてください）
   ========================================================================== */

/* セクション全体（index下部に自然に馴染む余白） */
.hgj-indexFaq{
  padding: 18px 0 6px;
}

.hgj-indexFaqWrap{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 12px;
}

/* カード（free.htmlのカード感に寄せる） */
.hgj-indexFaqCard{
  background: #ffffff;
  border: 1px solid #dbe6f2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 14px;
  margin: 0 0 14px;
}

.hgj-indexFaqTitle{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: #111827;
  letter-spacing: .01em;
}

/* ------------------------------------------------------------
   FAQ（free.html のアコーディオンを移植）
   ※ .hgj-indexFaq 配下に限定
------------------------------------------------------------ */
.hgj-indexFaq .hgj-faq{
  border-radius: 18px;
  border: 1px solid #dbe6f2;
  overflow: hidden;
}

.hgj-indexFaq .hgj-faqQ{
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(219,230,242,.85);
  font-weight: 900;
  font-size: 13px;
  color: #111827;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.hgj-indexFaq .hgj-faqIco{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(22,163,74,.25);
  background: rgba(22,163,74,.08);
  color: #0d5130;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.hgj-indexFaq .hgj-faqA{
  padding: 12px 14px;
  background: #f6fbff;
  font-weight: bold;
  font-size: 12px;
  color: #54657a;
  line-height: 1.65;
}

/* A内リンク（free.htmlのhgj-linkに近い見た目をFAQ専用で用意） */
.hgj-indexFaq .hgj-faqLink{
  color: #0d5130;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 81, 48, .25);
  font-weight: 900;
}

/* 最後のQの下線を消す（見た目の整え） */
.hgj-indexFaq .hgj-faqQ:last-of-type{
  border-bottom: 0;
}

/* 低モーション環境 */
@media (prefers-reduced-motion: reduce){
  .hgj-indexFaq *{
    transition: none !important;
  }
}
