@charset "UTF-8";

/*-------------------------------------------------
title       : 레이아웃 반응형
Author      : psj
Create date : 2022-01-21
-------------------------------------------------*/
@media(max-width:1720px) {
  .popupzone .container {
    max-width: calc(100% - 10rem);
  }
}

@media (max-width: 1612px) {
  #fnb .information {
    margin-left: -7rem;
  }

  #fnb .information>div {
    margin-left: 7rem;
  }
}

@media (max-width: 1454px) {
  #fnb .information {
    margin-left: -3rem;
  }

  #fnb .information>div {
    margin-left: 3rem;
  }

  #fnb .information>div:last-child {
    width: 50%;
  }
}

@media (max-width: 1400px) {
  #fnb>* {
    float: none;
  }

  #fnb .left {
    width: 50%;
    margin-bottom: 8rem;
  }

  #fnb .right {
    padding-left: 0;
    padding-top: 2rem;
    width: 100%;
  }
}

@media (max-width: 1520px) {
  #hnb .hnb1 {
    margin-left: -1rem;
  }

  #hnb .hnb2 {
    margin-right: -1rem;
  }

  #gnb1>ul>li {
    margin: 0 2rem;
  }
}

@media (max-width: 1150px) {
  #hnb .hnb1 {
    display: none;
  }

  #hnb .hnb2 li {
    padding: 0 1rem;
  }
}

