#main_visual {
   word-break: keep-all;
}

.slick-slider {
   box-sizing: border-box;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;
   -webkit-touch-callout: none;
   -khtml-user-select: none;
   -ms-touch-action: pan-y;
   touch-action: pan-y;
   -webkit-tap-highlight-color: transparent;
}

.slick-list {
   overflow: hidden;
   margin: 0;
   padding: 0;
}

.slick-list.dragging {
   cursor: pointer;
}

.slick-slider .slick-list,
.slick-slider .slick-track {
   -webkit-transform: translate3d(0, 0, 0);
   -moz-transform: translate3d(0, 0, 0);
   -ms-transform: translate3d(0, 0, 0);
   -o-transform: translate3d(0, 0, 0);
   transform: translate3d(0, 0, 0);
}

.slick-track {
   top: 0;
   left: 0;
}

.slick-track:after,
.slick-track:before {
   display: table;
   content: '';
}

.slick-track:after {
   clear: both;
}

.slick-slide {
   display: none;
   float: left;
   height: 100%;
   min-height: 1px;
   box-shadow: none;
   background: 0 0;
   border: none;
}

[dir='rtl'] .slick-slide {
   float: right;
}

.slick-slide img {
   display: block;
   max-width: 100%;
}

.slick-slide.slick-loading img {
   display: none;
}

.slick-slide.dragging img {
   pointer-events: none;
}

.slick-initialized .slick-slide {
   display: block;
}

.slick-vertical .slick-slide {
   display: block;
   height: auto;
   border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
   display: none;
}

::selection {
   background-color: #0075bc;
   color: #fff;
   text-shadow: none;
}

.slick-arrow {
   white-space: nowrap;
   overflow: hidden;
   text-indent: -999px;
   display: block;
   z-index: 100;
   display: none !important;
}

#main_visual {
   position: relative;
   overflow: hidden;
   text-align: center;
   color: #fff;
   top: 100px;
   height: 777px;
   margin: 0 2.5rem 4rem 2.5rem;
   /* margin: 0 2.5rem 4rem 2.5rem; */
   /* margin-bottom: 4rem; */
   border-radius: 3rem;
   overflow: hidden;
}

#main_visual .in {
   position: relative;
}

#main_visual .item {
   height: 777px;
   min-height: 300px;
   background: no-repeat center center scroll;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-size: cover;
   position: relative;
}

/* kv-bg : 배경 전용 */
#main_visual .kv-bg {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   transform: scale(1.5);
   /* 처음 크게 */
   transition: transform 5s ease;
   /* 5초 동안 줄어듦 */
   z-index: 0;
}

/* 활성화된 슬라이드 */
#main_visual .slick-active .kv-bg {
   transform: scale(1);
}

#main_visual .kv-bg.slide01 {
   background: url(../images/slide01.png) no-repeat center;
}
#main_visual .kv-bg.slide02 {
   background: url(../images/slide02.png) no-repeat center;
}
/* 텍스트를 위로 */
#main_visual .text_wrap {
   position: relative;
   z-index: 1;
   display: flex;
   justify-content: flex-start;
   align-items: flex-start;
   margin-top: 186px;
   padding-left: 5rem;
   height: 100%;
}

#main_visual .item.slick-active h2 {
   animation: fadeInDown 1s both 1s;
   font-size: 72px;
   text-align: start;
   color: #000;
}

#main_visual .item.slick-active h2 span {
   font-weight: 700;
}

#main_visual .item.slick-active h5 {
   animation: fadeInLeft 1s both 1.5s;
   font-size: 20px;
   text-align: start;
   color: #000;
}

#main_visual .slick-arrow {
   position: absolute;
   width: 71px;
   height: 71px;
   background: url('') center center no-repeat;
   width: 50px;
   height: 50px;
   z-index: 1;
   /* left: 50%; */
   top: 50%;
   margin-top: -23px;
   background-size: 100%;
}

#main_visual .slick-prev {
   background-image: url('../images/slide_main_pre.png');
   left: 3%;
}

#main_visual .slick-next {
   background-image: url('../images/slide_main_next.png');
   right: 3%;
}

#main_visual .item h2 {
   line-height: 1.5;
}

/* 커스텀 Controls UI 스타일 */
.pointer-events-none {
   pointer-events: none;
}

.pointer-events-auto {
   pointer-events: auto;
}

#main_visual .custom-controls {
   top: 550px;
   /* [수정된 부분] Bootstrap의 container-xxl 패딩값 변수를 계산하여 h2 텍스트의 시작 선과 동일하게 맞춤 */
   left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
   z-index: 10;
   font-family: inherit;
   padding-left: 5rem;
}

#main_visual .progress-wrap {
   width: 150px;
   height: 3px;
   background-color: #ffffff;
   border-radius: 2px;
   overflow: hidden;
   position: relative;
}

#main_visual .progress-bar {
   position: absolute;
   top: 0;
   left: 0;
   width: 0%;
   height: 100%;
   background-color: #d71921;
}

#main_visual .btn-play-pause {
   cursor: pointer;
   outline: none;
   opacity: 0.9;
   transition: opacity 0.2s;
}

#main_visual .btn-play-pause:hover {
   opacity: 1;
}



@media (max-width: 1199px) {
   #main_visual .custom-controls {
      display: none !important;
   }
}

/* 반응형 처리 */
@media (max-width: 576px) {
   #main_visual {
      height: 550px;
      margin: 0 1rem 4rem 1rem;
      border-radius: 2rem !important;
   }

   #main_visual .kv-bg.slide01 {
      background: url(../images/m_slide01.png) no-repeat center;
      background-size: cover;
   }
   #main_visual .kv-bg.slide02 {
   background: url(../images/m_slide02.png) no-repeat center;
   background-size: cover;
}
   #main_visual .text_wrap {
      margin-top: 100px;
      padding: 0 24px !important;
   }

   #main_visual .item.slick-active h2 {
      font-size: 30px;
   }

   #main_visual .item.slick-active h5 {
      font-size: 16px;
   }

   #main_visual .progress-wrap {
      width: 100px;
   }
}