@charset "UTF-8";
/*-------------------------------------------------
title       : 레이아웃 반응형
Author      : 플랜아이 moni
Create date : 2024-11-11
-------------------------------------------------*/
@media (max-width: 1500px) {
  #footer .footer_wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  #footer .related {
    margin-left: 0;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  #linklist img {
    height: 4rem;
  }
  #fnb {
    margin-left: 0;
    margin-top: 2rem;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    width: 100%;
  }
  #siteinfo {
    width: 100%;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    margin-top: 1rem;
  }
}
@media (max-width: 1400px) {
  #gnb1 > ul a {
    padding: 0 1.8rem;
  }
  #category {
    font-size: 2.8rem;
  }
  #hnb {
    margin-right: 2rem;
  }
}
@media (max-width: 1280px) {
  #header {
    padding: 5rem 0 2rem;
    height: 12rem;
  }
  #hnb {
    position: absolute;
    right: 0;
    top: 1rem;
    margin-right: 2rem;
  }
  #gnb1 {
    margin-left: auto;
  }
}
@media (max-width: 1024px) {
  html.active #hnb {
    z-index: 11;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #header {
    padding: 0;
    height: 16rem;
  }
  #header::before {
    height: 18rem;
  }
  #header .header_wrap {
    position: relative;
  }
  #header .header_wrap::before {
    content: "";
    width: calc(100% + 4rem);
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    position: absolute;
    left: -2rem;
    bottom: 0;
  }
  #logo {
    margin: 2rem 0;
    width: 11.4rem;
    height: 4rem;
  }
  #logo::before {
    display: none;
  }
  #category {
    position: absolute;
    left: 0rem;
    top: 9rem;
    font-size: 2.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #category .layer_open_btn {
    display: none;
  }
  #category .location {
    display: block;
  }
  #category .location span {
    font-size: 1.66rem;
    font-weight: 500;
    position: relative;
    line-height: 4rem;
    display: inline-block;
    vertical-align: top;
  }
  #category .location span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
  }
  #category .location span + span {
    padding-left: 2.4rem;
  }
  #category .location span + span::before {
    content: "";
    width: 1px;
    height: 1.2rem;
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    left: 1.2rem;
    top: 1.4rem;
  }
  #hnb {
    display: none;
    right: 8.5rem;
    top: 9.75rem;
    margin-right: 0;
  }
  #hnb .hnb2 li {
    color: rgba(51, 51, 51, 0.8980392157);
    font-size: 1.7rem;
  }
  #hnb .hnb2 li::before {
    background: rgba(51, 51, 51, 0.2);
  }
  #hnb .hnb2 i {
    color: rgba(51, 51, 51, 0.5019607843);
  }
  #hnb .hnb2 a::before {
    background: #222;
  }
  #hnb .hnb2 a:hover, #hnb .hnb2 a:focus {
    color: #222;
  }
  #hnb .hnb2 a:hover i, #hnb .hnb2 a:focus i {
    color: #222;
  }
  #hnb .lang_con a {
    color: rgba(51, 51, 51, 0.8980392157);
  }
  #hnb .lang_con a::before {
    background: #222;
  }
  #gnb1 {
    margin-left: initial;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    top: 10rem;
    width: 100%;
  }
  #gnb1 > ul {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }
  #gnb2 {
    display: block;
  }
}
@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;
  }
  .layer_wrap .inner.type2 {
    padding: 6rem 3rem 4rem;
  }
  #linklist img {
    height: 3rem;
  }
}
@media (max-width: 500px) {
  html.active {
    /*#hnb .hnb2{
        z-index: 3; display: flex; justify-content: center;
        li{
            color: #333333E5; font-size: 1.7rem;
            &::before{background: #33333333;}
        }
        i{color: #33333380;}
    }*/
  }
  html.active #logo {
    position: absolute;
    top: 0;
    z-index: 11;
  }
  html.active #logo a {
    background-image: url(../img/layout/logo_mb2.svg);
  }
  #hnb {
    right: 50%;
    margin-right: initial;
    -webkit-transform: translateX(50%);
            transform: translateX(50%);
    width: 100%;
  }
  #gnb1 > ul a {
    font-size: 1.6rem;
  }
  #gnb2.active::before {
    width: 100%;
  }
  #gnb2.active::after {
    width: 100%;
  }
  #gnb2.active > ul {
    width: 100%;
  }
  /*#hnb {
      margin-right: initial; margin-left: initial; display: block; position: absolute; width: 100%; top: 0; left: 0;
      .hnb2{
          display: none;
          position: absolute; left: 50%; transform: translateX(-50%); top: 10.5rem; width: 100%;
          li{
              &:last-child{
                  margin-right: 0;padding-right: 0;
                  &::before{display: none;}
              }
          }
          a{
              &::before{background: #222;}
              &:hover,
              &:focus{                    
                  color:#222;
              }
          }
      }
      .lang_con{position: absolute; right: 5.5rem; top: 2.5rem;}
  }*/
  /*#gnb2{
      .gnb2_wrap{
          .inner{
              padding-top: 15.5rem; position: relative;
              &::before{content: ''; width: 100%; height: 1px; background: #CDCDCD4D; position: absolute; left: 0; top: 8rem;}
          }
      }
      &.active {
          .gnb2_wrap{width: calc(100% + 4rem)}
      }
  }
  .tab_wrap2 .tab_cont{ max-height: calc(100vh - 21.5rem);}*/
  .layer_wrap .inner.type1 {
    padding: 6rem 4rem;
  }
  #footer .footer_wrap {
    text-align: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #footer .related {
    margin-top: 2rem;
    width: 100%;
  }
  #footer .related .group {
    margin: 0 auto;
  }
  .f_logo {
    margin-right: 0;
  }
  #fnb {
    width: 100%;
  }
}
@media (max-width: 400px) {
  #gnb1 {
    top: 9.5rem;
  }
  #gnb1 > ul a {
    height: 5rem;
  }
  .login_box .group {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .login_box .group > .fo_check {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
    margin-bottom: 1rem;
  }
  /*.tab_wrap2 .tab_box{
      justify-content: space-between;
      li{ 
          flex: 1 1 auto;
          a{padding: 0 2rem;}
      }
  }*/
}
@media (max-width: 350px) {
  #gnb2 .control .excep_menu {
    font-size: 2rem;
  }
}
@media (max-width: 300px) {
  #gnb2 .control .excep_menu {
    font-size: 1.7rem;
    font-weight: 600;
  }
  /*.tab_wrap2 .tab_box li a{padding: 0 1rem;}*/
}