/* hidden_gnb */
.hidden_bg {
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  transition: all 0.3s ease-in-out;
}
.hidden_bg.on {
  opacity: 1;
  pointer-events: auto;
}
.hidden_menu {
  position: fixed;
  top: 0;
  right: 0;
  min-width: 270px;
  max-width: 400px;
  width: 92%;
  background: #fff;
  height: 100vh;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: scroll;
}
.hidden_bg.on .hidden_menu {
  transform: translateX(0%);
}

.close_menu {
  display: flex;
  justify-content: flex-end;
  margin: 2rem 2rem 0 0;
}
.hidden_gnb {
  font-size: 1.5rem;
}
.hidden_gnb > li:not(:last-child) {
  border-bottom: 1px solid #f5f5f5;
}
.hidden_gnb > li {
  margin: 0 10px;
}
.hidden_gnb > li > a {
  display: block;
  font-size: 1.7rem;
  padding: 10px 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  /* font-weight: normal; */
}
.hidden_gnb > li > a.on {
  font-weight: bold;
  color: #003b75;
}
.hidden_gnb > li:hover > a {
  color: #00a1e9;
}
.hidden_gnb .top_0 {
  display: none;
  background: #3333330d;
  padding: 20px 36px;
}
.hidden_gnb .top_0 > li > a {
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}
.hidden_gnb .top_0 > li > ul {
  padding-left: 10px;
  padding-bottom: 10px;
  font-size: 0.9em;
}
.hidden_gnb .top_0 > li > ul > li:not(:last-child) {
  margin-bottom: 0.5rem;
}
.hidden_gnb .top_0 li:last-of-type a {
  margin-bottom: 0px;
}
.gnb-plus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 4px;
}
.gnb-plus-icon svg {
  display: block;
}
.hidden_gnb .on .top_0 {
  display: block; /* on 클래스가 있는 메뉴의 하위 메뉴만 보여집니다. */
}
.hidden_bottom {
  background: #003b75;
  color: #fff;
  height: 28vh;
  max-height: 240px;
  width: 100%;
  box-sizing: border-box;
  padding: 1.5rem 2rem;
}
.hidden_bottom > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.hidden_bottom .call {
  width: 13px;
  margin-right: 5px;
}
.hidden_bottom a {
  color: rgb(52, 62, 71);
  font-weight: bold;
  font-size: 2rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}
