@charset "utf-8";


/* 共通 */
.welcart,
.cart-page,
.member-page {
    max-width: 1200px;
    margin: 0 auto;
}

.customer_form input,
.customer_form textarea {
    font-size: 16px !important;
}

#inside-cart .send {
    border: none !important;
}

#confirm_table h3 {
    color: #fff !important;
}

#confirm_table .ttl {
    background-color: #ccc !important;
}

div.usccart_navi li.usccart_confirm,
div.usccart_navi li.usccart_delivery,
div.usccart_navi li.usccart_customer,
div.usccart_navi li.usccart_cart {
    background: black !important;
}

#customer-info th,
#delivery-info th,
#confirm_table th,
#newmember table th {
    font-size: 14px !important;
    color: black !important;
    font-weight: normal !important;
}

#customer-info table,
#delivery-info table.customer_form,
#newmember table {
    width: 100% !important;
}

#delivery-info .send,
#info-confirm .send {
    border: none !important;
}

#delivery-info td {
    font-size: 14px !important;
}

.confiem_notice {
    font-size: 14px;
    margin-bottom: 30px;
}

.send input {
    background-color: black !important;
    color: #fff !important;
    border: none !important;
    padding: 10px;
    width: auto;
    line-height: 1;
    cursor: pointer;
}

#confirm_table td {
    font-size: 14px !important;
}

.cart_page_title,
.member_page_title {
    text-align: center;
    margin-bottom: 40px;
}

.welcart .welcart_sub_menu {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
}

.welcart .welcart_sub_menu li a {
    display: block;
    background-color: #f0f0f0;
    border-radius: 5px;
    color: #333;
    padding: 5px 30px;
    margin-right: 5px;
    font-weight: bold;
    text-align: center;
}

.welcart .currency_code {
    display: none;
}

.welcart table {
    background-color: #fff;
    border-collapse: collapse;
    border-spacing: 0;
    margin: auto;
}

table.customer_form {
    margin: auto;
}

.welcart .ec_item-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
}

.welcart .ec_item-list li {
    width: calc(25% - 160px / 4);
    margin: 20px 20px 40px 20px;
}

.welcart .ec_item-list li img {
    width: 100%;
    height: calc(38vh * 0.5);
    object-fit: cover;
}



/* 詳細ページ */
.item_wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 28px;
    padding-bottom: 130px;
}

.item_R {
    /* width: 46%; */
    /* max-width: 543px; */
}

.item_L {
    /* width: 51%; */
    /* margin-top: 10px; */
}

.item_L h2 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 7px;
    font-weight: bold;
}

.item_L .item-description {
    margin-bottom: 20px;
}

.item_L .skuform {
    margin-bottom: 60px;
}

.item_L .skuname {
    font-weight: bold;
    font-size: 1.4rem;
}

.item_L .field .zaikostatus {
    text-align: right;
}

#itempage .itemimg img,
#itempage .itemsubimg img {
    height: 100%;
}

#itempage .item_L .field .field_cprice {
    font-size: 1rem;
    text-decoration: line-through;
}

#itempage .item_L .c-box {
    text-align: left;
    margin-top: 40px;
}

#itempage .item_L .c-box .cart-button input {
    border-radius: 0;
    background-color: black;
    padding: 24px 10px;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    color: #FFF;
    transition: all 0.2s ease 0s;
    background-color: black;
    color: #fff;
    width: 100%;
    display: block;
    border: none;
    padding: 25px 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-top: 20px;
}

#itempage .item_L .c-box .cart-button input:hover {
    cursor: pointer;
    opacity: 0.7;
}

.welcart-container.inner {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-bottom: 90px;
}

.welcart-sidebar {
    max-width: 202px;
    width: 100%;
}

ul.welcart_sub_menu {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.welcart-sidebar h3 {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 16px;
}

#itempage .field {
    height: auto;
    width: auto;
    margin: 0px;
    border: none !important;
}



/* カート */
.cart-page .cart_navi ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.cart-page .cart_navi ul li {
    background-color: #fff;
    font-weight: bold;
    color: black;
    padding: 10px;
    width: 24%;
    text-align: center;
    border: 1px solid;
}

.cart-page .cart_navi ul li.current {
    background-color: black;
    color: #fff;
}


.cart-page .send {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

#newmember .send input[type=submit],
.cart-page .send input[type=submit],
.cart-page .send input[type=button],
.member-page .loginbox #member_login {
    display: block;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 5px;
    background-color: #898989;
    color: #FFF;
    font-weight: bold;
    width: 300px;
    padding: 20px 40px;
    cursor: pointer;
    margin: 5px;
    transition: all 0.2s ease 0s;
    border-radius: 0;
}

#newmember .send input[type=submit] {
    margin: 5px auto;
}

.cart-page .send input:hover,
.member-page .loginbox #member_login:hover {
    opacity: 0.8;
}

.member-page .loginbox #member_login {
    width: 60% !important;
    margin: 0 auto;
    padding: 20px !important;
}

.cart-page .send input.to_customerinfo_button,
.cart-page .send input.to_memberlogin_button,
.cart-page .send input.to_deliveryinfo_button,
.cart-page .send input.to_reganddeliveryinfo_button,
.cart-page .send input.to_confirm_button,
.cart-page .send input.checkout_button,
.member-page .loginbox #member_login {
    background: #5acda5;
}

.cart-page .send input.to_customerinfo_button,
.cart-page .send input.to_memberlogin_button,
.cart-page .send input.to_deliveryinfo_button,
.cart-page .send input.to_reganddeliveryinfo_button,
.cart-page .send input.to_confirm_button,
.cart-page .send input.checkout_button,
.member-page .loginbox #member_login {
    background: black;
}


/* お客様情報 */
#customer-info form {
    margin-bottom: 60px !important;
}

#customer-info h5 {
    background-color: black !important;
    padding: 10px !important;
    font-weight: bold;
    border-radius: 10px 10px 0px 0px;
    color: #fff;
}

body #customer-info .send {
    border: none;
}

/* テーブル */
#customer-info th,
#newmember th {
    font-size: 12px;
    line-height: 150%;
    font-weight: bold;
    color: #4c4d25;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    border: 1px solid #e6e6e6;
    background-color: #f3f3f3;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    width: 25%;
}

