/* Reconstructed from the customer-theme edits recorded in this session. */
:is(#page_contact, #page_contact_confirm, #page_mypage_login, #page_shopping_login,
    #page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate,
    #page_forgot, #page_forgot_complete, #page_forgot_reset, #page_cart) .ec-role {
    padding: 0;
}

:is(#page_contact, #page_contact_confirm) .ec-off1Grid,
:is(#page_contact, #page_contact_confirm) .ec-off1Grid__cell,
#page_mypage_login .ec-off2Grid,
#page_mypage_login .ec-off2Grid__cell,
#page_shopping_login .ec-off2Grid,
#page_shopping_login .ec-off2Grid__cell {
    width: 100%;
    max-width: none;
    margin: 0;
}

:is(#page_contact, #page_contact_confirm) .ec-contactRole .ec-para-normal,
:is(#page_contact, #page_contact_confirm) .ec-contactConfirmRole > p {
    margin: 0 0 10px;
}

:is(#page_contact, #page_contact_confirm) .ec-borderedDefs {
    margin: 0;
    border: 1px solid #ddd;
}

:is(#page_contact, #page_contact_confirm) .ec-borderedDefs dl {
    display: grid;
    grid-template-columns: 20% minmax(0, 1fr);
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #ddd;
}

:is(#page_contact, #page_contact_confirm) .ec-borderedDefs dl:last-child {
    border-bottom: 0;
}

:is(#page_contact, #page_contact_confirm) .ec-borderedDefs dt,
:is(#page_contact, #page_contact_confirm) .ec-borderedDefs dd {
    box-sizing: border-box;
    min-width: 0;
    padding: 8px;
    margin: 0;
}

:is(#page_contact, #page_contact_confirm) .ec-borderedDefs dt {
    border-right: 1px solid #ddd;
    background: #f4f4f4;
}

:is(#page_contact, #page_contact_confirm) .ec-borderedDefs dt .ec-label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}

:is(#page_contact, #page_contact_confirm) .ec-borderedDefs dd {
    background: #fff;
}

:is(#page_contact, #page_contact_confirm) .ec-halfInput {
    display: flex;
    gap: 8px;
}

:is(#page_contact, #page_contact_confirm) .customer-contact-name-field {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

:is(#page_contact, #page_contact_confirm) .customer-contact-name-field label,
:is(#page_contact, #page_contact_confirm) .customer-contact-name-field span {
    flex: 0 0 auto;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

:is(#page_contact, #page_contact_confirm) .ec-halfInput input {
    flex: 0 1 120px;
    width: 120px;
    min-width: 0;
}

:is(#page_contact, #page_contact_confirm) .ec-input input,
:is(#page_contact, #page_contact_confirm) .ec-select select,
:is(#page_contact, #page_contact_confirm) .ec-zipInput input,
:is(#page_contact, #page_contact_confirm) .ec-telInput input {
    box-sizing: border-box;
    min-height: 24px;
    height: 24px;
    padding: 2px 4px;
    border: 1px solid #999;
    border-radius: 0;
    background: #fff;
    color: #555;
    font: inherit;
    line-height: 1.4;
}

:is(#page_contact, #page_contact_confirm) .ec-select select {
    width: auto;
    margin-bottom: 6px;
}

:is(#page_contact, #page_contact_confirm) .ec-zipInput input {
    width: 72px;
}

:is(#page_contact, #page_contact_confirm) .ec-input input {
    width: min(380px, 100%);
}

:is(#page_contact, #page_contact_confirm) .ec-telInput input {
    width: 180px;
}

:is(#page_contact, #page_contact_confirm) textarea {
    box-sizing: border-box;
    width: min(380px, 100%);
    height: 350px;
    padding: 4px;
    border: 1px solid #999;
    border-radius: 0;
    font: inherit;
}

:is(#page_contact, #page_contact_confirm) .ec-borderedDefs dd > p {
    margin: 5px 0 0;
    color: #f55;
}

:is(#page_contact, #page_contact_confirm) .ec-pageHeader h1 {
    margin: 0 0 22px;
    padding: 0;
    font-size: 26px;
    line-height: 1.1;
}

:is(#page_contact, #page_contact_confirm) .ec-contactRole button,
:is(#page_contact, #page_contact_confirm) .ec-contactConfirmRole button,
:is(#page_contact, #page_contact_confirm) .ec-contactRole a.ec-blockBtn--cancel,
:is(#page_contact, #page_contact_confirm) .ec-contactConfirmRole a.ec-blockBtn--cancel,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) button,
#page_mypage_login button,
#page_shopping_login button,
:is(#page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate) button {
    display: inline-block;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 6px 18px;
    border: 1px solid #b3b3b3;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font: inherit;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: none;
}

:is(#page_contact, #page_contact_confirm) .ec-contactConfirmRole .ec-blockBtn--action {
    margin-bottom: 0;
}

:is(#page_contact, #page_contact_confirm) .ec-contactRole button:hover,
:is(#page_contact, #page_contact_confirm) .ec-contactConfirmRole button:hover,
:is(#page_contact, #page_contact_confirm) .ec-contactRole a.ec-blockBtn--cancel:hover,
:is(#page_contact, #page_contact_confirm) .ec-contactConfirmRole a.ec-blockBtn--cancel:hover,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) button:hover,
#page_mypage_login button:hover,
#page_shopping_login button:hover,
:is(#page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate) button:hover {
    border-color: #b3b3b3;
    background: #ccc;
    color: #fff;
}

:is(#page_contact, #page_contact_confirm) .ec-off4Grid,
:is(#page_contact, #page_contact_confirm) .ec-off4Grid__cell {
    width: 100%;
    max-width: none;
    margin: 10px 0 0;
    text-align: left;
}

#page_mypage_login .ec-pageHeader,
#page_shopping_login .ec-pageHeader,
:is(#page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate) .ec-pageHeader,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-pageHeader {
    margin: 0 0 22px;
    padding: 0;
}

#page_mypage_login .ec-pageHeader h1,
#page_shopping_login .ec-pageHeader h1,
:is(#page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate) .ec-pageHeader h1,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-pageHeader h1,
#page_cart .ec-pageHeader h1 {
    font-size: 26px;
    line-height: 1.1;
}

#page_cart #issue21-main .ec-pageHeader {
    margin: 0 0 30px;
    padding: 0;
}

#page_cart #issue21-main .ec-pageHeader h1 {
    margin: 0;
    padding: 0;
    color: #333;
}

#page_cart #issue21-main .ec-cartRole {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

#page_mypage_login .ec-login,
#page_shopping_login .ec-login {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
}

#page_mypage_login .ec-login__icon,
#page_shopping_login .ec-login__icon {
    display: none;
}

#page_mypage_login #issue21-main .ec-role,
#page_shopping_login #issue21-main .ec-role {
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

#page_mypage_login #login_mypage,
#page_shopping_login form {
    width: 100%;
}

#page_mypage_login .customer-login-fields,
#page_shopping_login .customer-login-fields {
    display: grid;
    gap: 14px;
    max-width: 472px;
}

#page_mypage_login .customer-login-row,
#page_shopping_login .customer-login-row {
    display: grid;
    grid-template-columns: 172px minmax(0, 300px);
    align-items: center;
}

#page_mypage_login .customer-login-row label,
#page_shopping_login .customer-login-row label {
    padding-right: 8px;
    font-weight: 400;
    text-align: right;
}

#page_mypage_login .customer-login-row input,
#page_shopping_login .customer-login-row input {
    box-sizing: border-box;
    width: 300px;
    max-width: 100%;
    height: 24px;
    padding: 2px 4px;
    border: 1px solid #999;
    border-radius: 0;
    font: inherit;
}

#page_mypage_login .customer-login-section,
#page_shopping_login .customer-login-section {
    margin: 0 0 28px;
}

#page_mypage_login .customer-login-heading,
#page_shopping_login .customer-login-heading {
    margin: 0 0 22px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

#page_mypage_login .customer-login-section > p,
#page_shopping_login .customer-login-section > p {
    margin: 0 0 20px;
}

#page_mypage_login .ec-login__actions,
#page_shopping_login .ec-login__actions {
    margin: 18px 0 28px;
    text-align: center;
}

#page_mypage_login .ec-login__actions button,
#page_shopping_login .ec-login__actions button {
    min-width: 80px;
    height: auto;
    padding: 6px 18px;
    font-size: 12px;
    line-height: 1.4;
}

#page_mypage_login .customer-login-actions > p,
#page_shopping_login .customer-login-actions > p {
    margin: 8px 0;
}

#page_mypage_login .customer-login-remember,
#page_shopping_login .customer-login-remember {
    margin: 4px 0 0 172px;
}

#page_mypage_login .customer-login-registration > p:last-child {
    margin-top: 26px;
    text-align: center;
}

#page_mypage_login .customer-login-registration > p:last-child a {
    display: inline-block;
    width: auto;
    min-width: 0;
}

#page_shopping_login .customer-shopping-login {
    width: 66.666%;
    max-width: none;
    margin: 0;
}

#page_shopping_login .ec-grid2 {
    display: block;
    margin: 10px 0 22px;
}

