@charset "UTF-8";
header {
  z-index: 999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  position: fixed;
  width: 100%;
  top: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
  height: 100%;
  max-height: 80px;
  -webkit-transition: max-height 0.25s;
  transition: max-height 0.25s;
}
header .logo {
  width: 150px;
  display: block;
}
header .logo img {
  width: 100%;
}
header .max_with_wrap {
  width: 100%;
  max-width: 1920px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 80px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 50px;
  margin: 0 auto;
}
header .max_with_wrap .menu_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
}
header .max_with_wrap .menu_list li {
  min-width: 160px;
  height: 100%;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
header .max_with_wrap .menu_list li a {
  font-family: "Pretendard-Bold";
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}
header .hamburger {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
header .hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header.hide {
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  /* 슬라이드 업 숨김 */
}
header.show {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  /* 슬라이드 다운 표시 */
}
header.scrolled {
  background-color: white;
  /* 스크롤 내리면 흰색 */
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header.scrolled .logo img {
  content: url("/img/logo_color.png");
}
header.scrolled .hamburger span {
  background: #333;
}
header.scrolled .max_with_wrap .menu_list li a {
  color: #333;
}
header.scrolled .max_with_wrap .menu_list li a:hover {
  color: #193867;
}

@media screen and (max-width: 1300px) {
  header .max_with_wrap {
    padding: 0 30px;
  }
  header .max_with_wrap .menu_list li {
    min-width: 120px;
  }
}
@media screen and (max-width: 1040px) {
  header {
    overflow: visible;
  }
  header .max_with_wrap {
    padding: 0 20px;
  }
  header .max_with_wrap .menu_list {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background: #fff;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding-top: 80px;
    -webkit-box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    -webkit-transition: right 0.3s ease;
    transition: right 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 1000;
  }
  header .max_with_wrap .menu_list li a {
    color: #333;
    font-size: 18px;
  }
  header .max_with_wrap .menu_list li a:hover {
    color: #193867;
  }
  header .max_with_wrap .menu_list.active {
    right: 0;
  }
  header .max_with_wrap .hamburger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 9999;
  }
}