/* 공통 */
html,
body,
#wrap {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: #343A40;
}

section {
    padding: 100px 0;
}

button {
    border: 0;
    background-color: rgba(0, 0, 0, 0)
}

button:nth-child(1),
button:nth-child(2) {
    margin-right: 10px;
}

button>a {
    display: inline-block;
    padding: 12px 8px;
    border: 0;
    border-radius: 12px;
    background-color: #43BFA1;
    color: #fff;
    font-size: 16px;
    transition: background-color .3s linear;
    font-family: 'Roboto', sans-serif;
}

button>a:hover {
    background-color: #378f79;
}

i {
    color: #fff;
    font-size: 20px;
}

h2 {
    font-size: 50px;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

h3 {
    font-size: 40px;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    margin-bottom: 10px;
}

h4 {
    font-size: 30px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    font-weight: 600;
}

h5 {
    font-size: 28px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    font-weight: 500;
    margin-bottom: 25px;
}

h6 {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    line-height: 1.5em;
}

/* NAV */
header .nav_wrap {
    background-color: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0px -1px 20px -1px #ddd;
}

header nav {
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    position: relative;
}

header h1 {
    margin: 10px 0;
    text-align: center;
}

header h1 img {
    width: 100px;
}

header nav ul {
    display: flex;
    align-items: center;
    position: absolute;
    background-color: #fff;
    right: 0;
}

header nav ul li {
    padding: 18px 0;
}

header nav ul li a {
    padding: 20px 30px;
    font-family: 'Roboto', sans-serif;
    color: #000;
}

/* HEADER NAV hamburger */
header .nav_wrap .hamburger {
    display: none;
    width: 30px;
    position: relative;
    cursor: pointer;
}

header .nav_wrap .hamburger div {
    width: 100%;
    height: 4px;
    background-color: #000;
    position: absolute;
    border-radius: 20px;
}

header .nav_wrap .hamburger div:nth-child(1) {
    top: 30%;
    transition: all .3s linear;
}

header .nav_wrap .hamburger.toggle div:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

header .nav_wrap .hamburger div:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s linear;
}

header .nav_wrap .hamburger.toggle div:nth-child(2) {
    opacity: 0;
}

header .nav_wrap .hamburger div:nth-child(3) {
    bottom: 30%;
    transition: all .3s linear;
}

header .nav_wrap .hamburger.toggle div:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* HEADER */
header {
    background-color: #F7F3EB;
    height: 100%;
}

#main_video {
    position: absolute;
    bottom: 5%;
    max-width: 650px;
    min-width: 480px;
    width: 50%;
}

header .app_title {
    position: relative;
    width: 70%;
    height: 100%;
    max-height: 800px;
    margin: 0 auto 0 auto;
    padding-top: 100px;
    top: 50%;
    transform: translateY(-50%);
}

header .text {
    position: relative;
    height: 30%;
    top: 0;
    left: 0;
}

header .text h2 {
    color: #fff;
    padding-top: 40px;
}

header .text .title {
    width: 100%;
    font-size: 3em;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    animation-name: title_ani;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    font-style: italic;
    color: #343A40;
}

@keyframes title_ani {
    from {
        opacity: 0;
        left: -30%;
    }

    to {
        opacity: 1;
    }
}

header .text .desc {
    width: 70%;
    font-size: 22px;
    line-height: 40px;
    font-family: 'Roboto', sans-serif;
    position: absolute;
    top: 30%;
    left: 35%;
    transform: translate(-50%);
    animation-name: desc_ani;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    transition: all .2s linear;
    line-height: 1.5em;
    color: #ADB5BD;
}

@keyframes desc_ani {
    from {
        opacity: 0;
        left: 50%;
    }

    to {
        opacity: 1;
    }
}

header .app_title .btn {
    position: absolute;
    left: 0;
    top: 35%;
    display: flex;
    height: 15%;
}

header .app_title button i {
    width: 170px;
    font-size: 16px;
}

header .app_title button i span {
    color: #fff;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

header .app_title button {
    position: relative;
    animation-timing-function: ease-in;
    bottom: 0%;
    transition: color .2s linear;
}

header .app_title button:nth-child(1) {
    animation-name: btn1_ani;
    animation-duration: 1s;
}

@keyframes btn1_ani {
    from {
        opacity: 0;
        bottom: -20%;
    }

    to {
        opacity: 1;
    }
}

header .app_title button:nth-child(2) {
    animation-name: btn2_ani;
    animation-duration: 1.5s;
}

@keyframes btn2_ani {
    from {
        opacity: 0;
        bottom: -20%;
    }

    to {
        opacity: 1;
    }
}

header .app_title button:nth-child(3) {
    animation-name: btn3_ani;
    animation-duration: 2s;
}

@keyframes btn3_ani {
    from {
        opacity: 0;
        bottom: -20%;
    }

    to {
        opacity: 1;
    }
}

header .app_title img {
    position: absolute;
    width: 42%;
    max-width: 550px;
    min-width: 400px;
    right: -7%;
    bottom: 5%;
}

/* SLIDER SECTION */
#slider {
    background-color: #43BFA1;
    position: relative;
    padding-top: 200px;
}

