.page-content{word-break:keep-all;}
@font-face {
 font-family: 'NanumSquareNeoOTF-Eb';
 src: url(webfont/NanumSquare/NanumSquareNeoOTF-Eb.otf) format('opentype');
}
@font-face {
 font-family: 'NanumSquareNeoOTF-Bd';
 src: url(webfont/NanumSquare/NanumSquareNeoOTF-Bd.otf) format('opentype');
}
@font-face {
 font-family: 'NanumSquareNeoOTF-Rg';
 src: url(webfont/NanumSquare/NanumSquareNeoOTF-Rg.otf) format('opentype');
}
@font-face {
 font-family: 'NanumSquareNeoOTF-Hv';
 src: url(webfont/NanumSquare/NanumSquareNeoOTF-Hv.otf) format('opentype');
}
@font-face {
 font-family: 'BlackHanSans-Regular';
 src: url(webfont/BlackSans/BlackHanSans-Regular.ttf) format('truetype');
}

.f_neo-Eb{font-family: 'NanumSquareNeoOTF-Eb';}
.f_neo-Bd{font-family: 'NanumSquareNeoOTF-Bd';}
.f_neo-Rg{font-family: 'NanumSquareNeoOTF-Rg';}
.f_neo-Hv{font-family: 'NanumSquareNeoOTF-Hv';}
.f_black{font-family: 'BlackHanSans-Regular';}


.padding_top_8{padding-top:8vw;}
.padding_bottom_8{padding-bottom:8vw;}

.padding_top_6{padding-top:6vw;}
.padding_bottom_6{padding-bottom:6vw;}

.f_alim{font-family: 'HakgyoansimAllimjangR';}
.f_nanum_exbd{font-family: 'NanumSquareEB';}


/*밑줄효과*/
.written_pen2{  
   position: relative;
}
.written_pen2::after {
  content: '';
  display: block;
  width: 0;
  height: 15px;
  position: absolute;
  left: 0;
  bottom: 0px;
  background: rgba(123,176,232,0.3);
   width: 100%;
}


/* 인사말 */
.pastor_title{margin-bottom:30px;}
.pastor_list {margin-top:20px;line-height:1.75;}
.pastor_list li::before{content:"- "}
.pastor_img_wrap{ display: flex; justify-content: center;gap: 50px;}
.pastor_img img{border-radius: 12vw 0 0;}

/* 연혁 */
.year_ubox_1 p:not(p:first-child){margin-top:30px;}
.year_ubox_1 p{font-family: 'NanumSquareEB';opacity:0.7;}
.year_ubox_1 li{opacity:0.7;}


