/*************************************************************

商品一覧
基本レイアウト

*************************************************************/
.ec-shelfGrid a,
.ec-searchnavRole .ec-searchnavRole__infos{
    color: var(--color-mainFonts);
}

.ec-layoutRole__contents {
    margin-bottom: 60px;
}

.ec-searchnavRole,
.ec-shelfRole {
    padding: 0;
}

.ec-shelfGrid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 !important;
}

.ec-shelfGrid::after {
    content: "";
    display: block;
    width: calc(100% / 3 - 5px);
}

@media screen and (max-width: 599px) {
    .ec-shelfGrid::after {
        display: none;
    }
}

.ec-shelfGrid > li {
    flex: 0 1 calc(100% / 3 - 5px);
    padding: 0 !important;
    margin: 0 0 60px !important;
}

@media screen and (max-width: 599px) {
    .ec-shelfGrid > li {
        flex: 0 1 calc(100% / 2 - 7.5px);
        padding: 0 !important;
        margin: 0 0 30px !important;
    }
}

/*************************************************************

商品一覧
一覧レイアウト

*************************************************************/

.ec-layoutRole .ec-layoutRole__contents{
    margin-top: 60px;
}

#products-list .price02-default {
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 600;
}

#products-list .filter-bt {
    display: none;
}

@media screen and (max-width: 1024px) {
    #products-list .filter-bt {
        opacity: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        right: 10px;
        bottom: 30px;
        width: 60px;
        height: 60px;
        background: var(--color-mainColor);
        color: var(--color-white);
        z-index: 999;
        opacity: 0;
        transition: 0.3s;
        border-radius: 50%;
        font-size: 10px;
        cursor: pointer;
        border: 1px solid var(--color-white);
        filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.2));
    }

    #products-list .filter-bt.is-visible {
        opacity: 1;
    }

    #products-list .filter-bt .ico {
        text-align: center;
        margin-bottom: 3px;
    }

    #products-list .filter-bt .ico img {
        max-width: 100%;
        width: auto;
    }
}

#products-list .prod-name .bland{
    font-weight: 600;
    font-size: clamp(12px, 1vw, 14px);
    margin-bottom: 5px;
}

#products-list .prod-name .name {
    font-weight: 600;
    font-size: clamp(14px, 1.1vw, 16px);
    margin-bottom: 5px;
}

#products-list .prod-name .year {
    color: var(--color-gray);
    font-weight: 600;
    font-size: clamp(12px, 1vw, 14px);
    margin-bottom: 5px;
}

/*----------------------------
セレクトボックス
----------------------------*/
.ec-searchnavRole .ec-searchnavRole__infos {
    padding: 20px 0 0;
}

.ec-searchnavRole__infos .ec-select {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media screen and (max-width: 599px) {
    .ec-searchnavRole__infos .ec-select {
        justify-content: space-between;
    }
}

.ec-searchnavRole__infos .ec-select > div {
    position: relative;
    flex: 0 1 auto;
    margin-right: 20px;
}

@media screen and (max-width: 599px) {
    .ec-searchnavRole__infos .ec-select > div {
        flex: 0 1 calc(100% / 2 - 5px);
        margin-right: 0;
    }
}

.ec-searchnavRole__infos .ec-select > div:last-child {
    margin-right: 0;
}

.ec-searchnavRole__infos .ec-select > div select {
    width: 100%;
    appearance: none;
    background: #e8e8d2;
    border: none;
    padding: 10px 40px 10px 10px;
    border-radius: 5px;
    position: relative;
}

.ec-searchnavRole__infos .ec-select > div::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 15px;
    height: 8px;
    background: var(--color-mainColor);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    transform: translate(0, -50%);
    z-index: 100;
}

/*************************************************************

商品一覧
カテゴリメインビジュアル
#cat-mv

*************************************************************/
#cat-mv {
    background: linear-gradient(to right, var(--color-black) 0%, var(--color-black) 50%, var(--color-subColor1) 50%, var(--color-subColor1) 100%);
}

#cat-mv .inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#cat-mv .inner .left-mv-image {
    flex: 0 1 calc(100% / 2 - 7.5px);
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#cat-mv .inner .left-mv-image img{
    object-fit: cover;
    aspect-ratio: 687 / 434;
}

@media screen and (max-width: 599px) {
    #cat-mv .inner .left-mv-image {
        flex: 0 1 100%;
        background: var(--color-black);
    }
}

#cat-mv .inner .right-text-area {
    flex: 0 1 calc(100% / 2 - 7.5px);
    padding: 60px 10px 60px 50px;
}

@media screen and (max-width: 1360px) {
    #cat-mv .inner .right-text-area {
        flex: 0 1 calc(100% / 2 - 7.5px);
        padding: 30px 10px;
    }
}

@media screen and (max-width: 599px) {
    #cat-mv .inner .right-text-area {
        flex: 0 1 100%;
        background: var(--color-subColor1);
    }
}

