@font-face {
	font-family: 'PB_B';
	font-weight: bold;
	font-style: normal;
	src: url("./fonts/Pretendard-Bold.woff")  format('woff');
}

@font-face {
	font-family: 'PB_M';
	font-weight: normal;
	font-style: normal;
	src: url("./fonts/Pretendard-Medium.woff")  format('woff');
}

@font-face {
	font-family: 'PB_R';
	font-weight: normal;
	font-style: normal;
	src: url("./fonts/Pretendard-Regular.woff")  format('woff');
}

@font-face {
	font-family: 'PB_L';
	font-weight: 100;
	font-style: normal;
	src: url("./fonts/Pretendard-Light.woff")  format('woff');
}

@font-face {
	font-family: 'RS_EB';
	font-weight: bold;
	font-style: normal;
	src: url("./fonts/RiaSans-ExtraBold.ttf")  format('truetype');
}

@font-face {
	font-family: 'RS_B';
	font-weight: bold;
	font-style: normal;
	src: url("./fonts/RiaSans-Bold.ttf")  format('truetype');
}

@font-face {
	font-family: 'RS_R';
	font-weight: normal;
	font-style: normal;
	src: url("./fonts/RiaSans-Regular.ttf")  format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: keep-all !important;
}

a {
  text-decoration: none;
  cursor: pointer;
}

ul,li,ol {
  list-style: none;
}

#hd_pop {
  width: 100%;
  height: 100%;
}

#hd_pop .hd_pops {
  position: fixed;
}

@media (max-width: 1200px) {
  .hd_pops {
    left: 10px !important;
  }
}

@media (max-width: 700px) {
  .hd_pops_con {
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 400px) {
  #hd_pop .hd_pops {
    width: 90% !important;
    height: auto !important;
  }
}

#header {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  /* border-bottom: 1px solid #fff; */
  transition: all 0.3s;
}

#header::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: -1;
}

#header .wrap {
  width: 100%;
  max-width: 1600px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header .wrap .logo {
  width: auto;
  height: auto;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#header .wrap .logo a {
  width: auto;
  height: auto;
}

#header .wrap .logo a img {
  width: auto;
  height: auto;
}

#header .wrap .logo a img.active {
  display: none;
}

#header .wrap .pc_menu {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

#header .wrap .pc_menu .main_category {
  width: auto;
  height: 100%;
  position: relative;
  align-content: center;
}

#header .wrap .pc_menu .main_category .main_link {
  text-align: center;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 20px;
  color: #fff;
  padding: 0 10px;
}

#header .wrap .pc_menu .main_category .sub_category_wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 1px);
  width: 200px;
  height: auto;
  background: #fff;
  transition: all 0.3s;
  opacity: 0;
  max-height: 0px;
  pointer-events: none;
  text-align: center;
}

#header .wrap .pc_menu .main_category .sub_category_wrap .sub_category {
  width: 100%;
  height: 40px;
  transition: all 0.3s;
}

#header .wrap .pc_menu .main_category .sub_category_wrap .sub_category .sub_link {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'PB_B';
  font-weight: bold;
  font-size: 16px;
  color: #0B1633;
}

#header .wrap .pc_menu .main_category .sub_category_wrap .sub_category:hover {
  background: #0B1633;
}

#header .wrap .pc_menu .main_category .sub_category_wrap .sub_category:hover .sub_link {
  font-family: 'PB_B';
	font-weight: bold;
  color: #fff;
}

#header .wrap .btn_wrap {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 20px;
}

#header .wrap .btn_wrap a {
  width: auto;
  height: auto;
}

#header .wrap .btn_wrap a img {
  width: auto;
  height: auto;
}

/* 헤더 모바일 */
#header .wrap .hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  display: none;
}

#header .wrap .hamburger span {
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  background: #fff;
}

#header .wrap .hamburger span:nth-of-type(1) {
  top: 0;
}

#header .wrap .hamburger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}