#content #wc_cart img,
#content #wc_confirm img {
    height: auto;
}

.cart-page table {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    margin-bottom: 41px;
}

#newmember table th {
    width: 36%;
}

.cart-page table th,
.cart-page table td,
#newmember table th,
#newmember table td {
    padding: 10px !important;
    font-size: 1.0rem !important;
}




/* フォーム */
.customer_form input,
.customer_form textarea {
    width: 100% !important;
    background-color: #dedede;
    border: none;
    border-radius: 5px;
    padding: 10px;
}

.customer_form input[type=radio] {
    width: auto !important;
}

#delivery-info .customer_form dt {
    font-size: 1.0rem !important;
}


/* ログイン */
.member-page .loginbox {
    width: 60% !important;
    margin-top: 0 !important;
    padding: 20px 40px !important;
    margin: auto;
}

.member-page .loginbox p {
    font-size: 1rem !important;
    margin-bottom: 23px;
}

.member-page .loginbox input {
    width: 100% !important;
    background-color: #dedede;
    border: none;
    border-radius: 5px;
    padding: 10px !important;
}

.member-page .loginbox input[type=checkbox] {
    width: auto !important;
}

.member-page .new-entry {
    display: none;
}

#memberpages input.loginmail,
.member-page .loginbox input {
    line-height: 30px !important;
}

@media only screen and (max-width: 821px) {
    .member-page .loginbox {
        width: 100% !important;
    }
}



/* 会員情報登録 */
#newmember .header_explanation li {
    font-size: 0.8rem;
}

#newmember table.customer_form .name_td .member_name,
#memberinfo table.customer_form .name_td .member_name {
    padding-left: 0;
}




/*編集*/



ul.ec_item-list li a img {
    height: 175px;
    width: 100%;
    object-fit: cover;
}

ul.ec_item-list li {
    /* max-width: 31.7%; */
    /* margin-right: 13px; */
    width: 100%;
}

ul.ec_item-list li a {
    display: block;
    width: 100%;
}

.ec_item-list_info {
    /* margin-top: 3px; */
    /* max-width: 257px; */
    /* margin-bottom: 22px; */
}

.ec_item-list_info h3 {
    font-size: 17px;
}

.item-price span {
    color: #1b1917;
}

.item-options {
    margin: 30px 0 19px;
}


/*タブを横並びに*/
.tab-label {
    display: block;
    float: left;
}


/*ラジオボタンを全て非表示に*/
input[name="tab-radio"] {
    display: none;
}

.tab-label {
    color: #cdcdcd !important;
    cursor: pointer !important;
    padding: 0px 20px 13px;
    transition: .3s;
    font-size: 18px;
    border-bottom: 2px solid #cdcdcd;
    width: 50%;
    text-align: center;
    font-weight: normal;
    letter-spacing: 4px;
}

.tab-label:hover {
    opacity: .7 !important;
}

/* 選択されたタブの見た目 */
input:checked+h2>.tab-label {
    color: #000 !important;
    transition: .3s;
    width: 50%;
    border-bottom: 2px solid;
    text-align: center;
}

.tab-panel {
    clear: both;
    display: none;
    padding-top: 27px;
    line-height: 2;
    font-size: 16px;
}

/* 選択されているチェックボックスに応じてパネルを表示 */
#tab-a:checked~.panel-a,
#tab-b:checked~.panel-b,
#tab-c:checked~.panel-c {
    display: block;
}

.tab-panel&gt;

div {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

dl.item-option dd {
    display: flex;
}

label.iopt_radio_label {
    border: 1px solid;
    border-radius: 30px;
    padding: 1px 10px;
    margin-right: 6px;
}

dl.item-option dt {
    margin-bottom: 15px;
    color: #cdcdcd;
    font-size: 14px;
}

label.iopt_radio_label:checked+label {
    background-color: black;
}

ul.ec_item-list {
    display: flex;
    flex-wrap: wrap;
}


.welcart-content {
    /* max-width: 858px; */
    /* width: 100%; */
}

.item-price {
    font-size: 24px;
    margin-bottom: 40px;
}

#mainSlider .main-slide {
    display: none;
}

#mainSlider .main-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

#thumbSlider {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

#thumbSlider .thumb-slide img {
    object-fit: cover;
}

#thumbSlider .thumb-slide {
    width: 100px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

#thumbSlider .thumb-slide.active,
#thumbSlider .thumb-slide:hover {
    opacity: 1;
}

#thumbSlider .thumb-slide {
    width: 100px;
}

.header_explanation {
    max-width: 830px;
    margin: 0 auto 29px;
}

.other_mv h1 {
    text-align: center;
    padding-top: 119px;
}

div#primary input.quantity {
    max-width: 28px;
}

#cart th,
#cart td {
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #FFFFFF;
    border-right-color: #CCCCCC;
    border-bottom-color: #CCCCCC;
    border-left-color: #FFFFFF;
    padding-top: 3px;
    padding-right: 5px;
    padding-bottom: 3px;
    padding-left: 5px;
    vertical-align: middle;
    text-align: center;
    white-space: normal;
    word-break: break-all;
}

.cart-page table {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}

#cart th,
#cart td {
    border-left: 1px solid #CCCCCC;
    border-top: 1px solid #CCCCCC;
    border-bottom: none;
}

#cart th {
    color: #FFFFFF;
    background-color: #999999;
    white-space: nowrap;
    font-weight: normal;
    font-size: 0.9em;
}

.upbutton {
    max-width: fit-content;
    margin: 0 0 9px auto;
}

div#primary {
    padding-top: 60px;
    max-width: 1100px;
    margin: auto;
    padding: 70px 0 43px;
}

ul.welcart_sub_menu li {
    max-width: 48%;
    width: 100%;
}

input#search-keyword {
    border: none;
    max-width: 100%;
    padding: 2px 5px 3px;
    margin-top: 4px;
    width: 100%;
}

.kensaku-wrap button {
    background: #fff;
    border: 1px solid;
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding: 8px;
    border-radius: 3px;
    margin-top: 12px;
    font-size: 12px;
}

.search-keyword-wrap label,
.search-cat-wrap label {
    display: inline-block;
    line-height: 1;
    margin-bottom: 10px;
}

select#search-cat {
    border: none;
    width: 100%;
    padding: 3px;
}

