/* ========================================
   Notification Banners
   ======================================== */

.notification-banner {
    margin: 16px auto;
    max-width: 1020px;
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Alert Banner (Red) */
.notification-banner--alert {
    border: 2px solid #f33313;
}

.notification-banner--alert .notification-banner__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-banner--alert .notification-banner__icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.notification-banner--alert .notification-banner__button {
    background: #f33313;
    color: #fff;
    border: none;
}

.notification-banner--alert .notification-banner__button:hover {
    background: #d42a0f;
}

/* Welcome Banner (White/Gray) */
.notification-banner--welcome {
    border: 1px solid #e0e0e0;
}

.notification-banner--welcome .notification-banner__button {
    background: #ff6b35;
    color: #fff;
    border: none;
}

.notification-banner--welcome .notification-banner__button:hover {
    background: #e55a28;
}

/* Banner Content */
.notification-banner__content {
    flex: 1;
    min-width: 0;
}

.notification-banner__text {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.notification-banner__text strong {
    font-weight: 700;
    color: #000;
}

/* Banner Action */
.notification-banner__action {
    flex-shrink: 0;
}

.notification-banner__button {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: none;
}

.notification-banner__button:active {
    transform: scale(0.98);
}

/* Responsive: Mobile */
@media (max-width: 576px) {
    .notification-banner {
        margin: 12px 16px;
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .notification-banner--alert .notification-banner__icon {
        width: 28px;
        height: 28px;
    }

    .notification-banner--alert .notification-banner__icon img {
        width: 20px;
        height: 20px;
    }

    .notification-banner__content {
        flex: 1 1 100%;
        order: 2;
    }

    .notification-banner__text {
        font-size: 13px;
    }

    .notification-banner__action {
        order: 3;
        width: 100%;
    }

    .notification-banner__button {
        width: 100%;
        padding: 10px 20px;
        font-size: 13px;
    }

    .notification-banner--alert .notification-banner__icon {
        order: 1;
    }
}

/* Responsive: PC */
@media (min-width: 577px) {
    .notification-banner {
        padding: 18px 28px;
    }

    .notification-banner__text {
        font-size: 14px;
    }
}

/* ========================================
   Service Termination Notice Banner
   ======================================== */

.service-notice-banner {
    margin: 0 auto 15px;
    max-width: 1024px;
    width: 100%;
    box-sizing: border-box;
    background: #ffe6e6;
    border: 2px solid #e60012;
    border-radius: 12px;
    padding: 20px 38px 20px 28px;
    display: flex;
    align-items: center;
    gap: 0;
}

.service-notice-banner__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 30px;
    border-radius: 50%;
}

.service-notice-banner__icon img {
    width: 50px;
    height: 50px;
}

.service-notice-banner__content {
    flex: 1;
    margin-right: auto;
}

.service-notice-banner__title {
    font-size: 24px;
    line-height: 1.2;
    font-weight: bold;
    font-family: 'Hiragino Kaku Gothic ProN';
    color: #e60012;
    margin: 0 0 4px 0;
}

.service-notice-banner__text {
    font-size: 16px;
    line-height: 1.7;
    font-family: 'Hiragino Kaku Gothic ProN';
    color: #333;
    margin: 0;
    font-weight: 500;
}

.service-notice-banner__text strong {
    font-weight: 700;
    text-decoration: underline;
}

.service-notice-banner__action {
    flex-shrink: 0;
    margin-left: 40px;
}

.service-notice-banner__button {
    background: #FFFFFF;
    color: #e60012;
    border: 2px solid #E80012;
    border-radius: 36px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.service-notice-banner__button .service-notice-banner__arrow {
    margin-left: 6px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.service-notice-banner__button:hover {
    background: #e60012;
    color: #fff;
}

.service-notice-banner__button:hover .service-notice-banner__arrow {
    filter: brightness(0) invert(1);
}

/* Mobile responsive */
@media (max-width: 576px) {
    .service-notice-banner {
        margin: 0 auto;
        width: calc(100vw - 40px);
        padding: 16px 12px;
        display: grid;
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto auto;
        gap: 0;
        align-items: start;
    }

    .service-notice-banner__icon {
        grid-column: 1;
        grid-row: 1;
        width: 32px;
        height: 32px;
        margin-right: 12px;
        margin-bottom: 0;
        flex-shrink: 0;
        align-self: start;
    }

    .service-notice-banner__icon img {
        width: 32px;
        height: 32px;
    }

    .service-notice-banner__content {
        grid-column: 1 / -1;
        grid-row: 1 / 3;
        margin-right: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-left: 48px;
    }

    .service-notice-banner__title {
        font-size: 18px;
        line-height: 1.2;
        font-weight: bold;
        font-family: 'Hiragino Kaku Gothic ProN';
        margin: 4px 0 0 0;
    }

    .service-notice-banner__text {
        font-size: 14px;
        line-height: 1.7;
        font-family: 'Hiragino Kaku Gothic ProN';
        margin: 4px 0 0 -48px;
        padding-right: 0;
    }

    .service-notice-banner__action {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
    }

    .service-notice-banner__button {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 6px 12px;
        font-size: 16px;
        background: #FFFFFF;
        color: #e60012;
        border: 2px solid #e60012;
    }

    .service-notice-banner__button:active {
        background: #e60012;
        color: #FFFFFF;
    }

    .service-notice-banner__button .service-notice-banner__arrow {
        position: absolute;
        right: 12px;
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 331px) {
    .container-banner {
        height: 850px;
    }
}