﻿@keyframes move {
  from {
    transform: translateX(100px) scale(1.2);
    animation-timing-function: cubic-bezier(.2,0,.8,1);
  }
  to { transform: translateX(0px) scale(1); }
}
@-webkit-keyframes updown {
    0% {
        bottom: 0;
    }

    100% {
        bottom: 30px;
    }
}
@font-face {
    font-family: 'pretendard-bold';
    src: url('fonts/pretendard-bold.otf') format('opentype');
}
@font-face {
    font-family: 'pretendard-regular';
    src: url('fonts/pretendard-regular.otf') format('opentype');
}
@font-face {
    font-family: 'nanumsquareneo-brg';
    src: url('fonts/nanumsquareneo-brg.ttf') format('truetype');
}
@font-face {
    font-family: 'nanumsquareneo-cbd';
    src: url('fonts/nanumsquareneo-cbd.ttf') format('truetype');
}
@font-face {
    font-family: 'nanumsquareneo-deb';
    src: url('fonts/nanumsquareneo-deb.ttf') format('truetype');
}
@-webkit-keyframes arrayR {0%,100% {-webkit-transform:translate(15px,-50%);}50% {-webkit-transform:translate(15px,-50%);}}
@keyframes arrayR {0%,100% {transform:translate(0,-50%);}50% {transform:translate(15px,-50%);}}
.pretendardB{ font-family: 'Pretendard-ExtraBold';}
.pretendardR{ font-family: 'Pretendard-Regular';}
.nanumBrg{font-family: 'nanumsquareneo-brg';}
.nanumCbd{font-family: 'nanumsquareneo-cbd';}
.nanumDeb{font-family: 'nanumsquareneo-deb';}
.no-padding {
    padding-right: 0;
    padding-left: 0;
}
.no-margin{margin-right:0; margin-left:0;}
/* common */


:root {
    --width1: 5;
    --width2: 4;
    --width3: 3;
}
.view-more {
display: inline-block;text-decoration: none;overflow: hidden;vertical-align: middle;background: transparent;overflow: hidden;
-webkit-transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);position: relative;z-index: 1;font-weight: 100;}
#mainSlider .swiper-wrapper img {width: 100%;}
.view-more:hover:before {
-webkit-transform: translateX(0) skewX(-17.62deg);-ms-transform: translateX(0) skewX(-17.62deg);
transform: translateX(0) skewX(-17.62deg);-webkit-transform-origin: left top;
-ms-transform-origin: left top;transform-origin: left top;}
.view-more:before {
z-index: -1;content: "";display: block;width: 135%;height: 105%;position: absolute;left: 0;top: 0;
-webkit-transform-origin: right top;-ms-transform-origin: right top;transform-origin: right top;-webkit-transform: translateX(-101%) skewX(-17.62deg);
-ms-transform: translateX(-101%) skewX(-17.62deg);transform: translateX(-101%) skewX(-17.62deg);-webkit-transition: -webkit-transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
transition: -webkit-transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1),  -webkit-transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
-webkit-backface-visibility: hidden;backface-visibility: hidden;}

.view-more2 div {
display: inline-block;text-decoration: none;overflow: hidden;vertical-align: middle;background: transparent;overflow: hidden;
-webkit-transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);position: relative;z-index: 1;font-weight: 100;}

.view-more2:hover div:before { -webkit-transform: translateX(0) skewX(-17.62deg); -ms-transform: translateX(0) skewX(-17.62deg); transform: translateX(0) skewX(-17.62deg); -webkit-transform-origin: left top; -ms-transform-origin: left top; transform-origin: left top;}
.view-more2 div:before { z-index: -1; content: ""; display: block; width: 135%; height: 105%; position: absolute; left: 0; top: 0; -webkit-transform-origin: right top; -ms-transform-origin: right top; transform-origin: right top; -webkit-transform: translateX(-101%) skewX(-17.62deg); -ms-transform: translateX(-101%) skewX(-17.62deg); transform: translateX(-101%) skewX(-17.62deg); -webkit-transition: -webkit-transform 1s cubic-bezier(0.165, 0.84, 0.44, 1); transition: -webkit-transform 1s cubic-bezier(0.165, 0.84, 0.44, 1); transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1); transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 1s cubic-bezier(0.165, 0.84, 0.44, 1); -webkit-backface-visibility: hidden; backface-visibility: hidden;}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {background: none;}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {background: none;}
#main1{padding: 100px 0 100px; }
#main1 .main1T h1{margin:0;font-size: 27px;letter-spacing: 3px;word-spacing: 5px;margin:0 0 25px;}
#main1 .main1T h1 strong{font-size: 34px;}
.swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after {display:none;}
.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after {display:none;}
#main1 .main1M .main1T:hover a{position:relative;
animation-name: updown;animation-duration:1s;animation-duration: leaner;animation-iteration-count:infinite;animation-direction:alternate;animation-fill-mode: forwards;}
#main1 .main1M{position: relative;display: inline-flex;}
#main1 .main1M2{position: relative;display: inline-flex; width: 100%; margin-top: 50px;}
#main1 .main1M .main1L{order:1;position:relative; width: 50%; display: inline-flex; flex-direction: column; justify-content: space-between; background: url(../Images/2_sermon_bg.jpg) no-repeat;
background-position: center; aspect-ratio: 700 / 617; background-size: 100% 100%; padding: 40px; }
#main1 .main1M .main1L .main1LM h1{margin: 0 0 30px;line-height: 1.5;font-size: 32px;color: #fff; font-weight: bold;}
#main1 .main1M .main1L .main1LM h2 { width: 65%;color: #fff; line-height: 2; font-size: 0px; white-space: normal; word-wrap: break-word; display: -webkit-box; word-break: keep-all; -webkit-line-clamp: 2; overflow: hidden; -webkit-box-orient: vertical;}
#main1 .main1M .main1L .main1LM h5{margin: 20px 0 20px;line-height: 1.5;font-size: 22px;color: #fff;}
#main1 .main1M .main1L .main1LM h7{font-size: 20px;color: #fff;display: inline-flex;align-content: center;align-items: center;}
#main1 .main1M .main1R{order: 4;width: 50%;display: inline-flex;flex-wrap: wrap; flex-direction: column; grid-gap: 19px;background: url(../Images/2_nxt_bg.jpg) no-repeat;
background-position: center; aspect-ratio: 700 / 617; background-size: 100% 100%; padding: 40px; grid-gap: 100px; }
#main1 .main1M .main1RB {display: inline-flex; width: 100%; justify-content: space-between; align-items: flex-end;}
#main1 .main1M .main1RB .main1RBOX { height: 87px; width: calc(100% / var(--width2) - 10px); display: inline-flex; position: relative; justify-content: center; align-items: center; gap: 10px; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid #A5A396;}
#main1 .main1M .main1RBOX:before { background-color: #1250A7; transition: 0.8s all ease;}
#main1 .main1M .main1RBOX:hover h1 { color: #fff; transition: 0.3s all ease; font-weight: bold;}


