/* -------------------------------------------
-----------------  FAQセクション---------------
---------------------------------------------- */
.faq-contents {
  display: grid;
}
.faq-list li {
  font-size: 16px;
  border: 1px solid var(--c-bg-2);
  box-shadow: var(--box-shadow);
  background-color: var(--c-bg);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.faq-list li:hover {
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.18); /* 影を弱める */
  transform: translateY(1px); /* 少し沈む */
}
.faq-list li + li {
  margin-top: 12px;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
}
.faq-question p {
  flex: 1;
  min-width: 0;
}
.faq-icon {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 0 0 8px;
  background: url("../common_img/icon-plus.svg") no-repeat center;
  background-size: contain;
  flex: 0 0 auto;
}
.faq-list li.is-open .faq-icon {
  background-image: url("../common_img/icon-minus.png");
}
.faq-answer {
  width: 100%;
  display: none;
  position: relative;
  border-top: none;
}
.faq-answer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 96%;
  border-top: 1px solid var(--c-primary);
  transform: translateX(-50%);
}
.faq-answer p {
  margin-top: 16px;
  color: var(--c-btn-2);
}
.faq-btn {
  font-size: 16px;
}
@media screen and (min-width: 768px) {
  .faq-list li {
    padding: 12px 16px;
  }
  .faq-list li + li {
    margin-top: 16px;
  }
  .faq-question {
    font-size: 20px;
  }
  .faq-btn {
    font-size: 20px;
    padding: 24px;
  }
  .faq-answer {
    font-size: 20px;
  }
}