.search-keyword-wrap,
.search-cat-wrap {
    margin-bottom: 10px;
}

.wc_ubmenu-wrap {
    background: #E6E6E6;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

ul.welcart_sub_menu li a i {
    margin-right: 6px;
}

ul.welcart_sub_menu li a {
    background: #fff;
    width: 100%;
    height: 100%;
    border: 1px solid;
    padding: 5px 0;
    font-size: 12px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

ul.policy-tokusyo-wrap {
    padding-top: 4px;
}

ul.policy-tokusyo-wrap li a {
    font-size: 13px;
    display: block;
    margin-bottom: 7px;
}

ul.category-list {
    margin-bottom: 30px;
}

ul.policy-tokusyo-wrap li a {
    font-size: 13px;
    display: block;
    margin-bottom: 11px;
}

ul.category-list>ul>li>ul>li {
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 14px;
}

div#img-box {
    max-width: 550px;
    margin: 0 auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

body input#search_zipcode {
    /*    background: black;
    color: #fff;
    margin-top: 10px;
    border-radius: 0px;
    cursor: pointer;*/
    display: none;
}

/* 完了ページ */
.completion_message {
    text-align: center;
}

/* マイページ */
#memberinfo table .num,
#memberinfo table td {
    font-size: 14px;
}

/* Welcart配送ページ等のブロックCSS救済策 */

/* --- Welcart配送ページ等でのWPレイアウト救済 --- */

/* 1. 基本のFlex適用 */
body .is-layout-flex {
    display: flex !important;
}

/* 2. justify-content (配置) の救済 */
body .is-layout-flex.is-content-justification-center {
    justify-content: center;
}

body .is-layout-flex.is-content-justification-right {
    justify-content: flex-end;
}

body .is-layout-flex.is-content-justification-space-between {
    justify-content: space-between;
}

body .is-layout-flex.is-content-justification-left {
    justify-content: flex-start;
}

/* 3. align-items (垂直方向) の救済 */
/* WPのカラムやグループでよく使われる配置クラス */
body .is-layout-flex.are-vertically-aligned-center {
    align-items: center;
}

body .is-layout-flex.are-vertically-aligned-bottom {
    align-items: flex-end;
}

body .is-layout-flex.are-vertically-aligned-top {
    align-items: flex-start;
}

/* 4. 個別の位置合わせ (Vertical Alignment) */
body .is-layout-flex>.is-vertically-aligned-center {
    align-self: center;
}

body .is-layout-flex>.is-vertically-aligned-bottom {
    align-self: flex-end;
}

/* 5. 縦並び (Stack) の場合の対応 */
body .is-layout-flex.is-vertical {
    flex-direction: column;
}

/* カート注釈文 */
.cart-note {
    font-size: 18px !important;
    margin-top: 20px !important;
    text-align: justify !important;
    color: #FFF !important;
}

.cart-note span {
    display: inline-block !important;
    font-size: 20px !important;
    font-weight: bold !important;
    color: #82ae46 !important;
    margin-bottom: 5px !important;
}

#inside-cart .cart-note {
    margin-bottom: 50px;
}

#customer-info .error_message {
    font-size: 16px !important;
}

.credit_link {
    font-weight: bold !important;
    color: #82ae46 !important;
    text-decoration: underline !important;
}

#zeus_agree_check {
    width: auto !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    flex-shrink: 0;
    margin-right: 5px;
}

#time input[name="offer[payment_name]"],
#zeus_token_card_expires_month,
#zeus_token_card_expires_year {
    width: auto !important;
    margin: 0 5px 0 0 !important;
}

#cart .thumbnail a img {
    height: auto !important;
}

/* ==============================
    タブレット縦のみ
============================== */

@media (max-width: 1286px) and (min-width: 710px) {

    ul.ec_item-list {
        display: flex;
        flex-wrap: wrap;
    }

    .welcart-container {
        padding-bottom: 45px;
    }

    .welcart,
    .cart-page,
    .member-page {
        max-width: 1100px;
        margin: 0 auto;
        width: 90%;
    }

    .item_wrap {
        justify-content: center;
    }

    ul.ec_item-list li a {
        display: block;
        width: 100%;
    }



}


/* ==============================
    タブレット横のみ
============================== */