#slider>div {
    width: 70%;
    margin: 0 auto;
}

#slider div.slick-slide {
    width: 50%;
}

#slider .slick-slide img {
    width: 30%;
}

#slider .slick-dots {
    top: -100px;
}

#slider .slick-dots li {
    width: 15%;
    text-align: center;
    height: 100px;
}

#slider .slick-dots li button:before {
    width: 100%;
    opacity: 1;
    content: "";
    background-size: 50%;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-position: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

/* 슬라이더 타이틀 색 변경 */

#slider .slick-dots li:nth-child(1) button:before {
    background-image: url('../images/white_line/test.png');
}

#slider .slick-dots li:nth-child(2) button:before {
    background-image: url('../images/white_line/ai.png');
}

#slider .slick-dots li:nth-child(3) button:before {
    background-image: url('../images/white_line/chatbot.png');
}

#slider .slick-dots li:nth-child(4) button:before {
    background-image: url('../images/white_line/subscription.png');
}

#slider .slick-dots li:nth-child(5) button:before {
    background-image: url('../images/white_line/event.png');
}

#slider .slick-dots li.slick-active button:before {
    background-repeat: no-repeat;
    background-size: 100%;
    width: 52%;
    opacity: 1;
}

#slider .slick-dots li.slick-active:nth-child(1) button:before {
    background-image: url('../images/yellow_line/test.png');
}

#slider .slick-dots li.slick-active:nth-child(2) button:before {
    background-image: url('../images/yellow_line/ai.png');
}

#slider .slick-dots li.slick-active:nth-child(3) button:before {
    background-image: url('../images/yellow_line/chatbot.png');
}

#slider .slick-dots li.slick-active:nth-child(4) button:before {
    background-image: url('../images/yellow_line/subscription.png');
}

#slider .slick-dots li.slick-active:nth-child(5) button:before {
    background-image: url('../images/yellow_line/event.png');
}

#slider .slider_text {
    width: 50%;
    position: absolute;
    left: 45%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

#slider .slider_text h3 {
    margin-bottom: 30px;
    color: #fff;
}

.slider_text p {
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Roboto', sans-serif;
}

#slider .slick-next:before,
#slider .slick-prev:before {
    display: none;
}

/* COSMETIC BOX SECTION */
#cosmetic_box {
    background-color: #fffdf9;
}

#cosmetic_box>div {
    display: flex;
    align-items: center;
    width: 70%;
    margin: 0 auto;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

#cosmetic_box>div>div {
    text-align: center;
    width: 55%;
}

#cosmetic_box>div>div h6 {
    line-height: 35px;
}

#cosmetic_box button>a {
    margin-top: 30px;
    padding: 12px 28px;
    font-size: 16px;
}

#cosmetic_box>div img {
    width: 50%;
    position: absolute;
    right: -10%;
}

#cosmetic_box>ul {
    margin: 0 auto 150px auto;
    width: 70%;
    position: relative;
    height: 250px;
}

#cosmetic_box>ul li {
    text-align: center;
    position: absolute;
    width: 33.33%;
    padding: 0 3%;
    top: 50px;
}

#cosmetic_box>ul li:nth-child(1) {
    left: 0;
}

#cosmetic_box>ul li.ani:nth-child(1) {
    animation-name: li_1_ani;
    animation-duration: 1s;
}

@keyframes li_1_ani {
    from {
        opacity: 0;
        top: 130px;
    }

    to {
        opacity: 1;
    }
}

#cosmetic_box>ul li:nth-child(2) {
    left: 50%;
    transform: translate(-50%);
}

#cosmetic_box>ul li.ani:nth-child(2) {
    animation-name: li_2_ani;
    animation-duration: 2s;
}

@keyframes li_2_ani {
    from {
        opacity: 0;
        top: 100px;
    }

    to {
        opacity: 1;
    }
}

#cosmetic_box>ul li:nth-child(3) {
    right: 0;
}

#cosmetic_box>ul li.ani:nth-child(3) {
    animation-name: li_3_ani;
    animation-duration: 3.2s;
}

