/* header */
.nav_btn{display: none;width: 62px;height: 62px;position: fixed;top: 3px; right: 3%;transition: .1s;cursor: pointer;z-index:10000;}
.nav_btn .ham4 .top {stroke-dasharray: 40 121;}
.nav_btn .ham4 .bottom {stroke-dasharray: 40 121;}
.nav_btn.on .ham4 .top {stroke-dashoffset: -68px;}
.nav_btn.on .ham4 .bottom {stroke-dashoffset: -68px;}

.nav_btn .ham {cursor: pointer;-webkit-tap-highlight-color: transparent;transition: transform 400ms; -moz-user-select: none;-webkit-user-select: none;-ms-user-select: none;user-select: none;}
.nav_btn.on .hamRotate {transform: rotate(45deg);}
.nav_btn .line {fill:none; transition: stroke-dasharray 400ms, stroke-dashoffset 400ms; stroke:#231815; stroke-width:5; stroke-linecap:round;}  

/* .nav_btn.sticky.open .line {stroke:#fff;} */



#header .header {position: fixed;top:0;left: 0;width: 100%;z-index:9990;transition: All .5s ease; padding: 1.7rem 0 1.3rem; background-color: #fff;}
#header .header .inner {width: 90%; max-width: calc(1500px + 2rem); padding: 0 1rem; margin: auto;display: flex; align-items: center; justify-content: space-between;}

#header a {color:#151515;}
/* #header .header .logo img {width: 10.5625rem;} */



@media (min-width:991px){
    #header .header .logo {width: 10.5625rem; position: absolute; height: auto; top:50%; left: 50%; transform: translate(-50%, -50%); z-index: 999;}

    #header #header_menu {width: 100%;}
    #header .header .nav-menu-ul {display: flex; justify-content: space-between;}
    #header .header .nav-menu-ul li {width:calc((50% - 11rem)); text-align: center;}
    #header .header .nav-menu-ul li:nth-child(3) {margin-right: 11rem;}
    #header .header .nav-menu-ul li:nth-child(4) {margin-left: 11rem;}
    #header .header .nav-menu-ul li a {font-size: 20px;}
}



@media (max-width:990px){
    #header .header {padding: 1.6rem 0 1.7rem;}
    #header .header .logo {position: relative; z-index: 9999;}
    .nav_btn{display: inline-block;}

    
    #header .header .nav-menu{flex-wrap:wrap; overflow: hidden; position: fixed; right: 0; z-index: 9997;letter-spacing: 0px;transition-timing-function: ease-in-out;
    width: 100%;height: 100%; padding: 5rem; top: -100%; background-position: center;background-repeat: no-repeat;background-size: cover;
    background-position:left center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
    -ms-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-duration: .5s;
    -ms-transition-duration: .5s;
    -moz-transition-duration: .5s;
    -webkit-transition-duration: .5s;
    -o-transition-duration: .5s;}

    #header .header .nav-menu-ul {display: flex; flex-direction: column; gap:3.5rem;}
    #header .header .nav-menu-ul li a {font-size: 2.5rem;}

    #header .header .nav-menu.on{padding-top:11.5rem;top:0}
    #header .header .nav-menu.on #lnb{opacity: 1;transition: All .5s ease;}
    #header .nav-menu.on:after {display: block;content: "";clear: both;width: calc(100% - 8px);height: 72px;background: #fff; border-bottom:1px solid #dedede; position: fixed;top: 0;left: 0;}

    #header .header #menu .nav-menu-ul {flex-direction: column; padding: 0 2em;}
    #header .header #menu .nav-menu-ul li.active {font-weight: 400;}
    #header .header #menu .nav-menu-ul li {font-size: 16px; margin-top: .5rem; width: fit-content; position: relative; padding-bottom: .2em;}
    #header .header #menu .nav-menu-ul li:first-child {margin-top:0;}
    #header .header #menu .nav-menu-ul li:hover {transition: 1s;}
    #header .header #menu .nav-menu-ul li:hover:after {content:''; position: absolute; width: 100%; height: 2px; background-color:var(--pointcolor); left: 0; bottom:0;}
}




