.renewal-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    padding: 12px 0;
    background: linear-gradient(135deg, #cceaf8 50%, #e0f0d5 50%);
    position: relative;
    top: -5px;
	color: #000000;
	font-weight: bold;
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	word-break: keep-all;
}
.renewal-notice .notice-inner {
    position: relative;
    display: inline-block;
}
.renewal-notice .close-btn {
    background: transparent;
    border: none;
    font-size: 25px;
    cursor: pointer;
	position: relative;
	top: -1px;
}

.main_canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

#main_bg video {
    max-width: 100%;
    width: 100%;
}

#main_top_youtube {
    margin: 50px 0;
}

#main_top_youtube .main_top_youtube_title,
#main_notice .notice_item p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

#main_notice .notice_item .notice_item_hover_box p {
	margin: 0;
}

.main_top_youtube_div,
.notice_item_div {
    position: relative;
	display: block;
}

.notice_item_div:hover {
	opacity: 0.8;
	transition: .3s all;
}

.notice_post_list {
	font-size: 16px;
	display: flex;
	gap: 8px;
	flex-direction: column;
}

.notice_post_list li {
	overflow: hidden;
}

.notice_post_list li a {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	color: #474747;
	font-weight: 400;
}

.main_notice_list .notice_item {
	overflow: hidden;
	position: relative;
	top: 0;
}

.main_top_youtube_div:hover .main_top_youtube_hover_box,
.notice_item_div:hover .notice_item_hover_box {
    opacity: 1;
    visibility: visible;
}

.main_top_youtube_hover_box,
.notice_item_hover_box {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
	border-radius: 12px;
}

.youtube_list,
.main_notice_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 32px;
    max-width: 100%;
}

.youtube_list2,
.main_notice_list {
    grid-template-columns: repeat(4, 1fr);
}

.youtube_item {
    position: relative;
    overflow: visible;
}

.youtube_item_small {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	transition: .3s all;
	top: 0;
}

.youtube_item_small:hover {
    top: -20px;
	transition: .25s all;
}

.youtube_thum {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: visible;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.youtube_thum:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.youtube_thum_inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.youtube_thum_inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.youtube_thum.small_thum {
    padding-top: 56.25%;
    max-height: 168px;
	box-shadow: none;
}

.notice_thum img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.youtube_content {
    padding: 15px 10px;
}

.youtube_content h5 {
    font-size: 14px;
    font-weight: 600;
}

.youtube_content p {
    font-size: 16px;
    font-weight: 600;
	margin-top: 2px;
}

#main_2 {
    margin: 80px 0;
}

.main_icon_wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 110px;
}

.main_icon_wrap li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
}

.main_icon_wrap li:hover a {
    background: linear-gradient(90deg, #58b530, #0097e1);
    background-size: 200% 100%;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: 0.15s all;
}

.main_icon_wrap li img {
    max-width: 150px;
}

#main_pray {
    background: linear-gradient(135deg, #cceaf8 50%, #e0f0d5 50%);
}

#main_pray .main_pray_wrap {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 120px;
    font-size: 20px;
    font-weight: 600;
}

#main_notice {
    margin-top: 80px;
}

#main_youtube_list {
    margin: 0 0 90px;
}

#main_hr > div > div > div {
    border-bottom: 1px solid #e6e6e7;
    margin: 80px 0;
}

.animated-underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #000000;
}

.animated-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 2px;
    background-color: #000000;
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

#main_new {
	padding: 120px 0 80px;
	position: relative;
	overflow: hidden;
}

#main_new .title {
	font-size: 2rem;
}

#main_new .title span {
	font-size: 4rem;
	line-height: 1.5;
	font-weight: bold;
}

.bottom_bg {
    position: absolute;
	bottom: 0;
	left: 0;
    width: 100%;
    min-height: 130px;
    max-height: 130px;
}

#main_new .new-slider .slick-slide {
  margin: 0 15px;
}

#main_new .new-slider .slick-slide:hover {
	transform: scale(1.05);
	transition: .2s all;
}

#main_new .new-slider .slick-list {
  overflow: visible;
}

#main_new .new-slider {
	margin: 30px 0 65px;
	overflow: hidden;
	padding: 10px 0;
}

#main_new .new-slider .slide-item {
  background: #fbfbfb;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  min-height: 200px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#main_new .new-slider h3 {
	font-size: 1.4em;
	margin-bottom: 15px;
	color: #333;
	text-align: left;
	line-height: 1.5;
}

#main_new .new-slider p {
	text-align: left;
	font-size: 1.1em;
	color: #555;
	line-height: 1.6;
}

.new_back_svg>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.new_back_svg>use:nth-child(1) {
    animation-delay: -3s;
    animation-duration: 7s;
}