@media (max-width: 1080px) {
  #header.fix {
    top: 0;
  }

  #hnb .hnb2 .related {
    position: absolute;
    top: auto;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 10rem;
    width: calc(90vw - 4rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    display: table;
    padding: 1rem 0;
  }

  #hnb .hnb2 .related>li {
    width: 1%;
    display: table-cell;
    vertical-align: middle;
    padding: 0;
    line-height: 1.4;
  }

  #hnb .hnb2 li {
    padding: 0 .5rem;
    display: inline-block;
  }

  #hnb .quick {
    width: 15rem;
    position: static;
  }

  #hnb .quick.active ul {
    height: calc(100vh - 10rem);
    top: 10rem;
    width: 90vw;
    right: 0;
    left: inherit;
  }

  /* #hnb .hnb2 .related>li:nth-of-type(5),
  #hnb .hnb2 .related>li:nth-of-type(6) {
    display: none;
  } */

  #gnb1>ul>li.lnb8 {
    display: block;
  }

  #gnb1 {
    display: none;
  }

  .site {
    display: none;
  }

  #gnb2 {
    display: block;
  }

  #gnb2>ul {
    width: calc(100% + 2rem) !important;
    max-width: inherit;
    margin: 0 -1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  #gnb2>ul>li {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #gnb2>ul>li>a {
    position: relative;
    margin-bottom: 0;
    padding: 1.4rem 0;
  }

  #gnb2>ul>li.plus>a:after {
    position: absolute;
    top: auto;
    left: auto;
    right: auto;
    font-family: "remixicon";
    right: 0;
    content: '\ea4e';
    opacity: .5;
  }

  #gnb2>ul>li.active .submenu {
    visibility: visible;
    overflow: visible;
    width: auto;
    height: auto;
    opacity: 1;
  }

  #gnb2>ul>li.active>a:after {
    content: '\ea78' !important;
  }

  #gnb2 .submenu {
    visibility: hidden;
    overflow: hidden;
    width: 0;
    height: 0;
    opacity: 0;
  }

  #gnb2 .submenu>ul {
    padding: 0 0 1.5rem;
  }

  #gnb2 .submenu>ul>li.active div {
    visibility: visible;
    overflow: visible;
    width: auto;
    height: auto;
    opacity: 1;
    width: 100%;
    height: calc(100vh - 10rem);
    background: #137B44;
    right: 0;
    z-index: 1;
    padding: 9rem 3rem;
  }

  #gnb2 .submenu>ul>li.active div .back {
    position: absolute;
    left: 3rem;
    top: 3rem;
  }

  #gnb2 .submenu>ul>li.active div h2 {
    font-size: 2.8rem;
    line-height: 1.5;
    font-weight: 700;
    padding-bottom: 1.6rem;
    border-bottom: 3px solid #fff;
    margin-bottom: 3rem;
    text-transform: capitalize;
  }

  #gnb2 .submenu>ul>li.active div a {
    padding: 0;
  }

  #gnb2 .submenu a {
    display: block;
    border-radius: 0;
  }

  #gnb2 .submenu a:hover,
  #gnb2 .submenu a:focus {
    background: transparent;
    color: #FACB4D !important;
    font-weight: 500;
    text-decoration: underline;
  }

  #gnb2 .submenu div {
    position: absolute;
    right: -100%;
    top: 0;
    -webkit-transition: right .2s;
    transition: right .2s;
  }

  #gnb2 .submenu .plus>a {
    position: relative;
  }

  #gnb2 .submenu .plus>a:after {
    position: absolute;
    top: auto;
    left: auto;
    right: auto;
    font-family: "remixicon";
    right: 0;
    content: '\ea6e';
  }

  #gnb2 .submenu .back {
    text-transform: uppercase;
  }

  #gnb2 .submenu .back>* {
    display: inline-block;
    vertical-align: middle;
    font-weight: 700;
  }

  #gnb2 .submenu .back i {
    font-size: 1.8rem;
    margin-right: 5px;
  }

  #gnb2 .submenu .back span {
    font-size: 1.4rem;
  }

  #logo {
    margin: 2rem 0;
  }

  #logo a {
    height: 6rem;
  }

  #hnb {
    visibility: hidden;
    overflow: hidden;
    width: 0;
    height: 0;
    opacity: 0;
    left: inherit;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    right: -1rem;
  }

  #hnb:before {
    width: 100%;
    margin-left: 0;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #096334;
  }

  #hnb .hnb2 {
    float: left;
    padding-left: 2rem;
  }

  #hnb .hnb2 li {
    padding: 2.3rem .5rem;
  }

  #hnb .quick button {
    border-left: 0;
    height: 10rem;
    line-height: 10rem;
  }

  #header:before {
    top: 0;
  }

  #header .header_wrap {
    padding-top: 0;
  }

  #header .search .control.open {
    top: 2.8rem !important;
  }

  #header #gnb2 .control.open {
    top: 2.8rem;
  }

  #header #gnb2 .control.close {
    top: 3.2rem;
    color: #fff;
  }

  #header #gnb2>ul {
    left: inherit;
    right: 0;
    top: 17rem;
  }

  #header #gnb2>ul:before {
    width: 100%;
    background: #137B44;
  }

  #header #gnb2>ul:after {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: -1;
    width: 1000%;
    height: 100%;
    margin-left: -500%;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 10000%;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -2;
  }

  #header #gnb2>ul a {
    color: #fff;
  }
  #header #gnb2>ul a::after {
    color: #fff;
  }

  #header #gnb2>ul>li {
    padding: 0 2rem;
  }

  #header #gnb2>ul>li>a {
    font-size: 2.2rem;
    font-weight: 700;
    padding: 1.4rem 0;
  }

  #header #gnb2>ul>li.active {
    background: rgba(255, 255, 255, 0.08);
  }

  #header #gnb2>ul>li.active>a {
    border-bottom: 0;
  }

  #header #gnb2.active>ul {
    width: 90vw !important;
  }

  #header.all #hnb {
    visibility: visible;
    overflow: visible;
    width: auto;
    height: auto;
    opacity: 1;
    z-index: 3;
    width: 90vw;
    height: 10rem;
  }

  #footer {
    padding-top: 3rem;
  }

  #footer #fnb {
    padding: 0;
  }

  #footer .mark {
    display: none;
  }

  #footer .related {
    bottom: 0;
    left: -1rem;
    z-index: 2;
    width: calc(100% + 2rem + 1px);
  }

  #footer .related .group {
    width: calc(50% - 1px);
    height: 4.5rem;
    margin: 0 1px 0 0;
    border: 0 none;
    background-color: #969ca1;
    color: #fff;
    line-height: 4.5rem;
  }

  #footer .related .list {
    margin-bottom: 0;
  }

  #fnb .left {
    width: 100%;
  }

  #layerPopup0,
  #layerPopup1,
  #layerPopup2,
  #layerPopup3 {
    left: 50% !important;
    max-width: 90% !important;
    height: auto !important;
  }

  #layerPopup0 {
    transform: translateX(-50%);
  }

  #layerPopup1 {
    transform: translateX(-50%) translateY(10%);
  }

  #layerPopup2 {
    transform: translateX(-50%) translateY(20%);
  }

  #layerPopup3 {
    transform: translateX(-50%) translateY(30%);
  }

  #layerPopup0 .popup_cont,
  #layerPopup1 .popup_cont,
  #layerPopup2 .popup_cont,
  #layerPopup3 .popup_cont {
    height: auto !important;
    width: 100% !important;
  }

  #layerPopup0 .popup_cont img,
  #layerPopup1 .popup_cont img,
  #layerPopup2 .popup_cont img,
  #layerPopup3 .popup_cont img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1024px) {
  #siteinfo {
    text-align: center;
  }

  #siteinfo .copy {
    float: none;
    margin-bottom: 2.6rem;
    word-break: keep-all;
  }

  #siteinfo .sns {
    float: none;
    display: inline-block;
  }
}

