
html.stop {
    height: 100%;
    overflow: hidden;
}

body.stop {
    height: 100%;
    overflow: hidden;
}

/* header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all .5s;
}

.headerInner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    margin: 0px auto;
    padding: 0 30px;
    max-width: 1600px;
}

.headerInner.fixed {
    position: fixed;
}

.headerInner .logo {
    display: inline-block;
    width: 100%;
    max-width: 150px;
    height: 100%;
    background: url("/img/logo_w.svg") no-repeat center center;
}

.active.headerInner .logo {
    background: url("/img/logo.svg") no-repeat center center;
}

.logo {
    display: inline-block;
    width: 100%;
    max-width: 175px;
    padding: 12.5px 0;
    z-index: 3;
}

.header {
    height: 90px;
    overflow: hidden;
    transition: height 0.3s ease-in-out, background 0.2s ease-in-out;
    position: absolute;
    text-align: center;
    top: 0;
    left: 0px;
    width: 100%;
}

.header.active {
    height: 180px;
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.header::after {
    content: "";
    display: block;
    opacity: 0;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ececec;
    z-index: 2;
}

.header.active::after, .header.on::after {
    opacity: 1;
    transition: all 0.4s ease-in-out;
}

.hd-box .nav {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 100px;
}

.hd-box .depth1 {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-left: 70px;
}

.depth1 > li {
    position: relative;
    width: 150px;

    display: inline-block;
    text-align: center;
}

.top_franchise {
    z-index: 1;
}

.top_franchise a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid #ffffff9e;
    border-radius: 16px;
    padding: 5px 20px;
}

.active .top_franchise a {
    color: #000;
    border-color: #535353;
}

.active .depth1 > li::after {
    content: " ";
    display: block;
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    background-color: #1d1d51;
    z-index: 3;
}

.active .depth1 > li:hover::after {
    transform: scaleX(1);
    transform-origin: bottom center;
    transition: all 0.1s ease-in-out;
}

.hd-box .nav-a {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 90px;
    display: block;
}

.active .hd-box .nav-a {
    color: #000;
}

.depth1 .menu {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;

    opacity: 0;
    visibility: hidden;
}

.depth1 > li:hover .menu {
    opacity: 1;
    visibility: visible;
}

.depth2 {
    display: flex;
    padding: 27px 35px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.depth2 > li a {
    font-size: 1.6rem;
    color: #5d5d5d;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.depth2 > li:first-child  a {
    padding: 8px 20px 8px 0
}

.depth2 > li a:hover {
    color: #000;
}
/* --------------- */

/* 햄버거 */
.hamburger {
    display: inline-block;
    width: 24px;
    height: 24px;
    z-index: 999;
    margin-top: 10px;
}

.hamburger .line {
	width: 24px;
	height: 2px;
	background-color: #fff;
	display: block;
	margin: 6px auto;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}


.active .hamburger .line, .on .hamburger .line, .hamburger.m_ham .line {
    background-color: #000;
}

.hamburger:hover {
	cursor: pointer;
}

#hamburger-1.is-active .line:nth-child(2) {
	opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1) {
	-webkit-transform: translateY(13px) rotate(45deg);
	-ms-transform: translateY(13px) rotate(45deg);
	-o-transform: translateY(13px) rotate(45deg);
	transform: translateY(13px) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3) {
	-webkit-transform: translateY(-13px) rotate(-45deg);
	-ms-transform: translateY(-13px) rotate(-45deg);
	-o-transform: translateY(-13px) rotate(-45deg);
	transform: translateY(-3px) rotate(-45deg);
}
/* --------------- */

@media only screen and (max-width: 1440px) {
    .depth1 > li {
        width: 120px;
    }
}

@media only screen and (max-width: 1200px) {
    .depth1 > li {
        width: 95px;
    }
}

@media only screen and (max-width: 1024px) {
    .depth1 {
        display: none !important;
        opacity: 0;
    }

    .depth1.open {
        display: flex !important;
        opacity: 1;
    }
}

