@charset "UTF-8";

/*-------------------------------------------
common
-------------------------------------------*/
:root {
  --red: #FF3301;
  --green: #129459;
  --table-y-green: #e9f5ef;
}
body {
  line-height: 1.75;
}
.faq-container {
  max-width: 920px;
  padding: 70px 20px;
  margin-inline: auto;
}
.faq-container:not(:last-of-type) {
  border-bottom: 1px solid #707070;
}

/*-------------------------------------------
mv
-------------------------------------------*/
.page-mv {
  background-image: url(../img/faq/faq-mv.jpg);
}

/*-------------------------------------------
選択ボタン
-------------------------------------------*/
.faq-btn-area {
  max-width: 1000px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em 3vw;
  padding-inline: 20px;
  margin-inline: auto;
  margin-bottom: 30px;
}
.faq-btn-area li a {
  font-size: min(18px, 2.2vw);
  font-weight: 600;
  padding: 0.3em 1em;
  border: 2px solid var(--green);
  border-radius: 10px;
}

/*-------------------------------------------
よくあるご質問
-------------------------------------------*/
.page-section-title {
  text-align: left;
  margin-bottom: 30px;
}
.faq-list-item {
  margin-bottom: 30px;
}
.faq-list-item dt {
  font-size: min(2.6vw, 21px);
  font-weight: bold;
  color: var(--green);
  text-indent: -1.3em;
  padding-left: 1.3em;
  padding-right: 50px;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
}
.faq-list-item dt span {
  margin-right: 0.3em;
}
.faq-list-item dt::before,
.faq-list-item dt::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--green);
  position: absolute;
  top: calc(50% - 1px);
  right: 10px;
  transition: transform 0.3s ease;
}
.faq-list-item dt::after {
  transform: rotate(-90deg);
}
.faq-list-item.open dt::after {
  transform: initial;
}
.faq-list-item dd {
  font-size: min(2vw, 17px);
  font-weight: 600;
  line-height: 2;
  text-align: justify;
  display: none;
}
.faq-list-item.open dd {
  display: block;
}
.faq-list-item dd a {
  color: var(--green);
}
.faq-list-item dd a[href^="mailto"] {
  color: inherit;
}
.faq-other {
  margin-bottom: 150px;
}

/* 本文・上に空白行を入れる */
.faq-list-item dd .faq-blank {
  margin-top: 30px;
}
/* 本文・”≫”の調整 */
.faq-list-item dd .faq-arrow {
  font-size: 0.8em;
  margin-right: 0.3em;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .faq-container {
    padding: 50px 20px;
  }

  /* mv
  -------------------------------------------*/
  .page-mv {
    background-image: url(../img/faq/faq-mv-sp.jpg);
  }

    /* 選択ボタン
  -------------------------------------------*/
  .faq-btn-area {
    gap: 0.5em 2vw;
    padding-inline: 18px;
    margin-bottom: 0;
  }
  .faq-btn-area li {
    width: 48%;
  }
  .faq-btn-area li a {
    display: block;
    font-size: max(11px, 2.3vw);
    padding: 0.6em 1em;
  }

    /* よくあるご質問
  -------------------------------------------*/
  .faq-list-item {
    margin-bottom: 20px;
  }
  .faq-list-item dt {
    font-size: max(2.5vw, 18px);
    padding-right: 30px;
  }
  .faq-list-item dt::before,
  .faq-list-item dt::after {
    width: 14px;
    top: 0.7em;
    right: 0;
  }
  .faq-list-item dd {
    font-size: max(2.3vw, 16px);
  }
}