@charset "utf-8";
/* CSS Document */
/* faq.css */

.faq_category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: clamp(15px,calc(30 / 750 * 100vw),30px);
}
.faq_category__item {
  display: block;
  width: calc((100% - 20px) / 2);
  text-align: center;
  padding: .5em 0;
  box-sizing: border-box;
  transition: all .5s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: center;
  line-height: 1.3em;
  opacity: 1;
  transition: all .5s ease;
}
.faq_category .btn--simple {
  border: 1px solid var(--c-red);
  padding: .8em .4em;
}
.faq_area {
  margin: clamp(70px,calc(140 / 750 * 100%),140px) auto;
  
}
.faq_section {
  display: block;
  position: relative;
  margin: 1em auto;
}
.faq_section__title {
  box-sizing: border-box;
  display: block;
  font-size: clamp(15px,calc(30 / 750 * 100%),30px);
  font-weight: 500;
  margin: clamp(40px,calc(80 / 750 * 100%),80px) auto clamp(30px,calc(60 / 750 * 100%),60px) ;
}
.faq__item {
  display: block;
  margin: 1em auto;
  background: var(--c-pink2);
  border-radius: clamp(10px,calc(20 / 750 * 100vw),20px);
  box-sizing: border-box;
  padding: 0;
  width: 100%;
  margin: clamp(20px,calc(40 / 750 * 100vw),40px) auto;
}
.faq__item--q {
  display: block;
  position: relative;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -ms-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: calc(30 / 670 * 100%) calc(110 / 670 * 100%) calc(30 / 670 * 100%) calc(40 / 670 * 100%);
}
.faq__item--q:before {
  content: "Q.";
  display: block;
  margin-right: clamp(20px,calc(40 / 750 * 100vw),40px);
  color: var(--c-red);
  font-size: clamp(15px,calc(30 / 750 * 100vw),30px);
  font-weight: 500;
}
.faq__item--q:after{
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background: url(images/ar.svg) no-repeat 50% 50%;
  -webkit-background-size: auto 0.9em;
  background-size: auto 0.9em;
  transition: all .5s ease;
  transform: rotate(90deg);
}
.faq__item--q.faq--open:after{
  content: "";
  transform: rotate(270deg);
}

.faq__itemtext--q:before {
  content: "";
  display: block;
  background: var(--c-red);
  transition: all .3s ease;
  position: absolute;
  top: calc(50% - 1px );
  right: calc(40 / 670 * 100% );
  height: 2px;
  width: calc(20 / 670 * 100%);
  transform: rotate(0deg);
  opacity: 1;
}
.faq__itemtext--q:after {
  content: "";
  display: block;
  background: var(--c-red);
  transition: all .3s ease;
  position: absolute;
  top: calc(50% - 1px );
  right: calc(40 / 670 * 100% );
  height: 2px;
  width: calc(20 / 670 * 100%);
  transform: rotate(90deg);
  opacity: 1;
}
.faq--open .faq__itemtext--q:before {
  content: "";
  display: block;
  transform: rotate(90deg);
  opacity: 0;
}
.faq--open .faq__itemtext--q:after {
  content: "";
  display: block;
  transform: rotate(180deg);
}


.faq__itemtext--q {
  display: block;
  width: 100%;
  color: var(--c-red);
  font-size: clamp(11px,calc(22 / 750 * 100vw),22px);
  font-weight: 500;
}
.faq__itemtext--a {
  display: block;
  position: relative;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -ms-align-items: stretch;
  align-items: stretch;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: calc(30 / 670 * 100%) calc(30 / 670 * 100%) calc(30 / 670 * 100%) calc(40 / 670 * 100%);
  white-space: pre-line;
}
.faq__itemtext--a:before {
  content: "A.";
  display: block;
  margin-right: clamp(20px,calc(40 / 750 * 100vw),40px);
  color: var(--c-bk);
  font-size: clamp(15px,calc(30 / 750 * 100vw),30px);
  font-weight: 500;
}
.faq__itemtext--a p {
  margin: 0 auto;
  font-size: 1em;
  line-height: calc(46 / 26 * 1em);
}

.faq__itemtext--a p + p {
  margin-top: 1.5em;
}
.faq__itemtext--a .att {
  text-align: right;
  font-size: calc(18 / 26 * 1em);
  line-height: 1.3em;
}
@media screen and (min-width:750px){
  .faq_category {
    gap: 60px 15px;
    margin: 60px auto;
  }
  .faq_category__item {
    width: calc((100% - 30px) / 3);
    text-align: center;
    padding: .5em 0;
    line-height: 1.3em;
  }
  .faq_section {
    margin: 60px auto;
  }
  .faq_category .btn--simple {
    border: 2px solid var(--c-red);
  }
  .faq_section__title {
    font-size: 30px;
  }
  .faq__itemtext--a {
    font-size: 22px;
    line-height: 38px;
  }

.faq__itemtext--q:before {
  content: "";
  width: 17px;
}
.faq__itemtext--q:after {
  content: "";
  width: 17px;
}
  
}
