@charset "utf-8";

html,
body {
	font-size: 1rem;
}
body, input, textarea, select, button, table {
  font-family: "Pretendard Variable", Pretendard, 'Noto Sans KR', 'Open Sans', '나눔바른고딕', NanumBarunGothic, ng, '맑은 고딕', 'Malgun Gothic', '애플 SD 산돌고딕 Neo', 'Apple SD Gothic Neo', AppleGothic, sans-serif;
 	font-weight: normal;   
 	font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a,
a:hover {
	color: #111;
	text-decoration: none !important;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 30%, 0);
    transform: translate3d(0, 30%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 30%, 0);
    transform: translate3d(0, 30%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}


.kso-search .search-icon {
	position: absolute;
	left: 10px;
	top: 11px;
	z-index: 6;
}
.kso-search .search-input {
	font-size: 18px;
}


/*------------- main -------------*/
.section-bg-color {
	background-color: #272727;
}


.box-line {
	position: relative;
	padding: 2rem 1.5rem;
	border: 10px solid #474747;
}

.text-back {
	position: absolute;
	left: 70%;
	bottom: -10%;
	font-size: 10rem;
	font-weight: bold;
	line-height: 1;
	letter-spacing: -1px;
	color: rgba(0, 0, 0, 0.03);
}




.perview .swiper-slide {
  width: 25%;
}

/*vw style*/
.section-merry .pagi {
	position: absolute;
	left: -170px;
	bottom: 4rem;
	width: 140px;
}

.swiper-button-next.button-center, 
.swiper-button-prev.button-center {
	top: auto;
	bottom: -60px;
  width: 40px;
  height: 40px;
  margin-top: 0;	
  background-color: #fff;
  background-size: 8px 20px;
  border-radius: 50%;
}
.section-merry .swiper-container-horizontal>.swiper-scrollbar {
	left: 0;
	width: 100%;
	background-color: rgba(255,255,255,.1);
}
.section-merry .swiper-scrollbar-drag {
	background-color: rgb(163 145 125);
}





.section-block figure {
	position: relative;
	margin: 0;
	background-color: #000;
	overflow: hidden;
}
.section-block figure a {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
}	
.section-block figcaption {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	padding: 2rem 2rem;
	font-size: 15px;
	color: rgba(255, 255, 255, .7);
}
.section-block figcaption h4 {
	color: #fff;
}
.section-block figcaption h4>small {
	font-size: 15px;
	font-weight: bold;
}
.section-block figure img {
	opacity: .3;
}
.section-block figure img {
	transition: all .3s ease;
}
.section-block figure:hover img {
	transform: scale(1.1);
	opacity: 1;
}



.bg-img-cover {
	position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.bg-img-cover:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .5);
}


/*------------- sub -------------*/
.sub-header {
	position: relative;
	display: flex;
	align-items: center;	
	height: 400px;
	background-color: #eee;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(../img/subtop.jpg);
}
.sub-header:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .3);
}	
.sub-header h1 {
	position: relative;
}

input:focus {
  outline: none !important;
  box-shadow: none !important;
}





/*------------- footer -------------*/
footer {
	background-color: #EBEBEB;
}
footer .nav a {
	position: relative;
	font-size: .9rem;
	color: #111;
}
footer .nav a:before {
	content: '';
	position: absolute;
	left: 0;
	top: 12px;
	width: 1px;
	height: 12px;
	border-left: 1px solid rgba(255, 255, 255, .3);
}
footer .nav li:first-child a:before {
	display: none;
}
footer .nav li:first-child a {
	padding-left: 0;
}
footer .footer-content {
	font-size: .9rem;
  color: #999;
  line-height: 1.6;
}

footer .copyright {
	font-size: .8rem;
	color: rgba(0, 0, 0, .4);
}


#scollTop {
	display: none;
	position: fixed;
	right: 2rem;
	bottom: 4rem;
	width: 50px;
	height: 50px;
	border: none;
	border-radius: 50%;
	box-shadow: 0 3px 5px rgba(0,0,0,.2);
	z-index: 99;
}
#scollTop .scroll-icon {
  width: 20px;
  height: 20px;
  text-align: center;
  color: #fff;
}


/*------------- media query -------------*/
@media(min-width: 992px) {
	.perview .swiper-slide {
	  width: 20%;
	}
	.back-object:after {
		content: '';
		position: absolute;
		right: 0;
		bottom: 0;
		width: 60%;
		height: 100%;
		background-color: #191919;
		border-radius: 150px 0 0 0;
	}
}
@media(min-width: 1200px) {
	.perview .swiper-slide {
	  width: 22%;
	}
}
@media(min-width: 1920px) {
	.perview .swiper-slide {
	  width: 15%;
	}
}


@media(max-width: 991px) {
	.bg-img-height {
		height: 500px;
	}
	.section-merry .pagi {
		left: 0;
		bottom: 0;
	}
}
@media(max-width: 767px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
	footer .footer-content {
		font-size: .8rem;
	}
	.rounded-box {
		border-radius: 40px 0 40px 0;
	}
}
@media(max-width: 576px) {
	footer .nav a {
		font-size: 14px;
	}
	.perview .swiper-slide {
	  width: 60%;
	}
}

/* ============================================== */
/* Instagram 섹션 커스텀 스타일 */
/* ============================================== */
#kso-instagram {
    background-color: #272727 !important; /* 배경색을 어둡게 강제 적용 */
    padding-top: 60px !important; /* 상단 여백 추가 */
    padding-bottom: 60px !important; /* 하단 여백 추가 */
    color: #f0f0f0 !important; /* 섹션 내 기본 글씨색을 밝게 */
}

/* 인스타그램 임베드 코드 내부의 텍스트 색상 조정 (필요시) */
#kso-instagram .instagram-media a {
    color: #f0f0f0 !important; /* 임베드된 링크도 밝게 */
}

/* 인스타그램 섹션 내 제목 스타일 (필요시) */
#kso-instagram h1,
#kso-instagram h2 {
    color: #f0f0f0 !important; /* 제목 글씨색도 밝게 */
    text-align: center !important; /* 제목 중앙 정렬 */
    margin-bottom: 30px !important; /* 제목 하단 여백 */
}

/* 인스타그램 더보기 버튼 스타일 (테마의 btn-kso btn-light round 클래스 활용) */
#kso-instagram .btn-kso.btn-light.round {
    background-color: #56B8BB !important; /* 버튼 배경색 (청록색 계열) */
    color: #ffffff !important; /* 버튼 글씨색 흰색 */
    border-color: #56B8BB !important; /* 버튼 테두리색 */
}

#kso-instagram .btn-kso.btn-light.round:hover {
    background-color: #4AA0A3 !important; /* 호버 시 색상 변경 */
    border-color: #4AA0A3 !important;
}