@charset "utf-8";

/* 메인 공통 */
.se-tit{
    position: relative;
    width: 100%;
    font-family: 'Paperlogy';
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
}
.se-tit span{
    display: block;
    font-size: 16px;
    color: var(--main);
}
.se-tit h3{
    margin-top: 6px;
    font-size: 3.8rem;
}
.se-tit a{
    position: absolute;
    right: 0;
    bottom: 1rem;
    width: 32px;
    aspect-ratio: 1 / 1;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: .3s;
}
.se-tit a:hover{
    background: #ddd;
    transform: rotate(180deg);
}
.se-tit a img{
    width: 16px;
    object-fit: contain;
}

/* 메인 비주얼 */
.main_banner{
    position: relative;
    width: 100%;
    height: 100svh;
}
.main_banner .swiper-wrapper{
    height: 100%;
}
.main_banner .swiper-slide{
    width: 100vw;
    height: 100%;
}
.main_banner .main-banner-link{
    position: absolute;
    inset: 0;
    z-index: 1;
}
.main_banner .swiper-slide img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}
.main_banner .swiper-slide .wrap{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 24px 6rem;
}
.main_banner .swiper-slide h2{
    font: 700 5.4rem/1.3 'Paperlogy', sans-serif;
    color: #fff;
}
.main_banner .swiper-slide p{
    margin-top: 6px;
    font:300 2.2rem/1.3 'Pretendard';
    color: #fff;
}
.main_banner .swiper-pagination-wrap{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 18rem 24px 0;
    display: flex;
    align-items: center;
    gap: 2.8rem;
}
.main_banner .swiper-pagination {
    position:static;
    width:auto;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 24px;
}
.main_banner .swiper-stop {
    width:18px;
    height:18px;
    padding:4px;
    border:0;
    background:none;
    cursor:pointer;
}
.main_banner .swiper-stop img {
    width:100%;
    object-fit: contain;
}
.main_banner .swiper-pagination-bullet{
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: #fff;
    opacity: .4;
    margin: 0;
}
.main_banner .swiper-pagination-bullet-active {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: none;
    opacity: 1;
    margin: 0 !important;
}
.main_banner .swiper-pagination-bullet-active::before{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #309FEE;
    z-index: 2;
}
.main_banner .swiper-pagination-bullet-active::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: conic-gradient(#2196e8 0deg, #2196e8 var(--progress), rgba(255,255,255,.3) var(--progress), rgba(255,255,255,.3) 360deg);
    -webkit-mask: radial-gradient(circle, transparent 18px, #000 19px);
    mask: radial-gradient(circle, transparent 18px, #000 19px);
    z-index: 1;
}


/* 영상자료 */
.main-board-empty{
    padding: 4rem 0;
    text-align: center;
}
.main-video-area{
    padding-top: 10rem;
}
.main_video{
    width: 100%;
    height: 48rem;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}
.main_video > a{
    position: relative;
    display: block;
    width: 56%;
    max-width: 820px;
    border-radius: 3rem;
    overflow: hidden;
}
.main_video > a:only-child{
    width: 56%;
    max-width: 820px;
    flex: none;
}
.main_video > a::after{
    content: '';
    position: absolute;
    top: calc(50% - 2.4rem);
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .2) url(../img/main/icon_video_pause.svg) no-repeat center center;
    width: 12rem;
    background-size: 7.2rem;
    backdrop-filter: blur(4px);
    box-sizing: border-box;
}
.main_video > a img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}
.main_video > a:hover img{
    filter: brightness(.7) contrast(.95);
    transform: scale(1.06);
}
.main_video .video-tit{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    font-weight: 700;
    font-size: 2.4rem;
    color: #fff;
    padding: 2rem 4rem;
    background: rgba(48, 159, 238, .7);
}
.main_video .video-tit span{
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
    word-break: break-all;
}
.video-scroll-wrap{
    position: relative;
    flex: 1;
    height: 100%;
    max-width: 600px;
}
.video-scroll-wrap::after{
    content: '';
    position: absolute;
    display: block;
    left: 0;
    bottom: -1px;
    width: calc(100% - 6px);
    height: 72px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 1) 100%);
    z-index: 2;
    transition: opacity 0.2s;
    pointer-events: none;
}
.video-scroll-wrap.scroll-end::after {
	opacity: 0;
}
.video-scroll{
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.video-scroll::-webkit-scrollbar {
	width: 6px;
}
.video-scroll::-webkit-scrollbar-track {
	background: #eee;
	border-radius: 10px;
}
.video-scroll::-webkit-scrollbar-thumb {
	background: var(--main);
	border-radius: 10px;
}
.video-scroll a{
    width: calc(100% - 6rem);
    display: flex;
    align-items: center;
    gap: 3rem;
}
.video-scroll .img-box{
    position: relative;
    flex-shrink: 0;
    width: 26rem;
    aspect-ratio: 260 / 146;
    border-radius: 1.5rem;
    overflow: hidden;
}
.video-scroll .img-box::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .2) url(../img/main/icon_video_pause.svg) no-repeat center center;
    width: 6rem;
    background-size: 3.6rem;
    backdrop-filter: blur(2px);
    box-sizing: border-box;
}
.video-scroll .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}
.video-scroll a:hover .img-box img{
    transform: scale(1.06);
}
.video-scroll p{
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 1.4;
    color: #222;
    word-break: break-all;
}


