@charset "utf-8";
/* ****************** HEADER ********************** */
#header {
  height: 10.4rem;
  width: 100%;
  z-index: 99999;
  position: relative;
  left: 0;
  top: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -ms-transition: all 0.3s;
  transition: all 0.3s;
}
#headerInnerWrap {
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  /*z-index: 99999;*/
  height: 100%;
}
#header.fixed #headerInnerWrap {
  background: var(--bs-white);
  position: relative;
  border-bottom: 1px solid #cbcbcb;
}
#headerInner {
  position: relative;
  margin: 0px auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: padding 0.3s;
  -moz-transition: padding 0.3s;
  -o-transition: padding 0.3s;
  -ms-transition: padding 0.3s;
  transition: padding 0.3s;
  padding: 0 2%;
  height: 100%;
}
#header .logo {
  position: relative;
  z-index: 100;
  padding: 1.2rem 0;
  display: inline-flex;
  vertical-align: middle;
  gap: 20px;
}
#header .logo .logolink {
  display: block;
  padding: 0px 0;
  background: url(../images/logo.png);
  width: 76px;
  height: 76px;
  text-indent: -999999px;
}
#header.fixed .logo .logolink {
  background: url(../images/logo.png);
}
.header-util-box {
  position: absolute;
  top: 0%;
  right: 0%;
  z-index: 100;
  vertical-align: middle;
  background: var(--bs-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 106px;
}
.header-util-box a {
  display: flex;
  flex-direction: column;
  vertical-align: middle;
  color: var(--bs-white);
  text-align: center;
  gap: 10px;
}
#header.fixed {
  position: fixed;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: column;
}

/* 고객센터
================================= */

.header-customer {
  display: flex;
  flex-direction: column;

  text-decoration: none;
}

.header-customer strong {
  color: var(--bs-primary);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  font-family: "Paperozi";
  margin-top: 4px;
}

/* 지점안내
================================= */

.header-branch {
  position: relative;
}

.header-branch__btn {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 170px;
  height: 35px;

  padding: 0 25px;

  border: 0;
  border-radius: 25px;

  background: #064477;
  color: #fff;

  font-size: 16px;
  font-weight: 500;

  cursor: pointer;
}

/* 하위 지점 */

.header-branch__menu {
  position: absolute;

  left: 0;
  top: calc(100% + 4px);

  z-index: 100;

  display: none;

  width: 100%;

  padding: 12px 0;

  border-radius: 22px;

  background: #064477;

  overflow: hidden;
}

.header-branch.is-open .header-branch__menu {
  display: block;
}

.header-branch__menu p {
  display: block;

  padding: 5px 15px;

  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;

  text-decoration: none;
}

.header-branch__menu a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* -------- Header :: GNB(PC) -------- */

.gnb-overlay-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9997;
}
#gnb {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 99;
  transition: all 0.4s;
  text-align: center;
}
#gnb .area {
  margin: 0;
  float: right;
  padding-right: 120px;
  max-width: 100%;
}
#gnb .area > ul {
  display: flex;
  justify-content: flex-end;
}
#gnb .area > ul > li {
  position: relative;
  word-break: keep-all;
}
#gnb .area > ul > li.about_menu a span {
  display: flex;
  gap: 10px;
  align-items: center;
}
#gnb .area > ul > li.about_menu .read {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  background: #ed1c24;
}
#gnb .area > ul > li.about_menu .read .txt {
  color: #fff;
  line-height: 1;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  animation: blink 1s infinite;
}
#gnb .area > ul > li > a {
  position: relative;
  z-index: 100;
  display: block;
  height: 10.4rem;
  line-height: 10.4rem;
  text-align: center;
  color: var(--bs-black);
  font-size: 2rem;
  padding: 0 2rem;
  letter-spacing: -0.25px;
  font-weight: 400;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
#gnb.open .area > ul > li > a {
  color: var(--bs-black);
}
#gnb .gnb-inner {
  display: block;
}
#gnb .area > ul > li > a:hover,
#gnb .area > ul > li.current_page_item > a {
  color: var(--bs-primary) !important;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  -ms-transition: all 0.2s;
  transition: all 0.2s;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
