.layout-y{padding-top: 120px; padding-bottom: 120px;}
.main-tit{}
.main-tit span{display: block; font-size: 2rem; font-weight: 700; color: #487be1; margin-bottom: 0.8em;}
.main-tit h2{font-size: 4rem; font-weight: 700; color: #222; line-height: 1.3;}

#section1{position: relative;}
#section1 .swiper-slide{}
#section1 .swiper-slide img{width: 100%; height: 100%; min-height: 580px; object-fit: cover;}
#section1 .visual-box{position: absolute;top: 0;left: 0;width: 50%;height: 100%;background: rgba(0, 0, 0, 0.4);z-index: 1;display: flex;align-items: center;justify-content: center; flex-direction: column; padding: 0 4rem;}
#section1 h2{font-size: 5rem; font-weight: 800; color: #fff; line-height: 1.3;}
#section1 p{font-size: 2rem; font-weight: 500; color: #fff; margin-top: 1.25em; word-break: break-all}
#section1 .control-box{display: flex; align-items: center; gap: 30px; margin-top: 8rem;}
#section1 .button-box{display: flex; align-items: center; gap: 8px;}
#section1 .button-box .swiper-button-prev{position: static; width: 24px; height: 24px; background: url('/resources/cbe/img/main/slide_prev.svg') no-repeat center; margin: 0;}
#section1 .button-box .swiper-button-next{position: static; width: 24px; height: 24px; background: url('/resources/cbe/img/main/slide_next.svg') no-repeat center; margin: 0;}
#section1 .button-box .swiper-button-prev::after{display: none;}
#section1 .button-box .swiper-button-next::after{display: none;}
#section1 .button-box .auto{width: 24px; height: 24px; background: url('') no-repeat center;}
#section1 .button-box .auto.play{background-image: url('');}
#section1 .button-box .auto.pause{background-image: url('/resources/cbe/img/main/pause.svg');}
#section1 .progress-box{}
#section1 .autoplay-progress { width: 210px; height: 2px; background-color: rgba(255, 255, 255, 0.3); }
#section1 .autoplay-progress svg { --progress: 0; width: 100%; stroke-width: 2px; stroke: #fff; fill: none; stroke-dashoffset: calc(100 * (1 - var(--progress))); stroke-dasharray: 100; }
/* stroke-dashoffset은 선의 테두리가 얼마나 이동하는지 결정 progress라는 변수를 사용하여 계산되어진 값이 들어감  */
/* stroke-dasharray는 선의 테두리를 구성하는 선 조각의 길이를 설정 전체길이가 100 */

@media (max-width: 1024px){
	#section1 .visual-box{width: 100%; height: 50%; top: auto; bottom: 0; align-items: flex-start;}
}
@media (max-width: 480px){
	#section1 .visual-box{height: 40%;}
	#section1 .visual-box{padding: 0 20px;}
	#section1 h2{font-size: 3rem;}
	#section1 .control-box{margin-top: 5rem;gap: 15px}
	#section1 .autoplay-progress{width: 150px;}
}


#bar{background: #0f0f70; text-align: center; padding: 27px 20px;}
#bar p{font-size: 3rem; font-weight: 700; color: #fff; line-height: 1.5; word-break: keep-all;}


#section2{background: #f0f0f0;}
#section2 .media-wrap{}
#section2 .media-wrap li{display: flex; align-items: stretch;}
#section2 .media-wrap a{width: 100%; min-height: 200px; display: block; position: relative;}
#section2 .media-wrap a >img{width: 100%; object-fit: cover;}
#section2 .media-wrap h3{font-size: 3rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 1;}
#section2 .media-wrap h4{font-size: 2.4rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 1;}
#section2 .media-wrap p{font-size: 1.6rem; margin-top: 0.8em;}
#section2 .media-wrap span{display: block; width: 100px; line-height: 33px; text-align: center; font-size: 1.4rem; border-radius: 5px; margin-top: 1em; transition: .3s all ease;}
#section2 .media-wrap span.type_line{color: #fff; border: 1px solid #fff; background: transparent;}
#section2 .media-wrap a:hover span.type_line{color: #333; background: #fff;}
#section2 .media-wrap span.type_fill{color: #333; background: #fff; border: 1px solid #333;}
#section2 .media-wrap a:hover span.type_fill{color: #fff; background: #333;}
#section2 .media-wrap i{position: absolute; bottom: 2.5rem; right: 2.5rem;}
#section2 .media-wrap .w-400{width: 400px; display:flex; flex-direction: column;}
#section2 .media-wrap .w-800{width: 800px;}

#section2 .media-wrap .group{display: flex; align-items: stretch;}
#section2 .media-wrap .group >*{width: 50%;}

#section2 .media-wrap .item{ display: flex; flex-direction: column; align-items: center; justify-content: center;}

#section2 .media-wrap [class^="cont"]{color: #fff; padding: 4rem 5rem; position: relative; width: 100%;}
#section2 .media-wrap .box .cont{position: absolute; bottom: 0; left: 0; width: 100%;}
#section2 .media-wrap .box::before{content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 70%; background: linear-gradient(360deg, rgba(0, 0, 0, 0.9), transparent);}
/* 화살표 */
#section2 .media-wrap [class^="cont__"]::before{content: ''; position: absolute; width: 44px; height: 44px; border-radius: 100%;}
#section2 .media-wrap [class^="cont__"]::after{content: ''; position: absolute; width: 44px; height: 44px; }
#section2 .media-wrap .cont__1{background: #487be1; flex:1;}
#section2 .media-wrap .cont__1::before{background: #487be1; top: -22px; left: 50%; transform: translateX(-50%);}
#section2 .media-wrap .cont__1::after{background: #fff; mask: url('/resources/cbe/img/common/arrow-right.svg') no-repeat center; top: -22px; left: 50%; transform: translateX(-50%) rotate(90deg);}
#section2 .media-wrap .cont__2{background: #fff; color: #333;}
#section2 .media-wrap .cont__2::before{background: #fff; top: 50%; left: -22px;transform: translateY(-50%) ;}
#section2 .media-wrap .cont__2::after{background: #333; mask: url('/resources/cbe/img/common/arrow-right.svg') no-repeat center; top: 50%; left: -22px; transform: translateY(-50%)}
#section2 .media-wrap .cont__3{background: #fff; color: #333;}
#section2 .media-wrap .cont__3::before{background: #fff; top: 50%; left: -22px;transform: translateY(-50%) ;}
#section2 .media-wrap .cont__3::after{background: #333; mask: url('/resources/cbe/img/common/arrow-right.svg') no-repeat center; top: 50%; left: -22px; transform: translateY(-50%) rotate(180deg);}
#section2 .media-wrap .cont.align-end{display: flex; flex-direction: column; align-items: flex-end;}
/* #section2 .media-wrap .cont.align-end{text-align: right;}
#section2 .media-wrap .cont.align-end h3{width: 95%;margin-left: auto;} */
#section2 .media-wrap .cont.align-end span{margin: 1em 0 0 auto;}


@media (max-width: 1024px){
	#section2 .media-wrap li{flex-direction: column;}
	#section2 .media-wrap li >*{width: 100% !important;}
	#section2 .media-wrap [class^="cont"]{padding: 3rem;}
}
@media (max-width: 768px){
	#section2 .media-wrap .group{flex-direction: column;}
	#section2 .media-wrap .group >*{width: 100% !important;}
	#section2 .media-wrap a >img{order: 1}
	#section2 .media-wrap [class^="cont"]{order: 1;}
	#section2 .media-wrap .box .cont{position: relative;background: var(--main-blue);}
	#section2 .media-wrap .cont__2::before,
	#section2 .media-wrap .cont__3::before{top: -22px; left: 50%; transform: translateX(-50%);}
	#section2 .media-wrap .cont__2::after,
	#section2 .media-wrap .cont__3::after{top: -22px; left: 50%; transform: translateX(-50%) rotate(90deg)}
}
@media (max-width: 480px){
	#section2 .media-wrap [class^="cont"]{padding: 3rem 20px;}
}



#section3{background: #fff url('/resources/cbe/img/main/section3_02.jpg') no-repeat right bottom;}
#section3 .main-tit{}
#section3 .notice-wrap{display: flex; align-items: flex-start; justify-content: space-between;}
#section3 .notice-title{width: 260px; margin-top: 90px;}
#section3 .notice-title a{display: inline-flex; align-items: center; font-size: 1.8rem; font-weight: 700; color: #999; text-align: center; border-bottom: 1px solid #d9d9d9; padding: 0 30px; width: 100%; height: 55px;}
#section3 .notice-title a.active{color: #fff; background: #222; border-radius: 10px; border-bottom: 0;}
#section3 .notice-content{display: none;}
#section3 .notice-content.active{display: block;}
#section3 .notice-content .more{display: flex; justify-content: flex-end; position: relative; padding-right: 11px; font-size: 1.6rem; font-weight: 600; color: #5f5f5f; margin-bottom: 10px;}
#section3 .notice-content .more::before,
#section3 .notice-content .more::after{content: ''; position: absolute; top: 50%; right: 0; width: 7px; height: 1px; background: #5f5f5f;;}
#section3 .notice-content .more::before{}
#section3 .notice-content .more::after{transform: rotate(90deg);}
#section3 .notice-content ul{width: 610px; border-top: 1px solid #222;}
#section3 .notice-content li{}
#section3 .notice-content li a{display: block; width: 100%; padding: 20px 50px 20px 130px; position: relative; border-bottom: 1px solid #d9d9d9; transition: .3s all ease-in-out;}
#section3 .notice-content li a::before{content: attr(data-sort); position: absolute; top: 50%; left: 10px; transform: translateY(-50%); display: block; width: 90px; height: 30px; line-height: 30px; font-size: 1.4rem; text-align: center; border-radius: 50px;  color: #487be1; background: #fff; border: 1px solid #487be1; transition: .3s all ease-in-out;}
#section3 .notice-content li a::after{content: ''; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); display: none; width: 40px; height: 40px; background: url('/resources/cbe/img/common/arrow-right_2.svg') no-repeat center; transition: .3s all ease-in-out;}
#section3 .notice-content li p{font-size: 1.8rem; font-weight: 600; color: #222; flex-grow: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: .3s all ease-in-out;}
#section3 .notice-content li span{display: block; font-size: 1.4rem; color: #999; margin-top: 5px;}
#section3 .notice-content li a:hover{border-bottom: 1px solid #487be1;}
#section3 .notice-content li a:hover::before{background: #487be1; color: #fff;}
#section3 .notice-content li a:hover::after{display: block;}
#section3 .notice-content li a:hover p{color: #487be1;}


@media (max-width: 1024px){
	#section3 .notice-wrap{flex-direction: column;}
	#section3 .notice-content-wrap{width: 100%;}
	#section3 .notice-title{display: flex;width: 100%;margin-top: 4rem;margin-bottom: 3rem;}
	#section3 .notice-title li{width: 25%;}
	#section3 .notice-title a{justify-content: center; border-bottom: 0;}
	#section3 .notice-content ul{width: 100%;}
}
@media (max-width: 768px){
	#section3 .notice-content li a{padding: 20px 20px 20px 100px;}
	#section3 .notice-content li a::before{width: 80px;}
}
@media (max-width: 480px){
	#section3 .notice-content li a{padding: 20px 10px;display: flex;align-items: flex-start;justify-content: space-between;flex-wrap: wrap;gap: 10px;}
	#section3 .notice-content li p{width: 100%;}
	#section3 .notice-content li a::before{width: 100%;position: static;transform: translateY(0);border: 0;text-align: left;font-weight: 700;height: auto;line-height: 1.2;}
}
@media (max-width: 350px){
}



#section4{background: url('/resources/cbe/img/main/section4_bg.jpg') no-repeat center / cover;}
#section4 .main-tit{text-align: center;}
#section4 .main-tit h2{color: #fff;}
#section4 .list-img{display: flex; flex-wrap: wrap; gap: 20px; margin-top: 60px;}
#section4 .list-img a{display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; width: 30%; flex-grow: 1;}
#section4 .list-img a img{width: 100%; height: 100%; max-height: 210px; object-fit: cover;}
#section4 .list-img a .cont{flex:1; background: #fff; padding: 20px;}
#section4 .list-img a .cont p{font-size: 1.6rem; color: #000; font-weight: 600; line-height: 1.3;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;text-overflow: ellipsis;}
#section4 .list-img a .cont span{display: block; font-size: 12px; color: #999; margin-top: 0.5em;}
#section4 .list-text{border-top: 1px solid #fff; margin-top: 40px;}
#section4 .list-text a{display: flex; align-items: center; width: 100%; padding: 20px 10px; position: relative; border-bottom: 1px solid #fff; color: #fff; gap: 24px;}
#section4 .list-text a::before{content: attr(data-sort); display: block; width: 90px; height: 30px; line-height: 30px; font-size: 1.4rem; text-align: center; border-radius: 50px;  color: #fff; border: 1px solid #fff;}
#section4 .list-text a p{font-size: 1.8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1;}
#section4 .list-text a span{display: block; font-size: 1.4rem;}

@media (max-width: 768px){
	#section4 .list-img a{width: 100%; flex-grow: 0}
	#section4 .list-text a{gap: 15px;}
	#section4 .list-text a::before{width: 80px;}
}
@media (max-width: 480px){
	#section4 .list-text a::before{display: none;}
}
