.equipment-payment-notice {
    position: fixed;
    inset: 0;
    width: calc(100% - 32px);
    max-width: 480px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 32px;
    overflow: auto;
    border: 0;
    border-radius: 18px;
    background: #fff;
    color: #303030;
    box-shadow: 0 24px 80px rgb(0 0 0 / 25%);
    font-family: inherit;
}

.equipment-payment-notice::backdrop {
    background: rgb(20 24 28 / 60%);
}

.equipment-payment-notice--corner {
    inset: 16px 16px auto auto;
    z-index: 2000;
    margin: 0;
    opacity: 0.5;
}

html:has(.equipment-payment-notice:not(.equipment-payment-notice--corner)[open]) {
    overflow: hidden;
}

.equipment-payment-notice__content {
    margin: 0;
}

.equipment-payment-notice__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #666;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.equipment-payment-notice__close:hover {
    background: #f3f3f3;
    color: #222;
}

.equipment-payment-notice__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #fff0ee;
    color: #bd3326;
}

.equipment-payment-notice .equipment-payment-notice__title {
    margin: 0 0 16px;
    color: #222;
    font-size: clamp(22px, 5vw, 26px);
    font-weight: 600;
    line-height: 1.3;
}

.equipment-payment-notice p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.6;
}

.equipment-payment-notice .equipment-payment-notice__hours {
    color: #a72c21;
    font-weight: 500;
}

.equipment-payment-notice__confirm {
    width: 100%;
    margin-top: 8px;
    padding: 13px 20px;
    border: 0;
    border-radius: 8px;
    background: #bd3326;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

.equipment-payment-notice__confirm:hover {
    background: #a72c21;
}

.equipment-payment-notice button:focus-visible {
    outline: 3px solid #bd3326;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .equipment-payment-notice {
        padding: 24px;
    }
}
