@charset "utf-8";

.content-area {
	max-width: 1500px;
	margin:0 auto;
}
.section {
	width:100%;
	padding:5rem 0;
	display:flex;
	flex-direction: column;
	align-items: center;
	gap:5rem;
}
.col-inner {
	text-align: center;
}
.col-inner h1,
.col-inner p {
	font-weight: 500;
}
.col-inner h1 {color:#008000;font-size:46px;}
.col-inner p {color:#282828; font-size:18px;}

.tab-content {
	width:100%;
}
/* ===== 탭 ===== */
.nav {
	display:flex;
	justify-content:center;
	gap:1rem;
	margin-bottom:2rem;
}
.nav .tab {
	width:70px;
	height:38px;
}
.nav .tab a {
	font-size:1.1em;
	font-weight: 500;
	color:#666;
	display:block;
	width:100%;
	height:100%;
	line-height: 40px;
	text-align: center;
}
.nav .tab.active a {
	background:#498028;
	color:#fff;
	border-radius: 20px;
}
.tab-panels .tab-list {
	display: none;
}
.tab-panels .tab-list.active {
	display: block;
}
/* ===== 갤러리 썸네일 ===== */
.collection {
	padding:35px;
	background:#fff;
	border: 1px solid #e5e5e5;
	border-radius: 20px;
}
.collection + .collection {
	margin-top:2rem;
}
.collection-tit {
	margin-bottom:20px;
}
.collection-tit h1 {
	font-size:30px;
	margin-bottom:10px;
	font-weight:700;
}
.collection-tit h1 span {
	font-size:22px;
	color:#999;
}
.collection-tit p + p {
	margin-top:15px;
}
.collection-tit span.coment {
	font-size:12px;
	color:#999;
	margin-top:10px;
	display:block;
}
.gallery {
	display: flex;
	gap: 10px;
}
.gallery > div {
	flex:1;
	position: relative;
	width:100%;
	height:460px;
	overflow: hidden;
	cursor: pointer;
}
.gallery > div:nth-child(n+3) {
	display: none;
}
.gallery a {
	display: block;
	height: 100%;
	background: #ddd;
}
.gallery img {
	width:100%;
	height:100%;
	object-fit: cover;
	cursor: pointer;
	transition: transform .4s ease;
}
.gallery > div::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.4);
	opacity: 0;
	transition: opacity .3s ease;
	z-index: 1;
}
.gallery > div::after {
	content: '클릭하시면 원본 이미지를 보실 수 있습니다';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	opacity: 0;
	z-index: 2;
	pointer-events: none;
	transition: opacity .3s ease, transform .3s ease;
}
.gallery > div:hover img {
	transform: scale(1.08);
}
.gallery > div:hover::before {
	opacity: 1;
}
.gallery > div:hover::after {
	opacity: 1;
	transform: translate(-50%, -50%) translateY(-6px);
}
.gallery > div::before,
.gallery > div::after {
	pointer-events: none;
}
/* ===== 슬라이드 모달 ===== */
.slideModal {
	position: fixed;
	inset: 0;
	display: none;
}
.slideModal.active {
	display: block;
}
.slideModal .dim {
	position: absolute;
	inset: 0;
	background:#000;
	z-index: 1;
}
.slideModal .modalInner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 70%;
	height: 90%;
	transform: translate(-50%, -50%);
	background: #000;
	overflow: hidden;
	z-index: 2;
}
.mySwiper {
	width: 100%;
	height: 80%;
}
.mySwiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}
.mySwiper .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.thumbSwiper {
	height:124px;
	margin-top:40px;
}
.thumbSwiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width:255px;
	height:100%;
	opacity: 0.4;
	cursor: pointer;
}
.thumbSwiper .swiper-slide-thumb-active {
	opacity: 1;
}
.thumbSwiper .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.swiper-pagination {
	position: absolute;
	bottom: 7px;
	transform:translate(33%, 0);
	color: #fff;
	font-size: 18px;
	z-index: 5;
}
.swiper-pagination-current,
.swiper-pagination-total {
	color:#fff;
}
.slideModal .swiper-button {
	position: absolute;
	top: 40%;
	left:50%;
	transform: translate(-50%, -40%);
	z-index: 3;
	width:100%
}
.slideModal .swiper-button-next,
.slideModal .swiper-button-prev {
	width:63px;
	height:63px;
	color: #000;
	background:url(../images/ico_next2.png)no-repeat;
}
.slideModal .swiper-button-prev {
	transform: rotate(180deg);
	left:11%;
}
.slideModal .swiper-button-next {
	right:11%;
}
.btnClose {
	position:absolute;
	top:0;
	right:0;
	color:#000;
	background:#fff;
	padding:24px;
	z-index: 3;
}
.btnClose::before,
.btnClose::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 2px;
	background: #000;
}
.btnClose::before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.btnClose::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
@media(max-width:1199px){
	.section {
		padding:5rem 15px;
	}
	.slideModal .modalInner {
		width:100%;
		padding:0 15px;
	}
	.mySwiper {
		height:78%;
	}
	.slideModal .swiper-button-next,
	.slideModal .swiper-button-prev {
		width: 44px;
		height: 44px;
		background: url(../images/ico_next2.png)no-repeat center / 44px;
	}
	.slideModal .swiper-button-prev {
		left: 2%;
	}
	.slideModal .swiper-button-next {
		right: 2%;
	}
	.thumbSwiper {
		height: 90px;
	}
	.thumbSwiper .swiper-slide {
		width: 200px;
	}
	.swiper-pagination {
		font-size:14px;
		bottom: 46px;
		transform: translate(46%, 0);
	}
}
@media(max-width:767px){
	.gallery {
		flex-direction:column;
	}
	.gallery > div {
		flex:none;
		height:320px;
	}
	.thumbSwiper .swiper-slide {
		width: 140px;
	}
	.swiper-pagination {
		font-size:14px;
		bottom: 46px;
		transform: translate(43%, 0);
	}
}