/* 特集用CSS */
@charset "utf-8";

/*---------
 layout 
----------- */

.item-img, .desc{
    margin: 10px 0;
}

#undercolumn {
    margin: 0 auto;
    text-align: center;
    padding: 10px;
}

#undercolumn .menu {
    margin: 0 auto;
    text-align: center;
    width: 40%;
}
#undercolumn .menu a {
    color: #000;
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    background-color: #dcdcdc;
}
#undercolumn .products {
    margin-top: 30px;
}

#undercolumn .ec-shelfGrid .ec-shelfGrid__item{
    width: 20%;
}
.ec-shelfGrid .detail_box{
    display: flex;
    flex-direction: column;
    flex: 0 1 100%;
}
.ec-shelfGrid .detail_box a{
    flex: 0 1 100%;
    display: flex;
    flex-direction: column;
}
.ec-shelfGrid .detail_box a .price{
    flex: 0 1 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
.ec-shelfGrid .ec-shelfGrid__item .ec-productRole__btn{
    margin-bottom: 0;
}
/* --------
会員ランクバナー
-----------*/
.ec-layoutRole__mainTop{
    margin: 30px auto;
    max-width: calc(100% - 50px);
}
.ec-layoutRole__mainTop img{
    width: 100%;
}

@media screen and (max-width:1300px) {
    .ec-layoutRole__mainTop{
        padding: 0 15px;
    }
}

/* --------
画像
-----------*/
#undercolumn .main-image img{
    margin: 30px 0;
    width: 100%;
}
#undercolumn .free_img img {
    margin: 30px 0;
    width: 100%;
}
/*---------
 タイトル 
----------- */
#undercolumn .midashi_text{
}
#undercolumn .title{
    padding-left: 25px;
    padding-bottom: 10px;
    position: relative;
    border-bottom: solid 1px #8C8C8C;
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 30px;
}
#undercolumn .title::before{
    content: "";
    width: 20px;
    height: 20px;
    background: url(/html/user_data/assets/img/common/ICO_h2.svg) no-repeat left top;
    position: absolute;
    left: 0;
    top: 6px;
}
#undercolumn .free .free_title{
    font-weight: normal;
    padding: 0;
    border: none;
    font-size: inherit;
    text-align: left;
    margin: 10px 0;
}
#undercolumn .free .free_title::before{
    display: none;
}

#undercolumn .products h3{
    margin: 30px 0;
    text-align: left;
    border-bottom: 1px solid;
    padding-bottom: 10px;
    font-size: 20px;
}
/*---------
 フリーエリア 
----------- */
.free h1 {
    font-size: 36px;
    font-weight: 700;
}
.free h2 {
    font-size: 30px;
    padding-left: 0px;
    padding-bottom: 0px;
    position: unset;
    margin-bottom: 0px;
    border-bottom: none;
}
/*---------
 モーダル 
----------- */
#undercolumn .ec-blockMenuTopBtn {
    display: none;
    position: fixed;
    right: 0;
    bottom: 90px;
    cursor: pointer;
    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;
    width: calc(18% - 5px);
    z-index: 99;
    right: 0;
    width: 150px;
    border-radius: 50px 0 0 50px;
    border: solid 2px #fff;

}

#undercolumn .ec-productRole__btn button {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 30px;
    margin: auto;
    padding: 1rem 4rem;
    font-weight: bold;
    border: 0;
    color: #e7243f;
    transition: 0.5s;
    padding: 0px;
    background-color: #fff;
}

/* モーダルを開いたとき */
.modal-dialog.modal-lg{
    width: 80%;
    max-width: 1024px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
    top: 20%;
}

.modal-dialog .ec-icon img{
    max-width: 20px;
    max-height: 20px;
}

.modal-dialog .modal_title 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;
}
.modal-dialog .narrow-down-modal-close{
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 20px;
    height: 30px;
    width: 20px;
}
.modal-dialog .modal-content,
.navi{
    display: flex;
    flex-wrap: wrap;
    border: none;
    flex-direction: row;
}
.modal-dialog .menu_close,
.navi a{
    padding: 5px;
    text-align: center;
    display: block;
    width: calc(100% / 3 - 5px);
    border: 1px solid #ddd;
    color: #333;
    border-radius: 5px;
    font-size: 14px;
    margin: 0 5px 5px 0;
}
.modal-dialog .menu_close:nth-child(3n){
    margin-right: 0;
}
@media screen and (max-width:1024px){
    .modal-dialog .menu_close,
    .navi a{
        width: 100%;
        margin-right: 0;
    }
}

/* ----------
商品画像
-------------*/
#undercolumn .ec-shelfGrid__item-image{

}


/* ----------
価格
-------------*/
.itemList .price02-default span{
    color: inherit;
    font-size: inherit;
}
.itemList .price02-default .tax{
    font-size: inherit !important;
}

.itemList .price .beforeDiscount {
    font-size: 14px;
    margin-bottom: 5px;
}

.itemList .price .price02-default {
    color: var(--DenkichiRed);
    font-size: 18px;
    font-weight: 700;
}
.itemList .ec-productRole__priceRegularPrice{
    display: block;
    text-align: left;
    font-weight: normal;
}
.itemList .ec-productRole__priceRegularPrice span{
    font-weight: normal;
}

/* ----------
商品名
-------------*/
#undercolumn .name{
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* 表示する行数を指定 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}
#undercolumn .description{
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* 表示する行数を指定 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}

/* ----------
タグ
-------------*/
#undercolumn .tagList ul{
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-bottom: -5px;
    overflow: hidden;
}
#undercolumn .tagList ul>li{
    flex: 0 1 auto;
    margin-right: 5px;
    margin-bottom: 5px;
}
#undercolumn .tagList ul>li a{
    background: #FAF0F1;
    color: #840610;
    padding: 5px 10px;
    font-size: 14px;
}

/* ----------
レビュー
-------------*/

#undercolumn .review_and_favorite .review{
    color: #FF7C2B;
}

@media screen and (max-width:1024px){
    
    #undercolumn .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;
    }
    #undercolumn .description,#undercolumn .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;
    }
    #undercolumn .ec-blockMenuTopBtn{
        bottom: 70px;
    }
    #undercolumn .review_and_favorite{
        border-bottom: none;
        padding-bottom: 0;
    }
}
