/* Notice popup, version 20260908-1. */
.notice-popup {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.notice-popup .pop-box-flex {
    box-sizing: border-box;
    height: auto;
    min-height: 100%;
    padding: 40px 12px 20px;
    padding-top: max(40px, env(safe-area-inset-top));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    align-items: flex-start;
}

.notice-popup .pop-box-body {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 500px;
    margin: 0;
    padding: 44px 30px 30px;
    font-size: 18px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.notice-popup .close-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-emphasis {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.4;
    margin: 10px 0;
}

.notice-emphasis p {
    margin: 0;
    font: inherit;
    color: inherit;
}

.notice-emphasis p + p {
    margin-top: 16px;
}

.notice-cash {
    background-color: #ffeb3b;
    color: #000;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .notice-popup .pop-box-flex {
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .notice-popup .pop-box-body {
        padding: 44px 20px 24px;
        font-size: 16px;
    }

    .notice-emphasis {
        font-size: 20px;
        font-size: clamp(18px, 5vw, 22px);
    }
}
