@charset "utf-8";



/* For modern browsers */

.cf:before,
.cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */

.cf {
    zoom: 1;
}



/* tags
---------------------------------------------------- */
.categorytop_cont a {
    color: #000;
    text-decoration: none;
    transition: all .4s;
}

.categorytop_cont a:hover {
    color: #000;
    text-decoration: none;
    transition: all .4s;
    opacity: 0.6;
}

.categorytop_cont img {
    border: none;
    margin: 0px;
    padding: 0px;
    vertical-align: bottom;
    max-width: 100%;
    width: auto;
    height: auto;
}

.categorytop_cont h2,
.categorytop_cont h3,
.categorytop_cont h4,
.categorytop_cont h5,
.categorytop_cont h6,
.categorytop_cont p,
.categorytop_cont ul,
.categorytop_cont ol,
.categorytop_cont dl,
.categorytop_cont dt,
.categorytop_cont dd,
.categorytop_cont img {
    margin: 0px;
    padding: 0px;
    list-style: none;
    font-weight: normal;
}

.categorytop_cont figure,
.categorytop_cont nav,
.categorytop_cont section {
    display: block;
    margin: 0px;
    padding: 0px;
}

/* common
---------------------------------------------------- */
.categorytop_cont {
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

.categorytop_cont .sp {
    display: none;
}

@media screen and (max-width: 767px) {
    .categorytop_cont {
        padding: 0;
    }

    .categorytop_cont .pc {
        display: none;
    }

    .categorytop_cont .sp {
        display: block;
    }

    .categorytop_cont br.sp {
        display: inline;
    }
}

.categorytop_cont h1 {
    font-weight: bold;
    font-size: 22px;
    margin: 0 0 20px;
    padding: 0 0 0 35px;
    position: relative;
}

.categorytop_cont h1::before {
    content: '';
    width: 22px;
    height: 22px;
    display: block;
    background: url(/html/upload/user_data/fp/categorytop/img/categorytop_icon.png) no-repeat left top;
    background-size: contain;
    position: absolute;
    left: 50%;
    left: 0;
    top: -1px;
}

@media screen and (max-width: 767px) {
    .categorytop_cont h1 {
        font-size: 18px;
        margin: 0 auto 20px;
        width: 92%;
        padding: 0 0 0 30px;
    }

    .categorytop_cont h1::before {
        width: 18px;
        height: 18px;
        top: 0;
    }
}

/* categorytop_box
---------------------------------------------------- */
.categorytop_box {
    background-color: #fff;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
}

.categorytop_box+.categorytop_box {
    margin-top: 20px;
}

.categorytop_box h2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    width: 21%;
    position: relative;
    padding: 0 10px 0 22px;
    box-sizing: border-box;
}

.categorytop_box h2 a {
    text-decoration: underline;
}

.categorytop_box h2 a::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #006600;
    border-right: 3px solid #006600;
    transform: rotate(45deg);
    position: absolute;
    left: 0;
    top: 6px;
}

.categorytop_box ul {
    box-sizing: border-box;
    border-left: 5px solid #e7e7e7;
    padding: 10px 0 10px 2%;
    width: 79%;
}

.categorytop_box li {
    display: inline;
    font-size: 17px;
    line-height: 2;
}

.categorytop_box li+li::before {
    content: '/ ';
}

.categorytop_box li a {
    text-decoration: underline;
    white-space: nowrap;
}

.categorytop_box_main {
    display: flex;
    align-items: center;
}

.categorytop_box h4 {
    font-size: 18px;
    padding-top: 10px;
}

@media screen and (max-width: 767px) {
    .categorytop_box {
        width: 92%;
        padding: 0;
        display: block;
        align-items: normal;
        margin: 0 auto;
        box-sizing: border-box;
        border: 1px solid #ddd;
    }

    .categorytop_box h2 {
        font-size: 16px;
        width: auto;
        padding: 0;
        line-height: 1;
    }
    .categorytop_box h2 a,
    .categorytop_box h2 span {
        text-decoration: none;
        display: block;
        padding: 13px 20px;
        background-color: #f1f1f1;
    }

    .categorytop_box h2 a br {
        display: none;
    }

    .categorytop_box h2 a::before {
        width: 10px;
        height: 10px;
        border-top: 2px solid #333;
        border-right: 2px solid #333;
        left: auto;
        right: 20px;
        top: 50%;
        transform: translate(0, -50%) rotate(45deg);
    }

    .categorytop_box ul {
        border-left: none;
        padding: 0;
        width: auto;
    }

    .categorytop_box li {
        display: block;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 1.2;
        border-top: 1px solid #e7e7e7;
    }

    .categorytop_box li+li::before {
        content: none;
    }

    .categorytop_box li a {
        text-decoration: none;
        display: block;
        padding: 12px 20px;
        position: relative;
    }

    .categorytop_box li a::before {
        content: '┗ ';
        margin-right: 5px;
    }

    .categorytop_box li a::after {
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        border-top: 2px solid #333;
        border-right: 2px solid #333;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translate(0, -50%) rotate(45deg);
    }

    .categorytop_box h4 {
        font-size: 16px;
        padding: 10px;
    }

    .categorytop_box_main {
        display: block;
        align-items: normal;
    }
}