@charset "UTF-8";

/*--------------------------------
faq.html
---------------------------------*/
.faq-heading {
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.faq-icon {
  position: relative;
  display: flex;
  align-items: center;
  inline-size: 1em;
  transition: 0.4s;
}

/* FAQアコーディオン */
.faq-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1em;
  padding: 24px;
  color: var(--text-color);
  cursor: pointer;
  background-color: #f4f7fa;
}
.faq-acc_text {
  display: flex;
  align-items: center;
  line-height: 1.5;
}

.faq-acc_wrap {
  display: flex;
  flex-direction: column;
  gap: 42px;
}
/* アコーディオンの動作エフェクト */
.faq-answer {
  color: var(--text-color);
  cursor: pointer;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer_inner {
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1em;
}

.faq-acc.active .faq-answer {
  max-height: 500px; /* 十分な高さを指定（必要に応じて調整） */
}

.faq_summary .question {
  padding-top: 0.5em;
  font-size: 20px;
  display: flex;
  align-items: flex-start;
}

.faq-summary_q,
.faq-summary_a {
  font-family: "URW DIN", sans-serif;
  margin-right: 20px;
  color: #6083a5;
  font-weight: 600;
  font-size: 36px;
}

.faq-answer_a {
  font-family: "URW DIN", sans-serif;
  margin-right: 20px;
  color: #6083a5;
  font-weight: 600;
  font-size: 36px;
}

.faq-icon {
  transition: .3s;
}

.faq-acc.active .faq-icon {
  transform: rotate(180deg);
}
