﻿body.page-item-list #override {
    background-color: var(--color--bg);
}
/* ----------- 全体 */
.item-lists + .item-lists,
.item-lists + .main-ttl {
    margin-top: 3.5em;
}
/* ----------- カテゴリ一覧 */
.item-lists .list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
}
.item-lists p,
.item-lists figure {
    margin: 0;
}
.item-lists li { list-style: none;}
.item-lists .sub-ttl {
    border-left: 3px solid var(--color--blue);
    padding: 0.2em 0 0.2em 1em;
    margin-bottom: 30px;
    font-size: 24px;
}

.item-lists .list .item {
    width: calc((100% - 40px) / 2);
    padding: 1em;
    background-color: white;
    border: 1px solid #CBCBCB;
    position: relative;
    z-index: 0;
}
.item-lists .list .item::before {
    content: "";
    background-color: var(--color--bg);
    position: absolute;
    top: 1em;
    right: 1em;
    bottom: 1em;
    left: 1em;
    z-index: -1;
}
.item-lists .item-inner {
    display: flex;
    color: black;
    padding: 1em 20px 0.5em;
    position: relative;
    z-index: 0;
    font-size: clamp(12px,2.5vw,16px);
    overflow: hidden;
}
.item-lists .item-inner .image {
    width: 30%;
    background-color: white;
}
.item-lists .item-inner .inner-detail {
    width: 65%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
}
.item-lists .item-inner .stock {text-align: right;padding-top: 1em;margin-top: auto;}
.item-lists .item-inner .price {text-align: right;}
.item-lists .add-send-cart { margin: 0 1em 1em; text-align: right; }
.item-lists .add-send-cart .add-cartbtn {
    display: inline-block;
    padding: 0.5em 1em;
    border-radius: 0.4em;
    font-size: 24px;
    display: inline-block;
    margin-left: auto;
}

@media (min-width: 769px) {
    .item-lists .add-send-cart .add-cartbtn {
        position: relative;
        z-index: 0;
        transition: .3s;
        overflow: hidden;
    }
    .item-lists .add-send-cart .add-cartbtn:hover::before {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .item-lists .list .item {
        width: calc((100% - 15px) / 2);
        padding: 0.3em;
    }
    .item-lists .list .item::before {
        top: 0.3em;
        right: 0.3em;
        bottom: 0.3em;
        left: 0.3em;
    }
    .item-lists .item-inner {
        flex-direction: column;
        padding: 0.8em;
    }
    .item-lists .item-inner .image,
    .item-lists .item-inner .inner-detail {
        width: 100%;
    }
    .item-lists .price { 
        text-align: center;
        line-height: 1.2;
        margin-top: 0.5em;
    }
    .item-lists .add-send-cart {
        margin: 0 0.5em 0.5em;
    }
    .item-lists .add-send-cart .add-cartbtn {
        font-size: clamp(12px , 3.6vw , 24px);
        width: 100%;
        padding: 1em;
    }
}