@charset "utf-8";

/*
=========================================================================
메인 css
=========================================================================
*/

/*
=========================================================================
메인 비주얼
=========================================================================
*/
#visual{height:937px; width:100%; overflow:hidden; position:relative;}
.vimg{width: auto; height: 937px; position:relative;}
.vtxt{position: absolute; top:calc(50% - 20px); transform: translateY(-50%); left: 5%; color: #fff; width: 90%;}
.vtxt h2{font-size: 3.2em; margin-bottom: 40px; font-weight: 800; font-family: 'Montserrat'; text-transform: uppercase; line-height: 1.2; margin: 0; font-size: var(--headingSize);}
.vtxt h2:last-of-type{margin-bottom: 40px;}
:root{
	--headingSize: 3.2em;
}
.vtxt .swift-up-text span{display: inline-block; overflow: hidden; animation: .5s swift-up ease-in-out forwards;}
.vtxt .swift-up-text i{font-style: normal; position: relative; top: var(--headingSize); animation: .7s swift-up ease-in-out forwards;}
  
@keyframes swift-up {
    to {
      top: 0;
    }
}
.vtxt p{line-height: 2;}
.scroll{position: absolute; bottom: 50px; right:50px; width: 180px; height: 180px; cursor: pointer; overflow: hidden;}
.scroll_bg{background: url(../img/main/scroll_bg.png) no-repeat center / 90%; animation:scroll_rotate 15s linear infinite; animation-delay:0; width: 180px; height: 180px;}
.scroll_arrow{background: url(../img/main/scroll_arrow.png) no-repeat center / 95%; position: absolute; top:50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px;animation:scroll 1s infinite ease-in-out; animation-delay:0;}

@keyframes scroll_rotate{
    100% {transform:rotate(360deg);}
}    
@keyframes scroll{
    0% {transform: translate(-50%, calc(-50% + 2px));}
    50% {transform:translate(-50%, calc(-50% - 2px));}
    100% {transform:translate(-50%, calc(-50% + 2px));}
}     

@media (min-width: 1920px) {
    .vimg{width: 100%; height: auto;}
    .vimg img{width: 100%; height: auto;}
}
@media (max-width: 1200px) {
    #visual{height:800px;}
    .vimg{height: 800px;}
    .vtxt{top:calc(50% - 10px);}
    .scroll{bottom: 15px; right:2%; width: 155px; height: 155px;}
    .scroll_bg{width: 155px; height: 155px;}
    .scroll_arrow{width: 30px; height: 30px;}
}
@media (max-width: 900px) {    
    #visual{height:700px;}
    .vimg{height:700px;}    
    .vimg img{width: auto; height: 100%;}
    .vtxt{left: 3%;}
    .vtxt h2:last-of-type{margin-bottom: 30px;}
}
@media (max-width: 600px) {
    .vtxt h2{line-height: 1.1;}
}
@media (max-width: 550px) {
    #visual{height:600px;}
    .vimg{height:600px;}
    .vtxt{width: 97%;}
    .vtxt h2{font-size: 2.8em;}
    .vtxt h2:last-of-type{margin-bottom: 20px;}
    .vtxt p{width: 90%;}
    .vtxt .pcbr{display: none;}
    .scroll{width: 140px; height: 140px;}
    .scroll_bg{width: 140px; height: 140px;}
    .scroll_arrow{width: 25px; height: 25px;}
}

/*
=========================================================================
콘텐츠 공통
=========================================================================
*/
#cont1, #cont2, #cont3, #cont4{width: 100%; height: auto; position: relative;overflow: hidden;}
.contin{width: 100%; height: auto; padding: 150px 5%; box-sizing: border-box; margin: 0 auto; overflow: hidden;}
.cont_tit_wrap{display: flex; justify-content: space-between;}
.cont_tit{margin-bottom: 60px; width: calc(100% - 200px);}
.cont_tit .ctit{font-size: 2.8em; line-height: 1.3; margin-bottom: 30px; font-family: 'Montserrat'; font-weight: 800;}
.cont_tit .ctit span.blue{font-weight: 900;}
span.green{color: #58B531;}

.more_btn_wrap{display: flex; margin-top: 20px; cursor: pointer; height: 55px; align-items: center;}
.more_btn_wrap .more_txt{font-family: 'Montserrat'; font-weight: 600; color: #58B531; margin-right: 20px;}
.more_btn_wrap .more_btn{width: 55px; height: 55px; background: #58B531 url(../img/common/more_btn_plus.png) no-repeat center / 50%; border-radius: 50%; transition: all .5s;}
.more_btn_wrap:hover .more_btn{background-color: #499c26; transform: rotate(180deg);}
.more_btn_wrap:hover .more_txt{font-weight: 800;}

@media (max-width: 1400px) {
    .contin{padding: 120px 5%;}
}
@media (max-width: 1200px) {
    .contin{padding: 100px 5%;}
    .cont_tit .ctit{font-size: 2.5em;}
    .cont_tit_wrap .more_btn{width: 50px; height: 50px;}
    .more_btn_wrap{margin-top: 10px;}
}
@media (max-width: 900px) {
    .contin{padding: 80px 20px;}
    .cont_tit .ctit{font-size: 2em;}
    .more_btn_wrap{margin-top: 0;}
    .more_btn_wrap .more_txt{display: none;}
    
}
@media (max-width: 720px) {
    .cont_tit{margin-bottom: 40px; width: calc(100% - 70px);}
    .cont_tit .ctit{margin-bottom: 20px;}
    .cont_tit .pcbr{display: none;}
    .cont_tit_wrap .more_btn{width: 40px; height: 40px;}
    
}
@media (max-width: 550px) {    
    .contin{padding: 50px 20px;}
    .cont_tit .ctit{font-size: 1.8em;}
    .cont_tit_wrap .more_btn{width: 35px; height: 35px;}
}

/*
=========================================================================
cont1
=========================================================================
*/
.cont1_slider ul{position: relative; cursor: pointer;}
.c1_img{width: 100%; height: 460px; border-radius: 20px; overflow: hidden; }
.c1_img1{background: url(../img/main/c1_img1.png) no-repeat center / cover;}
.c1_img2{background: url(../img/main/c1_img2.png) no-repeat center / cover;}
.c1_img3{background: url(../img/main/c1_img3.png) no-repeat center / cover;}
.c1_txt{position: absolute; right:80px; bottom:50px; color: #fff; font-size: 2em; font-weight: 700;}

.cont1_slider .slick-arrow{width: 50px; height: 50px; z-index: 200; font-size: 0;}
.cont1_slider .slick-prev{background: url(../img/common/slider_pre_arrow.png) no-repeat center / 90%; filter: brightness(.8); position: absolute; top:50%; left: 30px; transform: translateY(-50%);}
.cont1_slider .slick-next{background: url(../img/common/slider_next_arrow.png) no-repeat center / 90%; filter: brightness(.8); position: absolute; top:50%; right: 30px; transform: translateY(-50%);}

@media (max-width: 1200px) {
    .c1_img{height: 400px;}
    .c1_txt{font-size: 1.8em;}
    .cont1_slider .slick-arrow{width: 40px; height: 40px;}
}
@media (max-width: 900px) {
    .c1_img{height: 300px;}
    .c1_txt{right:60px; bottom:30px; font-size: 1.7em;}
    .cont1_slider .slick-prev{left: 20px;}
    .cont1_slider .slick-next{right: 20px;}
}
@media (max-width: 550px) {
    .c1_img{height: 200px;}
    .c1_txt{right:40px; bottom:25px; font-size: 1.5em;}
    .cont1_slider .slick-arrow{width: 35px; height: 35px;}
}

/*
=========================================================================
cont2
=========================================================================
*/
#cont2{background: #f9f9f9;}
.cont2_slider .c2_service{display: flex; justify-content: space-between;}
.c2_img{width: calc(100% - 700px); max-width: 900px;}
.c2_img img{width: 100%; height: auto;}
.c2_txt_wrap{width: 600px; margin-top: 80px;}

.c2_logo{width: 280px; height: 90px; margin-bottom: 20px;}
.c2_logo1{background: url(../img/main/bcheck_logo.png) no-repeat center / 95%;}
.c2_logo2{background: url(../img/main/dental_logo.png) no-repeat center / 95%;}
.c2_logo3{background: url(../img/main/basim_logo.png) no-repeat center / 95%;}
.c2_tit{font-weight: 700; font-size: 1.2em; margin-bottom: 30px;}
.c2_txt{margin-bottom: 50px;}
.c2_bcheck .more_txt{color: #3067AF !important;}
.c2_bcheck .more_btn{background-color: #3067AF !important;}
.c2_bcheck .more_btn:hover{background-color: #1f5294 !important;}

.c2_dental .more_txt{color: #1CC071 !important;}
.c2_dental .more_btn{background-color: #1CC071 !important;}
.c2_dental .more_btn:hover{background-color: #1cac66 !important;}

.c2_basim .more_txt{color: #62B22F !important;}
.c2_basim .more_btn{background-color: #62B22F !important;}
.c2_basim .more_btn:hover{background-color: #55a125 !important;}

.cont2_slider .slick-dots{display: flex; position: absolute; top:0; left: calc(100% - 600px); white-space: nowrap;}
.cont2_slider .slick-dots .c2_dot{color: #888; font-size: 1.15em; font-weight: 500;}
.cont2_slider .slick-dots li{margin-right: 50px; cursor: pointer;}
.cont2_slider .slick-dots li.slick-active .c2_dot{text-decoration: underline; text-underline-offset:3px; font-weight: 700;}
.cont2_slider .slick-dots li:nth-of-type(1).slick-active .c2_dot{color: #3067AF; }
.cont2_slider .slick-dots li:nth-of-type(2).slick-active .c2_dot{color: #1CC071;}
.cont2_slider .slick-dots li:nth-of-type(3).slick-active .c2_dot{color: #62B22F;}

@media (max-width: 1700px) {
    .c2_img{width: calc(65% - 100px);}
    .c2_txt_wrap{width: 35%;}
    .cont2_slider .slick-dots{left: 65%;}
}
@media (max-width: 1200px) {
    .c2_logo{width: 240px; height: 60px;}
    .cont2_slider .c2_service{flex-wrap: wrap;}
    .c2_img{width: 80%; margin: 0 auto 20px;}
    .c2_txt_wrap{display: flex; justify-content: space-between;  width: 100%; margin-top: 0;}
    .c2_tit{margin-bottom: 15px;}
    .c2_txt{margin-bottom: 0;}
    .c2_txt_wrap .more_btn_wrap{padding-right: 2px;}
    .c2_txt_wrap  .more_btn{width: 50px; height: 50px;}
    .c2_info .pcbr{display: none;}
    .cont2_slider .slick-dots{left: 0;}
    .cont2_slider .slick-dots .c2_dot{font-size: 1.2em;}
    .cont2_slider .slick-dots li{margin-right: 30px;}
    .c2_img{margin-top: 80px;}
}
@media (max-width: 720px) {
    .c2_img{width: 90%;}   
    .c2_logo{width: 200px; height: 50px;}
    .c2_txt_wrap .more_btn{width: 40px; height: 40px;}
}

@media (max-width: 550px) {
    .c2_img{width: 100%;}
    .c2_logo{width: 180px; height: 40px;}
    .c2_txt_wrap .more_btn{width: 35px; height: 35px;}
    .cont2_slider .slick-dots{left: 50%; transform: translateX(-50%);}
    .cont2_slider .slick-dots li:last-of-type{margin-right: 0;}
    .cont2_slider .slick-dots .c2_dot{font-size: 1.1em;}
}

/*
=========================================================================
cont3
=========================================================================
*/
#cont3 .cont_tit{text-align: center; width: 100%;}
.cont3_data{display: flex; justify-content: space-between;}
.cont3_data li{width: calc((100% - 90px) / 4); border: 1px solid #ccc; border-radius: 10px; overflow: hidden; padding: 50px; box-sizing: border-box;}
.cont3_data .c3_tit{font-size: 1.1em; font-weight: 700;}
.cont3_data .c3_number{font-family: 'Montserrat'; font-weight: 800; color: #58B531; font-size: 2.2em; margin: 5px 0;}
.cont3_data .c3_txt{color: #58B531;}
.cont3_data .c3_icon{width: 90px; height: 90px; float: right; margin-top: 30px;}
.cont3_data .c3_icon img{width: 100%; height: auto;}
.data_info{color: #888; font-size: .9em; margin-top: 20px; text-align: right;}

@media (max-width: 1400px) {
    .cont3_data{flex-wrap: wrap;}
    .cont3_data li{width: calc((100% - 25px) / 2); padding: 40px;}
    .cont3_data li:nth-of-type(1),.cont3_data li:nth-of-type(2){margin-bottom: 25px;}
    .cont3_data .c3_icon{margin-top: -50px;}
}
@media (max-width: 900px) {
    .cont3_data .c3_number{font-size: 1.8em;}
    .cont3_data .c3_icon{width: 80px; height: 80px;}
}
@media (max-width: 720px) {
    .cont3_data li{padding: 30px;}
    .cont3_data .c3_icon{width: 60px; height: 60px;}
}
@media (max-width: 550px) {
    .cont3_data li{width: 100%; margin-bottom: 20px;}
    .cont3_data li:last-of-type{margin-bottom: 0;}
}

/*
=========================================================================
cont4
=========================================================================
*/
#cont4{background: #F3FBEF url(../img/main/c4_bg.png) no-repeat right bottom / 500px auto;}
#cont4 .contin{padding: 150px 0 150px 5%;}
#cont4 .cont_tit_wrap{padding-right: 5%; margin-bottom: 50px;}
#cont4 .c4_arrow{display: flex; margin-top: 40px;}
.cont4_slider{position: relative;}
.cont4_slider .slick-arrow{width: 20px; height: 30px; cursor: pointer; font-size: 0;}
.cont4_slider .slick-prev{background: url(../img/main/c4_pre_arrow.png) no-repeat center / 90%; position: absolute; top:-100px; left: 0;}
.cont4_slider .slick-next{background: url(../img/main/c4_next_arrow.png) no-repeat center / 90%; position: absolute; top:-100px; left: 60px;}
.cont4_slider{width: 110%;}
.cont4_slider li{border: 1px solid #ccc; border-radius: 10px; overflow: hidden; padding: 50px; box-sizing: border-box; height: 280px; background: #fff; margin-right: 30px;}

.cont4_slider .c4_date{font-size: 1.5em; font-family: 'Montserrat'; font-weight: 700; color: #58B531; padding-bottom: 20px; border-bottom: 1px solid #ccc;}
.cont4_slider .c4_txt{padding-top: 20px; text-overflow: ellipsis; overflow: hidden; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical}
@media (max-width: 1400px) {
    #cont4 .contin{padding: 120px 0 120px 5%;}
}
@media (max-width: 1200px) {
    #cont4 .contin{padding: 100px 0 100px 5%;}
}
@media (max-width: 900px) {
    #cont4{background: #F3FBEF url(../img/main/c4_bg.png) no-repeat right bottom / 400px auto;}
    #cont4 .contin{padding: 80px 0 80px 20px}
    #cont4 .cont_tit_wrap{padding-right: 20px; margin-bottom: 30px;}
    .cont4_slider{width: 140%;}
    .cont4_slider li{padding: 40px; height: 250px;}
    .cont4_slider .slick-arrow{width: 15px; height: 25px; }
    .cont4_slider .slick-prev{top:-80px;}
    .cont4_slider .slick-next{left: 50px; top:-80px;}
}
@media (max-width: 550px) {
    #cont4{background: #F3FBEF}
    #cont4 .contin{padding: 50px 0 50px 20px;}
    #cont4 .cont_tit_wrap{margin-bottom: 10px;}
    .cont4_slider{width: 160%;}    
    .cont4_slider li{padding: 30px; height: 230px; margin-right: 20px;}
    .cont4_slider .slick-arrow{width: 12px; height: 22px;}
    .cont4_slider .slick-prev{top: -60px;}
    .cont4_slider .slick-next{left: 42px; top:-60px;}
}
/*
=========================================================================
cont5
=========================================================================
*/
#cont5{background: #888 url(../img/main/main_cs_bg.png) no-repeat center / cover; color: #fff;}
#cont5 .contin{display: flex; justify-content: space-between; flex-direction: row-reverse;}
#cont5 .cont_tit{white-space: nowrap; width: 500px; margin-right: 50px; margin-top: 50px;}
#cont5 .ctit{margin-bottom: 20px;}
#cont5 .cont_tit>p{margin-bottom: 50px;}
.c5_cs{font-family: 'Montserrat'; line-height: 1.5;}
.c5_tel{margin-bottom: 30px;}
.c5_cs_tit{font-weight: 500; font-size: 1.2em;}
.c5_cs_txt{font-weight: 600; font-size: 1.5em; letter-spacing:0.02em; color: #b0f095;}

/* 문의 form */
#c5_cs_form{width: calc(100% - 750px); max-width: 800px;}
#c5_cs_form .first input, #c5_cs_form .second input{height: 50px; padding:5px 20px; box-sizing: border-box; margin-bottom: 12px; background: rgba(255,255,255,.2); border: 0; color: #fff; border-radius: 5px;}
#c5_cs_form .first input::placeholder, #c5_cs_form .second input::placeholder{color: #F2F7FF;}
#c5_cs_form .first{display: flex; justify-content: space-between;}
#c5_cs_form .first input{width: 20%;}
#c5_cs_form .first input:nth-of-type(2){width: 38%;}
#c5_cs_form .first input:nth-of-type(3){width: 38%;}
#c5_cs_form .second input{width: 100%;}
#c5_cs_form textarea{width: 100%; resize: none; padding: 10px; background: rgba(255,255,255,.2); margin-bottom: 10px; border: 0; color: #eee; box-sizing: border-box; padding:15px 20px; border-radius: 5px;}
#c5_cs_form textarea::placeholder{color: #eee;}
#c5_cs_form .submit input:nth-of-type(1){margin-top: 15px;}
#c5_cs_form .submit span{font-size: .85em; margin-left: 8px;}
#c5_cs_form .submit a{margin-left: 10px; color: #ccc; text-decoration: underline; font-size: .85em;}
#c5_cs_form .submit input[type="checkbox"]{display: none;}
#c5_cs_form .submit input[type="checkbox"] + label{display: inline-block; width: 14px; height: 14px; position: relative; background: #fff; border-radius: 2px; border: 1px solid #eee; transform: translateY(2px);}
#c5_cs_form .submit input[id="cs_check"]:checked + label::after{content:''; width: 14px; height: 14px; border-radius: 2px; position: absolute; left: 0; top:0; background: #58B531 url(../img/common/icon_check.png) no-repeat center / 70% auto;}
.sumit_btn{display: block; width: 100%; height: 55px; font-size: 0.92em;  line-height: 54px; background: #58B531; text-align: center; cursor: pointer; margin-top: 20px; border-radius: 5px; color: #fff;}
.sumit_btn i{display: inline-block; width: 15px; height: 15px; margin-left: 15px; background: url(../img/common/icon_arrow_w.png) no-repeat center 1.5px / cover;}
.sumit_btn:hover{background: #499c26;}

@media (max-width: 1450px){ 
    #cont5 .cont_tit{width: 500px; margin-right: 0; margin-top: 50px;}
     /* 문의 form */
    #c5_cs_form{width: calc(100% - 600px);}
}
@media (max-width: 1200px){
    #cont5 .contin{display: block;}
    #cont5 .cont_tit{margin-top: 0; margin-bottom: 30px;}
    .c5_cs{display: flex; margin-bottom: 20px;}
    .c5_tel{margin-right: 100px;}

    /* 문의 form */
    #c5_cs_form{margin-left: 0; width: 100%; max-width: none;}
}
@media (max-width: 900px){
    .c5_tel{margin-right: 50px;}
    .sumit_btn{height: 50px; line-height: 49px;}
}
@media (max-width: 720px){    
    #cont5 .main_tit>p{margin-bottom: 40px;}
    #cont5 .cont_tit{margin-bottom: 40px;} 
    #cont5 .cont_tit>p{margin-bottom: 30px;}     
    .c5_cs_tit{font-size: 18px;}
    .c5_cs_txt{font-size: 22px;}
    .c5_tel{margin-bottom: 20px;}
    .c5_cs{display: block; }
    .c5_tel{margin-right: 0;}
    .sumit_btn{height: 46px; line-height: 45px; margin-top: 20px;}
    .sumit_btn i{width: 12px; height: 12px; margin-left: 10px;}
    .sumit_btn:hover i{background: url(../img/common/icon_arrow.png) no-repeat center 1px / cover;}
}