/* ************************************** *
 * font
 * ************************************** */

@font-face {
    font-family: 'NanumSquare-L';
    font-style: normal;
    src: url('../fonts/NanumSquareL.woff') format('woff');
}

@font-face {
    font-family: 'NanumSquare-R';
    font-style: normal;
    src: url('../fonts/NanumSquareR.woff') format('woff');
}

@font-face {
    font-family: 'NanumSquare-B';
    font-style: normal;
    src: url('../fonts/NanumSquareB.woff') format('woff');
}



/*
=========================================================
reset-style
=========================================================
*/


@charset utf-8;

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

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, enter, 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; background: transparent; font-family: 'NanumSquare-R';
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { 
	display:block;
}

ul, li { list-style: none; }

a { text-decoration: none; }

img { vertical-align: top; }

table { border-collapse: collapse; border-spacing: 0; }

/* .clearfix (부모요소가 플로팅 해제) */
.clearfix:after { content: ''; display: block; clear: both; }

[tabindex="-1"]:focus:not(:focus-visible) {
    outline: 0 !important
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible
}


fieldset,
img {
    border: 0;
}

ul,
li {
    list-style: none;
}

button {
    border: 0;
    cursor: pointer;
    outline: none;
}

table {
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    word-wrap: break-word;
}

button,
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="file"],
input[type="search"],
textarea {
    resize: none;
    -webkit-appearance: button;
    outline: none;
}

select {
    font-family: 'Dotum';
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select::-ms-expand {
    display: none;
}

a {
    text-decoration: none;
    outline: none;
}

a:active,
a:focus,
a:hover {
    text-decoration: none;
}

button,
label {
    cursor: pointer;
}

button {
    border: 0;
    background: transparent;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

/*
input, textarea, button {-webkit-appearance:none; -moz-appearance:none; appearance:none;}
*/
input,
textarea,
button,
select {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
}


input[type=text],
input[type=password],
input[type=image],
textarea,
button {
    font-family: 'Noto Sans KR', sans-serif;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="text"]::-ms-clear {
    display: none;
}

input[type="radio"],
input[type="checkbox"] {
    position: relative;
    margin: 0;
    padding: 0;
}

hr,
legend,
caption,
.blind {
    overflow: hidden;
    position: absolute;
    left: -9999px !important;
    top: -9999px !important;
}


/*
=========================================================
default style
=========================================================
*/


.mgt0 {
    margin-top: 0 !important;
}

.flex {
    display: flex; 
    flex-direction: row; 
    align-items: center;
}

.flex.column {
    flex-direction: column;
}

.flex.between {
    justify-content: space-between;
}

.flex.center {
    justify-content: center;
}

.hidden {
    display: none;
}



/*
=========================================================
header style
=========================================================
*/


#header {
    width: 100%;
    position: relative;
    z-index: 99;
}

.gnb {
    width: 100%;
    height: 80px;
    padding: 0 12%;
    position: relative;
    background: #fff;
}

.gnb.main {
    background: transparent;
    transition: background 0.5s 0.2s;
}

.gnb h1.logo {
    width: 157px;
    height: 44px;
    position: absolute;
    left: 12%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.gnb h1.logo > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gnb h1.logo > img.logo-white-img {
    display: none;
}

.gnb.main h1.logo > img.logo-img {
    display: none;
}

.gnb.main h1.logo > img.logo-white-img {
    display: block;
}

.gnb-tit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.gnb-tit > li{
    font-size: 20px;
    color: #222;
    font-family: 'NanumSquare-B';
    cursor: pointer;
}

.gnb.main .gnb-tit > li {
    color: #fff;
}

.gnb-tit > li + li {
    margin-left: 100px;
}

.gnb-tit > li.active {
    color: #0037af;
}

.lnb {
    width: 100%;
    height: auto;
    background: #fff;
    position: absolute;
    top: 80px;
    left: 0;
    border-top: 1px solid #e8e8e8;
    z-index: 99;
    display: none;
}

.lnb > .flex {
    width: 515px;
    align-items: flex-start;
    justify-content: space-between;
    margin: 40px auto;
}

.lnb .flex ul {
    width: 33.3%;
}

.lnb .flex ul > li {
    width: 100%;
    text-align: center;
}

.lnb .flex ul > li > a{
    width: 100%;
    color: #7c7c7c;
    font-size: 18px;
    line-height: 46px;
}

.lnb .flex ul > li:hover a {
    color: #222;
}

.mob-header {
    display: none;
}



/*
=========================================================
footer style
=========================================================
*/


#footer {
    width: 100%;
    position: relative;
    margin-top: 150px;
    background: #222;
    box-sizing: border-box;
    padding: 50px 12%;
    overflow: hidden;
}

.foot-top > a {
    display: block;
    color: #ddd;
    font-size: 20px;
    letter-spacing: -0.2px;
}

.foot-top > a:first-child {
    font-weight: bold;
}

.foot-top > a::after {
    content: 'ㅣ';
    display: inline-block;
    color: #888;
    font-size: 20px;
    margin: 0 10px;
}

.foot-top > a:last-child::after {
    display: none;
}

.foot-bottom {
    margin-top: 30px;
    position: relative;
}

.foot-bottom p {
    font-size: 19px;
    letter-spacing: -0.19px;
    color: #aaa;
    flex-shrink: 0;
}

.foot-bottom .flex {
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.foot-bottom .flex p {
    margin-right: 15px;
}

.foot-bottom .flex p:last-child {
    margin-right: 0;
}

@media only screen and (max-width: 1444px) {
    .foot-bottom p {
        line-height: 25px;
    }

    .foot-bottom p:last-child {
        margin: 0 !important;
    }

    .foot-top > a {
        flex-shrink: 0;
    }
}

@media only screen and (max-width: 1000px) {
    #footer {
        padding: 50px 8%;
    }
}

@media only screen and (max-width: 810px) {
    .foot-top > a {
        font-size: 17px;
    }

    .foot-top {
        flex-wrap: wrap;
    }

    .foot-bottom p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 650px) {
    #footer {
        padding: 50px 30px;
    }

    .foot-top > a {
        font-size: 14px;
    }

    .foot-top > a::after {
        font-size: 14px;
    }

    .foot-top > a:nth-child(3)::after {
        content: 'l';
        margin: 0 10px;
    }

    .foot-top > a:last-child {
        margin-top: 0px;
    }
    
    .foot-bottom {
        margin-top: 25px;
    }

    .foot-bottom .flex p {
        font-size: 13px;
    }

    .foot-bottom p {
        font-size: 13px;
    }
}

