/* ===============================================================
    * header
=============================================================== */
.header {position: fixed; z-index: 999; left: 0; right: 0; top: 0; height: 106px; display: flex; justify-content: space-between; align-items: center; padding: 0 4.17vw; transition: .3s;}
.header .logo {width: 150px;}
.header .logo img {width: 100%; height: auto; object-fit: cover;}
.header .logo-h {display: none;} 
.header .width-max {display: flex; justify-content: space-between; align-items: center; margin: 0 15px;}
.header .width-max li {font-family: 'Heebo', sans-serif; text-transform: capitalize; font-size: 14px; transition: .3s;}
.header .width-max li a {color: #fff;}
.header .gnb {display: flex; justify-content: flex-start; align-items: center;}
.header .gnb li {margin-right: 50px;}
.header .links {display: flex; justify-content: flex-end; align-items: center; }
.header .links li {margin-left: 35px;}
.header .insta-link{ display: block; width: 30px; height: 30px; position: absolute; right: 6.78vw;}
.header .insta-link img{ width: 100%; height: 100%; object-fit: cover;}
.header-icon {position: relative; width: 26px; height: 18px; cursor: pointer; flex: none;}
.header-icon span {position: absolute; left: 0; right: 0; height: 3px; background: #fff; transition: .3s;}
.header-icon .line-a {top: 0;}
.header-icon .line-b {top: 50%;}
.header-icon .line-c {top: 100%;}
/* hover */
.header.active, .header.fixed {background: #fff;}
.header.active .logo-h, .header.fixed .logo-h {display: block;}
.header.active .logo-w, .header.fixed .logo-w {display: none;}
/* .header.active .width-max li, .header.fixed .width-max li {color: #263a4f;} */
/* .header.active .width-max li:hover, .header.fixed .width-max li:hover {color: #a3cc01;} */
.header.active .header-icon span, .header.fixed .header-icon span {background: #263a4f;}
.header:hover .width-max li a {color: #263a4f; transition: .3s;}
.header:hover .width-max li a:hover {color: #a3cc01;}
/* fixed */
.header.fixed {height: 80px;}
.header.fixed .logo img {width: 116px; height: auto;}
.header.fixed .width-max li a {color: #263a4f; transition: .3s;}
.header.fixed .width-max li a:hover {color: #a3cc01;}
/* panel */
.panel {position: fixed; z-index: 900; top: 0; bottom: 0; right: -100%; width: 40%; padding-left: 80px; display: flex; justify-content: flex-start; align-items: center; background: #fff; transition: .3s; box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);}
.panel-main h2 {font-family: 'Oswald', sans-serif; font-weight: bold; text-transform: capitalize; color: #999; cursor: pointer; font-size: 40px; line-height: 60px; transition: .3s; margin-bottom: 10px;}
.panel-main:hover h2, .panel-main.active h2 {color: #283c51;}
.panel-sub {display: none; margin-bottom: 30px;}
.panel-sub li {font-size: 16px; letter-spacing: -0.025em; line-height: 32px; color: #999; transition: .3s;}
.panel-sub li:hover {color: #283c51;}
/* body.nav-active */
body.nav-active .header {background: #fff;}
body.nav-active .logo-h {display: block;}
body.nav-active .logo-w {display: none;}
body.nav-active .width-max li {color: #263a4f;}
body.nav-active .width-max li:hover {color: #a3cc01;}
body.nav-active .header-icon span {background: #263a4f;}
body.nav-active .line-a {top: 50%; transform: rotate(45deg);}
body.nav-active .line-b {display: none;}
body.nav-active .line-c {top: 50%; transform: rotate(-45deg);}
body.nav-active .panel {right: 0;}
@media (max-width: 1600px){
    .header .links { padding-right: 3.7vw; }
}
@media (max-width: 1200px){
    .header {padding: 0 15px;}
    .header .logo {width: 116px;}
    .header.fixed .logo img {width: 100%;}
    .header .links{ padding-right: 50px;}
    .header .links span {display: none;}
    .header .insta-link{ display: block; width: 30px; height: 30px; position: absolute; right: 50px;}

}
@media (max-width: 850px){
    .header {height: 50px !important; background: #fff;}
    .header .logo-h {display: block;}
    .header .width-max {justify-content: flex-end;}
    .header .width-max li {font-size: 22px; color: #263a4f;}
    .header .gnb {display: none;}
    .header .links li {margin-left: 15px;}
    .header-icon {width: 22px; height: 16px;}
    .header-icon span {background: #263a4f; height: 2px;}

    .panel {width: 90%; padding-left: 40px;}
    .panel-main h2 {font-size: 30px; line-height: 40px;}
    .panel-sub {margin-bottom: 20px;}
    .panel-sub li {font-size: 12px; line-height: 27px;}
}

/* ===============================================================
    * footer
=============================================================== */
footer {padding: 0 4.17vw; border-top: 2px solid #f0f0f0;}
.f-info {padding: 3.13vw 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; border-bottom: 2px solid #f0f0f0;}
.f-top {display: flex; justify-content: flex-start; align-items: center;}
.f-top img {width: 132px; height: auto; object-fit: cover; margin-right: 40px;}
.f-top ul {display: flex; justify-content: flex-start; align-items: center;}
.f-top li {font-size: 13px; color: #999; margin: 0 10px;}
.f-btm {margin-left: auto; padding: 20px 0;}
.f-btm ul {display: flex; justify-content: flex-end; align-items: center;}
.f-btm li {margin-right: 60px;}
.f-btm h2 {font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: bold; color: #263a4f; margin-bottom: 10px; text-transform: uppercase;}
.f-btm p {font-size: 14px; color: #222;}
.f-copy {padding: 40px 0; display: flex; justify-content: space-between; align-items: center;}
.f-copy p {font-size: 14px;}
.f-copy ul {display: flex; justify-content: flex-end; align-items: center;}
.f-copy li {font-size: 13px; color: #222; margin-left: 10px;}
@media (max-width: 850px){
    footer {padding: 0;}
    .f-info {display: block; border: none; padding: 0;}
    .f-top {display: block; padding: 40px 15px; border-bottom: 1px solid #dddddd;}
    .f-top img {margin-bottom: 30px;}
    .f-top ul {display: block;}
    .f-top li {font-size: 12px; line-height: 25px; margin: 0;}
    .f-btm {padding: 40px 15px 20px; border-bottom: 1px solid #dddddd;}
    .f-btm ul {display: block;}
    .f-btm li {margin-right: 0; margin-bottom: 20px;}
    .f-btm h2 {font-size: 17px;}
    .f-btm p {font-size: 14px;}
    .f-copy {padding: 20px;}
    .f-copy p {display: none;}
    .f-copy ul {flex-wrap: wrap;}
    .f-copy li {font-size: 12px; line-height: 22px;}
}