/* EC-CUBE 画面専用（旧 css/style_adjust.css）。静的ページでは読みません。 */
/*
新規会員登録(仮登録完了) /entry/complete
対象CSS：_6.1.login.scss
*/
.ec-off3Grid .ec-off3Grid__cell{
    margin-left: 0%;
    width: 100%;
}
.ec-reportHeading h2{
    font-size: 0.75em;
    font-weight: normal;
}

/*
対象CSS：style_pc.css
*/
.ec-off3Grid {
    margin-left: 0%;
}

/* 
カート(ログインしていない状態) /cart
対象CSS:_6.3.login.scss
*/
.ec-guest {
    padding: 0;
    background-color: #FFFF;
}
.ec-guest .ec-guest__inner {
    display: block;
}

/*
新規会員登録(仮登録入力) /entry
対象CSS：_6.1.login.scss
*/
.ec-off4Grid .ec-off4Grid__cell {
    margin-left: 0;
}

/*
検索結果画面 /products
対象CSS：style_pc.css
*/
.search_container button[type="submit"] {
    font-size: 0.8em;
    height: 4em;
}

/*
ログイン /cart　padding調整
対象CSS：_media.scss

.ec-role{
    padding-left: 0px;
}
*/

/*
会員登録完了 /entry/complete
対象CSS：_1.1.heading.scss
*/
.ec-reportHeading p {
    font-weight: normal;
}

/*
ページランク上部の詰まりを修正 /mypage
対象CSS：style_pc.css
*/
.ec-mypage__rank {
    margin: 3em 0 3em 1em;
}

/*
ログインフォーム画面 /shopping/login
対象CSS：_6.1.login.scss
*/
.ec-login{
    background: #fff;
    border: solid 1px #ccc;
}

/*
マイページ タイトル上部にマージンをつける /mypage
対象CSS：style_pc.css
*/
.ec-rectHeading h2,
.contents .ec-rectHeading h2 {
    background: #f0efee;
    padding: 8px 12px;
    font-size: 1.05em;
    text-align: left;
    color: #000;
    letter-spacing: 1px;
    font-weight: normal;
    margin-top: 1.5em;
    margin-bottom: 10px;
    border-top: none;
}

.ec-blockBtn,
.ec-blockBtn--action,
.ec-blockBtn--cancel,
.ec-inlineBtn {
    font-weight: normal;
}

.ec-borderedDefs {
    border-top: none;
}

#page_mypage_login .ec-login .ec-login__link,
#page_shopping_login .ec-login .ec-login__link {
    margin-left: 0;
    margin-top: 20px;
}

#page_mypage_login .ec-off2Grid {
    display: block;
}

#page_mypage_login .ec-off2Grid .ec-off2Grid__cell {
    width: 100%;
    margin-left: 0;
}

#page_shopping_login .ec-grid3__cell .ec-guest {
    border: none;
}

/* sp対応用に画面幅を設定しています。 */
@media only screen and (max-width: 768px) {
    .ec-orderRole {
        padding-left: 0;
        padding-right: 0;
    }
    .ec-cartRole .ec-cartRole__error .ec-alert-warning {
        max-width: 100%;
    }
    #page_shopping .ec-orderRole .ec-orderRole__detail {
        padding: 0;
    }
    .ec-cartCompleteRole {
        padding-left: 0;
        padding-right: 0;
    }
    .ec-inlineBtn {
        background-color: #F5F7F8;
        border-color: #ccc;
    }
    .ec-inlineBtn:hover {
        background-color: #F5F7F8;
        border-color: #ccc;
    }
    #page_mypage .ec-historyRole .ec-historyRole__contents {
        flex-direction: column;
    }
    #page_mypage .ec-historyRole .ec-historyRole__header,
    #page_mypage .ec-historyRole .ec-historyRole__detail {
        width: 100%;
    }
    .ec-reportHeading {
        border-top: none;
    }
    .ec-reportHeading p {
        font-size: 5.5vw;
    }
    #page_mypage_delivery .ec-addressList .ec-addressList__address {
        /* display: block; */
        padding-right: 0;
    }
    /* #page_mypage_delivery .ec-addressList .ec-addressList__action {
        top: -13px;
    } */
    .ec-productRole {
        padding: 0;
    }
    .container {
        padding: 0;
    }
    .item_data {
        padding: 1.4375em;
    }
    .dl_itemcart dt {
        width: 120px;
    }
    .counterOutput {
        width: 50px;
    }
    .minusButton,
    .plusButton {
        padding: 0;
    }
    .contents {
        padding: 0;
    }
    .slick-slider {
        margin: 0;
    }
    ul.list {
        padding-left:11px;
    }
}

.slick-dots li {
    margin: 0;
    padding: 0;
}

#coupon_box__cd {
    padding: 15px 0;
}

#coupon_box__cd .ec-borderedDefs dt {
    padding-top: 9px;
}

.ec-totalBox .ec-totalBox__btn .ec-blockBtn--action {
    font-weight: normal;
}

#page_shopping .ec-radio,
#page_shopping .ec-input,
#page_shopping_confirm .ec-orderPayment .ec-blockRadio,
#page_shopping_confirm #customer_detail_box,
#page_shopping_confirm .ec-input {
    padding: .5em .5em 0 1em;
}

#page_shopping .quest {
    padding: .5em .5em 1em 1em;
}

.ec-input #shopping_order_message {
    margin-top: 0.5%;
}

.ec-select #enquete02,
#enquete03,
#enquete04 {
    margin-top: 2%;
}

.quest_top p {
    padding-top: .5em;
}

@media (max-width: 767px) {
    #enquete03,
    #enquete04 {
        margin-top: 5%;
    }
}

.ec-totalBox .ec-totalBox__paymentTotal,
.ec-totalBox .ec-totalBox__total,
.ec-totalBox .ec-totalBox__taxLabel,
.ec-totalBox .ec-totalBox__price {
    font-weight: normal;
}

#page_shopping .ec-orderRole__detail .ec-orderAccount .ec-input,
#page_shopping_confirm .ec-orderRole__detail .ec-orderAccount .ec-input {
    padding: 0;
}

#page_shopping_shipping_multiple .ec-AddAddress .ec-AddAddress__itemtTitle {
    font-weight: normal;
}

.ec-progress .ec-progress__item {
    font-weight: normal;
}

.ec-guest .ec-guest__inner p,
.ec-login__input .ec-checkbox
 {
    text-align: left;
}

.ec-checkbox_input .form-check,
.check_label .form-check {
    display: flex;
}

.ec-checkbox label {
    font-weight: normal;
    display: flex;
}

.ec-checkbox_input .form-check .form-check-label,
#page_shopping_login .ec-login .ec-login__input .form-check-label {
    margin-left: 12px;
    display: block;
    font-size: 1em;
    font-weight: 300;
    margin-top: 7px;
}