#main1 .main1M .context h2 { font-size: 30px; margin: 0px; max-height: 40px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;} 
#main1 .main1M .context h5 { font-size: 20px; margin: 0px; word-break: keep-all; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;}
#main1 .main1M .context { width: 100%; background-size: cover; background-repeat: no-repeat; background-position: center; height: 100%; display: inline-flex; flex-direction: column;
justify-content: space-between;  grid-gap: 20px; color: #fff;  font-family: 'Pretendard-Regular';}
#main1 .main1M .context .onlineRHF{display: inline-flex; float: right; flex-direction: row; width: 11%; flex-wrap: nowrap; padding: 20px 0 0; align-items: center; gap: 10px;text-decoration: none;}
#main1 .main1M .context .onlineRHF .onlineRPLUS{ display: inline-block; width: 21px; height: 10px; background-size: contain; background-position: center; background-repeat: no-repeat;}
#main1 .main1M .context .onlineRHF span {font-size: 15px; color: #fff; display: inline-block;}
#main1 .main1M .context .othersermon { display:flex; flex-direction: column; grid-gap: 10px;}
#main1 .main1M .context .othersermon a {background: rgba(255,255,255,0.3); height: 44px; width: 182px; display: inline-flex ; position: relative; justify-content: center; align-items: center; gap: 10px; text-decoration: none; color: inherit; border: 1px solid #fff;}
#main1 .main1M .context .othersermon a:before { background-color: #fff; transition: 0.8s allease;}
#main1 .main1M .context .othersermon a:hover h1 {color: #000; transition: 0.3s allease; font-weight: bold;}
#main1 .main1M .context .othersermon h1 {font-size: 20px; margin: 0px; text-align: center;}
#main1 .main1M .context .text h3 {margin: 0px;}
#main1 .main1M .context .play { display: grid; align-content: center;}
#main1 .main1M .main1B {height: 160px; display: inline-flex; position: relative; justify-content: center; align-items: center; flex-direction: column; text-decoration: none; color: inherit;}
#main1 .main1M .main1R .main1RT{display: inline-flex;justify-content: flex-start;align-items: center;
width: 100%;gap: 20px;position: relative; }
#main1 .main1M .main1R .circle a:before { background-color: #33a4de;; transition: 0.8s allease;}
#main1 .main1M .main1R .circle a:hover h1 {color: #fff; transition: 0.3s allease; font-weight: bold;}
#main1 .main1M .main1R .main1RT:last-child {border: none;}
#main1 .main1M2 .main1M2L {order: 1;width: 33%;display: inline-flex;flex-wrap: wrap;align-items: center;align-content: center;}
#main1 .main1M2 .main1M2L .main1M2T {display: inline-flex; justify-content: flex-start; align-items: center; padding: 20px 0; width: 100%; gap: 30px; position: relative;}
#main1 .main1M2 .main1M2R { order: 4; width: 70%;display: inline-flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content:space-between;
 position: absolute; right: 0px;   }
#main1 .main1M2 .main1M2L .main1M2T a { color: #000; font-size: 25px; transition: all .6s;}
#main1 .main1M2 .main1M2L .main1M2T a:hover { color: #fff;}
#main1 .main1M2 .main1M2R a { position:relative;  color: #fff}
#main1 .main1M2 .main1M2R a:nth-child(3) { margin-top: 49px;}
#main1 .main1M2 .main1M2R a:nth-child(4) { margin-top: 49px;}
#main1 .main1M2 .main1M2R span {width: 100%; text-align:center;  position: absolute; top: 50%; left:50%; transform: translate(-50%, -50%); font-weight: bold; font-size: 25px;}
#main1_5 {padding: 100px 0; }
#main1_5 #main1_5M .PhotoM { overflow: hidden; }
#main1_5 #main1_5M { position: relative;}
#main1_5 #main1_5M .PhotoP { position: absolute; z-index: 2; top: 50%; text-align: center; left: -6%; border: none; display: block; transform: translate(0,-50%);}
#main1_5 #main1_5M .PhotoN { position: absolute; z-index: 2; top: 50%; text-align: center; right: -6%;border: none; display: block; transform: translate(0,-50%);}
#main1_5 #main1_5M .PhotoM .PhotoIMG { display: block; position: relative; height: 300px; overflow: hidden; background-color: #000; margin: 0 auto; background-size: cover; background-position: 50% 50%; background-origin: border-box; background-repeat: no-repeat;}
#main1_5 #main1_5M .PhotoM .PhotoIMG .PhotoIMT { position: absolute; height: 100%; width: 100%; background: rgba(0,0,0,0.7); z-index: 3; top: 0; left: 0; display: none;}
#main1_5 #main1_5M .PhotoM .PhotoIMG .PhotoIMT h5 { font-size: 22px; color: #fff; margin: 0; position: absolute; top: 60%; text-align: center; left: 0%; width: 100%; border: none; display: block; transform: translate(0,-50%);}
#main1_5 #main1_5M .PhotoM .PhotoIMG .PhotoIMT h1 { font-size: 22px; margin: 0; color: #fff; position: absolute; top: 45%; text-align: center; left: 0%; width: 100%; border: none; display: block; transform: translate(0,-50%);}

