@charset "utf-8";

.item-ttl {
    color: #333;
    border-bottom: #333 solid 2px;
}

.item-ttl:hover {
    color: #2066BC;
    border-bottom: #2066BC solid 2px;
}

.cart-item-cont {
    background-color: #fafafa;
    padding: 20px;
}

.item-details {
    display: flex;
    margin-top: 0.5rem;
}

.cart-item-details {
    display: flex;
    justify-content: space-between;
     margin-top: 1rem;
}

.pack-pic.cart {
    max-width: 130px;
    overflow: hidden;
    background: url(../img/bg_silver.png) no-repeat;
    background-size: cover;
}

.pack-pic img {
    z-index: 1;
}

.pack-pic-wrap.pack-best .pack-pic.cart {
    background: url(../img/bg_best.png) no-repeat;
    background-size: cover;
}

.pack-pic-wrap.pack-super .pack-pic.cart {
    background: url(../img/bg_super.png) no-repeat;
    background-size: cover;
}

.pack-pic-wrap.pack-super .pack-pic.cart::before {
    content: "";
    background: url(../img/art_dragon_L.png) no-repeat;
    background-size: contain;
    width: 145px;
    height: 123px;
    position: absolute;
    bottom: -22px;
    left: -43px;
}

.pack-pic-wrap.pack-super .pack-pic.cart::after {
    content: "";
    background: url(../img/art_dragon_R.png) no-repeat;
    background-size: contain;
    width: 90px;
    height: 62px;
    position: absolute;
    top: 0px;
    right: -26px;
}

.pack-pic-wrap.pack-super .pack-pic.cart div::after {
    content: "";
    background: url(../img/bg_super_top.png) no-repeat;
    background-size: contain;
    width: 114px;
    height: 105px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translate(-50%);
    z-index: 1;
}

.txt-and-link.txt-right{
    text-align: right;
}

@media screen and (max-width: 640px) {

    .cart-item-details {
        align-items: flex-end;
        margin-top: 0rem;
    }


    .cart-item {
        margin-top: -5px;
    }

    .pack-pic.cart {
        max-width: 53px;
    }

    .pack-pic.cart img {
        height: 48px;
    }


    .cart-item-cont .item-details a {
        height: 48px;
    }

    .item-details .pack-pic-wrap.pack-super .pack-pic.cart div::after {
        width: 52px;
        height: 47px;
        top: 8px;
    }

    .pack-pic-wrap.pack-super .pack-pic.cart::before {
        width: 82px;
        height: 72px;
        bottom: -22px;
        left: -33px;
    }

    .pack-pic-wrap.pack-super .pack-pic.cart::after {
        width: 53px;
        height: 34px;
        top: 0px;
        right: -26px;
    }
}

@media screen and (max-width: 500px) {

    .cart-item-details {
        flex-flow: column;
        align-items: flex-end;
        margin-top: 0;
    }

    .unit-price {
        margin-top: 1rem;
    }
}

.cart-item {
    margin-left: 2.5rem;
    width: 100%;
}

.bulk-gray {
    background: #8A8A8A;
}

.unit-price {
    text-align: right;
}

.price-info {
    font-size: 1rem;
    font-weight: bold;
}

.price-txt {
    font-size: 1.2rem;
    font-weight: bold;
}

.num-item {
    display: flex;
    align-items: center;
}

.select-ttl {
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
    margin-right: 1rem;
}

.num-item select {
    appearance: none;
    width: 100px;
    height: 2.5rem;
    background-color: rgb(255, 255, 255);
    color: rgb(55, 55, 55);
    font-size: 1rem;
    cursor: pointer;
    padding: 0 2.4rem;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(198, 191, 191);
    border-image: initial;
    border-radius: 5px;
    font-weight: bold;
}

@media screen and (max-width: 400px) {

    .cart-item {
        margin-left: 1rem;
    }

    .num-item select {
        width: 60px;
        padding: 0 1rem;
    }
}

