/*************************************************************

基本レイアウト

*************************************************************/
.ec-searchnavRole.sec{
    margin-bottom: 0;
}

.ec-layoutRole .list_layout{
    display: flex;
    flex-wrap: nowrap;
    flex-grow: 1;
    margin-right: auto;
    margin-left: auto;
    justify-content: space-between;
}

.ec-layoutRole .list_layout .list_side {
    width: 18%;
}

.ec-layoutRole .list_layout .list_main {
    width: 80%;
}

@media screen and (max-width:1300px){
    #page_product_list .ec-layoutRole__contents .sec>.inner{
        padding: 0;
    }
}

@media screen and (max-width:1024px) {
    .ec-layoutRole .list_layout .list_main {
        width: 100%;
    }
}

.ec-layoutRole .ec-layoutRole__contents {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width:1300px) {
    .ec-layoutRole .ec-layoutRole__contents {
        padding: 15px;
    }
}

@media screen and (max-width:599px) {
    .ec-layoutRole .ec-layoutRole__contents {
        padding: 10px;
    }
}

.ec-searchnavRole,
.ec-shelfRole {
    padding: 0;
}
.ec-shelfRole{
    margin-bottom: 0;
}

/*-----
タブレット以下はサイドバー非表示
-----*/

@media screen and (max-width:1024px) {
    .ec-layoutRole .list_layout{
        flex-direction: column-reverse;
    }
    .ec-layoutRole .list_layout .list_side {
        width: 100%;
    }
    .ec-layoutRole .spCategory a{
        border-radius: 5px;
        padding: 10px 30px 10px 10px;
        background: #6B7783;
        color: #fff;
        margin: 10px 0;
        position: relative;
        width: 100%;
    }
    .ec-layoutRole .spCategory a::before{
        content: "";
        border-top: solid 2px #fff;
        border-right: solid 2px #fff;
        position: absolute;
        top: 48%;
        right: 15px;
        width: 10px;
        height: 10px;
        transform: translate(0, -50%) rotate(135deg);
    }
}


/*************************************************************

サイドカテゴリリスト

*************************************************************/
.ec-layoutRole .list_layout .list_side {
    font-size: 14px;
    margin-top: 70px;
}

.ec-layoutRole .list_layout .list_side h3 {
    margin-bottom: 10px;
    padding: 10px;
    background: #eee;
    font-size: 14px;
}

.ec-layoutRole .list_layout .list_side ul>li {
    margin-bottom: 5px;
}
.ec-layoutRole .list_layout .list_side ul>li>ul{
    display: none;
}

.ec-layoutRole .list_layout .list_side ul>li a {
    display: block;
    position: relative;
    padding-left: 1.5em;
}

.ec-layoutRole .list_layout .list_side ul>li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-top: solid 2px #333;
    border-right: solid 2px #333;
    transform: translate(0, 0) rotate(45deg);
}


#narrow_down_button {
    background: var(--DenkichiRed);
    padding: 15px 10px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    font-weight: 700;
    height: 56px;
    position: absolute;
    width: calc(18% - 5px);
    max-width: 234px;
}

#narrow_down_button img {
    margin-right: 5px;
}

.ec-layoutRole .list_layout .list_side .side-menu.sideCategoryList>div:not(:last-of-type){
    margin-bottom: 50px;
}

@media screen and (max-width:1024px){
    #narrow_down_button{
        position: fixed;
        z-index: 99;
        right: 0;
        bottom: 70px;
        width: 150px;
        border-radius: 50px 0 0 50px;
        border: solid 2px #fff;
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }
    #narrow_down_button.visible{
        opacity: 1;
        pointer-events: auto;
        transition: 0.3s;
    }
}


/*************************************************************

絞り込み検索

*************************************************************/
body.noscroll {
    overflow: hidden;
}

.modal-menu-wrap.is_close {
    display: none;
}
.narrow-down-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.3s;
}
.narrow-down-modal.active{
    opacity: 1;
    transition: 0.3s;
    z-index: 99999;
}
.narrow-down-modal .narrow-down-modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
}
.narrow-down-modal .narrow-down-modal-wrap {
    position: relative;
    border-radius: 2px;
    width: 80%;
    max-width: 1024px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}
.narrow-down-modal .narrow-down-modal-close {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 20px;
    height: 30px;
    width: 20px;
}
.narrow-down-modal .narrow-down-modal-wrap .inner{
    overflow-y: auto;
    overflow-x: hidden;
    height: 50vh;
}
.ec-layoutRole .narrow-down-modal .narrow-down-modal-wrap h3{
    background: transparent;
    padding: 0;
    text-align: center;
    border-bottom: solid 1px #ccc;
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-weight: 700;
    font-size: 18px;
}
.narrow-down-modal .modal-menu-title{
    position: relative;
    padding-left: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
}
.narrow-down-modal .modal-menu-title::before{
    content: "";
    width: 15px;
    height: 15px;
    background: url(/html/user_data/assets/img/common/ICO_h2.svg) no-repeat left top;
    position: absolute;
    background-size: contain;
    left: 0;
    top: 2px;
}
.narrow-down-modal .narrow-down-modal-box .inner>div{
    border-bottom: dotted 2px #ccc;
    padding: 10px;
}
.narrow-down-modal .narrow-down-modal-box .inner>div:last-of-type{
    border-bottom: none;
}