#main1_5 .main1_5T {width: 100%; display: inline-flex; justify-content: space-between; margin-bottom: 50px;}
#main1 .main1M .main1R .main1RT .sermonST {
    display: inline-flex;
    flex-direction: column;
    width: 255px;
}
#main1 .main1M .main1R .main1RT .sermonST span{font-size:17px;line-height:1.5;color:#000; word-break: keep-all; overflow: hidden; word-wrap: break-word; width: 100%;
    text-overflow: ellipsis;}
#main1 .main1M .main1R .main1RT .sermonST .date {font-size: 15px;}
#main1 .main1M .main1R .main1RT .sermonST .more {margin: 0 5px; font-size: 15px;}
#main1 .main1M .main1R .main1RT .sermonSN { width: 150px; height: 100px; position:relative;}
#main1 .main1M .main1R .main1RT .sermonSN img { width: 100%; height: 100px; background-position: 50% 50%; background-size: cover; border: 0px;}
#main1 .main1M .main1R .main1RT .sermonST strong{font-size:24px;color:#000;}
#main1 .main1M .main1R .main1RT .sermonST strong{font-size:24px;color:#000;}
#main1 .main1M .main1RB .main1RBOX h1 {font-size: 15px;  text-align: center; margin: 0px;}
#main1 .main1M .main1R .main1RM { width: 100%;}
#main1 .main1M .main1R .main1RM h3 { margin: 0px; font-size: 25px; color: #fff;}
#main1 .main1M .main1R .main1RM h1 { margin: 0px; font-size: 46px; color: #fff;}
#main1 .main1M .main1R .circle {display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 10px; width: 65%; }
#main1 .main1M .main1R .circle a {background: rgba(255,255,255,0.3); height: 123px; width: 123px; display: inline-flex ; position: relative; justify-content: center; align-items: center; gap: 10px; text-decoration: none; color: inherit; border: 1px solid #fff; border-radius: 50%; }
#main1 .main1M .main1R .circle a:hover {border: 1px solid #33a4de;}
#main1 .main1M .main1R .circle a h1 {font-size: 18px; color: #fff;}
#main1 .main1M .main1R .main1RT .sermonSN a {
    display: block;
}
#main1 .main1M .main1R .main1RT .sermonSN .play {width: 16px; height: 17px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
#main1 .main1M .main1R .main1RB{display: inline-flex;justify-content: flex-start;align-items: center;
width: 100%;gap: 15px;position: relative;}
#main1 .main1M .main1R .main1RB .sermonST{display: inline-flex;flex-direction: column;}
#main1 .main1M .main1R .main1RB .sermonST span{font-size:17px;line-height:1.5;color:#888;}
#main1 .main1M .main1R .main1RB .sermonST strong{font-size:24px;color:#000;}

#main1{background-color:#F2ECDE;}
#main1 .main1T{text-align:center;}
#main1 .main1T h1{margin: 0;font-size: 46px;padding:80px 0 100px;}
#main1 .main1M{display: inline-flex;flex-direction: row; width: 100%;overflow:hidden;}
#main1 .main1M .newsM{width:55%;} 
#main1 .main1M .newsM .newsMN{display: inline-flex;width: 100%;align-items: center;justify-content: space-between;padding-bottom: 5px;border-bottom: 3px solid #000;}
#main1 .main1M .newsM .newsMN .newsMR{display: inline-block;}
#main1 .main1M .newsM .newsMN .newsMR h1{margin: 0;font-size: 27px;letter-spacing: 0px;font-weight:bold;}
#main1 .main1M .newsM .newsMN .newsML{display: inline-block;}
#main1 .main1M .newsM .newsMN .newsML a{text-decoration:none;padding: 5px 15px;border-radius:50px;color:#000;text-decoration:none;}
#main1 .main1M .newsM .newsMN .newsML a:hover{color:#fff;}
#main1 .main1M .newsM .newsMN .newsML a:hover:before{background-color:#ED6D00;}
#main1 .main1M .newsM .newsMN .newsML .iSactive{color:#fff;}
#main1 .main1M .newsM .newsMN .newsML .iSactive:before{background-color:#ED6D00;
-webkit-transform: translateX(0) skewX(-17.62deg);-ms-transform: translateX(0) skewX(-17.62deg);
transform: translateX(0) skewX(-17.62deg);-webkit-transform-origin: left top;
-ms-transform-origin: left top;transform-origin: left top;}
#main1 .main1M .newsM .newsMN .newsML a li{font-size: 20px;}
#main1 .main1M .newsM .documents .tab-content .newsSD{overflow:hidden;}
#main1 .main1M .newsM .documents .tab-content .newsSD .swiper-slide{border-bottom:1px solid #9A9A9A;}
#main1 .main1M .newsM .documents .tab-content .newsT{display: inline-flex;align-items: center;width: 100%;}
#main1 .main1M .newsM .documents .tab-content .newsT .RegT{display: inline-flex;flex-direction: column;justify-content: center;padding: 30px;}
#main1 .main1M .newsM .documents .tab-content .newsT .RegT h1{margin: 0;font-size: 24px;font-weight: bold;color:#1F3984;text-align:center;}
#main1 .main1M .newsM .documents .tab-content .newsT .RegT h5{margin: 0;font-size: 17px;line-height: 1.5;color:#1F3984;}
#main1 .main1M .newsM .documents .tab-content .newsT h2{margin: 0;font-size: 28px;color:#000;}
#main1 .main1M .newsM .documents .tab-content .newsT .newsBT{padding: 22.5px;position: absolute;transform: translate(0,-50%);top: 50%;right: 5%;}
#main1 .main1M .newsM .documents .tab-content .newsT .newsBT .on,
#main1 .main1M .newsM .documents .tab-content .newsT .newsBT .off{position:absolute;top:0;left:0;}
#main1 .main1M .newsM .documents .tab-content .newsT .newsBT .on{position:absolute;top:0;left:0;opacity:0;transition:0.3s all ease;}
#main1 .main1M .newsM .documents .tab-content .newsT .newsBT .off{position:absolute;top:0;left:0;opacity:1;transition:0.3s all ease;}
#main1 .main1M .newsM .documents .tab-content .newsSD .swiper-slide:hover .newsT .newsBT .on{opacity:1;transition:0.3s all ease;}
#main1 .main1M .newsM .documents .tab-content .newsSD .swiper-slide:hover .newsT .newsBT .off{opacity:0;transition:0.3s all ease;}
#main1 .main1M .newsM .documents .tab-content .newsSD .swiper-slide-active .newsT .newsBT .on{opacity:1;transition:0.3s all ease;}
#main1 .main1M .newsM .documents .tab-content .newsSD .swiper-slide-active .newsT .newsBT .off{opacity:0;transition:0.3s all ease;}