/* counsel_pop */
.counsel_pop {transition: .3s all ease; width: 100%; position: fixed; color:#fff; bottom:0; left:0; right:0; margin: auto; z-index: 9989;background: var(--pointcolor); padding: 1rem 1rem .7rem;}

.counsel_pop .inner {max-width: 1800px; width: 95%; margin: auto; display: flex;align-items: center; justify-content: space-between; gap:1rem; padding: 0 1rem;}
.counsel_pop .counsel_Btn {width: fit-content; padding: 1rem; cursor: pointer; background-color: var(--pointcolor); border-radius: 1.25rem 1.25rem 0 0; position: absolute; font-size: 2rem; color:#fff; transform: translateY(-100%); left: 0; right: 0; margin: auto; padding: 1rem 2.7rem;}

.counsel_pop .counselTit {margin-right: 1rem; white-space: nowrap;}
.counsel_pop .counsel_box {display: flex; align-items: center; flex-grow: 1; gap:0 1rem; background-color: #c62828; border-radius: .5rem; padding: 0 1rem 0 2rem;}

.counsel_pop .counsel_box.name, .counsel_pop .counsel_box.place {max-width: 20rem; width: 100%;}
.counsel_pop .counsel_box.tel {max-width: 23.5rem; width: 100%;}

.counsel_pop .counsel_box input[type="text"], .counsel_pop .counsel_box textarea, .check_box input[type="text"] {padding:1rem 0rem 0.7rem; color:#fff; background-color: transparent; width: 100%; border:0; box-shadow: none;}
.counsel_pop .submit_box button {background-color: #1a1a1a; padding:1rem 1.5rem .7rem; color:#fff; border-radius: .5rem; animation: pulse .5s infinite both;}
.counsel_pop .counsel_box input::placeholder {color:#e76e6e; font-size: 1rem;}
.counsel_pop input[type=text]:focus, .counsel_pop textarea:focus {border:none !important;}
.counsel_pop .check_box {/* flex-grow: 1; */ align-self: flex-end; white-space: nowrap;}

.counsel_pop input[type="checkbox"]{display: none;}
.counsel_pop input + label {max-width: 16px; width: 100%; height: 16px; border: 1px solid #fff; display: inline-block; cursor: pointer; vertical-align: middle; user-select: none }
.counsel_pop input:checked + label {background:#000;}
.counsel_pop input + label + label {margin-left: 7px; font-size: .875rem; position: relative; cursor: pointer; user-select: none;}

.counsel_pop a {color:#fff;}
@media(max-width:1880px) {
    .counsel_pop .counsel_box.name, .counsel_pop .counsel_box.place {max-width: 18rem;}
}
@media(min-width:1441px) {
    .counsel_pop .counsel_Btn {display: none;}
}
@media(max-width:1440px) {
    .counsel_pop .inner {flex-wrap: wrap;}
    .counsel_pop .counselTit {width: 100%; text-align: center;}
}
@media(max-width:1440px) {
    .counsel_pop {transform: translateY(100%);}
    .counsel_pop.on {transform: translateY(0%);}

    .counsel_pop .counsel_box.name, .counsel_pop .counsel_box.place, .counsel_pop .counsel_box.tel {max-width: calc((100% - 2rem) / 3);}
    .counsel_pop .submit_box, .counsel_pop .check_box {width: 48%;}
    .counsel_pop .submit_box button {width: 100%;}
}
@media(max-width:500px) {
    .counsel_pop .counsel_box.name, .counsel_pop .counsel_box.place, .counsel_pop .counsel_box.tel {max-width: 100%;}
    .counsel_pop .submit_box {width: 100%;}
}


.q_link.top {position: fixed;right: 3.125rem;bottom:7.5rem;width:4.1875rem;height:4.1875rem;display:flex;justify-content: center;align-items: center;z-index: 9980;background-color:var(--pointcolor);border-radius: 50%; box-shadow: 0 0 6px rgba(0,0,0,0.2);}
@media(max-width:500px) {
    .q_link.top {right: 1.5rem; bottom:5rem;}
}











