/*レイアウト
=========================================== */
.main_wrapper {
    position: relative;
    background: linear-gradient(to bottom, #f7ae06, #fedd7e, #fff1b0);
    overflow: hidden;
    margin-top: 80px;
}

@media screen and (max-width: 1080px) {
    .main_wrapper {
        margin-top: 0;
    }
}

/*コンテナ・幅
=========================================== */
.container {
    background: linear-gradient(to bottom, #ffecb5, #ffffff);
    padding: 0px 45px;
}

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

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

    .container {
        padding: 0;
    }
}

/*タブナビゲーション
=========================================== */
.tabnav_right_size {
    max-width: 937px;
    width: 100%;
}

.tavnav_right {
    max-width: 1300px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

@media screen and (max-width: 1080px) {
    .tabnav_right_size {
        max-width: 100%;
    }

    .tavnav_right {
        display: block;
    }
}

/*サイドバー
=========================================== */
.sidebar {
    flex: 2.5;
    padding-top: 30px;
}

.search_form_box {
    margin-bottom: 60px;
}

.sidebar .search_form {
    margin-bottom: 15px;
}

.sidebar .category {
    font-size: 14px;
    border-bottom: 1px dashed black;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: block;
    cursor: pointer;
    color: inherit;
    text-decoration: inherit;
}

.sidebar .category.active {
    color: #bf0000;
}

.sidebar .subtitle {
    margin-bottom: 15px;
    font-size: 15px;
}

.sidebar .select2-container {
    width: 100% !important;

    @media (max-width: 1080px) {
        margin-right: 2.6%;
        margin-left: 2.6%;
        width: calc(100% - 5.2%) !important;
    }
}

@media (max-width: 1080px) {
    .search_result_wrapper .search_form_box {
        margin-bottom: 0px;
    }
}

/*メイン
=========================================== */
.right_wrapper {
    flex: 7.5;
    width: 0;
    min-width: 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.right_wrapper .page_title {
    text-align: center;
}

.hero_img {
    width: 100%;
    margin: 30px 0px;
}

.hero_img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

@media (max-width: 1080px) {
    .right_wrapper {
        flex: none;
        width: 100%;
    }

    .right_wrapper .hero_img {
        margin: 0;
    }

    .breadcrumb {
        padding: 0px 20px;
    }
}

/*最新入荷アイテム
=========================================== */
.product-card {
    background-color: #252525;
    border-radius: 10px;
}

.new_items {
    margin-bottom: 50px;
}

.new_items>a {
    margin: 30px auto 0;
}

.product-header {
    background-color: black;
    color: #fed96b;
    font-size: 17px;
    text-align: center;
    padding: 8px;
    border-radius: 10px 10px 0px 0px;
}

.product-title {
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (max-width: 1080px) {
        height: 1.5rem;
    }
}

.product-title span {
    font-size: 16px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5rem;

    @media (max-width: 1080px) {
        -webkit-line-clamp: 1;
    }
}

.product-body {
    box-sizing: border-box;
    width: 100%;
    color: white;
    text-align: center;
    padding: 8% 5%;
    display: flex;
    justify-content: center;
    gap: 4%;
}

.product-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    max-height: 150%;
    object-fit: contain;
    flex: 11;
    /* flexの比率維持に必要 */
    min-width: 0;

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

.product-info {
    font-size: 17px;
    text-align: left;
    flex: 13;
    /* flexの比率維持に必要 */
    min-width: 0;

    @media (min-width: 550px) and (max-width: 1299px) {
        font-size: 13px;
    }

    @media (max-width: 1080px) {
        flex: 14;
    }
}

.product-info a {
    color: inherit;
    text-decoration: none;
}

.product-detail div {
    line-height: 1.4;
    white-space: nowrap;
}

.product-info .quantity {
    font-size: 13px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0px 0px;
    padding: 3px 5px;
    border: 1px solid white;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;

    @media (min-width: 550px) and (max-width: 1299px) {
        font-size: 11px;
    }
}

.product-info .quantity input {
    border: none;
    padding: 0;
    width: 1.2rem;
    line-height: 1.4rem;
    text-align: center;
    font-size: 1rem;
    color: #fff;
}


.product-info .quantity-btn {
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: white;
    background-color: #252525;
}

.product-info .quantity-btn:first-child {
    padding: 0 0 0 7px;
}

.product-info .quantity-btn:last-child {
    padding: 0;
}

.product-footer {
    text-align: center;
}

.show-select-for-sp {
    position: relative;
}

.show-select-for-sp select {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

#pokemon_top .add-to-cart {
    background-color: #bf9d4c;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    font-size: 19px;
    border-radius: 0px 0px 10px 10px;
}

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

/*新着情報
=========================================== */
.article-items .article-item:first-child {
    padding-top: 0;
}

.article-items {
    padding-bottom: 30px;
}

.article-item {
    display: flex;
    align-items: center;
    padding: 10px;
    font-family: "Helvetica Neue", sans-serif;
    border-bottom: 1px dotted black;
}

.thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 12px;
    border-radius: 2px;
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    font-size: 12px;
    color: #444;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.label {
    background-color: #b49e57;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.date {
    color: #333;
}

.article-title {
    font-size: 14px;
    color: #222;
    line-height: 1.4;
}

.article-items a {
    display: flex;
    padding-top: 20px;
    justify-content: flex-end;
}

@media (max-width: 1080px) {
    .article-items {
        margin: 0px 2.6% 30px;
        padding-bottom: 0;
    }
}

/*フォーム
=========================================== */
.notation_table table,
.notation_table th,
.notation_table td {
    border-color: #bf9d4c;
}

.notation_table table {
    margin-bottom: 30px;
}

.notation_table th {
    background-color: #fed96b;
    color: black;
    width: 17%;
    padding: 15px;

    @media (max-width: 1080px) {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.notation_table td {
    font-weight: 400;
    padding: 15px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.checkbox-row label {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="checkbox"] {
    transform: scale(1.7);
}

.radio-group {
    display: flex;
    gap: 24px;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    align-items: center;
    padding: 10px 0;
}

.radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #333;
    border-radius: 50%;
    margin-right: 6px;
    position: relative;
    cursor: pointer;
}

.radio-group input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    height: 12px;
    width: 12px;
    background-color: #b3833b;
    border-radius: 50%;
}

.radio-group label {
    display: flex;
    align-items: center;
}

#pokemon_search_detail .notation_table td {
    padding: 15px 10px;
}

.notation_table.sp_only table,
.notation_table.sp_only tbody,
.notation_table.sp_only tr {
    display: block;
    width: 100%;
}

.notation_table.sp_only tr {
    border: none;
}

.notation_table.sp_only th,
.notation_table.sp_only td {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border: none;
    text-align: left;
}

.main_right .notation_table.sp_only th,
.main_right .notation_table.sp_only td {
    width: calc(100% - 40px);
}

.notation_table.sp_only th {
    background-color: #fed96b;
    color: #333;
    font-weight: 500;
    border-bottom: none;
}

.notation_table.sp_only td {
    padding-top: 0;
}

.main_right .notation_table.sp_only td {
    padding-top: 15px;
}

.notation_table.sp_only .checkbox-group {
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
}

.checkbox-group {
    gap: 0;
}

.checkbox-row,
.radio-group {
    padding: 0px 20px;
    display: flex;
    align-items: flex-start;
}

.notation_table.sp_only .checkbox-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.notation_table.sp_only .checkbox-row label {
    display: flex;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
}

.notation_table.sp_only .checkbox-row input[type="checkbox"],
.notation_table.sp_only .checkbox-row input[type="radio"] {
    margin-right: 4px;
}

#mtg_search_detail .notation_table td,
#mtg_search_result .notation_table td {
    padding: 15px 0;
}

.form-input {
    margin: 0 20px;
    width: calc(100% - 40px);
}

.form-select {
    margin: 0 20px;
    width: calc(100% - 40px);
    text-align: left;
    white-space: nowrap;

    @media (max-width: 1080px) {
        margin-right: 2.6%;
        margin-left: 2.6%;
        width: calc(100% - 5.2%);
    }
}

.sidebar .form-input,
.sidebar .form-select {
    margin: 0;
    width: 100%;
    font-size: 13px;

    @media (max-width: 1080px) {
        margin-right: 2.6%;
        margin-left: 2.6%;
        width: calc(100% - 5.2%);
    }
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    font-size: 13px;
}

.modal-content .form-input,
.modal-content .form-select {
    margin: 0;
    width: 100%;
}

.toggle-password-wrap {
    position: relative;
}

.toggle-password-wrap input {
    padding-right: 50px;
}

.toggle-password-wrap .eye,
.toggle-password-wrap .eye-slash {
    position: absolute;
    top: 11px;
    right: 14px;
    width: 30px;
    height: 30px;
    background-size: contain;
    border: none;
}

.toggle-password-wrap .eye {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M320 144C254.8 144 201.2 173.6 160.1 211.7C121.6 247.5 95 290 81.4 320C95 350 121.6 392.5 160.1 428.3C201.2 466.4 254.8 496 320 496C385.2 496 438.8 466.4 479.9 428.3C518.4 392.5 545 350 558.6 320C545 290 518.4 247.5 479.9 211.7C438.8 173.6 385.2 144 320 144zM127.4 176.6C174.5 132.8 239.2 96 320 96C400.8 96 465.5 132.8 512.6 176.6C559.4 220.1 590.7 272 605.6 307.7C608.9 315.6 608.9 324.4 605.6 332.3C590.7 368 559.4 420 512.6 463.4C465.5 507.1 400.8 544 320 544C239.2 544 174.5 507.2 127.4 463.4C80.6 419.9 49.3 368 34.4 332.3C31.1 324.4 31.1 315.6 34.4 307.7C49.3 272 80.6 220 127.4 176.6zM320 400C364.2 400 400 364.2 400 320C400 290.4 383.9 264.5 360 250.7C358.6 310.4 310.4 358.6 250.7 360C264.5 383.9 290.4 400 320 400zM240.4 311.6C242.9 311.9 245.4 312 248 312C283.3 312 312 283.3 312 248C312 245.4 311.8 242.9 311.6 240.4C274.2 244.3 244.4 274.1 240.5 311.5zM286 196.6C296.8 193.6 308.2 192.1 319.9 192.1C328.7 192.1 337.4 193 345.7 194.7C346 194.8 346.2 194.8 346.5 194.9C404.4 207.1 447.9 258.6 447.9 320.1C447.9 390.8 390.6 448.1 319.9 448.1C258.3 448.1 206.9 404.6 194.7 346.7C192.9 338.1 191.9 329.2 191.9 320.1C191.9 309.1 193.3 298.3 195.9 288.1C196.1 287.4 196.2 286.8 196.4 286.2C208.3 242.8 242.5 208.6 285.9 196.7z'/></svg>") no-repeat center center;
}

.toggle-password-wrap .eye-slash {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M73 39.1C63.6 29.7 48.4 29.7 39.1 39.1C29.8 48.5 29.7 63.7 39 73.1L567 601.1C576.4 610.5 591.6 610.5 600.9 601.1C610.2 591.7 610.3 576.5 600.9 567.2L504.5 470.8C507.2 468.4 509.9 466 512.5 463.6C559.3 420.1 590.6 368.2 605.5 332.5C608.8 324.6 608.8 315.8 605.5 307.9C590.6 272.2 559.3 220.2 512.5 176.8C465.4 133.1 400.7 96.2 319.9 96.2C263.1 96.2 214.3 114.4 173.9 140.4L73 39.1zM208.9 175.1C241 156.2 278.1 144 320 144C385.2 144 438.8 173.6 479.9 211.7C518.4 247.4 545 290 558.5 320C544.9 350 518.3 392.5 479.9 428.3C476.8 431.1 473.7 433.9 470.5 436.7L425.8 392C439.8 371.5 448 346.7 448 320C448 249.3 390.7 192 320 192C293.3 192 268.5 200.2 248 214.2L208.9 175.1zM390.9 357.1L282.9 249.1C294 243.3 306.6 240 320 240C364.2 240 400 275.8 400 320C400 333.4 396.7 346 390.9 357.1zM135.4 237.2L101.4 203.2C68.8 240 46.4 279 34.5 307.7C31.2 315.6 31.2 324.4 34.5 332.3C49.4 368 80.7 420 127.5 463.4C174.6 507.1 239.3 544 320.1 544C357.4 544 391.3 536.1 421.6 523.4L384.2 486C364.2 492.4 342.8 496 320 496C254.8 496 201.2 466.4 160.1 428.3C121.6 392.6 95 350 81.5 320C91.9 296.9 110.1 266.4 135.5 237.2z'/></svg>") no-repeat center center;
}


/*slick-slider
=========================================== */
#pokemon_item_detail .slick-list {
    margin: 0px 5px;
}