#main1 .main1M .allNewsM{width:45%;}
#main1 .main1M .allNewsM .allNewsSD{height:470px;overflow:hidden;}
#main1 .main1M .allNewsM .allNewsSD .swiper-slide{padding:20px;border: 1px solid #D7D7D7;background-color: #FFF;transition:0.3s all ease;text-decoration:none;}
#main1 .main1M .allNewsM .allNewsSD .swiper-slide:hover,
#main1 .main1M .allNewsM .allNewsSD .swiper-slide-active{border: 1px solid #9B9B9B;background-color: #F6F7F9;transition:0.3s all ease;}
#main1 .main1M .allNewsM .allNewsSD .swiper-slide .allnewsT{position:relative;}
#main1 .main1M .allNewsM .allNewsSD .swiper-slide .allnewsT hr{margin: 5px 0 10px;width: 3%;border: 1px solid #ED6D00}
#main1 .main1M .allNewsM .allNewsSD .swiper-slide .allnewsT h1{margin: 0;font-size: 24px;line-height: 1.5;color:#000;}
#main1 .main1M .allNewsM .allNewsSD .swiper-slide .allnewsT h4{margin: 0;font-size: 17px;color:#000;font-weight:bold;letter-spacing:0px;}
#main1 .main1M .allNewsM .allNewsSD .swiper-slide .allnewsT h5{margin: 0;font-size: 17px;position: absolute;bottom: 0;right: 0;color: #737373;}


#main2 { order:1;position:relative;  background: url(../Images/3_welcome_bg.jpg) no-repeat;
background-position: center; background-size: 100% 100%; padding: 100px 0;}
#main2 .subject {display: flex ; flex-direction: column; align-items: center; grid-gap: 50px;}
#main2 .subject h1 { font-family: 'Pretendard-Regular'; margin: 0px; font-weight: bold; font-size: 40px;}
#main2 .welcomeM { display: inline-flex; justify-content: center; align-items: center; gap: 25px; width: 100%; margin-top: 100px; }
#main2 .welcomeM a {background: rgba(255,255,255,0.4);text-align: center; text-decoration: none; color: #000; height: 180px; width: 188px; display: inline-flex; position: relative; justify-content: center; align-items: center; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid #000; }
#main2 .welcomeM a .welcomeBT { width: 188px; height: 180px;position: relative; display: inline-flex; flex-direction: column; padding: 20px; justify-content: flex-end;}
#main2 .welcomeM a .welcomeBT .on, #main2 .welcomeM a .welcomeBT .off { top: 40%; left: 50%;  padding: 32.5px; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; transform: translate(-50%, -50%);}
#main2 .welcomeM a:hover .welcomeBT:before { background-color: #101856;}
#main2 .welcomeM a .welcomeBT .on { opacity: 0; transition: 0.3s all ease;}
#main2 .welcomeM a .welcomeBT .off { opacity: 1; transition: 0.3s all ease;}
#main2 .welcomeM a:hover .off { opacity: 0; transition: 0.3s all ease;}
#main2 .welcomeM a:hover .on { opacity: 1; transition: 0.3s all ease;}
#main2 .welcomeM a:hover h1 {color: #fff;}
#main2 .welcomeM a h1 { margin: 0; font-size: 20px; letter-spacing: 0px; text-align: center; font-family: 'Pretendard-Regular';}

#main3 { padding: 100px 0;}
#main3 .container{position:relative;z-index:1;}
#main3 .main3T { color: #fff;}
#main3 .main3T h1{margin: 0;font-size: 46px; color: #000000; margin-bottom: 70px; }
#main3 .main3T h5{margin: 0;font-size: 20px; padding:20px 0 20px;}
#main3 .PhotoM .PhotoIMG { display: block; position: relative; aspect-ratio: 444/320; overflow: hidden; background-color: #000; margin: 0 auto; background-size: cover; background-position: 50% 50%; background-origin: border-box; background-repeat: no-repeat;}
#main3 .PhotoM { overflow: hidden;}
#main3 .PhotoM .PhotoIMT h1 {font-family: 'Pretendard-Regular'; font-size: 25px; color: #000; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: break-all;}
#main3 .PhotoM .PhotoIMT h5 {font-family: 'Pretendard-Regular'; font-size: 18px; color: #000; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: break-all;}
#main3 .main3S .link a {font-size: 20px; color: #101856; font-weight: bold;}
#main3 .main3S .link a:hover {text-decoration: none;}
#main3 .main3S .link a img {padding-left: 10px;}
#main3 .main3S {display: flex; justify-content:space-between; align-items: center; margin-bottom: 40px;}
#main3 .main3S .button {display: flex; grid-gap: 10px;}
#main3 .PhotoM a:hover {text-decoration: none;}
#main3 .PhotoM a:hover {text-decoration: none;}