@media only screen and (max-width: 500px) {
    .foot-top > a:nth-child(3)::after {
        content: '';
        margin-right: 30px;
    }

    .foot-top > a:last-child {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 405px) {
    .foot-top > a:nth-child(2)::after {
        content: '';
        margin-right: 50px;
    }

    .foot-top > a:nth-child(3)::after {
        content: 'ㅣ';
        margin: 0 10px;
    }

    .foot-top > a:nth-child(3) {
        margin-top: 10px;
    }

    .foot-top > a:last-child {
        margin-top: 10px;
    }
}



/*
=========================================================
common style
=========================================================
*/


body {
    overflow-x: hidden;
    overflow-y: auto;
}

#content {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

@keyframes MoveAni {
    from {
        opacity: 0;
        margin-top: 100px;
    }
    to {
        opacity: 1;
        margin-top: 0px;
    }
}

.move_ani {
    opacity: 0;
    margin-top: 100px;
    animation: MoveAni 1s 0.3s forwards;
}

/* 반응형 */


@media only screen and (max-width: 1100px) {
    body {
        overflow-x: hidden;
    }

    .gnb, .lnb {
        display: none;
    }

    .mob-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
    }

    .mob-gnb {
        width: 100%;
        height: 70px;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 23px;
        transition: background 0.5s;
    }

    .mob-gnb.main {
        background: #000;
    }

    .mob-gnb h1.logo {
        cursor: pointer;
    }

    .mob-gnb.main h1.logo > img.logo-img {
        display: none;
    }

    .mob-gnb.main h1.logo > img.logo-white-img {
        display: block;
    }

    .mob-gnb h1.logo > img.logo-white-img {
        display: none;
    }

    .mob-gnb.main .menu > span::before {
        background: #fff;
    }

    .mob-gnb.main .menu > span::after {
        background: #fff;
    }

    .mob-gnb.main .menu.move > span::before {
        background: #222;
    }

    .mob-gnb.main .menu.move > span::after {
        background: #222;
    }

    .mob-gnb h1.logo {
        width: 150px;
    }

    .mob-gnb h1.logo > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .mob-gnb .menu {
        width: 70px;
        height: 70px;
        position: fixed;
        cursor: pointer;
        z-index: 9999;
        right: 23px;
        top: 0;
    }

    .mob-gnb .menu > span {
        width: 0;
        height: 0;
        font-size: 0;
        position: relative;
    }

    .mob-gnb .menu > span::before {
        content: "";
        position: absolute;
        top: 12px;
        right: -65px;
        width: 25px;
        height:3px;
        border-radius: 2px;
        background-color: #222;
        transform-origin: 0 0;
        transform: translate3d(0, 0, 0) rotate(0);
        transition: transform.6s ease;
    }

    .mob-gnb .menu > span::after {
        content: "";
        position: absolute;
        top: 25px;
        right: -65px;
        width: 32px;
        height: 3px;
        border-radius: 2px;
        background-color: #222;
        transform-origin: 0 100%;
        transform: translate3d(0, 0, 0) rotate(0);
        transition: transform .6s ease;
    }

    .mob-gnb .menu.move > span::before {
        transform: translate3d(0, 0, 0) rotate(45deg);
        width: 32px;
    }

    .mob-gnb .menu.move > span::after {
        transform: translate3d(0, 8px, 0) rotate(-45deg);
        width: 32px;
    }

    .mob-header .wrap {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.6);
        z-index: 999;
        margin-top: -70px;
        display: none;
    }

    .mob-header .wrap .mob-lnb {
        width: 80%;
        height: 100vh;
        background: #fff;
        position: absolute;
        right: -80%;
        top: 0;
        padding: 0 0 0 30px;
    }

    .mob-lnb ul:first-child {
        margin-top: 100px;
        padding-bottom: 21px;
    }

    .mob-lnb ul {
        border-bottom: 1px solid #e8e8e8;
    }

    .mob-lnb ul:last-child {
        border-bottom: none;
    }

    .mob-lnb ul li a{
        display: block;
        font-size: 16px;
        color: #666;
    }

    .mob-lnb ul li + li {
        margin-top: 21px;
    }

    .mob-lnb ul li.tit + li {
        margin-top: 25px;
    }

    .mob-lnb ul li.tit {
        font-size: 18px;
        color: #222;
        font-weight: bold;
    }

    .mob-lnb ul + ul {
        margin-top: 25px;
        padding-bottom: 21px;
    }
}