@charset "utf-8";
:root {
    --main-color1: #302d90;
    --main-color2: #302d90;
}

/*** main_banner **/
#main_content{
    /* word-break: keep-all; */
}

#main_content .visual{
    position: relative;
    overflow: hidden;
}

#main_content .visual .slider1{
    width: 100%;
    height: 100vh;
}

#main_content .visual .main_banner{
    position: absolute;
    top: 55%;
    left: 23.5%;
    transform: translate(-50%, -50%);

    color: white;
}

#main_content .visual .main_banner .title .wrapper{
    font-family: 'SCoreDream-Light', sans-serif;
}

#main_content .visual .main_banner .title .wrapper b{
    font-family: 'SCoreDream-Extra-Bold', sans-serif;
}

#main_content .visual .main_banner .title{
    margin-bottom: 30px;
}




.slide_box{
    width: 100%;
}

.slide_box img {
    width: 100%;
    height: 100vh;
    /*height: 100%;*/
    object-fit: cover;
    /* transition-duration: 3s; */
    /* transform: scale(1); */
}

/* 슬라이더 줌 효과 */
.slick-active .slide_box img,
.slide_box img{
    transform: scale(1.1);
    animation: zoom 5s;
    animation-fill-mode : forwards;
}

@keyframes zoom{
    0%{
        transform: scale(1.1);
    }

    100%{
        transform: scale(1);
    }
}



/* 슬라이더 안 텍스트 아래에서 위로 등 효과 */
.text_animation1{
    height: 80px;
    overflow: hidden;

    /* margin-bottom: 30px; */
}

.text_animation2{
    height: 30px;
    overflow: hidden;
}

.text_animation1 p,
.text_animation2 p{
    height: 100%;
}

.text_animation1 p{
    opacity: 0;
    animation: show-up 1s ease forwards;
}

.text_animation1.first p{
    animation-delay: 0.3s;
}

.text_animation1.second p{
    animation-delay: 0.9s;
}

.text_animation1.third p{
    animation-delay: 1.5s;
}

.text_animation2 p{
    opacity: 0;
    animation: show-up2 1s ease forwards;
    /* animation-delay: .4s; */
}

.text_animation3{
    opacity: 0;
    animation: show-up3 1.4s ease forwards;
    animation-delay: 2.4s;
}

@keyframes show-up{
    0%{
        margin-top: 80px;
        opacity: 0.3;
    }

    100%{
        margin-top: 0;
        opacity: 1;
    }
}

@keyframes show-up2{
    0%{
        margin-top: 30px;
        opacity: 0.3;
    }

    100%{
        margin-top: 0;
        opacity: 1;
    }
} 

@keyframes show-up3{
    0%{
        transform: translateX(80px);
        opacity: 0.01;
    }

    100%{
        transform: translateX(0px);
        opacity: 1;
    }
} 


/* 슬라이더 배너에 스크롤 다운 */
/* .scroll_down{
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.scroll_down p{
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.progressbar{
    width: 1px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 10px auto 0;
    position: relative;
}

.progress_in{
    width: 1px;
    height: 0;
    background-color: #fff;
    top: 0;
    left: 0;
    animation: scroll_down infinite 2s ease-out;
}

@keyframes scroll_down{
    0%{
        height: 0%;
    }

    100%{
        height: 100%;
    }
} */


/* main_sect1 */
.section1{
    position :relative;
    
    padding: 100px 0;
}

.section1 .bg1,
.section1 .bg2,
.section5 .bg3,
.section5 .bg4{
    position: absolute;
    border-radius: 100%;
    z-index: -999;
    width: 824px;
    height: 824px;
    box-sizing: border-box;
}

.bg1{
    background-color: #f8f8f8;
    top: -540px;
    right: -470px;
}

.bg2{
    border: 150px solid #fef8ea;
    left: -370px;
    bottom: -270px;
}

.bg3{
    background-color: #f8f8f8;
    top: -420px;
    left: -370px;
}

.bg4{
    border: 150px solid #fef8ea;
    right: -390px;
    bottom: -500px;
}




.section1 .title{
    text-align: center;
    margin-bottom: 85px;
}

.section1 .title .js-regular{
    line-height: 130px;
    height: 50px;
}

.section1 ul.top_ul li,
.section1 ul.bottom_ul li{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: white;

    transition: 0.2s;
}

.section1 ul li .text,
.section1 ul li .btn2{
    font-size: 17px;
    line-height: 1.6;
}

