html {
    font-size: 16px;
}

.error-border {
    border: 1px solid red;
}

.btn-order-primary {
    background-color: #d13933;
}

.btn-order {
    background-color: #8F7777;
}

.bg-light {
    height: 70px;
}

/*ヘッダーデザイン*/
.arrows {
    margin: auto !important;
    padding: 0px;
    /*white-space: nowrap;*/
    text-align: center;
}

.arrows li {
    display: inline-block;
    line-height: 15px;
    margin: 0 9px 0 -10px;
    padding: 0 10px 0 10px;
    position: relative;
    font-size: 14px;
}

.arrows li::before,
.arrows li::after {
    border-right: 1px solid #666666;
    content: '';
    display: block;
    height: 50%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transform: skewX(45deg);
}

.arrows li::after {
    bottom: 0;
    top: auto;
    transform: skewX(-45deg);
}

.arrows li:last-of-type::before,
.arrows li:last-of-type::after {
    display: none;
}

.arrows .before_li {
    color: hsl(0, 0%, 40%);
}

.arrows .current_li {
    color: #ff0000;
    font-weight: bold;
}

.l-box-sm>.container {
    margin-top: 70px;
}

@media (min-width: 992px) {
    .l-box-sm {
        width: 56vw !important;
        max-width: 760px !important;
        min-width: 520px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .l-box-sm>.container {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.text-danger {
    font-size: 26px;
    vertical-align: middle;
}

/* SweetAlert2 custom design */
.swal2-popup {
    text-align: center;
}

.swal2-modal {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.swal2-title {
    font-size: 1.1em !important;
}

.swal2-html-container {
    font-size: 1em !important;
    text-align: left !important;
}

.swal2-popup {
    background-color: #f2f2f2 !important;
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.3);
}

.swal2-footer {
    display: flex;
    justify-content: center !important;
}

.swal2-confirm,
.swal2-deny,
.swal2-cancel {
    margin: 5px;
}

.swal2-confirm,
.swal2-deny,
.swal2-cancel {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;

}

/* Hide unnecessary elements in SweetAlert2 */
.swal2-icon,
.swal2-image,
.swal2-progress-steps,
.swal2-range,
.swal2-select,
.swal2-radio,
.swal2-checkbox,
.swal2-input,
.swal2-file,
.swal2-validation-message,
.swal2-timer-progress-bar-container {
    display: none !important;
}

button {
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.3);
}

@media (min-width: 576px) {
    .l-main {
        height: 100vh;
    }
}

.procedure-preview-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.procedure-preview-heading img {
    width: 5%;
    height: auto;
}

.procedure-preview-wrap {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.procedure-preview-wrap + .procedure-preview-wrap {
    margin-top: 15px;
}

/* net_super_order_procedurenm: store pickup card */
.procedure-preview-card-main {
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 14px;
    padding: 14px 14px;
}

.procedure-preview-card-main .procedure-preview-section {
    padding: 10px 8px;
}

.procedure-preview-card-main .procedure-preview-divider {
    border-top: 1px solid #cfcfcf;
    margin: 4px 0;
}

.procedure-preview-card-main .procedure-preview-heading span {
    font-size: 1.65rem;
    font-weight: 700;
    color: #4f4f4f;
}

.procedure-preview-card-main .procedure-preview-heading img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.procedure-preview-card-main .procedure-preview-value,
.procedure-preview-card-main .procedure-preview-subvalue {
    margin-top: 8px;
    padding-left: 18px;
    color: #4a3030;
    font-size: 2.34rem;
    line-height: 1.35;
}

.procedure-schedule-row {
    display: flex;
    align-items: center;
    gap: 33px;
    margin-top: 10px;
    padding-left: 18px;
}

.procedure-schedule-label {
    width: 78px;
    flex: 0 0 78px;
    color: #4a3030;
    font-size: 1.24rem;
    font-weight: 700;
    white-space: nowrap;
}

.procedure-schedule-value {
    width: 300px;
    max-width: calc(100% - 92px);
    flex: 0 0 auto;
    border: 1px solid #b7b7b7;
    border-radius: 6px;
    background: #f2f2f2;
    color: #4a3030;
    font-size: 1.44rem;
    line-height: 1.25;
    padding: 8px 10px;
}

@media (max-width: 932px) {
    .procedure-schedule-value {
        width: 62%;
        max-width: 62%;
    }
}

.procedure-preview-card-shortage {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 14px;
    padding: 16px 18px;
}

.procedure-preview-card-shortage .procedure-preview-heading span {
    font-size: 1.61rem;
    font-weight: 700;
    color: #4f4f4f;
}

.procedure-preview-card-shortage .procedure-preview-heading img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.procedure-shortage-description {
    margin: 10px 0 16px;
    color: #4a3030;
    font-size: 1.24rem;
    line-height: 1.45;
}

.procedure-shortage-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    margin-left: 20px;
    color: #4f4f4f;
    font-size: 1.24rem;
    font-weight: 700;
}

.procedure-shortage-option input[type="checkbox"] {
    width: 22px;
    height: 22px;
}

.procedure-shortage-phone-label {
    margin-top: 4px;
    padding-left: 52px;
    color: #4f4f4f;
    font-size: 15px;
}

.procedure-shortage-phone-input {
    margin-left: 52px;
    width: 40%;
    height: 38px;
    border: 1px solid #a9a9a9;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 1.82rem;
}

.procedure-page-title h4 {
    font-size: 23.2px;
    margin: 2.2rem 0 0.5rem !important;
    position: relative;
    top: -3px;
}

.procedure-page-title-text {
    margin: 2.2rem 0 0.5rem !important;
}

.procedure-page-note {
    color: #ff0000;
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 auto !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: #ffffff;
    padding: 5px 10px 21px;
}

.delivery-unavailable-notice {
    color: #ff0000;
    font-weight: 700;
}

.procedure-action-buttons {
    padding-top: 18px !important;
    text-align: center;
}

.procedure-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-height: 52px;
    border-radius: 6px;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
    border: 0;
    padding: 0.4rem 0.75rem;
}

.procedure-action-button .button-label {
    display: block;
    width: 100%;
    text-align: center;
}

#cardCheck.procedure-action-button .next-button-label {
    display: inline-block;
    position: relative;
}

