@charset "utf-8";

/* searchSection */
#searchSection .categoryList li {
    width: calc((100% - 90px) / 4);
    float: left;
    margin-right: 30px;
    height: 80px;
}

#searchSection .categoryList li a {
    border: 1px solid #dadada;
    border-radius: 10px;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    line-height: 1.3;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
    text-align: center;
    transition: 0.3s;
    color: #009481;
    background-color: #fff;
}

#searchSection .categoryList li a p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
}

#searchSection .categoryList li:last-of-type {
    margin-right: 0;
}

#searchSection .categoryList li a.on {
    color: #fff;
    background-color: #55eadd;
    border: 1px solid #55eadd;
}

#searchSection .categoryList li a.on:after {
    content: '';

    display: block;
    width: 27px;
    height: 9px;

    background-image: url(/_assets/img/her/faq/category_arrow.png);
    background-size: contain;
    background-repeat: no-repeat;

    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    margin: auto;
}

/* faqSection */
#faqSection {
    background-color: #d3fff9;
}

#faqSection h3 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 50px;
}

#faqSection .tabBody {
    display: none;
}

#faqSection .tabBody:first-of-type {
    display: block;
}

/* PC */
@media screen and (min-width: 768px) {
    #searchSection .categoryList li a:hover {
        color: #fff;
        background-color: #55eadd;
        border: 1px solid #55eadd;
    }
}

/* SP */
@media screen and (max-width: 767px){
    #searchSection .categoryList li {
        width: calc((100% - 15px) / 4);
        margin-right: 5px;
        height: 50px;
    }
    
    #searchSection .categoryList li a {
        border-radius: 5px;
        font-size: 1.0rem;
    }
    
    #searchSection .categoryList li a p {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        width: 100%;
    }
    
    #searchSection .categoryList li:last-of-type {
        margin-right: 0;
    }
    
    /* faqSection */
    #faqSection h3 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

}