@charset "utf-8";

@media (max-width: 768px) {

  .main-banner {
    height: auto !important;
    min-height: 400px !important;
  }
  .banner-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 20px !important;
    text-align: center !important;
    align-items: center !important;
    width: 80% !important;
  }
  .arrow.left {
    left: 10px !important;
  }
  .arrow.right {
    right: 10px !important;
  }
  .indicator {
    width: 80% !important;
  }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* ⭐ 핵심 */
}

.block {
	display: block;
}

.inline {
	display: inline;
}


.main-banner {
    position: relative;
    overflow: hidden;
    height: 705px;
   	margin-top: 71px;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 360px;   /* 👈 왼쪽 여백 (조절 가능) */
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
	flex-direction: column;
	gap: 15px;
}

/* 슬라이드 */
.slides {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: none;
    border:none;
    cursor: pointer;
    z-index: 2;
}


.banner-slide {
	display: flex;
}


/* 왼쪽 */
.arrow.left {
    left: 165px;
}

/* 오른쪽 */
.arrow.right {
    right: 165px;
}

.indicator {
  position: absolute;
  bottom: 41px;
  left: 50%;
  transform: translateX(-50%);

  width: 500px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  z-index: 3;
}

.progress {
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.5s ease;
}


