/* 合わせ買い用CSS */
@charset "utf-8";
.bulkDiscount h1{
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    margin: 20px 0;
}
.bulkDiscount h3{
    margin-bottom: 20px;
}
.ec-shelfGrid .ec-shelfGrid__item{
    width: 20%;
    padding: 0 16px;
}
.ec-shelfGrid .ec-shelfGrid__item:last-of-type{
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.border_bottom{
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#product{
    margin: 20px 0;
}

/* ----------
価格
-------------*/

.itemList .price .beforeDiscount {
    font-size: 14px;
    margin-bottom: 5px;
}

.itemList .price .beforeDiscount span {
    color: #8C8C8C;
    text-decoration: line-through;
}

.itemList .price.price02-default {
    color: var(--DenkichiRed);
    font-size: 18px;
    font-weight: 700;
}
.itemList .ec-productRole__priceRegularPrice{
    display: block;
    text-align: left;
}

.itemList .point{
    color: var(--DenkichiRed);
    margin-bottom: 0;
}

/* ----------
商品名
-------------*/
.itemList .name {
    max-width: 100%;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* 表示する行数を指定 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}
.itemList .name p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}
.description{
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* 表示する行数を指定 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}
.itemList .detail_box>a{
    max-width: 100%;
}

/* ----------
タグ
-------------*/
.tagList{
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.tagList ul{
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-bottom: -5px;
    overflow: hidden;
}
.tagList ul>li{
    flex: 0 1 auto;
    margin-right: 5px;
    margin-bottom: 5px;
}
.tagList ul>li a{
    background: #FAF0F1;
    color: #840610;
    padding: 5px 10px;
    font-size: 14px;
}

/* ----------
レビュー
-------------*/
.review_and_favorite{
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    width: 100%;
    gap: 10px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
}
.review_and_favorite .review{
    color: #FF7C2B;
}
/* ----------
注意書き
-------------*/
#notes{
    margin-top: 30px;
}
#notes h3{
    border-radius: 3px 3px 0 0;
    background: #2A3137;
    border: 1px solid #2A3137;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 0;
    font-size: 18px;
}
#notes p{
    border: 1px solid #2A3137;
    padding: 20px;
    border-radius: 0 0 3px 3px;
    line-break: anywhere;
}
/* ----------
メーカー
-------------*/
.col-md-3:has(.makerImg){
    margin-bottom: 10px;
}
.makerImg{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
    text-decoration: none;
}

.makerImg img {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    max-width: 100px;
}

@media screen and (max-width:1024px){
    .bulkDiscount h1{
        font-size: 18px;
    }
   
    .ec-shelfGrid .ec-shelfGrid__item{
        width: 100%;
        flex-direction: row;
        gap: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }
    .ec-shelfGrid .image{
        width: 30%;
    }
    .ec-shelfGrid .detail_box{
        width: 70%;
        display: block;
        flex: none;
    }
    .ec-shelfGrid .detail_box a{
        display: block;
    }
    .ec-shelfGrid .detail_box a .price{
        margin-bottom: 10px;
        display: block;
    }
    .ec-shelfGrid .detail_box .name{
        margin-bottom: 10px;
    }
    .description, .name{
        -webkit-line-clamp: inherit;
        -webkit-box-orient: inherit;
        display: block;
        min-height: auto;
        overflow: auto;
    }
    .price .beforeDiscount{
        margin-bottom: 0;
    }
    .modal-dialog .modal-content{
        flex: 0 1 100%;
        margin: 0 0 10px 0;
    }
    .ec-blockMenuTopBtn{
        bottom: 70px;
    }
    .review_and_favorite{
        border-bottom: none;
        padding-bottom: 0;
    }
}
