@font-face {
	font-family: 'PB_B';
	font-weight: bold;
	font-style: bold;
	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');
}

* {
  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;
  position: sticky;
  left: 0;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

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

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

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

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

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

#header .wrap .pc_menu .main_category .main_link {
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 16px;
  color: #202020;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#header .wrap .pc_menu .main_category .sub_category_wrap {
  width: 200px;
  height: auto;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s;
}

#header .wrap .pc_menu .main_category.active .sub_category_wrap {
  max-height: 400px;
  box-shadow: 0 0 5px rgba(000,000,000,0.2);
}

#header .wrap .pc_menu .main_category .sub_category_wrap .sub_category {
  width: 100%;
  height: 40px;
  background: #fff;
  text-align: center;
  transition: all 0.3s;
}

#header .wrap .pc_menu .main_category .sub_category_wrap .sub_category .sub_link {
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 14px;
  color: #202020;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#header .wrap .pc_menu .main_category .sub_category_wrap .sub_category:hover {
  background: #1862D6;
}

#header .wrap .pc_menu .main_category .sub_category_wrap .sub_category:hover .sub_link {
  color: #fff;
}

#header .wrap .hamburger {
  width: 35px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 5;
  display: none;
}

#header .wrap .hamburger span {
  width: 100%;
  height: 3px;
  position: absolute;
  background: #202020;
  left: 0;
  transition: all 0.3s;
}

#header .wrap .hamburger span:first-of-type {
  top: 0;
}

#header .wrap .hamburger span:last-of-type {
  bottom: 0;
  transform-origin: right;
}

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

#header .wrap .hamburger.active span:first-of-type,
#header .wrap .hamburger.active span:last-of-type {
  transform: scaleX(0);
}

#header .wrap .hamburger.active span:nth-of-type(2) {
  transform: translateY(-50%) rotate(45deg);
  transition-delay: 0.3s;
}

#header .wrap .hamburger.active span:nth-of-type(3) {
  transform: translateY(-50%) rotate(-45deg);
  transition-delay: 0.3s;
}

#header .wrap .mb_wrap {
  width: 500px;
  height: 100vh;
  position: fixed;
  right: -100vw;
  top: 0;
  transition: all 0.5s;
  padding: 100px 50px;
  box-shadow: 0 0 5px rgba(000, 000, 000, 0.3);
  background: #fff;
}

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

#header .wrap .mb_wrap .mb_menu {
  width: 100%;
  height: auto;
}

#header .wrap .mb_wrap .mb_menu .main_category {
  width: 100%;
  height: auto;
  max-height: 40px;
  overflow: hidden;
  transition: all 0.5s;
}

#header .wrap .mb_wrap .mb_menu .main_category.active {
  max-height: 300px;
}

#header .wrap .mb_wrap .mb_menu .main_category .main_link {
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 16px;
  color: #202020;
  display: block;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  align-content: center;
  border-bottom: 1px solid #d9d9d9;
  padding: 0 10px;
}

#header .wrap .mb_wrap .mb_menu .main_category.active .main_link {
  color: #1862D6;
}

#header .wrap .mb_wrap .mb_menu .main_category .sub_category_wrap {
  width: 100%;
  height: auto;
}

#header .wrap .mb_wrap .mb_menu .main_category .sub_category_wrap .sub_category {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #d9d9d9;
}

#header .wrap .mb_wrap .mb_menu .main_category .sub_category_wrap .sub_category .sub_link {
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 14px;
  color: #202020;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  align-content: center;
  padding: 0 20px;
}

#quick_menu {
  width: auto;
  height: 315px;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: -121px; 
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: all 0.3s;
}

#quick_menu.active {
  right: 0;
}

#quick_menu .arrow_btn {
  width: 40px;
  height: 100%;
  background: #1862D6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px 0 0 10px;
}

#quick_menu .arrow_btn img {
  width: auto;
  height: auto;
}

#quick_menu .icon_box {
  width: auto;
  height: 100%;
  padding: 10px 35px;
  background: #fff;
}

