.ec-layoutRole__main .ec-pageHeader h1{
    border-top: none;
}
.ec-cartRow {
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
}
.ec-cartTable{
    padding: 5px;
    border:1px solid #666666 ;
}
.ec-cartRow .ec-cartRow__delColumn{
    width: 100px;
    display: block;
    border: none;
    order: 2;
}
.ec-progress{
    max-width: 100%;
}
.ec-progress .ec-progress__item{
    z-index: 1;
}
.ec-progress .ec-progress__number{
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #D2D2D2;
}
.ec-progress .ec-progress__item:after{
    background: #D2D2D2;
}
.ec-progress .ec-progress__label{
    color: #D2D2D2;
}
@media only screen and (min-width: 768px) {
    .ec-progress .ec-progress__number{
        width: 65px;
        height: 65px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
    .ec-progress .ec-progress__item:after{
        top: 2.25em;
    }
}
.ec-cartRole{
    padding-top: 30px;
}
.ec-cartHeader .ec-cartHeader__label{
    padding: 16px 6px;
    background: #525263;
    color: #fff;
    font-weight: normal;
    white-space: nowrap;
}

.ec-blockBtn--cancel,
.ec-blockBtn--action{
    max-width: 350px;
    height: 40px;
    margin: 0 auto 30px auto;
    font-size: 16px;
    font-weight: 300;
    line-height:40px;
}
.ec-cartRole .ec-blockBtn--action{
    margin-bottom: 50px;
}
.ec-totalBox .ec-totalBox__btn .ec-blockBtn--action{
    margin: 0 auto 10px auto;
}
.ec-cartRole__actions .ec-blockBtn--cancel{
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}
.ec-cartRow__delColumn a{
    color: #3D3D3D;
    font-size: 9px;
    white-space: nowrap;
}
.ec-cartRow__name a{
    color: #1A0DAB;
    font-weight: 300;
}
.ec-cartRow .ec-cartRow__img{
    width: 100px;
    padding-left: 10px;
}
.ec-cartRow__img img{
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.ec-cartRow .ec-cartRow__summary{
    width: auto;
}
.ec-cartRow__priceTax.delivery_type span{
    padding: 2px 6px;
    border-radius: 5px;
    color: #212121;
}
.ec-cartRow__priceTax.delivery_type .express{
    background:#3EB370 ;
    color: #fff;
}
.ec-cartRow__priceTax.delivery_type .mail{
    background:#FFDC00 ;
    color: #000000;
}
.ec-cartRow__priceTax.sp{
    font-weight: 300;
    font-size: 11px;
    white-space: nowrap;
    display:inline-block ;
}
.ec-productRole__code{
    font-size: 16px;
    font-weight: 300;
}
.ec-cartRow__sutbtotal{
    color: #de5d50;
}
.ec-cartRole .ec-cartRole__actions{
    width: 100%;
}
.ec-cartRole__btn{
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}
@media only screen and (min-width: 768px) {
    .ec-cartTable{
        border: none;
    }
    .ec-cartRow {
        display: table-row;
        justify-content: center;
    }
    .ec-cartRow__img img{
        width: 100px;
        height: 100px;
        object-fit: contain;
    }
    .ec-cartRow .ec-cartRow__delColumn{
        width:auto;
        display: table-cell;
    }
    .ec-cartRow__delColumn a{
        font-size: 14px;
    }
    .ec-cartRole .ec-cartRole__progress{
        padding:0;
    }
    .ec-cartRow__priceTax.delivery_type{
        margin: 0 2px;
    }
    .ec-cartRow__priceTax.delivery_type.sp{
        display: none;
    }
    .ec-blockBtn--cancel,
    .ec-blockBtn--action{
        width: 350px;
        font-size: 24px;
        height: 60px;
        line-height: 60px;
    }
    .ec-cartHeader .ec-cartHeader__label:nth-child(1){
        width: 5%;
    }
    .ec-cartHeader .ec-cartHeader__label:nth-child(2){
        width: 45%;
    }
    .ec-cartHeader .ec-cartHeader__label:nth-child(3){
        width: 10%;
    }
    .ec-cartHeader .ec-cartHeader__label:nth-child(4){
        width: 5%;
    }
    .ec-cartHeader .ec-cartHeader__label:nth-child(5){
        width: 10%;
    }
    .ec-cartHeader .ec-cartHeader__label:nth-child(6){
        width: 12.5%;
    }
    .ec-cartHeader .ec-cartHeader__label:nth-child(7){
        width: 12.5%;
    }
    .ec-cartRow__priceTax.delivery_type span{
        display: block;
    }
    .ec-cartRow__priceTax.delivery_type span:first-child{
        padding-bottom: ;
    }
}
/*カートの商品*/
.ec-cartRole .ec-cartRole__total{
    padding: 4px 0 30px;
    font-weight: 300;
}
.ec-cartRole .ec-cartRole__totalText{
    margin-bottom: 16px;
    text-align: left;
}
.ec-cartRole .ec-cartRole__img{
    margin: 0 auto 0 auto;
    align-items: center;
    display: flex;
}
.ec-cartRole .ec-cartRole__img img{
    width: 115px;
    height: 115px;
}
.ec-cartRole .ec-cartRole__img p{
    font-size: 13px;
}
.ec-cartRole .ec-cartRole__Text{
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    padding: 16px 16px 0 26px;
    background: #f6f6f6;
}
.ec-cartRole .ec-cartRole__Text p{
    text-align: left;
    padding-left: 1em;
    margin-bottom: 16px;
    font-size: 14px;
    text-indent: -9px;
}
.ec-cartRow__unitPrice{
    font-weight: 300;
    font-size: 11px;
}
.ec-cartRow .ec-cartRow__summary .ec-cartRow__name{
    font-size: 12px;
    font-weight: 300;
}
.ec-cartRow .ec-cartRow__contentColumn{
    border: none;
}
.ec-cartRow .ec-cartRow__contentColumn.content_item{
    width: 100%;
}
.ec-cartRow .ec-cartRow__subtotalColumn{
    width: auto;
    margin-left: auto;
    padding-right: 10px;
    display: block;
    border: none;
    order: 3;
}
.ec-cartRow .ec-cartRow__subtotalColumn .sp{
    font-size: 9px;
}
.ec-cartRow .ec-cartRow__amountColumn{
    border: none;
    order: 2;
}
.ec-cartRow__delColumn{
    border-left: 1px solid #ccc;
}
.ec-cartRow .ec-cartRow__delColumn .ec-icon img{
    width: 18px;
    height: 18px;
    margin: 0 auto;
}
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpDown{
    display: flex;
    flex-direction: row-reverse;
}
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amount{
    width: 60px;
    height: 32px;
    margin: 0;
    align-items: center;
    border-top:1px solid  #D2D2D2;
    border-bottom:1px solid  #D2D2D2;
    display: flex;
    font-size: 14px;
    justify-content: center;
    order: 1;
}
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled,
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButton{
    max-width: 15px;
    min-width: 15px;
    width: 15px;
    height: auto;
    margin: 0;
    order: 1;
    background: #F5F7F8;
    border: 1px solid #D2D2D2;
    border-radius: 5px 0 0 5px;
}
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpButton{
    max-width: 15px;
    min-width: 15px;
    width: 15px;
    height: auto;
    margin: 0;
    background: #F5F7F8;
    border: 1px solid #D2D2D2;
    border-radius: 0 5px 5px 0;
}
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButton .ec-cartRow__amountDownButton__icon img, 
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled .ec-cartRow__amountDownButton__icon img,
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpButton .ec-cartRow__amountUpButton__icon img{
    top: 50%;
    margin: 0;
    width: 7px;
    transform: translate(-50%, -50%);
}
.ec-cartRole__cart p{
    padding: 2px 16px;
    font-size: 20px;
    background: #525263;
    color: #fff;
}
@media only screen and (min-width: 768px) {
    .ec-cartRole__cart p{
        font-size: 24px;
        max-width: 1000px;
        padding: 2px 0;
        margin: 0 auto;
        background: none;
        color: #525263;
    }
    .ec-cartTable{
        max-width: 1000px;
        padding: 0;
        margin: 0 auto;
    }
    .ec-cartRole .ec-cartRole__actions{
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
    }
    .ec-cartHeader__label{
        border-right:1px solid  #707070;
    }
    .ec-cartHeader li.ec-cartHeader__label:last-child{
        border-right: none;
    }
    .ec-cartRow__amountColumn,
    .ec-cartRow .ec-cartRow__delColumn,
    .ec-cartRow .ec-cartRow__amountColumn,
    .ec-cartRow .ec-cartRow__contentColumn,
    .ec-cartRow .ec-cartRow__subtotalColumn{
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }
    .ec-cartRow .ec-cartRow__delColumn{
        border-left: 1px solid #ccc;
    }
    .ec-cartRow .ec-cartRow__contentColumn{
        border-bottom: 1px solid #ccc;
        padding: 10px 0;
        vertical-align: middle;
    }
    .ec-cartRow .ec-cartRow__contentColumn.content_item{
        width: auto;
    }
    .ec-cartRow__priceTax{
        text-align: center;
    }
    .ec-cartRow .ec-cartRow__subtotalColumn{
        padding: 0;
        display: table-cell;
        vertical-align: middle;
    }
    .ec-cartRole .ec-cartRole__totalText{
        margin-bottom: 16px;
        text-align: center;
    }
    .ec-cartRow .ec-cartRow__summary {
        display: inline-block;
        width: calc(100% - 130px);
        margin-left: 10px;
        vertical-align: middle;
    }
    .ec-cartRow .ec-cartRow__summary .ec-cartRow__name{
        font-size: 16px;
    }
    .ec-cartRow .ec-cartRow__delColumn .ec-icon img{
        width: 30px;
        height: 30px;
    }
    .ec-cartRole .ec-cartRole__cart{
        margin: 0 auto;
    }
    .ec-cartRole .ec-cartRole__img p{
        font-size: 16px;
    }
    .ec-cartRow__sutbtotal{
        padding: 0;
        text-align: center;
    }
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amount{
        height: 40px;
    }
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled,
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButton,
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpButton{
        max-width: 20px;
        min-width: 20px;
        width: 20px;
    }
    .ec-cartRole .ec-cartRole__Text{
        width: 1000px;
        margin: 0 auto;
    }
}
