@charset "utf-8";

#faq_wrapper {
    position: relative;
    width: 800px;
    margin: 20px auto;
}
.category {
    width: 800px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
    border-bottom: solid 1px #555;
    margin: 40px 0 20px;
}
.category:first-child {margin-top: 0 !important;}
.question {
    position: relative;
    width: 718px;
    margin: 0 0 20px 40px;
    padding: 4px 28px 4px 0;
    text-indent: -28px;
}
.question::before {
    content: "Q.";
    font-size: 20px;
    margin-right: 8px;
}
.opened::after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 8px;
    right: 4px;
    width: 20px;
    height: 20px;
    background-image: url(../images/common/fold_on.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.closed::after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 8px;
    right: 4px;
    width: 20px;
    height: 20px;
    background-image: url(../images/common/fold_off.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.answer {
    position: relative;
    width: 718px;
    margin: 0 0 20px 40px;
    padding: 4px 28px 4px 0;
    text-indent: -28px;
    display: none;
}
.answer a {
	text-decoration: underline;	
}
.answer img {
    width: 18px;
    vertical-align: middle;
    margin: 0 4px;
}

.answer::before {
    content: "A.";
    font-size: 20px;
    margin-right: 8px;
}
#faq_wrapper p {
    margin-top: 1em;
    text-indent: 0;
}

@media only screen and (min-width:641px) and (max-width:999px) {
    #faq_wrapper {width: 90%;}
    .category {width: 100%;}
    .question {width: 80%;}
    .answer {width: 80%;}
}

@media only screen and (max-width: 640px) {
    #faq_wrapper {
        width: 90%;
        margin: 4vw auto;
    }
    .category {
        width: 100%;
        font-size: 5vw;
        margin: 5vw 0 3vw;
    }
    .question {
        width: 80%;
        margin: 0 0 5vw 10vw;
        padding: 0.5vw 8vw 0.5vw 0;
        text-indent: -5.5vw;
    }
    .question::before {
        content: "Q.";
        font-size: 5vw;
        margin-right: 1vw;
    }
    .opened::after {
        content: "";
        position: absolute;
        display: inline-block;
        top: 1.5vw;
        right: 0.5vw;
        width: 5vw;
        height: 5vw;
        background-image: url(../images/common/fold_on.png);
        background-size: contain;
        background-repeat: no-repeat;
    }
    .closed::after {
        content: "";
        position: absolute;
        display: inline-block;
        top: 1.5vw;
        right: 0.5vw;
        width: 5vw;
        height: 5vw;
        background-image: url(../images/common/fold_off.png);
        background-size: contain;
        background-repeat: no-repeat;
    }
    .answer {
        width: 80%;
        margin: 0 0 5vw 10vw;
        padding: 0.5vw 8vw 0.5vw 0;
        text-indent: -5.5vw;
        display: none;
    }
    .answer::before {
        content: "A.";
        font-size: 5vw;
        margin-right: 1vw;
    }
}