@media (max-width: 900px) {
  #fnb .mail_form {
    margin-bottom: 0;
  }

  #fnb .mail_form p {
    border: 2px solid #111;
    padding: 0 1.4rem;
  }

  #fnb .mail_form p button {
    border: 0;
    background: transparent;
    color: #111;
    width: auto;
    min-width: inherit;
  }

  #fnb h4 {
    border-bottom: 0;
    margin: 2.4rem 0 1rem;
  }

  #fnb .information {
    margin: 0;
  }

  #fnb .information p {
    padding-left: 0;
  }

  #fnb .information p:before {
    display: none;
  }

  #fnb .information .btn_wrap a {
    min-width: inherit;
    width: calc(50% - .5rem);
  }

  #fnb .information .btn_wrap a+a {
    margin-left: 1rem;
  }

  #fnb .information>div {
    width: 100% !important;
    margin: 0;
  }

  #fnb .information>div:first-child ul {
    display: table;
    width: 100%;
    border: 1px solid #aaa;
  }

  #fnb .information>div:first-child ul li {
    display: table-cell;
    vertical-align: middle;
    float: none;
    width: auto;
    text-align: center;
    position: relative;
  }

  #fnb .information>div:first-child ul li:after {
    position: absolute;
    top: 50%;
    left: auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 2.2rem;
    content: '';
    background: #ddd;
  }

  #fnb .information>div:first-child ul li a {
    padding: 1.2rem 1.5rem;
  }

  #fnb .information>div:first-child ul li:last-child:after {
    display: none;
  }

  #fnb .information>div.group {
    position: relative;
  }

  #fnb .information>div.group button {
    display: block;
    width: 100%;
    border: 1px solid #aaa;
    text-transform: uppercase;
    text-align: left;
    padding: 1.2rem 1.5rem;
    position: relative;
  }

  #fnb .information>div.group button:after {
    font-family: "remixicon";
    content: '\ea4e';
    position: absolute;
    top: 50%;
    left: auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 1.5rem;
  }

  #fnb .information>div.group ul {
    padding: 0 1.5rem;
    border: 1px solid #aaa;
    border-top: 0;
    position: absolute;
    left: 0;
    top: 100%;
    visibility: hidden;
    overflow: hidden;
    width: 0;
    height: 0;
    opacity: 0;
    background: #fff;
    z-index: 1;
  }

  #fnb .information>div.group ul li {
    float: none;
    width: 100%;
  }

  #fnb .information>div.group.active button:after {
    -webkit-transform: rotate(180deg) translateY(6px);
    transform: rotate(180deg) translateY(6px);
  }

  #fnb .information>div.group.active ul {
    padding: 1.2rem 1.5rem;
    visibility: visible;
    overflow: visible;
    width: auto;
    height: auto;
    opacity: 1;
    width: 100%;
  }
}

@media (max-width: 600px) {
  #footer .btn_top.active {
    width: 4.4rem;
    height: 4.4rem;
    font-size: 2rem;
    right: 1rem;
    bottom: 1rem;
  }

  #footer .btn_top.active i {
    line-height: 4.4rem;
  }

  #fnb .left>div>* {
    width: 100%;
  }

  #fnb .left>div .banner li a.img {
    padding-bottom: 24.5rem;
  }

  #fnb .left>div .banner li a.img img {
    min-height: 24.5rem;
  }

  #fnb .left>div .virtual {
    margin-left: 0;
    margin-top: 7rem;
  }

  #fnb .information {
    margin-left: 0;
  }

  #fnb .information>div {
    margin-left: 0 !important;
    width: 100% !important;
  }
  
}

@media (max-width: 420px) {
  #fnb .information>div:first-child ul li a {
    padding: 1.2rem 1rem;
  }

  #siteinfo .sns li+li {
    margin-left: 2rem;
  }

  #siteinfo .sns li a.w_mark {
    width: 6rem;
    height: 6rem;
    margin-top: 0;
  }
}