/* よくある質問ページ：共通部分は style.css */
.faq-content {
  padding-top: 64px;
  padding-bottom: 80px;
}

.faq-list {
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  padding: 28px 32px;
  border: 1px solid #e2ece5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(69, 99, 81, 0.04);
}

.faq-question,
.faq-answer {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.faq-question {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px dashed #dce8df;
  color: #354c40;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
}

.faq-answer {
  margin-top: 20px;
}

.faq-answer p {
  margin: 0;
  color: #536057;
  font-size: 16px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.faq-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.faq-badge-q {
  background: #fbe3e8;
  color: #b75370;
}

.faq-badge-a {
  background: #e0f1e6;
  color: #438060;
}

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

.faq-contact p {
  margin: 0 0 20px;
  color: #536057;
  line-height: 1.9;
}

@media (max-width: 640px) {
  .faq-content {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .faq-list {
    gap: 16px;
  }

  .faq-item {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .faq-question,
  .faq-answer {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }

  .faq-question {
    padding-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
  }

  .faq-answer {
    margin-top: 16px;
  }

  .faq-answer p {
    font-size: 15px;
    line-height: 1.9;
  }

  .faq-badge {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .faq-contact {
    margin-top: 32px;
  }
}