@media (max-width: 1500px) and (min-width: 710px) {
    ul.ec_item-list li {
        max-width: 47%;
        margin-right: 11px;
    }

    .welcart,
    .cart-page,
    .member-page {
        max-width: 1100px;
        margin: 0 auto;
        width: 90%;
    }

    .item_L {
        width: 100%;
        margin-top: 10px;
    }

    .item_R {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}


@media screen and (max-width: 1100px) {
    ul.ec_item-list li {
        max-width: 48%;
        margin-right: 13px;
    }

    ul.ec_item-list li:nth-of-type(2n) {
        margin-right: 0;
    }

    .welcart-sidebar {
        max-width: 247px;
        width: 100%;
        padding-left: 26px;
    }

    ul.policy-tokusyo-wrap li a {
        font-size: 12px;
    }

    .welcart-sidebar {
        margin: 0 0 0 auto;
    }


}

/* ==============================
    スマホ
============================== */

@media screen and (max-width: 710px) {
    table#cart_table td {
        font-size: 14px !important;
        padding: 7px 12px !important;
    }

    #cart th {
        font-size: 14px !important;
        padding: 10px !important;
    }

    .other_mv h1 {
        text-align: center;
        padding-top: 39px;
        font-size: 30px;
    }

    .cart-page .cart_navi ul li {
        width: 49%;
        margin-bottom: 1.5%;
        font-size: 14px;
        padding: 7px;
    }

    .cart-page .send input {
        width: 100% !important;
    }

    .cart-page thead {
        display: none;
    }

    .cart-page #cart tbody td {
        width: 100%;
        display: block;
        text-align: left;
    }


    .cart-page tbody .thumbnail img {
        height: auto;
    }

    .cart-page table {
        table-layout: fixed;
        width: 100%;
    }

    .cart-page th,
    .cart-page td {
        width: 100% !important;
        display: block;
    }

    .cart-page tfoot .num,
    .cart-page tfoot .thumbnail,
    .cart-page tfoot .stock,
    .cart-page tfoot .action {
        display: none;
    }

    .item_wrap {
        display: block;
    }

    .item_R {
        width: 100%;
        max-width: 100%;
    }

    .item_L {
        width: 100%;
    }

    ul.policy-tokusyo-wrap {
        padding-top: 24px;
    }

    dl.item-option {
        margin-bottom: 15px;
    }

    h2.wp-block-heading.has-text-align-center.under-title.product-title:before {
        font-size: 15px;
    }

    a.wp-block-button__link.wp-element-button.hurusato {
        padding-top: 17px;
    }

    .welcart-container.inner {
        display: block;
        padding-bottom: 58px;
    }

    .welcart-sidebar {
        max-width: 100%;
        width: 100%;
        margin: 39px auto 0;
        padding: 0;
    }


    ul.welcart_sub_menu li {
        max-width: 49%;
    }

    ul.welcart_sub_menu {
        display: flex;
        justify-content: space-between;
        margin-bottom: 35px;
        max-width: 100%;
        margin: 0 auto 35px;
    }

    ul.category-list {
        max-width: 100%;
        margin: 0 auto;
        line-height: 1.5;
        font-size: 14px;
    }

    .ec_item-list_info {
        margin-top: 3px;
        margin-bottom: 15px;
    }

    ul.ec_item-list li:nth-of-type(3n) a {
        margin-right: 9px;
    }

    .ec_item-list_info h3 {
        font-size: 14px;
        line-height: 1;
    }

    .ec_item-list .ec_price {
        font-size: 16px;
    }

    a.wp-block-button__link.wp-element-button.hurusato {
        padding-top: 23px;
        height: 65px;
        margin-bottom: 18px;
        font-size: 16px;
        max-width: 300px;
    }

    .welcart {
        width: 100%;
        margin: 0 auto;
    }

    .main-slider img {
        width: 100%;
        height: auto;
    }

    .item_L h2 {
        margin-top: 0;
        font-size: 16px;
        margin-bottom: 1px;
    }

    #itempage .item_L .c-box {
        text-align: left;
        margin-top: 0;
    }

    .item-price {
        font-size: 19px;
        margin-bottom: 11px;
        text-align: right;
    }

    #itempage .item_L .c-box .cart-button input {
        border-radius: 0;
        background-color: black;
        padding: 24px 10px;
        border: none;
        font-size: 1rem;
        font-weight: bold;
        color: #FFF;
        transition: all 0.2s ease 0s;
        background-color: black;
        color: #fff;
        width: 100%;
        display: block;
        border: none;
        padding: 21px 0;
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
        margin-top: 20px;
    }

    input:checked+h2>.tab-label {
        color: #000 !important;
        transition: .3s;
        width: 50%;
        border-bottom: 2px solid;
        text-align: center;
        font-size: 14px;
    }

    .tab-label {
        padding: 0px 12px 9px;
        letter-spacing: 4px;
        font-size: 14px;
    }

    #newmember .send input[type=submit],
    .cart-page .send input[type=submit],
    .cart-page .send input[type=button],
    .member-page .loginbox #member_login {
        font-size: 14px !important;
    }

    .item_wrap {
        padding-bottom: 61px;
    }

    div#cart {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    div#primary {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
        padding: 27px 0 87px;
    }

    .cart-page table th,
    .cart-page table td,
    #newmember table th,
    #newmember table td {
        padding: 12px !important;
        font-size: 1.0rem !important;
    }

    table.customer_form tr {
        display: block;
        width: 100%;
    }

    div#newmember tbody {
        display: block;
    }

    #newmember table th {
        width: 100%;
        display: block;
    }

    tr#name_row {
        display: block;
    }

    .cart_navi {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .send {
        max-width: 500px;
        margin: 0 auto;
    }

    .welcart,
    .cart-page,
    .member-page {
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
    }

    .currency_code {
        font-size: 12px;
        margin: 30px 0 12px;
    }

    #delivery-info th,
    #delivery-info td,
    #customer-info th,
    #customer-info td,
    #newmember table th,
    #newmember table td {
        display: block;
        width: 100% !important;
        padding: 13px !important;
        font-size: 12px !important;
    }

    #delivery-info .customer_form dt label {
        font-size: 12px;
    }

    div.usccart_navi li.ucart {
        background-color: #B3B3B3;
        float: left;
        margin: 0px;
        color: #FFFFFF;
        font-weight: bold;
        text-align: center;
        width: 25%;
        font-size: 10px;
        padding: 4px 0;
    }

    div.header_explanation {
        padding-top: 0;
        margin: 0 auto;
    }

    .send input {
        font-size: 14px !important;
        margin-bottom: 7px;
    }

    #inside-cart .send {
        border: none !important;
    }

    #cart .upbutton {
        font-size: 12px !important;
    }

    div#newmember {
        width: 90%;
        margin: 0 auto;
    }

    .customer_form input,
    .customer_form textarea {
        font-size: 14px !important;
    }
}

/* ==============================
    追加CSS
============================== */
.item-price span {
    color: #FFF;
}

.wp-block-post-terms .wp-block-post-terms__separator {
    display: none;
}

/* 商品一覧-タイトル画像 */
.shop-wrap .under-v {
    position: relative;
    width: 100%;
    height: 280px;
    margin-top: -100px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
    background: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.under-v.cat-item {
    background-position: center 80%;
}

.under-v.cat-sweets,
.under-v.cat-wagashi,
.under-v.cat-pastries,
.under-v.cat-matcha,
.under-v.cat-pure,
.under-v.cat-gluten-free {
    background-position: center 35%;
}

.under-v.cat-tea,
.under-v.cat-green-tea,
.under-v.cat-hojicha,
.under-v.cat-genmaicha {
    -webkit-mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0) 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-size: 80%;
    background-position: center 55%;
}

.under-v.cat-tea::after,
.under-v.cat-green-tea::after,
.under-v.cat-hojicha::after,
.under-v.cat-genmaicha::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            #000 0%,
            transparent 40%,
            transparent 60%,
            #000 100%);
    z-index: 1;
    pointer-events: none;
}

.under-v.cat-best {
    -webkit-mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0) 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-size: 80%;
    background-position: center 55%;
}

.under-v.cat-best::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            #000 0%,
            transparent 40%,
            transparent 60%,
            #000 100%);
    z-index: 1;
    pointer-events: none;
}

