@charset "utf-8";

/* ブレイクポイントを指定 */

/* @mixin sp {
    @media (max-width:600px){
        @content;
    } 
}
@mixin tb {
    @media (max-width:850px) {
        @content;
    }
} */


/*  全体設定  */

* {  
    box-sizing: border-box;
}

.cart__infoA {
    margin: 0 auto;
}

.info__text {
    text-align: center;
    margin-bottom: 3rem;
}

.cartItem__container {
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

.cart__info {
    margin: 30px auto;
    text-align: center;
    font-size: 19px;
    font-weight: bold;
}

/* カート内リスト表 */

.cart__table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 2rem;
}

thead {
    background-color: #000;
    color: #fff;
}

thead th {
    padding: 0.2rem 0 0.2rem 1.5rem;
}

.cart__table th {
    text-align: center;
    font-weight: normal;
}

.cart__flex {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.flexItem {
    @media (max-width:1350px){
    display: flex;
    flex-direction: column;
}
}

.cart__itemB .spinner__box {
    @media (max-width:1350px){
    width: 120px;
    }
    @media (max-width:550px){
        width: 100px;
    }
}

.cart__itemA {
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    display: flex;
}

.cart__itemB {
   margin-top: 3.5rem;
   margin-left: 0.5rem;
   justify-content: right;
   @media (max-width:1350px){
    margin-top: 1.5rem;
}
}

.cart__itemC {
    display: flex;
    align-items: center;
    padding-left: 4.3rem;
    margin-top: 3.8rem;
    @media (max-width:1497px){
        padding-left: 2rem;
    }
    @media (max-width:1350px){
        display: flex;
        flex-direction: column;
        padding-left: 0;
        margin-top: 1.5rem;
        padding-left: 0;
    }
}

.cartItem__img {
    width: 20%;
    @media (max-width:950px){
        width: 40%;
    }
    @media (max-width:500px){
        width: 50%;
}
}


.cartItem__name {
    margin: 0 1rem;
    max-width: 350px;
    text-align: left;
    @media (max-width:1000px){
        font-size: 15px;
    }
}

.cartItem__price {
    font-size: 20px;
}

.cartItem__price span {
    font-size: 13px;
    margin-left: 0.4rem;
}

.cart__deleteBtn {
    margin-left: 3rem;
    margin-top: 0.3rem;
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
    @media (max-width:1350px){
        margin-left: 0;
    }
}

.cart__table:nth-of-type(n+2) {
    border-top: 1px solid #ddd;
}

.totalP__line {
    background-color: #000;
    color: #fff;
    padding: 0.2rem 0 0.2rem 2rem;
    margin-top: 2rem;
}

.totalP__container {
    margin-top: 2rem;
    margin-bottom: 4rem;
    font-size: 18px;
    padding-left: 65%;
    @media (max-width:1350px){
        padding-left: 50%;
    }
    @media (max-width:850px){
        padding-left: 25%;
    }
    @media (max-width:460px){
        padding-left: 5%;
    }
}

.totalP__container span {
    padding-left: 0.5rem;
    font-size: 15px;
}

.totalP__box {
    display: flex;
}

.totalP__box p {
    margin-left: 0.5rem;
    width: 160px;
    text-align: right;
}

.total__price{
    font-size: 28px;
    font-weight: bold;
}

.btn__container {
    margin: 3rem auto;
}


.orderSet__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    margin: 15px auto;
    padding: 1.7em 2em;
    border: none;
    border-radius: 5px;
    background-color: #3d9c8d;
    color: #fff;
    font-size: 18px;
}

.orderSet__btn:hover {
    opacity: .7;
}

.backHome__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    margin: 0 auto;
    padding: .9em 2em;
    border: 1px solid #000;
    border-radius: 5px;
    color: #000;
}

.backHome__btn:hover {
    opacity: .7;
}


.delivery__info {
    text-align: center;
}

.delivery__info a {
    text-decoration: underline;
}

.delivery__info a:hover {
    opacity: .7;
}