@charset "utf-8";
/* 기본설정 */
@import "default.css";

.header{
    width: 100%;
    height: 100px;
    position: absolute;
    z-index: 9999;
    display: flex;
}
.header .gnb_wrap:hover {background-color: #fff;}
.header .gnb_wrap{
    display: flex;
    width: 100%;
    align-items: center;
    color: #202020;
    cursor: pointer;
    /* background-color: #fff; */ /*헤더.php 스크립트쪽 제어*/
    font-family: 나눔명조체, serif;
    font-weight: 700;
}

.header .gnb_wrap .gnb{
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 0 25px;
    padding: 2px 10px;
    letter-spacing: 3px;
    font-size: 18px;
}
.header .gnb_wrap .logo_gnb{
  margin-right: 20%;
 }
.header .gnb_wrap .logo_gnb img{
    object-fit: cover;
    height: 70px;
 }
/* .header .gnb_wrap .gnb:nth-child(2){
    margin-left: 15%;
    white-space: nowrap;
} */
.header .gnb_wrap .gnb:nth-child(1)::before,
.header .gnb_wrap .gnb:nth-child(1)::after{
background-color: transparent;
}

/* .header .gnb_wrap .gnb::before,
.header .gnb_wrap .gnb::after{
    content:'';
    position: absolute;
    width: 0;
    height: 100%;
    color: #A45200;
    border: none;
    transition: all ease 0.6s;
    z-index: -1;
} */
.header .gnb_wrap .gnb::before{
    left: 0;
    width: 100%;
}
.header .gnb_wrap .gnb::after{
    right: 0;
    width: 100%; 
}

/* .header .gnb_wrap .gnb:hover::before,
.header .gnb_wrap .gnb:hover::after{ transform: scaleX(1); } */ /* 가로 스케일을 1로 설정하여 효과를 나타냄 */

.header .gnb_wrap .gnb:hover{color:#A45200;}

.header .gnb_wrap ul{
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    height: max-content;
    gap: 3px;
    background-color: #fff;
    border: 1px solid #707070;
    border-radius: 13px;
    padding: 10px 15px;
    
}
.gnb:nth-child(1) ul{
    background-color: transparent;
    border: none;
}
.header .gnb_wrap ul li{
    width: 100%;
    text-align: left;
    line-height: 30px;
}
.header .gnb_wrap ul li a{
    display: inline-block;
    width: max-content;
    color: #000;
    position: relative;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    
}
.header .gnb_wrap ul li a:hover{
    color:#A45200;
}
.header .gnb_wrap ul li a::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #adadad;
}
.header .gnb_wrap ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: transparent;
    transition: all ease 0.6s;
}
.header .gnb_wrap ul li a:hover::after {
    width: 100%;
    background-color: #A45200;
}




.menu-fixed{
    position: fixed;
    left: 0;top: 0;
   
}

/* 헤더 모바일 작업 시작 */
.header-m{
    width: 100vw;
    display: none;
    background-color: transparent;
    position: fixed;top: 0;
    z-index: 9999;
    height: 70px;
}
.header-m-wrap{
    width: 100%;
    height: 100%;
    position: relative;
}
.header-m-wrap .logo-m{
    position: absolute;top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 15%;
}
.header-m-wrap .logo-m img{
    display: block;width: 100%;
}
.close{
    cursor: pointer;
}
.header-m-wrap .nav{
    position: absolute;top: 50%;
    left: 5%;
    z-index: 999;
    transform: translateY(-50%);
    cursor: pointer;
}
/*햄버거메뉴 */
.nav span {-webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;}
.nav .line span {}
.nav .text { position:absolute; width:100%; left: 0; bottom:0; font-size:9px; line-height:1em; letter-spacing:0.1em; color:#000; font-weight:500;}

    .nav .line01 { width:26px; top:0; position: absolute; display: block; height:2px; left:0; background:#000;}
    .nav .line02 { width:22px; top:10px; position: absolute; display: block; height:2px; left:0; background:#000; }
    .nav .line03 { width:18px; top:20px; position: absolute; display: block; height:2px; left:0; background:#000;}
    .nav.open_nav .line02 {left: 4px;}
    .nav.open_nav .line03 {left: 8px;}
    .nav:hover .text, .nav.open_nav .text {opacity:1; filter: alpha(opacity=100); }
    .nav.open_nav .line span {}
    .nav.open_nav .text {}


.before-top{
    height: 100px;
}
.after{
    background-color: rgb(249, 247, 244, .9);
    width: 80%;
    height: 100vh;
    overflow: scroll;
    position: relative;
    /* touch-action: none; */
    transition: all 0.8s;
    transform: translateX(-100%);
}
.after.open {
    transform: translateX(0);
}
.after .logo-m-before{
    position: absolute;top: 1%;left: 50%;transform: translateX(-50%);
    width: 15%;
}
.after .close{
    position: absolute;top: 3%;
    right: 3%;
}
.after .logo-m-before img{
    display: block;width: 100%;
}

.gnb_wrap_m{
    padding: 10%;
    padding-top: 0;
}
.gnb_m {
    line-height: 60px;
    color: #333;
}

.gnb_m span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 1%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 0 2%;
    font-weight: 700;
}
.gnb_m span:after {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 95%;
    height: 1px;
    background: #a9a9a9;
}
.gnb_m span:hover{color:#A45200;}
.gnb_m span .fa-solid {
    font-size: medium;
    margin-right: 7px;
}
.gnb_m > ul{
    padding: 2% 3%;
    border-radius: 13px;
    display: none;
    background: #ebdfcd;
}
.gnb_m > ul li{
    position: relative;
    padding: 10px 2px;
}
.gnb_m > ul li a{
    display: block;
    font-size: 17px;
    color: #444;
    line-height: 26px;
    font-weight: 600;
    word-break: keep-all;
}
.gnb_m > ul li a:after{
    display: block;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    width: 100%;
    height: 1px;
    background: #896a4e;
}

@media(max-width:991px){
    .header .gnb_wrap{
        width: 80%;
    }
}

@media(max-width:1000px){
    .header{
        display: none;
    }
    .header-m{
        display: block;
    }
    .after .nav {
        top: 3.2%;
        left: 5%;
        z-index: 999;
        cursor: pointer;
    }
    .after .logo-m-before{
        top: 1.6%;
        left: 53%;
        width: 22%;
    }
    .after .logo-m-before img {
        width: 70%;
    }
}

@media(max-width:500px){
    .header-m{
        width: 100vw;
    }
    .after .logo-m-before{
        top: 1.6%;
        left: 50%;
        width: 22%;
    }
    .after .logo-m-before img {
        width: 100%;
    }
    .header-m-wrap .logo-m{
        width: 22%;
        top: 50%;
    }
    .header-m-wrap .nav{
        top: 36%;
    }
    .after .nav {
        top: 3%;
        left: 5%;
        z-index: 999;
        cursor: pointer;
    }
}