/* 예배안내 */
.worship_wrap_box{padding:5vw 20vw;}
.worship_title{padding-bottom:2vh;color:#58a5b1;}
.t_worship{width:100%;border:none;}
.t_worship td{padding:13px 10px;text-align:center;}
.t_worship  tr:first-child{border-bottom:3px solid #58a5b1;border-top:3px solid #58a5b1;font-weight:600;}

/* 오시는길 */
.location_title{margin-bottom:4vh;}
.way_box{margin-top:6vh;}
.location_list div{display:grid; grid-template-columns:3fr 13fr;opacity:0.8;}
.location_list div p:first-child{display: flex;align-items: center;gap: 3px;}
#component5666{padding-left:3vw;}
.location_title>span{border-bottom:2px solid #333;padding-bottom:5px;}


#daumRoughmapContainer1738839290369{width:100% !important;}


/* 시설안내 */
.fa_title{margin:30px 0;}
.fa_box_wrap{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;margin-bottom:30px;}
.fa_box_wrap p{aspect-ratio:7/4;over-flow:hidden;}
.fa_box_wrap p img{aspect-ratio:7/4;}

.fa_txt{margin-top:20px;}
 .navpills2 .subnav li a{padding-right: 5vh;padding-left: 5vh;}
 .nav>li>a{ font-family: 'HakgyoansimAllimjangR';padding: 3px 15px;/* border: 1px solid transparent;color:#333; */font-size: 1.2rem;color: #213e7a;background:#fff;border: 1px solid #213e7a;border-radius: 60px !important;}
 .nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover{color: #fff;border:1px solid #8aaae1;background-color: #8aaae1;border-radius: 50px !important;}
 .nav>li>a:focus, .nav>li>a:hover{ text-decoration: none;background:#fff }
.nav-pills>li+li {margin-left: 11px;}


/* 다음세대 */

#unit8036>img, #unit8136>img,  #unit4993>img{width:100%;}

/* 유아부 */
.f_ari{ font-family: 'FlightSans-Title';}

@font-face {
    font-family: 'FlightSans-Title';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2410-1@1.0/FlightSans-Title.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
.nxt_kids_title{margin-bottom: 35px; display: flex;align-items: center;gap: 10px;}
.nxt_kids_bg1{padding: 120px 0px;background: linear-gradient(to right, rgb(178, 149, 128) 70%, rgb(255, 255, 255) 30%);}
.nxt_kids_bg2{padding: 120px 0px;background: linear-gradient(to left, rgb(229, 218, 200) 70%, rgb(255, 255, 255) 30%);}

.nxt_wrap1 {display: grid;grid-template-columns: 4fr 3fr;gap: 60px;color:#edeae5;align-items: center;}
.nxt_title p{font-family: 'NanumSquareNeoOTF-Rg';}
.nxt_cont p{font-family: 'NanumSquareNeoOTF-Rg';}
.title_align {display: flex;align-items: baseline;gap: 20px;justify-content: space-between;flex-wrap: wrap;}
.nxt_cont {margin-top: 80px;line-height:1.75;}
.nxt_cont  p:nth-child(1){margin-bottom:30px;display:flex;align-items: center;gap:20px;}
.nxt_cont  p:nth-child(2){margin-bottom:30px;}

.nxt_wrap2 {display: grid;grid-template-columns: 3fr 4fr ;gap: 120px;color: #977b68;align-items: center;}
.nxt_wrap2  .box_2{margin-top:80px;}

.nxt_con_box_2{margin-top:60px;line-height:1.75;}


/* 초등부 */
.nxt_elementary_wrap {display: grid;grid-template-columns: 3fr 5fr;gap: 50px;font-family: 'NanumSquareNeoOTF-Rg';line-height:1.75;}

.nxt_title_ele{text-align:right;line-height:1.75;}
.nxt_title_ele p:nth-child(1){margin-bottom:90px;}
.nxt_title_ele p:nth-child(2){margin-bottom:0px;}
.nxt_title_ele p:nth-child(3){margin-bottom:50px;}

.nxt_ele_con_wrap {display: grid;grid-template-columns: 7fr 5fr;gap: 60px;font-family: 'NanumSquareNeoOTF-Rg';line-height:1.75;color:#9f8472;}
.nxt_ele_con_wrap2 {display: grid;grid-template-columns: 5fr 7fr;gap: 60px;font-family: 'NanumSquareNeoOTF-Rg';line-height:1.75;color:#9f8472;}
.nxt_con_ele p:nth-child(1){margin-bottom:35px;}
.nxt_con_ele p:nth-child(2){margin-bottom:35px;}
.nxt_con_ele p:nth-child(3){margin-bottom:35px;}
.cont_title_ele{font-size:8rem;letter-spacing:-3px;color:#9f8472;}
.cont_title_ele2{font-size:7.7rem;letter-spacing:-4px;color:#9f8472;}

.nxt_con_align {text-align:right;}



/* 청소년부 */

.nxt_teen_title{text-align:center;font-family: 'NanumSquareNeoOTF-Rg';}
.nxt_teen_title p:nth-child(3) {margin:40px 0px;}
.nxt_teen_con{text-align:center;font-family: 'NanumSquareNeoOTF-Rg';position:relative;}
.nxt_teen_con p:nth-child(2){margin:40px 0;}
.nxt_teen_con p:nth-child(3){line-height:1.75;}

.nxt_teen_img_1{position:absolute;top:10%;left:20%;z-index:-2;}
.nxt_teen_img_2{position:absolute;top:0%;right:22%;z-index:-2;}
.nxt_teen_img_3{position:absolute;top:10%;left:5%;z-index:-2;}
.nxt_teen_img_4{position:absolute;bottom:85%;right:25%;z-index:-2;}

.point_box_1, .point_box_2, .point_box_3{padding:120px 0px;}
.point_box_4{padding:150px 0px;}

/* .point_box_1:hover .nxt_teen_img_1,
.point_box_2:hover .nxt_teen_img_2,
.point_box_3:hover .nxt_teen_img_3,
.point_box_4:hover .nxt_teen_img_4
{animation: fade-up 1.5s ease forwards;}
@keyframes fade-up {
    0% {
            opacity: 0;
            transform: translate3d(0, 100%, 0);
        }
        to {
            opacity: 1;
            transform: translateZ(0);
        }
    } */
.highlight_w, .highlight_f, .highlight_j, .highlight_b{position: relative;display: inline-block;z-index: 0;}

.highlight_w::after {content: '';position: absolute;left: 0;bottom: 0;height: 22px;width: 100%;background-image: url('http://data.dimode.co.kr/UserData/sasongyoungnak/files/27/175717/7LKt7IaM64WE67aAX29iXzMucG5nZGltb2RlXzY3MTI4MzhfZW5j.png');background-repeat: no-repeat;background-size: 100% 100%;transform: scaleX(0);transform-origin: left center;z-index: -1;}



.highlight_f::after {content: '';position: absolute;left: 0;bottom: 0;height: 22px;width: 100%;background-image: url('http://data.dimode.co.kr/UserData/sasongyoungnak/files/27/175717/7LKt7IaM64WE67aAX29iXzQucG5nZGltb2RlXzM5NTQ2NDFfZW5j.png');background-repeat: no-repeat;background-size: 100% 100%;transform: scaleX(0);transform-origin: left center;z-index: -1;}



.highlight_j::after {content: '';position: absolute;left: 0;bottom: 0;height: 22px;width: 100%;background-image: url('http://data.dimode.co.kr/UserData/sasongyoungnak/files/27/175717/7LKt7IaM64WE67aAX29iXzUucG5nZGltb2RlXzY2ODMxMjBfZW5j.png');background-repeat: no-repeat;background-size: 100% 100%;transform: scaleX(0);transform-origin: left center;z-index: -1;}



.highlight_b::after {content: '';position: absolute;left: 0;bottom: 0;height: 150px;width: 100%;background-image: url('http://data.dimode.co.kr/UserData/sasongyoungnak/files/27/175717/7LKt7IaM64WE67aAX29iXzYucG5nZGltb2RlXzc2NTQ5MzZfZW5j.png');background-repeat: no-repeat;background-size: 100% 100%;transform: scaleX(0);transform-origin: left center;z-index: -1;}

.pen_box:hover .highlight_w::after ,
.pen_box:hover .highlight_f::after,
.pen_box:hover .highlight_j::after,
.pen_box:hover .highlight_b::after
{animation: highlight-pen 0.3s ease forwards;}

@keyframes highlight-pen {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}



@media  (max-width:1199px) {
	

	
}



@media (max-width: 767px) {
	.nxt_wrap1 ,.nxt_wrap2 , .nxt_elementary_wrap ,.nxt_ele_con_wrap , .nxt_ele_con_wrap2 {grid-template-columns: 1fr;padding:0 20px;}
	.nxt_wrap2{gap:40px;}
	.nxt_wrap2 .box_2{margin-top: 30px;}
	.cont_title_ele, .cont_title_ele2{font-size:4rem;}
	#unit8036>img , #unit8136>img, #unit4993>img{width:70%;}
	#unit8036, #unit8136, #unit4993{display:flex;justify-content: center;}
	.nxt_kids_bg1{padding: 60px 20px;background:#b29580;}
	.nxt_kids_bg2{padding: 60px 20px;background:#e5dac8;}
	
	.nxt_title_ele{text-align:left;}
	.nxt_con_align {text-align: left;}
	
	.point_box_1, .point_box_2, .point_box_3{padding:60px 0px;}
	.point_box_4{padding:80px 0px;}
	
	.nxt_teen_img_1{position:absolute;top:-10%;left:0%;width:22%;}
	.nxt_teen_img_2{position:absolute;top:-20%;right:2%;width:22%;}
	.nxt_teen_img_3{position:absolute;top:10%;left:0%;width:22%;}
	.nxt_teen_img_4{position:absolute;top:-100%;right:0%;width:22%;}
	
	
}
