/*-----------------------
FAQ
------------------------*/

.qa_block h2 {
  text-align: left;
  width: 100%;
  font-size: 3rem;
  padding-top: 6rem;
}

.question {
  font-size: 2rem;
  line-height: normal;
  font-weight: 600;
  font-style: normal;
  color: #fff;
  text-align: left;
  width: 90%;
}

.js-qa__parent span,
.qa__child span
{
  background: #fff;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  padding: 0.5rem;
  line-height: normal;
}

.qa__child span{
  color: #fff;
}

.answer {
  width: 88%;
  font-size: 1.6rem;
  line-height: 1.7;
  font-style: normal;
  color: var(--text);
  text-align: left;
}

.qa_box {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.qa_box > dl > dt {
  display: flex;
  align-items: flex-start;
  padding: 8px 20px 8px;
  position: relative;
  border-radius: 7px 7px 0 0;
}

.l-user .qa_box > dl > dt {
  background: var(--main);
}

.qa_box > dl > dt .crossBar {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.qa_box > dl > dt .crossBar::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: center center;
  transform: translateX(-50%) rotate(0deg);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.qa_box > dl > dt .crossBar::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 4px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.qa_box > dl > dt > span {
  font-size: 2.5rem;
  line-height: normal;
  font-weight: 500;
  font-style: normal;
  margin-right: 20px;
}

.qa_box > dl > dd {
  margin: 0;
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  background: var(--bg-main);
}

.qa_box > dl > dd > span {
  font-size: 2.5rem;
  font-weight: 500;
  font-style: normal;
  margin-right: 20px;
  color: #fff;
  background: var(--main);
}

/* 色 利用者 */
.l-user .qa_box > dl > dt .crossBar::before,
.l-user .qa_box > dl > dt .crossBar::after {
  background-color: #fff;
}

.l-user .qa_box > dl > dt > span {
  color: var(--main);
}

.l-user .qa_block h2 {
  color: var(--main);
  margin-bottom: 2rem;
}

/* アコーディオン開閉 */
.qa_box > dl > dd.is-open {
  max-height: fit-content;
  padding: 1rem 2rem;  
}
.qa_box > dl > dt.is-open .crossBar::before {
  transform: translateX(-50%) rotate(90deg);
}


@media screen and (max-width: 768px) {
  .question {
    width: 80%;
  }
  .qa_box > dl > dt {
    padding: 8px 20px 8px 10px;
  }
  .qa_box > dl > dd.is-open {
    max-height: fit-content;
    padding: 1rem;  
  }
  .qa_box > dl > dt > span,
  .qa_box > dl > dd > span
  {
    margin-right: 1rem;
  }
  .qa_box > dl > dt .crossBar {
    width: 20px;
    height: 20px;
  }
}