/* ************************************************** */
/* 메뉴(PC - 테블릿) */
/* ************************************************** */
/* gnb */
.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  z-index: 9999;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff !important;
  text-align: center;
  font-size: 1.25rem;
}

.skip-link:focus,
.skip-link:active {
  top: 0;
}

.gnb-mask {
  position: fixed;
  top: 122px;
  left: 0;
  z-index: 98;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.7;
  display: none;
}
.gnb_wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 390px;
  background: transparent;
  z-index: 99;
  overflow: hidden;
  transition: all 0.25s ease;
}
.gnb_wrap::before {
  content: "";
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(to right, #f4fbff 0%, white 25%);
}

.gnb_wrap:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #3f75a8;
}

.gnb_wrap .gnb_inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 90px;
  margin: 0 auto;
  background: transparent;
}

.gnb_wrap .gnb_inner:after {
  content: "";
  display: block;
  clear: both;
}

.gnb_hero {
  float: right;
}

.gnb_hero > li {
  position: relative;
  width: 150px;
  padding: 0;
  float: left;
  text-align: center;
  box-sizing: border-box;
}
.gnb_hero > li:first-child {
  width: 175px;
}

.gnb_hero > li > a {
  display: block;
  color: #000;
  height: 90px;
  line-height: 90px;
  font-size: 19px;
  letter-spacing: -0.9px;
  font-family: SCDream500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
  width: fit-content;
  padding: 0 20px;
  margin: 0 auto;
}

.gnb_hero > li > a > span {
  display: inline-block;
  font-family: SCDream500;
  letter-spacing: -0.9px;
}

.gnb_hero > li:hover a,
.gnb_hero > li.focus a {
  color: #00829B;
}
.gnb_hero > li > a::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 85px;
  left: 50%;
  width: 0;
  height: 5px;
  background: #00b8be;
  display: block;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
}
.gnb_hero > li:hover > a::after,
.gnb_hero > li.focus a::after {
  width: 100%;
  left: 0;
}

.gnb_hero > li .explan {
  position: absolute;
  top: 90px;
  width: 1400px;
  height: 300px;
  text-align: left;
  box-sizing: border-box;
  transition: all 0.25s ease;
  opacity: 1;
  display: block;
  background: #f4fbff;
  border-radius: 0 0 100px 0;
  overflow: hidden;
}
.gnb_hero > li .explan::before {
  content: "";
  display: block;
  width: 280px;
  height: 100%;
  position: absolute;
  top: 30px;
  right: 0;
  z-index: 1;
  background: url("./images/gnb-bg-icon.png") no-repeat;
  background-position: center;
  background-size: contain;
}

.gnb_hero > li .explan .tit {
  display: block;
  font-size: 32px;
  letter-spacing: -1.5px;
  font-family: SCDream500;
  color: #00274e;
  line-height: 50px;
  text-align: right;
  position: absolute;
  left: 1120px;
  padding: 40px 60px 0 0;
  word-break: keep-all;
  max-width: 220px;
}

.gnb_hero > li .explan .info {
  font-size: 15px;
  letter-spacing: -0.5px;
  font-family: SCDream400;
  color: #777c89;
  line-height: 150%;
  text-align: right;
  position: absolute;
  left: 1120px;
  padding: 6px 60px 0 0;
  max-width: 280px;
}

.gnb_hero > li .explan .tit,
.gnb_hero > li .explan .info {
  position: relative;
  z-index: 2;
  background: #f4fbff;
}

.gnb_hero > li .explan.exp1 {
  left: -1450px;
}

.gnb_hero > li .explan.exp2 {
  left: -1625px;
}

.gnb_hero > li .explan.exp3 {
  left: -1775px;
}

.gnb_hero > li .explan.exp4 {
  left: -1925px;
}

.gnb_hero > li .explan.exp5 {
  left: -2075px;
}
.gnb_hero > li .explan.exp6 {
  left: -2225px;
}

.gnb_hero > li .explan {
}

.gnb_hero > li > .depth2 {
  display: none;
  position: relative;
  padding: 40px 30px 40px 50px;
  height: 300px;
  background: #fff;
  width: 1000px;
  transition: all 0.25s ease;
  overflow: auto;
}
.gnb_hero > li > .depth2 li a {
  display: none;
  position: relative;
  text-align: left;
  color: #555;
  padding: 0;
  transition: all 0.25s ease;
  width: 265px;
}

