/* ============================================
   JMOOC受講Q&A ページ固有CSS
   ============================================ */

/* FAQ Card */
.faq-card {
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Category List */
.category-list {
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.category-list a {
  color: #1b1b1b;
  text-decoration: none;
}

.category-list .list-group-item {
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.category-list .list-group-item:last-child {
  border-bottom: 0;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-accordion .accordion-button {
  padding-left: 44px;
}

.faq-accordion .accordion-button::after {
  content: "+";
  background-image: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #5a5a5a;
  transform: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: "−";
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #efe2d2;
  color: #1b1b1b;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-button::before {
  content: "Q";
  position: absolute;
  left: 16px;
  font-weight: 700;
  color: #0b6fc2;
}

.faq-accordion .accordion-body {
  padding-left: 44px;
  background: #fbfbfb;
}

/* FAQ Button */
.btn-faq {
  background: #d8c4a8;
  border-color: #d8c4a8;
  color: #1b1b1b;
}

.btn-faq:hover,
.btn-faq:focus {
  background: #cdb69a;
  border-color: #cdb69a;
  color: #1b1b1b;
}