#page_mypage_login .form-check .form-check-label,
.ec-checkbox label p {
    font-weight: normal;
    margin-top: 7px;
}

.ec-checkbox label p {
    width: 100%;
}

.ec-checkbox {
    font-weight: normal;
    padding: 12px 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#page_entry .ec-checkbox {
    padding: 0;
    display: block;
}

#page_mypage_login .form-check .form-check-label,
.ec-checkbox label p {
    margin-left: 10px;
}

#page_entry .ec-errorMessage {
    margin-top: 6px;
    font-weight: normal;
}

.form-check input[type="checkbox"],
#entry_user_policy_check {
    border: solid 1px #333333;
    background: #FFFFFF;
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 3px;
}

/* appearance: none の白枠にすると、未指定の :checked は印が出ない */
.form-check input[type="checkbox"]:checked,
#entry_user_policy_check:checked {
    border: solid 1px #333333;
    background-color: #FFFFFF;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hlY2siPjxwb2x5bGluZSBwb2ludHM9IjIwIDYgOSAxNyA0IDEyIj48L3BvbHlsaW5lPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#coupon .ec-input p {
    width: 50%;
}

.ref_back_nocart {
    text-align: left;
    margin: 0 auto;
    margin-bottom: 11px;
    width: 61%;
}

.ref_back_nocart a button {
    font-size: 16px;
}

#page_cart #CrosssellProduct-product_area {
    padding-top: 0;
}

#page_cart #CrosssellProduct-product_area h3 {
    margin: 0 0 1.25em;
    border-bottom: 1px dotted #ccc;
    padding: .5em 0 .75em;
    font-size: 1.125em;
    letter-spacing: 1px;
    font-weight: normal;
    text-align: left;
}

/* sp対応用に画面幅を設定しています。 */
@media only screen and (max-width: 768px) {
    .ec-checkbox {
        padding: 0;
    }
    #coupon .ec-input p {
        width: 100%;
    }
    .ref_back_nocart {
        margin: 25px 0 2em auto;
        width: 100%;
        text-align: right;
    }
    #page_cart #CrosssellProduct-product_area {
        padding-top: 0;
        margin-top: -15px;
    }
    #page_cart #CrosssellProduct-product_area h3 {
        margin: 0 0 1.25em;
        border-bottom: 1px dotted #ccc;
        padding: .5em 0 .75em;
        font-size: 1.125em;
        letter-spacing: 1px;
        font-weight: normal;
    }
}

.ec-input .ec-errorMessage,
.ec-halfInput .ec-errorMessage, 
.ec-numberInput .ec-errorMessage, 
.ec-zipInput .ec-errorMessage, 
.ec-telInput .ec-errorMessage, 
.ec-select .ec-errorMessage, 
.ec-birth .ec-errorMessage,
.ec-radio .ec-errorMessage{
    font-weight: normal;
}

.search1 dt input {
    font-weight: normal;
}

ul.hierarchy_list,
ul.hierarchy_list ul {
    list-style-type: none;
    margin:0 0 3em 0;
    padding:0;
}
ul.hierarchy_list ul {
    margin-left:10px; 
    position:relative;
}
ul.hierarchy_list li {
    margin:0;
    padding:7px 12px;
    text-decoration: none;
    text-transform: uppercase;
    font-size:13px;
    line-height:20px;
    color:#555;
    font-weight:normal;
    position:relative;
}
ul.hierarchy_list li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    text-decoration: none;
    line-height: 20px;
    padding: 0;
    width: 100%;
    cursor: pointer;
}
ul.hierarchy_list li a:hover {
    color: #0028a1;
}
ul.hierarchy_list li a.selected {
    background: #555;
    color: #FFF;
    padding: 5px;
}
ul.hierarchy_list ul{
    width: 100%;
    display: inline-block;
    border-bottom: 1px solid #ddd;
    list-style-type: none;
    padding-bottom: .5em;
    padding-left: 2em;
    margin-bottom: 1.875em;
}
ul.hierarchy_list ul li a:hover {
    background-color: #fafafa;
    padding: .5em 1em;
}
ul.hierarchy_list ul li:last-child:before {
    background: #fff;
    height: auto;
    top: 13px; 
    bottom: 0;
}

ul.hierarchy_list img{
    width: 30px;
    height: 30px;
    border-radius: 15px;
    object-fit: cover;
    margin-right: 5px;
}
/* ボックスデザイン */
div.panelbox div.box11 {
    padding: .8em .8em 1em;
    color: #7b9db0;
    background: #fff;
    border-top: solid 4px #e8e5de;
    border-radius: 0;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
    margin: .8em .0em;
}

.box11 p {
    padding: 0;
}
.box11 img {
    margin: auto;
    display: block;
}
div.panelbox div.box11:hover {
    border-top: solid 4px #d0c5ad;
}

div.panelbox div.box11 .txt_contents {
    padding-top: .5em;
    text-decoration: none;
}
div.panelbox div.box11 .txt_contents span{
    line-height: normal;
    font-size: 62%;
    margin: 0 0 .8em;
    text-transform: uppercase;
}
div.panelbox div.box11 .txt_contents p.index_cate_name{
    display: block;
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: bold;
}
div.panelbox div.box11 .txt_contents p.txt{
    font-weight: normal;
    font-size: 12px;
    color: #453c36;
    padding: 0;
}
div.panelbox div.box11 .more {
    display: block;
    width: 90%;
    font-size: 80%;
    font-weight: bold;
    color: #453c36;
    border: 1px solid #453c36;
    background-color: #fff;
    margin: 4.5% auto 1.5%;
    padding: 3.5% 1.5%;
    letter-spacing: 1px;
    position: relative;
}

div.panelbox div.box11 .more::before {
    content: "";
}

div.panelbox div.box11 .more::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-size: 130%;
    font-weight: bold;
    position: absolute;
    right: 2%;
    top: 30%;
}

div.panelbox div.box11 .more:hover {
    color: #fff;
    background-color: #453c36;
}
.tag_list a.selected {
    color: #fff;
    background: #5cb1b1;
    border: 1px solid #5cb1b1;
}

/*
セール価格表示
対象ページ：カート(/cart)、ご注文手続き(/shopping)、ご注文確認(/shopping/confirm)
*/
.sale-price-original {
    text-decoration: line-through;
}
.sale-price-discounted {
    color: #d74e47;
}
.sale-discount-info {
    color: #d74e47;
}

/*
注文確認ページのボタンテキスト改行対応
対象ページ：ご注文確認(/shopping/confirm)
幅が足りない場合だけ自動的に改行されるように設定
*/
#page_shopping_confirm .ec-totalBox__btn .ec-blockBtn--action {
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    padding: 10px 12px;
}