@keyframes li_3_ani {
    from {
        opacity: 0;
        top: 90px;
    }

    to {
        opacity: 1;
    }
}

#cosmetic_box ul img {
    margin-bottom: 50px;
}

#cosmetic_box p {
    line-height: 25px;
    font-family: 'Roboto', sans-serif;
}

#cosmetic_box .point {
    color: #F29774;
    margin-top: 10px;
}

/* STEP */
#step {
    margin-top: 100px;
    background-color: #F7F3EB;
}

#step ul {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto;
}

#step ul li {
    /* 기준점 */
    width: 20%;
    position: relative;
    height: 250px;
}

#step ul li>div {
    /* 두개 공통으로 들어갈 내용 */
    width: 164px;
    height: 164px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    border: 1px solid #fff;
}

#step ul li .step_ani {
    /* 애니메이션 줄 뒷배경 */
    background-color: #F29774;
    animation-name: step_ani;
    animation-timing-function: linear;
    animation-duration: 2s;
}

@keyframes step_ani {
    from {
        opacity: .8;
        transform: translateX(-50%) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(-50%) scale(1.5);
    }
}

#step ul li:nth-child(2) .step_ani {
    animation-delay: 1.5s;
}

#step ul li:nth-child(3) .step_ani {
    animation-delay: 3s;
}

#step ul li:nth-child(4) .step_ani {
    animation-delay: 4.5s;
}

#step ul li img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#step ul li:nth-child(2) img {
    top: 58%;
}

#step ul li:nth-child(4) img {
    left: 58%;
}

#step ul li p {
    position: absolute;
    top: 80%;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    color: #343A40;
    font-weight: 500;
    line-height: 120%;
}

#step ul li:after {
    content: "";
    width: 17px;
    height: 17px;
    background-image: url('../images/polygon.png');
    background-repeat: no-repeat;
    position: absolute;
    left: 115%;
    top: 30%;
    animation-name: arrow_ani;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
    animation-direction: alternate;
}

@keyframes arrow_ani {
    from {
        transform: scale(1);
        opacity: 0;
    }

    to {
        transform: scale(1.2);
        opacity: 1;
    }
}

#step ul li:nth-child(4):after {
    display: none;
}

/* REVIEW SECTION */
.slick-track {
    margin-bottom: 30px;
}

.review_slider_wrap {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 50px;
}

.review_slider_wrap .review_img_text>div {
    border: 1px solid #dbdbdb;
    margin: 0 auto;
    margin: 10px;
    box-shadow: 1px 2px 10px#dbdbdb;
}

.review_slider_wrap .review_img_text>div img {
    display: inline-block;
    width: 100%;
}

.review_slider_wrap .review_img_text>div h6 {
    padding: 20px 20px 0;
    font-size: 16px;
    font-weight: 700;
}

.review_slider_wrap .review_img_text>div p {
    padding: 0px 20px 20px;
    line-height: 1.5em;
    font-size: 12px;
    word-break: break-all;
    font-family: 'Roboto', sans-serif;
}

.review_slider_wrap .reviewBox div {
    text-align: right;
    padding: 0 20px 20px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

/* CONTACT SECTION*/
#contact {
    background-color: #F7F3EB;
}

#contact>div {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

#contact .cotact_text {
    margin: 50px 0;
}

#contact button {
    margin-top: 0;
}

#contact button a {
    display: block;
    background-color: #43BFA1;
    padding: 20px 40px;
}

#contact button>a:hover {
    background-color: #378f79;
}

/* FOOTER SECTION */
footer {
    padding: 100px 0;
}

footer>ul {
    display: flex;
    width: 70%;
    margin: 0 auto;
}

footer>ul>li>a {
    display: block;
    background-image: url('../images/sns_icon_1.png');
    width: 38px;
    height: 38px;
    margin-right: 10px;
    background-size: 120px;
    background-position: -3px -48px;
}

footer>ul>li:nth-child(2) a {
    background-position: -42px -48px;
}

footer>ul>li:nth-child(3) a {
    background-position: -81px -48px;
}

footer>ul>li:nth-child(4) a {
    width: 37px;
    height: 37px;
    background-image: url('../images/icon_unnis\ pick_purple.png');
    background-size: 45px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
}

footer>div {
    width: 70%;
    margin: 0 auto;
}

footer li {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 20px;
    letter-spacing: 1px;
}

footer p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.top_btn {
    position: fixed;
    bottom: 6%;
    right: 4%;
    padding: 20px;
}

.fa-arrow-circle-up {
    color: #F29774;
    font-size: 30px;
}