@charset "UTF-8";

.ttl {
  position: relative;
}

.faq_sec {
  position: relative;
}

.faq_bg_item {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 3;
}

/* FAQ links */
.faq_links {
  display: flex;
  justify-content: space-between;
}

.faq_links_item {
  background-color: rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq_links_item a {
  color: #fff;
  text-align: center;
}

/* FAQ ttl */
.faq_ttl_wrap {
  text-align: center;
}

.faq_ttl {
  display: inline-block;
  letter-spacing: 0.28em;
  margin: 0 auto;
  position: relative;
  width: auto;
  z-index: 3;
}

.faq_ttl::before,
.faq_ttl::after {
  content: '';
  width: 8px;
  height: 43px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.faq_ttl::before {
  border-left: solid 1px #000000;
  border-top: solid 1px #000000;
  border-bottom: solid 1px #000000;
  left: -27px;
}

.faq_ttl::after {
  border-right: solid 1px #000000;
  border-top: solid 1px #000000;
  border-bottom: solid 1px #000000;
  right: -17px;
}

/* FAQ list */
.faq_sec_list_item {
  border-bottom: 1px solid #cccccc;
}

.faq_sec_list_question {
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.faq_sec_list_question::before,
.faq_sec_list_question::after {
  content: "";
  position: absolute;
  background-color: #222;
  top: 50%;
  transform: translateY(-50%);
}

.faq_sec_list_question::before {
  transform: translateY(-50%) rotate(90deg);
  transition: .5s
}

.faq_sec_list_question.active::before {
  transform: rotate(0);
  transition: .5s;
}

.faq_sec_list_answer {
  background-color: rgba(0, 0, 0, 0.05);
  display: none;
  position: relative;
}

.faq_sec_list_answer a {
  color: #797979;
  text-decoration: underline;
}

.span_question,
.span_answer {
  font-family: 'Sawarabi Mincho', serif;
}


@media print,
screen and (min-width:768px) {
  .ttl {
    padding: 318px 0 160px;
  }

  .faq_ttl {
    font-size: 24px;
  }

  .faq_sec {
    margin-top: 120px;
  }

  .faq_sec:last-of-type {
    margin-bottom: 200px;
  }

  /* FAQ links PC */
  .faq_links_item {
  }

  .faq_links_item a {
    font-size: 22px;
    letter-spacing: 3px;
    padding: 13px 18px;
  }
  .faq_links_item:hover {
    background-color: #9cbd75;
  }
  
  .faq_links_item a span {
    font-size: 18px;
  }

  /* FAQ list PC */
  .faq_sec_list {
    margin-top: 50px;
  }

  .faq_sec_list_question {
    font-size: 26px;
    padding: 20px 0 20px 30px;
  }
  .faq_sec_list_question::before,
  .faq_sec_list_question::after {
    width: 36px;
    height: 3px;
    right: 35px;
  }

  .faq_sec_list_question.active::before {
    margin-top: -2px;
  }

  .faq_sec_list_answer {
    font-size: 22px;
    line-height: 2;
    padding: 20px 30px 20px 102px;
    text-indent: -72px;
  }

  .span_question,
  .span_answer {
    font-size: 36px;
    margin-right: 30px;
  }

  .span_small {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    padding-left: 72px;
  }

  /* bg item */
  .faq_bg_item01 {
    right: -10%;
    bottom: -5%;
    width: 22%;
    height: 290px;
  }

  .faq_bg_item02 {
    left: -130px;
    top: -18%;
    width: 300px;
    height: 300px;
  }

  .faq_bg_item03 {
    right: -23%;
    top: 686px;
    width: 30%;
    height: 290px;
  }

  .faq_bg_item04 {
    left: -166px;
    top: -31%;
    width: 300px;
    height: 300px
  }

  .faq_bg_item05 {
    right: -23%;
    top: -19%;
    width: 30%;
    height: 290px;
  }

  .faq_bg_item06 {
    left: -11%;
    bottom: -32%;
    width: 24%;
    height: 290px;
  }

}

@media screen and (max-width:767px) {
  .ttl {
    padding: 150px 0 55px;
  }

  .faq_ttl {
    font-size: 18px;
  }
  .ttl-sub {
    font-size: 14px;
  }

  .faq_sec {
    margin-top: 70px;
  }

  .faq_sec:last-of-type {
    margin-bottom: 100px;
  }

  /* FAQ links SP */
  .faq_links {
    flex-wrap: wrap;
  }

  .faq_links_item:first-child {
    width: 100%;
  }

  .faq_links_item {
    width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    margin-top: 20px;
  }

  .faq_links_item a {
    font-size: 16px;
    letter-spacing: 2px;
  }

  /* FAQ list SP */
  .faq_sec_list {
    margin-top: 25px;
  }

  .faq_sec_list_question {
    font-size: 16px;
    line-height: 1.8;
    padding: 15px 45px 15px 52px;
    text-indent: -37px;
  }

  .faq_sec_list_question::before,
  .faq_sec_list_question::after {
    width: 18px;
    height: 2px;
    right: 15px;
  }

  .faq_sec_list_question.active::before {
    margin-top: -1px;
  }

  .faq_sec_list_answer {
    font-size: 16px;
    line-height: 1.6;
    padding: 15px 15px 15px 52px;
    text-indent: -37px;
  }

  .span_question,
  .span_answer {
    font-size: 22px;
    margin-right: 10px;
  }

  .span_small {
    display: block;
    font-size: 14px;
    padding-left: 15px;
    text-indent: -15px;
  }

  /* bg item SP */
  .faq_bg_item01 {
    right: -24%;
    top: 30px;
    width: 50%;
    max-width: 300px;
    height: 290px;
  }
}