/*
注文確認ページの警告メッセージ
対象ページ：ご注文確認(/shopping/confirm)
PC/SP共通
*/
.ec-orderConfirmWarning {
    padding: 20px;
    margin: 20px auto;
    text-align: center;
    font-weight: bold;
    background-color: #ff4444;
    color: #ffffff;
    max-width: 1200px;
    box-sizing: border-box;
}

.ec-orderConfirmWarning__title {
    margin: 0;
    font-size: 16px;
    color: #ffffff;
}

.ec-orderConfirmWarning__text {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #ffffff;
}

/*
注文手続きページのクレジットカード名義人フォーム対応
対象ページ：ご注文手続き(/shopping)
iPad・タブレットサイズで名と姓を縦並びに変更
*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    /* カード名義人フィールド自体を縦並びに */
    #gmo_payment_gateway_credit_form .dd_name_list .ec-input.inline {
        display: block !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    /* 入力フィールドの幅を100%に */
    #shopping_order_card_name1,
    #shopping_order_card_name2 {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    #gmo_payment_gateway_credit_form .dd_name_list {
        display: block !important;
        width: 100% !important;
    }
    
    #gmo_payment_gateway_credit_form .inline.last_name {
        margin-left: 0 !important;
    }
    
    #gmo_payment_gateway_credit_form .inline.credit_attention {
        margin-top: 10px !important;
        display: block !important;
    }
}

/*
カスタムフッターの #topBtn と重複するため EC-CUBE 標準のページトップボタンを非表示
*/
.ec-blockTopBtn {
    display: none !important;
}

/*
EC-CUBE 標準 .ec-footerRole の黒背景・余白を打ち消し
（カスタムフッターは #footer / #cafe / #copyright 側で背景を持っている）
旧環境では style.css 内の該当ルールをコメントアウトしていた
*/
.ec-footerRole {
    background: transparent;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

/*
カートページ用スタイル（旧 designTomoyasu から不足分を補完）
*/
.row-no-margin {
    margin-right: 0;
    margin-left: 0;
}

.mt05 {
    margin-top: 5%;
}

.mt08 {
    margin-top: 8%;
}

.mb05 {
    margin-bottom: 5%;
}

input.quantityCounter {
    border: thin solid #cccccc;
    text-align: center;
    padding: 0.6em;
    margin-bottom: .5em;
    font: 1em / 1.231 arial, Helvetica, verdana, "NotoSansCJKjp", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "Osaka", sans-serif;
    width: 100%;
}

#page_cart .ec-layoutRole .ec-layoutRole__contents {
    max-width: 1200px;
}

#page_cart .ec-cartRole {
    max-width: 1200px;
}

/* カート内の左右余白は本体の 20px を残す。Bootstrap 5 の .row 負マージンで端に寄らないようにする */
@media (max-width: 767px) {
    #page_cart .ec-cartRole__cart > .row {
        margin-left: 0;
        margin-right: 0;
    }

    #page_cart .ec-cartRole__cart > .row > .col-lg-6 {
        padding-left: 0;
        padding-right: 0;
    }
}

#page_cart .ec-cartRole__cart .row {
    font-weight: normal;
}

#page_cart .ec-cartRole__cart .row .ec-cartRole__total {
    padding: 0;
    margin: 10% 0;
    font-weight: normal;
}

/*
カート商品名・単価・会員名
本体 style.css の .ec-cartRow__summary { font-weight: bold } を旧デザインに戻す
*/
.ec-loginname {
    font-size: 1em;
    letter-spacing: 2px;
}

.ec-cartRow .ec-cartRow__summary {
    font-weight: normal;
}

.ec-cartRow .ec-cartRow__summary .ec-cartRow__name,
.ec-cartRow .ec-cartRow__summary .ec-cartRow__unitPrice {
    font-weight: normal;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .ec-cartRole *,
    .ec-cartRole *::before,
    .ec-cartRole *::after {
        font-size: 16px;
    }

    .ec-cartRow .ec-cartRow__summary .ec-cartRow__name,
    .ec-cartRow .ec-cartRow__summary .ec-cartRow__unitPrice {
        font-size: 15px;
    }

    .ec-cartRow .ec-cartRow__sutbtotal {
        font-size: 16px;
    }

    .ec-cartRole .ec-cartRole__total {
        font-weight: normal;
    }
}

@media (max-width: 767px) {
    .ec-loginname {
        padding-left: 1em;
    }

    .ec-cartRow .ec-cartRow__summary .ec-cartRow__name,
    .ec-cartRow .ec-cartRow__summary .ec-cartRow__unitPrice {
        font-size: 12px;
    }
}

.cartRole__error {
    width: 100%;
    padding: 2% 0;
}

.cartRole__error .alert-warning__text {
    text-align: left;
    line-height: 170%;
    background: none;
}

.cartRole__error .alert-warning__text p {
    color: #ff6347;
    font-weight: normal;
}

/* 会員登録フォーム */
.ec-btn_areas {
    width: 30%;
    margin: 3em auto;
    text-align: center;
}

.password-note {
    font-size: 0.85em;
    font-weight: normal;
    color: #666;
    line-height: 1.6;
}

#member-input .ec-borderedDefs dt {
    padding: 0 0 0 1em;
    line-height: 3;
}

/*
 お名前・お名前(カナ)は、姓と名を横並びにしたまま
 それぞれの入力欄の下へエラーを出す。
*/
#page_entry #member-input .ec-halfInput {
    display: flex;
    align-items: flex-start;
    gap: 4%;
}

#page_entry #member-input .ec-halfInput__item {
    flex: 1 1 0;
    min-width: 0;
}

#page_entry #member-input .ec-halfInput__item input[type="text"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-left: 0;
}

#page_entry #member-input .ec-halfInput__item .ec-errorMessage {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

#member-input .ec-select {
    margin-bottom: 4px;
}

.ec-pageHeader2 h1 {
    margin: 0 0 1.25em;
    padding: .5em 0 .75em;
    font-size: 1.125em;
    text-align: center;
    letter-spacing: 1px;
    font-weight: normal;
}

.txtcenter {
    text-align: center;
}

/* マイページログイン */
p.cautionary {
    color: red;
}

@media only screen and (min-width: 768px) {
    #page_mypage_login .ec-login {
        display: flex;
        justify-content: space-between;
        padding: 0;
        padding-top: 10%;
    }
}

#page_mypage_login .ec-login .ec-login__input {
    width: 35%;
    margin: 0 auto;
}

#page_mypage_login .ec-login .login_container-mypage {
    width: 35%;
    margin: 0 auto;
}

#page_mypage_login .ec-login .login_container-mypage .login_container-entry {
    margin-top: 3.5%;
}

#page_mypage_login .ec-login .login_container-mypage .login_container-entry p {
    margin-bottom: 5%;
    line-height: 170%;
    font-size: .875em;
    letter-spacing: 1px;
}