.delete-txt {
    margin-top: 0.8rem;
}

.delete-all {
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
}

.delete-all.outside {
    text-align: right;
    margin-top: -1.5rem;
    margin-bottom: 1rem;
}

.delete-all button{
    white-space: nowrap;
    font-size: 0.9rem;
    color: #2066BC;
    display: inline-block;
    border-bottom: 1px solid;
    font-weight: bold;
}

.delete-txt button {
    white-space: nowrap;
    font-size: 0.9rem;
    color: #2066BC;
    display: inline-block;
    border-bottom: 1px solid;
    font-weight: bold;
}

.pr-txt {
    font-weight: bold;
    font-size: 1rem;
    color: #950001;
    text-align: center;
    margin-top: 1rem;
}

.mt-1 {
    margin-top: 1rem;
}

.cart-item-cont:nth-of-type(n + 2) {
    margin-top: 2rem;
}

.no-item-text {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.field input {
  max-width: 166px;
  height: 40px;
  text-align: center;
  border-radius: 3px;
  border: 2px solid #666;
  margin: 0 1rem;
  color: #333;
  font-weight: bold;
}

.field .button {
  background: black;
  height: 40px;
  width: 40px;
  border: 1px solid #fff;
  border-radius: 30px;
  color: #fff;
}

.counter {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.counter p {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cart-item-details .counter .field input {
  width: 100px;
}

.item-thumb {
    text-align: center;
}

.sp-delete {
    display: none;
}

.item-d-r {
    text-align: end;
    margin-top: 1rem;
}

.txt-total.txtright{
    text-align: right;
}

.warning-txt{
    font-size: 1rem;
}

.cart-Btn-wrap {
    display: flex;
    width: 100%;
    flex-direction: row-reverse;
    gap: 1rem;
}

.cart-Btn-wrap .btnL {
    width: 100%;
}

.cart-Btn-wrap .btnL button {
    width: 100%;
}


@media screen and (max-width: 640px) {
    .cart-item-details .counter .field input {
        height: 25px;
        width: 60px;
    }

    .field .button {
        width: 25px;
        height: 25px;
    }

    .delete-txt {
        display: none;
    }
    
    .sp-delete {
        display: flex;
        justify-content: center;
    }

    .counter p {
        margin-bottom: 0rem;
    }

    .item-d-r {
        margin-top: 0rem;
    }
}

@media screen and (max-width: 500px) {
    .cart-item-details .counter .field input {
        margin: 0 0.5rem;
    }

    .counter p {
        margin-bottom: 0;
    }

    .unit-price {
        display: flex;
        align-items: center;
    }

    .price-txt {
        margin-left: 0.5rem;
    }

    .margin-left-0 {
        margin-left: 0rem;
    }

    .item-d-r {
        margin-top: 0;
    }

    .pack-pic img {
        height: 66px;
        width: auto;
    } 
}

.cart-item-details .counter {
    margin-bottom: 0;
    margin-top: 0;
}

.counter .select-ttl {
    font-size: 1rem;
    margin-right: 0;
}

/*--------------------------------------
            カート画面ソート機能のcss
--------------------------------------*/
#sort-select{
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    background-color: #eee;
    border: 1px solid #c0c0c0;
    padding: 0px 0.5rem;
}

/*--------------------------------------
            小計のcss
--------------------------------------*/
.subtotal-wrap{
    border-top: 2px solid #dddddd;
    margin-top: 1rem;
    padding-top: 0.8rem;
}

.subtotal{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.subtotal .price-info{
    font-size: 1.2rem;
}

.qty-wrap, .qty-wrap span{
    font-size: 1.2rem;
}

.sub-colon{
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

.subtotal-txt, .subtotal-txt span{
    font-size: 1.2rem;
    font-weight: bold;
}

.cart-total-all{
    padding: 0 20px;
}