#page_shopping_login .ec-grid2__cell {
    width: 100%;
    max-width: none;
}

#page_shopping_login .ec-login__link {
    display: inline-block;
    margin: 8px 14px 0 0;
}

#page_shopping_login .ec-guest {
    margin-top: 28px;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) #issue21-main .ec-orderRole {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) #issue21-main .ec-totalBox .ec-totalBox__btn .ec-blockBtn--action {
    font-size: 12px;
    font-weight: normal;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) #issue21-main .ec-orderRole :is(.ec-orderAccount, .ec-orderDelivery, .ec-orderConfirm, .ec-orderPayment, .ec-totalBox, .ec-borderedDefs) {
    font-size: 12px;
    line-height: 1.7;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) #issue21-main .ec-orderRole .ec-orderDelivery__title {
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.4;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) #issue21-main .ec-orderRole .ec-rectHeading :is(h1, h2, h3, h4, h5, h6) {
    margin: 16px 0 8px;
    padding: 6px 10px;
    font-size: 16px;
    line-height: 1.4;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) #issue21-main .ec-orderRole :is(input, select, textarea) {
    font-size: 12px;
    line-height: 1.4;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) #issue21-main .ec-totalBox :is(.ec-totalBox__total, .ec-totalBox__paymentTotal, .ec-totalBox__price, .ec-totalBox__taxLabel, .ec-totalBox__taxRate) {
    font-size: 12px;
    line-height: 1.7;
}

#page_contact_complete .ec-role,
#page_entry_complete .ec-role,
#page_forgot_complete .ec-role {
    padding: 0;
}

#page_contact_complete .ec-off3Grid,
#page_contact_complete .ec-off3Grid__cell,
#page_entry_complete .ec-off3Grid,
#page_entry_complete .ec-off3Grid__cell,
#page_forgot_complete .ec-off3Grid,
#page_forgot_complete .ec-off3Grid__cell {
    width: 100%;
    max-width: none;
    margin: 0;
}

#page_contact_complete #issue21-main #undercolumn {
    padding: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

#page_contact_complete #issue21-main .ec-pageHeader {
    margin: 0 0 30px;
    padding: 0;
}

#page_contact_complete #issue21-main .ec-pageHeader h1 {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 26px;
    line-height: 1.1;
}

#page_contact_complete #issue21-main #complete_area > .message {
    margin: 0 0 10px;
    color: #333;
    font-size: 14px;
}

#page_contact_complete #issue21-main #complete_area > p:not(.message) {
    margin: 0 0 10px;
}

#page_contact_complete #issue21-main .shop_information.well {
    box-sizing: border-box;
    margin: 0 0 30px;
    padding: 19px;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    background: #fff;
    color: #444;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
}

#page_contact_complete #issue21-main .shop_information p {
    margin: 0;
}

#page_contact_complete #issue21-main .contact-complete-home {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #333;
    line-height: 1.42857143;
    text-align: center;
    text-decoration: none;
}

#page_contact_complete #issue21-main .contact-complete-home:hover {
    border-color: #adadad;
    background: #e6e6e6;
}

.customer-contact-email-field > label {
    display: block;
    margin: 5px 0;
    font-size: 12px;
}

.customer-contact-email-hint {
    margin: 5px 0 0;
    color: #E64E4E;
    font-size: 12px;
}

.point,
.attention,
.legacy-mypage__table td.attention {
    color: #E64E4E;
}

