/*----------よくあるご質問----------*/
.faq_page {
  max-width: 860px;
  margin: 0 auto;
}

.faq_lead {
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.9;
}
@media screen and (max-width: 768px) {
  .faq_lead {
    margin-bottom: 28px;
  }
}

/*----------accordion----------*/
.faq_list {
  border-top: 1px solid #dfe4e8;
}

.faq_item {
  border-bottom: 1px solid #dfe4e8;
}

.faq_q {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 22px 4px;
  border: none;
  background: none;
  color: #0a2a3c;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
  transition: color 0.5s;
}
.faq_q:hover {
  color: #2083ba;
}
@media screen and (max-width: 768px) {
  .faq_q {
    padding: 18px 0;
    font-size: 1.0625rem;
  }
}

.faq_q_text {
  flex: 1;
  margin-right: 16px;
}

.faq_mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-right: 16px;
  font-family: "Hind", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .faq_mark {
    width: 30px;
    height: 30px;
    margin-right: 12px;
    font-size: 1.125rem;
  }
}

.faq_q .faq_mark {
  background-color: #0d415c;
  color: #ffffff;
}

.faq_a .faq_mark {
  background-color: #e8edf1;
  color: #0d415c;
}

.faq_icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.4em;
  margin-left: auto;
}
.faq_icon:before,
.faq_icon:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background-color: #0d415c;
  transition: transform 0.3s ease;
}
.faq_icon:after {
  transform: rotate(90deg);
}
.faq_q[aria-expanded="true"] .faq_icon:after {
  transform: rotate(0deg);
}

/* JavaScript が動作している時だけ回答を閉じた状態にする */
.faq_list_ready .faq_a {
  display: none;
}

.faq_a_inner {
  display: flex;
  align-items: flex-start;
  padding: 0 4px 26px;
}
@media screen and (max-width: 768px) {
  .faq_a_inner {
    padding: 0 0 20px;
  }
}

.faq_a_text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.9;
}
.faq_a_text strong {
  color: #0a2a3c;
  font-weight: 700;
}
.faq_a_text a {
  color: #2083ba;
  text-decoration: underline;
}

/*----------contact cta----------*/
.faq_cta {
  margin-top: 80px;
  padding: 56px 24px;
  background-color: #0d415c;
  color: #ffffff;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .faq_cta {
    margin-top: 56px;
    padding: 40px 20px;
  }
}

.faq_cta_eyebrow {
  margin-bottom: 8px;
  font-family: "Hind", sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fb2c7;
}

.faq_cta_heading {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.625rem;
  font-weight: bold;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .faq_cta_heading {
    font-size: 1.375rem;
  }
}

.faq_cta_sub {
  margin-bottom: 0;
  font-size: 1rem;
  color: #b9c8d2;
}

.faq_cta .line_block {
  margin-top: 32px;
}

.faq_cta .line_btn {
  display: inline-block;
  width: 390px;
  max-width: 100%;
  padding: 22px 20px;
  background-color: #00b900;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  border-top: 5px solid #32d332;
  border-right: 5px solid #027602;
  border-bottom: 5px solid #0e970e;
  border-left: 5px solid #50ee50;
  transition: 0.5s;
}
.faq_cta .line_btn:hover {
  color: #ffffff;
  border-top: 5px solid #0e970e;
  border-right: 5px solid #50ee50;
  border-bottom: 5px solid #32d332;
  border-left: 5px solid #027602;
  opacity: 0.8;
}
.faq_cta .line_btn:before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 32px;
  margin: -3px 5px 0 0;
  background-image: url("../images/icon_line.png");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}
@media screen and (max-width: 768px) {
  .faq_cta .line_btn {
    width: 100%;
    padding: 18px 10px;
    font-size: 1.0625rem;
  }
}
