@charset "utf-8";

.cont_img {
  background-image: url(../images/cont_img.jpg);
}

/*============================
#faq
============================*/

html {
  scroll-behavior: smooth;
}

.cont h2 {
  margin-bottom: 30px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  z-index: 10;
  color: #0f2664;
}

.cont h2::before {
  position: absolute;
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #0f2664;
  top: 50%;
  z-index: -1;
}

.cont h2 span {
  display: inline-block;
  padding-right: 15px;
  background-color: #fff;
}

#faq section {
  scroll-margin-top: 100px;
}

#faq section:nth-of-type(n+2) {
  margin-top: 80px;
}

#faq > .inner > p {
  text-align: center;
}

#faq > .inner > p a {
  font-weight: 700;
  border-bottom: 1px solid #d00000;
}

#faq .faq-list {
  margin: 45px 0 100px 0;
  justify-content: flex-start;
}

#faq .faq-list li {
  margin-left: 10px;
  position: relative;
}

#faq .faq-list li:nth-of-type(n+4) {
  margin-top: 10px;
}

#faq .faq-list li::after {
  content: ' \f078';
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  font-size: 13px;
  line-height: 48px;
  font-weight: 900;
  color: #032582;
  font-family: "Font Awesome 6 Free";
}

#faq .faq-list li a {
  padding: 15px 50px 15px 20px;
  display: block;
  background-color: #fff;
  border: 1px solid #efca08;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  border-radius: 5px;
}

@media only screen and (max-width: 768px) {

  .cont h2 {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
  }

  .cont h2 span {
    padding-right: 10px;
  }

  #faq section {
    scroll-margin-top: 60px;
  }

  #faq section:nth-of-type(n+2) {
    margin-top: 40px;
  }

  #faq > .inner > p {
    text-align: left;
  }

  #faq .faq-list {
    margin: 20px 0 60px;
  }

  #faq .faq-list li {
    width: 100%;
    margin-left: 0;
    display: flex;
    justify-content: space-between;
  }

  #faq .faq-list li a {
    padding: 8px 30px 8px 10px;
    width: 100%;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
  }

  #faq .faq-list li:nth-of-type(n+2) {
    margin-top: 10px;
  }

  #faq .faq-list li::after {
    content: ' \f078';
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    font-size: 13px;
    line-height: 35px;
    font-weight: 900;
    color: #032582;
    font-family: "Font Awesome 6 Free";
  }

}