#header .wrap .hamburger span:nth-of-type(3) {
  bottom: 0;
}

#header .wrap .mb_menu_wrap {
  position: fixed;
  top: 0;
  width: 40vw;
  height: 100vh;
  background: #fff;
  z-index: 999;
  right: -100vw;
  transition: all 0.5s;
}

#header .wrap .mb_menu_wrap.active {
  right: 0;
}

#header .wrap .mb_menu_wrap .mb_hd {
  width: 100%;
  height: auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #d9d9d9;
}

#header .wrap .mb_menu_wrap .mb_hd .close_btn {
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #d9d9d9;
}

#header .wrap .mb_menu_wrap .mb_hd .close_btn span {
  width: 70% ;
  height: 2px;
  background: #000;
  position: absolute;
  left: 50%;
  top: 50%;
}

#header .wrap .mb_menu_wrap .mb_hd .close_btn span:first-of-type {
  transform: translate(-50%, -50%) rotateZ(45deg);
}

#header .wrap .mb_menu_wrap .mb_hd .close_btn span:last-of-type {
  transform: translate(-50%, -50%) rotateZ(-45deg);
}

#header .wrap .mb_menu_wrap .mb_menu {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header .wrap .mb_menu_wrap .mb_menu .main_list {
  width: 40%;
  height: 100%;
  border-right: 1px solid #d9d9d9;
}

#header .wrap .mb_menu_wrap .mb_menu .main_list li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 16px;
  color: #000;
  border-bottom: 1px solid #d9d9d9;
}

#header .wrap .mb_menu_wrap .mb_menu .main_list li.active {
  background: #334780;
  background: radial-gradient(circle,rgba(51, 71, 128, 1) 0%, rgba(28, 46, 84, 1) 35%, rgba(11, 22, 51, 1) 100%);
  color: #fff;
}

#header .wrap .mb_menu_wrap .mb_menu .sub_list {
  width: 60%;
  height: 100%;
}

#header .wrap .mb_menu_wrap .mb_menu .sub_list li {
  width: 100%;
  height: 40px;
  border-bottom: 1px solid #d9d9d9;
  display: block;
}

#header .wrap .mb_menu_wrap .mb_menu .sub_list li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'PB_M';
  font-weight: normal;
  font-size: 16px;
  color: #000;
}

/* 헤더 호버, 액티브 */
#header:is(:hover, .active) {
  background: #fff;
}

#header:is(:hover, .active) .wrap .logo a img {
  display: none;
}

#header:is(:hover, .active) .wrap .logo a img.active {
  display: block;
}

#header:is(:hover, .active) .wrap .pc_menu .main_category .main_link {
  color: #0B1633;
}

#header .wrap .pc_menu .main_category:hover .sub_category_wrap {
  opacity: 1;
  max-height: 240px;
  pointer-events: auto;
}

#header:is(:hover, .active) .wrap .hamburger span {
  background: #0B1633;
}

/* 푸터 */
#footer {
  width: 100%;
  height: auto;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/common/ft_bg.png) no-repeat center / cover;
}

#footer .wrap {
  width: 100%;
  max-width: 1400px;
  height: auto;
}

#footer .wrap h2 {
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 50px;
  color: #fff;
  margin-bottom: 10px;
}

#footer .wrap .info_tit {
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 20px;
  color: #fff;
  margin-bottom: 50px;
}

#footer .wrap .inner {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
}

#footer .wrap .inner .box {
  width: 100%;
  height: auto;
}

/* #footer .wrap .inner .box:first-of-type {
  border-right: 1px solid #fff;
} */

/* #footer .wrap .inner .box:last-of-type {
  padding-left: 100px;
} */

#footer .wrap .inner .box .tit {
  width: 150px;
  height: 50px;
  text-align: center;
  align-content: center;
  border-radius: 100px;
  background: #fff;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 20px;
  color: #0B1633;
  margin-bottom: 30px;
}

