@charset "utf-8";

/*-------------------------------------------------
Author : WEB,Seo
Create date : 2025. 01. 17
Last update : 
-------------------------------------------------*/

/* ========== header ========== */
#header {
    width: 100%;
    background: white;
    height: 90px;
    z-index: 99;
    position: relative;
}

.header_inner {
    height: 100%;
    width: 100%;
    background: white;
    position: relative;
    z-index: 5;
}

.hn_logo {
    width: 126px;
}

.gnb_wrap {
    height: 90px;
    position: relative;
}

.gnb {
    height: 100%;
    background: white;
    z-index: 1;
    position: relative;
}

.gnb_li {
    width: 150px;
}

.gnb a {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.0625em;
    font-weight: 500;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gnb_2ul_wrap {
    text-align: center;
    position: absolute;
    left: 0;
    top: 90px;
    z-index: 0;
}

#header:after {
    content: '';
    background: rgba(255, 255, 255, 0.87);
    width: 300%;
    height: 0;
    position: absolute;
    left: -100%;
    top: 90px;
    transform: translateY(-100px);
    transition: 0.3s;
    z-index: 2;
}

#header.active:after {
    height: 250px;
    transform: translateY(0px);
}

.gnb_2ul {
    width: 150px;
    transform: translateY(-250px);
    transition: 0.3s;
    opacity: 0;
    height: 0;
    padding: 20px 0;
}

.gnb_wrap.active .gnb_2ul {
    transform: translateY(0px);
    opacity: 1;
    height: 100%;
}

.gnb_2ul li a {
    padding: 5px 0;
    display: block;
    font-weight: 400;
}

.side_menu {
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.side_menu span {
    background: var(--black-color);
    width: 100%;
    height: 3px;
    border-radius: 10px;
}

/* sitemap */
.sitemap {
    position: fixed;
    right: 0;
    top: 0;
    width: 0;
    height: 100vh;
    z-index: 9999;
    transition: 0.5s;
    overflow: hidden;
    visibility: hidden;
}

.sitemap.active {
    width: 500px;
    visibility: visible;
}

.sitemap_bg {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100vw;
    height: 100vh;
    content: '';
    z-index: 999;
    display: none;
    left: 0;
    top: 0;
}

.sitemap_bg.active {
    display: block;
}

.sitemap.active:after {
    display: block;
}

.sitemap.active .sitemap_inner {
    transform: translateX(00px);
}

.sitemap_inner {
    max-width: 500px;
    background: white;
    position: absolute;
    right: 0;
    top: 0;
    height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    transition: 0.5s;
    width: 500px;
    transform: translateX(100%);
}

.site_logo {
    width: 150px;
    padding: 50px;
}

.site_ul {
    padding: 0 50px;
}

.site_li {
    width: 100%;
    background: white;
}

.site_li>a {
    font-size: 1.2em;
    font-weight: 600;
    padding: 20px 5px 15px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #eee;
}

.site_2ul_wrap {
    height: 0;
    transition: 0.5s;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.site_li.active .site_2ul_wrap {
    height: fit-content;
}

.site_li.active .site_right {
    transform: rotate(90deg);
    transition: 0.3s;
}

.site_2ul {
    box-sizing: border-box;
    /* background: #fffef0; */
    overflow: hidden;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(-100px);
    padding: 15px 23px;
    background: #f9f9f9;
}

.site_li.active .site_2ul {
    opacity: 1;
    transform: translateY(0px);
}

/* .site_li:nth-child(2) .site_2ul {
    background: #fffaef;
}

.site_li:nth-child(3) .site_2ul {
    background: #fcffed;
}

.site_li:nth-child(4) .site_2ul {
    background: #fff6f6;
}

.site_li:nth-child(5) .site_2ul {
    background: #f4fbff;
} */

.site_2ul a {
    font-size: 1.0625em;
    font-weight: 400;
    display: block;
    line-height: 1.8;
    color: #444;
}

.site_close {
    position: absolute;
    right: 70px;
    top: 70px;
    font-size: 1.4375em;
}

/* footer */
#footer {
    background: #222;
    width: 100%;
    padding: 50px 0;
    box-sizing: border-box;
}

.ft_terms a,
.ft_info span,
.ft_copy,
.ft_right a {
    color: white;
    font-weight: 200;
    font-size: 0.875em;
    line-height: 1.5;
}

.ft_terms a {
    display: inline-block;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #eee;
    line-height: 0.8;
}

.ft_terms li:last-child a {
    border: 0;
}

.ft_info {
    margin: 10px 0 5px;
}

.ft_info b {
    color: #BFBFBF;
    font-size: 0.875em;
    display: inline-block;
}

.ft_info span {
    margin: 0 10px;
}

.ft_right {
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.ft_logo {
    width: 150px;
}