.clearFix{
    display: flex;
    flex-wrap: wrap;
    gap: 40px 15px;
}

.glbPlist.column5{
    display: contents;
}

.glbPlist.column5 ul{
    width: calc(20% - 15px * 4 / 5);
    border: 0;
    height: auto!important;
    position: relative;
    padding-bottom: 45px;
}

.glbPlist ul{
    padding: 0;
}

.glbPlist.column5 ul li.thumb img{
    width: 100%;
    border: 1px solid #D9D9D9;
}

.glbPlist ul li.thumb{
    margin-bottom: 10px;
}

.glbPlist ul li.name{
font-weight: 700;
font-size: 14px;
line-height: 24px;
letter-spacing: normal;
margin-bottom: 10px;
}

.glbPlist ul li.price{
    border: 0;
    padding: 0;
}

.listProduct li.price.align-left p{
font-weight: 500;
font-size: 15px;
line-height: 100%;
letter-spacing: normal;
margin-bottom: 0;
}

.listProduct li.price.align-left p{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quantity-selector{
   display: flex;
   align-items: center;
   gap: 8px;
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
}

.quantity-selector button{
    display: inline-block;
    background: transparent;
    border: 0;
    /* width: 15px; */
    cursor: pointer;
}

.quantity-selector-input{
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    max-width: 60px;
    width: 100%;
    border: 1px solid #D9D9D9;
    padding: 5px;
}

.quantity-selector-input input{
    border: 0;
    max-width: calc(100% - 26px);
    font-weight: 500;
    text-align: center;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: normal;
    display: inline-block!important;
    /* justify-content: center; */
    text-align: center;
}

a.cart-link{
    display: inline-block;
    background: #FCC800;
    color: #fff!important;
    text-align: center;
font-weight: 700;
font-size: 11px;
line-height: 30px;
letter-spacing: normal;
width: 100%;
border-radius: 50px;
}




@media (max-width: 991px) {
    .glbPlist.column5 ul{
        width: calc(33.3333% - 15px * 2 / 3);
    }
}

@media (max-width: 768px) {
    .clearFix{
        gap: 20px 10px;
    }
    .glbPlist.column5 ul{
        width: calc(50% - 10px * 1 / 2);
    }
    .glbPlist ul li.thumb{
        margin-bottom: 15px;
    }
    .glbPlist ul li.name{
        font-size: 12px;
        line-height: 140%;
    }
    .quantity-selector-input{
        max-width: 50px;
    }

}


/* ソートボックス */
h2.sortBox__title{
font-weight: 400;
font-size: 14px;
line-height: 36px;
letter-spacing: normal;
padding-left: 17px;
display: flex;
align-items: center;
justify-content: space-between;
padding-right: 9px;
cursor: pointer;
}
.sortBox{
    max-width: 180px;
    width: 100%;
    border: 1px solid #C4C4C4;
    border-radius: 5px;
    position: relative;
}

.sort__content{
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(100%);
    z-index: 1;
    height: 0;
}

#sortBox{
    padding: 0;
    margin-bottom: 30px;
}

#sortBox ul{
    float: unset;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 5px;
}

#sortBox ul li{
    line-height: 30px;
}

#sortBox ul li a{
    background: #fff;
    height: 30px;
    font-weight: 400;
    font-size: 12px;
    padding-left: 15px;
}

#sortBox ul li.active{
    background: #003894;
    padding-left: 15px;
    height: 30px;
    line-height: 30px;
}

.next-page{
    position: relative;
    width: 15px;
    height: 15px;
}

.next-page::before{
    content: "";
        display: block;
        position: absolute;
        top: 75%;
        width: 6px;
        height: 6px;
        border-top: 2px solid #1b1b1b;
        border-right: 2px solid #1b1b1b;
        transform: rotate(45deg) translateY(-50%) translateX(-50%);
        transform-origin: top center;
        transition: 0.15s;
        left: 50%;
}