.welcart-container.inner {
    position: relative;
    display: flex;
    width: 90%;
    max-width: 1440px;
    margin: 150px auto 0;
    padding-bottom: 200px;
    gap: 60px;
}

.welcart-sidebar {
    position: relative;
    flex: 0 0 330px;
    max-width: 30%;
    z-index: 2;
}

#other-page .welcart-container.inner::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 800px;
    height: 800px;
    background-image: url("../img/img_title_bg_02.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    bottom: 5%;
    left: -20%;
    opacity: .4;
    z-index: 1;
}

.welcart-content {
    position: relative;
    flex: 1;
    max-width: 65%;
    z-index: 2;
}

ul.ec_item-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

ul.ec_item-list li {
    width: 46%;
    max-width: initial;
    margin-right: initial;
    margin-bottom: 100px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

ul.ec_item-list li>a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

ul.ec_item-list li>a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

ul.ec_item-list li>a:hover img {
    transform: scale(1.1);
}

.ec_item-list_info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 20px;
    margin-top: initial;
    max-width: initial;
    margin-bottom: initial;
}

.ec_item-list_info h3 {
    /* margin: 0 0 10px 0; */
    padding: 0;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    height: 3em;
    /* height: 4.8em; */
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ec_price {
    display: block;
    width: 100%;
    font-size: 22px;
    font-weight: 600;
    /* margin-top: auto; */
    margin-top: 20px;
    padding-top: 15px;
    text-align: right;
    border-top: 1px solid #82ae46;
}

.welcart-sidebar h3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: none;
    padding: 30px 5px;
    font-size: 1.6rem;
    font-weight: 500;
}

.welcart-sidebar h3::before {
    content: "";
    -webkit-mask-image: url("../img/img_title_bg_02.png");
    mask-image: url("../img/img_title_bg_02.png");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: #4e682a;
    width: 60px;
    height: 60px;
    display: inline-block;
    margin-right: 10px;
}

/* ----------------------------------------------------
   ここからアコーディオン・カテゴリーリストの修正版設定
---------------------------------------------------- */

/* 親カテゴリーの行（フレックスかつ折り返しを許可） */
li.category-item {
    display: flex;
    flex-wrap: wrap;
    /* 子リストを下に落とすために必須 */
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #82ae46;
    width: 100%;
    position: relative;
    transition: .3s;
}

.category-list>li.category-item:first-child {
    border-top: 1px solid #82ae46;
}

/* カテゴリー名の文字リンク */
li.category-item a {
    display: block;
    padding: 20px 0 16px 20px;
    font-family: "Lora", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #FFF;
    text-decoration: none;
    flex-grow: 1;
}

/* 開閉ボタンのベース設定 */
button.accordion-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 60px;
    height: 58px;
    padding: 0;
    outline: none;
    flex-shrink: 0;
}

/* ＋・ーのアイコン線（緑色に統一） */
button.accordion-toggle::before,
button.accordion-toggle::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 20px;
    height: 1px;
    background-color: #82ae46;
    transition: all 0.2s;
}

button.accordion-toggle::after {
    transform: translateY(-50%) rotate(90deg);
}

button.accordion-toggle::before {
    transform: translateY(-50%);
}

/* アコーディオンが開いたとき（.open）は縦線を回転させてマイナスに見せる */
button.accordion-toggle.open::after {
    transform: translateY(-50%) rotate(0deg);
}

/* ホバー時の透明度 */
.category-item>a:hover,
.category-item>button:hover {
    opacity: 0.6;
    transition: 0.3s;
}

/* 子カテゴリーのリストを親の並びから独立させて真下に落とす */
.category-list .subcategory-list {
    width: 100%;
    flex-basis: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 子カテゴリーの行設定（縦並び・下線を消去） */
.subcategory-list li.category-item {
    display: block;
    border-bottom: none;
}

/* 子カテゴリー内のリンクと「＞」矢印のデザイン */
.subcategory-list .category-item a {
    position: relative;
    font-size: 1rem;
    padding-left: 10%;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subcategory-list .category-item a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #82ae46;
    border-right: 2px solid #82ae46;
    transform: rotate(45deg);
    margin-right: 20px;
    display: inline-block;
    flex-shrink: 0;
}

.subcategory-list .category-item a:hover {
    opacity: 1;
}

.subcategory-list .category-item a:hover::after {
    border-color: #fff;
    transform: translateX(3px) rotate(45deg);
    transition: .3s;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 40px;
    transition: 0.3s;
    font-size: 1.2rem;
    font-weight: 500;
}

.pagination .current {
    color: #82ae46;
    border-bottom: 1px solid #82ae46;
}

.pagination .dots {
    padding: 0 5px;
    color: #FFF;
}

.page-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #82ae46;
    border-right: 2px solid #82ae46;
    box-sizing: border-box;
}

.page-arrow.next {
    transform: rotate(45deg);
    margin-left: -2px;
}

.page-arrow.prev {
    transform: rotate(-135deg);
    margin-right: -2px;
}

.pagination a.page-numbers:hover {
    opacity: .6;
}

/* 商品詳細ページ */
.single .welcart-container.inner {
    display: block;
}

.single .welcart-container.inner {
    margin-top: 0;
}

.single .welcart-content {
    flex: initial;
    max-width: initial;
}

.single #itempage {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

.single #itempage .item_wrap {
    margin: 0 auto;
    max-width: 1440px;
    gap: 4%;
}

.item_R {
    width: 45%;
}

.item_R #img-box {
    max-width: initial;
}

.item_L {
    width: 47%;
}

.single .main-slide a {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}

.single .main-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

#thumbSlider {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 15px;
    margin-top: 30px;
}

#thumbSlider .thumb-slide {
    width: calc((100% - (15px * 3)) / 4);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
}

#thumbSlider .thumb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single .item_L h2 {
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 7px;
    font-weight: 500;
    text-align: left;
}

.single .item-description {
    margin-top: 40px;
}

.single .item-description p {
    line-height: 1.8;
}

.single .item-info {
    margin-top: 50px;
}

.single .skuform {
    border-bottom: 1px solid #eee;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
}

.single .skuform:last-child {
    border-bottom: none;
}

.single .sku-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}

.single .item-price {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0;
    margin-right: -1%;
}

.single .tax-label {
    font-weight: 500;
}

.single .skuname {
    font-weight: 300 !important;
    font-size: 1.1rem !important;
}

