/*==================================================
section FAQ
===================================*/

.qa {
  padding: 5rem 0 4rem;
  background: var(--color-bg-green);
}

@media screen and (max-width: 767px) {
  .qa {
    padding: 4rem 0 5rem;
  }
}

.qa__inner {
  position: relative;
  margin-bottom: 6.5rem;
}

@media screen and (max-width: 767px) {
  .qa__inner {
    margin-bottom: 3.5rem;
  }
}

.qa__inner::after {
  position: absolute;
  top: -1rem;
  right: -18rem;
  content: "FAQ";
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 17rem;
  letter-spacing: 0.08em;
  line-height: 1;
  writing-mode: vertical-lr;
}

@media screen and (max-width: 767px) {
  .qa__inner::after {
    display: none;
  }
}

.qa__items {
  margin-top: 2.7rem;
}

.qa__item:not(:first-child) {
  margin-top: 2rem;
}

/* ---- 質問 ---- */
.qa__question {
  position: relative;
  padding: 2.8rem 7rem;
  background: var(--color-main);
  border-radius: 1rem;
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.07em;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .qa__question {
    padding: 1rem 4rem;
    font-size: 1.4rem;
  }
}

.qa__question.is-active {
  border-radius: 10px 10px 0 0;
}

/* Q ラベル */
.qa__question::before {
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  content: "Q";
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 2.6rem;
  letter-spacing: 0.08em;
  line-height: 2;
}

@media screen and (max-width: 767px) {
  .qa__question::before {
    left: 1.2rem;
    font-size: 2rem;
    line-height: 1;
  }
}

/* アコーディオン開閉アイコン（横線） */
.qa__question span::before,
.qa__question span::after {
  position: absolute;
  top: 50%;
  right: 50px;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-white);
  content: "";
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  .qa__question span::before,
  .qa__question span::after {
    right: 10px;
  }
}

/* 縦線（閉じた状態） */
.qa__question span::after {
  transform: rotate(90deg);
  transition: 0.3s;
}

/* 縦線（開いた状態） */
.qa__question.is-active span::after {
  transform: rotate(0);
}

/* ---- 回答 ---- */
.qa__answer {
  display: none;
  position: relative;
  padding: 2.8rem 7rem;
  border: 1px solid var(--color-main);
  border-radius: 0 0 10px 10px;
  background: var(--color-white);
  font-family: var(--font-en);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  line-height: 2;
}

@media screen and (max-width: 767px) {
  .qa__answer {
    padding: 1rem 3.8rem;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    line-height: 1.8;
  }
}

.qa__answer.is-active {
  display: block;
}

/* A ラベル */
.qa__answer span {
  position: relative;
}

.qa__answer span::before {
  position: absolute;
  top: 0;
  left: -4rem;
  content: "A";
  color: var(--color-main);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 2.6rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  .qa__answer span::before {
    left: -2.7rem;
    font-size: 2rem;
  }
}

/*==================================================
section FAQ END
===================================*/