#page_mypage_login .check_label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    #page_shopping_login .ec-grid3 {
        padding-top: 7%;
    }

    #page_shopping_login .ec-grid3__cell2,
    #page_shopping_login .ec-grid3__cell {
        width: 50%;
    }

    #page_shopping_login .ec-grid3__cell2 .ec-grid2 {
        display: block;
        width: 100%;
    }

    #page_shopping_login .ec-grid3__cell2 .ec-grid2 .ec-grid2__cell {
        width: 100%;
    }
}

#page_shopping_login .ec-login .ec-login__input {
    margin-bottom: 0;
}

#page_shopping_login .ec-guest .ec-guest__actions a + a {
    margin-top: 10px;
}

@media only screen and (max-width: 767px) {
    .mt05 {
        margin-top: 10%;
    }

    .mt08 {
        margin-top: 16%;
    }

    .ec-btn_areas {
        width: 80%;
        margin: 1.5em auto;
    }

    #member-input .ec-para-normal {
        margin-left: 5%;
    }

    #member-input .ec-borderedDefs dd {
        margin-left: 5%;
    }

    #member-input .ec-label {
        margin-left: .5em;
    }

    .password-note {
        margin: 0 0 0 8px;
    }

    #member-input .ec-radio {
        margin-left: 5%;
    }

    #member-input .ec-select {
        padding-left: 0;
        margin-left: 5%;
        margin-bottom: 10px;
    }

    /*
     会員情報編集（スマホ）
     customize.css の横並び（項目名 30% / 入力欄 70%）をやめ、
     既存環境と同じく項目名の下に入力欄を置く。
    */
    #page_mypage_change #member-input.ec-off1Grid .ec-off1Grid__cell {
        margin-left: 0;
        width: 100%;
    }

    #page_mypage_change #member-input {
        padding: 0 1.4375em;
        box-sizing: border-box;
    }

    #page_mypage_change #member-input .ec-borderedDefs dl {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 12px 0 4px;
    }

    #page_mypage_change #member-input .ec-borderedDefs dt,
    #page_mypage_change #member-input .ec-borderedDefs dd {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #page_mypage_change #member-input .ec-borderedDefs dt {
        line-height: 1.6;
        padding-bottom: 2px;
    }

    #page_mypage_change #member-input .ec-borderedDefs dd {
        line-height: 1.6;
        padding-bottom: 8px;
    }

    #page_mypage_change #member-input .ec-label,
    #page_mypage_change #member-input .ec-select,
    #page_mypage_change #member-input .ec-radio,
    #page_mypage_change #member-input .ec-birth,
    #page_mypage_change #member-input .password-note {
        margin-left: 0;
    }

    #page_mypage_change #member-input .ec-input input,
    #page_mypage_change #member-input .ec-halfInput input,
    #page_mypage_change #member-input .ec-zipInput input,
    #page_mypage_change #member-input .ec-telInput input,
    #page_mypage_change #member-input .ec-select select {
        transform: none;
    }

    #page_mypage_change #member-input .ec-halfInput {
        font-size: 0;
    }

    #page_mypage_change #member-input .ec-halfInput input[type="text"] {
        display: inline-block;
        box-sizing: border-box;
        width: 48%;
        margin-left: 4%;
        font-size: 16px;
        vertical-align: top;
    }

    #page_mypage_change #member-input .ec-halfInput input[type="text"]:first-child {
        margin-left: 0;
    }

    /*
     新規会員登録（スマホ）
     左だけの余白をやめ、項目名の下に入力欄を置く。
    */
    #page_entry .contents {
        padding-left: 1.4375em;
        padding-right: 1.4375em;
        box-sizing: border-box;
    }

    #page_entry .ec-pageHeader h1 {
        padding-left: 0;
        padding-right: 0;
    }

    #page_entry #member-input.ec-off1Grid .ec-off1Grid__cell {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #page_entry #member-input .ec-para-normal {
        margin-left: 0;
        margin-right: 0;
    }

    #page_entry #member-input .ec-borderedDefs dl {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 12px 0 4px;
    }

    #page_entry #member-input .ec-borderedDefs dt,
    #page_entry #member-input .ec-borderedDefs dd {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #page_entry #member-input .ec-borderedDefs dt {
        line-height: 1.6;
        padding-bottom: 2px;
    }

    #page_entry #member-input .ec-borderedDefs dd {
        line-height: 1.6;
        padding-bottom: 8px;
    }

    #page_entry #member-input .ec-label,
    #page_entry #member-input .ec-select,
    #page_entry #member-input .ec-radio,
    #page_entry #member-input .ec-birth,
    #page_entry #member-input .password-note {
        margin-left: 0;
    }

    #page_entry #member-input .ec-input input,
    #page_entry #member-input .ec-halfInput input,
    #page_entry #member-input .ec-zipInput input,
    #page_entry #member-input .ec-telInput input,
    #page_entry #member-input .ec-select select {
        transform: none;
    }

    #page_entry .ec-off4Grid {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #page_entry .ec-off4Grid .ec-off4Grid__cell {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /*
     会員登録確認（使用済み・期限切れ）
     完了枠の左右余白を戻し、他の案内画面と同じボタン幅にする。
    */
    #page_entry_activate .ec-off4Grid {
        display: block;
        width: calc(80% + 32px);
        margin-left: auto;
        margin-right: auto;
    }

    #page_entry_activate .ec-off4Grid .ec-off4Grid__cell {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #page_entry_activate .ec-blockBtn--action,
    #page_entry_activate .ec-blockBtn--cancel {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /*
     会員情報編集完了（スマホ）
     項目の左右余白を均等に広げ、ボタンをその幅に合わせて中央へ置く。
    */
    #page_mypage_change_complete .ec-off2Grid,
    #page_mypage_change_complete .ec-off4Grid {
        display: block;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    #page_mypage_change_complete .ec-off2Grid .ec-off2Grid__cell {
        width: auto;
        margin-left: 0;
        margin-right: 0;
        padding: 0 1.75em;
        box-sizing: border-box;
    }

    #page_mypage_change_complete .ec-off4Grid .ec-off4Grid__cell {
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    #page_mypage_change_complete .ec-reportHeading p,
    #page_mypage_change_complete .ec-reportDescription {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        box-sizing: border-box;
    }

    #page_mypage_change_complete .ec-blockBtn--action {
        display: block;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /*
     メールアドレス変更（スマホ）
     左だけの余白をやめ、項目名の下に入力欄を置く。
     ボタンは新規会員登録と同じく、左右をそろえた内容幅に合わせる。
    */
    #page_change_mail .contents {
        padding-left: 1.4375em;
        padding-right: 1.4375em;
        box-sizing: border-box;
    }

    #page_change_mail .ec-pageHeader h1 {
        padding-left: 0;
        padding-right: 0;
    }

    #page_change_mail .ec-forgotRole {
        padding-left: 0;
        padding-right: 0;
    }

    #page_change_mail .ec-off1Grid .ec-off1Grid__cell {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #page_change_mail .ec-para-normal {
        margin-left: 0;
        margin-right: 0;
    }

    #page_change_mail .ec-borderedDefs dl {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 12px 0 4px;
    }

    #page_change_mail .ec-borderedDefs dt,
    #page_change_mail .ec-borderedDefs dd {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #page_change_mail .ec-borderedDefs dt {
        line-height: 1.6;
        padding-bottom: 2px;
    }

    #page_change_mail .ec-borderedDefs dd {
        line-height: 1.6;
        padding-bottom: 8px;
    }

    #page_change_mail .ec-label {
        margin-left: 0;
    }

    #page_change_mail .ec-input input {
        transform: none;
    }

    #page_change_mail .ec-off4Grid {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #page_change_mail .ec-off4Grid .ec-off4Grid__cell {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #page_change_mail .ec-blockBtn--action,
    #page_change_mail .ec-blockBtn--cancel {
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    #page_mypage_login .login_container-mypage {
        margin-top: -7vw;
    }

    #page_mypage_login .ec-login .login_container-mypage .login_container-entry,
    #page_mypage_login .ec-login .login_container-login {
        width: 90%;
        margin: 0 auto;
    }

    #page_mypage_login .ec-login .login_container-mypage .login_container-entry {
        margin-top: 7vw;
    }

    #page_mypage_login .ec-login .login_container-mypage .login_container-entry p {
        margin-bottom: 5%;
        line-height: 170%;
        font-size: .875em;
        letter-spacing: 1px;
        text-align: left;
    }

    #page_mypage_login .ec-login .ec-login__input {
        width: 100%;
    }

    #page_mypage_login .ec-login .login_container-mypage {
        width: 100%;
    }

    #page_shopping_login .ec-checkbox .check_label {
        margin-left: 15px;
    }

    #page_shopping_login .ec-login .ec-grid2,
    #page_shopping_login .ec-guest .ec-guest__inner {
        width: 90%;
        margin: 0 auto;
    }

    #page_shopping_login .ec-guest .ec-guest__inner p {
        margin-bottom: 5%;
        line-height: 170%;
        font-size: .875em;
        letter-spacing: 1px;
        text-align: left;
    }

    #page_shopping_login .ec-login,
    #page_shopping_login .ec-guest .ec-guest__inner {
        padding: 0;
    }

    /*
     お問い合わせ（スマホ）
     左だけの余白をやめ、項目名の下に入力欄を置く。
     確認ページへ進むボタンは、会員登録と同じ幅にする。
    */
    #page_contact .ec-contactRole,
    #page_contact .ec-contactConfirmRole {
        padding-left: 1.4375em;
        padding-right: 1.4375em;
        box-sizing: border-box;
    }

    #page_contact .ec-pageHeader h1 {
        padding-left: 0;
        padding-right: 0;
    }

    #page_contact .ec-off1Grid .ec-off1Grid__cell {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #page_contact .ec-para-normal {
        margin-left: 0;
        margin-right: 0;
    }

    #page_contact .ec-borderedDefs dl {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 12px 0 4px;
    }

    #page_contact .ec-borderedDefs dt,
    #page_contact .ec-borderedDefs dd {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #page_contact .ec-borderedDefs dt {
        line-height: 1.6;
        padding-bottom: 2px;
    }

    #page_contact .ec-borderedDefs dd {
        line-height: 1.6;
        padding-bottom: 8px;
    }

    #page_contact .ec-label,
    #page_contact .ec-select {
        margin-left: 0;
        padding-left: 0;
    }

    #page_contact .ec-input input,
    #page_contact .ec-halfInput input,
    #page_contact .ec-zipInput input,
    #page_contact .ec-telInput input,
    #page_contact .ec-select select,
    #page_contact .ec-input textarea {
        transform: none;
    }

    #page_contact .ec-halfInput {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        column-gap: 4%;
    }

    #page_contact .ec-halfInput input[type="text"] {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        margin-left: 0;
        box-sizing: border-box;
    }

    #page_contact .ec-halfInput .ec-errorMessage {
        flex: 0 0 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    #page_contact .ec-off4Grid {
        display: block;
        width: 80%;
        margin: 1.5em auto;
    }

    #page_contact .ec-off4Grid .ec-off4Grid__cell {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #page_contact .ec-blockBtn--action,
    #page_contact .ec-blockBtn--cancel {
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /*
     お問い合わせ完了、注文完了、パスワード再発行、パスワード再設定、会員移行、ゲスト購入、お届け先指定、お届け先の変更、購入エラー（スマホ）
     左だけの余白をやめ、項目名の下に入力欄を置く。ボタン幅はお問い合わせ入力と同じ。
    */
    #page_forgot .ec-role,
    #page_forgot .ec-forgotRole,
    #page_forgot_reset .ec-registerRole,
    #page_membership_transfer .contents,
    #page_membership_transfer_reset .contents,
    #page_shopping_nonmember .ec-customerRole,
    #page_shopping_shipping .ec-role,
    #page_shopping_shipping .ec-registerRole,
    #page_shopping_shipping_edit .ec-role,
    #page_shopping_shipping_edit .ec-registerRole,
    #page_contact_complete .ec-role,
    #page_contact_complete .ec-contactCompleteRole {
        padding-left: 1.4375em;
        padding-right: 1.4375em;
        box-sizing: border-box;
    }

    #page_forgot .ec-off1Grid .ec-off1Grid__cell,
    #page_forgot_reset .ec-off1Grid .ec-off1Grid__cell,
    #page_membership_transfer .ec-off1Grid .ec-off1Grid__cell,
    #page_membership_transfer_reset .ec-off1Grid .ec-off1Grid__cell,
    #page_shopping_nonmember .ec-off1Grid .ec-off1Grid__cell,
    #page_shopping_shipping .ec-off1Grid .ec-off1Grid__cell,
    #page_shopping_shipping_edit .ec-off1Grid .ec-off1Grid__cell {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #page_forgot .ec-borderedDefs dl,
    #page_forgot_reset .ec-borderedDefs dl,
    #page_membership_transfer .ec-borderedDefs dl,
    #page_membership_transfer_reset .ec-borderedDefs dl,
    #page_shopping_nonmember .ec-borderedDefs dl,
    #page_shopping_shipping_edit .ec-borderedDefs dl {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 12px 0 4px;
    }

    #page_forgot .ec-borderedDefs dt,
    #page_forgot .ec-borderedDefs dd,
    #page_forgot_reset .ec-borderedDefs dt,
    #page_forgot_reset .ec-borderedDefs dd,
    #page_membership_transfer .ec-borderedDefs dt,
    #page_membership_transfer .ec-borderedDefs dd,
    #page_membership_transfer_reset .ec-borderedDefs dt,
    #page_membership_transfer_reset .ec-borderedDefs dd,
    #page_shopping_nonmember .ec-borderedDefs dt,
    #page_shopping_nonmember .ec-borderedDefs dd,
    #page_shopping_shipping_edit .ec-borderedDefs dt,
    #page_shopping_shipping_edit .ec-borderedDefs dd {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    #page_forgot .ec-borderedDefs dt,
    #page_forgot_reset .ec-borderedDefs dt,
    #page_membership_transfer .ec-borderedDefs dt,
    #page_membership_transfer_reset .ec-borderedDefs dt,
    #page_shopping_nonmember .ec-borderedDefs dt,
    #page_shopping_shipping_edit .ec-borderedDefs dt {
        line-height: 1.6;
        padding-top: 0;
        padding-bottom: 2px;
    }

    #page_forgot .ec-borderedDefs dd,
    #page_forgot_reset .ec-borderedDefs dd,
    #page_membership_transfer .ec-borderedDefs dd,
    #page_membership_transfer_reset .ec-borderedDefs dd,
    #page_shopping_nonmember .ec-borderedDefs dd,
    #page_shopping_shipping_edit .ec-borderedDefs dd {
        line-height: 1.6;
        padding-bottom: 8px;
    }

    #page_forgot .ec-off4Grid,
    #page_forgot_reset .ec-off4Grid,
    #page_membership_transfer .ec-off4Grid,
    #page_membership_transfer_reset .ec-off4Grid,
    #page_shopping_nonmember .ec-off4Grid,
    #page_shopping_shipping .ec-off4Grid,
    #page_shopping_shipping_edit .ec-off4Grid,
    #page_contact_complete .ec-off4Grid,
    #page_shopping_complete .ec-off4Grid,
    #page_shopping_error .ec-off4Grid {
        display: block;
        width: 80%;
        margin: 1.5em auto;
    }

    #page_forgot .ec-off4Grid .ec-off4Grid__cell,
    #page_forgot_reset .ec-off4Grid .ec-off4Grid__cell,
    #page_membership_transfer .ec-off4Grid .ec-off4Grid__cell,
    #page_membership_transfer_reset .ec-off4Grid .ec-off4Grid__cell,
    #page_shopping_nonmember .ec-off4Grid .ec-off4Grid__cell,
    #page_shopping_shipping .ec-off4Grid .ec-off4Grid__cell,
    #page_shopping_shipping_edit .ec-off4Grid .ec-off4Grid__cell,
    #page_contact_complete .ec-off4Grid .ec-off4Grid__cell,
    #page_shopping_complete .ec-off4Grid .ec-off4Grid__cell,
    #page_shopping_error .ec-off4Grid .ec-off4Grid__cell {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #page_forgot .ec-blockBtn--action,
    #page_forgot .ec-blockBtn--cancel,
    #page_forgot_reset .ec-blockBtn--action,
    #page_forgot_reset .ec-blockBtn--cancel,
    #page_membership_transfer .ec-blockBtn--action,
    #page_membership_transfer .ec-blockBtn--cancel,
    #page_membership_transfer_reset .ec-blockBtn--action,
    #page_membership_transfer_reset .ec-blockBtn--cancel,
    #page_shopping_nonmember .ec-blockBtn--action,
    #page_shopping_nonmember .ec-blockBtn--cancel,
    #page_shopping_shipping .ec-blockBtn--action,
    #page_shopping_shipping .ec-blockBtn--cancel,
    #page_shopping_shipping_edit .ec-blockBtn--action,
    #page_shopping_shipping_edit .ec-blockBtn--cancel,
    #page_contact_complete .ec-blockBtn--action,
    #page_contact_complete .ec-blockBtn--cancel,
    #page_shopping_complete .ec-blockBtn--action,
    #page_shopping_complete .ec-blockBtn--cancel,
    #page_shopping_complete .ec-blockBtn--primary,
    #page_shopping_error .ec-blockBtn--cancel {
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /* 購入エラー（スマホ）。ボタンとフッターの間に余白を置く */
    #page_shopping_error .ec-off4Grid {
        margin-bottom: 64px;
    }

    /*
     お届け先登録・編集（スマホ）
     左だけの余白をやめ、項目名の下に入力欄を置く。
    */
    #page_mypage_delivery_new .contents,
    #page_mypage_delivery_edit .contents {
        padding-left: 1.4375em;
        padding-right: 1.4375em;
        box-sizing: border-box;
    }

    #page_mypage_delivery_new #member-input.ec-off1Grid .ec-off1Grid__cell,
    #page_mypage_delivery_edit #member-input.ec-off1Grid .ec-off1Grid__cell {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #page_mypage_delivery_new #member-input .ec-para-normal,
    #page_mypage_delivery_edit #member-input .ec-para-normal,
    #page_mypage_delivery_new #member-input .ec-label,
    #page_mypage_delivery_edit #member-input .ec-label,
    #page_mypage_delivery_new #member-input .ec-select,
    #page_mypage_delivery_edit #member-input .ec-select,
    #page_mypage_delivery_new #member-input .ec-radio,
    #page_mypage_delivery_edit #member-input .ec-radio {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
    }

    #page_mypage_delivery_new #member-input .ec-borderedDefs dl,
    #page_mypage_delivery_edit #member-input .ec-borderedDefs dl {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 12px 0 4px;
    }

    #page_mypage_delivery_new #member-input .ec-borderedDefs dt,
    #page_mypage_delivery_new #member-input .ec-borderedDefs dd,
    #page_mypage_delivery_edit #member-input .ec-borderedDefs dt,
    #page_mypage_delivery_edit #member-input .ec-borderedDefs dd {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    #page_mypage_delivery_new #member-input .ec-borderedDefs dt,
    #page_mypage_delivery_edit #member-input .ec-borderedDefs dt {
        line-height: 1.6;
        padding-top: 0;
        padding-bottom: 2px;
    }

    #page_mypage_delivery_new #member-input .ec-borderedDefs dd,
    #page_mypage_delivery_edit #member-input .ec-borderedDefs dd {
        line-height: 1.6;
        padding-bottom: 8px;
    }

    #page_mypage_delivery_new #member-input .ec-input input,
    #page_mypage_delivery_new #member-input .ec-halfInput input,
    #page_mypage_delivery_new #member-input .ec-zipInput input,
    #page_mypage_delivery_new #member-input .ec-telInput input,
    #page_mypage_delivery_new #member-input .ec-select select,
    #page_mypage_delivery_edit #member-input .ec-input input,
    #page_mypage_delivery_edit #member-input .ec-halfInput input,
    #page_mypage_delivery_edit #member-input .ec-zipInput input,
    #page_mypage_delivery_edit #member-input .ec-telInput input,
    #page_mypage_delivery_edit #member-input .ec-select select {
        transform: none;
    }

    #page_mypage_delivery_new #member-input .ec-halfInput,
    #page_mypage_delivery_edit #member-input .ec-halfInput {
        font-size: 0;
    }

    #page_mypage_delivery_new #member-input .ec-halfInput input[type="text"],
    #page_mypage_delivery_edit #member-input .ec-halfInput input[type="text"] {
        display: inline-block;
        box-sizing: border-box;
        width: 48%;
        margin-left: 4%;
        font-size: 16px;
        vertical-align: top;
    }

    #page_mypage_delivery_new #member-input .ec-halfInput input[type="text"]:first-child,
    #page_mypage_delivery_edit #member-input .ec-halfInput input[type="text"]:first-child {
        margin-left: 0;
    }

    /*
     利用規約（スマホ）
     閉じるボタンの左余白をやめ、他ページと同じ幅にする。
    */
    #page_help_agreement .ec-off4Grid {
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    #page_help_agreement .ec-off4Grid .ec-off4Grid__cell {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #page_help_agreement .ec-blockBtn--cancel {
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /*
     会員・ゲストレビュー投稿、投稿完了（スマホ）
     項目名の下に入力欄を置く。
     投稿する・戻る・トップへなどのボタンは、お問い合わせと同じ幅にする。
    */
    #page_product_review_guest .ec-off1Grid .ec-off1Grid__cell {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #page_mypage_product_review .ec-productReviewForm .ec-borderedDefs dl,
    #page_product_review_guest .ec-productReviewForm .ec-borderedDefs dl {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 12px 0 4px;
    }

    #page_mypage_product_review .ec-productReviewForm .ec-borderedDefs dt,
    #page_mypage_product_review .ec-productReviewForm .ec-borderedDefs dd,
    #page_product_review_guest .ec-productReviewForm .ec-borderedDefs dt,
    #page_product_review_guest .ec-productReviewForm .ec-borderedDefs dd {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #page_mypage_product_review .ec-productReviewForm .ec-borderedDefs dt,
    #page_product_review_guest .ec-productReviewForm .ec-borderedDefs dt {
        line-height: 1.6;
        padding-top: 0;
        padding-bottom: 2px;
    }

    #page_mypage_product_review .ec-productReviewForm .ec-borderedDefs dd,
    #page_product_review_guest .ec-productReviewForm .ec-borderedDefs dd {
        line-height: 1.6;
        padding-bottom: 8px;
    }

    #page_mypage_product_review .ec-productReviewForm .ec-input input,
    #page_mypage_product_review .ec-productReviewForm .ec-input textarea,
    #page_mypage_product_review .ec-productReviewForm .ec-select select,
    #page_product_review_guest .ec-productReviewForm .ec-input input,
    #page_product_review_guest .ec-productReviewForm .ec-input textarea,
    #page_product_review_guest .ec-productReviewForm .ec-select select {
        transform: none;
    }

    #page_mypage_product_review .ec-off4Grid,
    #page_product_review_guest .ec-off4Grid {
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    /*
     投稿完了は .contents の左右余白が 0 のため、
     お問い合わせと同じく 1.4375em を引いた幅の 80% にする。
    */
    #page_product_review_complete .ec-off4Grid {
        display: block;
        width: calc((100% - 2.875em) * 0.8);
        margin-left: auto;
        margin-right: auto;
    }

    #page_mypage_product_review .ec-off4Grid .ec-off4Grid__cell,
    #page_product_review_guest .ec-off4Grid .ec-off4Grid__cell,
    #page_product_review_complete .ec-off4Grid .ec-off4Grid__cell {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #page_mypage_product_review .ec-blockBtn--action,
    #page_mypage_product_review .ec-blockBtn--cancel,
    #page_product_review_guest .ec-blockBtn--action,
    #page_product_review_guest .ec-blockBtn--cancel,
    #page_product_review_complete .ec-blockBtn--action,
    #page_product_review_complete .ec-blockBtn--cancel {
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

