/* 메인 비주얼 슬라이드 */
section.main-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    /*height: 1080px; 공지들어오면 수정필요 */
}

section.main-slide .main_visual,
section.main-slide .main_visual .visual-img {
    height: 100%;
}

section.main-slide .main_visual,
section.main-slide .main_visual .visual-img,
#slider,
#slider .slick-list,
#slider .slick-list .slick-track,
#slider .slick-list .slick-slide {
    height: 100vh;
}

section.main-slide .main_visual {
    /*height: 1080px; 공지들어오면 수정필요 */
}

section.main-slide .slide-conts {
    position: absolute;
    z-index: 1;
    padding: 0 15rem;
    width: 100%;
    /*height: 100%;*/
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    top: 13.75rem;
}

section.main-slide .slide-conts #buttons {
    display: flex;
}

section.main-slide .slide-conts #buttons>.dots {
    width: 2.1875rem;
    transition: .15s;
}

section.main-slide .slide-conts #buttons>.dots>a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

section.main-slide .slide-conts #buttons>.dots+.dots {
    margin-left: 0.6rem;
}

section.main-slide .slide-conts #buttons>.dots.active {
    width: 2.1875rem;
    transition: .15s;
}

section.main-slide .slide-conts #buttons>.dots.active>a {
    color: #fff;
}

section.main-slide .slide-conts #buttons>.dots .progress {
    width: 100%;
    height: 0.325rem;
    background-color: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    margin-top: 0.625rem;
    border-radius: 1rem;
}

section.main-slide .slide-conts #buttons>.dots .progress-bar {
    height: 100%;
    width: 0;
    background-color: #fff;
}

section.main-slide .slide-conts #buttons>.dots.active .progress-bar {
    height: 100%;
    width: 100%;
    background-color: #fff;
    transition: width 2.1s linear;
}

section.main-slide .slide-conts .text {
    margin-top: 2rem;
    color: #fff;
    font-size: 2rem;
    line-height: 3rem;
    text-shadow: rgba(0, 0, 0, 0.2) 0px 2px 0px 8px;
}

section.main-slide .slide-conts .text span {
    font-size: 2.325rem;
}

#slider .slick-slide figure {
    position: relative;
    width: 100%;
    height: 100%;
    line-height: 0;
    margin: 0;
    padding: 0;
    font-size: 0;
}

#slider .slick-slide figure img {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    object-fit: cover;
}

/* 메인 공지사항 */
section.notice-wrap {
    padding: 6rem 0;
}

section.notice-wrap>.inner>.title {
    text-align: center;
    margin-bottom: 3.375rem;
}

section.notice-wrap>.inner>.title>h3 {
    font-size: 3.75rem;
    font-weight: 600;
    color: #040000;
}

section.notice-wrap>.inner>.notice-table {
    width: 100%;
}

section.notice-wrap>.inner>.notice-table ul li {
    padding: 0 3.125rem;
    width: 100%;
    height: 7.75rem;
    display: flex;
    align-items: center;
    margin: 0 0 1.6rem;
    border-radius: 1rem;
    box-shadow: 0 0 14px 3px rgb(0 0 0 / 0.1), 0 3px 4px -4px rgb(0 0 0 / 0.1);
}

section.notice-wrap>.inner>.notice-table ul li .tag {
    color: #fff;
    width: 6.25rem;
    height: 1.875rem;
    border-radius: 0.9375rem;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.notice-wrap>.inner>.notice-table ul li .tag.t1 {
    background-color: #E4007F;
    border-radius: 0.5rem;
}

section.notice-wrap>.inner>.notice-table ul li .tag.t2 {
    background-color: #045400;
}

section.notice-wrap>.inner>.notice-table ul li .name {
    padding: 0 1.875rem;
    width: calc(100% - 16.25rem);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 700;
}

section.notice-wrap>.inner>.notice-table ul li .name>a {
    color: #000;
}

section.notice-wrap>.inner>.notice-table ul li .down>a {
    background: url("../images/common/icon_down.png")no-repeat;
    width: 3.375rem;
    height: 3.375rem;
    display: flex;
}

section.notice-wrap>.inner>.notice-table ul li .date {
    color: #E4007F;
    font-size: 0.825rem;
    text-align: center;
    margin-right: 3.125rem;
}

section.notice-wrap>.inner>.notice-table ul li .date em {
    display: block;
    font-size: 2.25rem;
    font-weight: 600;
    color: #E4007F;
    text-align: center;
}

section.notice-wrap>.inner .more {
    display: flex;
    justify-content: center;
    margin-top: 1.875rem;
}

section.notice-wrap>.inner .more>a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12.5rem;
    height: 3.75rem;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background: #333333;
}

section.notice-wrap>.inner .more>a:after {
    content: '';
    background: url("../images/main/icon_more.png")no-repeat;
    background-size: contain;
    display: inline-block;
    height: 0.765rem;
    width: 0.8025rem;
    margin-left: 0.625rem
}

/* 메인 하단 배너 */
section.main-banner {
    height: 25rem;
    width: 100%;
    position: relative;
}

