#popup{
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.75);
	z-index: 1111;
}

.annoucement {
    position: relative;
    width: 1160px;
    height: 611px;
    background: url('../image/yuuto-pc.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

.annoucement .close-dialog {
    position: absolute;
    cursor: pointer;
    top: 8%;
    right: 4%;
    border-radius: 10px;
    background: #001343;
    padding: .4rem 1rem;  
}

.annoucement .close-dialog .close-text {
    color: #ffffff;
    font-family: "Segoe UI";
    font-weight: 600;
    font-size: 1.2rem;
    color: #ffffff;
}

.annoucement .close-dialog img {
    width: 40%;
    height: auto;
}

.annoucement .btn-buy {
    padding: 1rem 12rem;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    font-family: "Segoe UI";
    font-weight: bold;
    font-size: 1.5rem;
    text-align: left;
    color: #000;
    text-align: center;
    position: absolute;
    cursor: pointer;
    left: 37%;
    bottom: 8%;
    text-decoration: none;
}

.floating-modal {
    display: none;
	width: 416px;
    height: 220px;
    background: url('../image/yuuto-pc.svg');
    background-size: cover;
    background-repeat: no-repeat;
	box-shadow: 0 16px 22px -17px #03153B;
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 999;
}

.floating-modal #maximize {
    position: absolute;
    cursor: pointer;
    top: 10%;
    right: 5%;
    font-size: 18px;
    color: #000000;
}

.floating-icon {
    display: none;
	width: 95px;
    height: 104.45px;
    background: url('../image/festival_egg.svg');
    background-size: cover;
    background-repeat: no-repeat;
	box-shadow: 0 16px 22px -17px #03153B;
	position: fixed;
	top: 45px;
	left: 20px;
	z-index: 999;
}

.hideModal {
    animation: hide .50s, spin 3s;
    transform: scale(0);
}
@keyframes hide {
    from{
        background: none;
        transform: scale(1);
    } 
    to {
        background: none;
        transform: scale(0);
    }
}

@keyframes spin {
    100% {
        transform: translate(-120%,-150%);
    }
}

.showModal {
    animation: show .60s;
    transform: scale(1);
}
@keyframes show {
    from {
        background: none;
        transform: scale(0);
    } 
    to { 
        background: none;
        transform: scale(1);
    }
}


@media (max-width: 1024px){
    .annoucement {
        position: relative;
        width: 280px;
        height: 457px;
        background: url('../image/yutto-yd.svg');
        background-size: 280px 457px;
        background-repeat: no-repeat;
        margin: 0 auto;
    }

    #popup {
        padding: 0;
    }
    .annoucement .btn-buy {
        padding: 1rem 5.5rem;
        left: 5.5rem;
        bottom: 5rem;
    }

    .annoucement .close-dialog {
        top: 2.3rem;
        right: 0.6rem;
    }
}