/* 利用規約の閉じるボタン。本文とフッターの間に余白を置く */
#page_help_agreement .ec-off4Grid {
    margin-top: 48px;
    margin-bottom: 64px;
}

/* ゆうパケット上限超過。手順の下に、見出し付きの枠で出す */
#page_shopping .ec-deliveryFeeNotice {
    flex: 0 0 100%;
    box-sizing: border-box;
    width: 100%;
    margin: 8px 0 16px;
}

#page_shopping .ec-deliveryFeeNotice__box {
    border: 1px solid #d5d5d5;
    background: #fff;
}

#page_shopping .ec-deliveryFeeNotice__header {
    background: #f3f3f3;
    padding: 10px 16px;
    border-bottom: 1px solid #d5d5d5;
    color: #333;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: left;
}

#page_shopping .ec-deliveryFeeNotice__body {
    margin: 0;
    padding: 14px 16px 16px;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

/*
PICKUP ITEM スライダー（メガメニュー非表示時初期化による高さ0対策）
*/
.megamenu_product .col-2l .side_slick {
    width: 100%;
}

.megamenu_product .col-2l .side_slick img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.megamenu_product .col-2l .side_slick .slick-list,
.megamenu_product .col-2l .side_slick .slick-track {
    height: auto !important;
}

/*
購入手続き ポイント利用方法
本体 .ec-radio div が inline-block のため、入力欄がラジオの横に回り込むのを防ぐ
*/
#page_shopping .available_point {
    margin-top: 1em;
    margin-left: 1em;
}