:is(#page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate) .ec-off1Grid,
:is(#page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate) .ec-off1Grid__cell,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-off1Grid,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-off1Grid__cell {
    width: 100%;
    max-width: none;
    margin: 0;
}

:is(#page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate) .ec-borderedDefs,
:is(#page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate) .ec-registerRole > form,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) form {
    margin-top: 0;
}

@media (max-width: 767px) {
    :is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
        #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
        #page_shopping_shipping_multiple_edit) .ec-borderedDefs dl {
        grid-template-columns: 1fr;
    }

    :is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
        #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
        #page_shopping_shipping_multiple_edit) .ec-borderedDefs dt {
        border-right: 0;
        border-bottom: 1px solid #ddd;
    }

    :is(#page_contact, #page_contact_confirm) .ec-contactRole button,
    :is(#page_contact, #page_contact_confirm) .ec-contactConfirmRole button,
    :is(#page_forgot, #page_forgot_complete, #page_forgot_reset) button,
    #page_mypage_login button,
    #page_shopping_login button,
    :is(#page_entry, #page_entry_confirm, #page_entry_complete, #page_entry_activate) button {
        width: auto;
    }

    :is(#page_contact, #page_contact_confirm) .ec-contactRole .ec-input input,
    :is(#page_contact, #page_contact_confirm) textarea {
        width: 100%;
        max-width: 100%;
    }

    #page_mypage_login .customer-login-fields,
    #page_shopping_login .customer-login-fields {
        gap: 10px;
        max-width: 100%;
    }

    #page_mypage_login .customer-login-row,
    #page_shopping_login .customer-login-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    #page_mypage_login .customer-login-row label,
    #page_shopping_login .customer-login-row label {
        padding: 0;
        text-align: left;
    }

    #page_mypage_login .customer-login-row input,
    #page_shopping_login .customer-login-row input {
        width: 100%;
    }

    #page_mypage_login .customer-login-remember,
    #page_shopping_login .customer-login-remember {
        margin-left: 0;
    }

    #page_mypage_login .customer-login-heading,
    #page_shopping_login .customer-login-heading {
        width: 110px;
        margin-right: auto;
        margin-left: auto;
    }

    #page_mypage_login .ec-login__actions button,
    #page_shopping_login .ec-login__actions button {
        width: 100%;
    }

    #page_shopping_login .customer-shopping-login {
        width: 100%;
    }

    #page_cart .ec-cartRole__actions a {
        width: 100%;
        margin-right: 0;
    }
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete, #page_shopping_error) .ec-role {
    padding: 0;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete, #page_shopping_error) .ec-pageHeader {
    margin: 0 0 22px;
    padding: 0;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete, #page_shopping_error) .ec-pageHeader h1 {
    font-size: 26px;
    line-height: 1.1;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-off1Grid,
:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-off1Grid__cell,
:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-off2Grid,
:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-off2Grid__cell {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs dl {
    display: grid;
    grid-template-columns: 20% minmax(0, 1fr);
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #ddd;
}

:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs dl:last-child {
    border-bottom: 0;
}

:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs dt,
:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs dd {
    box-sizing: border-box;
    min-width: 0;
    padding: 8px;
    margin: 0;
    background: #fff;
}

:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs dt {
    border-right: 1px solid #ddd;
    background: #f4f4f4;
}

:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs input,
:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs select,
:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs textarea {
    border: 1px solid #999;
    border-radius: 0;
    background: #fff;
    font: inherit;
}

:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs input,
:is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
    #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
    #page_shopping_shipping_multiple_edit) .ec-borderedDefs select {
    min-height: 24px;
    height: 24px;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-progress__item:first-child,
:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-progress__number {
    display: none;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-progress {
    display: flex;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    border: 0;
    background: #ececec;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-progress__item {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 10px 4px;
    background: #ececec;
    text-align: center;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-progress__item::after {
    display: none;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-progress__item.is-complete {
    background: #ccc;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete) .ec-progress__label {
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete, #page_shopping_error) :is(button, [class*="ec-blockBtn"], [class*="ec-inlineBtn"]) {
    width: auto;
    min-width: 0;
    height: auto;
    padding: 6px 18px;
    border: 1px solid #b3b3b3;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font: inherit;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: none;
}

:is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
    #page_shopping_shipping, #page_shopping_shipping_edit,
    #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
    #page_shopping_complete, #page_shopping_error) :is(button, [class*="ec-blockBtn"], [class*="ec-inlineBtn"]):hover {
    border-color: #b3b3b3;
    background: #ccc;
    color: #fff;
}

@media (max-width: 767px) {
    :is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
        #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
        #page_shopping_shipping_multiple_edit) .ec-borderedDefs dl {
        grid-template-columns: 1fr;
    }

    :is(#page_shopping, #page_shopping_nonmember, #page_shopping_shipping,
        #page_shopping_shipping_edit, #page_shopping_shipping_multiple,
        #page_shopping_shipping_multiple_edit) .ec-borderedDefs dt {
        border-right: 0;
        border-bottom: 1px solid #ddd;
    }

    :is(#page_shopping, #page_shopping_confirm, #page_shopping_nonmember,
        #page_shopping_shipping, #page_shopping_shipping_edit,
        #page_shopping_shipping_multiple, #page_shopping_shipping_multiple_edit,
        #page_shopping_complete) .ec-progress__label {
        font-size: 10px;
    }
}
#page_cart .ec-cartRole__progress {
    display: none;
}

#page_cart .customer-cart-point,
#page_cart .ec-cartRole__totalText {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 12px;
    margin: 0 0 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

#page_cart .customer-cart-point {
    padding: 20px;
}

#page_cart .customer-cart-point strong,
#page_cart .ec-cartRole__totalAmount,
#page_cart .ec-cartRole__totalText strong {
    color: #f00;
}

#page_cart .ec-cartRole__totalText p {
    margin: 0;
}

#page_cart .ec-cartRole__error,
#page_cart .ec-cartRole__error .ec-alert-warning,
#page_cart .ec-cartRole > .ec-role .ec-alert-warning {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b42318;
    text-align: left;
}

#page_cart .ec-cartRole__error .ec-alert-warning__inner,
#page_cart .ec-cartRole__error .ec-alert-warning__inner__item,
#page_cart .ec-cartRole > .ec-role .ec-alert-warning__inner,
#page_cart .ec-cartRole > .ec-role .ec-alert-warning__inner__item {
    padding: 0;
}

#page_cart .ec-cartRole__error .ec-alert-warning__icon,
#page_cart .ec-cartRole > .ec-role .ec-alert-warning__icon {
    display: none;
}