#main4{padding-bottom:95px;}
#main4 .storyT h1 {margin: 0;font-size: 46px;padding: 90px 0 80px;text-align:center;color:#fff;}
#main4 .storyM .GalleryM{width:65%;overflow:hidden;}
#main4 .main4TB {display: grid; justify-content: center; align-items: center; width: 100%; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20%), 1fr)); grid-gap: 57px; }
#main4 .main4T { padding: 50px; text-align: center;}
#main4 .main4T h5 { color: #D8D3D0; margin: 0px; font-size: 20px;}
#main4 .main4T h1 { font-weight: bold; margin: 0px; font-size: 40px; margin-top: 20px;}
#main4 .main4TB .main4B {height: 315px; width: 100%; display: inline-flex; position: relative; justify-content: center; align-items: center; gap: 20px; flex-direction: column; text-decoration: none; color: inherit;}
#main4 .main4TB .main4B div{padding: 35px; color: #fff; height: 100%; width: 100%; background-size: contain; background-repeat: no-repeat; background-position: center;}
#main4 .main4TB .main4B div h5 {font-size: 25px; position: relative; word-break: keep-all;}
#main4 .main4TB .main4B div h5:before {content: ""; position: absolute; width: 20%; height: 2px; background: #fff; left: 0px; bottom: -10px;}


#main5{padding-bottom: 100px;}
#main5 .main5T {padding: 50px; text-align: center;}
#main5 .main5T h5 { color: #D8D3D0; margin: 0px; font-size: 20px;}
#main5 .main5T h1 {font-weight: bold; margin: 0px; font-size: 40px; margin-top: 20px;}
#main5 .main5M{ display: inline-flex; flex-direction: row; grid-gap: 30px;}
#main5 .main5M .main5MB {width: 17%;}
#main5 .main5M .main5L {width: 83%;}
#main5 .main5M .news_img {padding:0 30px; height: 236px; width: 100%; display: inline-flex; position: relative; justify-content: center;  gap: 20px; flex-direction: column; text-decoration: none; color: inherit;background-repeat: no-repeat;}
#main5 .main5M .news_img h2 {color: #fff; margin: 0px;}
#main5 .main5M .news_img h3 {color: #fff; margin: 0px;}
#main5 .main5M .main5L .main5X  { display: inline-flex; justify-content: center; align-items: center; width: 100%; grid-gap: 30px;}
#main5 .main5M .main5L .main5LB {padding: 30px 40px; height: 351px; width: calc(100% / var(--width3) - 5px); display: inline-flex; position: relative; justify-content: center; grid-gap: 20px; flex-direction: column; text-decoration: none; color: inherit;}
#main5 .main5M .main5L .main5LB .title {display: inline-flex; justify-content: space-between; width: 100%;}
#main5 .main5M .main5L .main5LB .title h5 { color: #124DA7; font-size: 15px; margin: 0px;}
#main5 .main5M .main5L .main5LB .content {font-size: 17px; font-weight: bold; white-space: normal; word-wrap: break-word; display: -webkit-box; word-break: keep-all; -webkit-line-clamp: 1; overflow: hidden; -webkit-box-orient: vertical;}
#main5 .main5M .main5L .main5LB .notice_img {height: 150px; overflow: hidden;}
#main5 .main5M .main5L .main5LB .notice_img .PhotoIMG {display: block; position: relative; height: 100%; overflow: hidden; background-color: #000; margin: 0 auto; background-size: cover; background-origin: border-box; background-repeat: no-repeat;}
#main5 .main5M .main5L .main5LB .news_more a {display: flex; justify-content: end;}
#main5 .main5M .main5L .main5LB .text {font-size: 15px; word-wrap: break-word; display: -webkit-box; word-break: keep-all; -webkit-line-clamp: 7; overflow: hidden; -webkit-box-orient: vertical;}
#main5 .main5M .main5L .main5LB .view-more {width: 65px; display: inline-block; float: right; height: 25px;  background-color: #B4AC99; border-radius: 25px; transition: all .2s;}
#main5 .main5M .main5L .main5LB .view-more:before {background: #000; }
#main5 .main5M .main5L .main5LB .view-more span {position: absolute; top: 50%; width: 100%; text-align: center; transform: translate(0, -55%); color: #fff; font-size: 15px;}

#main6 {position: relative; padding: 100px 0; background: #F2ECDE;}
#main6 .subject {margin-bottom: 56px;}
#main6 .subject h1 {font-size: 56px; color: #000; font-family: 'Pretendard-Regular'; font-weight: bold; margin: 0px;}
#main6 .galleryb {width: 66%;}
#main6 .album-bottom {position:relative; margin-top: 62px;}
#main6 .gallery-tab {  display: flex; z-index: 1; position: relative; flex-direction: row; justify-content: center; align-items: center;}
#main6 .gallery-tab li {width: 100%; display: inline-block; float: right; text-decoration: none;}
#main6 .gallery-tab li a {height: 100%; display: inline-block; position: relative; text-decoration: none;}
#main6 .gallery-tab li a:hover , #main6 .gallery-tab li a:active  {text-decoration: none;}
#main6 .gallery-tab li.active a:hover div {text-decoration: none;}
#main6 .gallery-tab li:before {background: #124FA7;}
#main6 .gallery-tab li a div {  width: 100%; text-align: center; color: #666666; font-size: 17px; text-decoration: none;}
#main6 .gallery-tab li.active a div { color: #134EAA; text-decoration: none;}
#main6 .gallery-tab li.active a:after { content: ""; width: 100%; height: 2px;  background: #134EAA; position: absolute; bottom: -15px; left: 0px;}
#main6 .PhotoM { overflow: hidden;}
#main6 .button {position: absolute; z-index: 1000; right: 0; top: -100px; display: flex; grid-gap: 10px;}
#main6 .PhotoM .PhotoIMG {width: 337.5px;  display: block; position: relative; aspect-ratio: 328/327; overflow: hidden; background-color: #000; margin: 0 auto; background-size: cover; background-position: 50% 50%; background-origin: border-box; background-repeat: no-repeat; }
#main6 .PhotoM .PhotoIMG .PhotoIMT { position: absolute; height: 100%; width: 100%; background: rgba(0, 0, 0, 0.7); z-index: 3; top: 0; left: 0; display: none;}
#main6 .PhotoM .PhotoIMG .PhotoIMT h2 { font-size: 20px; margin: 0; color: #fff; position: absolute; top: 60%; left: 10%; width: 100%; border: none; display: block; transform: translate(0, -50%);}
#main6 .PhotoM .PhotoIMG .PhotoIMT h1 { font-size: 20px; margin: 0; color: #fff; position: absolute; top: 70%; left: 10%; width: 100%; border: none; display: block; transform: translate(0, -50%);}
#main6 .PhotoM .PhotoIMG .PhotoIMT h5 { font-size: 18px; color: #fff; margin: 0; position: absolute; top: 80%; left: 10%; width: 100%; border: none; display: block; transform: translate(0, -50%);}
#main6 .PhotoM .contentSlideWrapper .contentSlide:hover .PhotoIMG, #main6 .PhotoM .contentSlideWrapper .contentSlide:focus .PhotoIMG { -webkit-transform: translate(0px, -10px); transform: translate(0px, -10px); transition: all 0.5s; }
#main6 .PhotoM .contentSlideWrapper .contentSlide:hover .PhotoIMG,
#main6 .PhotoM .contentSlideWrapper .contentSlide:focus .PhotoIMG
{-webkit-transform: translate(0px,-10px);
transform: translate(0px,-10px);transition: all 0.5s;}

