@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
/* Common */
html,body{width:100%;height:100%;word-break:keep-all;letter-spacing: -0.038em;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,fieldset,p,button,table,tr,th,td,label,select{margin:0;padding:0;}
p{line-height:1.3;}
table{border-collapse:collapse;border-spacing:0;}
ul,ol,li{list-style:none;}
img,fieldset{border:0;}
label{cursor:pointer;}
button,input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance: button;cursor: pointer;}
input[type="checkbox"],input[type="radio"]{border:0;}
svg:not(:root){overflow: hidden;}
em{ font-style: normal;}
a {text-decoration: none; color: inherit; display: inline-block; }

.container-fluid {
    position: relative;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.container {
    width: 1170px;
    margin: 0 auto;
    font-family: 'Pretendard-Regular';
    position: relative;
}
section {
    padding: 90px 0 80px;
}
/* main */
.main {
    text-align: center;
    background: url(./img/main_bg.png) 50% 0 no-repeat;
    background-size: cover;
    position: relative;
    padding: 0px 0 18px;
}

h1,h3,h4 {
    font-family: "sandoll-andante", sans-serif;
    font-weight: 400;
    font-style: normal;
}
h1 {
    margin-top: 20px;
    font-size: 4.5rem;
}
h3 {
    font-size: 2.5rem;
    margin: 20px 0 20px;
}
h4 {
    font-size: 3.1rem;
}
.top {
	display: flex;
    justify-content: space-between;
    padding: 20px;
}
.top p {
	font-family: 'Pretendard-Regular';
    font-size: 1.3rem;
}
.deco {position: absolute;}
.leaves_left {
    left: 10%;
    top: 70%;
    animation: leaves-fall 2s ease-in;
}
.leaves_right {
    right: 10%;
    top: 40%;
    animation: leaves-fall2 2s ease-in; 
}
.grass_01 {
    left: -5px;
    bottom: -1%;
    animation: rotate 3s infinite ease-in-out alternate;
}
.grass_02 {
    left: 2%;
    bottom: -1%;
    animation: rotate2 3s infinite ease-in alternate;
}
.grass_03 {
    right: -5px;
    bottom: -1%;
    animation: rotate2 3s infinite ease-in alternate;

}
.grass_04 {
    right: 2%;
    bottom: -1%;
    animation: rotate 3s infinite ease-in-out alternate;

}

@keyframes rotate {
    0% {
        transform: skewX(0deg);
    }
    50% {
        transform: skewX(2deg);
    }
    100% {
        transform: skewX(0deg);
    }
}
@keyframes rotate2 {
    0% {
        transform: skewX(0deg);
    }
    
    50% {
        transform: skewX(-2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes leaves-fall {
	10% {
        opacity: 0;
		
        transform: translateX(10px);
	}
	50% {
		opacity: 0;
        transform: translateX(-100px);
	}
}
@keyframes leaves-fall2 {
	10% {
        opacity: 0;
		
        transform: translateX(-10px);
	}
	50% {
		opacity: 0;
        transform: translateX(100px);
	}
}
/* rule */
.rule {
    background-color: #ffb4d2;
    text-align: center;
}

.rule ul {
    display: flex;
    justify-content: space-between;
    margin: 40px 0 20px;
}

.rule ul li {
    background: #fff;
    border-radius: 20px;
    width: 30%;
    padding: 40px 0 45px;
}
.rule h4 {
	margin-bottom:5px;
}
.rule p {
		font-size:1.5rem;
}

.rule ul li p {
    margin-top: 10px;
    font-size: 1.4rem;
}
.rule span {
    font-size: 1.2rem;
    color: #fff;
}
/* count */
.count {
    text-align: center;
    background: url(./img/count_bg.png) 0 no-repeat;
    background-size: cover;
    position: relative;
    padding: 50px 0 30px;
}
.count p {
    font-family: "sandoll-andante", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    line-height: 1.5;
    align-items: center;
}
.count ul {
    margin-top: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.count ul li:last-child {
    background: url(./img/count.png) 50% 0 no-repeat;
    background-size: cover;
    position: relative;
    padding: 185px 100px 100px 
}
.count input {
    border: 5px solid #a6e8bd;
    width: 150px;
    height: 40px;
    font-size: 1.5rem;
}
/* detail */
.detail {
    background-color: #ffdede;
}
.detail ul {
    margin: 40px 0 20px;
    display: flex;
    justify-content: space-between;
}

.detail ul li {
    width: 48%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    padding-top: 40px;
}

.detail a {
	display: inline-flex;
    align-items: center;
    color: #fff;
    padding: 20px 60px;
    background: #e64653;
    border-radius: 200px;
    font-size: 1.3rem;
    margin-top: 20px;
}

.detail .deco_01 {
    position: absolute;
    left: 15%;
	animation: bounce2 0.8s infinite alternate;
}
.detail .deco_02 {
    position: absolute;
    right: 15%;
	animation: bounce 0.8s infinite alternate;
}

@keyframes bounce {
	0% {
    transform: translateY(-10%);
}
}
@keyframes bounce2 {
	0% {
    transform: translateY(10%);
}
}
/* gift */
.gift {
    background-color: #ffb4d2;
}
.gift p {
    font-size: 1.7rem;
}
.gift ul {
    display: flex;
    justify-content: space-between;
    margin: 40px 0 20px;
}

.gift ul li {
    width: 23%;
}
.gift ul li .imgbox {
    overflow: hidden;
    border-radius: 20px;
}
.gift ul li .imgbox img {
    width: 100%;
}

.gift ul li p {
    margin-top: 10px;
    font-size: 1.3rem;
	line-height: 1.2;
}
.gift .more_btn {
	display: inline-flex;
    align-items: center;
    color: #fff;
    padding: 20px 60px;
    background: #000;
    border-radius: 200px;
    font-size: 1.3rem;
    margin-top: 20px;
}
/* footer */
.eventinfo {
    text-align: left;
    color: #fff;
    background: #566b63;
    padding: 30px 0 15px;
}

.eventinfo p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* footer */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 1.2rem;
}

/* banner */
.flybanner {
    position: fixed;
    z-index: 99;
    right: 6%;
    top: -5px;
	animation: rotate 3s infinite ease-in-out alternate;
}

/* responsive */
@media screen and (max-width: 1024px){
   .container {
        width: 80%;
    }
    section {
        padding: 60px 0;
    }

    h1 {
        margin-top: 13px;
        font-size: 3rem;
    }
    h3 {
        font-size: 2rem;
        margin: 10px 0 20px;
    }
    h4 {
        font-size: 2.5rem;
    }

    .carnation_box img {
        max-width:70%
    }
    .main {
        background: url(./img/main_bg.png) 12% no-repeat;
        padding: 0px 0 15px;
    }
    .deco {
        max-width: 20%;
    }
    .main .title img {
        max-width: 40%;
    }
    .leaves_left,.leaves_right {
        max-width: 10%;
    }

    .rule ul {
        margin: 20px 0 0;
    }
    .rule ul li {
        width: 31%;
        margin-bottom: 20px;
    }
    .rule ul li p {
        margin-top: 10px;
        font-size: 1.2rem;
    }
    .rule ul li img {
        max-width: 65%;
    }
    .count ul {
        margin-top: 0px;
        flex-direction: column-reverse;
    }
    .count ul li img {
        max-width: 80%;
    }

    .detail ul {
        margin: 20px 0;
    }
    .detail ul li {
        width: 48%;
        margin-bottom: 20px;
    }
    .detail ul li img {
        width: -webkit-fill-available;
    }
    .detail .deco_01 {
        max-width: 15%;
        left: 0;
    }
    .detail .deco_02 {
        max-width: 15%;
        right: 0;
    }

    .gift ul {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        margin: 20px 0;
    }
    .gift ul li {
        width: 48%;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 768px){
    .container {
        width: 90%;
    }
	.rule p {
		font-size: 1.3rem;
	}
	.flybanner {
        display: none;
    }
    
}
@media screen and (max-width: 480px){
	.top {
		padding: 10px 10px 30px;
		align-items: flex-end;
	}
	.top p {
		font-size:1rem;
	}
	.logo {
		top: 15px;
		left: 0;
	}
	.logo img {
		max-width:65%;
	}
    section {
        padding: 60px 0;
    }
    ul {
        flex-direction: column;
    }

    h1 {
        margin-top: 13px;
        font-size: 2.2rem;
    }
    h3 {
        font-size: 1.5rem;
        margin: 10px 0 20px;
    }
    h4 {
        font-size: 2rem;
    }

    .carnation_box img {
        max-width:85%
    }
    .main {
        background: url(./img/main_bg.png) 12% no-repeat;
        padding: 0px 0 15px;
    }
    .deco {
        max-width: 20%;
    }
    .main .title img {
        max-width: 40%;
    }
    .leaves_left,.leaves_right {
        max-width: 13%;
    }
	.leaves_left {
		top:80%;
	}
	.leaves_right {
		top:50%;
	}

.rule p {
		font-size: 1rem;
	}
    .rule ul {
        margin: 20px 0 0;
    }
    .rule ul li {
        width: 100%;
        margin-bottom: 20px;
    }
    .rule ul li p {
        margin-top: 10px;
        font-size: 1.2rem;
    }
    .rule ul li img {
        max-width: 65%;
    }
    .count ul {
        margin-top: 0px;
        flex-direction: column-reverse;
    }
    .count ul li img {
        max-width: 80%;
    }
    .count ul li:last-child {
        background: url(./img/count.png) no-repeat;
        background-size: cover;
        padding: 110px 70px 70px;
    }
    .count p {
        font-size: 1.5rem;
    }
    .count input {
        border: 4px solid #a6e8bd;
        width: 90px;
		height: 30px;
        font-size: 1.5rem;
    }
    .detail ul {
        margin: 20px 0;
    }
    .detail ul li {
        width: 100%;
        margin-bottom: 20px;
    }

    .detail .deco_01 {
        max-width: 15%;
        left: 0;
    }
    .detail .deco_02 {
        max-width: 15%;
        right: 0;
    }
    .detail a {
        margin-top: 0;
        font-size: 1.1rem;
        padding: 20px 50px;
    }
    .gift ul {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        margin: 20px 0;
    }
    .gift ul li {
        width: 48%;
        margin-bottom: 20px;
    }
    .gift ul li p {
        font-size: 1rem;
        line-height: 1.2;
        margin-top: 5px;
    }
    .gift .more_btn {
        margin-top: 0;
        font-size: 1.1rem;
        padding: 20px 50px;
    }
	.gift p {
		font-size: 1.4rem;
	}
    .eventinfo p {
        font-size: 0.8rem;
    }
    footer {
        font-size: 1rem;
    }
}
@media screen and (max-width: 360px){
	h1 {
		margin-top: 10px;
		font-size: 2rem;
	}
	h3 {
		font-size: 1.3rem;
	}
	h4 {
		font-size: 1.7rem;
	}
	.count ul li:last-child {
		padding: 85px 60px 75px;
	}
	.count p {
		font-size: 1.2rem;
	}	
	.count input {
		border: 4px solid #a6e8bd;
		width: 65px;
		height: 25px;
		font-size: 1.2rem;
	}
	.detail a {
		font-size: 1rem;
		padding: 15px 40px;
	}
	.gift .more_btn {
		font-size: 1rem;
		padding: 15px 40px;
	}
	.gift p {
		font-size: 1.2rem;
	}
}