* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Paperozi', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* Header */
#header {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #eee;
}

#header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
}

.gnb>ul {
    display: flex;
    gap: 50px;
}

.gnb .depth1 {
    position: relative;
    padding: 35px 0;
}

.gnb .depth1>a {
    font-size: 19px;
    font-weight: 700;
    color: #111;
}


/* Dropdown Menu */
.gnb .depth2 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 180px;
    padding: 15px 0;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: none;
    text-align: center;
}

.gnb .depth1:hover .depth2 {
    display: block;
}

.gnb .depth2 li a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    color: #666;
    transition: 0.2s;
}

.gnb .depth2 li a:hover {
    color: #008148;
    background: #f9f9f9;
    font-weight: 500;
}

/* Footer */
#footer {
    background: #f8f8f8;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.footer_top {
    margin-bottom: 30px;
}

.footer_top img {
    height: 40px;
}

.sponsors {
    font-size: 13px;
    color: #666;
}

.sponsors .row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.sponsors .row .label {
    white-space: nowrap;
}

.sponsors .logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sponsors .logos img {
    height: 25px;
}

.copy {
    margin-top: 40px;
    font-size: 14px;
    color: #666;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

#goTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

/* floating */
.floating_wrap {
    position: fixed;
    right: 30px;
    bottom: 210px;
    z-index: 999;
    width: 200px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: none;
}

/* .banner_inner {
    position: relative;
    width: 100%;
    height: 250px;
} */

.banner_item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    text-align: center;
}

.banner_item.active {
    display: block;
}

.banner_img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.btn_banner_close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    /* 버튼 가독성을 위해 배경 추가 */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #eee;
    z-index: 10;
    cursor: pointer;
}

/* 모바일 대응 */
@media screen and (max-width: 768px) {}

/* 반응형 공통 레이아웃 */
@media screen and (max-width: 1280px) {
    .inner {
        padding: 0 20px;
    }
}

/* 태블릿 & 모바일 (1024px 이하) */
@media screen and (max-width: 1024px) {

    #header {
        height: 70px;
        position: fixed;
    }

    .logo img {
        height: 35px;
    }

    .m_menu_btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .m_menu_btn span {
        width: 25px;
        height: 3px;
        background: #333;
        transition: 0.3s;
    }

    .gnb {
        position: fixed;
        top: 0;
        right: -100%;
        /* 숨김 상태 */
        width: 80%;
        height: 100vh;
        background: #fff;
        padding-top: 80px;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .gnb.active {
        right: 0;
    }

    .gnb>ul {
        flex-direction: column;
        gap: 0;
    }

    .gnb .depth1 {
        padding: 0;
        border-bottom: 1px solid #eee;
    }

    .gnb .depth1:hover .depth2 {
        display: none;
    }

    .gnb .depth1>a {
        display: block;
        padding: 20px;
        font-size: 17px;
    }

    .gnb .depth2 {
        position: static;
        transform: none;
        width: 100%;
        background: #f9f9f9;
        box-shadow: none;
        border: none;
    }

    .sponsors .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer_top img {
        height: 30px;
    }
}