section.main-banner figure {
    position: relative;
    width: 100%;
    height: 100%;
    line-height: 0;
    margin: 0;
    padding: 0;
    font-size: 0;
}

section.main-banner figure img {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    object-fit: cover;
}

section.main-banner .text {
    position: absolute;
    z-index: 1;
    padding: 0 10rem;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000000;
    font-size: 2.25rem;
}

section.main-banner .text strong {
    font-weight: 600;
}

.f-link-wrap {
    width: 100%;
    height: 6.25rem;
    background-color: #fff;
}

.f-link-wrap .inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.f-link-wrap .inner>a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    height: 100%;
}

.f-link-wrap .inner>a:last-child img {
    width: 147px;
}

/* 레이어팝업 추가 250403 */
#popup-layer {
    display: none;
    position: fixed;
    width: 600px;
    height: auto;
    background: #fff;
    border: 1px solid #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    pointer-events: auto;
}

#popup-layer .popup-content {
    height: auto;
    font-size: 14px;
    line-height: 130%;
}

table thead th,
table thead td,
table tbody th,
table tbody td {
    padding: 0.2rem 0.02rem;
    font-size: 14px;
}

#popup-layer .popup-content h3 {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
}

#popup-layer .popup-content h4 {
    font-size: 14px;
    padding: 10px 0;
}

#popup-layer .popup-content .bold {
    width: fit-content !important;
}

#popup-layer .popup-buttons {
    display: flex;
    justify-content: space-between;
}

#popup-layer .popup-buttons button {
    border: none;
    background-color: #fff;
    cursor: pointer;
}

#popup-layer .pop_btn {
    margin: 15px;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background-color: #333
}

/* MOBILE */
@media screen and (max-width: 1024px) {

    section.main-slide,
    section.main-slide .main_visual {
        height: 100vh;
    }

    section.main-slide .slide-conts {
        top: 4.75rem;
        padding: 2rem;
    }

    section.main-slide .slide-conts #buttons {
        display: none;
    }

    section.main-slide .slide-conts .text {
        font-size: 1.25rem;
        margin-top: 1rem;
        line-height: 2rem;
    }

    section.main-slide .slide-conts .text span {
        font-size: 1.725rem;
    }

    section.main-banner {
        height: 10rem;
    }

    section.main-banner .text {
        padding: 0 2rem;
        font-size: 1.5rem;
    }

    section.notice-wrap>.inner>.title>h3 {
        font-size: 1.85rem;
        font-weight: 500;
    }

    section.notice-wrap {
        padding: 1.5rem 0;
    }

    section.notice-wrap>.inner>.title {
        margin-bottom: 1rem;
    }

    section.notice-wrap>.inner>.notice-table ul li {
        height: 5rem;
        padding: 0 1.25rem;
        margin: 0 0 0.8rem;
    }

    section.notice-wrap>.inner>.notice-table ul li .date {
        margin-right: 1.125rem;
    }

    section.notice-wrap>.inner>.notice-table ul li .date em {
        font-size: 1.25rem;
    }

    section.notice-wrap>.inner>.notice-table ul li .tag {
        width: 4.5rem;
        height: 1.5rem;
        font-size: 0.9rem;
    }

    section.notice-wrap>.inner>.notice-table .down {
        display: none;
    }

    section.notice-wrap>.inner>.notice-table ul li .name {
        width: calc(100% - 6rem);
        padding: 0 0.875rem;
    }

    section.notice-wrap>.inner .more a {
        width: 9.5rem;
        height: 2.75rem;
    }

    #slider .slick-slide:nth-of-type(1) figure {
        background: url(../images/main/main_slide01_m.jpg)no-repeat center center;
        background-size: cover;
    }

    #slider .slick-slide:nth-of-type(1) figure img {
        display: none;
    }

    /* #slider .slick-slide:nth-of-type(2) figure img {object-position: 66% bottom;}
    #slider .slick-slide:nth-of-type(3) figure img {object-position: 72% bottom;} */

    /* 레이어팝업 추가 250403 */
    #popup-layer {
        display: none;
        position: fixed;
        width: 90%;
        height: auto;
        background: #fff;
        border: 1px solid #333;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        padding: 20px;
        pointer-events: auto;
    }

    table thead th,
    table thead td,
    table tbody th,
    table tbody td {
        padding: 0.2rem 0.02rem;
        font-size: 11px;
    }

    #popup-layer .popup-content {
        height: auto;
        font-size: 12px;
        line-height: 130%;
    }

    #popup-layer .popup-content h3 {
        font-size: 16px;
        font-weight: bold;
        padding-bottom: 10px;
        width: 100%;
        text-align: center;
    }

    #popup-layer .popup-content h4 {
        font-size: 12px;
        padding: 10px 0;
    }

    #popup-layer .popup-buttons {
        display: flex;
        justify-content: space-between;
    }

    #popup-layer .popup-buttons button {
        border: none;
        background-color: #fff;
        cursor: pointer;
    }

    #popup-layer .pop_btn {
        margin: 15px;
        padding: 7px 15px;
        border-radius: 15px;
        border: none;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        color: #fff;
        background-color: #333;
    }
}