#quick_menu .icon_box .box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 33.3333%;
  border-bottom: 1px solid #D9D9D9;
  text-align: center;
}

#quick_menu .icon_box .box:last-of-type {
  border-bottom: 0;
}

#quick_menu .icon_box .box img {
  width: auto;
  height: auto;
  margin-bottom: 10px;
}

#quick_menu .icon_box .box p {
  font-family: 'PB_B';
  font-weight: bold;
  font-size: 12px;
  color: #202020;
}

#footer {
  width: 100%;
  height: auto;
  padding: 150px 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #d2d2d2;
}

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

#footer .wrap .logo {
  width: auto;
  height: auto;
  display: block;
}

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

#footer .wrap .line {
  width: 100%;
  height: 1px;
  background: #202020;
  margin: 50px auto;
}

#footer .wrap ul {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 20px;
}

#footer .wrap ul li {
  width: auto;
  height: auto;
  position: relative;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 16px;
  color: #202020;
}

#footer .wrap ul li::after {
  content: "";
  width: 2px;
  height: 18px;
  background: #202020;
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
}

#footer .wrap ul li:last-of-type:after {
  display: none;
}

#footer .wrap p {
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 16px;
  color: #5F5F5F;
}

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

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

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

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

  #footer .wrap {
    text-align: center;
  }

  #footer .wrap ul {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  #header .wrap .mb_wrap {
    width: 90%;
    padding: 60px 30px;
  }

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

  #header {
    height: 50px;
  }

  #header .wrap .hamburger {
    width: 25px;
  }

  #footer {
    padding: 100px 0 50px;
  }

  #footer .wrap .logo img {
    width: 80px;
  }

  #footer .wrap .line {
    margin: 30px auto;
  }

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

  #footer .wrap ul {
    gap: 20px;
  }

  #footer .wrap ul li::after {
    height: 14px;
    right: -10px;
  }

  #footer .wrap p {
    font-size: 14px;
  }
}

@media (max-width: 500px) {
  #header .wrap .mb_wrap .mb_menu .main_category .main_link {
    font-size: 14px;
    height: 35px;
  }

  #header .wrap .mb_wrap .mb_menu .main_category .sub_category_wrap .sub_category .sub_link {
    font-size: 12px;
    height: 35px;
  }

    #quick_menu .arrow_btn img {
    width: 16px;
  }

  #quick_menu {
    height: 185px;
  }

  #quick_menu .arrow_btn {
    width: 30px;
  }

  #quick_menu .icon_box .box img {
    height: 20px;
    margin-bottom: 5px;
  }

  #quick_menu .icon_box .box p {
    font-size: 10px;
  }

  #quick_menu .icon_box {
    padding: 5px 10px;
  }

  #quick_menu {
    right: -63px;
  }

  #top_button {
    right: 10px;
  }
}

/* 문의하기 폼 */
#connect {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  background: rgba(000,000,000,0.1);
  display: none;
}

#connect.active {
  display: flex;
}

#connect form {
  width: 100%;
  max-width: 690px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(000, 000, 000, 0.3);
  padding: 50px 30px;
  background: #fff;
  position: relative;
}

#connect form .form_wrap {
  width: 100%;
  height: auto;
  max-height: 70vh;
  overflow-y: scroll;
  -ms-overflow-style: none;
}

#connect form .form_wrap::-webkit-scrollbar{
  display:none;
}

#connect form .form_wrap * {
  display: block;
}

#connect form .form_wrap .lb_n,
#connect form .form_wrap .lb_c:nth-last-child(1 of .lb_c)  {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

#connect form .form_wrap span {
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 20px;
  color: #202020;
  margin-bottom: 10px;
}

#connect form .form_wrap .lb_n input,
#connect form .form_wrap .lb_n textarea {
  width: 100%;
  height: 50px;
  padding: 0 10px;
  border-radius: 5px;
  border: none;
  background: #F5F5F5;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 18px;
  color: #202020;
}

#connect form .form_wrap .lb_c {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 18px;
  color: #202020;
}

