/* ===============================================================
    * header
=============================================================== */
.cm-top {position: fixed; z-index: 999; left: 0; right: 0; top: 0; padding: 30px; display: flex; justify-content: space-between; align-items: center; transition: .4s;}
.cm-top .btn-menu {position: relative; width: 28px; height: 20px; cursor: pointer;}
.cm-top .btn-menu span {position: absolute; display: block; width: 100%; height: 1px; background: #fff; box-shadow: 1px 1px 4px 0px rgba(52, 43, 37, 0.2); transition: .4s;}
.cm-top .btn-menu .line-a {top: 0; left: 0;}
.cm-top .btn-menu .line-b {top: 50%; left: 5px;}
.cm-top .btn-menu .line-c {top: 100%; left: 0;}
.cm-top .logo {position: absolute; left: 50%; top: 30px; transform: translateX(-50%); text-align: center; color: #fff; text-shadow: 1px 1px 4px rgba(52, 43, 37, 0.2); transition: .4s;}
.cm-top .logo h1 {font-size: 24px; margin-bottom: 10px; transition: .4s;}
.cm-top .logo h2 {font-size: 14px; letter-spacing: 0.1em; transition: .4s;}
.cm-top .btn-book {width: 180px; height: 50px; line-height: 50px; text-align: center; font-size: 14px; letter-spacing: 0.1em; border: 1px solid #fff; background: transparent; color: #fff; text-transform: uppercase; box-shadow: 1px 1px 4px 0px rgba(52, 43, 37, 0.2); transition: .4s;}
.cm-top .btn-book:hover {background: #fff; color: var(--color-1);}
/* fixed */
.cm-top.fixed {height: 80px; padding: 0 30px; background: #fff; border-bottom: 1px solid #ccc;}
.cm-top.fixed .btn-menu span {background: var(--color-1); box-shadow: none;}
.cm-top.fixed .logo {color: var(--color-1); top: 50%; transform: translate(-50%,-50%); text-shadow: none;}
.cm-top.fixed .logo h1 {font-size: 22px; margin-bottom: 5px;}
.cm-top.fixed .logo h2 {opacity: 0.7; font-size: 12px;}
.cm-top.fixed .btn-book {height: 42px; line-height: 42px; color: var(--color-1); border-color: var(--color-1); box-shadow: none;}
.cm-top.fixed .btn-book:hover {background: var(--color-1); color: #fff;}
/* gnb */
.gnb-wrap {position: fixed; z-index: 998; left: 0; right: 0; top: 0; height: 100vh; overflow: hidden; transform: translateY(-100%);}
.gnb-wrap:before {content: ''; position: absolute; left: 0; right: 0; top: 0; height: 100vh;; background: url(/img/cm/bg.jpg) no-repeat center / cover; z-index: -1; transform: translateY(-100%); opacity: 0; transition: cubic-bezier(0.77, 0, 0.175, 1) 0.8s; transition-delay: .3s;}
.gnb-wrap:after {content: ''; position: absolute; left: 0; right: 0; top: 0; height: 100vh;; background: #222; z-index: -2; transform:  translateY(-100%); opacity: 0; transition: cubic-bezier(0.77, 0, 0.175, 1) 0.8s;}
.gnb-wrap .call {position: absolute; white-space: nowrap; left: 30px; bottom: 30px; font-size: 14px; color: #fff; opacity: 0; visibility: hidden; transition: .4s; transition-delay: 0.5s;}
.gnb-box {position: absolute; left: 0; right: 0; top: 30%;}
.gnb {width: 100%; display: flex; justify-content: space-between; align-items: flex-start; padding: 0 30px;}
.gnb-main {position: relative; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: cubic-bezier(0.77, 0, 0.175, 1) .7s;}
.gnb-main h2 {font-weight: 600; text-transform: capitalize; color: #fff; font-size: 40px; cursor: pointer;}
.gnb-sub {margin-top: 50px;}
.gnb-sub li {font-size: 14px; line-height: 36px; color: #fff; opacity: 0.5; white-space: nowrap; transition: .4s;}
.gnb-sub li:hover {opacity: 1;}

/* body.nav-active */
body.nav-active {overflow: hidden;}
body.nav-active .cm-top {background: none;}
body.nav-active .cm-top .btn-menu span {background: #fff;}
body.nav-active .cm-top .btn-menu .line-a {top: 50%; transform: rotate(45deg);}
body.nav-active .cm-top .btn-menu .line-b {left: 0; transform: rotate(-45deg);}
body.nav-active .cm-top .btn-menu .line-c {top: 50%; transform: rotate(-45deg);}
body.nav-active .cm-top .logo {color: #fff;}
body.nav-active .cm-top .btn-book {border-color: #fff; color: #fff;}
body.nav-active .cm-top .btn-book:hover {background: #fff; color: var(--color-1);}
body.nav-active .gnb-wrap {transform: translateY(0); opacity: 1; visibility: visible;}
body.nav-active .gnb-wrap:before {transform: translateY(0); opacity: 1;}
body.nav-active .gnb-wrap:after {transform: translateY(0); opacity: 0.7;}
body.nav-active .gnb-wrap .call {opacity: 1; visibility: visible;}
body.nav-active .gnb-main {opacity: 1; visibility: visible; transform: translateY(0);}
body.nav-active .gnb-main:nth-of-type(1) {transition-delay: 0.8s;}
body.nav-active .gnb-main:nth-of-type(2) {transition-delay: .9s;}
body.nav-active .gnb-main:nth-of-type(3) {transition-delay: 1s;}
body.nav-active .gnb-main:nth-of-type(4) {transition-delay: 1.1s;}
body.nav-active .gnb-main:nth-of-type(5) {transition-delay: 1.2s;}
body.nav-active .gnb-main:nth-of-type(6) {transition-delay: 1.3s;}
body.nav-active .gnb-main:nth-of-type(7) {transition-delay: 1.4s;}

.panel-wrap {position: fixed; z-index: 998; left: 0; right: 0; top: 0; height: 100vh; overflow: hidden; transform: translateY(-100%); display: flex; align-items: center;}

@media (max-width: 992px){
    .cm-top {height: 50px !important; padding: 0 15px !important; border-bottom: 1px solid rgba(34,34,34,.2);}
	.cm-top .btn-menu {width: 23px; height: 15px;}
	.cm-top .logo {top: 50%; transform: translate(-50%,-50%); padding-top: 5px; white-space: nowrap;}
	.cm-top .logo h1 {font-size: 15px !important; margin-bottom: 0 !important;}
	.cm-top .logo h2 {font-size: 18px !important; opacity: 0.6; transform: scale(0.5); transform-origin: center;}
    .cm-top .btn-book {width: auto; height: auto !important; line-height: 1 !important; border: none; font-size: 22px; box-shadow: none; text-shadow: 1px 1px 4px rgba(52, 43, 37, 0.2);}

    .gnb-wrap {display: none;}

    .panel-wrap:before {content: ''; position: absolute; left: 0; right: 0; top: 0; height: 100vh;; background: url(/img/cm/bg.jpg) no-repeat center / cover; z-index: -1; transform: translateY(-100%); opacity: 0; transition: cubic-bezier(0.77, 0, 0.175, 1) 0.8s; transition-delay: .3s;}
    .panel-wrap:after {content: ''; position: absolute; left: 0; right: 0; top: 0; height: 100vh;; background: #222; z-index: -2; transform:  translateY(-100%); opacity: 0; transition: cubic-bezier(0.77, 0, 0.175, 1) 0.8s;}
    .panel-box {width: 100%; height: calc(100vh - 150px); display: flex; justify-content: flex-start; align-items: center; padding-left: 50px; overflow-y: auto;}
    .panel-main {position: relative; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: cubic-bezier(0.77, 0, 0.175, 1) .7s;}
    .panel-main h2 {font-size: 30px; font-weight: 600; text-transform: capitalize; padding: 10px 0; color: #777; transition: .4s;}
    .panel-main.active h2 {color: #fff;}
    .panel-sub {padding-left: 10px; padding-bottom: 20px; display: none;}
    .panel-sub li {font-size: 13px; line-height: 30px; color: #fff; opacity: 0.5;}

    body.nav-active .panel-wrap {transform: translateY(0); opacity: 1; visibility: visible;}
    body.nav-active .panel-wrap:before {transform: translateY(0); opacity: 1;}
    body.nav-active .panel-wrap:after {transform: translateY(0); opacity: 0.7;}
    body.nav-active .panel-main {opacity: 1; visibility: visible; transform: translateY(0);}
    body.nav-active .panel-main:nth-of-type(1) {transition-delay: 0.8s;}
    body.nav-active .panel-main:nth-of-type(2) {transition-delay: .9s;}
    body.nav-active .panel-main:nth-of-type(3) {transition-delay: 1s;}
    body.nav-active .panel-main:nth-of-type(4) {transition-delay: 1.1s;}
    body.nav-active .panel-main:nth-of-type(5) {transition-delay: 1.2s;}
    body.nav-active .panel-main:nth-of-type(6) {transition-delay: 1.3s;}
    body.nav-active .panel-main:nth-of-type(7) {transition-delay: 1.4s;}
}


/* ===============================================================
    * footer
=============================================================== */
footer {background: #2b2928;}
.f-top {display: flex; justify-content: space-between; align-items: flex-start; padding: 80px 0;}
.f-logo {color: #fff;}
.f-logo h2 {font-size: 24px;}
.f-logo h3 {font-size: 14px; letter-spacing: 0.1em; margin: 15px 0 50px;}
.f-info li {position: relative; font-size: 12px; padding-right: 16px; line-height: 30px; display: inline-block; color: #fff; opacity: 0.5;}
.f-info li:after {content: ''; position: absolute; width: 1px; height: 11px; background: #fff; opacity: 0.5; top: 50%; transform: translateY(-50%); right: 8px; display: none;}
.f-info li:nth-of-type(1):after, .f-info li:nth-of-type(2):after {display: block;}
.f-top .links {text-align: right;}
.f-top .links li {position: relative; display: inline-block; padding-left: 12px; font-size: 12px; line-height: 26px; letter-spacing: 0.02em; color: #948f8d;}
.f-top .links li.cf {color: #fff;}
.f-top .links li:after {content: ''; position: absolute; width: 1px; height: 10px; background: #948f8d; top: 50%; transform: translateY(-50%); left: 2px;}
.f-top .links li:first-of-type:after {display: none;}
footer .copy {font-size: 12px; color: rgba(255,255,255,.2); padding: 40px 0; border-top: 1px solid rgba(255,255,255,.1);}
@media (max-width: 992px){
    .f-top {padding: 40px 0; display: block;}
    .f-logo h2 {font-size: 19px;}
    .f-logo h3 {font-size: 11px; margin: 10px 0 30px;}
    .f-info li {font-size: 12px; line-height: 22px; padding-right: 10px;}
    .f-info li:after {right: 0;}
    .f-info li:nth-of-type(2):after {display: none;}
    .f-top .links {text-align: left; margin-top: 30px;}
    .f-top .links li {font-size: 12px; line-height: 25px; padding-right: 10px; padding-left: 0;}
    .f-top .links li:after {left: initial; right: 2px; display: block !important;}
    .f-top .links li:nth-of-type(4):after, .f-top .links li:last-of-type:after {display: none !important;}
    footer .copy {padding: 20px 0;}
}