
#main_slide{clear: both; width: 100%; margin:0 auto;}



#main_slide .carousel-inner{height: 70vh; overflow: hidden;}


#main_slide .carousel-inner .carousel-item img{
 position: absolute;
 top: 0; left: 0;
 min-width: 100%;
 height: 100%;
 max-width: none;
 object-fit:cover;
 object-position:center;

 user-drag: none;
 -webkit-user-drag: none;
 -khtml-user-drag: none;
 user-select: none;
  
}


#main_slide .carousel-item{
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  width:100%;
  height:100%;
}



.carousel-caption{bottom:30%;}


/*텍스트 스타일*/
.slide_txtarea{width: 100%; text-align: center; text-shadow: 0 2px 4px rgb(0,0,0,.25);}
.slide_txtarea h2{font-size: 3em; font-weight: 600; margin:0 auto 20px;}
.slide_txtarea p{font-size: 1.2em }
.slide_txtarea a {  color: #fff;    text-shadow: none;
  font-size: 14px;    font-weight: inherit;
  text-transform: uppercase;  padding:0 25px; 
  border:1px #fff solid;    display:inline-block; 
  border-radius: 20px;
  margin:10px auto 0;    line-height: 40px;
    -webkit-animation: 1s 4s fadeIn both;
    -moz-animation: 1s .4s fadeIn both;
    -ms-animation: 1s .4s fadeIn both;
    -o-animation: 1s .4s fadeIn both;
    animation: 1s .4s fadeIn both; }


.slide_txtarea a:hover{background:#fff; color:#000;}

.carousel-control-next, .carousel-control-prev{opacity: 0;}
#main_slide:hover .carousel-control-next, 
#main_slide:hover .carousel-control-prev{opacity: 1 ;}

.carousel-indicators{bottom: 30px;}
.carousel-indicators li { 
height: 12px;  width: 12px; border:2px #fff solid; border-radius: 100%;
margin-right: 5px; background:transparent ;
}

.carousel-indicators .active {background:#fff ; }
.carousel-indicators li:hover{cursor:pointer;}


.carousel-control-next-icon, .carousel-control-prev-icon{
  width: 40px ; height: 40px ;
}

.carousel-control-prev-icon {
    background-image: url('prev.png') ;
}

.carousel-control-next-icon {
    background-image: url('next.png') ;
}




@media screen and (max-width:680px) {

#main_slide .carousel-inner{height: 55vh;}

.slide_txtarea h2{font-size: 1.5em; margin:0 auto 20px; }
.slide_txtarea p{font-size: 0.9em ; letter-spacing: -0.03em; line-height: 150% ; margin-top:10px;}
.slide_txtarea p br{display: none;}

	
}


#main_slide .carousel-inner
{height:604px;}

.carousel-caption
{right:20%; left:20%; padding:0; bottom:40%;}
.carousel-caption .slide_txtarea
{text-align:left;}
.slide_txtarea .txt01
{font-size:28px; font-weight:300; line-height:130%; margin-bottom:10px;}
.slide_txtarea .tit
{font-size:48px; font-weight:600; line-height:130%;}
.slide_txtarea .txt02
{font-size:36px; font-weight:400; line-height:130%;}
.slide_txtarea .txt03
{font-size:24px; font-weight:300; line-height:130%;}











@media screen and (max-width:575px) {
    
    
    #main_slide .carousel-inner {height: 350px;}
    .carousel-caption {bottom: 35%;}
    .carousel-caption .slide_txtarea {text-align: center;}
    .slide_txtarea .tit {font-size: 2em;}
    .slide_txtarea .txt01 {font-size: 1em;}
    .slide_txtarea .txt02 {font-size: 1.3em;}
    .slide_txtarea .txt03 {font-size: 1em;}
}