.narrow-down-modal .modal-menu-wrap{
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width:767px){
    .narrow-down-modal .narrow-down-modal-wrap{
        width: 90%;
    }
}

/* フリーワード */
.modal-menu-free-word .modal-menu-wrap{
    flex-direction: column;
}

.narrow-down-modal [type=search]{
    -webkit-appearance: textfield;
    outline-offset: -2px;
    padding: 5px 10px;
    border: solid 1px #ccc;
    border-radius: 50px;
    position: relative;
    width: 50%;
    margin-bottom: 10px;
    color: #666;
}

.narrow-down-modal .notes{
    display: block;
    padding-left: 1.5em;
    position: relative;
    font-size: 14px;
    color: #666;
}
.narrow-down-modal .notes::before{
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
}

@media screen and (max-width:767px){
    .narrow-down-modal [type=search]{
        width: 100%;
    }
}
/* 価格 */
.narrow-down-modal .narrow-down-modal-box .inner .modal-menu-maker{
    padding-bottom: 0;
}
.narrow-down-modal .narrow-down-modal-box .inner .modal-menu-maker input[type="number"]{
    margin-bottom: 10px;
}

/* タグ */
.narrow-down-modal .modal-menu-wrap li{
    flex: 0 1 calc(100% / 6 - 10px);
    margin-right: 10px;
}
.narrow-down-modal .modal-menu-wrap  li label{
    padding: 5px;
    text-align: center;
    display: block;
    width: 100%;
    background: #ddd;
    color: #aaa;
    border-radius: 5px;
    font-size: 14px;
}
.narrow-down-modal .modal-menu-wrap  li input[type="checkbox"]{
    display: none;
}

.narrow-down-modal .modal-menu-wrap  li input[type="checkbox"]:checked + label{
    background: var(--DenkichiRed);
    color: #fff;
}
@media screen and (max-width:1024px){
    .narrow-down-modal .modal-menu-wrap li{
        flex: 0 1 calc(100% / 3 - 10px);
    }
}
@media screen and (max-width:767px){
    .narrow-down-modal .modal-menu-wrap li{
        flex: 0 1 calc(100% / 2 - 10px);
    }
}

/* 絞り込みボタン */
#price_search_button{
    background: var(--DenkichiRed);
    text-align: center;
    padding: 20px;
    color: #fff;
    font-weight: 700;
    width: 100%;
    max-width: 240px;
    border-radius: 5px;
    margin: 10px auto;
    display: block;
}

/* 
    メーカー画像
*/
li:has(.makerImg){
    display: flex;
    align-items: center;
    margin: 10px 0;
}
.makerImg{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
}

.makerImg img {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    max-width: 100px;
}

/*************************************************************

メインエリア

*************************************************************/

.ec-searchnavRole__counter .ec-font-bold{
    color: var(--DenkichiRed);
}

/*----------------------------
絞り込み件検索ボタン（SP）
----------------------------*/
.shiborikomiBT.spOnly .BT {
    background: var(--DenkichiRed);
    padding: 15px 10px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px 0 0 50px;
    font-weight: 700;
    max-width: 240px;
    position: fixed;
    right: 0;
    bottom: 70px;
    z-index: 20;
    border: solid 2px #fff;
}

.shiborikomiBT.spOnly .BT img {
    margin-right: 5px;
}


/*----------------------------
カテゴリーヘッダー
----------------------------*/
.categoryHeader.sec{
    margin-bottom: 0;
}

.categoryHeader .inner>section {
    margin-bottom: 30px;
}

/* カテゴリヘッダー　絞り込み */
.categoryHeader .serchManufacture ul input{
    display: none;
}
.categoryHeader .serchManufacture ul label{
    background: #FAF0F1;
    color: #840610;
    padding: 5px 10px;
    border: 1px solid #faf0f1;
    transition: 0.3s;
    border-radius: 5px;
}
.categoryHeader .serchManufacture ul label:hover{
    border: 1px solid var(--DenkichiRed);
}
.categoryHeader .serchManufacture ul input:checked + label {
    background: var(--DenkichiRed);
    color: #fff;
    border-radius: 5px;
}

/*-----
.description
-----*/
.categoryHeader .description .catImage {
    margin-bottom: 10px;
}

.categoryHeader .description .catImage img {
    width: 100%;
    max-width: none;
}

