/* カスタマイズ用CSS */
/*2025-07-02*/
.ec-headerRole .ec-headerTitle__title img{
    /*max-width: 500px;*/
    max-width: 650px;
}
.ec-role.new_products_wrap {
    margin-top: 3rem;
}
.ec-role.new_products_wrap .ec-eyecatchRole__image {
    text-align: right;
}
.ec-role.new_products_wrap .ec-eyecatchRole__image img{
    max-width: 550px;
}
.ec-role.new_products_wrap .ec-eyecatchRole {
            align-items: center;
}
.caregory-section-wrap {
    margin-top: 4rem;
}
#page_help_about .ec-about-subtitle {
    margin-bottom: 3.4rem;
    line-height: 1.8rem;
}
#page_help_about .ec-about-subtitle h2 {
    font-weight: bold;
    letter-spacing: 0.05rem;
    margin-bottom: 2rem;
    margin-top: 0;
}
#page_help_about .ec-about-subtitle h2 span{
    font-size: 1.2rem;
}
/*スクロール動作、デフォルトの指定を解除*/
@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: initial !important;
    }
}
/*新規会員登録ページ、会員情報編集ページで、性別の選択肢4つめの「回答しない」を非表示に。*/
.registration_page input[name="entry[sex]"][value="4"],
.registration_page label[for="entry_sex_4"],
#page_mypage_change input[name="entry[sex]"][value="4"],
#page_mypage_change label[for="entry_sex_4"]{
    display:none!important;
}
#page_product_list .order-by option[value="2"] { display: none; }

/*ご注文手続き画面で、配送方法等を非表示に*/
#page_shopping .ec-orderDelivery .ec-orderDelivery__actions,
#page_shopping_redirect_to .ec-orderDelivery .ec-orderDelivery__actions{
    /*display: none;*/
}
/*ご注文手続き画面で、配送方法等を非表示に*/
#page_shopping .ec-select.ec-select__statick_shipping_method b,
#page_shopping_redirect_to .ec-select.ec-select__statick_shipping_method b {
    display: inline-block;
    margin-right: 1rem;
}
/*ご注文確認画面で、システムが自動表示する配送方法を非表示に（静的で別途追加済）*/
#page_shopping .ec-orderDelivery__actions .ec-select:not([class*="ec-select__"]),
#page_shopping_redirect_to .ec-orderDelivery__actions .ec-select:not([class*="ec-select__"]) {
    display: none;
}
/*ご注文確認画面で、システムが自動表示するお届け日を非表示に*/
#page_shopping .ec-orderDelivery__actions .ec-select.ec-select__delivery,
#page_shopping_redirect_to .ec-orderDelivery__actions .ec-select.ec-select__delivery {
    display: none;
}
/*ご注文確認画面で、システムが自動表示するお届け時間を非表示に*/
#page_shopping .ec-orderDelivery__actions .ec-select.ec-select__time,
#page_shopping_redirect_to .ec-orderDelivery__actions .ec-select.ec-select__time {
    display: none;
}

#page_shopping_confirm .ec-orderDelivery .ec-select__delivery,
#page_shopping_confirm .ec-orderDelivery .ec-select__time {
    display: none;
}
/*送料表示*/
.shopping_small_text {
    font-size:14px;
}
/*ご注文確認画面で、支払い時期についてを非表示*/
#page_shopping_confirm .pay_deadline.about_cancel + .ec-rectHeading,
#page_shopping_confirm .pay_deadline.about_cancel + .ec-rectHeading + p,
#page_shopping_confirm .pay_deadline.about_cancel + .ec-rectHeading + p + .ec-rectHeading,
#page_shopping_confirm .pay_deadline.about_cancel + .ec-rectHeading + p + .ec-rectHeading + p {
    display: none;
}

.pay_deadline.about_cancel ol {
    margin-top: 1rem;
    padding-left: 1em;
}
.pay_deadline.about_cancel ul {
    padding-left: 1em;
}

/*ご利用規約*/
.ec-terms h3 {
    font-size: initial;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
}
.ec-terms section {
    
}

.ec-terms section p,
.ec-terms h2{
    margin-bottom: 1em;
}

.ec-terms ol > li > ol {
    counter-reset: subitem; /* カウンターをリセット */
    list-style: none;       /* デフォルト数字を消す */
    padding-left: 1.5em;    /* インデント調整 */
}

