@charset "utf-8";

html,
body {font-size: 1rem;}
body,button,dd,dl,dt,fieldset,form,hr,input,legend,li,ol,p,select,table,td,textarea,th,ul{
  font-family: 'NanumSquareR','Open Sans','Noto Sans KR',sans-serif;
 	font-weight:400;   
 	font-size:14px;
	letter-spacing: -0.5px;
  -webkit-font-smoothing: antialiased;

}

input, textarea {-moz-user-select: auto;-webkit-user-select: auto;-ms-user-select: auto;user-select: auto;}
h1,h2,h3,h4,h5,h6 {margin:0;}
ol, ul, li {list-style: none;}
caption, legend {visibility:hidden;overflow:hidden;position:absolute;top:0;left:-999em;width:0;height:0;font-size:0;line-height:0;text-align:left;}
a,
a:hover {color: #111;text-decoration: none !important; -webkit-transition: all 0.3s; -o-transition: all 0.3s;    transition: all 0.3s;    -moz-transition: all 0.3s; -ms-transition: all 0.3s;}
.owl-carousel .owl-stage, .owl-carousel.owl-drag .owl-item{-ms-touch-action:auto;touch-action:auto;}

@-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);
  }
}


.kun-search .search-icon {
	position: absolute;
	left: 10px;
	top: 11px;
	z-index: 6;
}
.kun-search .search-input {
	font-size: 18px;
}


/*------------- main -------------*/
.section-bg-color {
	background-color: #272727;
}


.box-line {
	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%;
}

.box-cpn ul {display:flex;margin:0;padding:0;flex-wrap: wrap;list-style: none;gap: 25px;}
.box-cpn ul li {flex: 1 1 40%;}
.box-cpn .item {
	padding: 2rem;
	background-color:rgb(255 255 255 / 50%);
	border-radius: 0 0 30px 0;
	transition: all .3s ease;
}
.box-cpn .item h4>small {
	font-size: 14px;
}
.box-cpn .item a,
.box-cpn .item i {color: #fff !important;}
.box-cpn .item:hover h4,
.box-cpn .item:hover h4>small,
.box-cpn .item:hover i,
.box-cpn .item:hover a {
	color: #fff !important;
}

/*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);
}
.counter-cover {display: flex !important;
    justify-content: center;
    flex-direction: column;
    align-items: center;}
.counter-box {position: relative;}
.counter-box ul {display: flex;margin:0;padding:0;flex-wrap: wrap;gap: 20px;}
.counter-box li {flex: 1 1 20%;display: flex;text-align: center;margin: 30px auto 0;flex-direction: column;justify-content: center;gap:5px;}
.counter-box li i {font-size:3em;}
.counter-box h6 {font-weight: 300;}

.funeral_center .box-desc {display:flex;flex-direction: column;gap: 10px}
.funeral_center .box-desc i {display:block;font-size:5em;color: #5f4d41;margin: 0 auto;}
.funeral_center .funeral_center_number{border-radius:12px;text-align:center;}
.funeral_center .funeral_center_number h4 {margin:0;}
.funeral_center .btn-kso {width:100%;padding: .8rem 1.3rem !important;}

.pamyo-item {display: flex;align-items: center;flex-wrap: wrap;gap:15px;}
.pamyo-item .pamyo-txt {position: relative;}
.pamyo-item .pamyo-txt p {word-break: keep-all;}

/*------------- sub -------------*/

.container-full::after {
    content: '';
    display: block;
    clear: both;
}
.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 h2 {position: relative;line-height:160%;}
.sub-header h2::before, .sub-header h2::after {
    content: "";
    width: 20%;
    height: 1px;
    display: inline-block;
    background: var(--bs-white);
    margin: 10px 10px;
}

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:12%;
		width: 60%;
		height: 100%;
		background-color: #191919;
	}
	.back-object-2:after {
		content: '';
		position: absolute;
		left: 0;
		bottom:12%;
		width: 60%;
		height: 100%;
		background-color: #191919;
	}
}
@media(min-width: 1200px) {
	.perview .swiper-slide {
	  width: 22%;
	}
}

@media(min-width: 1920px) {
	.perview .swiper-slide {
	  width: 15%;
	}
}


@media (max-width:991.98px) {
	.bg-img-height {
		height: 500px;
	}
	.section-merry .pagi {
		left: 0;
		bottom: 0;
	}
	.funeral_center .box-desc {
	flex-direction: row;
    align-items: center;
	 justify-content: space-between;
	 }
}
@media(max-width: 767px) {
	
	.sub-header {height:200px;min-height: 200px !important;}
	footer .footer-content {font-size: .8rem;}
	.rounded-box {border-radius: 40px 0 40px 0;}
	.counter-box li {flex: 1 1 40%;}
}
@media(max-width: 576px) {
	footer .nav a {
		font-size: 14px;
	}
	.perview .swiper-slide {
	  width: 60%;
	}
}	
@media screen and (max-width: 480px) {
	.sub-header h2::before, .sub-header h2::after {width:10%;}
	.counter-box h6 {font-size: 0.8rem;}
	.box-cpn ul li {flex: 1 1 100%;}
}
