@charset "UTF-8";
/* ===============================
   FAQページ スマホ表示
=============================== */

.faq-section {
  background: #ffffff;
}

/* タブ */
.faq-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #d9d9d9;
}
.faq-tab {
  position: relative;
  appearance: none;
  border: 0;
  border-right: 2px solid #ffffff;
  background: #d9d9d9;
  color: #000000;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding: 25px 5px 24px;
  cursor: pointer;
}
.faq-tab:last-child {
  border-right: 0;
}
.faq-tab.is-active {
  background: #ffffff;
}
.faq-tab.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #e4453f;
}

/* パネル */
.faq-panels {
  background: #ffffff;
}
.faq-panel {
  display: none;
}
.faq-panel.is-active {
  display: block;
}

/* FAQ本体 */
.faq-list {
  padding: 42px 18px 30px;
}
.faq-item {
  border-bottom: 1px solid #bdbdbd;
}
.faq-question {
  width: 100%;
  appearance: none;
  border: 0;
  background: #ffffff;
  display: grid;
  grid-template-columns: 52px 1fr 44px;
/* align-items: center;*/
  gap: 14px;
  padding: 24px 0 28px;
  text-align: left;
  cursor: pointer;
}
.faq-question__mark {
  color: #e4453f;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  font-family: Arial, sans-serif;
}
.faq-question__text {
  color: #333333;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}
.faq-question__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4453f;
  position: relative;
}
.faq-question__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 14px solid #ffffff;
}

/* 回答 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer__inner {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 0 0 26px;
}
.faq-answer__mark {
  color: #4da05a;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  font-family: Arial, sans-serif;
		text-align: right;
}
.faq-answer__text {
  margin: 0;
  color: #333333;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

/* 開いている状態 */
.faq-item.is-open .faq-question {
  padding-bottom: 18px;
}
.faq-item.is-open .faq-question__icon {
  background: #b93030;
}
.faq-item.is-open .faq-question__icon::before {
  border-top: 0;
  border-bottom: 14px solid #ffffff;
		top: 46%;
}
