@charset "UTF-8";
/*-------------------------------------------------
title       : 메인 반응형
Author      : 플랜아이 moni
Create date : 2024-11-11
-------------------------------------------------*/
@media (max-width: 1280px) {
  #hnb {
    top: 3rem;
    margin-right: 3rem;
  }
  #main {
    min-height: calc(100vh - 22rem);
  }
}
@media (max-width: 1024px) {
  #hnb {
    right: 3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    top: 3rem;
    margin-right: 0;
  }
  #hnb .hnb2 li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.7rem;
  }
  #hnb .hnb2 li::before {
    background: rgba(255, 255, 255, 0.2);
  }
  #hnb .hnb2 i {
    color: rgba(255, 255, 255, 0.5);
  }
  #hnb .hnb2 a::before {
    background: #fff;
  }
  #hnb .hnb2 a:hover, #hnb .hnb2 a:focus {
    color: #fff;
  }
  #hnb .hnb2 a:hover i, #hnb .hnb2 a:focus i {
    color: #fff;
  }
  #hnb .lang_con a {
    color: rgba(255, 255, 255, 0.9);
  }
  #hnb .lang_con a::before {
    background: #fff;
  }
}
@media (max-width: 768px) {
  .category_wrap .item.type2 {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
  .category_wrap .item.type2:nth-child(even) {
    margin-left: 0;
  }
}
@media (max-width: 500px) {
  #hnb {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
  }
  /*#hnb .hnb2{display: flex; top: 2rem; justify-content: end; padding-right: 1rem;}*/
  .category_wrap ul a {
    padding: 0.5rem 1.5rem 0.5rem 4.2rem;
    height: 5rem;
  }
  .category_wrap ul a::before {
    width: 3rem;
    height: 3rem;
    left: 0.9rem;
    top: 0.9rem;
  }
  .category_wrap ul a.inactive {
    padding: 0.5rem 1.5rem 0.5rem 4.2rem !important;
    height: 5rem;
  }
  .category_wrap ul a.inactive::before {
    width: 3rem;
    height: 3rem;
    left: 0.9rem;
    top: 0.9rem;
  }
  .category_wrap ul a:hover, .category_wrap ul a:focus {
    padding: 0.5rem 1.6rem 0.5rem 4.3rem !important;
  }
  .category_wrap ul a:hover::before, .category_wrap ul a:focus::before {
    background-position: 0 -3rem;
  }
}