@charset "utf-8";
header {
  background-color: #000
}
#sitemap {
  display: none;
}
.hd_nav {
  padding: 27px 0;
}
.hd_nav_ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}


/*header li:hover .sub_menu {*/
/*  opacity: 1;*/
/*  visibility: visible;*/
/*}*/

header .sub_menu {
  min-width: 120px;
  position: absolute !important;
  background-color: #fff;
  padding: 20px;
  text-align: center;
  top: 35px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: 1111;
  border-radius: 10px;
  color: #454545 !important;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header .hd_nav_ul > li {
  position: relative;
}

header .hd_nav_ul > li > a {
  display: block;
  transition: all 0.2s ease;
}
.sub_menu a {
  display: block;
  text-decoration: none;
  color: #454545 !important;
  transition: all 0.2s ease;
}

.sub_menu a:hover {
  font-weight: bold;
  color: #01052a;
}

header .sub_menu_login {
  min-width: 120px;
  position: absolute !important;
  background-color: #01052a;
  padding: 20px;
  text-align: center;
  top: 35px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: 1111;
  border-radius: 10px;
  color: #454545 !important;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login_wrap .pointer:hover .sub_menu_login {
  /* 이 부분도 제거하거나 주석 처리 */
  /* opacity: 1;
  visibility: visible; */
}


.sub_menu_login {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub_menu_login a {
  color: #fff;
  padding: 5px 0;
  transition: all 0.2s ease;
  text-decoration: none;
}
.sub_menu_login a:hover {
  font-weight: bold;
}

/* 사이트맵 팝업 CSS */
.site_map_pc {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #01010e;
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.site_map_pc.active {
  display: block;
  opacity: 1;
}

.site_map_pc .close {
  position: absolute;
  top: 40px;
  right: -170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sitemap_content {
  margin-top: 100px;
}

.sitemap_section {
}

.sitemap_section .menu_list {
  display: inline-block;
}

.sitemap_section .menu_list a {
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  overflow: hidden;
  display: inline-block;
  width: auto;
  margin-bottom: 10px;
}

.sitemap_section .menu_list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.4s ease;
}

.sitemap_section .menu_list a:hover {
  color: white;
}

.sitemap_section .menu_list a:hover::after {
  width: 100%;
}
.sitemap_row1,
.sitemap_row2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 100px;
}

/* mobile */
@media screen and (max-width: 767px) {
  body {
    width: 100vw;
  }
  .hd_nav {
    padding: 3% 0;
  }


  .hd{
    padding:20px 0;
  }
  .logo img{
    width:140px;
  }
  header .sub_menu_login {
    min-width: 57px;
    right: -33px;
  }
  .site_map_pc.active {
    position: relative;
    overflow: scroll;
    overflow-x: hidden;
    height: 86vh;
    padding: 20px 0;
  }
  .site_map_pc.active header{
  background:#000 !important;
  }
.sitemap_row1.gap-100,
.sitemap_row2{
  gap:10px !important;
}
.sitemap_section{
  width:48% !important;
  margin-bottom:20px;
}
  .site_map_pc_content {
    height: unset !important;
    padding: 0 0 73px 0;
  }
}

/* tablet 세로기준 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  body {
    width: 100vw;
  }
  .hd_nav {
  }

  /*!* site_map *!*/
  /*#sitemap {*/
  /*  display: block;*/
  /*  width: 100%;*/
  /*  height: 100vh;*/
  /*  background: linear-gradient(-113deg, rgba(59, 129, 201, 0.8), #15a2a2);*/
  /*  position: fixed;*/
  /*  top: 0;*/
  /*  right: 0;*/
  /*  z-index: 999999999999999;*/
  /*  transform: translateX(100%);*/
  /*  transition: transform 0.8s;*/
  /*}*/
  /*#sitemap.show {*/
  /*  transform: translateX(0);*/
  /*}*/
  /*.close_btn {*/
  /*  display: flex;*/
  /*  justify-content: flex-end;*/
  /*  padding-right: 40px;*/
  /*  padding-top: 38px;*/
  /*}*/
  /*.close_btn i {*/
  /*  font-size: 30px;*/
  /*}*/
  /*.st_box {*/
  /*  padding: 12vh 15% 0;*/
  /*  overflow: auto;*/
  /*  width: 100%;*/
  /*  height: 100%;*/
  /*}*/
  /*.st_menu ul {*/
  /*  width: 100%;*/
  /*  display: none;*/
  /*}*/
  /*.st_menu p {*/
  /*  padding: 15px 0;*/
  /*}*/
  /*.st_menu li {*/
  /*  padding: 10px 0;*/
  /*}*/



  .hd{
    padding:20px 0;
  }
  .logo img{
    width:140px;
  }
  header .sub_menu_login {
    min-width: 57px;
    right: -33px;
  }
  .site_map_pc.active{
    position: relative;
    overflow: scroll;
    overflow-x:hidden;
    height: 79vh;
    padding: 20px 0;
  }

  .sitemap_row1.gap-100,
  .sitemap_row2{
    gap:10px !important;
  }
  .sitemap_section{
    width:48% !important;
    margin-bottom:20px;
  }
  .site_map_pc_content{
    height: unset !important;
  }

}

/* 태블릿 아이패드미니 가로부터 ~ , 노트북 : 11인치  ~ 15인치 */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
.hd_nav .hd_nav_ul{
  display: none;
}

  .hd{
    padding:20px 0;
  }
  .logo img{
    width:170px;
  }
  header .sub_menu_login {
    min-width: 57px;
    right: -33px;
  }
  .site_map_pc.active{
    position: relative;
    overflow: scroll;
    overflow-x:hidden;
    height: 79vh;
    padding: 20px 0;
  }

  .sitemap_row1.gap-100,
  .sitemap_row2{
    gap:10px !important;
  }
  .sitemap_section{
    width:48% !important;
    margin-bottom:20px;
  }
  .site_map_pc_content{
    height: unset !important;
  }

}

/* 태블릿 아이패드미니 가로부터 ~ , 노트북 : 11인치  ~ 15인치 */
@media screen and (min-width: 1024px) and (max-width: 1750px) {
  .hd_nav .hd_nav_ul{
    display: none;
  }

  .site_map_pc.active{
    position: relative;
    overflow: scroll;
    overflow-x:hidden;
    height: 79vh;
    padding: 20px 0;
  }

  .sitemap_row1.gap-100,
  .sitemap_row2{
    gap:10px !important;
  }
  .sitemap_section{
    width:48% !important;
    margin-bottom:20px;
  }
  .site_map_pc_content{
    height: unset !important;
  }
}
