/*レイアウト
=========================================== */

#buyback_cart .container {
    background: transparent !important;
    padding: 0px !important;
}

#buyback_cart .center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

/*トップ
=========================================== */
/*タイトル
=========================================== */
.page_title {
    text-align: center;
}

.new_buyback_items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1080px) {
    .new_buyback_items {
        display: flex;
        flex-direction: column;
        padding: 0px 2.6%;
    }
}

.new_buyback_items .product-card .product-body {
    padding: 20px 20px;
    margin: 0px;
}

.new_buyback_items .product-card .product-title {
    line-height: 1.2;
    height: auto;
}

.new_buyback_items .product-card .product-info {
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.new_buyback_items .product-card .product-price {
    color: #BF9D4C;
    font-size: 24px;
    padding-bottom: 5px;
}

@media (max-width: 1080px) {
    .new_buyback_items .product-card .product-image {
        flex: 1;
    }

    .new_buyback_items .product-card .product-info {
        align-items: flex-start;
        flex: 3;
    }
}

/*ボタン
=========================================== */
.link_buyback_price {
    font-size: 20px;
    padding: 10px 40px;
    margin-bottom: 60px;
    color: white;
    border-radius: 4px;
    border: none;
    background-color: #bf9d4c;
    text-decoration: none;
    cursor: pointer;
}

.link_buyback_price:hover {
    opacity: 0.8;
}

.link_contact {
    font-size: 20px;
    gap: 5px;
    width: 50%;
    padding: 15px 0px;
    color: white;
    border-radius: 4px;
    border: none;
    background-color: #bf9d4c;
    display: flex;
    justify-content: center;
    align-items: center;
}

.link_telphone {
    text-align: center;
    font-size: 16px;
    width: 50%;
    padding: 15px 0px;
    color: white;
    border-radius: 4px;
    border: 1px solid #bf9d4c;
    color: #bf9d4c;
    background-color: transparent;
}

.link_telphone p {
    gap: 5px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* アイコン画像のスタイル */
.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.buttons_wrapper {
    display: flex;
    gap: 10px;
}

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

.search-icon {
    padding-right: 10px;
    padding-top: 5px;
}

#buyback_cart .buttons_wrapper {
    gap: 50px;
}

#buyback_cart.container {
    max-width: 1300px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 200px;
}

@media (max-width: 1080px) {
    #buyback_cart.container {
        width: 100%;
        padding-bottom: 30px;
    }

    #buyback_top .buttons_wrapper {
        display: flex;
        flex-direction: column;
        padding: 0px 2.6%;
    }

    #buyback_cart .buttons_wrapper {
        flex-direction: column-reverse;
    }

    .link_contact,
    .link_telphone {
        width: 100%;
        min-height: 70px;
        padding: 0px;
    }

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

    #pokemon_search_detail .search_btn {
        margin-bottom: 0px;
    }
}

/*ネット買取利用方法
=========================================== */
.buyback-steps {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    justify-content: space-between;
    padding-top: 20px;
    margin-bottom: 60px;
}

.step {
    flex: 1 1 calc(25% - 20px);
    text-align: center;
    border-radius: 12px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    position: absolute;
    width: 45px;
    height: 45px;
    background: #6787c2;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.step-number span {
    font-size: 0.8rem;
    line-height: 1;
    font-weight: normal;
}

.step-icon {
    font-size: 32px;
}

.step-title {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0px;
}

.step-desc {
    font-size: 15px;
    text-align: left;
}

.next_arrow {
    color: #bf9d4c;
    font-size: 15px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

@media (max-width: 1080px) {
    .buyback-steps {
        display: flex;
        gap: 0;
        flex-direction: column;
    }

    .step {
        margin: 0px 2.6%;
    }

    .step-desc {
        text-align: center;
    }

    .next_arrow {
        transform: rotate(90deg);
        justify-content: center;
        margin-top: 11px;
        margin-bottom: 32px;
    }
}

/*買取希望品カート
=========================================== */

#buyback_cart .buyback-steps {
    width: 630px;
    padding-top: 30px;
    margin-bottom: 30px;
}

#buyback_cart .step {
    padding: 0px;
    border: 3px solid #2553a8;
}

#buyback_cart .step.active {
    background: #E2E8F3;
}

#buyback_cart .step-title {
    margin: 40px 0px;
    font-size: 16px;
}

#buyback_cart .step-number {
    width: 60px;
    height: 60px;
    background: #ffffff;
    color: #2553a8;
    border: 1px solid;
    top: -35px;
}

#buyback_cart .active .step-number {
    color: #fff;
    background: #2553a8;
    border-color: #22438a;
}

#buyback_cart .explanation {
    font-weight: 500;
    margin-bottom: 30px;
}

.shipping-info {
    max-width: 940px;
    width: 100%;
    margin-bottom: 80px;
    overflow-wrap: break-word;

    @media (max-width: 1080px) {
        width: calc(100% - 40px);
    }
}

.shipping-info .subtitle {
    margin: 40px 0 12px;
}

.shipping-info select {
    margin: 0;
    width: auto;

    @media (max-width: 1080px) {
        width: 100%;
    }
}

.cart_items_wrapper {
    border-top: 1px solid #bf9d4c;
    border-bottom: 1px solid #bf9d4c;
    max-width: 920px;
    width: 100%;
    margin-bottom: 60px;

    @media (max-width: 1080px) {
        margin-bottom: 30px;
        margin-right: 20px;
        margin-left: 20px;
        width: calc(100% - 40px);
    }
}

.total_cost {
    margin: 10px;
    font-weight: bold;

    @media (max-width: 1080px) {
        margin: 10px 0;
    }
}

.total_cost span {
    color: #bf0000;
    display: inline-block;
    width: 80px;
    text-align: right;
}

.coupon-form {
    padding: 10px 0 10px 10px;
    text-align: right;
}


.coupon-form input {
    border: 1px solid #333;
    padding: 3px;
}

.back_items {
    font-size: 20px;
    width: 300px;
    padding: 10px 0px;
    color: white;
    border-radius: 4px;
    border: none;
    background-color: #8d8d8d;
    text-decoration: none;
    text-align: center;
}

.link_buyback_procedure {
    font-size: 20px;
    width: 300px;
    padding: 10px 0px;
    color: white;
    border-radius: 4px;
    border: none;
    background-color: #2553a8;
    cursor: pointer;
}

@media (max-width: 1080px) {
    #buyback_cart .buyback-steps {
        width: 70%;
        gap: 0px;
    }

    #buyback_cart .next_arrow {
        margin-bottom: 33px;
        margin-top: 8px;
    }

    #buyback_cart .explanation {
        margin-right: 20px;
        margin-left: 20px;
        font-size: 14px;
        line-height: 1.6;
    }

    #buyback_cart .buttons_wrapper {
        gap: 30px;
    }
}