@charset "UTF-8";

#faq {
    width: 90%;
    margin: 0 auto;
}
#faq h2 {
    display:block;
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 200%;
}

#faq_header {
    margin-top: 1vw;
    padding: 0 1%;
}
#faq_header ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
#faq_header ul li {
    width: 16.2%;
    margin: 0.2%;
    box-sizing: border-box;
    font-size: 1vw;
}
#faq_header ul li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 4% 6%;
    border-radius: 5px;
    background-color: #666;
    color: #fff;
}
#faq_header ul li a:hover {
    text-decoration: none;
    opacity: 0.8;
}
#faq_header ul li a .faq-icon {
    width: 16%;
    text-align: center;
}
#faq_header ul li a .faq-icon i {
    font-size: 1.5em;
}
#faq_header ul li a img {
    width: 80%;
}
#faq_header ul li a .faq-title {
    width: 78%;
    text-align: center;
}
#faq_header ul li a strong {
    display: block;
    font-size: 1.4em;
}

#faq #faq_categories .faq-category {
    padding-top: 8%;
}
#faq #faq_categories .faq-category h3 {
    margin-bottom: 1%;
    padding: 0.5% 0;
    border-bottom: 1px solid #ddd;
    font-size: 140%;
}
#faq #faq_categories .faq-category .faq-contents {
    margin-bottom: 3%;
    padding: 2%;
    border: 1px solid #ddd;
    font-size: 120%;
}
#faq #faq_categories .faq-category .faq-contents a {
    color: #337ab7;
    text-decoration: underline;
}
#faq #faq_categories .faq-category .faq-contents .faq-contents-q,
#faq #faq_categories .faq-category .faq-contents .faq-contents-a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
#faq #faq_categories .faq-category .faq-contents .faq-contents-a {
    margin-top: 2%;
}
#faq #faq_categories .faq-category .faq-contents .faq-contents-q .faq-image,
#faq #faq_categories .faq-category .faq-contents .faq-contents-a .faq-image {
    width: 2.5%;
}
#faq #faq_categories .faq-category .faq-contents .faq-contents-q .faq-image img,
#faq #faq_categories .faq-category .faq-contents .faq-contents-a .faq-image img {
    width: 100%;
}
#faq #faq_categories .faq-category .faq-contents .faq-contents-q .faq-article {
    margin-left: 1%;
    font-weight: bold;
}
#faq #faq_categories .faq-category .faq-contents .faq-contents-a .faq-article {
    margin-left: 1%;
    line-height: 1.8;
    width: 94%;
}

@media screen and (max-width: 479px) {

    #faq {
        width: 100%;
        padding: 5%;
    }

    #faq_header {
        margin-top: 3vw;
        padding: 0 3%;
    }
    #faq_header ul li {
        width: 48%;
        margin: 1%;
        font-size: 2.4vw;
    }
    #faq_header ul li a {
        padding: 4% 8%;
    }
    #faq_header ul li a .faq-icon i {
        font-size: 1.8em;
    }
    #faq_header ul li a .faq-title {
        padding-left: 4%;
    }
    #faq_header ul li a strong {
        font-size: 1.5em;
    }

    #faq #faq_categories .faq-category .faq-contents {
        padding: 5%;
    }
    #faq #faq_categories .faq-category .faq-contents .faq-contents-q .faq-image,
    #faq #faq_categories .faq-category .faq-contents .faq-contents-a .faq-image {
        width: 8%;
    }
    #faq #faq_categories .faq-category .faq-contents .faq-contents-a .faq-article,
    #faq #faq_categories .faq-category .faq-contents .faq-contents-q .faq-article {
        width: 89%;
        margin-left: 3%;
    }
}
