/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 21 2026 | 09:29:21 */
#main-page {
	max-width: 1920px;
	margin : 0 auto;
}

.main-page-contents .con03 {
	background: #706356;
}


/* ===== Subject 슬라이더 전용 ===== */

.subject-sl-wrap {
padding:  5% 0 6%; 
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.subject-sl-con {
    width: 100%;
    max-width: 1588px;
    margin: 0 0 0 auto;
}

.subject-swiper-wrap {
  width: 100%;
  position: relative;
}

.subject-swiper {
  width: 100%;
  overflow: hidden;
}

.subject-swiper-wrapper {
  box-sizing: content-box;
  will-change: transform;
}

/* 각 슬라이드 — PC 4.5개 */
.subject-swiper-slide {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box;
  width: calc(22.22% - 4px); /* 100% / 4.5 */
  height: 400px;
}



/* 이미지 */
.subject-swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.subject-swiper-slide:hover img {
  transform: scale(1.04);
}


/* 화살표 영역 */
.subject-swiper-arrows {
    display: flex;
    align-items: center;
    margin-top: var(--typeB-gap-lg);
    gap: var(--typeB-gap-sm);
}

.subject-arrow-prev,
.subject-arrow-next {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    background: #ffffff;
    cursor: pointer;
    padding: 0;
}
.subject-arrow-prev:hover,
.subject-arrow-next:hover
{
	    background: var(--sub-color04);
}
.

.subject-arrow-prev img,
.subject-arrow-next img {
  object-fit: contain;
}

.subject-arrow-prev.swiper-button-disabled,
.subject-arrow-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ---- 태블릿 (1024px 이하) ---- */
@media all and (max-width: 1024px) {
	#main-page {
		padding-top: 70px;
	}
	.subject-sl-wrap {
		padding:  5% 0 6% 16px; 
	}
  .subject-swiper-slide {
    width: calc(22.22% - 4px); /* 4.5개 유지 */
  }
}

/* ---- 모바일 (639px 이하) — 1.5개 ---- */
@media all and (max-width: 639px) {
	
  .subject-swiper-slide {
    width: calc(66.66% - 4px); /* 100% / 1.5 */
  }


  .subject-arrow-prev,
  .subject-arrow-next {
    width: 30px;
    height: 30px;
  }

  .subject-arrow-prev img,
  .subject-arrow-next img {
    width: 12px;
    height: 12px;
  }
}