
#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; 
  margin:10px auto 0;    line-height: 35px;
    -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; border-radius: 20px;}


.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 !important;}

.carousel-indicators{bottom: 30px;}
.carousel-indicators li { 
height: 10px; width: 10px; border-radius: 100%;
margin-right: 5px;
}

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


.carousel-control-next-icon, .carousel-control-prev-icon{
  width: 40px !important; 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:733px;}
.carousel-caption
{bottom:25%;}

.slide_txtarea
{text-align:left; text-shadow:none;}
.slide_txtarea .top-slogan
{font-size:24px; color:#711e17; letter-spacing:3px; font-weight:500; }
.slide_txtarea h3
{font-size:34px; color:#222222; font-weight:400;}
.slide_txtarea h2
{font-size:48px; color:#0e090a;}
.slide_txtarea h2 span strong
{font-size:72px; color:#a01200;}
.slide_txtarea h2 span
{font-size:60px; color:#722016;}
.slide_txtarea p
{font-size:24px; color:#444444; margin-bottom:50px;}
.slide_txtarea .slide-circle
{width:156px; height:156px; background:#b45145; display:inline-block; border-radius:50%; margin-right:20px;}
.slide_txtarea .slide-circle b
{font-size:24px; color:#fff; display:inline-block; width:100%; text-align:center; margin-top:25px; font-weight:500;}
.slide_txtarea .slide-circle h5
{font-size:20px; font-weight:500; display:inline-block; width:100%; text-align:center;}
.slide_txtarea .slide-circle p
{font-weight:300; font-size:16px; border-radius:50%; display:inline-block; width:100%; text-align:center; color:#fff; }


@media screen and (max-width:414px){
  #main_slide .carousel-inner
  {height:300px;}
  .carousel-caption
  {left:0; right:0; padding:0 10px; top:17%;}
  .slide_txtarea .top-slogan
  {font-size:18px; font-weight:700;}
  .slide_txtarea h3
  {font-size:21px; }
  .slide_txtarea h2
  {font-size:30px; margin:0px;}
  .slide_txtarea h2 span
  {font-size:28px;}
  .slide_txtarea h2 span strong
  {font-weight:700;}
  .slide_txtarea p
  {margin:0px; font-size:20px; line-height:25px;}
  .slide_txtarea .slide-circle
  {display:none;}
}