.course-faq {
  padding: 28px 24px 60px;
  background-color: #fcfaf7;
  color: #34413f;
}

.course-faq__inner {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.course-faq__title {
  display: flex;
  align-items: flex-start;
  margin: 0 0 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid #3e7973;
  color: #075f59;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  gap: 10px;
}

.course-faq__title img {
  width: 26px;
}

.course-faq__title-icon {
  display: inline-flex;
  margin-left: 6px;
  margin-bottom: -4px;
  color: #337b74;
}

.course-faq__title-icon svg {
  display: block;
  width: 24px;
  height: auto;
}

.course-faq__list {
  display: grid;
  gap: 12px;
}

.course-faq__item {
  overflow: hidden;
  background-color: #fff;
}

.course-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 40px;
  padding: 10px 22px;
  border: 0;
  background-color: #dcecea;
  color: #34413f;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.course-faq__question-text {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.course-faq__label {
  flex: 0 0 auto;
  margin-right: 10px;
  color: #075f59;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-text-stroke: 0.3px #075f59;
}

.course-faq__arrow {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 8px;
}

.course-faq__arrow::before,
.course-faq__arrow::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background-color: #075f59;
  transition: transform 0.3s ease;
}

.course-faq__arrow::before {
  left: 0;
  transform: rotate(45deg);
}

.course-faq__arrow::after {
  right: 0;
  transform: rotate(-45deg);
}

.course-faq__item.is-open .course-faq__arrow::before {
  transform: rotate(-45deg);
}

.course-faq__item.is-open .course-faq__arrow::after {
  transform: rotate(45deg);
}

/* 回答 */
.course-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.35s ease,
    visibility 0.35s ease;
}

.course-faq__item.is-open .course-faq__answer {
  grid-template-rows: 1fr;
  visibility: visible;
}

.course-faq__answer-inner {
  display: flex;
  min-height: 0;
  overflow: hidden;
  padding: 0 22px;
  background-color: #fff;
  opacity: 0;
  transition:
    padding 0.35s ease,
    opacity 0.25s ease;
}

.course-faq__item.is-open .course-faq__answer-inner {
  padding-top: 14px;
  padding-bottom: 16px;
  opacity: 1;
}

.course-faq__label--answer {
  color: #8a9d40;
  -webkit-text-stroke: 0.3px #8a9d40;
}

.course-faq__answer p {
  margin: 0;
  color: #34413f;
  font-size: 13px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 939px) {
  .course-faq {
    padding: 40px 20px 55px;
  }

  .course-faq__title {
    font-size: 20px;
  }

  .course-faq__question {
    gap: 12px;
    padding: 12px 15px;
  }

  .course-faq__question-text {
    font-size: 13px;
  }

  .course-faq__answer-inner {
    padding-right: 15px;
    padding-left: 15px;
  }

  .course-faq__answer p {
    font-size: 13px;
    line-height: 1.9;
  }
}

.course-faq__group {
  margin-bottom: 50px;
}

.course-faq__group:last-child {
  margin-bottom: 0;
}