.section1 ul li .text{
    margin-bottom: 20px;
}

.section1 ul li .btn2{
    cursor: pointer;
}


.section1 ul li .btn2{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 55px;  
    border : 1px solid white;
    border-radius: 12px; 
    font-family: 'Pretendard-SemiBold', sans-serif;
}


.section1 ul.top_ul li:nth-child(1){
    background-image: url('../images/sec1_img1.png');
}

.section1 ul.top_ul li:nth-child(2){
    background-image: url('../images/sec1_img2.png');
}

.section1 ul.bottom_ul li:nth-child(1){
    background-image: url('../images/sec1_img3.png');
}

.section1 ul.bottom_ul li:nth-child(2){
    background-image: url('../images/sec1_img4.png');
}

.section1 ul.bottom_ul li:nth-child(3){
    background-image: url('../images/sec1_img5.png');
}

.section1 ul.top_ul{
    display: flex;
    gap: 20px;
    justify-content: space-between;

    position: relative;

    margin-bottom: 20px;
}

.section1 ul.top_ul li{
    width: 50vw;
}

.section1 ul.top_ul li,
.section1 ul.bottom_ul li{
    padding: 27px;
    box-sizing: border-box;
    border-radius: 24px;
}


.section1 ul.bottom_ul{
    display: flex;
    
    justify-content: space-between;

    position: relative;
    gap: 20px;
}

.section1 ul.bottom_ul li{
    width: 33%;
}

.section1 ul.top_ul li:hover,
.section1 ul.bottom_ul li:hover{
    background-size: 105% 105%;
}



.section1 .btn1{
    width: max-content;
    padding: 16px 30px 16px 24px;
    margin-top: 150px;
    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 44px;
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 23px;
    background-color: var(--yellow2);

    position: relative;
}

.section1 .btn1 p{
    position: relative;
}

.section1 .btn1 .small{
    position: absolute;
    top:0;
    right:-10px;
    width: 6px; 
    height: 6px;
    background-color: white;
    border-radius: 64px;
}

.section1 ul.bottom_ul{
    display: flex;
}

.section1 ul.bottom_ul li{

}









.section2,
.section3,
.section4{
    padding: 100px 0 80px;
}


/* main_sect2 */
.section2 {
    /* background-image: url('../images/main_sec2_img1.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 920px; */

    background-color: #f5f5f5;
}

ul.common_bbs{
    width: 100%;
    gap:50px;
}

ul.common_bbs li{
    width: 33%;
    font-family: 'Pretendard-Medium', sans-serif;
    cursor: pointer;
}

ul.common_bbs li .title{
    font-family: 'Pretendard-Bold', sans-serif;
    color: #454545;
    margin-top: 20px;
    margin-bottom: 14px;
}

ul.common_bbs li strong{
    color: #454545;
    font-weight: normal;
}

ul.common_bbs li span{
    background-color: #c2c2c2;
    display: inline-block;
    width: 1px;
    height: 11px;
    margin: 0 20px;
}

ul.common_bbs li b{

    color: #959595;
}




/* main_sect3 */
.section3{

}

/* main_sect4 */
.section4{
    background-color: #f5f5f5;
}

/* main_sect5 */
.section5{
    position: relative;

    padding: 100px 0;
}

.section5 .content{
    width: 100%;
    /* border-radius: 24px; */
}

.section5 .content .left,
.section5 .content .right{
    width: 50%;
}

.section5 .content .left{
    padding: 50px;
    height: 310px;
    box-sizing: border-box;
}


.section5 .content p{
    margin: 30px 0;
}


.section5 .content .left{
    background-color: #ffb400;
    color: white;
    position: relative;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    /* height: fit-content; */
}

.section5 .content .left img{
    position: absolute;
    right: 2%;
    bottom: 5%;
}

.section5 .content .btn3{
    background-color: #ffbc1a;
    border-radius: 8px;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 50px;
}



