@charset "utf-8";
/* ===== FAQ ===== */

.anchor{
  display: flex;
  flex-wrap: wrap;
  gap:10px;
}
.anc_btn{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--deep-blue);
  border-radius: 10px;
  color: var(--txt-color);
  width: calc((100% / 3) - (20px / 3));
  padding: 10px;
  height: 50px;
  &::after{
    content: '';
    display: block;
    background: url(../img/arrow.svg) no-repeat center;
    background-size: contain;
    min-width: 20px;
    height: 20px;
  }
}

.faq_item {
  margin-top: 30px;
}

/* --- question --- */
.faq_q {
  position: relative;
  cursor: pointer;
  padding: 10px;
  background: #E8ECF7;
  border-radius: 10px;
  font-weight: bold;
  list-style: none;
  display: flex;
  gap:20px;
  align-items: center;
}

/* デフォルトマーカー削除 */
.faq_q::-webkit-details-marker {
  display: none;
}

/* Q */
.faq_q::before {
  content: "Q";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-24);
  color: #fff;
  background: var(--main-blue);
  min-width: 40px;
  height: 47px;
  font-weight: normal;
  border-radius: 6px;
}

/* 矢印 */
.faq_q::after {
  content: "";
  position: absolute;
  background: url(../img/arrow.svg) no-repeat center;
  background-size: cover;
  width: 33px;
  height: 33px;
  right: 15px;
  transition: .3s;
}

/* open時 */
details[open] .faq_q::after {
  transform: rotate(180deg);
}


/* --- answer --- */
.faq_a {
  position: relative;
  padding: 10px;
  display: flex;
  gap:20px;
  margin-top: 15px;
}

/* A */
.faq_a::before {
  content: "A";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-24);
  color: var(--main-blue);
  background: #E8ECF7;
  min-width: 40px;
  height: 47px;
  font-weight: normal;
  border-radius: 6px;
}
@media screen and (max-width: 767px){

.anc_btn{
  width: calc(50% - 5px);
  gap:5px;
  font-size: 1.4rem;
}
.faq_q {
  padding-right: 55px;
  gap: 15px;
  &::before{
    min-width: 30px;
    height: 40px;
  }
}
.faq_a {
  gap: 10px;
  &::before{
    min-width: 30px;
    height: 40px;
  }
}
}