.prev-page{
    position: relative;
    width: 15px;
    height: 15px;
}

.prev-page::before{
    content: "";
        display: block;
        position: absolute;
        top: 55%;
        width: 6px;
        height: 6px;
        border-top: 2px solid #1b1b1b;
        border-right: 2px solid #1b1b1b;
        transform: rotate(-135deg) translateY(-50%) translateX(-50%);
        transform-origin: top center;
        transition: 0.15s;
        left: 50%;
}

#pagination.above .pager-nums{
    display: none;
}

.sort__content{
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    width: 100%;
}

.sortbox__options {
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    position: absolute;
    bottom: 0px;
    transform: translateY(100%);
}

.pager-sort {
    position: relative;
    cursor: pointer;
}

.pager-sort-container.above{
    margin: 0!important;
    background: #F2F2F2;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 30px!important;
}

.pager-sort-container.above:after{
display: none;
}

.pager-sort{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
    white-space: nowrap;
}

.pager-sort__count{
    background: #fff;
    border: 1px solid #D9D9D9;
    min-width: 70px;
    width: 100%;
    line-height: 30px;
    position: relative;
    padding-left: 10px;

}

.pager-sort__count::before{
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        width: 6px;
        height: 6px;
        border-top: 2px solid #003894;
        border-right: 2px solid #003894;
        transform: rotate(135deg) translateY(-50%);
        transform-origin: top center;
        transition: 0.15s;
        right: 10px;
}

.sortbox__options{
    background: #fff;
    width: 100%;
    z-index: 1;
}

.sortbox__options--item{
    line-height: 30px;
    padding-left: 15px;
}

#sortBox ul li a:hover{
    background: #fff;
    color: #1b1b1b;
}

li.sortbox__options--item.active{
    background: #003894;
    color: #fff;
}

li.sortbox__options--item a{
    display: block;
    color: #1b1b1b;
    overflow: auto;
}

li.sortbox__options--item.active a{
    color: #fff;
    overflow: auto;

}

div#pagination.pager-sort-container.below{
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 0;
}

div#pagination.pager-sort-container.below .pager-total{
    display: none;
}


div#pagination.pager-sort-container.below .pager-sort{
    display: none;
}

div#pagination.pager-sort-container.below .pager-nums{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

div#pagination.pager-sort-container.below .pager-nums__items{
    display: flex;
    align-items: center;
    gap: 10px;
}

div#pagination.pager-sort-container.below .pager-nums__items b{
    width: 30px;
    height: 30px;
    background: #FCC800;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

div#pagination.pager-sort-container.below .pager-nums__items a{
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tblLayout #searchModal  td:nth-of-type(1){
    display: block;
}

.search__box{
    border-bottom: 1px solid #F2F2F2;
    max-width: 95%;
    margin: 0 auto;
}

.search__box{
    padding-top: 15px;
    padding-bottom: 15px;
}

.search__box th{
font-weight: 400;
font-size: 16px;
line-height: 100%;
letter-spacing: normal;
width: 100px!important;
display: flex;
align-items: center;
padding: 0!important;
}