#pokemon_item_detail .slick-slider {
    margin: 0px 5px;
    width: 100% !important;
    max-width: 800px;
}

#pokemon_item_detail .slick-slider .slick-prev {
    left: -24px !important;
}

#pokemon_item_detail .slick-slider .slick-next {
    right: -24px !important;
}

.new-items-slider,
.check-items-slider,
.check-items-slider-top {
    display: flex;
    justify-content: center;
}

.new-items-slider {
    margin: 0;

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

@media (max-width: 1080px) {
    .check_items {
        margin-left: 2.6%;
        margin-right: 2.6%;
    }

    .check-items-slider-top {
        margin-left: 26px;
        margin-right: 26px;
    }

    #pokemon_item_detail .right_wrapper {
        width: calc(100% - 5.2%);
        margin: 0px auto;
    }
}

/*検索結果
=========================================== */
@media (min-width: 1081px) {
    #energy-checkbox {
        position: absolute;
        top: inherit;
        left: inherit;
        right: auto;
        display: block;
        width: 300px;
        height: auto;
        background: none;
    }

    #energy-checkbox .modal-content {
        widdth: 100%
    }

    #energy-checkbox .modal-body {
        padding-bottom: 0;
    }

    #energy-checkbox .modal-footer .btn-primary,
    #energy-checkbox .modal-footer .btn-secondary {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

