
@media screen and (min-width:768px){
/* PC */
  .main_contanier{
    margin: 7vw 0 0 0;
  }

}

@media screen and (max-width:767px) {
/* スマホ */

  .smart_top_text_wrap{
    display: none;
  }
  .main_contanier{
    margin: 31vw 0 0 0;
  }


}

.item-icon {
    position: absolute;
    top: -10px;
    font-size: 12px;
    right: -8px;
    color: #fff;
    padding: 0 3px;
    z-index: 1;
}
#lazy{
  background: transparent url('https://gigaplus.makeshop.jp/harenohiroba/img/site/image/loading.gif');
  display: block;
  margin: 10px auto;
  border: 0;
  background-size:100%;
  background-repeat:no-repeat;
  background-position: center;
}

.item-icon p {
    padding: 0 3px;
}

.item-icon .item-soldout {
    background: #B5B5B5;
}

.item-icon .item-sale {
    background: #F23E0C;
    color: white;
}

.item-category {
    margin-bottom: 8px;
    font-size: 18px;
}

.item-name{
    font-size: 15px;
}

.item-list-image img {
    width: 100%;
}
.main-section{
    max-width:1040px;
    width:76%;
    margin-left:auto;
    margin-right:auto;
}
.item-list{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 2em;
    list-style:none;

}
.item-list li{
    position:relative;
}
.pager-wrap{
    margin : 2em 0;
    display: flex;
    justify-content: space-between;
}
/*
.pager {
display: fle;
list-style: none;
grid-template-columns: auto auto auto auto auto auto auto;
grid-gap: 1%;
font-size: 1.5em;
width: 30%;
}*/

.pager {
    display: inline-block;
    list-style: none;
    font-size: 1.5em;
}

.pager li {
    display:inline-block;
    text-align: center;
    width: auto;
}
.pager li span{
    padding: 5px 10px;
    padding-bottom: 2px;

}

.current{
    background-color: gray;

}

.total-count{
    font-size:1.5em;
    text-align: center;
    padding: 5px;
    color:#c69ea6;
}
.category-title{
    display: block;
    margin: 2em;
}
.list-head-sort{
    display: flex;
    justify-content: space-around;
    width: 55%;
    font-size: 1.4em;
    border: 1px solid;
    align-items: center;
    margin-top:1em;
}

.list-head-sort dd>a:active,
.list-head-sort dd>a:focus,
.list-head-sort dd>a:hover{
    color: grey;
}

.list-head-sort .is-active{
    background-color: #c69ea6;
    padding:1% ;
}
.is-active a{
    color:white;
}
.list-head-sort dd{
    padding:1%;
}
.list-head-sort dd:first-of-type {
    border-left:1px solid ;
}
.category-title h2{
    font-size:2em;
    text-align:center;
}
.category-title h2 span{
    font-size:3em;
    text-align:center;
}

.empty{
    text-align: center;
    font-size: 2em;
}

.item-list .price{
       color:#000000;
       font-size: 16px;
}

.item-list .item-sale-price{
       color:#c69ea6;
       font-size: 18px;
}

.item-list .item-sale-price{
       color:#c69ea6;
       font-size: 18px;
}

.sale-discount-rate{
    color:red;
}
.tax{
    font-size:0.8em;
}
.cart-count{
    width:17px;
    top:-6px;
}
@media screen and (min-width:1370px){
    .pager,
    .total-count{
        font-size:1.2rem;
    }
    .empty{
        text-align: center;
        font-size: 1.7rem;
    }
    .list-head-sort{
        font-size:1.2rem
    }
    .category-title h2{
        font-size:1.5rem
    }
    .category-title h2 span{
        font-size:2.5rem
    }

}

@media screen and (max-width: 768px){
    .cart-count{
        width: 14px;
        top: 1px;
        font-size: 12px;
    }
    .item-soldout{
    	font-size:1em;
    }
    .list-head-sort{
        display: flex;
        justify-content: space-around;
        width: 96%;
        font-size: 0.8em;
        margin: 2em 1em;
        border: 1px solid;
        align-items: center;
    }

    .list-head-sort dd{
        padding:1%;
    }


    .category-title h2{
        font-size:1.2em;
    }
    .category-title h2 span{
        font-size:2.0em;
    }

    .total-count,.pager{
        font-size:4em;
    }
    .item-list{
        grid-template-columns: 1fr 1fr;
        grid-gap:6em;

    }
    .main-section{
        width:96%;
    }
    .category-title{
        display: block;
        /* margin: 7.5em 0 0 0; */
        font-size: 4em;
        text-align: center;
    }

    .item-list .price{
           color:#000000;
           font-size: 16px;
    }

    .item-list .item-sale-price{
           color:#c69ea6;
           font-size: 18px;
    }

    .total-count {
        text-align: left;
        color: #c69ea6;
        padding: 5px;
        color:#c69ea6
    }

    .pager {
        display: flex;
        list-style: none;
        text-align: right;
        align-items: center;
        justify-content: flex-end;
    }
    .pager-wrap{
        display:block;
    }
    .empty{
        text-align: center;
        font-size: 4em;
    }
}
@media screen and (max-width:350px){
    .cart-count {
        width: 11px;
        top: 0px;
        font-size: 11px;
    }
}