/* GNB :: 2차 전체메뉴 */
#gnbBg {
  display: none;
  position: absolute;
  left: 0;
  top: 90px;
  width: 100%;
  height: 30rem;
  background: var(--bs-white);
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  z-index: 98;
}
#gnb .area > ul > li .sub-menu {
  position: absolute;
  top: 0;
  left: 0px;
  z-index: 99;
  width: 100%;
  text-align: left;
  visibility: hidden;
  padding-top: 12.4rem;
  opacity: 0;
  filter: Alpha(opacity=0);
}
#gnb .area > ul > li .sub-menu:before {
  content: "";
  position: absolute;
  top: 10.4rem;
  left: 0px;
  right: 0px;
  height: 0;
  opacity: 0;
  filter: Alpha(opacity=0);
  background: var(--bs-primary);
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -ms-transition: all 0.4s;
  transition: all 0.4s;
  padding: 0;
  border-radius: 10px;
}
#gnb .area > ul > li .sub-menu li {
  position: relative;
  padding: 0.5rem 0;
  opacity: 0;
  filter: Alpha(opacity=0);
  -webkit-transition: all 0s 0s;
  -moz-transition: all 0s 0s;
  -o-transition: all 0s 0s;
  -ms-transition: all 0s 0s;
  transition: all 0s 0s;
  text-align: center;
}
#gnb .area > ul > li .sub-menu li a {
  display: block;
  color: var(--bs-white);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  opacity: 0.85;
  filter: Alpha(opacity=85);
}
#gnb .area > ul > li .sub-menu li a:hover {
  opacity: 1;
  filter: Alpha(opacity=100);
}
#gnb .area > ul > li:hover .sub-menu:before {
  height: calc(100% - 10.4rem + 2rem);
  opacity: 1;
  filter: Alpha(opacity=100);
}
#gnb .area > ul > li .sub-menu.open {
  visibility: visible;
  opacity: 1;
  filter: Alpha(opacity=100);
}
#gnb .area > ul > li .sub-menu.open li {
  opacity: 1;
  filter: Alpha(opacity=100);
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -o-transition: all 0.8s;
  -ms-transition: all 0.8s;
  transition: all 0.8s;
}
#gnb .area > ul > li .sub-menu.open li:nth-child(1) {
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  -o-transition-delay: 0.1s;
  -ms-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
#gnb .area > ul > li .sub-menu.open li:nth-child(2) {
  -webkit-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  -ms-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
#gnb .area > ul > li .sub-menu.open li:nth-child(3) {
  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  -ms-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
#gnb .area > ul > li .sub-menu.open li:nth-child(4) {
  -webkit-transition-delay: 0.4s;
  -moz-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  -ms-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
#gnb .area > ul > li .sub-menu.open li:nth-child(5) {
  -webkit-transition-delay: 0.5s;
  -moz-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  -ms-transition-delay: 0.4s;
  transition-delay: 0.5s;
}
#gnb .area > ul > li .sub-menu.open li:nth-child(6) {
  -webkit-transition-delay: 0.6s;
  -moz-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  -ms-transition-delay: 0.4s;
  transition-delay: 0.6s;
}
#gnb .area > ul > li .sub-menu.open li:nth-child(7) {
  -webkit-transition-delay: 0.7s;
  -moz-transition-delay: 0.7s;
  -o-transition-delay: 0.7s;
  -ms-transition-delay: 0.4s;
  transition-delay: 0.7s;
}
#gnb .area > ul > li .sub-menu.open li:nth-child(8) {
  -webkit-transition-delay: 0.8s;
  -moz-transition-delay: 0.8s;
  -o-transition-delay: 0.8s;
  -ms-transition-delay: 0.4s;
  transition-delay: 0.8s;
}
/* -------- Header :: GNB(Mobile) -------- */
.nav-open-btn {
  display: none;
}
#gnbM {
  display: none;
}

@media all and (max-width: 1680px) {
  #gnb .area > ul > li > a {
    padding: 0 1rem;
  }
}

