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


/* アコーディオン */
/* ----------- */

.faq_list {
  margin: 80px 0;
}

.faq_list_item {
  margin-bottom: 16px;
  transition: all .2s;
}

.faq_list_item_title {
  font-size: 20px;
  font-weight: bold;
  padding: 20px 56px 20px 72px;
  background-color: #F4F4F8;
  border-radius: 10px;
  position: relative;
}

.faq_list_item_title:hover {
  cursor: pointer;
  transition: all .2s;
  opacity: .6;
}

.faq_list_item_title_icon {
  display: block;
  height: 32px;
  width: 32px;
  background-image: url(/img/icon_faq_q.svg);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
}

/* 開閉のアイコン */
.faq_list_item_title::before {
  content: "";
  display: block;
  background-color: #333;
  position: absolute;
  width: 4px;
  height: 18px;
  top: 50%;
  transform: translateY(-50%);
  right: 27px;
}

.faq_list_item_title::after {
  content: "";
  display: block;
  background-color: #333;
  position: absolute;
  width: 18px;
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}

/* アコーディオンオープンでアイコン変更 */
.is-open.faq_list_item_title::before {
  display: none;
}


.faq_list_item_contents {
  height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

/* アコーディオンオープン */
.is-open+.faq_list_item_contents {
  height: auto;
  overflow: unset;
  transition: all 0.3s;
}

.faq_list_item_contents_text {
  line-height: 1.6;
  padding: 12px 20px 12px 72px;
  position: relative;
}

.faq_list_item_contents_text::before {
  content: "";
  display: block;
  height: 32px;
  width: 32px;
  background-image: url(/img/icon_faq_a.svg);
  position: absolute;
  top: 10px;
  left: 20px; 
}

@media screen and (max-width: 768px) {
  .faq_list {
    margin: 40px 0;
  }
  .faq_list_item_title {
    font-size: 14px;
  }
  .faq_list_item_contents_text {
    font-size: 14px;
  }
  .faq_list_item_title_icon {
    height: 26px;
    width: 26px;
    background-size: 26px;
  }
  .faq_list_item_contents_text::before {
    height: 26px;
    width: 26px;
    background-size: 26px;
  }
}