@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800&display=swap');

:root{
    --bg:#ffffff;
    --text:#111827;
    --text-dim: rgba(17,24,39,.72);
    --text-mute: rgba(17,24,39,.55);

    --line: rgba(17,24,39,.12);
    --line-soft: rgba(17,24,39,.08);

    --primary:#1366c5;

    --header-h:64px;

    --footer-bg:#0b0f14;
    --footer-text: rgba(255,255,255,.72);
    --footer-text-strong: rgba(255,255,255,.92);
    --footer-link: rgba(255,255,255,.86);
    --footer-link-hover: rgba(255,255,255,.96);
    --footer-muted: rgba(255,255,255,.55);
    --footer-border: rgba(255,255,255,.10);

    --header-solid-bg:#1d1d1f;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
    margin:0;
    font-family: "Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x:hidden;
    display: flex;
    flex-direction: column;
}
body.overflow-hidden{ overflow:hidden; }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; }

.site-header-wrap {
    flex-shrink: 0;
}

.site-header-wrap .top-banner{
    position:relative;
    padding-top: var(--header-h);
    border-bottom:1px solid var(--line-soft);
    background-position:center;
    overflow:hidden;
    isolation:isolate;
    background: var(--header-solid-bg);
    min-height: var(--header-h);
}

.site-header-wrap .top-banner::before{
    content:none;
}

.site-header-wrap.header-main .top-banner{
    min-height: 280px;
    background: url(/assets/image/main_top_banner.png) no-repeat center;
    background-size: cover;
}

@media (max-width: 768px) {
    .site-header-wrap.header-main .top-banner {
        min-height: var(--header-h);
        background: var(--header-solid-bg);
        background-size: auto;
    }
}

.site-header-wrap.header-main .top-banner::before{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.05), rgba(255,255,255,0));
    pointer-events:none;
    z-index:0;
}

@media (max-width: 768px) {
    .site-header-wrap.header-main .top-banner::before {
        content: none;
    }
}

.site-header-wrap .site-header{
    position:fixed;
    top:0; left:0; right:0;
    z-index:10000;
    height:var(--header-h);
    display:flex;
    align-items:center;
    border-bottom:1px solid rgba(255,255,255,.18);
    background: var(--header-solid-bg);
    backdrop-filter: none;
    transition: background .18s ease, border-color .18s ease;
}

.site-header-wrap.header-main .site-header{
    background: linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,.14));
    backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
    .site-header-wrap.header-main .site-header {
        background: var(--header-solid-bg);
        backdrop-filter: none;
    }
}

.site-header-wrap.header-main .site-header.header-scrolled{
    background: var(--header-solid-bg);
    border-bottom:1px solid rgba(255,255,255,.10);
    backdrop-filter: none;
}

.site-header-wrap .site-header .header-inner{
    width:min(1180px, 100%);
    margin:0 auto;
    padding:0 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-width:0;
}

.site-header-wrap .site-header .logo{
    display:flex;
    align-items:center;
    min-width:0;
}

.site-header-wrap .site-header .logo img{
    width:85px;
    height:auto;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.site-header-wrap .site-header .header-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.site-header-wrap .site-header .header-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:34px;
    padding:0 12px;
    border-radius:10px;
    color:#fff;
    font-weight:400;
    font-size:14px;
    border:1px solid transparent;
    background: transparent;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
    cursor:pointer;
    user-select:none;
}

.site-header-wrap .site-header .header-link:hover{
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.22);
    transform: translateY(-1px);
}

@media (max-width: 980px){
    .site-header-wrap .site-header .logo img{ width:70px; }
}

.footer-lg{
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 26px 0 22px;
    position: relative;
    flex-shrink: 0;
}

.footer-lg .footer-inner{
    width:min(1180px, 100%);
    margin:0 auto;
    padding:0 18px;
    position:relative;
}

.footer-lg .footer-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}

.footer-lg .footer-brand{
    font-size:14px;
    font-weight:800;
    letter-spacing:.08em;
    color: var(--footer-text-strong);
    line-height:1.2;
    padding-top:2px;
    white-space:nowrap;
}

.footer-lg .footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px 14px;
    align-items:center;
    justify-content:flex-start;
    padding-top:2px;
}

.footer-lg .footer-links a{
    font-size:12px;
    color: var(--footer-link);
    font-weight:400;
    line-height:1.2;
}

.footer-lg .footer-links a:hover{
    color: var(--footer-link-hover);
    text-decoration: underline;
}

.footer-lg .footer-lang{
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
}

.footer-lg .footer-lang .lang-select{
    position:relative;
    display:inline-flex;
    align-items:center;
}

.footer-lg .footer-lang select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    height:34px;
    padding:0 34px 0 12px;
    border-radius:4px;
    border:1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.88);
    font-size:12px;
    cursor:pointer;
    outline:none;
}

.footer-lg .footer-lang select:hover{
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.20);
}

.footer-lg .footer-lang .chev{
    position:absolute;
    right:10px;
    color: rgba(255,255,255,.70);
    pointer-events:none;
    font-size:12px;
}

.footer-lg .footer-body{
    margin-top:14px;
    font-size:11px;
    line-height:1.6;
    color: rgba(255,255,255,.62);
    white-space:pre-line;
}

.footer-lg .footer-bottom{
    margin-top:14px;
    font-size:11px;
    color: rgba(255,255,255,.55);
}

.footer-lg .footer-topbtn{
    position:fixed;
    right:18px;
    bottom:18px;
    width:42px;
    height:42px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.86);
    display:none;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index: 9999;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

.footer-lg .footer-topbtn:hover{
    transform: translateY(-2px);
    background: rgba(255,255,255,.16);
}

.footer-lg .footer-topbtn .icon{
    font-size:16px;
    line-height:1;
}

@media (max-width: 720px){
    .footer-lg .footer-top{
        flex-direction:column;
        align-items:flex-start;
    }
    .footer-lg .footer-lang{
        width:100%;
        justify-content:flex-start;
        margin-top:10px;
    }
}
