/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  faqページ用CSS
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
main {
  margin: 11rem auto 0;
  padding: 0;
}
.main__contents {
  max-width: none;
  background-color: #F5F5F5;
  padding: 3.3rem 0 7rem;
  margin: 7rem auto 0;
}
.main__contents__inner {
  padding: 0 1.2rem;
}

section {
  margin-bottom: 4rem;
}
.faq {
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Sawarabi Gothic';
}
.faq__link {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.6rem;
  margin-bottom: 4rem;
}
.faq__link__item {
  margin-left: 80px;
}
.faq__link__item:first-child {
  margin-left: 0;
}
.faq__link__item a {
  font-size: 1rem;
  position: relative;
}
.faq__link__item a::before {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40px;
  width: 32px;
  height: 32px;
  background-color: #033363;
  border-radius: 30px;
}
.faq__link__item a::after {
  content: "";
  margin: auto;
  position: absolute;
  top: -4px;
  bottom: 0;
  left: -28px;
  width: 8.5px;
  height: 8.5px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(135deg);
}
.faq__link__item a:hover {
  opacity: 1;
}
.faq__link__item a:hover:before {
  background-color: #63032C;
}
.faq__list {
  max-width: 1100px;
  margin: 0 auto;
}
.faq__list__item {
  background-color: #fff;
  margin-top: 0.5rem;
}
.faq__list__item:first-child {
  margin-top: 0;
}
.faq__list__item__label {
  cursor: pointer;
  text-align: center;
  position: relative;
  border: 1px solid #9A9A9A;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2.5rem 6rem 2.5rem 1.8rem ;
}
.faq__list__item__label__heading {
  font-size: 2.9rem;
  color: #033363;
  line-height: 0.5;
  width: 5%;
  margin-top: -3px;
}
.faq__list__item__label__title {
  margin-left: 2.6rem;
  font-size: 1.1rem;
  color: #033363;
  text-align: left;
  width: 95%;
}
.faq__list__item__content {
  display: none;
  border: 1px solid #9A9A9A;
}
.faq__list__item__content__inner {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2.2rem 2.1rem 1.3rem 2.3rem;
}
.faq__list__item__content__heading {
  font-size: 2.9rem;
  color: #63032C;
  line-height: 0.5;
}
.faq__list__item__content__txt {
  margin-left: 2.6rem;
}
.faq__list__item__content__txt p {
  margin-bottom: 1rem;
  line-height: 2;
}
.faq__list__item__content__txt p.color-red {
  color: #63032C;
}
.faq__list__item__label:hover .faq__list__item__label__icon {
  background-color: #033363;
}
.faq__list__item__label:hover .faq__list__item__label__icon span:before,
.faq__list__item__label:hover .faq__list__item__label__icon span:after {
  background: #fff;
}
.faq__list__item__label__icon {
  position: absolute;
  right: 2.8%;
  top: 50%;
  transform: translatey(-50%);
  width: 50px;
  height: 50px;
  border-radius: 60px;
  border: 1px solid #9A9A9A;
}
.faq__list__item__label__icon:hover {
  background-color: #033363;
}
.faq__list__item__label__icon.open {
  background-color: #E6E6E6;
}
.faq__list__item__label__icon span {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}
.faq__list__item__label__icon span:before,
.faq__list__item__label__icon span:after {
  position: absolute;
  content: "";
  display: block;
  transition: all 0.4s;
  background: #5B5B5B;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq__list__item__label__icon span:hover:before,
.faq__list__item__label__icon span:hover:after {
  background: #fff;
}
.faq__list__item__label__icon span:before {
  transform: translate(-50%, -50%) rotate(90deg);
}
/*＋、－切り替え*/
.faq__list__item__label__icon span.open:before {
  transform: translate(-50%, -50%) rotate(0deg);
  background-color: #5B5B5B;
}
.faq__list__item__label__icon span.open:after {
  transform: translate(-50%, -50%) rotate(0deg);
  background-color: #5B5B5B;
}
@media screen and (max-width: 1069px) {
  main {
    /* margin: 6rem auto 0; */
    /* margin: 5.5rem auto 0; */
    margin: 6.8rem auto 0;
    padding: 0;
  }
  .main__contents {
    margin: 0 auto;
  }
  .faq {
    max-width: none;
    width: 100%;
  }
  .faq__link {
    flex-wrap: wrap;
    /* justify-content: space-between; */
    justify-content: flex-start;
    padding: 1.6rem 1.6rem 0;
    margin-bottom: 4rem;
  }
  .faq__link__item {
    /* width: 44%; */
    margin-left: 3rem;
    margin-right: 2rem;
    margin-bottom: 2rem;
  }
  .faq__link__item:first-child {
    margin-left: 3rem;
  }

  .faq__list__item__label {
    padding: 1.5rem 6rem 1.5rem 1.8rem;
    align-items: center;
  }
  .faq__list__item__label__heading {
    font-size: 2.32rem;
    width: 5%;
    margin-top: -10px;
  }
  .faq__list__item__label__icon {
    position: absolute;
    right: 2.8%;
    top: 50%;
    transform: translatey(-50%);
    width: 40px;
    height: 40px;
    border-radius: 60px;
    border: 1px solid #9A9A9A;
  }
  .faq__list__item__label__title {
    font-size: 16px;
  }
  .faq__list__item__content__inner {
    padding: 1.5rem 1.8rem 1.5rem 2rem;
  }
  .faq__list__item__content__txt p {
    font-size: 16px;
  }
  .faq__list__item__content__heading {
    font-size: 2.32rem;
    width: 5%;
  }

}

@media screen and (max-width: 767px) {
  .main__inner {
    padding: 2.6rem 1.2rem 3.5rem;
  }
}
