
html.stop, body.stop {
    overflow: hidden;
}

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

.header {
    height: 90px;
    transition: all .3s;
}

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

header.on .header, header.sub .header {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.hd-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    margin: 0px auto;
    padding: 0 20px;
    max-width: 100%;
	/*max-width: 1560px;*/
}

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

.logo img {
    max-width: 170px;
    width: 100%;
}

.hd-box .depth1 {
    display: flex;
    text-align: center;
    margin-right: 100px;
}

.hd-box .depth1::before {
    content: '';
    display: block;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 0;
    background: #fff;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
}

.hd-box .depth1.active::before {
    height: 80px;
    opacity: 1;
    visibility: visible;
}

.depth1 > li {
    width: 120px;
    display: inline-block;
    text-align: center;
}

.hd-box .nav-a {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 90px;
    display: block;
    position: relative;
}

.hd-box .nav-a::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #84dcff;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scale(0);
    transition: all .3s;
    
}

.depth1 > li:hover .nav-a::after {
    transform: scale(1);
}

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

header.on .hd-box .nav-a, header.sub .hd-box .nav-a {
    color: #000;
}

.depth1 .menu {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    width: 100%;
    z-index: 3;
    overflow: hidden;
    visibility: hidden;
}

.depth1 .menu.active {
    visibility: visible;
    display: flex;
}

.depth2 {
    display: flex;
    width: 100%;
    justify-content: center;
}

header.on .depth2 {
    border-bottom: 1px solid #e8e8e8;
}

.depth2 > li {
    line-height: 80px;
}

.depth2 > li a {
    color: #5e5e5e;
    display: block;
    font-size: 1.7rem;
    padding: 0 20px;
    transition: all .2s;
    font-weight: 500;
    margin: 0 10px;
}

.depth2 > li a:hover {
    color: #66d4ff;
}

.hd_right .search_btn {
    width: 24px;
    cursor: pointer;
    filter: brightness(0) invert(1);
}

.active .hd_right .search_btn {
    filter: brightness(1) invert(0);
}

header.on .hd_right .search_btn, header.sub .hd_right .search_btn {
    filter: brightness(1) invert(0); 
}

@media only screen and (max-width: 1024px) {
    .hd-box .nav {
        display: none;
    }
}

/* 후원 */
.sponsor-a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 600 !important;
    color: #ff869b !important; /* 핑크 */
    /*color: #6dcbe8 !important;  블루 */
}

.nav-icon-box {
    position: relative;
    margin-left: 10px;
}

.hand-icon {
    position: relative;
    width: 15px;
    height: 23px;
    text-indent: -999999em;
    background: url("/img/hand.svg") no-repeat center bottom;
    z-index: 2;
}

@keyframes heart-motion { 
    0% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(0.9);
    }
}

.heart-icon {
    position: absolute;
    width: 19px;
    left: 0;
    top: -44px;
    animation: heart-motion 3s linear .3s infinite;
}

/* 햄버거 */
.hamburger {
    width: 29px;
    height: 29px;
    z-index: 999;
    position: relative;

    display: none;
}

.hamburger.sitemap .line {
    background-color: #000;
}

.hamburger .line {
	width: 29px;
	height: 3px;
	background-color: #fff;
	display: block;
	margin: 7px 0;
	-webkit-transition: transform 0.3s ease-in-out;
	-o-transition: transform 0.3s ease-in-out;
	transition: transform 0.3s ease-in-out;
}

.hamburger .line:nth-child(2) {
    width: 23px;
}

.active .hamburger .line, header.on .hamburger .line, header.sub .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(11px) rotate(45deg);
	-ms-transform: translateY(11px) rotate(45deg);
	-o-transform: translateY(11px) rotate(45deg);
	transform: translateY(11px) rotate(45deg);
}

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

/* search */
.web_sch {
    position: absolute;
    top: 90px;
    right: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    z-index: 2;
    padding: 0 20px;
    display: none;
}

.web_sch #hd_sch {
    border: none;
    outline: none;
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
    font-size: 18px;
}

.web_sch #hd_sch form {
    display: flex;
    align-items: center;
}

.web_sch #hd_sch input {
    margin: 0 auto;
    max-width: 670px;
    padding: 28px 0;
    line-height: 1.3;
    width: 100%;
}

.web_sch #hd_sch input::placeholder {
    color: #c9c9c9;
}

.web_sch #hd_sch input:focus {
    outline: none;
}

.web_sch #hd_sch button > img {
    width: 21px;
}

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

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

header.sch .hd_right .search_btn {
    filter: brightness(1) invert(0);
}

header.sch .hd-box .hamburger .line {
    background-color: #000;
}

header.sch::after {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: -1;
}


@media only screen and (max-width: 1024px) {
    .web_sch {
        top: 70px;
        height: 70px;
    }

    .web_sch #hd_sch input {
        padding: 23px 0;
    }
}

@media only screen and (max-width: 740px) {
    .web_sch #hd_sch input {
        max-width: none;
    }
}

/* moble */
/* header */
.mobile .header {
    height: 70px;
}

.mobile .hd-box {
    height: 70px;
}

.mobile .logo img {
    max-width: 138px;
}

.mobile .hd_right div {
    display: inline-block;
}

.mobile .hd_right .search_btn {
    max-width: 20px;
}

.mobile .search {
    margin-right: 15px;
}

.mobile .hamburger {
    width: 24px;
    height: 24px;
    z-index: 999;
    display: block;
}

.mobile .hamburger .line {
    width: 24px;
    height: 2px;
    margin: 5.5px 0;
}

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

.mobile .hamburger .line:nth-child(2) {
    width: 21px;
}

/* side */
.mobile .m_hamburger {
    z-index: 999;
    display: block;
    margin: 10px 20px;
}

.mobile .m_hamburger .line {
    background-color: #fff;
}

.m-hd-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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;
    overflow-y: hidden;
}

.m_hd .m-hd-box {
    height: 100%;
}

.m_hd .logo {
    padding: 20px 20px;
}

.mobile_header  .hamburger .line {
    width: 24px;
    height: 2px;
    margin: 5.5px 0;
    background: #000;
}

.m_hd .m-hd-box .m_top {
    font-size: 16px;
    color: #333;
    line-height: 1.3;
    padding: 0 30px 20px;
    font-weight: 400;
    margin: 15px 0 0;
    border-bottom: 5px solid #f3f3f3;
}

.m_hd .m-hd-box .m_top b {
    font-weight: 600;
}

.m_hd .m-hd-box .m_top a {
    display: block;
    padding: 12px;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 15px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    background: #76d8ff;
}

.m_hd .m-hd-box .nav {
    display: flex;
    height: 100%;
}

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

.m_hd .depth1 {
    background: #f3f3f3;
    display: inline-block;
    width: 30%;
    transition: .3s;
}

.m_hd .depth1 > li {
    display: block;
    text-align: left;
    line-height: 80px;
    font-size: 16px;
    color: #111;
    padding: 0 0 0 15px;
    font-weight: 500;
    cursor: pointer;
}

.m_hd .depth1 > li.active {
    background: #fff;
}


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

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

.m_hd .depth2 > ul {
    display: none;
}

.m_hd .depth2 > ul.active {
    display: block;
}

.m_hd .depth2 li {
    width: 100%;
}

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

.m_hd .depth2 li > a {
    padding: 0;
    text-align: left;
    font-size: 17px;
    background: transparent;
    border-radius: 0;
    color: #333;
    margin: 0;
}

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

@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: 375px) {
    .m_hd .depth1 {
        width: 26%;
    }

    .m_hd .depth2 {
        padding: 30px 30px;
    }
}