/* 기본 스타일 */
#connect form .form_wrap .lb_c input[type="radio"]{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #A6A7A8;
  border-radius: 2px;          /* 네모 라디오 */
  background: #fff;
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  cursor: pointer;

  /* 테마 색: currentColor 사용 → 부모나 자기 자신에 color 지정하면 따라감 */
  color: #111;                 /* 필요시 원하는 색으로 변경 */
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

/* 안쪽 점 */
#connect form .form_wrap .lb_c input[type="radio"]::after{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;          /* 안쪽 점도 살짝 라운드 */
  background: currentColor;    /* color와 동기화 */
  transform: scale(0);
  transition: transform 120ms ease;
}

/* 체크됨 */
#connect form .form_wrap .lb_c input[type="radio"]:checked{
  border-color: currentColor;
}
#connect form .form_wrap .lb_c input[type="radio"]:checked::after{
  transform: scale(1);
}

/* 포커스(키보드 접근성) */
#connect form .form_wrap .lb_c input[type="radio"]:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(17,17,17,.15);
}

/* 호버 */
#connect form .form_wrap .lb_c input[type="radio"]:hover{
  border-color: #7f8081;
}

/* 비활성 */
#connect form .form_wrap .lb_c input[type="radio"]:disabled{
  opacity: .5;
  cursor: not-allowed;
}

#connect form .form_wrap .lb_n textarea {
  height: 100px;
  padding: 10px;
  resize: none;
}

#connect form .form_wrap .lb_n:nth-last-child(1 of .lb_n) {
  margin-bottom: 30px;
}

#connect form .form_wrap .agree {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 10px;
  gap: 10px;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 16px;
  color: #A6A7A8;
}

#connect form .form_wrap .agree input[type=checkbox] {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  border: 1px solid #A6A7A8;
  background: #fff;
}

#connect form .form_wrap button {
  width: 100%;
  height: 50px;
  background: #1862D6;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 20px;
  color: #fff;
  border: none;
  border-radius: 5px;
}

#connect form .close_btn {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  right: -40px;
  background: #fff;
  border-radius: 5px;
  padding: 5px;
  cursor: pointer;
}

#connect form .close_btn span {
  width: 90%;
  height: 3px;
  background: #202020;
  position: absolute;
  left: 50%;
  top: 50%;
}

#connect form .close_btn span:first-of-type {
  transform: translate(-50%, -50%) rotate(45deg);
}

#connect form .close_btn span:last-of-type {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 허니팟: 화면/리더에서 사실상 보이지 않게 */
#connect form .hp{
  position: absolute !important;
  left: -999em !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
#connect form .hp input{ opacity: 0; }

@media (max-width: 900px) {
  #connect form {
    max-width: 80%;
  }
}

@media (max-width: 500px) {
  #connect form .form_wrap span {
    font-size: 18px;
  }

  #connect form .form_wrap .lb_n input, #connect form .form_wrap .lb_n textarea {
    height: 40px;
    font-size: 16px;
  }

  #connect form .form_wrap .lb_c {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  #connect form {
    padding: 30px;
    max-width: 90%;
  }

  #connect form .close_btn {
    top: -40px;
    right: 0;
  }

  #connect form .form_wrap span {
    font-size: 16px;
  }

  #connect form .form_wrap .lb_n input, #connect form .form_wrap .lb_n textarea {
    height: 30px;
    font-size: 14px;
    padding: 0 5px;
  }

  #connect form .form_wrap .lb_c input[type="radio"] {
    width: 15px;
    height: 15px;
  }

  #connect form .form_wrap .lb_c {
    font-size: 14px;
  }

  #connect form .form_wrap .lb_n textarea {
    padding: 5px;
  }

  #connect form .form_wrap .agree input[type=checkbox] {
    width: 15px;
    height: 15px;
  }

  #connect form .form_wrap .agree {
    font-size: 14px;
  }

  #connect form .form_wrap button {
    height: 35px;
    font-size: 16px;
  }
}