#energy-checkbox .modal-body {
    display: flex;
    flex-direction: column;
    padding-top: 24px;
    gap: 20px;
}

#energy-checkbox .modal-body label {
    cursor: pointer;
}

#energy-checkbox .modal-body input[type=checkbox] {
    margin-right: 8px;
}

#energy-checkbox .description button.form-select {
    white-space: nowrap;
    text-align: left;
}

#energy-checkbox .item_count {
    padding-bottom: 30px;
}

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

.result-card {
    border: 1px solid #bf9d4c;
    padding: 10px;
    font-family: "Noto Sans JP", sans-serif;
    gap: 10px;
    position: relative;
}

.result-contents {
    display: flex;
    margin: 0 0 10px 0;
    justify-content: center;
    color: inherit;
    text-decoration: inherit;

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

a.result-contents:hover {
    text-decoration: underline;
}

.result-image {
    position: relative;
}

.result-image img {
    margin-right: 10px;
    height: 140px;
    display: block;
    flex: 1;
    width: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

a.result-contents:hover .result-image img {
    opacity: 0.7;
}

.result-image .sold_out {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    color: #000;
    opacity: 0.7;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.result-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 4px;
    font-size: 14px;

    @media (max-width: 1080px) {
        justify-content: start;
        gap: 10px;
    }
}

.result-name {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;

    @media (max-width: 1080px) {
        /* 2行だけ表示 */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.result-price {
    font-size: 16px;
    font-weight: bold;
}

.result-stock {
    font-size: 13px;
    color: #999;
}

@media (max-width: 1200px) {
    .result_cards {
        display: flex;
        flex-direction: column;
        padding: 0px 2.6%;
        margin-bottom: 30px;
    }

    .result-card {
        padding: 10px 50px;
    }
}

@media (max-width: 1080px) {
    .result-card {
        padding: 4.5%;
    }

    .result-card>div:nth-child(2) {
        position: absolute;
        bottom: 16px;
        right: 4.5%;
        width: calc(100% - 9% - 105px);
    }
}

.add-to-cart {
    background-color: #c41f1f;
    width: 100%;
    color: #fff;
    border: none;
    padding: 5px 0;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #a51818;
}

/*商品詳細
=========================================== */
.main_right {
    margin: 40px 0px;
    padding: 40px;
    border: 1px solid #bf9d4c;
}

.detail_wrapper {
    display: flex;
    padding-bottom: 50px;
    justify-content: space-between;
}

.detail_wrapper .detail_left {
    width: 30%;
}

@media (max-width: 1080px) {
    .main_right {
        padding: 40px 0px;
    }

    .detail_wrapper {
        flex-direction: column;
    }

    .detail_wrapper .detail_left {
        width: calc(100% - 5.2%);
        margin: 0px auto;
    }

    .detail_image {
        max-width: 200px;
        margin-right: auto;
        margin-left: auto;
    }
}

.detail_wrapper .detail_left .detail_image img {
    width: 100%;
    max-width: 500px;
}

.detail_wrapper .detail_left .zoom_image {
    font-size: 14px;
    text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128.5'%3E%3Cg%3E%3Cpath fill='%23231815' d='M48,96C21.5,96,0,74.5,0,48S21.5,0,48,0s48,21.5,48,48-21.5,48-48,48ZM48,8c-22.1,0-40,17.9-40,40s17.9,40,40,40,40-17.9,40-40S70.1,8,48,8Z'/%3E%3Cpath fill='%23231815' d='M123.9,128.5c-1,0-2-.4-2.8-1.2l-44.1-44.1c-1.6-1.6-1.6-4.1,0-5.7,1.6-1.6,4.1-1.6,5.7,0l44.1,44.1c1.6,1.6,1.6,4.1,0,5.7-.8.8-1.8,1.2-2.9,1.2Z'/%3E%3Crect fill='%23231815' x='25.2' y='45.3' width='47' height='7'/%3E%3Crect fill='%23231815' x='45.2' y='25.3' width='7' height='47'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(50% - 50px) center;
    background-size: 15px;
    cursor: pointer;
}

.detail_wrapper .detail_left .thumb_image {
    display: flex;
    gap: 2%;
    max-width: 500px;
    margin: 17px auto 0 auto;
}

.detail_wrapper .detail_left .thumb_image a {
    width: 32%;
}

.detail_wrapper .detail_left .thumb_image a img {
    width: 100%;
}

.detail_wrapper .detail_right {
    width: 65.2%;
}

@media (max-width: 1080px) {
    .detail_wrapper .detail_right {
        width: calc(100% - 5.2%);
        margin: 0px auto;
    }
}

.detail_wrapper .detail_right .detail_name {
    font-size: 20px;
    color: #bf0000;
    padding-bottom: 10px;

    @media (max-width: 1080px) {
        font-size: 18px;
        padding: 20px 0;
    }
}

.detail_wrapper .detail_right .quantity_wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail_wrapper .detail_right .quantity input {
    border: none;
    padding: 9px;
    width: 2rem;
    line-height: 1.4rem;
    text-align: center;
    font-size: 1.2rem;
    color: #000;
}

.detail_wrapper .detail_right .quantity {
    border: 1px solid rgb(0, 0, 0);
    border-radius: 4px;
    padding: 0 10px;
    margin: 10px 0px;
    width: auto;
}

.detail_wrapper .detail_right .quantity .quantity-btn {
    font-size: 14px;
    background-color: transparent;
    color: black;
    padding: 0px 7px;
    cursor: pointer;
    border: none;
}

.detail_wrapper .detail_right .stock {
    font-size: 14px;
    color: #8d8d8d;
}

.detail_wrapper .detail_right .button_wrapper {
    padding-top: 53px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex-direction: column;
}

.detail_wrapper .detail_right .stock+.price {
    margin-top: 30px;
}

@media (max-width: 1080px) {
    .detail_wrapper .detail_right .button_wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .detail_wrapper .detail_right .search_btn,
    .detail_wrapper .detail_right .add-to-cart {
        max-width: none;
    }
}

.detail_right .btn_md2 {
    width: 100%;
    max-width: 300px;
}

.detail_wrapper .detail_right .search_btn,
.detail_wrapper .detail_right .add-to-cart {
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

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

.detail_wrapper .detail_right .add-to-cart .cart-icon,
.detail_wrapper .detail_right .search_btn .search-icon {
    position: absolute;
    left: 20px;
    width: 24px;
    height: 24px;
}

#pokemon_item_detail .warning {
    font-size: 14px;
    margin-bottom: 30px;
}

.link_status,
.link_important {
    color: red;
    border-bottom: 1px solid red;
    display: inline-block;
}

.link_status:hover,
.link_important:hover {
    opacity: 0.9;
}

@media (max-width: 1080px) {

    #pokemon_item_detail .subtitle,
    #pokemon_item_detail .notation_table,
    #pokemon_item_detail .warning,
    .link_important {
        width: calc(100% - 5.2%);
        margin-right: auto;
        margin-left: auto;
    }
}

.bottom_right {
    margin: 40px 0px;
    padding: 40px;
    border: 1px solid #bf9d4c;

    @media (max-width: 1080px) {
        padding: 40px 20px;
    }
}

.bottom_right .subtitle {
    border: none;
}

.recommended_items {
    display: flex;
    justify-content: center;
}

.recommended_items .check-item {
    color: inherit;
}

.recommended_items .check-item .stock {
    font-size: 14px;
    color: #8d8d8d;
}

@media (max-width: 1080px) {
    .bottom_right .subtitle {
        font-size: 20px;
        font-weight: bold;
        white-space: nowrap;
    }
}

/* カート
=========================================== */
.cart-item {
    display: flex;
    align-items: center;
    border-bottom: 1px dotted #BF9D4C;
    padding: 10px;
    gap: 20px;
    max-width: 920px;
    width: 920px;
    box-sizing: border-box;
}

.cart-top {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cart-item img {
    width: 60px;
    height: 83px;
    object-fit: cover;
}

.cart-info {
    height: 83px;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-around;
}

@media (max-width: 1080px) {
    .cart-item {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 10px 0px;
        width: 100%;
    }

    .cart-top {
        display: flex;
        align-items: center;
        gap: 20px;
    }

}

.cart-info .title {
    font-weight: bold;
    font-size: 15px;
}

.cart-info .price {
    color: #BF0000;
    font-weight: bold;
    font-size: 18px;
}

.cart-info .cart-number-and-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-info .cart-number-and-price .price {
    @media (max-width: 1080px) {
        font-weight: normal;
    }
}

.cart-info .cart-number-and-price>div {
    width: 90px;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.quantity-control {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px 0;
    gap: 10px;
    min-width: 100px;
    justify-content: space-between;
}

.quantity-control button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.quantity-control input {
    border: none;
    height: 100%;
    text-align: center;
    max-width: 43px;
    font-size: 1.1rem;
}

.cart-price {
    color: #BF0000;
    font-weight: bold;
    font-size: 18px;
    width: 100px;
    text-align: right;
}

.delete-button {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #8D8D8D;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    background: transparent;
    font-size: 1rem;
}

.delete-button i {
    font-style: normal;
}

@media (max-width: 1080px) {
    .cart-price {
        margin: 0px;
    }

    .quantity-control {
        gap: 0px;
    }

    .cart-controls {
        justify-content: flex-start;
    }
}

@media (max-width: 375px) {
    .cart-controls {
        gap: 10px;
    }
}

.cart-price.loading,
.checkout-btn.loading {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: transparent;
}

.total_cost span.loading {
    position: relative;
    color: transparent;
}

.cart-price.loading:before,
.total_cost span.loading:before,
.checkout-btn.loading:before,
#card-select.loading:before {
    content: "";
    width: 14px;
    height: 14px;
    padding: 7px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #BF0000;
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
    position: absolute;
    left: calc(50% - 12px);
}

.checkout-btn.loading:before {
    background: #fff;
}

@keyframes l3 {
    to {
        transform: rotate(1turn)
    }
}

/* Favorite Button Styles */
.favorite-btn {
    background: #EBDDBC;
    border: none;
    cursor: pointer;
    padding: 13px 10px;
    margin-right: 10px;
    color: black;
    transition: color 0.3s ease;
    border-radius: 5px;
}

.favorite-btn:hover svg {
    color: #ff6b6b;
}

.favorite-btn.active svg {
    color: #ff0000;
}

.favorite-btn.active svg path {
    fill: #ff0000;
}

@media (max-width: 1080px) {
    .favorite-btn {
        margin-right: 0px;
    }
}