#page_cart .ec-cartRole__error .ec-alert-warning__text {
    color: #b42318;
}

#page_cart .ec-cartRole > .ec-role .ec-alert-warning__text {
    color: #b42318;
}

#page_cart .ec-cartRole > .ec-role .ec-off3Grid,
#page_cart .ec-cartRole > .ec-role .ec-off3Grid__cell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

#page_cart .ec-cartTable {
    border: 0;
}

#page_cart .ec-cartHeader {
    border: 1px solid #ddd;
    background: #f4f4f4;
}

#page_cart .ec-cartRow {
    border-bottom: 1px solid #ddd;
}

#page_cart .ec-cartRole__actions a {
    display: inline-block;
    width: auto;
    min-width: 0;
    margin: 8px 8px 0 0;
    padding: 6px 18px;
    border: 1px solid #b3b3b3;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
}

#page_cart .ec-cartRole__actions a:hover {
    background: #ccc;
    color: #fff;
    text-decoration: none;
}
/* Customer form dimensions override EC-CUBE component defaults. */
:is(#page_contact, #page_contact_confirm) #issue21-main :is(.ec-contactRole, .ec-contactConfirmRole),
:is(#page_entry, #page_entry_confirm) #issue21-main .ec-registerRole {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-pageHeader h1 {
    margin: 0 0 22px;
    padding: 0;
    color: #333;
    font-size: 26px;
    line-height: 1.1;
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs {
    width: 100%;
    margin: 0;
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs dl {
    display: grid;
    grid-template-columns: 20% minmax(0, 1fr);
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #ddd;
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs :is(dt, dd) {
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 8px;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs dt {
    border-right: 1px solid #ddd;
    background: #f4f4f4;
}

:is(#page_entry, #page_entry_confirm) #issue21-main .ec-registerRole .ec-borderedDefs dd {
    background: #fff;
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs input:not([type=checkbox]):not([type=radio]),
:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs select {
    box-sizing: border-box;
    height: 24px;
    min-height: 24px;
    margin-bottom: 0;
    padding: 0 4px;
    border: 1px solid #999;
    border-radius: 0;
    background: #fff;
    color: #555;
    font-size: 12px;
    line-height: 1.4;
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-halfInput input:not([type=checkbox]):not([type=radio]) {
    flex: 0 1 120px;
    width: 120px;
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-input input {
    width: min(380px, 100%);
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-zipInput input {
    width: 72px;
}

:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm) #issue21-main .ec-telInput input {
    width: 180px;
}

:is(#page_contact, #page_contact_confirm) #issue21-main :is(.ec-contactRole .ec-para-normal, .ec-contactConfirmRole > p) {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.7;
}

:is(#page_entry, #page_entry_confirm) #issue21-main .ec-registerRole .ec-halfInput {
    display: flex;
    gap: 8px;
}

#page_entry #issue21-main .ec-registerRole .customer-entry-name-field {
    display: grid;
    grid-template-columns: max-content minmax(0, 120px);
    align-items: center;
    gap: 4px;
    min-width: 0;
}

#page_entry #issue21-main .ec-registerRole .customer-entry-name-field label {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
}

#page_entry #issue21-main .ec-registerRole .customer-entry-name-field .ec-errorMessage {
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 2px 0 0;
    padding: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.3;
}

:is(#page_entry, #page_entry_confirm) #issue21-main .ec-registerRole .ec-registerRole__actions .ec-off4Grid,
:is(#page_entry, #page_entry_confirm) #issue21-main .ec-registerRole .ec-registerRole__actions .ec-off4Grid__cell {
    width: 100%;
    max-width: none;
    margin: 10px 0;
    text-align: left;
}

/* Forgot opens without the storefront shell and fits the available viewport. */
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole__header,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole__left,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole__right,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole__footer,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole__contentTop,
:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole__contentBottom {
    display: none !important;
}

:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole {
    min-height: 0;
}

:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole .ec-layoutRole__contents {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole :is(.ec-layoutRole__main, .ec-layoutRole__mainWithColumn, .ec-layoutRole__mainBetweenColumn) {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 15px;
}

body:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) {
    background: #fff;
}

:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) #issue21-main .ec-role {
    width: 100%;
    margin: 0;
    padding: 0;
}

:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) #issue21-main .ec-pageHeader {
    margin: 0 0 22px;
    padding: 0;
}

:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) #issue21-main .ec-pageHeader h1 {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 26px;
    line-height: 1.1;
}

:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) :is(.ec-forgotRole, .ec-forgetCompleteRole, .ec-registerRole) {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

:is(#page_forgot, #page_forgot_complete) .ec-forgotRole__intro {
    font-size: 12px;
    line-height: 1.7;
}

:is(#page_forgot, #page_forgot_complete, #page_forgot_reset) :is(.ec-off1Grid, .ec-off1Grid__cell, .ec-off3Grid, .ec-off3Grid__cell, .ec-off4Grid, .ec-off4Grid__cell) {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

:is(#page_forgot, #page_forgot_reset) .ec-borderedDefs {
    width: 100%;
    margin: 0;
}

:is(#page_forgot, #page_forgot_reset) .ec-borderedDefs dl {
    display: grid;
    grid-template-columns: 90px minmax(0, 300px);
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

:is(#page_forgot, #page_forgot_reset) .ec-borderedDefs :is(dt, dd) {
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 4px 0;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

:is(#page_forgot, #page_forgot_reset) .ec-input input {
    box-sizing: border-box;
    width: 300px;
    max-width: 100%;
    height: 24px;
    min-height: 24px;
    margin: 0;
    padding: 2px 4px;
    border: 1px solid #999;
    border-radius: 0;
    background: #fff;
    color: #555;
    font-size: 12px;
    line-height: 1.4;
}

:is(#page_forgot, #page_forgot_reset) .ec-forgotRole .ec-off4Grid {
    margin-top: 10px;
    text-align: left;
}

:is(#page_forgot, #page_forgot_reset) .ec-forgotRole .ec-blockBtn--action {
    width: auto;
    min-width: 0;
    margin: 0;
}

:is(#page_forgot, #page_forgot_reset) .ec-registerRole .ec-registerRole__actions :is(.ec-off4Grid, .ec-off4Grid__cell) {
    width: 100%;
    max-width: none;
    margin: 10px 0 0;
    text-align: left;
}

@media (max-width: 767px) {
    :is(#page_forgot, #page_forgot_complete, #page_forgot_reset) .ec-layoutRole :is(.ec-layoutRole__main, .ec-layoutRole__mainWithColumn, .ec-layoutRole__mainBetweenColumn) {
        padding: 15px;
    }

    :is(#page_forgot, #page_forgot_reset) .ec-borderedDefs dl {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    :is(#page_forgot, #page_forgot_reset) .ec-input input {
        width: 100%;
    }

    :is(#page_contact, #page_contact_confirm) #issue21-main .customer-contact-name {
        display: block;
    }

    :is(#page_contact, #page_contact_confirm) #issue21-main .customer-contact-name-field {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        margin-bottom: 8px;
    }

    :is(#page_contact, #page_contact_confirm) #issue21-main .ec-halfInput.customer-contact-name .customer-contact-name-field input:not([type=checkbox]):not([type=radio]) {
        flex: 1 1 auto;
        width: 100%;
    }

    #page_entry #issue21-main .ec-registerRole .ec-halfInput.customer-entry-name {
        display: block;
        width: 100%;
    }

    #page_entry #issue21-main .ec-registerRole .customer-entry-name-field {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        width: 100%;
        margin-bottom: 8px;
    }

    #page_entry #issue21-main .ec-registerRole .ec-halfInput.customer-entry-name .customer-entry-name-field input:not([type=checkbox]):not([type=radio]) {
        width: 100%;
    }
}

/* Dimensions measured on the public login and empty-cart screens. */
:is(#page_mypage_login, #page_shopping_login) #issue21-main .ec-pageHeader {
    padding: 0;
    margin: 0 0 38px;
}
:is(#page_mypage_login, #page_shopping_login) #issue21-main .ec-pageHeader h1 {
    padding: 0;
    margin: 0;
}
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-heading {
    box-sizing: border-box;
    width: 40%;
    padding: 0 15px;
    margin: 0 auto 46px;
    font: bold 20px/22px "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGP明朝B, serif;
}
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-section > p:first-of-type { margin-bottom: 28px; }
:is(#page_mypage_login, #page_shopping_login) #issue21-main .ec-login__input { padding: 0; margin-bottom: 0; }
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-fields { gap: 34px; max-width: 480px; }
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-row { grid-template-columns: 180px minmax(0, 300px); }
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-row label { font-weight: 700; }
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-remember { grid-column: 2; margin: 0; }
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-remember input { width: auto; height: auto; }
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-remember label { padding: 0; text-align: left; }
:is(#page_mypage_login, #page_shopping_login) #issue21-main .ec-login__actions { margin: 20px 0 30px; }
#page_mypage_login #issue21-main .customer-login-registration a,
#page_entry #issue21-main .ec-registerRole__actions a.ec-blockBtn--cancel {
    height: auto;
    min-height: 0;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}
#page_cart #issue21-main .ec-alert-warning__text { font-size: 12px; font-weight: 400; }
@media (max-width: 767px) {
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-fields { gap: 30px; }
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-row { grid-template-columns: minmax(0, 1fr); }
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-remember { grid-column: 1; }
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-row label { text-align: left; }
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-row > input { width: 100%; }
}
#page_contact #issue21-main .ec-zipInputHelp__icon { display: none; }
#page_contact #issue21-main .ec-zipInputHelp a { color: #333; text-decoration: underline; }
#page_contact #issue21-main .ec-zipInputHelp a:hover { color: #2b6fd9; text-decoration: none; }
#page_contact #issue21-main .customer-zip-action { margin-top: 8px; }
#page_contact #issue21-main .customer-zip-action button { padding: 6px 12px; }
#page_contact #issue21-main .customer-zip-action span { color: #555; }
#page_contact #issue21-main .customer-address-hint { margin: 0; color: #555; font-size: 12px; }
#page_contact #issue21-main .customer-address-note { margin-top: 10px; color: #f55; }
#page_contact #issue21-main .ec-borderedDefs dd > .ec-input { margin-bottom: 8px; }
@media (max-width: 767px) {
    #page_contact #issue21-main .customer-zip-action button { width: 100%; }
}
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-remember input[type="checkbox"] {
    appearance: auto;
    width: 13px;
    height: 13px;
    min-width: 13px;
    min-height: 13px;
    padding: 0;
    margin: 0 3px 0 0;
    vertical-align: middle;
}
#page_shopping_login #issue21-main .ec-guest { padding: 0; margin: 30px 0; background: transparent; }
#page_shopping_login #issue21-main .ec-guest .ec-guest__actions a { color: #333; }
#page_shopping_login #issue21-main .ec-guest .ec-guest__actions a:hover { background: #ccc; color: #fff; }
@media (max-width: 767px) {
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-heading { margin-bottom: 0; }
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-section > p:first-of-type { margin-bottom: 23px; }
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-fields { gap: 10px; }
    :is(#page_mypage_login, #page_shopping_login) #issue21-main form > .customer-login-section { margin-bottom: 0; }
}

/* Keep the checkout pages in the storefront's full-width form flow. */
body[id^="page_shopping"] #issue21-main :is([class^="ec-"], [class*=" ec-"]) { font-size: 12px; line-height: 1.7; }
body[id^="page_shopping"] #issue21-main > :is(.ec-role, .ec-orderRole, .ec-multipleRole, .ec-registerRole, .ec-addressRole) { padding: 0; margin: 0; }
body[id^="page_shopping"] #issue21-main .ec-pageHeader { padding: 0; margin: 0 0 30px; }
body[id^="page_shopping"] #issue21-main .ec-pageHeader h1 { padding: 0; margin: 0; font-size: 26px; line-height: 1.1; }
body[id^="page_shopping"] #issue21-main .ec-orderRole { display: block; }
body[id^="page_shopping"] #issue21-main .ec-orderRole__detail,
body[id^="page_shopping"] #issue21-main .ec-orderRole__summary { position: static; width: 100%; padding: 0; }
/* The stock scroll handler's inline margin makes a stacked summary recede. */
body[id^="page_shopping"] #issue21-main .ec-orderRole__summary,
body.customer-checkout-page #issue21-main .ec-orderRole__summary { margin-top: 30px !important; }
body[id^="page_shopping"] #issue21-main .ec-rectHeading h2 { font-size: 16px; }
body[id^="page_shopping"] #issue21-main .ec-borderedDefs dl { display: grid; grid-template-columns: 20% minmax(0, 1fr); padding: 0; }
body[id^="page_shopping"] #issue21-main .ec-borderedDefs :is(dt, dd) { min-width: 0; width: auto; padding: 8px; }
body[id^="page_shopping"] #issue21-main .ec-borderedDefs dt { background: #f4f4f4; border-right: 1px solid #ddd; border-bottom: 0; }
body[id^="page_shopping"] #issue21-main .ec-borderedDefs dd { background: #fff; }
body[id^="page_shopping"] #issue21-main :is(.ec-input, .ec-select, .ec-zipInput, .ec-telInput) :is(input:not([type="checkbox"]):not([type="radio"]), select) {
    min-width: 0;
    max-width: 100%;
    height: 24px;
    padding: 2px 4px;
    font: inherit;
    line-height: normal;
}
body[id^="page_shopping"] #issue21-main select { appearance: auto; background-image: none; }
body[id^="page_shopping"] #issue21-main .ec-halfInput { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body[id^="page_shopping"] #issue21-main .ec-halfInput input { min-width: 0; width: 100%; margin: 0; }
body[id^="page_shopping"] #issue21-main .ec-errorMessage { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 767px) {
    body[id^="page_shopping"] #issue21-main .ec-halfInput { grid-template-columns: minmax(0, 1fr); }
}
#page_help_agreement #issue21-main .issue21-legacy-content { padding: 0; background: transparent; font-size: 12px; line-height: 1.7; }
#page_help_agreement #issue21-main .issue21-legacy-content h1 { padding: 0; margin: 0 0 30px; font-size: 26px; line-height: 1.1; }
#page_help_agreement #issue21-main .issue21-legacy-content > h2 { padding: 0; margin: 0; border: 0; font: inherit; }
#page_help_agreement #issue21-main .issue21-legacy-content > p { margin: 0 0 10px; }
#page_help_agreement #issue21-main .customer-agreement-clauses {
    box-sizing: border-box;
    width: 100%;
    height: 614px;
    padding: 6px 12px;
    overflow: auto;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
    line-height: 20px;
}
#page_help_agreement #issue21-main .customer-agreement-clauses h2 { padding: 0; margin: 0; border: 0; font: inherit; }
#page_help_agreement #issue21-main .customer-agreement-clauses p { margin: 0 0 20px; font: inherit; }
/* Retain the accessible required text and use the storefront's visual marker. */
:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm, #page_forgot, #page_forgot_reset) #issue21-main .ec-required,
body[id^="page_shopping"] #issue21-main .ec-required { margin-left: 0; font-size: 0; }
:is(#page_contact, #page_contact_confirm, #page_entry, #page_entry_confirm, #page_forgot, #page_forgot_reset) #issue21-main .ec-required::after,
body[id^="page_shopping"] #issue21-main .ec-required::after { content: "※"; color: #f55; font-size: 12px; font-weight: 400; }

/* Registration has a wider label column than the contact form. */
:is(#page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs dl { grid-template-columns: 30% minmax(0, 1fr); }
#page_entry #issue21-main .customer-entry-intro { margin: 0 0 10px; font-size: 12px; line-height: 1.7; }
#page_entry #issue21-main .ec-registerRole .ec-halfInput > input:not([type="checkbox"]):not([type="radio"]),
#page_entry #issue21-main .ec-input input { width: min(300px, 100%); flex-basis: 300px; }
#page_entry #issue21-main .ec-input input[type="password"] { width: min(120px, 100%); }
#page_entry #issue21-main .ec-input + .ec-input { margin-top: 16px; }
#page_entry #issue21-main .ec-zipInput + .ec-select { margin-top: 16px; }
:is(#page_entry, #page_entry_confirm) #issue21-main .ec-registerRole .ec-registerRole__actions .ec-off4Grid__cell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
:is(#page_entry, #page_entry_confirm) #issue21-main .ec-registerRole__actions :is(button, a.ec-blockBtn--cancel) {
    display: inline-block;
    width: auto;
    margin: 0;
    line-height: 17.1429px;
}
@media (max-width: 767px) {
    :is(#page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs dl { grid-template-columns: 13% minmax(0, 1fr); }
}

/* Align EC-CUBE's generated checkbox wrapper with its email field. */
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-remember .form-check {
    display: flex;
    align-items: flex-start;
    min-height: 0;
    padding: 0;
    margin: 0;
    line-height: 20.4px;
}
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-remember .form-check-label {
    padding: 0;
    margin: 0;
    line-height: 20.4px;
}
:is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-remember input[type="checkbox"] {
    flex: 0 0 13px;
    float: none;
    margin: 4px 3px 0 0;
}
#page_mypage_login #issue21-main .customer-login-actions > p { margin: 0; }

#page_help_agreement #issue21-main .customer-agreement-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}
#page_help_agreement #issue21-main .customer-agreement-actions a {
    padding: 6px 18px;
    border-color: #b3b3b3;
    font-size: 12px;
    line-height: 17.1429px;
}
#page_help_agreement #issue21-main .customer-agreement-actions a:hover { background: #ccc; color: #fff; }

#page_cart #issue21-main .customer-cart-summary { margin: 0 0 10px; }
#page_cart #issue21-main .customer-cart-delivery strong { font-weight: inherit; color: inherit; }
#page_cart #issue21-main .customer-cart-table-wrap { max-width: 100%; overflow-x: auto; margin-bottom: 20px; }
#page_cart #issue21-main .customer-cart-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
    font-size: 12px;
    line-height: 17.1429px;
}
#page_cart #issue21-main .customer-cart-table :is(th, td) {
    padding: 8px;
    border: 1px solid #ddd;
    vertical-align: top;
    text-align: left;
}
#page_cart #issue21-main .customer-cart-table th { background: #f4f4f4; font-weight: 700; }
#page_cart #issue21-main .customer-cart-delete { width: 10%; }
#page_cart #issue21-main :is(.customer-cart-image, .customer-cart-price, .customer-cart-quantity) { width: 15%; }
#page_cart #issue21-main .customer-cart-name { width: 30%; }
#page_cart #issue21-main .customer-cart-thumbnail { display: block; width: auto; max-width: 65px; max-height: 65px; margin: 0; }
#page_cart #issue21-main .customer-cart-table tfoot :is(th, td) { padding: 10px 8px; }
#page_cart #issue21-main .customer-cart-quantity-controls { display: flex; gap: 10px; }
#page_cart #issue21-main .customer-cart-quantity-controls a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid #aaa;
    border-radius: 2px;
    background: linear-gradient(#fff, #ddd);
    color: #666;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}
#page_cart #issue21-main .customer-cart-instruction { margin: 0 0 10px; text-align: center; }
#page_cart #issue21-main .customer-cart-actions { display: flex; flex-wrap: wrap; float: none; width: 100%; padding: 0; justify-content: center; align-items: center; gap: 15px; margin: 0 0 30px; }
#page_cart #issue21-main .customer-cart-actions a {
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 6px 18px;
    border: 1px solid #b3b3b3;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 400;
    line-height: 17.1429px;
    text-decoration: none;
}
#page_cart #issue21-main .customer-cart-actions a:hover { background: #ccc; color: #fff; }

:is(#page_entry, #page_entry_confirm) #issue21-main .ec-pageHeader { margin-bottom: 30px; }
:is(#page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs { border: 1px solid #ddd; }
:is(#page_entry, #page_entry_confirm) #issue21-main .ec-borderedDefs dl:last-child { border-bottom: 0; }
#page_entry #issue21-main .ec-zipInputHelp__icon { display: none; }
#page_entry #issue21-main .ec-zipInputHelp a { color: #333; text-decoration: underline; }
#page_entry #issue21-main .ec-zipInputHelp a:hover { color: #2b6fd9; text-decoration: none; }
#page_cart #issue21-main #paypal-container { flex: 0 0 100%; margin: 0; }
#page_cart #issue21-main #paypal-button-container { max-width: 300px; margin: 0 auto; }
#page_cart #issue21-main #paypal-container:has(#paypal-button-container:empty) { display: none; }

#page_help_agreement #issue21-main .issue21-legacy-content > p:first-of-type { font-size: 14px; line-height: 1.7; }
#page_help_agreement #issue21-main .issue21-legacy-content > h2 { margin: 20.4px 0; }
#page_help_agreement #issue21-main .issue21-legacy-content > h2 + p { margin-bottom: 20.4px; }
#page_help_agreement #issue21-main .customer-agreement-clauses { margin-top: 20.4px; }
#page_help_agreement #issue21-main .customer-agreement-clauses h2 { margin-bottom: 20px; }

#page_cart #issue21-main .customer-cart-table tbody td { padding: 10px; }
@media (max-width: 767px) {
    #page_cart #issue21-main .customer-cart-table { min-width: 0; }
    #page_cart #issue21-main .customer-cart-table :is(th, td) { white-space: nowrap; }
    #page_cart #issue21-main .customer-cart-table-wrap { border: 1px solid #ddd; }
}

@media (max-width: 767px) {
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-fields { gap: 27px; }
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-row { row-gap: 0; }
    :is(#page_mypage_login, #page_shopping_login) #issue21-main .customer-login-row > label { margin-bottom: 4px; }
}

/* Reuse the previous storefront's My Page title, section, table, and menu styles. */
.legacy-mypage { box-sizing: border-box; width: 100%; max-width: 1120px; margin: 0 auto 40px; color: #333; }
.legacy-mypage .page-title { padding: 0 0 10px; margin: 0 0 20px; border: 0; background: transparent; }
.legacy-mypage .page-title .title { margin: 0; color: #333; font-size: 26px; font-weight: 700; }
.legacy-mypage .section-title { padding: 12px; margin: 0 0 30px; background: #333; }
.legacy-mypage .section-title .title { display: inline-block; margin: 0; color: #fff; font-size: 16px; font-weight: 700; }
.legacy-mypage .margin-section .section-title {
    position: relative;
    padding: 0;
    margin: 30px 0;
    background: transparent;
    text-align: center;
}
.legacy-mypage .margin-section .section-title::before {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    border-top: 1px solid #ccc;
    content: "";
}
.legacy-mypage .margin-section .section-title .title {
    position: relative;
    display: inline-block;
    width: auto;
    padding: 0 15px;
    color: #333;
    font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', serif;
    font-size: 20px;
    font-weight: 700;
    background: #f7f5f0;
}
.legacy-mypage__content { margin-top: 20px; }
.legacy-mypage .table-responsive { width: 100%; max-width: 100%; overflow-x: auto; }
.legacy-mypage-nav { margin: 0 0 18px; }
.legacy-mypage-nav__list { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.legacy-mypage-nav__list li { margin: 0; }
.legacy-mypage-nav__list a { display: inline-block; padding: 4px 0; color: #333; text-decoration: underline; }
.legacy-mypage-nav__list a.is-current { font-weight: 700; text-decoration: none; }
.legacy-mypage a:focus-visible,
.issue21-sidebar-login a:focus-visible,
.legacy-mypage button:focus-visible {
    outline: 3px solid #145a8d;
    outline-offset: 2px;
}
.legacy-mypage-welcome { margin: 0 0 24px; padding: 12px 15px; border: 1px solid #ddd; background: #f5f5f5; }
.legacy-mypage-welcome p { margin: 0; line-height: 1.8; }
.legacy-mypage__table { width: 100%; margin: 16px 0; border-collapse: collapse; }
.legacy-mypage__table tbody th { background: #f4f4f4; }
.legacy-mypage__table tbody td { padding: 10px; background: #fff; }
.legacy-mypage__table thead th { padding: 10px; background: #f4f4f4; text-align: center; }
.legacy-mypage__table tbody th { width: 25%; padding: 10px; }
.legacy-mypage__table a { text-decoration: underline; }
.legacy-mypage__product-image { width: 84px; height: 84px; object-fit: contain; }
.legacy-mypage__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0; }
.legacy-mypage .btn-styled {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
}
.legacy-mypage .btn-default { border-color: #ccc; color: #333; }
.legacy-mypage .btn-main { border-color: #b3b3b3; background: #fff; color: #333; }
.legacy-mypage .btn-styled:hover { background: #ccc; color: #333; text-decoration: none; }
.legacy-mypage__shipping-table { width: 100%; margin: 0 0 20px; border: 1px solid #ddd; }
.legacy-mypage__shipping-row { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(180px, 2fr) minmax(90px, .8fr) minmax(60px, .5fr) minmax(90px, .8fr); border-bottom: 1px solid #ddd; }
.legacy-mypage__shipping-row:last-child { border-bottom: 0; }
.legacy-mypage__shipping-row > span { min-width: 0; padding: 10px; overflow-wrap: anywhere; }
.legacy-mypage__shipping-row--header { background: #f4f4f4; font-weight: 700; text-align: center; }
.legacy-mypage__mail { margin: 8px 0; padding: 10px; border: 1px solid #ddd; background: #fff; }
.legacy-mypage__mail summary { cursor: pointer; }
.legacy-mypage__mail > div { padding-top: 10px; white-space: pre-wrap; }
.legacy-address-edit { width: 100%; max-width: 600px; margin: 0 auto; }
.legacy-address-edit .page-title { margin-bottom: 15px; }
.legacy-address-edit .legacy-mypage__table tbody th { width: 28%; }
.delivery-popup .ec-layoutRole__header,
.delivery-popup .ec-layoutRole__footer,
.delivery-popup .ec-layoutRole__left,
.delivery-popup .ec-layoutRole__right { display: none; }
.delivery-popup .ec-layoutRole__contents { display: block; width: 100%; max-width: none; padding: 12px; margin: 0; }
.delivery-popup .legacy-mypage { width: 100%; margin: 0; }
.delivery-popup .legacy-address-edit { max-width: none; margin: 0; }
.issue21-sidebar-login .user_name,
.issue21-sidebar-login .point { font-weight: 700; }
.issue21-sidebar-login .issue21-sidebar-body > p { line-height: 1.7; }

@media (max-width: 767px) {
    .legacy-mypage { width: 100%; }
    .legacy-mypage-nav__list { display: block; margin-bottom: 18px; }
    .legacy-mypage-nav__list li { display: block; }
    .legacy-mypage-nav__list a { display: block; padding: 8px 10px; border: 1px solid #ddd; border-bottom: 0; background: #f4f4f4; }
    .legacy-mypage-nav__list li:last-child a { border-bottom: 1px solid #ddd; }
    .legacy-mypage__table { font-size: 14px; }
    .legacy-mypage__table th,
    .legacy-mypage__table td { padding: 8px; }
    .legacy-mypage__table tbody th { width: 38%; }
    .legacy-mypage__actions { align-items: stretch; flex-direction: column; }
    .legacy-mypage__shipping-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
    .legacy-mypage__shipping-row--header { display: none; }
    .legacy-mypage__shipping-row > span:nth-child(2) { grid-row: span 2; }
    .legacy-mypage .margin-section .section-title .title { max-width: 85%; font-size: 20px; }
}

/* Match the compact checkout controls to the surrounding customer forms. */
#page_shopping_login #issue21-main .ec-guest__actions a {
    display: inline-block;
    width: auto;
    min-height: 0;
    height: auto;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

#page_shopping_nonmember #issue21-main .ec-zipInput {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
#page_shopping_nonmember #issue21-main .ec-zipInput input { margin: 0; }
#page_shopping_nonmember #issue21-main .ec-zipInputHelp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
#page_shopping_nonmember #issue21-main .ec-zipInputHelp__icon {
    display: flex;
    position: static;
    align-items: center;
    justify-content: center;
    margin: 0;
}
#page_shopping_nonmember #issue21-main .ec-zipInputHelp .ec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
#page_shopping_nonmember #issue21-main .ec-zipInputHelp img {
    display: block;
    position: static;
    margin: 0;
}

/* The legacy review form opens in its own 600 x 640 window. */
.customer-review .ec-layoutRole__header,
.customer-review .ec-layoutRole__footer,
.customer-review .ec-layoutRole__left,
.customer-review .ec-layoutRole__right { display: none; }
.customer-review .ec-layoutRole { min-height: 0; }
.customer-review .ec-layoutRole__contents {
    display: block;
    width: 100%;
    max-width: none;
    padding: 15px;
    margin: 0;
}
.customer-review #issue21-main,
.customer-review :is(.ec-registerRole, .ec-registerCompleteRole, .ec-role, .ec-off1Grid, .ec-off1Grid__cell, .ec-off3Grid, .ec-off3Grid__cell, .ec-off4Grid, .ec-off4Grid__cell) {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}
.customer-review #issue21-main :is([class^="ec-"], [class*=" ec-"]) { font-size: 12px; line-height: 1.7; }
.customer-review #issue21-main .ec-pageHeader { padding: 0; margin: 0 0 22px; }
.customer-review #issue21-main .ec-pageHeader h1 { padding: 0; margin: 0; font-size: 26px; line-height: 1.1; }
.customer-review .ec-borderedDefs { margin: 0; border: 1px solid #ddd; }
.customer-review .ec-borderedDefs dl { display: grid; grid-template-columns: 30% minmax(0, 1fr); margin: 0; padding: 0; border-bottom: 1px solid #ddd; }
.customer-review .ec-borderedDefs dl:last-child { border-bottom: 0; }
.customer-review .ec-borderedDefs :is(dt, dd) { min-width: 0; margin: 0; padding: 8px; overflow-wrap: anywhere; }
.customer-review .ec-borderedDefs dt { border-right: 1px solid #ddd; background: #f4f4f4; }
.customer-review .ec-borderedDefs dd { background: #fff; }
.customer-review #issue21-main :is(input[type="text"], input[type="url"], select, textarea) {
    box-sizing: border-box;
    width: min(350px, 100%);
    max-width: 100%;
    height: 24px;
    padding: 2px 4px;
    margin: 0;
    border: 1px solid #999;
    border-radius: 0;
    font: inherit;
}
.customer-review #issue21-main select { width: auto; appearance: auto; background-image: none; }
.customer-review #issue21-main textarea { height: 200px; }
.customer-review #issue21-main .ec-radio { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.customer-review #issue21-main .ec-radio input { margin: 0; }
.customer-review #issue21-main .ec-radio label { margin: 0; padding: 0; }
.customer-review #issue21-main .ec-required { color: #b42318; }
.customer-review #issue21-main .ec-registerRole__actions { margin: 10px 0 0; text-align: center; }
.customer-review #issue21-main .ec-blockBtn--action,
.customer-review #issue21-main .ec-blockBtn--cancel {
    display: inline-block;
    width: auto;
    min-height: 0;
    height: auto;
    padding: 6px 18px;
    margin: 0 4px;
    border: 1px solid #b3b3b3;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font: inherit;
    line-height: 1.4;
}
.customer-review #issue21-main :is(.ec-blockBtn--action, .ec-blockBtn--cancel):hover { background: #ccc; color: #fff; }
.customer-review #issue21-main .ec-reportHeading { margin: 0 0 10px; }