.ec-terms ol > li > ol > li {
    counter-increment: subitem; /* カウンター増加 */
    position: relative;
    margin-bottom: 0.3em;
}

.ec-terms ol > li > ol > li::before {
    content: "(" counter(subitem) ") "; /* 丸括弧付き */
    position: absolute;
    left: -1.5em; /* インデント分調整 */
}
.ec-terms ol > li > ol > li::marker {
    all: unset;
    content: none;
}

/*レビュー送信画面でURL項目を非表示に*/
form[action*="product_review"] .ec-borderedDefs dl:nth-of-type(3) {
    display: none !important;
}

/*PCのみ*/
@media only screen and (min-width: 768px) {
    .ec-categoryRole .ec-categoryRole__list {
        flex-wrap: wrap;
        column-gap: 30px; /* 横方向の間隔だけ */
    }
    .ec-categoryRole .ec-categoryRole__listItem {
        margin-right: 0px !important;
        flex: 0 0 calc((100% - 30px * 3) / 4); 
    }
    
    /*商品検索ボタン*/
    .ec-headerNaviRole form .ec-headerSearch__category {
        min-width: 106.85px;
        float: none;
    }
    .ec-headerNaviRole .ec-headerSearch__keyword,
    .ec-headerNaviRole .ec-headerSearch__keyword input.ec-input{
        height: 36px;
        float: none;
        min-width: 40px;
    }
    .ec-headerNaviRole form.searchform {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
    }
    .ec-headerNaviRole .ec-headerSearch__keyword input.search-name {
        display: none;
    }
    
    /*topページ新着商品*/
    .ec-newItemRole .ec-newItemRole__list {
        flex-wrap: wrap;
    }
    .ec-newItemRole .ec-newItemRole__listItem {
        width: calc((100% - 30px * 3) / 4);
    }
    /* 4番目ごとに右端なので余白をなくす */
    .ec-newItemRole .ec-newItemRole__listItem:nth-child(4n) {
        margin-right: 0 !important;
    }
    
}

/*sp以下*/
@media all and (max-width:767px) {
    .ec-headerRole .ec-headerTitle__title img{
        max-width: 350px;
        margin-top: 7px;
    }
    .ec-role.new_products_wrap .ec-eyecatchRole {
        flex-direction: column-reverse;
    }
    .ec-role.new_products_wrap .ec-eyecatchRole__image {
        text-align: center;
        margin-top: 3rem;
        margin-bottom: 0;
    }
    .ec-categoryRole .ec-categoryRole__list {
        justify-content: space-between;
        margin-top: 2rem;
        margin-bottom: -0.5rem;
    }
    .ec-categoryRole .ec-categoryRole__list .ec-categoryRole__listItem {
        width: 48.5%;
        margin-bottom: 1rem;
    }
    .caregory-section-wrap {
        margin-top: 3rem;
    }
    #page_help_about .ec-about-subtitle {
        margin-bottom: 2.6rem;
        line-height: inherit;
    }
    #page_help_about .ec-about-subtitle h2 {
        margin-top: 2.2rem;
        margin-bottom: 2rem;
        font-size: 1.4rem;
    }
    #page_help_about .ec-about-subtitle h2 span{
        font-size: 1rem;
    }
    /*商品検索ボタン*/
    .ec-headerSearch form.searchform {
        display: flex;
        flex-direction: row;
    }
    .ec-headerSearch .ec-headerSearch__category {
        width: calc(100% - 34px);
    }
    .ec-headerSearch .ec-headerSearch__category .ec-select_search{
        border-radius: 10px 0px 0px 10px !important;
    }
    .ec-headerSearch .ec-headerSearch__keyword {
        border-radius: 0px 10px 10px 0px !important;
    }
    .ec-headerSearch .ec-headerSearch__keyword,
    .ec-headerSearch .ec-headerSearch__keyword input.ec-input{
        height: 39px;
        float: none;
        min-width: 40px;
        border-radius: 0px 10px 10px 0px;
    }
    .ec-headerSearch .ec-headerSearch__keyword input.search-name {
        display: none;
    }
    .pay_deadline.about_cancel,
    .pay_deadline.about_cancel ol,
    .pay_deadline.about_cancel ul{
        font-size: 14px;
    }
}