.single .c-box {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 0 !important;
}

#itempage .item_L .c-box .cart-button {
    width: 100%;
    margin-left: 7% !important;
}

#itempage .item_L .c-box .cart-button input {
    background-color: #4E682A;
    font-weight: 500;
    color: #FFF;
    transition: all 0.2s ease 0s;
    width: 100%;
    display: block;
    padding: 20px 0;
    line-height: 1;
    margin-top: 0;
}

#itempage .skuform .skuquantity {
    text-align: right;
    width: 3.5em !important;
    padding: 10%;
}

#itempage .zaiko_status_inline {
    font-size: 0.9rem;
    white-space: nowrap;
}

.single .more_btn a {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.single .more_btn a::before {
    display: inline-block;
    top: 50%;
    left: initial;
    right: 20px;
    width: 10px !important;
    height: 10px !important;
    -webkit-mask-image: none;
    mask-image: none;
    background-color: transparent;
    z-index: 2;
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    transform: translateY(-50%) rotate(45deg);
    margin-right: 5px;
}

.single .more_btn a:hover::before {
    background-color: transparent;
    border-top: 2px solid#000;
    border-right: 2px solid#000;
}

/* カート・メンバーページ */
.cart_page_title,
.member_page_title {
    position: relative;
    font-weight: 500;
    z-index: 1;
    margin-top: 50px;
}

.member_page_title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background: url(../img/img_title_bg_02.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.member-box .nav {
    margin-top: 20px !important;
}

.member-box a {
    display: block;
    color: #000;
    text-align: center !important;
}

.member-box .nav a:first-child {
    text-decoration: underline;
}

.member-box .nav a:last-child {
    width: 250px;
    padding: 20px;
    background-color: #424225;
    color: #FFF;
    margin: 0 auto;
}

.usccart_navi {
    width: 100%;
    margin-bottom: 40px;
}

.usccart_navi ol.ucart {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 5px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.usccart_navi ol.ucart li.ucart {
    flex: 1 !important;
    text-align: center;
    white-space: nowrap !important;
    padding: 12px 5px;
    box-sizing: border-box;
}

.other_mv h1 {
    text-align: center;
    padding-top: 100px;
    font-weight: 500;
}

.header_explanation {
    max-width: 880px;
}

.header_explanation ul li {
    font-size: 18px !important;
}

#customer-info th,
#delivery-info th,
#confirm_table th,
#newmember table th {
    font-size: 18px !important;
    color: #FFF !important;
}

#newmember th {
    background-color: #000 !important;
    color: #FFF !important;
}

#newmember td {
    color: #FFF !important;
}

#newmember .send input[type=submit] {
    margin: 5px auto;
    margin-top: 50px;
    padding: 30px 0 !important;
    background-color: #4e682a !important;
}

.member_com .send a {
    display: block !important;
    position: relative;
    color: #ffffff !important;
    border: none !important;
    border-left: 2px solid #82ae46 !important;
    background-color: #424225 !important;
    background-image: none !important;
    border-radius: 0 !important;
    width: 340px !important;
    padding: 30px 0 !important;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 1rem;
    overflow: hidden;
    text-align: center;
    margin: 0 auto !important;
    margin-top: 150px !important;
    margin-bottom: 200px !important;
    cursor: pointer;
    transition: background-color .5s, color .5s;
}

.member_com .send a:hover {
    background-color: #82ae46 !important;
    color: #000000 !important;
}

.member_com .send a::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;
    left: auto !important;
    width: 10px !important;
    height: 10px !important;
    border-top: 2px solid #ffffff !important;
    border-right: 2px solid #ffffff !important;
    transform: translateY(-50%) rotate(45deg) !important;
    background-color: transparent !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    z-index: 2;
    margin-right: 5px;
    transition: border-color .5s;
}

.member_com .send a:hover::before {
    background-color: transparent !important;
    border-top: 2px solid #000000 !important;
    border-right: 2px solid #000000 !important;
}

.member_com .send a::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('../img/img_btn_bg.png') !important;
    background-size: 700px !important;
    background-position: 0 -5px !important;
    mix-blend-mode: screen !important;
    opacity: .1 !important;
    z-index: 1;
}

.member_com p {
    font-size: 1.3rem;
    text-align: center;
    margin-top: 20px;
}

.member_com p a {
    font-size: 1rem;
    padding: 30px 9%;
    background-color: #4e682a;
}

#memberinfo th {
    text-align: center;
    border: 1px solid #e6e6e6;
    background-color: #f8f8f8;
    font-size: 1rem !important;
    line-height: 150%;
    font-weight: normal;
    color: #4e5020;
}

#memberinfo table .num,
#memberinfo table td {
    font-size: 1rem !important;
    color: #FFF !important;
    padding: 10px;
}

#memberpages #memberinfo ul li {
    font-size: 1rem !important;
    margin-top: 10px;
}

#memberpages div.loginbox,
#memberpages .loginbox p a:not(.member-box .nav a:last-child) {
    color: #000 !important;
}

.error_message {
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    color: #ff0000;
}

#customer-info h5 {
    font-size: 18px;
}

#customer-info th {
    background-color: #000 !important;
}

#customer-info th,
#customer-info td,
#delivery-info th,
#delivery-info td,
#newmember table th,
#newmember table td {
    color: #FFF !important;
    border: none !important;
    padding: 20px !important;
    border-bottom: 1px solid #FFF !important;
    background-color: #000 !important;
}

#customer-info td,
#delivery-info td,
#delivery-info .customer_form dt,
#delivery-info .customer_form dd {
    color: #FFF !important;
    font-size: 16px !important;
}

#customer-info .send input,
#inside-cart .send input,
#delivery-info .send input,
.cart-page .send input[type=submit],
#wc_ordercompletion .send {
    background-color: #4e682a !important;
    color: #fff !important;
    border: none !important;
    padding: 20px 40px;
    width: auto;
    line-height: 1;
    cursor: pointer;
    border-radius: 0 !important;
}

#wc_ordercompletion .send {
    text-align: center;
    width: 280px;
    margin: 0 auto;
}

#wc_ordercompletion {
    margin-top: -100px;
    padding: 100px 0;
}

div.usccart_navi li.ucart {
    background-color: #424225 !important;
    padding: 10px 0;
    margin-right: 10px !important;
    width: 24% !important;
}