.hidden_bottom .time_table {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.hidden_bottom .time_table li {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.hidden_bottom .time_table b {
  width: 80px;
  display: flex;
  justify-content: space-between;
}
.time_table p {
  margin-top: 15px;
  font-size: 1.4rem;
}
/* header */
.header_container {
  width: 100%;
  height: 80px;
}
header {
  /* height: 100px; */
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  position: fixed;
  transition: all 0.5s ease;
  z-index: 100;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.02);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid #d4d4d4;
  transition:
    height 0.4s ease,
    opacity 0.4s ease;
  overflow: hidden;
}
.logo-wrap.hide {
  height: 0;
  opacity: 0;
}
.h_logo {
  max-width: 285px;
  line-height: 0;
}

header .gnb > li > a {
  color: #003477;
}

header .h_left {
  height: 100%;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  gap: 5rem;
}
header .header_inner {
  margin: 0 auto;
  /* max-width: 1520px; */
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_menu {
  display: flex;
}
.header_menu .gnb {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}
.header_menu .gnb > li {
  flex: 1;
}
.header_menu .gnb > li > a {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  width: 100%;
  text-align: center;
  line-height: 80px;
  padding: 0 30px;
}
.header_menu .gnb > li > a img {
  width: 30px;
  height: 30px;
  line-height: 0px;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.2));
}
/* 1뎁스 hover 밑줄 이벤트 */
.header_menu .gnb > li > a::before {
  display: block;
  content: "";
  /* padding-top: 0.5rem; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-top: solid 4px #00a1e9;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}

.header_menu .gnb > li:hover > a::before {
  transform: scaleX(1);
}
.header_menu .gnb > li > a::before {
  transform-origin: 0% 50%;
}
.menu_left_deco {
  aspect-ratio: 3/2;
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 100px;
  left: 0;
}
/* 1뎁스 hover 동그라미 이벤트 */
/* .header_menu .gnb > li > a::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c0e0ff;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s;
}
.header_menu .gnb > li:hover > a::before {
  transform: translate(-50%, -50%) scale(1);
}
.header_menu .gnb > li:hover > a {
  color: #c0e0ff;
} */

/*  */
.header_menu .gnb > li {
  height: 100%;
}

.header_menu .gnb > li:hover .gnb_2depth_wrap {
  opacity: 1;
  pointer-events: auto;
  overflow: hidden;
}
.header_menu .gnb > li > .gnb_2depth_wrap {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 80px;
  background: #f4f5f7 url("../img/gnb_2depth_wrap_bg.png") no-repeat 100% 50% /
    400px;
  width: 100%;
  min-height: 370px;
  left: 0;
  display: flex;
  transition: top 0.4s ease;
}
/* logo-wrap 접혀 있을 때 2depth 드롭다운 위치 */
header:has(.logo-wrap.hide) .header_menu .gnb > li > .gnb_2depth_wrap {
  top: 60px;
}
.depth_2_left {
  width: 50%;
  /* max-width: 600px; */
}
.depth_2_left {
  background: #294989;
  color: #fff;
}
.header_logo_wrap {
  max-width: 240px;
}
.depth_2_left_cover {
  max-width: 650px;
  margin-left: auto;
  margin-right: 75px;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
}
.depth_2_left_cover > div {
  width: 100%;
}
.depth_2_left_l {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  max-width: 270px;
  gap: 150px;
}
.h_telnum {
  background: rgba(141, 221, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
}
.h_telnum img {
  width: 1.2em;
}
.depth_2_tit {
  color: #8babcf;
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 700;
}

.depth_2_tit img {
  max-width: 1em;
}
.gnb_2depth_wrap ol li {
  /* font-family: "Pretendard Variable"; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0.7rem;
}
.gnb_2depth_wrap ol li span {
  font-weight: 600;
  width: 108px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
}
.gnb_2depth_wrap ol + div {
  font-size: 17px;
  color: #8babcf;
  font-weight: 400;
}

/*  */
.header_menu .gnb_2depth_wrap .depth_2_right {
  padding: 50px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.header_menu .gnb_2depth_wrap .depth_2_right a {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.header_menu .gnb_2depth_wrap ul li:not(:last-of-type) {
  margin-bottom: 15px;
}
.header_menu .gnb_2depth_wrap ul li {
  font-weight: 600;
  color: #8e8e8e;
}
.header_menu .gnb_2depth_wrap ul li:hover {
  color: #004277;
  font-weight: 700;
  & svg > path {
    fill: #004277;
  }
}
/* depth_3 */
.depth_3_wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-height: 400px;
}
.depth_3_wrap li {
  min-width: 200px;
}

.h_right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
header .h_q_icon {
  display: flex;
  gap: 1rem;
  align-items: center;
  line-height: 0;
}
header .h_q_icon img {
  max-width: 50px;
}
header .h_q_icon .h_call {
  display: flex;
  align-items: center;
  gap: 1rem;
}
header .h_q_icon .h_call_txt {
  line-height: 1;
}
header .h_q_icon .h_call_txt i {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.5rem;
}
header .h_q_icon .h_call_txt b {
  font-size: 2.4rem;
  display: block;
  color: #003686;
}
/* header.scroll .open_menu{
    filter: invert(100%) sepia(100%) saturate(0) hue-rotate(200deg) brightness(200%) contrast(201%);
} */
header .open_menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  width: 26px;
  height: 19px;
  gap: 5px;
}
header .open_menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #003477;
  border-radius: 2px;
  transition: all 0.3s ease;
}
header .open_menu:hover span {
  background-color: #00a1e9;
}

@media (min-width: 0px) and (max-width: 1700px) {
}

@media (min-width: 0px) and (max-width: 1520px) {
  .header_container {
    height: 65px;
  }
  header .header_inner {
    height: 65px;
  }
  .header_menu .gnb > li > .gnb_2depth_wrap {
    top: 65px;
  }
  .header_menu .gnb > li > a {
    padding: 0 10px;
  }
  .hidden_gnb > li > a img {
    width: 24px;
  }
  .header_menu .gnb_2depth_wrap .depth_2_right {
    padding: 60px;
    padding-bottom: 0;
  }
  .header_menu .gnb > li > .gnb_2depth_wrap {
    background-size: 28%;
  }
  .depth_2_left_l {
    max-width: 240px;
  }
  .h_telnum {
    font-size: 22px;
  }
  .depth_2_left_cover {
    gap: 40px;
    width: 90%;
    margin-left: 5%;
  }
  .hidden_menu .time_table::before,
  .hidden_menu .time_table::after {
    display: none;
  }
}

@media (min-width: 0px) and (max-width: 1280px) {
  .logo-wrap {
    justify-content: space-between;
    padding: 0 20px;
  }
  .header_inner .header_menu .gnb {
    display: none !important;
  }
  header .h_q_icon img {
    max-width: 40px;
  }
  .header_menu {
    display: none !important;
  }
  header .open_menu {
    display: flex !important;
  }
  .h_right {
    display: flex !important;
    align-items: center;
    gap: 1rem;
  }
  header {
    background: #fff;
    /* background: rgba(0,0,0,0.1); */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.6); */
  }
  header .gnb > li > a {
    color: #000;
  }

  header .open_menu {
    display: flex;
  }
  header .login_icon,
  header .h_logo {
    max-width: 230px;
  }

  header.scroll,
  header:hover {
    background: #ffffff;
  }
}

@media (min-width: 0px) and (max-width: 900px) {
  .h_call_txt {
    display: none;
  }
}
@media (min-width: 0px) and (max-width: 500px) {
  .h_logo {
    width: 200px;
  }
  .h_right {
    margin-right: 1rem;
    gap: 1.5rem;
  }
}
@media (min-width: 0px) and (max-width: 350px) {
  header .h_q_icon {
    display: none;
  }
}
