/*------------ faq ------------*/

.faq-list {}

.faq-list li {
    margin: 0 0 12px;
    cursor: pointer;
}

.faq-question {
    background: #FCC7C7;
    color: #fff;
    font-size: 15px;
    line-height: 1.75;
    position: relative;
    padding: 5px 85px 5px 35px;
    margin: 0 0 12px;
}

.faq-question:before,
.faq-question:after {
    content: "";
    width: 23px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../../images/common/title_bg.png);
}

.faq-question:after {
    left: auto;
    right: 0;
    transform: rotate(180deg);
}

.faq-list li:nth-child(2n) .faq-question {
    background: #D8AF92;
}

.faq-list li:nth-child(2n) .faq-question:before,
.faq-list li:nth-child(2n) .faq-question:after {
    width: 20px;
    background-position: 100% 0;
}

.faq-question .title {
    font-family: 'Buenard', serif;
    font-size: 40px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    margin: -5px 0 5px 0;
}

.faq-question .title:after {
    content: "";
    width: 0;
    display: inline-block;
    vertical-align: middle;
    margin: 0 17px;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent #fff;
}

.faq-question i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-block;
    background: #fff;
    color: #F2B8B7;
    text-align: center;
    line-height: 36px;
    font-size: 22px;
    position: absolute;
    right: 30px;
    top: 50%;
    margin: -18px 0 0 0;
}

.faq-list li:nth-child(2n) .faq-question i {
    color: #D8AF92;
}

.faq-question .name {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 75px);
}

.faq-list li:hover .faq-question,
.faq-list li.active .faq-question {
    background: #FAA3A3;
}

.faq-list li:hover .faq-question i,
.faq-list li.active .faq-question i {
    transform: rotate(180deg);
}

.faq-list li:nth-child(2n):hover .faq-question,
.faq-list li:nth-child(2n).active .faq-question {
    background: #CD9A74;
}

.faq-answer {
    display: none;
    background: #fff;
    padding: 15px 125px 15px 100px;
    color: #8B8B8B;
    position: relative;
}

.faq-answer:before {
    content: "";
    width: 0;
    height: 30px;
    border-left: 25px solid #FFBF00;
    border-right: 25px solid #FFBF00;
    border-bottom: 15px solid transparent;
    display: block;
    position: absolute;
    top: 0;
    left: 25px;
}

.faq-answer:after {
    content: "REPLY";
    color: #FFFFFF;
    font-size: 12px;
    position: absolute;
    top: 7px;
    left: 30px;
}


/*------------ rwd ------------*/

@media screen and (max-width: 1024px) {
    .faq-answer {
        padding: 15px 15px 15px 100px;
    }
}

@media screen and (max-width: 600px) {
    .faq-question {
        padding: 8px 35px;
    }
    .faq-question .title {
        display: block;
        margin-bottom: 10px;
    }
    .faq-question .name {
        width: 100%;
        display: block;
    }
    .faq-question i {
        top: 7px;
        right: 10px;
        margin: 0;
        z-index: 10;
    }
    .faq-answer {
        padding: 55px 15px 15px 15px;
    }
    .faq-answer:before {
        content: "";
        left: 50%;
        margin-left: -25px;
    }
    .faq-answer:after {
        width: 100%;
        text-align: center;
        left: 0px;
    }
}