#main7 .main7B { display: flex; grid-gap: 20px;  padding-bottom: 100px;}


@media (max-width:1699px) {
    #main2 .welcomeM {grid-gap: 30px;}
    #main6 .PhotoN {right: -2%;}
    #main6 .PhotoP {left: -2%;}
}

@media (max-width:1499px) {
    #main2 .welcomeM a .welcomeBT {padding:50px;}
    #main1 .main1M .main1R .main1RB {
        grid-gap: 15px;
    }
    #main6 .PhotoN {right: 1%;}
    #main6 .PhotoP {left: 1%;}
	#main3 .sermonM .sermonL{background-size: contain;height:395px;}
	#main5 .main5M .main5R{padding:50px;}
}

@media (max-width:1199px) {
    #main1 {padding: 50px 0;}
    #main6 .galleryb {width: 100%;}
    #main5 .main5M .main5L .main5LB {padding: 15px;}
    #main5 .main5T h1 {font-size: 30px;}
    #main4 .main4T h1 {font-size: 30px;}
    #main4 .main4TB {grid-gap: 20px;}
    #main4 .main4TB .main4B div h5 {font-size: 20px;}
    #main4 .main4TB .main4B div {padding: 15px; background-size: cover;}
    #main3 .main3MF .main3MB {width: 200px; height: 50px; }
    #main3 .main3MF .main3MB h5 {font-size: 17px;}
    #main3 .main3M .newM .arrow {width: 100px;}
    #main2 .welcomeM a h1 {font-size: 18px;}
    #main3 .main3T h1 {font-size: 35px;}
    #main1 .main1M .context h2 {font-size: 25px;}
    #main1 .main1M .main1R .main1RB {grid-gap: 50px;}
    #main1 .main1M .main1R .main1RT .sermonSN{ width: 200px;}
    #main1 .main1M .main1R .main1RT .sermonST {width: 100%;}
    #main1 .main1M .main1R {width: 100%;}
    #main1 .main1M .main1L img {width: 100%;}
    #main4 .main4TB .main4B {height: 170px;}
    #main2 .welcomeM a {display: inline-flex; position: relative; flex-direction: column; height: auto;}
    #main2 .welcomeM { flex-wrap: wrap; grid-gap: 20px;}
	#main1 .main1T h1 {padding: 45px 0;}
	#main1 .main1M {padding-bottom: 50px;flex-direction: column;}
	#main1 .main1M .newsM{width:100%;}
	#main1 .main1M .allNewsM{width:100%;}
	#main3 .sermonT h1 {padding: 40px 0;}
	#main3 .sermonM{flex-direction: column-reverse;padding-bottom: 30px;}
	#main3 .sermonM .sermonR{width:100%;padding: 30px;}
	#main3 .sermonM .sermonL{width: 100%;position: relative;padding-bottom: 56.25%;height: 0;overflow: hidden;}
	#main3 .sermonM .sermonR .sermonRM h1 {padding: 30px 0;}
	#main5 .main5M .main5R{padding:50px;background-repeat: no-repeat;background-position: center;background-size: cover;}
	#main5 .main5M .main5L {background-repeat: no-repeat;background-position: center;background-size: cover;}
	#main4 .storyT h1 {padding: 40px 0;}
	.WechurchM .WechurchBM {padding: 20px 10px;}
	.storyM .GalleryM .GalleryS a .galleryIMG {height: 225px;}
	.WechurchM{gap:25px;}
	.WechurchM .WechurchBM h5 {padding-bottom: 20px;}
	#main5 {padding-bottom: 60px;}
}