/* sitemap */
.sitemap_hd {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: url("/img/map_bg.png") no-repeat bottom right #fff;
    z-index: 1;
    transition: all 0.3s 0.1s ease-in-out;

    display: none;
}

.sitemap_hd.on {
    display: block;
}

.sm-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.sm-depth1 {
    max-width: 1540px;
    padding: 0 20px;
    width: 100%;
    position: relative;
}

.sm-depth1 > li {
    display: flex;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);
    }
    to {
        transform: translateX(0);
    }
}

.sm-hd-box a.moving {
    animation: slideInFromRight 0.5s forwards;
}

.sm-hd-box .nav-a {
    width: 10%;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.2;
    color: #838396;
    margin-bottom: 50px;
    transition: .5s ease;
}

.sm-hd-box .nav-a.active{
    color: #fff;
}

.sm-depth1 > li::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    width: 39%;
    height: 100%;
    background: #2b2b42;
    pointer-events: none;
}

.sm-depth2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;

    display: none;
}

.active .sm-depth2 {
    display: block;
}

.sm-depth2 a {
    font-size: 2.8rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 40px;
    animation: none;
    transition: .45s ease;
}

.sm-depth2 a:hover {
    color: #555;
}

@media only screen and (max-width: 1600px) {
    .sm-hd-box .nav-a {
        margin-left: 5%;
    }

    .sm-hd-box .nav-a {
        font-size: 3rem;
    }

    .sm-depth2 a {
        font-size: 2.5rem;
    }
}

/* moble */
.m_hd {
    position: fixed;
    right: -480px;
    top: 0;
    max-width: 480px;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 4;
    transition: all 0.3s 0.1s ease-in-out;
    overflow: auto;
}

.m_hd.scroll::before {
    content: "";
    display: block;
    width: 480px;
    height: 69px;
    background-color: #fff;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 5;
}

.m_hd.on {
    right: 0;
}

.m_hd .logo {
    padding: 25px 50px;
}

.m_hd .hd-box .nav {
    padding: 20px 50px;
}

.m_hd .hd-box .nav-a {
    display: flex;
    justify-content: space-between;
    line-height: 80px;
    font-size: 18px;
    color: #000;
}

.m_hd .hd-box .depth1 {
    flex-direction: column;
    margin: 0;
}

.m_hd .depth1 > li {
    width: 100%;
    text-align: left;
}

.m_hd .depth1 > li::after {
    display: none;
}

.m_hd .depth1 > li > a::after {
    font-family: xeicon;
    content: "\e943";
    font-size: 1.15em;
}

.m_hd .depth1 .menu {
    position: static;
    background: #f9f9f9;
    opacity: 1;
    visibility: inherit;

    display: none;
}

.m_hd .depth2 {
    margin: 0;
    padding: 30px;
    display: block;
}

.m_hd .depth2 > li:not(:last-child) {
    margin-bottom: 20px;
}

.m_hd .depth2 > li > a {
    padding: 0;
    text-align: left;
    font-size: 16.5px;
}

@media only screen and (max-width: 1440px) {
    .hd-box .nav-a {
        font-size: 1.6rem;
    }

    .depth2 > li a {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 1024px) {
    header #navi { margin-right:250px; }
    header #navi #gnb > ul > li { width:155px; }
    .headerInner {
        padding: 0 50px;
    }

    .hd-box .nav-a {
        font-size: 2.2rem;
    }

    .depth2 > li a {
        font-size: 1.8rem;
    }

    .top_franchise {display: none;}
}

@media only screen and (max-width: 550px) {
    .headerInner {
        padding: 0 30px;
    }

    .headerInner .logo {
        max-width: 130px;
    }

    .m_hd .hd-box .nav {
        padding: 30px 35px;
    }
}

@media only screen and (max-width: 480px) {
    .m_hd.scroll::before {
        width: 100%;
    }
}

@media only screen and (max-width: 320px) {
    header {
        min-width: 320px;
    }
}