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

.faq-anchor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 30px;
  padding: 30px 0;
}

.faq-anchor__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.6rem;
  color: var(--text);
  text-decoration: none;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}

.faq-anchor__item::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2.2rem;
  color: #005EAD;
  margin-left: 10px;
  flex-shrink: 0;
}

.faq-anchor__item:hover {
  opacity: 0.7;
}

.l-company .faq-anchor__item::after {
  color: #217217;
}

@media screen and (max-width: 768px) {
  .faq-anchor {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.question {
  font-size: 2.3rem;
  line-height: normal;
  font-weight: 600;
  font-style: normal;
  color: var(--text);
  margin-right: 20px;
  text-align: left;
}

.answer {
  font-size: 2rem;
  line-height: 1.7;
  font-style: normal;
  color: var(--text);
  margin-right: 20px;
  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: baseline;
  padding: 3px 20px 3px;
  position: relative;
}

.l-user .qa_box > dl > dt {
  background: #EBFAFF;
}

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

.qa_box > dl > dt .crossBar::before {
  content: "";
  display: inline-block;
  width: 3px;
  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: 3px;
  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: baseline;
  margin-bottom: 16px;
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.l-user .qa_box > dl > dd {
  border: #EBFAFF solid 2px;
}

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

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

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

.l-user .qa_block h2 {
  color: #005EAD;
  border-bottom: #005EAD 2px solid;
  margin-bottom: 2rem;
}

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