div.usccart_navi li.usccart_confirm,
div.usccart_navi li.usccart_delivery,
div.usccart_navi li.usccart_customer,
div.usccart_navi li.usccart_cart {
    background: #000 !important;
    border: 1px solid #4e682a;
}

#cart th,
#cart td {
    /* border: 1px solid #FFF !important; */
    background-color: #000 !important;
}

#cart:not(#info-confirm #cart):not(#inside-cart #cart) td.num,
#cart:not(#info-confirm #cart):not(#inside-cart #cart) td.thumbnail,
#cart:not(#info-confirm #cart):not(#inside-cart #cart) td.productname,
#cart:not(#info-confirm #cart):not(#inside-cart #cart) td.aright,
#cart:not(#info-confirm #cart):not(#inside-cart #cart) td.quantity,
#cart:not(#info-confirm #cart):not(#inside-cart #cart) td.stock,
#cart:not(#info-confirm #cart):not(#inside-cart #cart) td.action {
    border-bottom: 2px solid #82ae46 !important;
}

#info-confirm #cart tfoot tr:last-child .num,
#info-confirm #cart tfoot tr:last-child .thumbnail,
#info-confirm #cart tfoot tr:last-child .aright,
#info-confirm #cart tfoot tr:last-child .action {
    border-top: 2px solid #82ae46 !important;
}

.lostpassword {
    display: inline-block;
    margin-top: 10px !important;
    color: #FFF;
    text-decoration: underline;
}

.lostpassword:hover {
    color: #82ae46;
}

.confiem_notice {
    font-size: 18px;
}

#confirm_table h3 {
    color: #FFF !important;
    margin-top: 50px !important;
}

#confirm_table h3,
#confirm_table th,
#confirm_table td {
    font-size: 18px !important;
}

#confirm_table th,
#confirm_table td {
    background-color: #000 !important;
    padding: 15px 10px !important;
    border: none !important;
    border-bottom: 1px solid #FFF !important;
    color: #FFF !important;
}

#confirm_table th {
    color: #82ae46 !important;
}

/* 1. モーダルの背景と全体レイアウト */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 40px;
    height: 40px;
    color: #FFF;
    text-align: center;
    line-height: 40px;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

#inside-cart #cart .upbutton input,
#cart input.delButton {
    padding: 5px !important;
    background-color: #FFF !important;
    border-radius: 0 !important;
    color: #000 !important;
    border: none !important;
}

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

    .welcart-sidebar h3 {
        font-size: 1.4rem;
    }
}

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

    .welcart-container.inner {
        display: flex;
        width: 90%;
        margin: 0 auto;
        padding-bottom: 100px;
        gap: 60px;
        flex-direction: column-reverse;
    }

    .welcart-content {
        max-width: 100%;
        margin-top: 100px;
    }

    .welcart-sidebar {
        max-width: 100%;
        padding-left: 0;
    }

    #other-page .welcart-container.inner::before {
        width: 500px;
        height: 500px;
        bottom: 0;
        left: initial;
        right: -10%;
    }

    .welcart-content .pagination {
        margin-top: 0;
    }

    .single #itempage .item_wrap {
        display: flex !important;
        gap: 0;
        padding-bottom: 10%;
    }

    .item_L {
        width: 90% !important;
        max-width: 800px !important;
    }

    .item_R {
        width: 60% !important;
        max-width: 800px !important;
        order: 1 !important;
        margin: 0 auto;
        margin-bottom: 25px;
    }

    .item_L {
        order: 2 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .item-description {
        order: 1 !important;
        margin-bottom: 20px;
    }

    .item-info {
        order: 2 !important;
    }

    .cart-note {
        order: 2 !important;
    }

    #itempage .item_L .c-box .cart-button input:hover {
        opacity: 1;
    }

    .single .more_btn a:hover::before {
        border-top: 2px solid#FFF;
        border-right: 2px solid#FFF;
    }

    .single .item-info {
        margin-top: 0;
    }

    .single .item_L h2 {
        font-size: 1.6rem;
    }

    .single .item-price {
        font-size: 1.2rem;
    }

    div#primary {
        padding-top: 200px !important;
    }

    #wc_ordercompletion {
        padding-top: 0;
        padding-bottom: 50px;
    }

    .other_mv h1 {
        padding-top: 150px;
    }

    div#primary .member-page {
        margin-top: -100px;
    }
}

