.hidden {
    display: none;
}

/* =============================================
お申込み手続き中の商品
=============================================== */
.product-name {
    margin: 10px 0 40px 0;
}

#product-list {
    width: 60%;
    list-style: none;
}

#product-list .maker-capacity {
    font-size: 0;
    margin: 0 0 10px 0;
}

#product-list .maker-capacity .maker {
    border: 1px solid #000;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    padding: 1px 6px;
    margin-bottom: 8px;
    font-weight: normal;
}


#product-list .maker-capacity .capacity {
    font-size: 14px;
    color: #fff;
    background: #00428E;
    border-radius: 4px;
    text-align: center;
    padding: 2px 6px;
    line-height: 1.4;
    margin: 0 0 0 4px;
    font-weight: normal;
}

#product-list .product-name {
    font-weight: bold;
    margin: 16px 0;
    width: 100%;
}

#product-list table td {
    border: none;
}

#product-list table {
    border: none;
}

.product-details .used-line span {
    font-weight: normal;
}


#product-list .details_productPrice th {
    width: 40%;
    position: relative;
    padding: 1em;
    vertical-align: middle;
}

#product-list .details_productPrice th::after {
    content: '';
    background-color: #c1c7c6;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
}

#product-list .details_productPrice td {
    text-align: right;
    padding: 1em;
}

/*#product-list .details_productPrice th::after {*/
/*    content: '';*/
/*    background-color: #c1c7c6;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 100%;*/
/*    transform: translateY(-50%);*/
/*    width: 1px;*/
/*    height: 60%;*/
/*}*/


.product-details .model-number span {
    font-weight: normal;
}

.product-details .series span {
    font-weight: normal;
}

.product-details .information-count span {
    font-weight: normal;
}

/* 数量*/
.product-details .count {
    display: flex;
    text-align: right;
    justify-content: flex-end;
}

.product-details .count .product-delete {
    margin-left: 10px;
}

.total-amount-area {
    display: flex;
    justify-content: center;
}

.total-amount {
    margin: auto 20px auto 0;
}

.total-amount-range {
    font-weight: bold;
}

.product-delete {
    color: #067DB7;
    text-align: right;
}

.count-cart-sp {
    display: none;
}

/* =============================================
h1タグ
=============================================== */
#content_wrap h1.h1_of_cart{
    margin: 0 auto 30px;
}

/* =============================================
カート内に商品なし
=============================================== */
.no-product {
    font-size: 16px;
}

.model-select{
    font-size: 16px;
    display: inline-block;

    &:hover {
        text-decoration: underline !important;
        opacity: 0.7;
    }
}

/* =============================================
capacityの調整
=============================================== */
.capacity {
    font-weight: normal;
}

/* =============================================
未使用品買取金額・中古品買取金額　等のフォントサイズ
=============================================== */
.th-fonts {
    font-size: 16px;
}

/* =============================================
数量ボタンの調整
=============================================== */
.product-details button,
.product-details input {
    background-color: #ffffff;
    cursor: pointer;
    padding: 0;
}

.product-details button {
    width: 35px;
    height: 30px;
    border-width: 2px;
    background-color: #EAEAEA;
    border: none;
    display: inline-block;
    color: #333333;

    &:hover {
        cursor : pointer;
        background-color:#fff;
        border: solid 1px #666;
    }
}

.product-details input {
    width: 70px;
    height: 30px;
    text-align: center;
    border: solid 1px #DADEDC;
    border-radius: 0;

    &:focus-visible {
        border: solid 2px;
        outline: none;
    }
}

.product-delete {
    font-weight: normal;
    line-height: 30px;

    &:hover {
        text-decoration: underline !important;
        opacity: 0.7;
    }
}

.product-details input::-webkit-inner-spin-button,
.product-details input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance:textfield;
}

/*ポップアップコンテナ*/
.popup-container {
    display: inline-block;
    position: fixed;
    width: 500px;
    height: auto;
    z-index: 1100;
    background: #fff;
    top: 140px;
    left: 50%;
    transform: translate(-50%);
}

.error-container {
    border: solid red;
}

/*合計台数エラーメッセージ*/
.error-popup-content {
    width: 300px;
    padding: 10px 0;
    margin: 0 auto;
}

.count-error-message {
    text-align: left;
    color: red;
    font-size: 13px;
}

.add-container {
    border: 2px solid #182D7C;
}

/*カート追加メッセージ*/
.add-popup-content {
    width: 300px;
    padding: 10px 0;
    margin: 0 auto;
    text-align: center;
}

.add-cart-message {
    text-align: center;
    color: #182D7C;
    font-size: 13px;
    vertical-align: 7px;
}

/*追加ポップアップ自の画像の位置*/
#content_wrap .add-popup-content img {
    margin-bottom: 0;
}

/*セッション切れ*/
.popup-background {
    /* 画面全体を暗くする透過背景 */
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.15);
    top: 0;
    left: 0;
    z-index: 1000;
}

.session-popup-content {
    /* ポップアップ本体 */
    display: inline-block;
    position: fixed;
    width: 60%;
    height: 45%;
    z-index: 1100;
    background: #fff;
    padding: 2%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    align-content: center;
    text-align: center;
}