.gnb_hero > li > .depth2 li a > label {
  font-family: SCDream500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.8px;
  color: #111;
  display: flex;
  align-items: center;
  border: 1px solid #d5e1e9;
  border-radius: 8px;
  padding: 19px 24px;
  height: 57px;
  cursor: pointer;
}

.gnb_hero > li > .depth2 li a:hover > label,
.gnb_hero > li > .depth2 li a:focus > label {
  border: 1px solid #00b8be;
  box-shadow: 0 0 0 1px #00b8be;
  transition: all 0.3s ease-in;
}
.gnb_hero > li > .depth2 li a:focus > label {
  color: #00b8be;
}
.gnb_hero > li > .depth2 li a:focus {
  outline-offset: -2px !important;
  border-radius: 8px;
}
.gnb_hero > li > .depth2 li a.active > label,
.gnb_hero > li > .depth2 li a:active > label {
  background: #00b8be;
  color: #fff;
  border: 1px solid #00b8be;
  box-shadow: 0 0 0 1px #00b8be;
}

/* ************************************************** */

/* 메뉴 제어 */
.gnb_hero > li .explan.exp1,
.gnb_hero > li .explan.exp2,
.gnb_hero > li .explan.exp3,
.gnb_hero > li .explan.exp4,
.gnb_hero > li .explan.exp5,
.gnb_hero > li .explan.exp6 {
  display: none;
}
.gnb_hero > li > .depth2.exp1,
.gnb_hero > li > .depth2.exp2,
.gnb_hero > li > .depth2.exp3,
.gnb_hero > li > .depth2.exp4,
.gnb_hero > li > .depth2.exp5,
.gnb_hero > li > .depth2.exp6 {
  display: none !important;
}
.gnb_hero > li.exp1:hover .explan.exp1,
.gnb_hero > li.exp1:hover > .depth2.exp1 li a,
.gnb_hero > li.exp2:hover .explan.exp2,
.gnb_hero > li.exp2:hover > .depth2.exp2 li a,
.gnb_hero > li.exp3:hover .explan.exp3,
.gnb_hero > li.exp3:hover > .depth2.exp3 li a,
.gnb_hero > li.exp4:hover .explan.exp4,
.gnb_hero > li.exp4:hover > .depth2.exp4 li a,
.gnb_hero > li.exp5:hover .explan.exp5,
.gnb_hero > li.exp5:hover > .depth2.exp5 li a,
.gnb_hero > li.exp6:hover .explan.exp6,
.gnb_hero > li.exp6:hover > .depth2.exp6 li a {
  display: block !important;
}
.gnb_hero > li.exp1:hover > .depth2.exp1,
.gnb_hero > li.exp2:hover > .depth2.exp2,
.gnb_hero > li.exp3:hover > .depth2.exp3,
.gnb_hero > li.exp4:hover > .depth2.exp4,
.gnb_hero > li.exp5:hover > .depth2.exp5,
.gnb_hero > li.exp6:hover > .depth2.exp6 {
  display: flex !important;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 0;
  width: 1000px;
}
.gnb_hero > li.focus > .explan.exp1,
.gnb_hero > li.focus > .explan.exp2,
.gnb_hero > li.focus > .explan.exp3,
.gnb_hero > li.focus > .explan.exp4,
.gnb_hero > li.focus > .explan.exp5,
.gnb_hero > li.focus > .explan.exp6 {
  display: block;
}
.gnb_hero > li.focus > .depth2.exp1,
.gnb_hero > li.focus > .depth2.exp2,
.gnb_hero > li.focus > .depth2.exp3,
.gnb_hero > li.focus > .depth2.exp4,
.gnb_hero > li.focus > .depth2.exp5,
.gnb_hero > li.focus > .depth2.exp6 {
  display: flex !important;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 0;
  width: 1000px;
}
.gnb_hero > li.focus > .depth2 li a {
  display: block;
}

.gnb_hero > li > .depth2.exp1 {
  left: -50px;
}
.gnb_hero > li > .depth2.exp2 {
  left: -225px;
}
.gnb_hero > li > .depth2.exp3 {
  left: -375px;
}
.gnb_hero > li > .depth2.exp4 {
  left: -525px;
}
.gnb_hero > li > .depth2.exp5 {
  left: -675px;
}
.gnb_hero > li > .depth2.exp6 {
  left: -825px;
}

