@charset "UTF-8";

/* FAQ アコーディオン */

.faq_accordion {
  margin: 0 auto 48px;
  max-width: 720px;
  border-top: 1px solid #d9d9d9;
}

.faq_item {
  border-bottom: 1px solid #d9d9d9;
}

.faq_question {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 22px 4px 22px 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "MS PMincho", serif;
  color: #222;
  box-sizing: border-box;
}

.faq_q_icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  margin-right: 12px;
}

.faq_q_icon img {
  display: block;
  width: 19px;
  height: auto;
}

.faq_question_text {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
  padding-right: 16px;
}

/* プラス / マイナス */
.faq_toggle {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  align-self: center;
}

.faq_toggle::before,
.faq_toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #222;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.faq_toggle::before {
  width: 12px;
  height: 1px;
}

.faq_toggle::after {
  width: 1px;
  height: 12px;
}

.faq_item.is_open .faq_toggle::after {
  opacity: 0;
}

.faq_answer_wrapper {
  overflow: hidden;
}

.faq_answer_inner {
  padding: 0 0 22px;
  padding-left: 40px; /* Qアイコン幅 + 余白に合わせ、本文を質問文の左端に揃える */
}

.faq_answer_text {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "MS PMincho", serif;
  font-size: 14px;
  line-height: 1.85;
  color: #333;
}

.faq_answer_text a {
  display: inline;
  color: #1a5fb4;
  text-decoration: underline;
}

.faq_btn {
    max-width: 520px;
    width: 80%;
    margin: 102px auto 120px;
    padding-left: 100px;
}

@media screen and (max-width: 767px) {
  .faq_question {
    padding: 18px 0;
  }

  .faq_question_text {
    font-size: 15px;
  }

  .faq_answer_inner {
    padding-left: 34px; /* 狭い画面でも質問文の左端に揃える */
    padding-bottom: 18px;
    padding-right: 10px;
  }

  .faq_q_icon {
    width: 24px;
    margin-right: 10px;
  }

  .faq_q_icon img {
    width: 16px;
  }

  .faq_btn {
    width: 100%;
    margin: 20px auto 60px;
    padding: 14px;
    padding-left: 15%;
    }
}