/* mobile */
@media screen and (max-width: 767px) {

    .section1 .title .js-regular{
        line-height: 1.9;
    }

    .section1 .title{
        margin-bottom: 30px;
    }

    /* main_banner */
    #main_content .visual .slider1,
    .slide_box{
        height: 70vh;
    }

    .section1 ul.top_ul li,
    .section1 ul.bottom_ul li{
        width: 100%;
        padding: 20px;
    }

    .section1 .btn1{
        font-size: 20px;
        margin-top: 60px;
        margin-bottom: 20px;
    }

    .section1 ul li .btn2{
        width: 140px;
        height: 50px;
    }

    .section1 ul li .text,
    .section1 ul li .btn2 {
        font-size: 15px;
        line-height: 1.5;
    }

    .section2,
    .section3,
    .section4{
        padding: 30px 0;
    }

    ul.common_bbs{
        gap: 30px;
    }

    ul.common_bbs li{
        width: 100%;
    }

    ul.common_bbs li{
        width: 100%;
    }

    ul.common_bbs li .title{
        margin-top: 10px;
        margin-bottom: 10px;
    }

    ul.common_bbs li span{
        margin: 0 10px;
    }

    .section5{
        padding: 30px 0;
    }

    .section5 .content .left{
        border-radius: 24px;
        padding: 30px 20px;
        width: 100%;
        height: auto;
    }

    .section5 .content .right{
        display: none;
    }

    .section5 .content p{
        margin: 20px 0;
    }

    .section5 .content .btn3{
        width: 170px;
        height: 40px;
    }

    .section5 .content .left img{
        width: 100px;
    }
    
    /* .text_animation1{
        margin-bottom: 0;
    }

    .text_animation1{
        height: 60px;
    }

    @keyframes show-up{
        0%{
            margin-top: 60px;
            opacity: 0.3;
        }
    
        100%{
            margin-top: 0;
            opacity: 1;
        }
    } */


    .text_animation1{
        height: 50px;
        overflow: hidden;

        /* margin-bottom: 30px; */
    }

    .text_animation2{
        height: 20px;
        overflow: hidden;
    }

    .text_animation1 p,
    .text_animation2 p{
        height: 100%;
    }

    .text_animation1 p{
        opacity: 0;
        animation: show-up 1s ease forwards;
    }

    .text_animation2 p{
        opacity: 0;
        animation: show-up2 1s ease forwards;
        /* animation-delay: .4s; */
    }

    .text_animation3{
        opacity: 0;
        animation: show-up3 1.4s ease forwards;
        animation-delay: 2.4s;
    }

    @keyframes show-up{
        0%{
            margin-top: 50px;
            opacity: 0.3;
        }

        100%{
            margin-top: 0;
            opacity: 1;
        }
    }

    @keyframes show-up2{
        0%{
            margin-top: 20px;
            opacity: 0.3;
        }

        100%{
            margin-top: 0;
            opacity: 1;
        }
    }

    @keyframes show-up3{
        0%{
            transform: translateX(80px);
            opacity: 0.01;
        }

        100%{
            transform: translateX(0px);
            opacity: 1;
        }
    }

    #main_content .visual .main_banner .title{
        margin-bottom: 0;
    }

    #main_content .visual .main_banner{
        top: 55%;
        left: 5%;
        transform: translate(0%, -50%);
    }

    .main_banner .small_title{
        margin-bottom: 8px;
    }





    /* main_sect1 */
    .section1{
        padding: 30px 0 50px;   
    }


    /* main_sect2 */
    .section2{

    }

    /* main_sect3 */
    .section3{
        
    }


}


/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    #main_content .visual .main_banner{
        top: 55%;
        left: 5%;
        transform: translate(0%, -50%);
    }

    .section1 ul.top_ul li,
    .section1 ul.bottom_ul li {
        background-size: cover;
    }

    .section1 ul.top_ul li:hover,
    .section1 ul.bottom_ul li:hover {
        background-size: cover;
    }

    .section1 ul li .btn2{
        height: auto;
        padding: 20px;
    }

    .section1 ul li .text{
        height: auto;
        /*padding: 20px;*/
    }

    .section1 ul.bottom_ul li{
        width: 100%;
    }

    .section1 ul.bottom_ul{
        flex-direction: column;
    }

    .section1 ul.top_ul li .text{
        height: 150px;
    }

    ul.common_bbs{
        gap: 10px;
    }

    .section2, .section3, .section4{
        padding: 50px 0 60px;
    }

    .section5{
        padding: 50px;
    }

    .section5{
        padding: 30px 0;
    }

    .section5 .content .left{
        border-radius: 24px;
        padding: 30px;
        width: 100%;
        height: auto;
    }

    .section5 .content .right{
        display: none;
    }

    .section5 .content p{
        margin: 20px 0;
    }

    .section5 .content .btn3{
        width: 170px;
        height: 40px;
    }

    .section5 .content .left img{
        width: 150px;
    }
}