@charset "utf-8";
/* 기본설정 */
/* @import "default.css"; */
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&family=Fredericka+the+Great&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&display=swap');
a {
    color: inherit;
}
.header{
    width: 100%;
    height: 90px;
    position: fixed;
    z-index: 9999;
}
.header .logo{
    width: 150px;
    height: 50px;
    position: absolute;top: 9%;
    left: 9%;
}
.header .logo img{
    display: block;
    width: 50%;
    height: auto;
    object-fit: cover;
}
.header .gnb1{
    color: #464646;
    position: absolute;top: 0;right: 12%;
    width: 800px;
    display: flex;
    height: 90px;
    align-items: center;
    justify-content: space-between;
}
.header_wrap{
    position: relative;
}
.header .gnb_Title{
    position: relative;
    height: 100%;
    width: 20%;
    text-align: center;
    line-height: 90px;
}
.header .gnb_Title > a{
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: inline-block;
    font-weight: bold;
    letter-spacing: 0.1em;
    font-size: 18px;
    font-family: 'arita-m';
}

/* 통합 슬라이드다운 메뉴 */
.gnb_dropdown{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 73px;
    background-color: #F1EFEC;
    border-top: 1px solid #d8d5cf;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    z-index: 9998;
}
.gnb_dropdown::before{
    content: '';
    position: absolute;
    top: 85px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #b8b3a8;
    transition: width 1.5s ease;
}
.gnb_dropdown.show::before{
    width: 100%;
}
.gnb_dropdown.show{
    max-height: 400px;
    opacity: 1;
}
.gnb_dropdown_inner{
    width: 800px;
    margin: 0 12% 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
}
.gnb_dropdown_col{
    width: 20%;
    text-align: center;
}
.gnb_dropdown_col ul li{
    margin-bottom: 15px;
}
.gnb_dropdown_col ul li:last-child{
    margin-bottom: 0;
}
.gnb_dropdown_col a{
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    color: var(--main-black);
    text-decoration: none;
    font-size: 17px;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}
.gnb_dropdown_col a:hover{
    color: var(--main-black);
    font-weight: 600;
}
.gnb_dropdown_col a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #222;
    transition: width 0.35s ease, left 0.35s ease;
}
.gnb_dropdown_col a:hover::after{
    width: 100%;
    left: 0;
}


@media(max-width:1200px){
    .header .gnb1{
        width: 60%;
    }
    .header .logo{
        left: 5%;
    }
    .gnb_dropdown_inner{
        width: 60%;
    }
}




.header_wrap_m{
    display: none;
}

/* 헤더모바일 시작 */
.header_wrap_m{
background-color: #F1EFEC;
width: 100%;
height: 50px;

}
.header_m{
    width: 100%;
    height: 100%;
    position: relative;
}
.img_invert {
    filter: invert(0.6);
}
.nav{
    position: absolute;
    right: 20px;
    top: 13px;
    cursor: pointer;
}
.nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav .navbar {
    position: relative;
    width: 29px;
    height: 25px;
}
.nav .navbar span{
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--main-black);
    transition: all 0.3s ease-in-out;
}
.nav .navbar .bar2 {
    top: 11px;
    opacity: 1;
}
.nav .navbar .bar3 {
    top: 22px;
}
/* 활성화 상태(X 모양) */
.nav .navbar.active .bar1 {
    transform: translateY(11px) rotate(45deg);
}

.nav .navbar.active .bar2 {
    opacity: 0; /* 가운데 줄 사라짐 */
}

.nav .navbar.active .bar3 {
    transform: translateY(-11px) rotate(-45deg);
}

.gnb_m{
    /* display: none; */
    width: 100%;
    height: 0;
    background-color: #F1EFEC;
    position: fixed;
    right: 0;
    top: 50px;
    z-index: 10101;
    padding: 0 5%;
    overflow-y: auto;
    transition: all 0.6s ease-in-out;
}
.gnb_m.active{
    /* display: block; */
    height: 100%;
}
.gnb_m .close{
    cursor: pointer;
    position: absolute;
    right: 5%; top: 1%;
}
.gnb1_m{
    text-align: center;
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.gnb_Title_m{
    cursor: pointer;
    font-size: 25px;
    letter-spacing: 2.5px;
    font-family: 'arita-sb';
    margin-bottom: 12%;
    /* transition:all 0.7s ease-out; */
}
.gnb_Title_m .gnb2_m li a{
    font-size: 15px;
    letter-spacing: 0.3px;
    display: inline-block;
    margin-bottom: 10px;
}
.gnb_Title_m .gnb2_m li:first-of-type{
   margin-top: 10px;
}
.gnb_Title_m .gnb2_m li:last-child{
    border: none;
}
.gnb2_m {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out; /* 트랜지션 효과 적용 */
    display: block; /* 기본적으로 보이도록 설정 */
}
.gnb_Title_m.active i {
    transform: rotate(-90deg);
}
.gnb_Title_m.active .gnb2_m {
    max-height: 300px; /* 충분한 높이로 조절 (요구 사항에 맞게 조절) */
}

.show{
    display: block;
    transition:all 0.5s ease-in;
}
.hide{
    display: none;
    transition:all 0.5s ease-in;
}
@media(max-width:1200px){
    .header .gnb1{
        width: 60%;
    }
    .header .logo{
        left: 5%;
    }
}
@media(max-width:991px){

    .header_wrap{
        display: none;
    }
    .header_wrap_m{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
    .header_m .logo_m{
        display: inline-block;
        position: absolute;
        top: 13%;
        left: 3%;
    }
    .logo_m img{
        width: 50%;
    }
}
@media(max-width:500px){
    .header_m .logo_m img{
        width: 60%;
    }
    .header_m .logo_m{
        top: 5%;
    }
}

@media(max-width:350px){
    .gnb_Title_m{
        font-size: 22px;
    }
}