@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;
    background-color: rgba(255,255,255,0.5);
    position: fixed;
    z-index: 9999;
    transition: all 0.4s ease-in-out;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}
.header:hover {
    height: 360px;
    background-color: rgba(255,255,255,1);
}
.header .logo{
    width: 120px;
    margin: 10px auto;
}
.header .logo img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.header .gnb1{
    position: relative;
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    width: 57%;
    margin: 0 auto;
    color: #464646;
}
/* 스크롤 내려갔을 때 변경 */
.header.scrolled {
    flex-direction: row;     
    align-items: center; 
    justify-content: space-between;
    padding: 0 5%;
    /* height: 90px; */
    background-color: rgba(255,255,255,1);
    height: 70px;
}
.header.scrolled .logo {
    margin: 5px 0 0 0;    
}
.header.scrolled:hover {
    height: 360px;
    align-items: flex-start; 
}
.header .gnb1::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    top: 90px;
    left: 0;
}
.header.scrolled .gnb1::before {
    top: 70px;
}
.header .gnb1::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background-color: #464646;
    top: 90px;
    left: 0;
    transition: 0.7s width ease-in-out;
}
.header:hover .gnb1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #464646;
    bottom: 0;
    left: 0;
}
.header .gnb_Title{
    position: relative;
    /* height: 100%; */
    width: 20%;
    text-align: center;
    line-height: 90px; 
    transition: all 0.2s;
    color: #BE9A71;
    font-family: "gowun-b";
    letter-spacing: 1.8px;
}
.header .gnb_Title > span{
    text-decoration: none;
    width: 100%;
    /* height: 100%; */
    display: inline-block;
    font-weight: bold;
}
.header .gnb_Title ul{
    /* display: none;  */
    height: auto;
    display: flex;
    flex-wrap: wrap;
}
.header .gnb2 li{
    width: 100%;
    height: 37px;
    line-height: 45px;
    text-align: center;
    /* background-color: rgba(0,0,0,0.65); */
    padding: 3% 0;
    letter-spacing: 0px;
    font-family: 'gowun', 'serif';
}

.header .gnb2 li:first-child::before{
    display: none;
}
.header .gnb2 li a{
    position: relative;
    text-decoration: none;
    display: inline-block;
    width: max-content;
    height: 100%;
    color: #000
}
.header .gnb2 li a:hover{
    /* color: #FFBF94; */
}
.header .gnb2 li:hover a {
    color: #BB7E56;
}


.header_wrap_m{
    /* display: none; */
}

/* 헤더모바일 시작 */
.header_wrap_m{
/* background-color: rgba(255,255,255,1);
width: 100%;
height: 50px; */

}
.header_m{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.img_invert {
    filter: invert(0.6);
}
.nav{
    /* position: absolute;
    right: 4%;
    top: 30%; */
    cursor: pointer;
    height: 51px;
    background-color: #fff;
    border-radius: 0 0 15px 0;
}
.nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 10px;
}
.nav .navbar {
    position: relative;
    width: 21px;
    height: 25px;
}
.nav .navbar span{
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #6D5D52;
    transition: all 0.3s ease-in-out;
}
.nav .navbar span { transition: all 1s ease;}
.nav .navbar.active span { transition: all 0.6s ease;}
.nav .navbar .bar1 {
    transition-delay: 0s;
}
.nav .navbar .bar2 {
    top: 11px;
    left: -6px;
    opacity: 1;
}
.nav .navbar .bar3 {
    left: 3px;
    top: 22px;
}
/* 활성화 상태(X 모양) */
.nav .navbar.active .bar1 {
    transform: translateY(11px) rotate(45deg);
    transition-delay: 0.6s;
}

.nav .navbar.active .bar2 {
    left: 0;
    opacity: 0; /* 가운데 줄 사라짐 */
    transition: left 0.6s ease,
        transform 0.6s ease 0.6s,
        opacity 0.6s ease;
}

.nav .navbar.active .bar3 {
    left: 0;
    transform: translateY(-11px) rotate(-45deg);
    transition: left 0.6s ease,
        transform 0.6s ease 0.6s,
        opacity 0.6s ease;
    
}