.procedure-action-button .button-run-icon,
.procedure-action-button .button-cart-icon {
    display: inline-block;
    width: auto;
    height: 34px;
    object-fit: contain;
    flex: 0 0 auto;
}

.procedure-action-button .button-cart-icon {
    order: -1;
}

#cardCheck.procedure-action-button {
    background-color: #c9454b;
}

#orderCheck.procedure-action-button {
    background-color: #7f7070;
}

@media (min-width: 993px) {
    .procedure-action-button {
        width: 100%;
        min-height: 44px;
        font-size: 18px !important;
        box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.3) !important;
    }
}

@media (max-width: 992px) {
    .procedure-action-button {
        width: 100%;
        min-height: 44px;
        font-size: 18px !important;
        box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.3) !important;
    }

    .procedure-shortage-phone-input {
        width: 80%;
    }
}

@media (max-width: 767px) {
    .l-box-sm {
        width: 95% !important;
        max-width: 95% !important;
        margin-left: auto;
        margin-right: auto;
    }

    .procedure-page-title h4 {
        font-size: 23.2px;
        margin: 2.2rem 0 0.5rem !important;
        position: relative;
        top: -3px;
    }

    .procedure-page-title-text {
        margin: 2.2rem 0 0.5rem !important;
    }

    .procedure-page-note {
        font-size: 1.05rem;
        line-height: 1.32;
        background: transparent;
    }

    .procedure-preview-card-main .procedure-preview-heading span,
    .procedure-preview-card-shortage .procedure-preview-heading span {
        font-size: 1.15rem;
    }

    .procedure-preview-card-main .procedure-preview-value,
    .procedure-preview-card-main .procedure-preview-subvalue {
        font-size: 1.3rem;
    }

    .procedure-shortage-description {
        font-size: 0.92rem;
    }

    .procedure-shortage-phone-input {
        width: 80%;
    }
}

/* net_super_order_procedure: delivery info card */
.procedure-preview-wrap .info-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0;
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}

.net-super-order-procedure-page .procedure-preview-wrap .info-card {
    padding: 16px 18px;
}

.net-super-order-procedure-page .procedure-shortage-description {
    color: #000;
}

.procedure-preview-wrap .info-card h2 {
    margin: 0 0 6px;
    font-size: 16.8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.procedure-preview-wrap .mini-icon-image {
    width: 35px;
    height: 35px;
    object-fit: contain;
    vertical-align: middle;
    flex: 0 0 auto;
}

.procedure-preview-wrap .delivery-card p {
    margin: 0 0 4px;
    font-size: 16.8px;
    line-height: 1.38;
}

.procedure-preview-wrap .delivery-label {
    margin-top: 8px;
    font-weight: 700;
}

.procedure-preview-wrap .delivery-value {
    padding-left: 1em;
}

.procedure-preview-wrap--delivery {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.procedure-preview-wrap--delivery .delivery-card {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.procedure-preview-wrap--shortage .procedure-preview-card-shortage {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .procedure-preview-wrap .info-card h2,
    .procedure-preview-wrap .delivery-card p {
        font-size: 24px;
        line-height: 1.45;
    }
}

button.procedure-action-button > img.button-run-icon,
button.procedure-action-button > img.button-cart-icon {
    position: absolute !important;
    display: inline-block !important;
    width: auto !important;
    height: 30px !important;
    max-width: 42px !important;
    max-height: 30px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
}

#cardCheck.procedure-action-button > img.button-run-icon {
    left: calc(50% + 39.5px);
}

#orderCheck.procedure-action-button > img.button-cart-icon {
    right: calc(50% + 80px);
}
