/**
 * Mixin
 */
:root {
  --ww: 100vw;
  --pw: 1920;
}
@media (min-width: 1921px) {
  :root {
    --ww: 1920px;
  }
}
@media only screen and (max-width: 767px) {
  :root {
    --pw: 375;
  }
}

.page_ttl {
  background-image: url(../img/faq/header.jpg);
}
@media only screen and (max-width: 767px) {
  .page_ttl {
    background-image: url(../img/faq/sp_header.jpg);
  }
}

.page_subttl {
  color: #af4c0c;
  padding: 200px 0 160px;
}
@media only screen and (max-width: 767px) {
  .page_subttl {
    padding: 80px 0 85px;
  }
}

.faq_content {
  padding-bottom: 445px;
  background-color: #f3f3f3;
  background-image: url(../img/home/faq_bg.png);
  background-size: auto 967px;
}
@media only screen and (max-width: 767px) {
  .faq_content {
    padding-bottom: 140px;
    background-image: url(../img/home/sp_faq_bg.png);
    background-size: 635px auto;
  }
}

.faq_tab_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
@media only screen and (max-width: 767px) {
  .faq_tab_list {
    display: block;
  }
}

.faq_tab_item {
  cursor: pointer;
  width: 300px;
  height: 60px;
  line-height: 60px;
  padding: 0 30px;
  font-size: 1.8rem;
  border-radius: 28px;
  background-color: #333333;
  color: #fff;
  position: relative;
  font-size: 1.4rem;
}
@media only screen and (max-width: 767px) {
  .faq_tab_item {
    height: 50px;
    line-height: 50px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (max-width: 767px) {
  .faq_tab_item + .faq_tab_item {
    margin-top: 15px;
  }
}

.faq_tab_item::after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  right: 30px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: url(../img/faq/arrow.svg);
  background-size: cover;
}
@media only screen and (max-width: 767px) {
  .faq_tab_item::after {
    width: 24px;
    height: 24px;
    right: 20px;
  }
}

.faq_tab_content {
  margin-top: 130px;
}
@media only screen and (max-width: 767px) {
  .faq_tab_content {
    margin-top: 50px;
  }
}

.faq_tab_panel {
  display: none;
}

.faq_tab_item.active {
  background-color: #af4c0c;
}

.faq_tab_panel.active {
  display: block;
}

.faq_box dt {
  font-size: 2.2rem;
  font-weight: bold;
  padding: 20px 30px;
  padding-right: 60px;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .faq_box dt {
    padding: 18px 15px;
    padding-right: 30px;
    font-size: 1.4rem;
  }
}
.faq_box dt::before {
  content: "Q";
  width: 62px;
  height: 62px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  background-color: #af4c0c;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 3.6rem;
  border-radius: 50%;
  margin-right: 30px;
}
@media only screen and (max-width: 767px) {
  .faq_box dt::before {
    width: 35px;
    height: 35px;
    font-size: 1.9rem;
    margin-right: 10px;
  }
}
.faq_box dt span {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.faq_box dt span::after,
.faq_box dt span::before {
  content: "";
  background-color: #333333;
  display: block;
}
.faq_box dt span::before {
  position: absolute;
  top: 50%;
  right: 30px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
}
@media only screen and (max-width: 767px) {
  .faq_box dt span::before {
    right: 15px;
    width: 15px;
  }
}
.faq_box dt span::after {
  position: absolute;
  top: 50%;
  right: 45px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 2px;
  height: 30px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
@media only screen and (max-width: 767px) {
  .faq_box dt span::after {
    right: 22px;
    height: 15px;
  }
}
.faq_box dd {
  font-size: 1.8rem;
  background-color: #f5f5f5;
  padding: 20px 50px;
  display: none;
}
@media only screen and (max-width: 767px) {
  .faq_box dd {
    padding: 20px;
    font-size: 1.4rem;
  }
}
.faq_box dt.on span::after {
  -webkit-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}

.faq_box + .faq_box {
  margin-top: 65px;
}
@media only screen and (max-width: 767px) {
  .faq_box + .faq_box {
    margin-top: 20px;
  }
}