@media (max-width:992px) {
    #main2 .welcomeM a {display:inline-block;}
    #main7 .main7B {grid-gap: 20px; padding-bottom: 40px; display: grid; justify-content: center; align-items: center; width: 100%; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30%), 1fr));}
    #main6 .PhotoN {right: -2%;}
    #main6 .PhotoP {left: -2%;}
    #main6 .gallery-tab li a div {font-size: 16px;}
    #main5 .main5M .news_img h3 {font-size: 18px;}
    #main5 .main5M .main5L .main5X {grid-gap: 20px;}
    #main5 .main5M .main5MB {width: 20%;}
    #main5 .main5M .news_img {padding: 0 15px;}
    #main5 .main5T {padding: 25px 0;}
    #main4 .main4TB .main4B div h5 {font-size: 18px;}
    #main3 .main3T h1 {font-size: 30px;}
    #main3 {padding: 50px 0;}
    #main2 .welcomeM a .welcomeBT {padding: 45px;}
    #main2 .welcomeM a h1 {font-size: 16px;}
    #main2 .welcomeM {justify-content: center; grid-gap: 10px;}
	#main1 .welcomeT h1{font-size:32px;}
	#main1 .welcomeT h4{font-size:20px;}
	#main1 .welcomeT h5{font-size:24px;}
	#main1 .welcomeM {gap: 20px;}
	#main1 .main1M {padding-bottom: 20px;}
	#main1 .main1T h1{font-size:32px;}
	#main1 .main1M .newsM .newsMN .newsMR h1{font-size:24px;}
	#main1 .main1M .newsM .documents .tab-content .newsT h2{font-size:20px;}
	#main1 .main1M .newsM .documents .tab-content .newsT .RegT{padding: 15px;}
	#main1 .main1M .newsM .documents .tab-content .newsT .RegT h1{font-size:20px;}
	#main1 .main1M .allNewsM .allNewsSD{height: 375px;}
	#main1 .main1M .allNewsM .allNewsSD .swiper-slide .allnewsT h1{font-size:20px;}
	#main3 .sermonT h1 {padding: 20px 0;font-size:32px;}
	#main3 .sermonM .sermonR .sermonRM h1{font-size:32px;}
	#main3 .sermonM .sermonR .sermonRM h3{font-size:24px;}
	#main4{padding-bottom:0;}
	#main4 .storyT h1{font-size:32px;}
	#main4 .storyM {flex-direction: column;gap:30px;}
	#main4 .storyM .GalleryM{width:100%;}
	#main4 .WechurchM{width:100%;padding: 30px;}
	#main4 .WechurchM .WechurchT h1{font-size:24px;}
	#main5 {padding-bottom: 40px;}
	#main5 .main5M .main5R .main5RM h1{font-size:32px;}
	#main5 .main5M .main5R .main5RM .main5RBT{width:35%;}
	#main5 .main5M .main5R .main5RM .main5RBT a{font-size:20px;}
	#main5 .main5M .main5L .main5LM h1{font-size:32px;}
	#main5 .main5M .main5L .main5LM .main5LBT a{font-size:20px;}
}