.new_back_svg>use:nth-child(2) {
    animation-delay: -4s;
    animation-duration: 10s;
}

.new_back_svg>use:nth-child(3) {
    animation-delay: -5s;
    animation-duration: 13s;
}

.new_back_svg>use:nth-child(4) {
    animation-delay: -6s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media (max-width: 768px) {
    #main_new .bottom_bg {
        height: 75px;
        min-height: 50px;
    }

}

@media (max-width: 1200px) {
  .youtube_list.youtube_list2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .youtube_list.youtube_list2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main_icon_wrap {
	  gap: 70px;
  }
}

@media (max-width: 600px) {
  .youtube_list.youtube_list2, .youtube_list, .main_notice_list {
    grid-template-columns: 1fr;
  }
  
  .youtube_content h5 {
    font-size: 13px;
  }
  
  .youtube_content p {
    font-size: 12px;
  }
}@media (min-width:1200px) and (max-width:1499px) {
	.youtube_thum.small_thum img {
		max-height: 149px;
	}
}

@media (min-width:993px) and (max-width:1199px) {
	.main_icon_wrap {
		gap: 70px;
	}
	
	.main_icon_wrap li img {
		max-width: 120px;
	}
	
	#main_top_youtube .main_top_youtube_title, #main_notice .notice_item p {
		font-size: 17px;
	}

	.youtube_content p {
		font-size: 15px;
	}
	
	.youtube_content {
		padding: 15px 10px 0px;
	}
	
	.main_top_youtube_hover_box, .notice_item_hover_box {
		font-size: 17px;
	}
}

@media (min-width:768px) and (max-width:992px) {
	#main_top_youtube .youtube_list {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px 12px;
	}
	
	.youtube_list, .main_notice_list {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.main_icon_wrap {
		gap: 40px;
	}
	
	.main_icon_wrap li a {
		font-size: 14px;
	}
	
	#main_pray .main_pray_wrap {
		padding: 0 40px;
		font-size: 17px;
	}
	
	.main_icon_wrap li img {
		max-width: 85px;
	}
	
	#main_top_youtube .main_top_youtube_title, #main_notice .notice_item p {
		font-size: 16px;
	}
	
	.youtube_content p {
		font-size: 15px;
	}
	
	.youtube_content {
		padding: 15px 10px 0px;
	}
	
	.main_top_youtube_hover_box, .notice_item_hover_box {
		font-size: 17px;
	}
}

@media (max-width:767px) {
	#main_new {
		min-height: 390px;
	}
	
	#main_new .new-slider p {
		font-size: 13px;
	}
	
	#main_new .new-slider h3 {
		font-size: 16px;
	}
	
	#main_new .new-slider .slide-item {
		min-height: auto;
		padding: 15px;
	}
	
	#main_new .title {
		font-size: 1.5rem;
	}
	
	#main_new .new-slider {
		margin: 20px 0;
	}
	
	#main_new .title span {
		font-size: 2rem;
	}
	
	#main_bg {
		margin-top: 48px;
	}
	
	#main_new {
		padding: 50px 0;
	}
	
	.youtube_list, .main_notice_list {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 12px;
	}
	
	#main_top_youtube .youtube_list {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.main_icon_wrap {
		display: grid;
		grid-template-columns: repeat(2, 2fr);
		gap: 20px 15px;
	}
	
	#main_pray .main_pray_wrap {
		padding: 0px;
		justify-content: space-around;
		gap: 10px;
		font-size: 16px;
	}
	
	.animated-underline {
		width: 122px;
	}
	
	#main_top_youtube {
		margin: 30px 0;
	}
	
	#main_2 {
		margin: 30px 0;
	}
	
	#main_hr > div > div > div {
		margin: 30px 0;
	}
	
	#main_youtube_list {
		margin: 0 0 30px;
	}
	
	#main_notice {
		margin: 20px 0 0;
	}
	
	.youtube_content {
		padding: 12px 0px 0;
	}
	
	
	.main_icon_wrap li img {
		max-width: 100px;
	}
	
	.main_icon_wrap li a {
		font-size: 14px;
		gap: 10px;
	}
	
	#main_top_youtube .main_top_youtube_title, #main_notice .notice_item p {
        font-size: 15px;
        margin-bottom: 8px;
        line-height: 15px;
	}

	.youtube_content h5 {
		font-size: 13px;
	}
	
	.youtube_content p {
		font-size: 14px;
	}
	
	.main_top_youtube_hover_box, .notice_item_hover_box {
		font-size: 17px;
	}
	
	.notice_post_list {
		font-size: 14px;
		gap: 6px;
	}
	
	.renewal-notice {
		padding: 12px 15px;
		font-size: 15.5px;
	}
	.renewal-notice .close-btn {
		font-size: 18px;
	}
} 