.p-faq__category {
  margin-bottom: 40px
}


.p-faq__sectionTitle {
  font-size: 3rem;
  color: #333333;
  padding: 0 20px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.p-faq__sectionTitle:after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: #009b87;
  margin: 10px auto;
}

.p-faq_ariaToggleWrapper{
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  padding: 0 20px 0;
  margin-bottom: 40px;
}

.p-faq_ariaOpen{
  width: 180px;
  height: 34px;
  font-size: 16px;
  letter-spacing: 1px;
  background: #009b87;
  color: #FFFFFF;
  display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    border-radius: 5px;
}

.p-faq_ariaOpen:after{
  content: '';
  display: block;
  width: 13px;
  height: 13px;
  background: url(https://casa-inc.co.jp/wp/wp-content/themes/custom/assets/media/img/common/nextArw-white.png) no-repeat;
  background-size: contain;
  background-position: center center;
  transform: rotate(90deg);
  margin-left: 10px;
}



.p-faq_ariaClose{
  width: 180px;
  height: 34px;
  font-size: 16px;
  letter-spacing: 1px;
  background: #009b87;
  color: #FFFFFF;
  display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    border-radius: 5px;
    margin-left: 20px;
}

.p-faq_ariaClose:after{
  content: '';
  display: block;
  width: 13px;
  height: 13px;
  background: url(https://casa-inc.co.jp/wp/wp-content/themes/custom/assets/media/img/common/nextArw-white.png) no-repeat;
  background-size: contain;
  background-position: center center;
  transform: rotate(-90deg);
  margin-left: 10px;
}

.p-faq__topicSection{
  border-bottom: 4px solid  #d9edef;
  display: -webkit-flex;
    display: flex;
    margin-bottom: 20px;
}

.p-faq__topicSection:nth-child(2n){
  margin-top: 40px;
}

.p-faq__topicSection > div{
  font-size: 2.4rem;
  font-weight: bold;
  position: relative;
  letter-spacing: 2px;
}

.p-faq__topicSection > div::after{
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background-color: #009b87;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
}

.p-faq__topicTitle {
  padding-left: 70px;
}
.p-faq__topicTitle:before {
  content: '';
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  display: inline-block;
  background-image: url("../media/img/common/faq-qicon.png");
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 33px
}

.p-faq__question, .p-faq__answer {
  padding-left: 50px;
}

.p-faq__question:before {
  content: '';
  position: absolute;
  display: inline-block;
  margin-right: 0;
  border-radius: 0;
  position: absolute;
  display: inline-block;
  background: url("../media/img/common/faq-aicon.png");
  background-repeat: no-repeat;
  background-size: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 33px;
}

.p-faq__answer:before{
  display: none;
}

.p-faq__answer{
  color: #333;
  font-weight: normal;
}

.p-faq__plan{
  letter-spacing: 1px;
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 10px 30px 10px 20px;
}

.p-faq__plan:hover{
  opacity: .6;
}

.p-faq__answer a.p-faq__plan:after {
  content: '';
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
  display: inline-block;
  background-image: url(../media/img/common/arw-current.svg);
  left: 10px;
  width: 12px;
  height: 8px;
  top: -2px;
  background-color:#FFF;
  color: #009b87;
  transform: rotate(-90deg);
}

.p-faq__topicFooter{
  margin-top: 40px;

}
.p-faq__topicFooter p{
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #009b87;
  letter-spacing: 1px;
}

.p-faq__topicFooter a{
  margin: 10px auto 0;
  border-radius: 5px;
  letter-spacing: 1px;
  width: 340px;
  height: 60px;
  background: #009b87;
  color: #FFF;
  font-size: 2rem;
  display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    transition: opacity .3s ease;
}

.p-faq__topicFooter a:hover{
  opacity: .6;
}

.p-faq__topicFooter a:before{
  content: '';
  display: block;
  width: 40px;
  height: 30px;
  background: url(../media/img/common/faq-mail.png);
  background-size: contain;
}

@media (max-width: 768px) {
  .p-faq__category {
    margin-bottom: 30px
  }
  
  .p-faq__sectionTitle {
    font-size: 2.4rem;
    margin-bottom: 30px;
  }
  
  .p-faq_ariaToggleWrapper{
    margin-bottom: 30px;
  }
  
  .p-faq_ariaOpen{
    width: 130px;
    height: 34px;
    font-size: 12px;
  }
  
  .p-faq_ariaOpen:after{
    width: 10px;
    height: 10px;
    margin-left: 5px;
  }
  
  .p-faq_ariaClose{
    width: 130px;
    height: 34px;
    font-size: 12px;
    margin-left: 10px;
  }
  
  .p-faq_ariaClose:after{
    width: 10px;
    height: 10px;
    margin-left: 5px;
  }
  
  .p-faq__topicSection{
      margin-bottom: 16px;
  }

  .p-faq__topicSection:nth-child(2n){
    margin-top: 30px;
  }
  
  .p-faq__topicSection > div{
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  .p-faq__topicTitle {
    padding-left: 60px;
  }
  .p-faq__topicTitle:before {
    width: 30px;
    height: 24px
  }

  .p-faq__content{
    padding: 20px 20px 0;
  }
  
  .p-faq__question, .p-faq__answer {
    padding-left: 40px;
  }
  
  .p-faq__question:before {
    width: 30px;
    height: 24px
  }
  
  .p-faq__answer{
    color: #333;
    font-weight: normal;
  }
  
  .p-faq__topicFooter{
    margin-top: 30px;
  
  }
  .p-faq__topicFooter p{
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: #009b87;
    letter-spacing: 1px;
  }
  
  .p-faq__topicFooter a{
    width: 260px;
    height: 50px;
    font-size: 1.6rem;
  }
}