#page_shopping .available_point span {
    color: #d74e47;
    font-weight: bold;
}

#page_shopping .use-point-amount {
    display: block;
}

#page_shopping #shopping_order_use_point {
    border: 1px solid #ccc;
    width: 11em;
    max-width: 11em;
    display: inline-block;
    margin-left: 2em;
}

/* クリック／フォーカス時の矩形（本体 style.css の box-shadow と webkit outline）を出さない */
.ec-blockBtn,
.ec-blockBtn--action,
.ec-blockBtn--cancel,
.ec-inlineBtn {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.ec-blockBtn::-moz-focus-inner,
.ec-blockBtn--action::-moz-focus-inner,
.ec-blockBtn--cancel::-moz-focus-inner,
.ec-inlineBtn::-moz-focus-inner {
    border: 0;
}
.ec-blockBtn:focus,
.ec-blockBtn:focus-visible,
.ec-blockBtn:active,
.ec-blockBtn.active,
.ec-blockBtn--action:focus,
.ec-blockBtn--action:focus-visible,
.ec-blockBtn--action:active,
.ec-blockBtn--action.active,
.ec-blockBtn--cancel:focus,
.ec-blockBtn--cancel:focus-visible,
.ec-blockBtn--cancel:active,
.ec-blockBtn--cancel.active,
.ec-inlineBtn:focus,
.ec-inlineBtn:focus-visible,
.ec-inlineBtn:active,
.ec-inlineBtn.active {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

/*
 既存 4.0 の .ec-layoutRole はブロックで、中身の高さに従ってフッターまで流れる。
 4.3 本体は display:flex + min-height:100vh/100dvh + contents の flex-grow:1 のため、
 購入画面で文書高さが画面に固定され、フッターまで届かない。手続き・確認だけ既存と同じにする。
 完了画面は短いので対象外（フッターをボタン直後に張り付かせない）。
*/
#page_shopping .ec-layoutRole,
#page_shopping_confirm .ec-layoutRole,
#page_shopping_redirect_to .ec-layoutRole {
    display: block;
    min-height: 0;
    height: auto;
}

#page_shopping .ec-layoutRole__contents,
#page_shopping_confirm .ec-layoutRole__contents,
#page_shopping_redirect_to .ec-layoutRole__contents {
    display: block;
    flex-grow: 0;
}