.session-message {
    margin: 0 15%;
    text-align: left;
}


/*スマホ詳細　注意文*/
#product-list .details_productPrice .detail-alert-th::after {
    display: none;
}

#product-list .details_productPrice .detail-alert {
    padding: 0 1em 1em 1em;
}

.product-details table.details_productPrice .detail-alert {
    color: var(--666, #666);
    text-align: right;
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 0 1em 1em;
}

.detail-alert-sp {
    display: none;
    color: var(--666, #666);
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/*お客様情報入力　エラー文*/
.validate-container {
    border: solid red;
    width: 500px;
    z-index: 1100;
    background: #fff;
    margin: 0 auto;
}
.indent {
    text-indent: -1em;
    padding-left: 1em;
}
.validate-content {
    width: 230px;
    padding: 10px 0;
    margin: 0 auto;
}


/*タブレットサイズ*/
@media screen and (max-width: 992px) {
    .count-cart-pc {
        display: none;
    }
    .count-cart-sp {
        display: inline-block;
    }
    .delete-position {
        text-align: right;
    }
    .detail-alert-pc {
        display: none;
    }
    .detail-alert-sp {
        display: block;
    }

    /*==========phone_details==========*/
    .product-details table.details_productPrice td .unused {
        font-size: 26px;
    }

    .product-details table.details_productPrice td .used {
        font-size: 18px;
    }

    #product-list .details_productPrice th {
        /*width: 40%;*/
    }

    .product-name-image {
        width: 100%;
    }

    .product-item.details_product {
        display: block;
    }

    #product-list .details_productPrice th {
        width: 100%;
        display: block;
        background: #F5F7F6;
        border-right: 1px solid #DADEDC;
        border-bottom: 1px solid #DADEDC;
        padding: 10px;
    }

    #product-list .details_productPrice td {
        width: 100%;
        display: block;
        text-align: left;
        border-right: 1px solid #DADEDC;
        border-bottom: 1px solid #DADEDC;
        padding: 10px;
    }

    #product-list .details_productPrice {
        width: 100%;
        border-top: 1px solid #DADEDC !important;
        border-left: 1px solid #DADEDC !important;
    }

    #product-list .details_productPrice th::after {
        display: none;
    }

    #product-list {
        width: 100%;
    }

    .num2 li {
        text-indent: 0;
        padding-left: 0;
    }

    #product-list .details_productPrice .quantity td {
        padding: 0;
        display: flex;
        justify-content: space-between;
    }

    #product-list .details_productPrice .information-count td {
        text-align: right;
    }

    .product-details button {
        width: 66px;
        height: 66px;
        border: none;
    }

    .increase,
    .decrease {
        font-size: 29px;
    }

    .product-details input {
        flex-grow: 1;
        height: 66px;
        text-align: center;
        border-width: 1px;
        border-top: none;
        border-bottom: none;
        border-left: solid 1px #DADEDC;
        border-right: solid 1px #DADEDC;
        font-size: 21px;
    }

    /*セッション切れ*/
    .session-popup-content {
        width: 80%;
    }

    .product-name-image .product-image img {
        height: 100%;
        width: 100%;
    }

    #content_wrap .form_table th {
        width: 100%;
        padding: 10px 60px 10px 10px;
        display: block;
        box-sizing: border-box;
    }

    #content_wrap .form_table td {
        width: 100%;
        display: block;
        box-sizing: border-box;
        padding-left: 24.8564px;
    }
}
@media screen and (max-width: 767px) {
    .popup-container,
    .validate-container {
        width: 400px;
        top: 65px;
    }
}
/*スマホサイズ*/
@media screen and (max-width: 576px) {

    /*=============phone_details===========*/
    .product-item.details_product {
        display: block;
    }

    #product-list .details_productPrice th {
        width: 100%;
        display: block;
        background: #F5F7F6;
        border-right: 1px solid #DADEDC;
        border-bottom: 1px solid #DADEDC;
        padding: 10px;
    }

    #product-list .details_productPrice td {
        width: 100%;
        display: block;
        text-align: left;
        border-right: 1px solid #DADEDC;
        border-bottom: 1px solid #DADEDC;
        padding: 10px;
    }

    #product-list .details_productPrice {
        width: 100%;
        border-top: 1px solid #DADEDC !important;
        border-left: 1px solid #DADEDC !important;
    }

    #product-list .details_productPrice th::after {
        display: none;
    }

    #product-list {
        width: 100%;
    }

    .num2 li {
        text-indent: 0;
        padding-left: 0;
    }

/* =============================================
画像の再調整
=============================================== */
    .image-resize {
        width: 50%;
    }

    /*スマホサイズのエラーメッセージもしくはカートに追加メッセージ*/
    .popup-container,
    .validate-container {
        width: 100%;
        padding:0 20px;
    }

/* =============================================
合計金額のmargin調整
=============================================== */
    .total-amount {
        margin: auto 5px auto 0;
    }

    /*合計金額の表示崩れ防止 フォント小さくする*/
    .total-amount-range {
        font-size: 24px;
        font-weight: bold;
    }
}