@media all and (max-width: 1300px) {
  .gnb_hero > li.exp1:hover > .depth2.exp1,
.gnb_hero > li.exp2:hover > .depth2.exp2,
.gnb_hero > li.exp3:hover > .depth2.exp3,
.gnb_hero > li.exp4:hover > .depth2.exp4,
.gnb_hero > li.exp5:hover > .depth2.exp5,
.gnb_hero > li.exp6:hover > .depth2.exp6,
  .gnb_hero > li.exp1.focus > .depth2.exp1,
  .gnb_hero > li.exp2.focus > .depth2.exp2,
  .gnb_hero > li.exp3.focus > .depth2.exp3,
  .gnb_hero > li.exp4.focus > .depth2.exp4,
  .gnb_hero > li.exp5.focus > .depth2.exp5,
  .gnb_hero > li.exp6.focus > .depth2.exp6{
    width: 710px;
  }
}

/* ************************************************** */
/* 메뉴(테블릿 - 모바일) */
/* ************************************************** */
/* mobile */
.m-menu {
  position: relative;
  display: none;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu .gnb-mask {
  display: none;
  z-index: -1;
}
.m-menu-wrap,
.mobile-menu {
  position: fixed;
  top: 122px;
  right: 0;
  width: 50%;
  min-width: 375px;
  height: calc(100vh - 122px);
  overflow: auto;
  background: #fff;
  padding: 20px;
}

.mobile-menu {
  display: none;
  z-index: 1 !important;
}
.m-menu-wrap {
  -ms-overflow-style: none; /* 익스플로러, 앳지 */
  scrollbar-width: none; /* 파이어폭스 */
}
.m-menu-wrap::-webkit-scrollbar {
  display: none; /* 크롬, 사파리, 오페라 */
}

.mobile-menu .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu .menu > li {
  margin-bottom: 8px;
  border-radius: 10px;
  border-top: 0;
}

.mobile-menu .submenu {
  display: none;
  list-style: none;
  padding: 14px 16px;
  margin: 0;
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  border: 1px solid #d5e1e9;
}

.mobile-menu .submenu li a {
  padding: 6px 0;
  display: block;
  text-decoration: none;

  font-family: Pretendard;
  font-weight: 500;
  letter-spacing: -0.4px;
  font-size: 15px;
  color: #464a51;
}
.mobile-menu .submenu li a::before {
  content: "ㆍ";
  margin-right: 6px;
}

.mobile-menu .submenu li a:hover,
.mobile-menu .submenu li a:focus,
.mobile-menu .submenu li a:active {
  color: #00b8be;
}

.mobile-menu .submenu-toggle {
  background: #f0f5f8;
  border-radius: 10px;
  width: 100%;
  min-width: 333px;
  height: 55px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: ScDream600;
  font-size: 18px;
  letter-spacing: -0.8px;
  color: #111111;
  transition: all 0.2s ease-in;
}
.mobile-menu .submenu-toggle.expend::after {
  content: "";
  width: 22px;
  height: 22px;
  background: url("./images/icon/m-menu-arrow-down.png") no-repeat;
  background-position: center;
  background-size: contain;
  transition: all 0.2s ease-in;
}
.mobile-menu .submenu-toggle.active {
  background: #00b8be;
  color: #fff;
  border: 1px solid #00b8be;
  border-radius: 10px 10px 0 0;
}
.mobile-menu .submenu-toggle.active::after {
  background: url("./images/icon/m-menu-arrow-up.png") no-repeat;
}
@media all and (max-width: 500px) {
  .mobile-menu,
  .m-menu-wrap {
    width: 100% !important;
    top: 102px;
    height: calc(100vh - 102px);
  }
}
@media all and (max-width: 408px) {
  .mobile-menu,
  .m-menu-wrap {
    width: 100%;
    top: 116px;
    height: calc(100vh - 116px);
  }
  .mobile-menu .gnb-mask {
    top: 116px;
  }
}
@media all and (max-width: 375px) {
  .mobile-menu,
  .m-menu-wrap {
    min-width: 340px;
  }
  .mobile-menu .submenu-toggle {
    min-width: 298px;
  }
}
