@charset "utf-8";

.faq_wrap{
    width: 90%;
    margin: 0 auto;
}


.qa {
    margin-bottom: 10px;
    box-shadow: 5px 4px 8px gray;
}

.q {
    font-weight: 700;
    color: #254A7E;
    height: 60px;
    padding: 15px 40px 15px 15px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    p{
        padding-left: 45px;
        position: relative;
    }
    &:before {
      position: absolute;
      content: "";
      display: block;
      width: 10px;
      height: 2px;
      background-color: #254A7E;
      right: 15px;
      top: 50%;
      transform: translate(0, -50%);
    }
    &:after {
      position: absolute;
      content: "";
      display: block;
      width: 10px;
      height: 2px;
      background-color: #254A7E;
      right: 15px;
      top: 50%;
      transform: translate(0, -50%) rotate(90deg);
    }
}

.q p::before{
    content: "";
    position: absolute;
    left: 0;
    width: 40px;
    height: 25px;
    background-image: url(../img/faq_img/Q.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.q.active {
    &:after {
      display: none;
    }
}

.a {
    display: none;
    padding: 10px 10px 15px 15px;
    border-top: dotted 4px #9EE1F1;
    p{
        padding-left: 45px;
        position: relative;
    }
}

.a p::before{
    content: "";
    position: absolute;
    left: 0;
    width: 40px;
    height: 25px;
    background-image: url(../img/faq_img/A.png);
    background-size: contain;
    background-repeat: no-repeat;
}

@media screen and (min-width:767px){
    .faq_wrap{
        margin-bottom: 80px;
    }
    .qa {
        margin-bottom: 20px;
    }
}
@media screen and (min-width:960px){
    .faq_wrap{
        max-width: 1000px;
    }
}