.category-link {
    height: 70px;
    display: flex;
    border-bottom: 1px solid lightgray;
    padding: calc((70px - 2px - 1.8em) / 2) 10px;
    color: #666;
    position: relative;
    align-items: center;
}
.category-link:hover {
    color: white;
    background-color: #666;
}
.category-link::after {
    display: block;
    content: '';
    height: 8px;
    width: 8px;
    position: absolute;
    right: 30px;
    bottom: calc((70px - 2px - 1.8em) / 2 + 8px);
    border: 2px solid #333;
    border-left: none;
    border-bottom: none;
    transform: rotate(135deg);
}

.category-list__small-category-link::after {
    display: block;
    content: '';
    top: 43%;
    height: 8px;
    width: 8px;
    position: absolute;
    right: 30px;
    bottom: calc((70px - 2px - 1.8em) / 2 + 8px);
    border: 2px solid #333;
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
}

.category-link.active::after {
    top: 50%;
    transform: rotate(-45deg);
}

.category-link:hover:after {
    border-color: white;
}

.category-link span::after {
    content: attr(data-category-item-total);
    margin: 0 0 0 3px;
}

.category-link img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 5px;
}

/* ブランドカテゴリリスト */
.brand-category-list .category-link img {
    width: 50px;
    object-fit: contain;
}
.brand-category-list .category-link:hover {
    background-color: #666;
}

@media (max-width: 991px) {
    .category-link {
        font-size: 14px;
    }
    .category-link:after {
        right: 28px;
        bottom: calc((70px - 2px - 1.8em) / 2 + 8px);
    }
    .category-list__item:nth-of-type(2n) .category-link {
        border-right: none;
    }
}
@media (min-width: 992px) {
    .category-link span {
        width: 125px;
        line-height: 1.3;
    }
}
/* アコーディオン機能のスタイル */
.js-category-link {
    cursor: pointer;
}