@media all and (max-width: 1440px) {
  #gnb .area > ul > li > a {
    font-size: 1.8rem;
  }
}

@media all and (max-width: 1340px) {
  #gnb .area > ul > li > a {
    font-size: 1.6rem;
  }
}

@media all and (max-width: 1024px) {
  #header {
    height: 15.2rem;
    position: fixed;
    left: 0;
    top: 0;
  }
  #header .logo {
    padding: 1.5rem 0;
  }
  .header-util-box {
    display: none;
  }
  #header.open .nav-open-btn.active .line,
  #header.fixed .nav-open-btn.active .line {
    background-color: var(--bs-white);
  }
  /* 메뉴 영역만 가로 스크롤 */
  #gnb {
    position: absolute;
    top: 8.2rem;
    left: 0;
    width: 100%;
    height: 7rem;
    overflow: hidden;
    border-bottom: 1px solid #cdbb9d;
    background: transparent;
    text-align: left;
  }
  #gnb .area {
    float: none;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  #gnb .area::-webkit-scrollbar {
    display: none;
  }
  #gnb .area > ul {
    display: inline-flex;
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
    height: 100%;
    padding: 0 2rem 0 0;
    white-space: nowrap;
  }
  #gnb .area > ul > li {
    flex: 0 0 auto;
    height: 100%;
  }
  #gnb .area > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7rem;
    padding: 0 2.8rem;
    font-size: 2rem;
    line-height: 1;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
  }
  #gnb .area > ul > li > a::after {
    content: "";
    position: absolute;
    right: 1.7rem;
    bottom: 0;
    left: 1.7rem;
    height: 0.3rem;
    background: transparent;
  }
  #gnb .area > ul > li.current-menu-item > a,
  #gnb .area > ul > li.current_page_item > a {
    color: #06477f !important;
  }
  #gnb .area > ul > li.current-menu-item > a::after,
  #gnb .area > ul > li.current_page_item > a::after {
    background: #06477f;
  }
  /* 모바일에서는 hover 2차 메뉴 숨김 */
  #gnbBg,
  #gnb .area > ul > li .sub-menu {
    display: none !important;
  }
}

@media all and (max-width: 800px) {
  #headerInner {
    background: none;
    margin: 0px auto 0;
  }
  #header .logo {
    padding: 2.5rem 0;
  }
  #header .logo .logolink,
  #header.fixed .logo .logolink {
    background-size: 57px auto;
    width: 57px;
    height: 57px;
  }
  #gnb .area > ul > li > a {
    padding: 0 1.8rem;
    font-size: 2.5rem;
  }
  #gnb .area > ul > li.about_menu a span {
    gap: 5px;
  }
  #gnb .area > ul > li.about_menu .read {
    padding: 3px 4px;
  }
  #gnb .area > ul > li.about_menu .read .txt {
    font-size: 1.2rem;
  }
  .header-customer strong {
    font-size: 20px;
    margin-top: 2px;
  }
  .header-branch__btn {
    min-width: 120px;
    height: 30px;
    padding: 0 15px;
    font-size: 15px;
  }
}

@media all and (max-width: 520px) {
  #header {
    height: 12.2rem;
  }
  #header .logo {
    padding: 1.5rem 0;
    gap: 10px;
  }
  #header .logo .logolink,
  #header.fixed .logo .logolink {
    background-size: 41px auto;
    width: 41px;
    height: 41px;
  }
  .header-customer strong {
    font-size: 16px;
    margin-top: 0;
  }
  .header-branch__btn {
    min-width: 100px;
    font-size: 13px;
    height: 25px;
  }
  .header-branch__menu {
    padding: 8px 0;
    border-radius: 12px;
  }
  .header-branch__menu p {
    padding: 3px 15px;
    font-size: 13px;
  }
  #gnb {
    height: 5rem;
    top: 7.2rem;
  }
  #gnb .area > ul > li > a {
    height: 5rem;
    padding: 0 1.4rem;
    font-size: 1.6rem;
  }
  #gnb .area > ul > li.about_menu .read .txt {
    font-size: 1.1rem;
  }
}
