@charset "UTF-8";

#sidebar {
    position: sticky;
    top: 5px;
    left: 0;
}

.cate_wrap {
    margin-right: 8px;
    padding: 30px 0 30px 8px;
    background-size: contain;
    background-repeat: repeat-y;
    background-position: center;
}

.cate_wrap-hina {
    background-color: #f6bac3;
    background-image: url(../img/hina_bg.webp);
}

.cate_wrap-may {
    background-color: #addcd5;
    background-image: url(../img/may_bg.webp);
}

.cate_wrap h3 {
    color: #fff;
    background-color: #fff;
    margin-right: 8px;
    padding: .5em;
    margin-bottom: 20px;
    position: sticky;
    top: 10px;
    left: 0;
    z-index: 10;
}

.cate_wrap h3:nth-of-type(n + 2) {
     margin-top: 60px;
}

.cate_wrap-hina h3 {
    border: 1px solid #fff;
    background-color: #eb6367;
}

.cate_wrap-may h3 {
    border: 1px solid #fff;
    background-color: #6f9bbe;
}


.cate_wrap h4 {
    font-size: 15px;
    background-color: #F0EEE4;
    padding: .3em .5em;
}
    

.cate_list {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 20px;
    list-style: none;
    margin: 0 8px 0 0;
}

.cate_list li {
    background-color: #fff;
}

.cate_list-item {
    position: relative;
}

.cate_list-item.type-glass::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 60px;
    background-image: url(../img/glass_icon.svg);

    background-repeat: no-repeat;
    background-size: contain;

    position: absolute;
    top: 10px;
    right: 10px;

}

.cate_list-item.type-acrylic::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 60px;
    background-image: url(../img/acrylic_icon.svg);

    background-repeat: no-repeat;
    background-size: contain;

    position: absolute;
    top: 10px;
    right: 10px;

}



.cate_list-item a {
    display: block;
    background-color: #fff;
    border: 1px solid #000;
    padding: 10px;
    transition: .4s;
    text-decoration: none;
    box-shadow: 3px 3px 3px -5px #383838;
    height: 100%;
    box-sizing: border-box;
}

.cate_wrap-hina .cate_list-item a {
    border: 1px solid #f6bac3;
}

.cate_wrap-may .cate_list-item a {
    border: 1px solid #addcd5;
}

@media (hover: hover) {
    .cate_list-item a:hover {
        box-shadow: 2px 2px 15px -5px #383838;
        transform: scale(1.01);
    }

    .cate_wrap-hina .cate_list-item a:hover {
        border: 1px solid #f89ba9;
    }

    .cate_wrap-may .cate_list-item a:hover {
        border: 1px solid #a0f3e7;
    }
}

.cate_list-size {
    font-size: 12px;
    font-weight: bold;
    margin: 1em 0 0.5em;
}

.cate_list-size + p {
    font-size: 12px;
}

.cate_list-price {
    text-align: right;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 30px;
}

.cate_list-price span {
    font-size: 10px;
}

.cate_list-price-tax {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: #ff0031;
    margin-top: 2em;
}

.cate_list-price-tax span {
    font-size: 12px;
}

.cate_list-image img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: contain;
    height: 170px;
}

.cate_list-number {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

@media(max-width:767px) {
    #sidebar {
    position: relative;
    top: 0;
    left: 0;
}
    .cate_list {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 15px;
    }

    .cate_wrap {
        margin: 0;
        padding: 10px 0 10px 8px;
    }

    .cate_wrap h3 {
        font-size: 1.3em;
    padding: 1em .5em;
    top: 15px;
}
}


.cate_icon {
    background-color: #fff;
    margin-right: 10px;
    padding: 10px;
}

.cate_icon .cate_icon-text {
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 10px;
    padding-left: .5em;
    border-bottom: 1px solid #9b9b9b;
}

.icon_wrap {
    display: flex;
    gap: 20px;
    padding-left: .5em;
}

.cate_icon .light_icon,
.cate_icon .light-cordless_icon,
.cate_icon .music-box_icon {
    display: flex;
    align-items: center;
    line-height: 1;
}

.cate_icon .light_icon::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/light_icon.svg);
    margin-left: 10px;

    background-repeat: no-repeat;
    background-size: contain;
}

.light_icon-set {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/light_icon.svg);
    margin-left: 10px;

    background-repeat: no-repeat;
    background-size: contain;
}

.cate_icon .light-cordless_icon::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/light-cordless_icon.svg);
    margin-left: 10px;

    background-repeat: no-repeat;
    background-size: contain;
}

.light-cordless_icon-set {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/light-cordless_icon.svg);
    margin-left: 10px;

    background-repeat: no-repeat;
    background-size: contain;
}


.cate_icon .music-box_icon::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/music-box_icon.svg);
    margin-left: 10px;

    background-repeat: no-repeat;
    background-size: contain;
}

.music-box_icon-set {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/music-box_icon.svg);
    margin-left: 10px;

    background-repeat: no-repeat;
    background-size: contain;
}


@media(max-width:767px) {
.icon_wrap {
    flex-direction: column;
    gap: 0;
}

}
