@charset "utf-8";

/* faq
---------------------------------------------------- */
#faq {
    padding: 60px 0;
}
#faq dl + dl {
    margin-top: 30px;
}
#faq dt {
    background-color: #e7e7e7;
    padding: 15px 20px 17px 60px;
    color: #3ca2dd;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    cursor: pointer;
    transition: all .4s;
}

#faq dt::after {
    position: absolute;
    top: 50%;
    right: 25px;
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    margin-top: -7px;
    border-top: 3px solid #3ca2dd;
    border-right: 3px solid #3ca2dd;
    transform: rotate(135deg);
    transition: all .4s;
}
#faq dt.selected::after {
    margin-top: -3px;
    transform: rotate(-45deg);
}
#faq dd {
    border-right: 1px solid #e7e7e7;
    border-left: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    padding: 20px 20px 20px 60px;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
}
#faq dt::before,
#faq dd::before {
    border-radius: 50%;
    width: 27px;
    height: 27px;
    display: inline-block;
    text-align: center;
    line-height: 27px;
    color: #fff;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    position: absolute;
    left: 20px;
}
#faq dt::before {
    content: 'Q';
    background-color: #3ca2dd;
    top: 16.5px;
}
#faq dd::before {
    content: 'A';
    background-color: #d94444;
    top: 21.5px;
}

@media screen and (max-width: 768px) {
    #faq {
        padding: 30px 20px;
    }
    #faq dl + dl {
        margin-top: 20px;
    }
    #faq dt {
        padding: 10px 18px 12px 38px;
        font-size: 15px;
        line-height: 1.4;
    }
    
    #faq dt::after {
        right: 10px;
        width: 6px;
        height: 6px;
        margin-top: -5px;
        border-top: 2px solid #3ca2dd;
        border-right: 2px solid #3ca2dd;
    }
    #faq dd {
        padding: 15px 10px 15px 38px;
        font-size: 14px;
    }
    #faq dt::before,
    #faq dd::before {
        width: 22px;
        height: 22px;
        line-height: 22px;
        font-size: 14px;
        left: 10px;
    }
    #faq dt::before {
        top: 10px;
    }
    #faq dd::before {
        top: 16px;
    }
}
