@charset "utf-8";

/*---------------------------------------------------------------------- .smart_menu_button --*/

@media screen {
    .smart_menu_button {
        display: none;
        position: fixed;
        top: 0;
        width: 50px;
        height: 60px;
        background: #fff;
        cursor: pointer;
        z-index: 5000;
    }

    .smart_menu_button div {
        position: absolute;
        width: 100%;
        height: 3px;
        border-radius: 50px;
        background: #aaa;
        transition: var(--transition);
    }

    .smart_menu_button div:nth-child(1) {
        top: 20px;
    }

    .smart_menu_button div:nth-child(2) {
        top: 28.5px;
    }

    .smart_menu_button div:nth-child(3) {
        top: 37px;
    }

    .smart_menu_button_active div:nth-child(1), .smart_menu_button_active div:nth-child(3) {
        top: calc(100% - 32.5px);
    }

    .smart_menu_button_active div:nth-child(1) {
        transform: rotate(45deg);
    }

    .smart_menu_button_active div:nth-child(2) {
        display: none;
    }

    .smart_menu_button_active div:nth-child(3) {
        transform: rotate(-45deg);
    }

    @media (width <= 1024px) {
        .smart_menu_button {
            display: flex;
            right: 50px;
        }
    }

    @media (width <= 500px) {
        .smart_menu_button {
            width: 40px;
            right: 15px;
        }
    }

    @media (hover: hover) and (pointer: fine) {
        .smart_menu_button:hover div {
            background: var(--hover);
        }
    }
}

/*---------------------------------------------------------------------- smart_menu --*/

@media screen {
    .wrap_smart_menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding-top: var(--header_height);
        padding-bottom: 30%;
        background: rgba(255, 255, 255, 1);
        z-index: 5000;
        transition: 0.2s;
        z-index: 1000;

        -ms-overflow-style: none;
        scrollbar-width: none;
        visibility: hidden;
    }

    .wrap_smart_menu::-webkit-scrollbar {
        display: none;
    }

    .wrap_smart_menu.open {
        visibility: visible;
    }

    .smart_menu {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        height: 100%;
        border-top: 1px solid #f0f0f0;
    }

    .smart_menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    @media (min-width: 1025px) {	
    }

    @media (width <= 768px) {
    }

    @media (hover: hover) and (pointer: fine) {
        .smart_menu a {
            transition: 0.2s;
        }

        .smart_menu a:hover {
            color: var(--green);
        }
    }
}

/*---------------------------------------------------------------------- category_menu --*/

@media screen {
    .category_menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        border-bottom: 1px solid #eee;
    }

    .category_menu a {
        text-align: center;
        font-family: Yugo-B;
        color: #777;
    }

    .category_menu i {
        text-align: center;
        font-family: RobotoCond-R;
        color: #aaa;
    }

    @media (1281px <= width) {
        body {
            --category_menu_height: 146px;
        }
        
        .category_menu {
            padding: 15px 50px;
        }

        .category_menu a {
            font-size: 20px;
            padding: 35px 35px;
        }

        .category_menu i {
            display: block;
            font-size: 11px;
            letter-spacing: 2px;
        }

        .category_menu a:nth-child(n+2) {
            margin-left: 65px;
        }

        .category_menu a:hover {
            background: #226;
        }

        .category_menu a:hover, .category_menu a:hover i {
            color: #fff;
        }
    }

    @media (1025px <= width <= 1280px) {
        body {
            --category_menu_height: 146px;
        }

        .category_menu a {
            font-size: 19px;
            padding: 50px 25px;
        }

        .category_menu i {
            display: block;
            font-size: 11px;
            letter-spacing: 2px;
        }

        .category_menu a:hover {
            background: #226;
        }

        .category_menu a:hover, .category_menu a:hover i {
            color: #fff;
        }
    }

    @media (width <= 1024px) {
        body {
            --category_menu_height: 126px;
        }

        .category_menu a {
            font-size: 20px;
            padding: 40px;
            transition: 0.2s;
        }

        .category_menu i {
            display: block;
            font-size: 10px;
            letter-spacing: 2px;
        }

        .category_menu a:nth-child(n+2) {
            margin-left: 0;
        }
    }

    @media (width <= 768px) {
        .category_menu {
            flex-wrap: wrap;
            border: none;
        }

        .category_menu a {
            width: 100%;
            font-size: 16px;
            padding: 16px 0 10px;
            border-bottom: 1px solid #eee;
        }

        .category_menu i {
            display: block;
            font-size: 10px;
            letter-spacing: 2px;
        }
    }
    
    @media (hover: hover) and (pointer: fine) {
        .category_menu a {
            transition: var(--transition);
        }
    }
}
    