/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    font-family: 'GmarketSans', sans-serif;
    line-height: 1;
    color: #222;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


@font-face {
    font-family: 'GmarketSans';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GmarketSans';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

.m-visible {
    display: none;
}
@media (max-width: 640px) {
    .m-visible {
        display: block;
    }
}

@keyframes ticker-kf {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 75px;
    box-sizing: border-box;
    padding: 0 15px;
}

header .header-bg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .1;
}

header > div:not(.header-bg) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 100%;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

header > div a {
    display: block;
    width: 100%;
    height: 100%;
}

header .main-logo {
    background-image: url("../images/logo_white.png");
}

header .main-menu {
    background-image: url("../images/open_white.png");
}

aside {
    z-index: 9;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
}

aside .nav-container {
    position: absolute;
    top: 50%;
    left: 17.5%;
    transform: translate(0, -50%);
}

aside .nav-container nav {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

aside .nav-container nav h3 a {
    font-size: 50px;
    color: #fff;
    text-decoration: none;
}

aside .nav-container nav h3 a:hover {
    color: #dfb98a;
}

aside .nav-container div {
    margin-top: 45px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

aside .nav-container p {
    font-size: 10px;
    color: #fff;
    line-height: 2;
}

aside .nav-container .copyright {
    margin-top: 4px;
    color: #555555;
    line-height: 1;
}

.gnb-on {
    overflow: hidden;
}

.gnb-on header .main-menu {
    background-image: url("../images/close_white.png");
}

.gnb-on aside {
    display: block;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    height: 250px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

footer nav {
    display: flex;
    gap: 30px;
}

footer nav h3 {
    font-size: 15px;
}

footer nav h3 a {
    color: #222;
    text-decoration: none;
}

footer div p {
    text-align: center;
    font-size: 10px;
    line-height: 1.3;
}

footer div .copyright {
    margin-top: 40px;
    font-size: 10px;
    color: #555555;
}

@media (max-width: 640px) {
    header {
        top: 0;
        height: 63px;
        padding: 0;
    }

    header > div:not(.header-bg) {
        background-size: 25px;
    }

    aside .nav-container {
        top: unset;
        left: 25px;
        bottom: 20px;
        transform: translate(0, 0);
    }

    aside .nav-container nav {
        gap: 21px;
    }

    aside .nav-container nav h3 a {
        font-size: 30px;
    }

    aside .nav-container div {
        margin-top: 105px;
        gap: 6px;
    }

    footer {
        align-items: flex-start;
        padding: 0 15px 18px;
    }

    footer nav {
        flex-direction: column;
        gap: 20px;
    }

    footer nav h3 {
        font-size: 12px;
    }

    footer div p {
        text-align: left;
        font-size: 8px;
    }

    footer div .copyright {
        margin-top: 5px;
        font-size: 8px;
    }

}