/* ===========================
   よくある質問ページ
   =========================== */
#sec .ttl_wrap {
  width: 1052px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
  padding-bottom: 60px;
}

#sec .ttl_wrap .sec_ttl {
  position: relative;
  display: inline-block;
  font-size: 30px;
  color: #ac9268;
  padding-bottom: 0.2em;
  padding-right: 4em;
}

#sec .ttl_wrap .sec_ttl .txt-s {
  font-size: 70%;
}

#sec .ttl_wrap .sec_ttl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: url(../../common/img/line_03.png);
  background-size: 100% 100%;
}

#sec .ttl_wrap .txt {
  font-size: 16px;
  margin-top: 2.5em;
  line-height: 1.8;
}

/* メインコンテナ */
#sec .bg_inner {
  background: #f3efe8;
  padding-top: 50px;
  padding-bottom: 80px;
}

#sec .inner {
  width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   FAQアイテム
   =========================== */
.faq_item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

/* 質問部分 */
.faq_question {
  display: flex;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq_question:hover {
  background-color: #faf8f5;
}

.q_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #ac9268;
  color: #fff;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  margin-right: 20px;
}

.q_txt {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

.toggle_icon {
  position: relative;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-left: 20px;
}

.toggle_icon::before,
.toggle_icon::after {
  content: "";
  position: absolute;
  background: #ac9268;
  transition: transform 0.3s ease;
}

.toggle_icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.toggle_icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

/* アクティブ時のアイコン */
.faq_item.active .toggle_icon::after {
  transform: translateX(-50%) rotate(90deg);
}

/* 回答部分 */
.faq_answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.answer_inner {
  display: flex;
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid #e8e4dc;
  padding-top: 25px;
  margin: 0 30px;
}

.a_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #d4c4a8;
  color: #fff;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  margin-right: 20px;
}

.a_txt {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  /* color: #555; */
  text-align: justify;
}

/* 教育ローンリンク */
.loan_link {
  display: inline-block;
  margin: 0 30px 25px 90px;
  padding: 12px 30px;
  background: #ac9268;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* ===========================
   レスポンシブ（1600px以下）
   =========================== */
@media (max-width: 1600px) {
  #sec .ttl_wrap {
    width: 65.75vw;
    padding-top: 5vw;
    padding-bottom: 3.75vw;
  }

  #sec .ttl_wrap .sec_ttl {
    font-size: 1.87vw;
  }

  /* メインコンテナ */
  #sec .bg_inner {
    padding-top: 3.125vw;
    padding-bottom: 5vw;
  }

  #sec .inner {
    width: 56.25vw;
  }

  /* FAQアイテム */
  .faq_item {
    margin-bottom: 1.25vw;
    border-radius: 0.5vw;
  }

  .faq_question {
    padding: 1.56vw 1.87vw;
  }

  .q_icon {
    width: 2.5vw;
    height: 2.5vw;
    min-width: 2.5vw;
    font-size: 1.25vw;
    margin-right: 1.25vw;
  }

  .q_txt {
    font-size: 1.125vw;
  }

  .toggle_icon {
    width: 1.25vw;
    height: 1.25vw;
    min-width: 1.25vw;
    margin-left: 1.25vw;
  }

  .answer_inner {
    padding-top: 1.562vw;
    padding-bottom: 1.562vw;
    padding-top: 1.562vw;
    margin: 0 1.87vw;
  }

  .a_icon {
    width: 2.5vw;
    height: 2.5vw;
    min-width: 2.5vw;
    font-size: 1.25vw;
    margin-right: 1.25vw;
  }

  .a_txt {
    font-size: 1vw;
  }

  .loan_link {
    margin: 0 1.87vw 1.56vw 5.62vw;
    padding: 0.75vw 1.87vw;
    font-size: 0.875vw;
    border-radius: 1.56vw;
  }
}

/* ===========================
   レスポンシブ（750px以下・SP）
   =========================== */
@media (max-width: 750px) {
  #sec .ttl_wrap {
    width: 86.66vw;
    padding-top: 20vw;
    padding-bottom: 10vw;
  }

  #sec .ttl_wrap .sec_ttl {
    font-size: 5.33vw;
    padding-right: 2em;
  }

  #sec .ttl_wrap .sec_ttl::after {
    height: 1px;
  }

  #sec .ttl_wrap .txt {
    font-size: 3vw;
    margin-top: 3em;
    text-align: justify;
  }

  /* メインコンテナ */
  #sec .bg_inner {
    padding-top: 8vw;
    padding-bottom: 14vw;
  }

  #sec .inner {
    width: 86.66vw;
  }

  /* FAQアイテム */
  .faq_item {
    margin-bottom: 4vw;
    border-radius: 2vw;
  }

  .faq_question {
    padding: 5vw 4vw;
  }

  .q_icon {
    width: 8vw;
    height: 8vw;
    min-width: 8vw;
    font-size: 4vw;
    margin-right: 3vw;
  }

  .q_txt {
    font-size: 3.23vw;
  }

  .toggle_icon {
    width: 4vw;
    height: 4vw;
    min-width: 4vw;
    margin-left: 3vw;
  }

  .answer_inner {
    padding-top: 5vw;
    padding-bottom: 5vw;
    margin: 0 4vw;
  }

  .a_icon {
    width: 8vw;
    height: 8vw;
    min-width: 8vw;
    font-size: 4vw;
    margin-right: 3vw;
  }

  .a_txt {
    font-size: 3.0vw;
  }

  .loan_link {
    display: block;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5vw;
    padding: 1.5vw 0;
    font-size: 2.8vw;
    border-radius: 6vw;
    text-align: center;
  }
}