#page_shopping .ec-orderRole,
#page_shopping_confirm .ec-orderRole,
#page_shopping_redirect_to .ec-orderRole {
    align-items: flex-start;
}

#page_shopping .ec-orderRole__summary,
#page_shopping_confirm .ec-orderRole__summary,
#page_shopping_redirect_to .ec-orderRole__summary {
    align-self: flex-start;
}

#page_shopping_complete .ec-cartCompleteRole {
    padding-bottom: 3em;
    margin-bottom: 2em;
}

#page_shopping_confirm #attentionButton,
#page_shopping_confirm .attention-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    padding: 0;
    margin-right: 0.4em;
    vertical-align: middle;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    outline: none !important;
    box-shadow: none !important;
}

#page_shopping_confirm #attentionButton:hover,
#page_shopping_confirm #attentionButton:focus,
#page_shopping_confirm #attentionButton:focus-visible,
#page_shopping_confirm #attentionButton:active,
#page_shopping_confirm .attention-toggle:hover,
#page_shopping_confirm .attention-toggle:focus,
#page_shopping_confirm .attention-toggle:focus-visible,
#page_shopping_confirm .attention-toggle:active {
    color: #333;
    background: #f5f5f5;
    text-decoration: none;
    outline: none !important;
    box-shadow: none !important;
}