.modal-content{
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.search__box input{
    border: 1px solid #D9D9D9;
    outline: none;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
}


.sort-price{
    display: flex;
    align-items: center;
}

.dvProductAdvancedSearch .sort-price li{
    width: 70px;
    display: flex;
    align-items: end;
    gap: 5px;
}

.dvProductAdvancedSearch .sort-price li input{
    width: 100%;
    padding: 5px;
}

.dvProductAdvancedSearch .sort-price li:nth-of-type(2){
    text-align: center;
    display: flex;
    justify-content: center;
    width: 30px;
}

.dvProductAdvancedSearch .search__box td{
    width: calc(100% - 140px);
}

.dvProductAdvancedSearch .button{
    background: #FCC800;
    border: 0;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    max-width: 260px;
    line-height: 40px;
    padding: 0;
    margin: 0 auto;
}

.dvProductAdvancedSearch .button a{
    background: transparent!important;
    border: 0;
    line-height: 40px;
    text-shadow: none;
    padding: 0;
    display: block;
    width: 100%;

}

.module__btn{
    margin-top: 30px;
}

.dvProductAdvancedSearch table td ul.horizon{
    display: flex;
    gap: 10px;
}

.dvProductAdvancedSearch table td ul.horizon li{
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dvProductAdvancedSearch table td ul.horizon li.active{
    border-color: #FCC800;
    background: #F2F2F2;
}

.modal-header{
    gap: 20px;
    background: #003894;
    text-align: center;
    padding: 0 20px;
    position: relative;
}


.modal-title{
    color: #fff;
    font-size: 14px;
    line-height: 40px;
    width: 100%;
}

.close-modal{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    padding-bottom: 15px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    font-size: 24px;
    cursor: pointer;
}

.moduleBtn{
    background: #F2F2F2;
}

@media (max-width: 768px) {
    .pager-sort-container.above{
        height: 60px;
        padding: 0 15px;
        margin-bottom: 20px!important;
    }

    .pager-sort__title{
        font-size: 12px;
    }
    .sortBox{
        width: 150px;
    }

    h2.sortBox__title{
        line-height: 30px;
    }
    #sortBox{
        justify-content: center;
        margin-bottom: 20px;
    }
    .clearFix:after{
        display: none;
    }
    .modal-content{
        width: 93%;
    }

    .search__box{
        padding: 10px 0;
    }
    .modal-title{
        line-height: 30px;
    }

    .search__box input{
        padding: 2px 10px;
    }

    .search__box input::placeholder{
        font-size: 10px!important;
    }

    .sort-word{
        padding: 0!important;
    }

    .search__box th{
        width: 80px!important;
        font-size: 12px;
        min-width: 80px;
    }
    .search__box{
        gap: 0!important;
    }
    .dvProductAdvancedSearch .search__box td{
        width: calc(100% - 80px)!important;
        padding: 0;
    }
    .dvProductAdvancedSearch table td ul.horizon{
        flex-wrap: wrap;
    }
    .dvProductAdvancedSearch table td ul.horizon li{
        width: 75px;
        min-width: 75px;
        height: 30px;
        font-size: 10px;
        margin: 0;
    }
    .module__btn{
        margin-top: 15px;
    }
}

.glbPlist.column5 .icon{
    display: none;
}
.quantity-selector-input input::-webkit-inner-spin-button,
.quantity-selector-input input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance:textfield;
}

#sortBox{
    justify-content: end;
}

@media (max-width: 768px) {
    #sortBox{
        justify-content: center;
    }
}

.quantity-selector-input{
    display: none;
}

.glbPlist.column5:has(.soldout) .quantity-selector{
    display: none;
}

.c-category__title{
    text-align: center;
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: normal;
}

@media (max-width: 768px) {
    .c-category__title{
        font-size: 20px;
        margin-bottom: 20px;
    }
}


.item-slider__under__detail .slick-next {
    right: 0;
    width: 28px;
    height: 28px;
    z-index: 1;
    transform: translateX(8px);
  }
  
  .item-slider__under__detail .slick-next::before {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    background: url(/Contents/assets/img/arrow_gray_migi.png) no-repeat center center/contain;
    top: 0;
    left: 0;
  }
  
  .item-slider__under__detail .slick-prev {
    left: 0;
    width: 28px;
    height: 28px;
    z-index: 1;
    transform: translateX(-8px);
  }
  
  .item-slider__under__detail .slick-prev::before {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    background: url(/Contents/assets/img/arrow_gray.png) no-repeat center center/contain;
    top: 0;
    left: 0;
  }
  
  #tblLayout td:has(#category-ranking) .c-category__title{
    display: none;
  }