@charset "UTF-8";
/*-------------------------------------------------
title       : 레이아웃 반응형
Author      : PLANI moni
Create date : 2024-05-10
Last modification : 2024-05-14
-------------------------------------------------*/
@media (max-width: 1280px) {
  #gnb1 > ul > li > a {
    margin: 0 1.5rem;
    letter-spacing: -0.05rem;
  }
}
@media (max-width: 1024px) {
  #wrap.active {
    height: 100vh;
    overflow: hidden;
  }
  #wrap.active::before {
    display: none;
  }
  #gnb1 {
    display: none;
  }
  #hnb .link {
    display: none;
  }
  #gnb2 .control.open {
    display: block;
  }
  #gnb2 > ul {
    display: block;
    width: 48rem;
    height: calc(100vh - 8rem) !important;
    overflow-y: auto;
    background: #fff;
    color: #333;
    position: absolute;
    right: 0rem;
    top: 8rem;
    padding: 0 5.5rem 2rem;
  }
  #gnb2 > ul::before {
    display: none;
  }
  #gnb2 > ul > li {
    max-width: 100%;
    padding: 3rem 0 1.5rem !important;
    border-bottom: 1px solid #7A7A7A;
  }
  #gnb2 > ul > li > a {
    padding-left: 0;
    padding-bottom: 1.5rem;
    border-left: none;
    margin-bottom: 0;
    position: relative;
  }
  #gnb2 > ul > li.active > a {
    border-bottom: 2px solid #208E81;
  }
  #gnb2 > ul > li.active .depth2 {
    height: auto;
    visibility: visible;
    padding: 2rem 2.5rem;
  }
  #gnb2 > ul > li._plus > a::before {
    content: "\e941";
  }
  #gnb2 .depth2 {
    margin-top: 0.5rem;
  }
  #gnb2 .depth2 > ul > li > a {
    padding-left: 0;
  }
  #gnb2 .depth2 > ul > li > a::before {
    display: none;
  }
  #gnb2 .depth2 div {
    padding-left: 2rem;
    display: none;
  }
  #gnb2 .depth2 div a {
    color: #000;
  }
  #gnb2.active {
    top: 0;
  }
  #gnb2.active::before {
    content: "";
    width: 48rem;
    height: 8rem;
    background-color: #fff;
    position: absolute;
    right: 0rem;
    top: 0rem;
  }
  #gnb2.active::after {
    content: "";
    width: calc(100% + 6rem);
    height: 100vh;
    position: absolute;
    left: -3rem;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
  #gnb2 .control {
    top: 3rem;
  }
  #gnb2 .control.open:hover, #gnb2 .control.open:focus {
    top: 3.3rem;
  }
  #gnb2 .control.close::before {
    background-color: #333;
  }
  #gnb2 .control.close::after {
    background-color: #333;
  }
  #gnb2 .lnb5 {
    border-bottom: none;
    margin-top: 2rem;
  }
  #gnb2 .lnb5 a {
    text-align: center;
    height: 8rem;
    line-height: 8rem;
    padding: 0 1rem;
    background: #F2F2F2;
    border: none;
    font-size: 2.1rem;
    border-radius: 40px;
  }
  #gnb2 .lnb5 a::after {
    content: "";
    width: 1.7rem;
    height: 7.8rem;
    background-image: url(../img/arrow_1.png);
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 0 0.7rem;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #gnb2 .lnb5 a:hover, #gnb2 .lnb5 a:focus {
    background: #208E81;
    color: #fff;
  }
  #gnb2 .lnb5 a:hover::after, #gnb2 .lnb5 a:focus::after {
    background-image: url(../img/arrow_2.png);
  }
}
@media (max-width: 768px) {
  #footer .txt1 br {
    display: block;
  }
  #footer .footer_wrap {
    padding: 5rem 0;
  }
}
@media (max-width: 500px) {
  #gnb2 .control {
    top: 2.7rem;
  }
}
@media (max-width: 400px) {
  #gnb2 > ul {
    max-width: 100%;
    width: 100%;
  }
  #gnb2.active::before {
    width: 100%;
  }
}