@media (max-width:767px) {
    #main1 .main1M .context .text {grid-gap: 10px;}
    #main2 .welcomeM a h1 {font-size: 15px;}
    #main2 .welcomeM a .welcomeBT .on, #main2 .welcomeM a .welcomeBT .off {padding: 23px;}
    #main2 .welcomeM a .welcomeBT {padding: 38px;}
    #main6 .PhotoM .PhotoIMG {width: 140px; height: 130px;}
    #main6 .PhotoM .PhotoIMG .PhotoIMT h1 {font-size: 15px;}
    #main5 .main5M .main5L .main5LB .notice_img {height: 70px;}
    #main5 .main5M .main5L .main5LB {height: 230px;}
    #main5 .main5M .main5L .main5LB .text {-webkit-line-clamp: 3;}
    #main5 .main5M {grid-gap: 10px;}
    #main5 .main5M .news_img h3 {font-size: 15px;}
    #main5 .main5M .news_img h2 {font-size: 20px;}
    #swiperSlider63 .swiper-pagination {bottom: 10px !important;}
    .swiper-button-next img {width: 20px;}
    .swiper-button-prev img {width: 20px;}
    #main1 .main1M .main1R .main1RT .sermonST span {font-size: 15px;}
    #main1 .main1M .main1R .main1RM h1 {font-size: 20px;}
    #main3 .main3MF .main3MB h5 {font-size: 15px;}
    #main3 .main3T h1 {font-size: 20px;}
    #main3 .main3T h5 {font-size: 18px;}
    #main1 .main1M .main1R .main1RT .sermonSN {width: 34%;}
    #main1 .main1M .main1B {height: 115px;}
    #main1 .main1M .context h2 {font-size: 20px;}
    #main1 .main1M .context h5 {font-size: 17px;}
    #main5 .main5T h1 {font-size: 25px;}
    #main6 .gallery-tab li.active a:after {bottom: -2px;}
    #main6 .gallery-tab li {width: 33%; float: left;}
    #main6 .gallery-tab li {border: none;}
    #main6 .gallery-tab {display: inline-block;}
    #main4 .main4T h1 {margin-top: 15px; font-size: 25px;}
    #main4 .main4T {padding: 30px 15px;}
    #main3 .main3MF {margin-top: 20px;}
    #main1 .main1M .main1RB .main1RBOX h1 {font-size: 16px;}
    #main4 .main4TB {grid-template-columns: repeat(auto-fill, minmax(min(100%, 25%), 1fr));}
     #main6 .PhotoP {top: 67%}
    #main6 .PhotoN {top: 67%;}
    #main1 .main1M .context {padding: 0 15px; }
    #main1 .main1M {grid-gap: 15px;}
    #main1 .main1M .main1R .main1RM {margin-top: 15px;}
    #main1 {padding: 15px 0;}
    #main2 {padding: 15px 0;}
    #main1 .main1M .main1R .main1RB {grid-gap: 15px; }
    #main6{ margin-top: 20px;}
    #main5 .main5M .news_img {background-size: contain; height: 110px; grid-gap: 5px;}
    #main5 .main5M .news_img img {width: 10px;}
    #main5 .main5M .main5MB {width: 100%;}
    #main3 .main3MF .main3MB {width: 30%;}
    #main3 .main3M .newM .new {width: 8%;}
        #main3 .main3M .newM .arrow {width: 70px;}
	#main1 .welcomeT img {padding: 20px 0 10px;}
	#main1 .welcomeT h1{font-size:24px;}
	#main1 .welcomeT h4{font-size:15px;padding-bottom: 20px;}
	#main1 .welcomeT h5{font-size:20px;}
	#main1 .welcomeM.visible-xs {gap: 20px;flex-wrap: wrap;padding-bottom: 20px;display: inline-flex!important;}
	#main1 .welcomeM a h1{font-size:15px;}
	#main1 .welcomeM a .welcomeBT {padding: 40px;}
	#main1 .main1T h1{font-size:24px;padding: 20px 0;}
	#main1 .main1M .newsM .newsMN{flex-direction: column;gap: 10px;}
	#main1 .main1M .newsM .newsMN .newsMR h1{font-size:20px;}
	#main1 .main1M .newsM .newsMN .newsML a{padding: 5px 10px;}
	#main1 .main1M .newsM .newsMN .newsML a li{font-size:15px;}
	#main1 .main1M .newsM .documents .tab-content .newsT h2{font-size: 15px;word-wrap: break-word;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;width: 45%;word-break: keep-all;}
	#main1 .main1M .newsM .documents .tab-content .newsT .RegT{padding: 10px;}
	#main1 .main1M .newsM .documents .tab-content .newsT .RegT h1{font-size:15px;}
	#main1 .main1M .newsM .documents .tab-content .newsT .newsBT {padding: 15.5px;}
	#main1 .main1M .allNewsM .allNewsSD{height: 315px;}
	#main1 .main1M .allNewsM .allNewsSD .swiper-slide {padding: 15px;}
	#main1 .main1M .allNewsM .allNewsSD .swiper-slide .allnewsT h1{font-size: 15px;word-wrap: break-word;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;width: 65%;overflow: hidden;}
	#main3 .sermonT h1{font-size:24px;}
	#main3 .sermonM .sermonR {padding: 15px;}
	#main3 .sermonM .sermonR .sermonRM h1{font-size:24px;padding: 15px 0;}
	#main3 .sermonM .sermonR .sermonRM h3{font-size:20px;}
	#main3 .sermonM .sermonR .sermonRM .sermonB .sermonBP h2{font-size:17px;}
	#main4{padding-bottom:0;}
	#main4 .storyT h1{font-size:24px;padding: 20px 0;}
	#main4 .storyM {flex-direction: column;gap:10px;}
	#main4 .storyM .GalleryM{width:100%;}
	#main4 .WechurchM{width:100%;padding: 15px;gap: 15px;}
	#main4 .WechurchM .WechurchT h1{font-size:20px;}
	#main4 .WechurchM .WechurchBT a {padding: 15px 10px;}
	#main4 .WechurchM .WechurchBT a h1 {font-size: 17px;}
	#main4 .WechurchM .WechurchBM h5{font-size: 17px;}
	#main5 {padding-bottom: 40px;}
	#main5 .main5M {flex-direction: column;}
	#main5 .main5M .main5R{width:100%;height: inherit;padding: 20px;}
	#main5 .main5M .main5R .main5RM h1{font-size:24px;}
	#main5 .main5M .main5R .main5RM h5{font-size:15px;padding-bottom:20px;}
	#main5 .main5M .main5R .main5RM .main5RBT{width:35%;position: relative;}
	#main5 .main5M .main5R .main5RM .main5RBT a{font-size:15px;}
	#main5 .main5M .main5L{width:100%;height: inherit;}
	#main5 .main5M .main5L .main5LM h1{font-size:24px;}
	#main5 .main5M .main5L .main5LM h5{font-size:15px;padding-bottom: 55%;}
	#main5 .main5M .main5L .main5LM .main5LBT{position:relative;}
	#main5 .main5M .main5L .main5LM .main5LBT a{font-size:15px;}
	#main4 .galleryTP .galleryT h1{font-size:20px;}
	#main4 .galleryTP .galleryT h5{font-size:17px;}
	.storyM .GalleryM .GalleryS a .galleryT h2{font-size:20px;}
	.storyM .GalleryM .GalleryS a .galleryT h5{font-size:17px;}
}

@media (max-width:550px) {
    #main1 .main1M .main1R .main1RT .sermonSN img {height: 80px;}
    #main1 .main1M .main1R .main1RT .sermonSN {height: 80px;}
    #main1 .main1M .main1R {grid-gap: 10px;}
    #main1 .main1M .main1L .play  img {width: 15px;}
    #main1 .main1M .main1B {height: 95px;}
    #main1 .main1M .context h5 {font-size: 15px;}
    #main1 .main1M .main1RB .main1RBOX h1 {font-size: 15px;}
    #main2 .welcomeM a .welcomeBT {padding: 35px;}
    #main2 .welcomeM a .welcomeBT .on, #main2 .welcomeM a .welcomeBT .off {padding: 24.5px;}
    #main2 .welcomeM a h1 {font-size: 15px;}
    .swiper-button-next img {width: 10px;}
    .swiper-button-prev img {width: 10px;}
    #main7 .main7B {grid-gap: 10px;}
    #main1 .main1M .main1R .main1RB {grid-gap: 20px; display: grid; justify-content: center; align-items: center; width: 100%; grid-template-columns: repeat(auto-fill, minmax(min(100%, 25%), 1fr));}
    #main1 .main1M .main1RB .main1RBOX {height: 75px; width: 100%; grid-gap: 5px;}
    #main3 .main3MF .main3MB {width:40%;}
    #main3 .main3M .newM {display: inline-block; text-align: center;}
    #main3 .main3M .newM .new {width: 20%;}
    #main3 .main3M .newM .new img:first-child {width: 30px;}
    #main3 .main3M .newM .new img:nth-child(2) {width: 47px;}
    #main4 .main4TB { grid-template-columns: repeat(auto-fill, minmax(min(100%, 41%), 1fr));}
    #main5 .main5M .main5L .main5LB .text {width: 100%;}
    #main5 .main5M .main5L .main5LB .content {width: 100%;}
    #main5 .main5M .main5L .main5LB {width: 100%; background-repeat: no-repeat; background-size: cover; margin-top: 20px; grid-gap: 15px;}
    #main5 .main5M .main5L .main5X {display: inline-block;}
    #main3 .main3M .newM .arrow {width: 50px;}
}