@charset "UTF-8";
/*-------------------------------------------------
title       : 레이아웃 반응형
Author      : moni
Create date : 2022-12-19
-------------------------------------------------*/
@media (max-width: 1950px) {
  .header_wrap::before {
    width: calc(100% + 4rem);
    left: 50%;
  }
  #hnb::before {
    width: calc(100% + 4rem);
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    margin-left: 0;
  }
}
@media (max-width: 1700px) {
  #footer .mark {
    margin-right: 10rem;
  }
}
@media (max-width: 1500px) {
  #hnb .hnb3 {
    right: 9rem;
  }
  #search .control.open {
    right: 4.5rem;
  }
  /*#gnb1 > ul{
      width: calc(100% - 36rem - 20.1rem); margin: 3.4rem 36rem 0 0;
      & > li{margin: 0 2rem;}
  }*/
  #gnb2 > ul {
    width: calc(100% - 2rem);
  }
}
@media (max-width: 1440px) {
  #footer .article1 {
    max-width: 100%;
    width: 100%;
    padding-left: 2rem;
  }
  #footer .article1::before {
    width: 100%;
    margin-left: 0;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  #footer .article2::before {
    width: calc(100% + 4rem);
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    margin-left: 0;
  }
}
@media (max-width: 1400px) {
  /*#gnb1 > ul{
      & > li{margin: 0 1.5rem;}
  }*/
}
@media (max-width: 1280px) {
  #hnb .hnb1 a {
    padding: 0 1rem;
  }
  #gnb1 {
    display: none;
  }
  #gnb2 .control.close {
    right: 3rem;
    top: 3rem;
  }
  #gnb2 > ul {
    display: block;
    width: 50rem;
    max-width: 100%;
    height: calc(100vh - 9rem);
    -webkit-transform: translateX(0);
            transform: translateX(0);
    background: #185844;
    margin: 0;
    z-index: 10;
    overflow-y: auto;
    border-top: none;
    position: absolute;
    top: 9rem;
    right: 0;
    left: initial;
  }
  #gnb2 > ul > li {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto !important;
    border-right: none;
    max-width: 100%;
    position: initial;
    opacity: 1;
  }
  #gnb2 > ul > li::before {
    display: none;
  }
  #gnb2 > ul > li:first-child {
    border-left: none;
  }
  #gnb2 > ul > li > a {
    position: relative;
    float: none;
    width: 100%;
    margin-bottom: 0;
    padding: 2rem 2rem;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  #gnb2 > ul > li.active > a {
    background-color: #fff;
    color: #000;
    text-decoration: none;
  }
  #gnb2 > ul > li.active > a::before {
    content: "\e90b";
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    font-family: "xeicon";
    position: absolute;
    right: 1rem;
    top: 50%;
    font-weight: 300;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  #gnb2 > ul > li.active .submenu {
    visibility: visible;
    overflow: visible;
    opacity: 1;
  }
  #gnb2 > ul.active > li > a {
    width: 18rem;
    text-align: left;
    padding: 2.2rem 3rem 2.2rem 2rem;
  }
  #gnb2 > ul.active .submenu {
    width: calc(100% - 18rem);
    left: 18rem;
    min-height: 80rem;
  }
  #gnb2 .submenu {
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    float: none;
    width: 0;
    height: 0;
    padding: 1.5rem 2rem;
    background: #fff;
    position: absolute;
    top: 0rem;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    height: calc(100vh - 9rem);
  }
  #gnb2 .submenu > ul > li {
    margin-bottom: 0;
  }
  #gnb2 .submenu > ul > li > a {
    max-width: 100%;
    border-radius: 0;
    color: #000;
    border-bottom: none;
    position: relative;
    font-size: 1.9rem;
    padding: 1.8rem 3rem 1.8rem 1rem;
    font-weight: 500;
    display: block;
    border-bottom: 1px solid #E6E6E6;
    line-height: 2.5rem;
  }
  #gnb2 .submenu > ul > li._plus > a::before {
    content: "\e941";
    font-family: "xeicon";
    width: 2rem;
    height: 2rem;
    position: absolute;
    right: 1rem;
    top: 2.2rem;
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
  }
  #gnb2 .submenu > ul > li._plus.active > a::before {
    content: "\e944";
  }
  #gnb2 .submenu > ul > li.active .gnb_d3 {
    visibility: visible;
    overflow: visible;
    opacity: 1;
    height: auto;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid #E6E6E6;
  }
  #gnb2 .gnb_d3 {
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    float: none;
    width: 100%;
    height: 0;
    margin-top: 0;
    background: #F7F7F7;
  }
  #gnb2 .gnb_d3 a {
    color: #333;
    font-size: 1.7rem;
    margin: 0.7rem 0;
    display: inline-block;
    font-weight: 400;
  }
  #gnb2 .gnb_d3 a::before {
    background-color: #A7A7A7;
  }
  #gnb2 .gnb_d3 a:hover, #gnb2 .gnb_d3 a:focus {
    color: #333;
    text-decoration: underline;
  }
  #gnb2 .gnb_d3 a:hover::before, #gnb2 .gnb_d3 a:focus::before {
    color: #333;
    background-color: #A7A7A7;
  }
  #gnb2.active {
    background: rgba(0, 0, 0, 0.5);
  }
  #gnb2.active::before {
    content: "";
    width: 50rem;
    height: 9rem;
    background: #2E2D2D;
    position: absolute;
    right: 0;
    top: 0;
  }
  #gnb2.active > ul {
    height: calc(100vh - 9rem);
    min-height: 80rem;
  }
  #siteinfo address p {
    display: block;
  }
}
@media (max-width: 1024px) {
  #hnb .hnb1 {
    width: 19rem;
  }
  #hnb .hnb1 .label {
    display: block;
  }
  #hnb .hnb1 .list {
    visibility: hidden;
    overflow: hidden;
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
    left: -1px;
    top: 100%;
    width: 100%;
    background: #484c58;
  }
  #hnb .hnb1 .list li {
    width: 100%;
    border: 0 none;
  }
  #hnb .hnb1 .list a {
    padding: 1rem 2rem;
    text-align: left;
    line-height: 1.2;
  }
  #hnb .hnb1.active .list {
    visibility: visible;
    overflow: visible;
    width: auto;
    height: auto;
    opacity: 1;
  }
  #hnb .hnb2 a {
    padding: 0 1.5rem;
  }
  #hnb .hnb3 {
    top: 5.5rem;
  }
  #footer .mark {
    margin-right: 5rem;
  }
}
@media (max-width: 768px) {
  #search .close {
    right: 4rem;
    top: 4rem;
  }
  #search.active .group {
    width: 50rem;
    padding: 12rem 6rem;
  }
  #footer .logo {
    display: none;
  }
  #footer .inner {
    padding-left: 0;
  }
  #footer .mark {
    margin-right: 0rem;
  }
}
@media (max-width: 500px) {
  .header_wrap.active #hnb .hnb2 {
    display: block;
  }
  .header_wrap.active #hnb .hnb2.off {
    opacity: 0;
    visibility: hidden;
    height: 0;
  }
  #hnb .hnb2 {
    display: none;
    position: absolute;
    z-index: 2;
    top: 2.5rem;
    font-size: 1.6rem;
    width: auto;
    right: inherit;
    left: -1rem;
  }
  #hnb .hnb2 li a {
    position: relative;
  }
  #hnb .hnb2 li a::after {
    content: "";
    width: 1px;
    height: 0.8rem;
    background-color: rgba(188, 188, 188, 0.5);
    position: absolute;
    right: 0;
    top: 1.4rem;
  }
  #hnb .hnb2 li:first-child {
    display: none;
  }
  #hnb .hnb2 li:last-child a::after {
    display: none;
  }
  #search .group .title_sch {
    font-size: 4rem;
  }
  #search .form {
    margin: 6rem 0 7rem;
  }
  #search.active .group {
    width: 100%;
    padding: 6rem 4rem;
  }
  #gnb2 > ul {
    width: 100%;
  }
  #gnb2 > ul.active > li > a {
    width: 16rem;
  }
  #gnb2 > ul.active .submenu {
    width: calc(100% - 16rem);
    left: 16rem;
  }
  #gnb2.active::before {
    width: 100%;
  }
}