/* ========================================
   faq.css
   よくある質問ページ アコーディオンスタイル
   ======================================== */

.info-mw {
  max-width: 960px;
}

.faq-section {
  margin-top: 48px;
}

.faq-section h2 {
  font-size: 22px;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}

.accordion {
  border-bottom: 1px solid #ddd;
}

.accordion-item {
  border-top: 1px solid #ddd;
}

.accordion-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
  gap: 12px;
  user-select: none;
}

.accordion-header:hover {
  opacity: 0.7;
}

.accordion-q-label {
  flex-shrink: 0;
  font-weight: 700;
  color: #313131;
  width: 28px;
}

.accordion-header-text {
  flex: 1;
}

.accordion-icon-wrap {
  display: flex;
  align-items: center;
  padding-top: 6px;
}

.accordion-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid #313131;
  border-bottom: 2px solid #313131;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(-135deg);
}

.accordion-body {
  overflow: hidden;
  height: 0;
  transition: height 0.35s ease;
}

.accordion-body-inner {
  display: flex;
  gap: 12px;
  padding: 0 4px 24px 4px;
  line-height: 1.8;
  font-size: 15px;
}

.accordion-a-label {
  flex-shrink: 0;
  font-weight: 700;
  width: 28px;
}

.accordion-a-text {
  flex: 1;
}

.accordion-body-inner a {
  color: #5b66e5;
}

.faq-note {
  font-size: 14px;
  color: #666;
  padding: 16px 4px 0;
}

.faq-footer {
  text-align: center;
  margin-top: 48px;
}

.faq-footer p {
  margin-bottom: 16px;
}

.faq-footer .btn-question {
  display: inline-block;
  padding: 12px 32px;
  background-color: #313131;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.faq-footer .btn-question:hover {
  opacity: 0.7;
}