#footer .wrap .inner .box .info {
  display: flex;
  align-items: center;
  font-family: 'PB_R';
  font-weight: normal;
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

#footer .wrap .inner .box .info:last-of-type {
  margin-bottom: 0;
}

#footer .wrap .inner .box .info .label {
  width: 110px;
  flex-shrink: 0;
}

#footer .wrap .cr {
  font-family: 'PB_R';
  font-weight: normal;
  font-size: 14px;
  color: #fff;
}

@media (max-width: 1600px) {
  #header .wrap {
    max-width: 90%;
  }
}

@media (max-width: 1400px) {
  #header .wrap .pc_menu .main_category .main_link {
    font-size: 18px;
  }

  #header .wrap .btn_wrap {
    gap: 15px;
  }

  #header .wrap .logo a img {
    width: 180px;
  }

  #footer .wrap {
    max-width: 90%;
  }

  #footer .wrap .inner {
    flex-wrap: wrap;
    gap: 50px;
  }

  #footer .wrap .inner .box:first-of-type {
    border-right: 0;
  }

  #footer .wrap .inner .box:last-of-type {
    padding-left: 0;
  }
}

@media (max-width: 1200px) {
  #header .wrap .pc_menu,
  #header .wrap .btn_wrap {
    display: none;
  }

  #header .wrap .hamburger {
    display: block;
  }

  #header .wrap .logo a img {
    width: 160px;
  }

  #header {
    height: 50px;
  }

  #footer .wrap h2 {
    font-size: 40px;
  }

  #footer .wrap .info_tit {
    font-size: 18px;
  }

  #footer .wrap .inner .box .tit {
    width: 100px;
    height: 40px;
    font-size: 16px;
  }

  #footer .wrap .inner .box .info {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  #header .wrap .mb_menu_wrap {
    width: 60vw;
  }
}

@media (max-width: 700px) {
  #footer .wrap h2 {
    font-size: 32px;
  }

  #footer .wrap .info_tit {
    font-size: 16px;
  }

  #footer .wrap .inner .box .tit {
    width: 90px;
    height: 30px;
    font-size: 14px;
  }

  #footer .wrap .inner .box .info {
    font-size: 14px;
  }

  #footer .wrap .cr {
    font-size: 12px;
  }

  #footer {
    padding: 50px 0;
  }
}

@media (max-width: 500px) {
  #header .wrap .hamburger {
    width: 25px;
    height: 16px;
  }
  
  #header .wrap .logo a img {
    width: 120px;
  }

  #header .wrap .mb_menu_wrap {
    width: 80vw;
  }

  #header .wrap .mb_menu_wrap .mb_hd .close_btn {
    width: 20px;
    height: 20px;
  }

  #header .wrap .mb_menu_wrap .mb_hd {
    padding: 10px 20px;
  }

  #header .wrap .mb_menu_wrap .mb_menu .main_list li {
    height: 35px;
    font-size: 12px;
  }

  #header .wrap .mb_menu_wrap .mb_menu .sub_list li {
    height: 35px;
  }

  #header .wrap .mb_menu_wrap .mb_menu .sub_list li a {
    font-size: 12px;
  }

  #footer .wrap h2 {
    font-size: 20px;
  }

  #footer .wrap .info_tit {
    font-size: 12px;
    margin-bottom: 30px;
  }

  #footer .wrap .inner .box .tit {
    width: 80px;
    height: 25px;
    font-size: 12px;
    margin-bottom: 20px;
  }

  #footer .wrap .inner .box .info {
    font-size: 12px;
  }

  #footer .wrap .inner {
    gap: 30px;
    margin-bottom: 30px;
  }

  #footer .wrap .cr {
    font-size: 10px;
  }
}

#top_button {
  width: auto;
  height: auto;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  background: none;
  border: none;
}

#top_button img {
  width: auto;
  height: auto;
}

@media (max-width: 500px) {
  #top_button img {
    width: 40px;
  }

  #top_button {
    right: 10px;
    bottom: 10px;
  }
}