#page_shopping_confirm .ec-rectHeading:has(#attentionButton) h2 {
    margin-bottom: 0;
}

#page_shopping_confirm #attention.attentioninput {
    margin-top: 0;
    margin-bottom: 1.5em;
}

#page_shopping_confirm #attention.attentioninput .normal_tbl {
    table-layout: fixed;
    width: 100%;
    margin-top: 0;
}

#page_shopping_confirm #attention.attentioninput th {
    width: 30%;
    max-width: 30%;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.5;
    padding: 10px 8px;
    box-sizing: border-box;
}

#page_shopping_confirm #attention.attentioninput td {
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

/* width:100% + 左マージンだとセル幅を超えるので、残り幅に収める */
#page_shopping_confirm #attention.attentioninput ul.base {
    width: auto;
    max-width: calc(100% - 1.5625em);
    box-sizing: border-box;
}

/* スマホは注意事項の見出しと本文を上下に分ける */
@media (max-width: 767px) {
    #page_shopping_confirm #attention.attentioninput table,
    #page_shopping_confirm #attention.attentioninput tbody,
    #page_shopping_confirm #attention.attentioninput tr,
    #page_shopping_confirm #attention.attentioninput th,
    #page_shopping_confirm #attention.attentioninput td {
        display: block;
        position: static;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
    #page_shopping_confirm #attention.attentioninput th {
        padding: 0.75em 1em 0.25em;
        text-align: left;
        background: transparent;
        border: none;
        font-weight: bold;
    }
    #page_shopping_confirm #attention.attentioninput td {
        padding: 0 1em 1em;
    }
    #page_shopping_confirm #attention.attentioninput ul.base {
        max-width: none;
    }
}

/* お届け先は既存と同じく通常の太さ・1em。左は住所と同じ余白。直下に点線 */
#page_shopping .ec-orderDelivery__title {
    padding: 1em 1em .85em 1em;
    font-size: 1em;
    font-weight: normal;
    color: #000;
    border-bottom: 1px dotted #ccc;
}

/* 配送方法の上の点線は残す。お届け時間の下の点線だけ外す */
#page_shopping .ec-orderDelivery__actions {
    border-top: 1px dotted #ccc;
}

#page_shopping .ec-selects,
#page_shopping .ec-orderDelivery__edit {
    border-bottom: none;
}

/* 注文履歴の詳細リンクは、既存と同じ文字リンクと矢印 */
#page_mypage .ec-historyListHeader .ec-historyListHeader__action a {
    display: inline;
    background: transparent;
    border: 0;
    padding: 0;
    color: #0092C4;
    font-weight: normal;
    text-decoration: none;
    box-shadow: none;
}

/* 履歴詳細は「お届け先」見出しを出さないので、配送情報の直下に住所を寄せる */
#page_mypage_history .ec-orderDelivery__address {
    margin-top: 0;
    padding-top: 0;
}

/* マイクーポン。共通の .row .col-* 幅に寄せず、画像を左・説明を右に置く */
#page_mypage_coupon .mypage-coupon {
    padding: 0 1em 1.5em;
}
#page_mypage_coupon .mypage-coupon__empty {
    margin: 0;
}
#page_mypage_coupon .mypage-coupon__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75em;
    margin: 0 0 1em;
}
#page_mypage_coupon .mypage-coupon__img {
    flex: 0 0 7.5em;
    width: 7.5em;
    min-width: 0;
}
#page_mypage_coupon .mypage-coupon__img img {
    display: block;
    width: 100%;
    height: auto;
}
#page_mypage_coupon .mypage-coupon__body {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    color: #333;
}
#page_mypage_coupon .mypage-coupon__name {
    margin: 0 0 0.25em;
    font-weight: bold;
}
#page_mypage_coupon .mypage-coupon__remarks,
#page_mypage_coupon .mypage-coupon__meta {
    margin: 0;
    line-height: 1.45;
}
#page_mypage_coupon .ec-role {
    padding-left: 0;
    padding-right: 0;
}
#page_mypage_coupon .ec-blockBtn {
    display: block;
    width: 100%;
}

/* マイページトップの会員情報。左右余白を詰め、ログアウトを1行に収める */
@media (max-width: 767px) {
    #page_mypage .ec-mypage {
        padding-left: 0.6em;
        padding-right: 0.6em;
    }
    #page_mypage .ec-mypage_stitle {
        padding-left: 0;
        padding-right: 0;
    }
    #page_mypage .ec-mypage_rank {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 0.25em;
    }
    #page_mypage .ec-mypage_btn {
        flex: 0 0 auto;
        padding-left: 0.25em;
        white-space: nowrap;
    }
}

#page_mypage .ec-historyListHeader .ec-historyListHeader__action a::before {
    content: "";
    display: inline-block;
    margin-right: 0.35em;
    border-top: 0.32em solid transparent;
    border-bottom: 0.32em solid transparent;
    border-left: 0.42em solid #0092C4;
    vertical-align: 0.05em;
}