/* 그림자료 */
.main-art-area{
    padding-top: 10rem;
}
.main-art{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}
.main-art li{
    min-width: 0;
}
.main-art li a{
    display: block;
    width: 100%;
}
.main-art .img-box{
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 340px;
    border-radius: 1.6rem;
    overflow: hidden;
    border: 1px solid #eaeaea;
}
.main-art .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}
.main-art a:hover .img-box img{
    transform: scale(1.06);
}
.main-art li p{
    margin-top: 1rem;
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.4;
    color: #222;
    word-break: break-all;
}


/* 정보마당 & 공지사항 */
.main-info-area{
    padding-top: 10rem;
    padding-bottom: 10rem;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}
.main-blog{
    width: 56%;
    max-width: 820px;
}
.main-blog-list{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}
.main-blog-list li{
    min-width: 0;
}
.main-blog-list li a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.main-blog-list .img-box{
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 1.6rem;
    overflow: hidden;
}
.main-blog-list .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}
.main-blog-list a:hover .img-box img{
    transform: scale(1.06);
}
.main-blog-list p{
    margin-top: 10px;
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
    font-weight: 500;
    font-size: 2rem;
    color: #222;
    word-break: break-all;
}
.main-blog-list span{
    margin-top: 6px;
    display: block;
    font-size: 16px;
    color: #999;
}
.main-notice{
    flex: 1;
    max-width: 600px;
}
.main-notice-list{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.main-notice-list li a{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 2.4rem 3rem;
    background: #f2f2f2;
    border-radius: 1.6rem;
    transition: background-color .3s;
}
.main-notice-list li a:hover{
    background: #dfdfdf;
}
.main-notice-list li b{
    position: relative;
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
    font-weight: 500;
    font-size: 2rem;
    word-break: break-all;
}
.main-notice-list li .new{
    margin-left: 6px;
    width: 22px;
    object-fit: contain;
}
.main-notice-list li span{
    padding-left: 2rem;
    margin-left: auto;
    flex-shrink: 0;
    font-size: 15px;
    color: #999;
}


/* 파트너 슬라이드 */
.partner-area{
    width: 100%;
    border-top: 1px solid #E9E9E9;
}
.partner-area .wrap{
    position: relative;
}
.partner-area button{
    font-size: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 24px;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
}
.partner-area .partner_prev{
    left: 0;
    background-image: url(../img/main/icon_partner_prev.svg);
}
.partner-area .partner_next{
    right: 0;
    background-image: url(../img/main/icon_partner_next.svg);
}
.partner_slide{
    margin: 0 7.5rem;
}
.partner_slide .swiper-slide a{
    display: block;
    padding: 2rem 0;
}
.partner_slide .swiper-slide a img{
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: contain;
}


@media only screen and (max-width: 1440px) {
    .main_video {
        height: 38rem;
        gap: 3rem;
    }
    .video-scroll a {
        width: calc(100% - 3rem);
        gap: 2rem;
    }
    .main_video > a::after {
        width: 10rem;
        background-size: 6rem;
    }
    .main_video .video-tit {
        font-size: 2.2rem;
        padding: 1.8rem 2.4rem;
    }
    .video-scroll .img-box {
        width: 20rem;
    }
    .video-scroll .img-box::after {
        width: 5rem;
        background-size: 3rem;
    }
    .video-scroll p {
        font-size: 2.2rem;
    }
    .main-info-area {
        gap: 3rem;
    }
}
@media only screen and (max-width: 1024px) {
    .main-video-area, .main-art-area, .main-info-area {
        padding-top: 8rem;
    }
    .main-info-area{
        padding-bottom: 8rem;
    }
    .main_video {
        gap: 4rem;
    }
    .main_video > a {
        width: auto;
        flex: 1;
    }
    .video-scroll-wrap {
        flex-grow: 0;
    }
    .video-scroll{
        margin-right: 3rem;
    }
    .video-scroll p {
        display: none;
    }
    .main-info-area {
        flex-direction: column;
        justify-content: flex-start;
        gap: 8rem;
    }
    .main-blog, .main-notice {
        width: 100%;
        max-width: none;
    }
    .main-blog-list{
        min-height: 0;
    }
    .main-blog-list li a {
        height: auto;
    }
    .main-blog-list .img-box {
        height: auto;
        aspect-ratio: 5 / 4;
    }
}
@media only screen and (max-width: 768px) {
    .se-tit{
        margin-bottom: 10px;
    }
    .se-tit span{
        font-weight: 500;
        font-size: 14px;
    }
    .se-tit h3{
        margin-top: 0;
        font-size: 26px;
    }
    .se-tit a{
        bottom: 2px;
    }
    .main_banner {
        aspect-ratio: 768 / 860;
        height: auto;
        max-height: 80svh;
        min-height: 460px;
    }
    .main_banner .swiper-slide .wrap {
        position: absolute;
        left: 0;
        bottom: 80px;
        height: fit-content;
        padding: 0 24px;
    }
    .main_banner .swiper-slide::after{
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 70%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,  rgb(0, 0, 0, .6) 60%);
        z-index: -1;
    }
    .main_banner .swiper-slide h2 {
        font-size: 34px;
    }
    .main_banner .swiper-slide p {
        font-size: 18px;
    }
    .main_banner .swiper-pagination-wrap {
        padding: 0 24px;
        top: auto;
        bottom: 20px;
        gap: 22px;
    }
    .main_banner .swiper-pagination {
        gap: 18px;
    }
    .main_banner .swiper-pagination-bullet-active {
        width: 30px;
        height: 30px;
    }
    .main_banner .swiper-pagination-bullet-active::before{
        width: 11px;
        height: 11px;
    }
    .main_banner .swiper-pagination-bullet-active::after {
        width: 30px;
        height: 30px;
        -webkit-mask: radial-gradient(circle, transparent 12px, #000 13px);
        mask: radial-gradient(circle, transparent 12px, #000 13px);
    }
    .main-video-area, .main-art-area, .main-info-area {
        padding-top: 40px;
        padding-bottom: 10px;
    }
    .main-info-area{
        padding-bottom: 40px;
    }
    .main_video {
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
    }
    .main_video > a, .main_video > a:only-child {
        width: 100%;
        height: auto;
        flex: none;
        aspect-ratio: 16 / 9;
    }
    .main_video > a img {
        position: absolute;
        inset: 0;
    }
    .main_video > a::after {
        width: 70px;
        background-size: 46px;
    }
    .main_video .video-tit {
        font-size: 16px;
        padding: 16px;
    }
    .video-scroll-wrap {
        width: 100%;
        max-width: none;
    }
    .video-scroll{
        margin-right: 0;
        height: 300px;
        overscroll-behavior-y: auto;
    }
    .video-scroll a {
        width: calc(100% - 20px);
        gap: 14px;
    }
    .video-scroll p {
        display: block;
    }
    .main-art {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }
    .main-art .img-box {
        border-radius: 12px;
    }
    .main-info-area {
        gap: 50px;
    }
    .main-blog-list .img-box {
        border-radius: 12px;
    }
    .main-notice-list {
        gap: 8px;
    }
    .main-notice-list li a {
        padding: 20px;
        border-radius: 12px;
    }
    .main-notice-list li span {
        font-size: 14px;
    }
    .partner-area .partner_prev {
        left: 20px;
    }
    .partner-area .partner_next {
        right: 20px;
    }
    .partner_slide {
        margin: 0 35px;
    }
}
.main-popup-area{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    pointer-events: none;
}
.main-popup{
    position: absolute;
    width: var(--popup-width);
    max-width: var(--popup-width);
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}
.main-popup[hidden]{display: none;}
.main-popup > a{display: block;}
.main-popup img{
    display: block;
    width: 100%;
    height: var(--popup-height);
    object-fit: contain;
}
.main-popup-actions{
    display: flex;
    justify-content: space-between;
    height: 30px;
    background: #333;
}
.main-popup-actions button{
    padding: 0 10px;
    color: #fff;
    font-size: 12px;
}
@media only screen and (max-width: 768px) {
    .main-popup-area{
        top: 80px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        box-sizing: border-box;
    }
    .main-popup{
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 80%;
        margin: 0 auto;
    }
    .main-popup img{height: auto;}
}