.gnb_m{
    /* display: none; */
    width: 100%;
    background-color: rgba(255,255,255,1);
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10101;
    padding: 71px 5% 5% 10%;
    overflow-y: auto;
    clip-path: circle(0% at 0 70px);
    -webkit-clip-path: circle(0% at 0 70px);
    transition: clip-path 0.6s ease-in-out, -webkit-clip-path 0.6s ease-in-out;
}
.gnb_m.active{
    /* display: block; */
    clip-path: circle(150% at 0 70px);
    -webkit-clip-path: circle(150% at 0 70px);
    transition: clip-path 0.8s ease-in-out, -webkit-clip-path 0.8s ease-in-out;
}
.gnb_m .close{
    cursor: pointer;
    position: absolute;
    right: 5%; top: 1%;
}
.gnb1_m{
    width: 100%;
    /* text-align: center; */
}
.gnb_Title_m{
    cursor: pointer;
    font-size: 30px;
    line-height: 1.4em;
    margin-bottom: 12%;
    letter-spacing: 3px;
    color: #BE9A71;
    font-family: "gowun-b";
    font-weight: 600;
}
.gnb_Title_m i {
    display: inline-block;
    margin-left: 15px;
    font-size: 22px;
    font-style: normal;
    transform: rotate(90deg);
}
.gnb_Title_m .gnb2_m li a{
    font-family: "gowun-b";
    font-size: 16px;
    letter-spacing: 0.2px;
    line-height: 2.5;
    color: #BE9A71;
    display: inline-block;
}

.gnb_Title_m .gnb2_m li{
    /* border-bottom: 1px solid #707070; */
}
.gnb_Title_m .gnb2_m li:last-child{
    border: none;
}
.gnb2_m {
    max-height: 0;
    padding: 10px 0 0 5px;
    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; */
}

.header_m .logo_m{
    height: 69px;
    background-color: #44372B;
}
.logo_m img{
    width: 100%;
}
.header_m .logo_m{
    top: 16%;
}
.header_wrap{
    display: none;
}
.header_wrap_m{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 68px;
    height: 120px;
    z-index: 10102;
}
@media(min-width:769px){
    .header_wrap_m { 
        width: 118px;
        height: 208px;
    }
    .header_m .logo_m { height: 119px;}
    .nav{
        height: 89px;
        border-radius: 0 0 20px 0;
    }
    .nav .navbar {
        position: relative;
        width: 37px;
        height: 34px;
    }
    .nav .navbar .bar2 {
        top: 17px;
        left: -11px;
        opacity: 1;
    }
    .nav .navbar .bar3 {
        top: 34px;
        left: 5px;
    }
    /* 활성화 상태(X 모양) */
    .nav .navbar.active .bar1 {
        transform: translateY(17px) rotate(45deg);
        transition-delay: 0.4s;
    }
    .nav:hover .navbar .bar2, .nav:hover .navbar .bar3 {
        left: 0;
    }
    .nav .navbar.active .bar2 {
        opacity: 0; /* 가운데 줄 사라짐 */
    }

    .nav .navbar.active .bar3 {
        transform: translateY(-17px) rotate(-45deg);
        transition-delay: 0.4s;
    }
    .gnb_m {
        left: 0;
        width: 50vw;
        padding: 71px 18% 2% 11%;
    }
    .gnb_m.active{
        clip-path: circle(100% at 0 70px);
        -webkit-clip-path: circle(100% at 0 70px);
        transition: clip-path 0.8s ease-in-out, -webkit-clip-path 0.8s ease-in-out;
    }
    .gnb_Title_m{
        margin-bottom: 19%;
        position: relative;
    }
    .gnb_Title_m:hover {
        color: #44372B;
    }
    .gnb2_m {
        position: absolute;
        right: 140px;
        top: -36px;
    }
    .gnb_Title_m .gnb2_m li a:hover{
        color: #44372B;
    }
    .gnb2_m.room {
        right: 160px;
    }
    .gnb2_m.room li {
        width: 25%;
    }
    .gnb2_m.special {
        display: flex;
        flex-wrap: wrap;
        right: -111px;
    }
    .gnb2_m.special li {
        width: 50%;
    }
    .gnb2_m.tour {
        top: -17px;
    }
}

@media(max-width:1800px){
    .gnb_m {
        padding: 71px 12% 2% 11%;
    }
}
@media(max-width:1400px){
    .gnb_m {
        padding: 71px 7% 2% 12%;
    }
}
@media(max-width:1200px){
    .gnb_m {
        left: 0;
        width: 82vw;
        padding: 71px 18% 2% 11%;
    }
    .gnb2_m {
        right: 200px;
    }
    .gnb2_m.room {
        right: 220px;
    }
    .gnb2_m.special {
        right: -45px;
    }
    .header .gnb1{
        width: 60%;
    }
    .header .logo{
        left: 5%;
    }
}




@media(max-width:768px){
    .gnb_m { 
        width: 100vw;
        padding: 71px 11% 2% 11%;
    }
    .gnb_m.active {
        clip-path: circle(113% at 0 70px);
        -webkit-clip-path: circle(113% at 0 70px);
    }
    .gnb1_m{
        text-align: center;
    }
    
    .gnb_Title_m.active, .gnb_Title_m.active .gnb2_m li a { 
        color: #44372B;
    }

    .gnb2_m.room, .gnb2_m.special {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .gnb2_m.room li, .gnb2_m.special li {
        width: 49%;
    }
    .header_m .logo_m img{
        /* width: 60px; */
    }
    
}

@media(max-width:350px){
    .gnb_Title_m{
        font-size: 22px;
    }
}