.categoryHeader .description .catTitle {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.categoryHeader .description .introText {
    margin-bottom: 10px;
}
.categoryHeader .description .introText p{
    margin: 10px 0;
}
.categoryHeader .description .introText a {
    border: 1px solid #d5d5d5;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 10px 0;
}

/*-----
.serchCategory
-----*/
.categoryHeader .serchCategory ul {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-bottom: -10px;
    overflow: hidden;
}

.categoryHeader .serchCategory ul>li {
    flex: 0 1 auto;
    margin-right: 10px;
    margin-bottom: 10px;
}

.categoryHeader .serchCategory ul>li a {
    background: #FAF0F1;
    color: #840610;
    padding: 5px 10px;
}


/*-----
.serchManufacture
-----*/
.categoryHeader .serchManufacture ul {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-bottom: -10px;
    overflow: hidden;
}

.categoryHeader .serchManufacture ul>li {
    flex: 0 1 auto;
    margin-right: 10px;
    margin-bottom: 10px;
}

.categoryHeader .serchManufacture ul>li a {
    background: #FAF0F1;
    color: #840610;
    padding: 5px 10px;
}



/*----------------------------
〇〇件の商品がみつかりました
----------------------------*/
.ec-searchnavRole .ec-searchnavRole__infos {
    margin-top: 20px;
    border-top: none;
    padding: 10px;
    background: #eee;
    align-items: center;
}

.ec-searchnavRole .ec-searchnavRole__infos .ec-select {
    margin-bottom: 0;
}

.ec-shelfGrid .ec-shelfGrid__item .detail_box{
    border-bottom: dotted 2px #ccc;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
}

.ec-shelfGrid .ec-shelfGrid__item .detail_box a{
    max-width: 100%;
}


/*************************************************************

メインエリア
商品リスト

*************************************************************/

/*----------------------------
価格
----------------------------*/
.itemList .price {
    margin-bottom: 10px;
}

.itemList .price .price02-default {
    color: var(--DenkichiRed);
    font-size: 18px;
    font-weight: 700;
}

.itemList .price .point {
    color: var(--DenkichiRed);
    margin-bottom: 0;
}

/*----------------------------
商品名
----------------------------*/
.itemList .name {
    max-width: 100%;
    margin-bottom: 10px;
    height: 4.2em;
}

.itemList .name p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}
.itemList .tagList ul{
    height: 35px;
}

@media screen and (max-width:767px){
    .itemList .price .price_box{
        display: block;
    }
    .itemList .name{
        height: auto;
    }
    .itemList .tagList ul{
        height: auto;
    }
}

/*----------------------------
レビュー＋お気に入り
----------------------------*/
.itemList .review_and_favorite {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    width: 100%;
    gap: 10px;
}

.itemList .review_and_favorite .review {
    color: #FF7C2B;
}

@media screen and (max-width:1024px){
    .ec-shelfGrid .ec-shelfGrid__item{
        width: 100%;
        flex-direction: row;
        gap: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }
    .ec-shelfGrid .ec-shelfGrid__item .detail_box{
        border-bottom: 0;
    }
    .ec-shelfGrid .image{
        width: 40%;
    }
    .ec-shelfGrid .detail_box{
        width: 60%;
    }
    .itemList .price .beforeDiscount{
        margin-bottom: 0;
    }
}

/*************************************************************

ページャー

*************************************************************/
.ec-pager .ec-pager__item--active {
    background: var(--DenkichiHeaderColor);
    color: #fff;
}




/*************************************************************

ランキング

*************************************************************/
.ec-layoutRole__mainBottom {
    margin-top: 75px;
}

.list_ranking {
    margin-bottom: 30px;
}

.list_ranking .productsListRayout li .pic {
    position: relative;
}

.list_ranking .productsListRayout li .pic::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 26px;
}

@media screen and (min-width:768px){
    .list_ranking .productsListRayout .slick-slide:first-of-type .pic::before {
        background: url(/html/user_data/assets/img/common/ICO_rank1st.svg) no-repeat left top;
        background-size: contain;
    }
    
    .list_ranking .productsListRayout .slick-slide:nth-of-type(2) .pic::before {
        background: url(/html/user_data/assets/img/common/ICO_rank2nd.svg) no-repeat left top;
        background-size: contain;
    }
    
    .list_ranking .productsListRayout .slick-slide:nth-of-type(3) .pic::before {
        background: url(/html/user_data/assets/img/common/ICO_rank3rd.svg) no-repeat left top;
        background-size: contain;
    }
}
@media screen and (max-width:767px){
    .list_ranking .productsListRayout .slick-slide:first-of-type div:first-of-type .pic::before {
        background: url(/html/user_data/assets/img/common/ICO_rank1st.svg) no-repeat left top;
        background-size: contain;
    }
    
    .list_ranking .productsListRayout .slick-slide:first-of-type div:nth-of-type(2) .pic::before {
        background: url(/html/user_data/assets/img/common/ICO_rank2nd.svg) no-repeat left top;
        background-size: contain;
    }
    
    .list_ranking .productsListRayout .slick-slide:nth-of-type(2) div:first-of-type .pic::before {
        background: url(/html/user_data/assets/img/common/ICO_rank3rd.svg) no-repeat left top;
        background-size: contain;
    }
}
