@charset "utf-8";

/* 상단 해더 */
#header {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 60px;
    background-color: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.16);
    transition: 0.2s;
    z-index: 5000;
}

#header *:not(.gnb) {
    transition: 0.2s;
}

#header.mnuopen {
    height: 315px;
}

#header .respon {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 60px;
    padding-right: 10px;
}

#header h1 {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 0;
}

#header h1 a {
    display: block;
}

#header h1 a img {
    height: 30px;
    transition: .2s;
}

#header .gnb {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
}

#header .gnb ul.gnb-1ul li.gnb-1li {
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.1);
}

#header .gnb ul.gnb-1ul li.gnb-1li a.gnb-1a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    font-size: 1.6rem;
}

#header .gnb ul.gnb-1ul li.gnb-1li.active a.gnb-1a {
    font-weight: 500;
    color: var(--color-point);
}

#header .subscription-btn {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    background-color: #363636;
    color: #fff;
    border-radius: 20px;
}

@media screen and (min-width: 767px) {
    #header .gnb {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
    }

    #header .gnb ul.gnb-1ul li.gnb-1li {
        width: auto;
        border-top: none;
    }

    #header .gnb ul.gnb-1ul li.gnb-1li a.gnb-1a {
        padding: 0 10px;
    }

    #header .subscription-btn {
        padding: 0 20px;
        font-size: 1.6rem;
    }

    #header .mnubtn {
        display: none;
    }
}

@media screen and (min-width: 979px) {
    #header {
        height: 120px;
    }

    #header.mnuopen {
        height: 120px;
    }

    #header .respon {
        height: 120px;
        padding-right: 40px;
    }

    #header h1 {
        top: 40px;
        left: 40px;
    }
    
    #header h1 a img {
        height: 40px;
    }

    #header .gnb ul.gnb-1ul li.gnb-1li a.gnb-1a {
        padding: 0 20px;
        letter-spacing: -.25pt;
    }

    #header .subscription-btn {
        margin-left: 10px;
    }

    .scrollOn #header {
        height: 80px;
    }

    .scrollOn #header .respon {
        height: 80px;
    }

    .scrollOn #header h1 {
        top: 20px;
    }
}

@media screen and (min-width:1239px) {
    #header h1 {
        top: 35px;
    }

    #header h1 a img {
        height: 50px;
    }

    .scrollOn #header h1 {
        top: 15px;
    }
}

@media screen and (min-width:1339px) {
    #header .respon {
        padding-right: 0px;
    }

    #header h1 {
        top: 20px;
        left: 0;
    }

    #header h1 a img {
        height: 80px;
    }

    #header .gnb ul.gnb-1ul li.gnb-1li a.gnb-1a {
        padding: 0 30px;
        font-size: 22px;
        font-weight: 700 !important;
    }

    #header .gnb ul.gnb-1ul li.gnb-1li a.gnb-1a:hover {
        color: var(--color-point);
    }

    #header .subscription-btn {
        margin-left: 20px;
        font-size: 18px;
    }

    #header .subscription-btn:hover {
        background-color: var(--color-point);
    }

    .scrollOn #header h1 {
        top: 15px;
    }

    .scrollOn #header h1 img {
        height: 50px;
    }
}


/* 하단푸터 */
#footer {
    position: relative;
    background-color: #283647;
    color: #fff;
}

#footer .respon {
    padding: 20px 40px;
}

#footer .policy-noemail li {
    position: relative;
}

#footer .policy-noemail li:not(:first-child) {
    padding-left: 20px;
    margin-left: 20px;
}

#footer .policy-noemail li:not(:first-child)::after {
    position: absolute;
    top: calc(50% - 2px);
    left: -2px;
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    content: '';
}

#footer .policy-noemail li .policy-noemail-btn {
    color: #fff;
}

#footer p.copyright {
    margin-top: 10px;
    font-size: 1.2rem;
}

@media screen and (min-width: 767px) {
    #footer .respon {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 40px;
    }

    #footer p.copyright {
        margin-top: 0;
        font-size: 1.4rem;
    }
}

@media screen and (min-width:1339px) {
    #footer .respon {
        padding: 40px 0;
    }
}

/* -------------------------------- */
@media screen and (min-width: 639px) {
}

@media screen and (min-width: 767px) {
}

@media screen and (min-width: 979px) {
}

@media screen and (min-width:1239px) {
}

@media screen and (min-width:1339px) {
}

@media screen and (min-width:1439px) {
}

@media screen and (min-width:1639px) {
}

@media screen and (min-width:1839px) {
}