/* CSS Document */

#wacoms-header{
    margin-top: 30px;
    background: #32373D;
    padding: 25px 0 25px 5%;
}

#wacoms-header a{
    color: #fff;
}

@media only screen and (max-width: 760px) {
    #wacoms-header{
        padding: 0;
        background: #fff;
    }
    #wacoms-header a{
    color: #000;
}
}


#faq{
    margin-top: 80px;
}

#faq h2{
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 120px;
    text-align: left;
    font-size: 40px;
    font-family: eb-garamond,YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-weight: 300;
    letter-spacing: 8px;
}

#faq h2 span{
    display: block;
    font-size: 16px;
    color: #777;
    margin-top: 20px;
    letter-spacing: 1px;
}

#faq #faq-navi{
    background: #f6f6f6;
}

#faq #faq-navi ul{
    width: 95%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

#faq #faq-navi ul li a{
    padding: 20px 0;
}

#faq #faq-navi ul li a:hover,
#faq #faq-navi ul .current{
    border-bottom: 1px solid #000;
    box-sizing: border-box;
}

#faq ol{
    width: 90%;
    max-width: 800px;
    margin: 30px auto 80px;
    display: flex;
    justify-content: space-between;
}

#faq ol li{
    width: 31%;
}

#faq ol .current{
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
}


#faq .block{
    width: 90%;
    max-width: 1000px;
    margin: 20px auto 80px;
    text-align: left;
	counter-reset: number;
}

#faq .block p{
    font-size: 15px;
    margin: 20px 0;
}

#faq .block h3{
    font-size: 18px;
    border-left: 1px solid #000;
    padding-left: 15px;
    line-height: 1.3;
    margin-bottom: 40px;
}

#faq .block dt{
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
    margin-bottom: 20px;
	counter-increment: number;
    font-weight: bold;
}

#faq .block dt:before{
	content:  "Q" counter(number) ".";
    font-size: 20px;
    font-weight: bold;
    vertical-align: middle;
    margin-right: 10px;
}

#faq .block dd{
    margin-bottom: 50px;
}

#faq .block ul{
    margin-top: -15px;
}

#faq .block ul li{
    padding-left: 15px;
    text-indent: -14px;
}

#faq .block ul li:before{
    content: "・";
}




@media only screen and (max-width: 900px) {
#faq h2 {
  margin: 0 auto 80px;
}
#faq #faq-navi ul{
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        border-top: 1px solid #888;
    }

    #faq #faq-navi ul li{
        width: 33%;
        font-size: 14px;
        border-bottom: 1px solid #888;
        border-right: 1px solid #888;
    }

    #faq #faq-navi ul li:nth-of-type(3n){
        border-right: none;
    }

    #faq #faq-navi ul li a:hover{
        border: none;
        background: #666;
        color: #fff;
    }

    #faq #faq-navi ul .current{
        border-bottom: none;
        background: #666;
        color: #fff;
    }

}



@media only screen and (max-width: 640px) {
    #faq #faq-navi ul li{
        width: 50%;
        font-size: 12px;
}
    #faq #faq-navi ul li:nth-of-type(2n){
        border-right: none;
    }
    #faq #faq-navi ul li:nth-of-type(3){
        border-right: 1px solid #888;
    }





}


