#cat-mv .inner .right-text-area h1 {
    font-family: var(--fonts-title);
    font-size: 30px;
    text-align: center;
    margin: 0 0 30px;
    font-weight: 900;
}

#cat-mv .inner .right-text-area h1 span {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

#cat-mv .inner .right-text-area h1,
#cat-mv .inner .right-text-area h1 span,
#cat-mv .inner .right-text-area p {
    color: var(--color-white);
}

#cat-mv .inner .right-text-area h1 {
    text-align: left;
}

/*************************************************************

商品一覧
ラインナップリスト
#products-lineup

*************************************************************/
#products-lineup ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#products-lineup ul li {
    flex: 0 1 calc(100% / 3 - 10px);
    margin-bottom: 20px;
    margin-right: 15px;
}
#products-lineup ul li:nth-child(3n){
    margin-right: 0;
}

@media screen and (max-width: 767px) {
    #products-lineup ul li {
        flex: 0 1 calc(100% / 2 - 10px);
        margin-right: 20px;
    }
    #products-lineup ul li:nth-child(3n){
        margin-right: 20px;
    }
    #products-lineup ul li:nth-child(2n){
        margin-right: 0;
    }
}

@media screen and (max-width: 599px) {
    #products-lineup ul li {
        flex: 0 1 100%;
        margin-right: 0;
    }
    #products-lineup ul li:nth-child(3n){
        margin-right: 0;
    }
}

#products-lineup ul li a {
    display: flex;
    justify-content: space-between;
}

#products-lineup ul li a img{
    max-width: 83px;
    aspect-ratio: 1;
    object-fit: cover;
}

#products-lineup ul li a .text {
    flex: 0 1 calc(100% - 90.5px);
}

#products-lineup ul li a p {
    color: var(--color-mainFonts);
    margin: 0;
    font-weight: 600;
    font-size: clamp(12px, 1.1vw, 16px);
    font-size: 16px;
}

#products-lineup ul li a p span {
    color: var(--color-gray);
    display: block;
    font-size: clamp(10px, 1vw, 14px);
    font-size: 14px;
    font-weight: 400;
}

/*************************************************************

商品一覧
RECENTLY VIEWED PRODUCTS 最近チェックした商品
#recently-viewed-products

*************************************************************/
#recently-viewed-products {
    padding: 60px 0;
    background: var(--color-liteGray);
    margin-bottom: 60px;
}

#recently-viewed-products .product_item_inc_price {
    font-size: clamp(14px, 1.4vw, 20px);
    font-weight: 600;
}

#recently-viewed-products .slick-slider .prev-bt,
#recently-viewed-products .slick-slider .next-bt {
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    transform: translate(0, calc(-50% + -80px));
    z-index: 100;
    cursor: pointer;
}

#recently-viewed-products .slick-slider .prev-bt {
    left: -5px;
}
#recently-viewed-products .slick-slider .next-bt {
    right: -5px;
}

#recently-viewed-products .slick-slider .prev-bt::before,
#recently-viewed-products .slick-slider .next-bt::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    border-top: solid 3px var(--color-black);
}

#recently-viewed-products .slick-slider .prev-bt::before {
    border-left: solid 3px var(--color-black);
    transform: translate(-50%, -50%) rotate(-45deg);
}
#recently-viewed-products .slick-slider .next-bt::before {
    border-right: solid 3px var(--color-black);
    transform: translate(-50%, -50%) rotate(45deg);
}

@media screen and (max-width:1024px){
    body:has(.ec-layoutRole__left.is-open) .ec-overlayRole{
        display: block;
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
        visibility: visible;
        z-index: 9998;
    }
    #page_product_list .ec-layoutRole .ec-layoutRole__left{
        display: block;
        position: fixed;
        top: 0;
        right: -120%;
        transition: 0.5s;
        z-index: 9;
    }
    #page_product_list .ec-layoutRole .ec-layoutRole__left.is-open {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 90%;
        height: 100%;
        overflow-y: auto;
        background: var(--color-liteGray);
        z-index: 9999;
    }

    .ec-layoutRole__left #side-search h2 {
        margin-top: 0;
        margin-left: 0;
    }

    .ec-layoutRole__left.is-open .close-bt {
        width: 20px;
        height: 20px;
        position: fixed;
        right: 25px;
        top: 25px;
    }

    .ec-layoutRole__left.is-open .close-bt span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-black);
        position: absolute;
        top: 50%;
        left: 50%;
    }

    .ec-layoutRole__left.is-open .close-bt span:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .ec-layoutRole__left.is-open .close-bt span:nth-child(2) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
}

.soldout{
    background: var(--color-gray);
    color: var(--color-white);
    padding: 3px 3px 0 3px;
    font-size: 12px;
    margin-bottom: 5px;
    display: inline-block;
    border-radius: 3px;
}