@media screen and (max-width: 710px) {
    .shop-wrap .under-v {
        height: 200px;
    }

    .subcategory-list .category-item a {
        font-size: 14px;
    }

    .item_wrap {
        justify-content: center !important;
    }

    .single .item_L h2 {
        font-size: 1.4rem;
    }

    .ec_item-list_info h3 {
        font-size: 14px;
    }

    #other-page .welcart-container.inner::before {
        width: 300px;
        height: 300px;
        bottom: 0;
        left: initial;
        right: -10%;
    }

    .welcart-content {
        margin-top: 50px;
    }

    ul.ec_item-list li {
        margin-bottom: 50px;
    }

    .usccart_navi ol.ucart {
        gap: 0;
    }

    .usccart_navi ol.ucart li.ucart {
        font-size: 0.9rem;
        padding: 10px 2px;
    }

    .pagination .page-numbers {
        font-size: 14px;
    }

    li.category-item a {
        font-size: 14px;
    }

    .lostpassword:hover {
        color: #FFF;
    }

    div#primary {
        max-width: 500px;
        padding-top: 50px !important;
        padding-bottom: 0;
    }

    #wc_ordercompletion {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #confirm_table h3 {
        font-size: 16px !important;
    }

    #customer-info h5 {
        margin-top: 50px;
        padding: 0 !important;
    }

    #customer-info h5,
    #customer-info th,
    #customer-info td,
    #delivery-info th,
    #delivery-info td,
    #delivery-info .customer_form dt label,
    .confiem_notice,
    #confirm_table th,
    #confirm_table td,
    #newmember table th,
    #newmember table td,
    .header_explanation ul li,
    #delivery-info .customer_form dd {
        font-size: 14px !important;
    }

    .header_explanation ul {
        margin-top: -100px;
    }

    #info-confirm #cart th,
    #info-confirm #cart td {
        border-top: none !important;
    }

    #info-confirm #cart tfoot tr:last-child .aright {
        border-top: none !important;
    }

    #info-confirm .action {
        display: none !important;
    }

    #inside-cart td.thumbnail img,
    #info-confirm td.thumbnail img {
        display: block;
        max-width: 200px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    #info-confirm #cart_table tr {
        border-top: 2px solid #FFF;
    }

    #info-confirm #cart_table td,
    #info-confirm #cart_table th {
        text-align: left !important;
    }

    #info-confirm #cart_table .num {
        text-align: center !important;
    }

    #info-confirm #cart_table tfoot tr td:not([colspan]),
    #info-confirm #cart_table tfoot tr th:not([colspan]) {
        text-align: right !important;
    }

    #confirm_table th {
        border-bottom: 1px solid #FFF !important;
        padding-top: 30px !important;
    }

    /* 1. 行全体を黒背景で整える */
    #info-confirm #cart_table tfoot tr {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: stretch !important;
        border-top: 1px solid #FFF !important;
        /* 黒背景に馴染む線 */
        padding: 0 !important;
        background-color: #000 !important;
    }

    /* 商品合計の最初だけ緑色の線を引く（ご提示のコードより） */
    #info-confirm #cart_table tfoot tr:first-child {
        border-top: 2px solid #82ae46 !important;
    }

    /* 2. セルの中身（文字）を縦中央に配置 */
    #info-confirm #cart_table tfoot tr th,
    #info-confirm #cart_table tfoot tr td {
        display: flex !important;
        align-items: center !important;
        padding: 10px 15px !important;
        border: none !important;
        background-color: #000 !important;
        /* ここも明示的に黒にする */
        color: #FFF !important;
        /* 文字が見えるように白にする */
    }

    /* 「arightクラスがある」かつ「amountクラスがない」セルだけに右線を引く */
    #info-confirm #cart_table tfoot tr th.aright:not(.amount),
    #info-confirm #cart_table tfoot tr td.aright:not(.amount) {
        border-right: 1px solid #FFF !important;
    }

    /* 送料と内消費税の行（tfoot内の2番目と3番目）のarightから線を消す */
    #info-confirm #cart_table tfoot tr:nth-child(2) td:nth-child(4).aright,
    #info-confirm #cart_table tfoot tr:nth-child(3) td:nth-child(4).aright {
        border-right: none !important;
    }

    /* 4. 不要な列（No.や画像など）を非表示にする */
    #info-confirm #cart_table tfoot tr .num,
    #info-confirm #cart_table tfoot tr .thumbnail,
    #info-confirm #cart_table tfoot tr .action {
        display: none !important;
    }

    #info-confirm #cart_table .subtotal {
        border-bottom: none !important;
    }

    #inside-cart #cart .upbutton {
        font-size: 14px !important;
        margin: 0 auto;
        margin-bottom: 10px;
        padding-right: 0 !important;
    }

    #inside-cart #cart .upbutton input {
        display: block;
        text-align: center !important;
        margin: 0 auto !important;
        padding: 5px !important;
        background-color: #FFF !important;
        border-radius: 0 !important;
        color: #000 !important;
        border: none !important;
    }

    #cart input.delButton {
        padding: 5px !important;
        background-color: #FFF !important;
        border-radius: 0 !important;
        color: #000 !important;
        border: none !important;
    }

    #inside-cart #cart .action {
        text-align: right;
    }

    #inside-cart #cart tbody tr:last-child .action {
        border-bottom: 2px solid #82ae46 !important;
    }

    #inside-cart #cart tbody .num {
        text-align: center;
    }

    #inside-cart #cart tfoot .aright {
        text-align: left !important;
        border-top: none !important;
    }

    #inside-cart #cart tfoot .subtotal {
        text-align: right !important;
    }

    .member-page {
        margin-top: 100px;

    }

    .member_page_title {
        font-size: 1.8rem;
    }

    #memberpages div.loginbox,
    #memberpages div.loginbox label,
    #memberpages div.loginbox a {
        font-size: 14px !important;
    }

    #inside-cart .no_cart {
        font-size: 1rem !important;
    }

    #inside-cart table {
        border: none !important;
    }

    .other_mv h1 {
        padding-top: 100px;
    }

    div#primary .member-page {
        margin-top: 100px;
    }

    .cart-note {
        font-size: 14px !important;
    }

    .cart-note span {
        font-size: 18px !important;
    }

    .ec_price {
        margin-top: 15px;
    }

    #name_row td:first-of-type,
    #furikana_row td:first-of-type {
        border-bottom: none !important;
    }

    /* 「お名前」以外の各項目の上側に余白を追加 */
    .customer_form tr:not(#name_row)>th {
        padding-top: 40px !important;
    }

    #name_row td:last-of-type,
    #furikana_row td:last-of-type {
        padding-top: 0 !important;
    }

    #customer-info th,
    #delivery-info th,
    #newmember table th {
        padding-left: 0 !important;
    }

    #customer-info .customer_form #name_row>th {
        padding-top: 40px !important;
    }

    #customer-info .customer_form tr:first-of-type>th {
        padding-top: 20px !important;
    }
}

@media screen and (max-width: 500px) {
    .item_L {
        width: 100% !important;
    }

    .item_R {
        width: 100% !important;
    }

    .usccart_navi ol.ucart {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    .usccart_navi ol.ucart li.ucart {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        font-size: 13px !important;
        padding: 12px 5px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .under-v.cat-sweets,
    .under-v.cat-wagashi,
    .under-v.cat-pastries,
    .under-v.cat-matcha,
    .under-v.cat-pure,
    .under-v.cat-gluten-free {
        background-size: 130%;
        background-position: center top -10%;
    }

    .under-v.cat-new {
        background-size: 130%;
    }

    .under-v.cat-tea,
    .under-v.cat-green-tea,
    .under-v.cat-hojicha,
    .under-v.cat-genmaicha {
        background-size: 130%;
    }

    .under-v.cat-best {
        background-size: 130%;
    }

    .confiem_notice {
        margin-top: 100px;
    }

    #inside-cart #cart .upbutton {
        margin-top: 50px;
    }

    #inside-cart #cart .upbutton {
        font-size: 13px !important;
    }

    .cart-note span {
        font-size: 15px !important;
    }

    #customer-info .error_message {
        margin-top: 40px;
    }
}