/* =========================
   Foundation
========================= */
/* width */
/* =========================
   Object
========================= */
/* Project */
.p-faq {
  background: green;
}
.p-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
}
.p-faq__list-item {
  background: #EFE9E6;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
}
.p-faq__list-item.is-open {
  padding-bottom: 40px;
}
.p-faq__list-item.is-open .p-faq__list-question::after {
  rotate: 0deg;
}
.p-faq__list-question {
  position: relative;
  padding-right: 26px;
}
.p-faq__list-question::after, .p-faq__list-question::before {
  content: "";
  display: block;
  width: 13px;
  height: 1px;
  background: #C49D50;
  position: absolute;
  right: 0;
  top: 50%;
  translate: -50%;
}
.p-faq__list-question::after {
  rotate: 90deg;
  transition: rotate 0.3s;
}
.p-faq__list-question .p-faq__list-question-text {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 0 11px;
}
@media screen and (max-width: 640px) {
  .p-faq__list-question .p-faq__list-question-text {
    grid-template-columns: 23px 1fr;
    gap: 0 8px;
  }
}
.p-faq__list-question .p-faq__list-question-text::before {
  content: "";
  display: block;
  width: 31px;
  height: 31px;
  background-image: url(../images/faq/icon_q.svg);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 31px 31px;
  translate: 0 2px;
}
@media screen and (max-width: 640px) {
  .p-faq__list-question .p-faq__list-question-text::before {
    width: 23px;
    height: 23px;
    background-size: 23px 23px;
  }
}
.p-faq__list-question-text {
  font-size: clamp(16px, 1.5625vw, 20px);
  font-family: "Noto Serif JP", serif;
  line-height: 1.8;
  transition: color 0.3s;
}
@media screen and (max-width: 640px) {
  .p-faq__list-question-text {
    font-size: clamp(14px, 3.125vw, 16px);
  }
}
@media (any-hover: hover) {
  .p-faq__list-question-text:hover {
    color: #C49D50;
  }
}
.p-faq__list-answer {
  translate: 0 20px;
  padding-right: 26px;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}
.p-faq__list-answer .p-faq__list-answer-text-block {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 0 11px;
}
@media screen and (max-width: 640px) {
  .p-faq__list-answer .p-faq__list-answer-text-block {
    grid-template-columns: 23px 1fr;
    gap: 0 8px;
  }
}
.p-faq__list-answer .p-faq__list-answer-text-block::before {
  content: "";
  display: block;
  width: 31px;
  height: 31px;
  background-image: url(../images/faq/icon_a.svg);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 31px 31px;
  translate: 0 2px;
}
@media screen and (max-width: 640px) {
  .p-faq__list-answer .p-faq__list-answer-text-block::before {
    width: 23px;
    height: 23px;
    background-size: 23px 23px;
  }
}
.p-faq__list-answer-text {
  font-size: clamp(12px, 1.171875vw, 15px);
  line-height: 1.8;
}
/*# sourceMappingURL=p-faq.css.map */
