/* FAQ */
.faq{
  background: #fff;
  padding: 3% 0;
}
.faq_inner{
  width: min(90%, 1200px);
  margin: 0 auto;
}
.faq_list{
  margin: 15px 0 10%;
  border-top: none;
}
.faq_item{
  border-bottom: 1px solid rgba(31,44,92,.18);
}
.faq_q{
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr 28px;
  align-items: center;
  gap: 14px;
  padding: 18px 6px;
  min-height: 60px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.faq_q_icon{
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}
.faq_q_text{
  color: #1f2c5c;
  font-weight: 900;
  line-height: 1.5;
  font-size: 25px;
}
.faq_toggle{
  width: 24px;
  height: 24px;
  position: relative;
  justify-self: end;
}
.faq_toggle::before{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #1f2c5c;
  transform: translate(-50%, -50%);
  border-radius: 2px;
}
.faq_toggle::after{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 16px;
  background: #1f2c5c;
  transform: translate(-50%, -50%) rotate(0deg);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.faq_item.is_open .faq_toggle::after{
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq_a{
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
  padding: 0 6px;
}
.faq_item.is_open .faq_a{
  padding: 0 6px 18px 6px;
}
.faq_a_inner{
  margin-left: 48px;
  color: rgba(31,44,92,.75);
  font-size: 18px;
  line-height: 2;
}
.faq_cta .detail_btn{
  border: 1px solid #7982A2;
}
.faq_cta{
  margin-top: 5%;
  background-image: url("../img/trainer/cta_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.faq_cta_inner{
  align-items: center;
  padding: 30px 34px 24px;
}
.faq_cta_image img{
  width: 100%;
  display: block;
  object-fit: cover;
}
.faq_cta_content h3{
  color: #ffffff;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 800;
  text-align: center;
}
.faq_cta_text{
  color: #ffffff;
  font-size: 28px;
  line-height: 2;
  font-weight: 500;
  text-align: center;
}
.faq_cta_button{
  display: block;
  margin: 0 auto;
  padding-bottom: 3%;
  width: min(90%, 520px);
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-sizing: border-box;
}
.faq_cta_button span{
  display: inline-block;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}
.faq_cta_button:hover{
  transform: translateY(-2px);
  opacity: 0.92;
}

@media (max-width: 768px){
  .faq{
    padding: 10% 0;
  }
  .faq_q_text {
    color: #1f2c5c;
    font-size: 20px;
  }
  .faq_q{
    grid-template-columns: 32px 1fr 26px;
    padding: 16px 0;
  }
  .faq_a_inner{
    margin-left: 40px;
    font-size: 18px;
  }
  .faq_cta_inner {
    align-items: center;
    padding: 20px 0px;
  }
  .faq_cta_content h3 {
    margin-bottom: 10px;
  }
  .faq_cta_text {
    font-size: 22px;
  }
  .faq_cta_button{
    padding-bottom: 5%;
  }
}