@charset "UTF=8";
body {
    background-color: #e7e1de;
}
main {
    padding: 10rem 3rem 5rem 3rem;
}
#faq .section-title {
    margin: 0 auto 3rem auto;
}
#faq li {
    border-top: solid 1px #222;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}
#faq li:last-child {
    border-bottom: solid 1px #222;
}
#faq .list-title {
    cursor:pointer;
    width: 90%;
    padding: 2rem;
    transition: .5s;
    position: relative;
}
#faq li:active {
    background-color: #ffffff80;
}
.list-title::before,
.list-title::after {
    content:"";
    width: 20px;
    height: 2px;
    background: #222;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-50%);
}
.list-title::after {
    transform: translate(-50%) rotate(90deg);
    transition: .5s;
}
.list-title.open::before {
    opacity: 0;
}
.list-title.open::after {
    transform: rotate(180deg);
}
.list-item {
    background-color: #ffffff;
    border-top: 1px solid #ccc;
    padding: 2rem;
    display: none;
}
.list-item.open {
    display: block;
}
.btn-center {
    display: flex;
    justify-content: center;
}
.button {
    color: #ffffff;
    border: 1px solid #c37b44;
}
.btn__container {
    background-color: #c37b44;
    border: 1px solid #c37b44;
}
.button:active {
    background-color: #ffffff00;
}
.button:active .btn__container {
    background-color: #ffffff00;
    border: 1px solid #c37b44;
    color: #c37b44;
}
@media screen and (min-width:768px) {
    #faq {
        width: 78.125%;
        margin: 0 auto;
    }
    #faq .section-title {
        margin: 0 auto 10rem auto;
    }
}
@media screen and (min-width:1024px) {
    #faq li {
        font-size: 2rem;
    }
    #faq .list-title {
        padding: 4rem;
    }
    .list-item {
        padding: 4rem;
    }
    #faq li:hover {
        background-color: #ffffff80;
    }
    .button:hover {
        background-color: #ffffff00;
    }
    .button:hover .btn__container {
        background-color: #ffffff00;
        border: 1px solid #c37b44;
        color: #c37b44;
    }
}


