.hidden {
  display: none;
}

.faqTop {
  padding: 190px 0 80px;
  background: url("../image/bg_main.png");
  background-size: cover;
  text-align: center;
  line-height: 1;
}

.faqTop__titleImage {
  margin: 0 0 20px;
  max-width: 70vw;
  height: auto;
}

@media screen and (max-width: 540px) {
  .faqTop {
    padding: 114px 0 40px;
    background: url("../image/bg_main_sp.png");
    background-size: auto;
  }

  .faqTop__titleImage {
    margin: 0 0 12px;
    width: 60px;
  }
}

.faq {
  margin: 0 auto;
  width: 960px;
  max-width: calc(100% - 48px);
}

.tableOfContents {
  background-color: #F0F0EE;
  border-radius: 10px;
  padding: 40px;
  width: 960px;
  max-width: calc(100% - 48px);
  margin: 40px auto 0;
}

.tableOfContents__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 0;
}

.tableOfContents__item {
  width: calc(50% - 20px);
  height: auto;
  margin: 0 10px;
  border-bottom: 1px solid #C4C4C4;
  background-image: url("../image/icon_faq_arrow_down.png");
  background-repeat: no-repeat;
  background-position: right 10px top 10px;
  background-size: 24px 24px;
}

.tableOfContents__link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 9px 54px 9px 10px;
}

.tableOfContents__link:hover {
  color: #2D8C3C;
}

@media screen and (max-width: 768px) {
  .tableOfContents {
    margin: 20px 24px 0;
    padding: 20px;
  }
  .tableOfContents__list {
    padding: 0;
  }
  .tableOfContents__item {
    width: 100%;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    background-position: right 16px top 16px;
  }  
  .tableOfContents__item:last-child {
    border: transparent;
  }
  .tableOfContents__link {
    padding: 16px 50px 12px 20px; 
  }
}

.faq__sectionTitle {
  font-size: 26px;
  font-weight: bold;
  padding: 10px 10px;
  margin: 40px 0 0;
  border-bottom: 2px solid #2D8C3C;
}

.faq__list {
  margin: 0 0 80px;
}

.question {
  display: flex;
  justify-content: start;
  position: relative;
  border-bottom: #C4C4C4 1px solid;
  cursor: pointer;
  padding: 18px 90px 18px 30px;
  transition-duration: 0.2s;
}

.question__icon {
  position: relative;
  width: 40px;
  height: 40px;
  background-color: #2D8C3C;
  border-radius: 50%;
  transition-duration: 0.2s;
  text-align: center;
  line-height: 40px;
  overflow: hidden;
}

.question__iconSvg {
  position: absolute;
  fill: #fff;
  top: 9px;
  left: 12px;
  width: 16px;
  height: 23px;
}

.question__text {
  flex: 1;
  padding: 0 0 0 20px;
  line-height: 40px;
}

.question.active{
  background-color: #2D8C3C;
  border: 0px;
}

.question.active .question__icon {
  background-color: #fff;
}

.question.active .question__iconSvg {
  fill: #2D8C3C;
}

.question.active .question__text {
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

.question::before,
.question::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  background-color: #2D8C3C;
  width: 20px;
  height: 3px;
  border-radius: 1.5px;
  transition: all 0.3s;
}

.question::after {
  transform: rotate(90deg);
}
.question.active::before {
  transform: rotate(180deg);
  background-color: #fff;
}

.question.active::after {
  transform: rotate(180deg);
  background-color: #fff;
  opacity: 0;
}

.answer {
  position: relative;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: none;
  transition: 0.5s ease max-height;
}

.answer.active {
  border-left: 1px solid #2D8C3C;
  border-right: 1px solid #2D8C3C;
  border-bottom: 1px solid #2D8C3C;
  border-radius: 0 0 10px 10px;
}

.answer__icon {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 30px;
  left: 30px;
  background-color: #2D8C3C;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  line-height: 40px;
}

.answer__iconSvg {
  position: absolute;
  fill: #fff;
  top: 9px;
  left: 12px;
  width: 16px;
  height: 18px;
}

.answer__text {
  flex: 1;
  margin: 30px 30px 30px 90px;
  line-height: 32px;
}

.answer__text a {
  text-decoration: underline;
  color: #2D8C3C;
}

.answer__text a:visited,
.answer__text a:link,
.answer__text a:active,
.answer__text a:hover {
  color: #2D8C3C;
}

@media screen and (max-width: 768px) {
  .faq {
    margin: 0 24px;
  }

  .faq__sectionTitle {
    font-size: 18px;
    line-height: 28px;
    padding: 18px 20px 11px 20px;
  }

  .question {
    padding: 14px 40px 13px 10px;
  }
  .question__icon {
    width: 32px;
    height: 32px;
  }
  .question__iconSvg {
    top: 8px;
    left: 9px;
    width: 13px;
    height: 18px;
  }
  .question__text {
    font-size: 16px;
    line-height: 24px;
    padding: 3px 0 0 10px;
  }
  .question::before,
  .question::after {
    right: 16px;
  }
  .answer__icon {
    width: 32px;
    height: 32px;
    top: 20px;
    left: 10px;
  }
  .answer__iconSvg {
    top: 7px;
    left: 9px;
    width: 14px;
    height: 15px;
  }

  .answer__text {
    margin: 20px 10px 20px 52px;
    font-size: 16px;
    line-height: 24px;
  }

  .faq__list {
    margin: 0;
  }

}


.breadcrambList {
  width: 960px;
}
