@charset "utf-8";
/* *******************************************************
 * filename : layout_responsive.css
 * description : 전체 레이아웃 반응형 CSS
 * date : 2022-07-26
******************************************************** */

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width: 1280px) {
  :root {
    --header-height: 100px;
  }
}
@media all and (max-width: 800px) {
  :root {
    --area-padding: 5vw;
    --sub-visual-height: 38rem;
    --sub-menu-height: 7.5rem;
  }
}
@media all and (max-width: 480px) {
  :root {
    --header-height: 90px;
  }
}

/* ========================================================
 * FONT SIZE
======================================================== */
@media all and (max-width: 1536px) {
  html {
    font-size: 0.651vw;
  } /* 10 */
}
@media all and (max-width: 1280px) {
  html {
    font-size: 0.8594vw;
  } /* 10 -> 11*/
}
@media all and (max-width: 800px) {
  html {
    font-size: 1.375vw;
  } /* 10 -> 11*/
}
@media all and (max-width: 640px) {
  html {
    font-size: 1.7188vw;
  } /* 10 -> 11*/
}
@media all and (max-width: 480px) {
  html {
    font-size: 2.2vw;
  } /* 10 */
}
@media all and (max-width: 412px) {
  html {
    font-size: 2.4272vw;
  } /* 10 */
}
@media all and (max-width: 390px) {
  html {
    font-size: 2.1795vw;
  } /* 10 -> 8.5 */
}

/* ========================================================
 * LAYOUT
======================================================== */
/* ****************** 공통클래스 ********************** */
@media all and (max-width: 1860px) {
  .area-wide {
    padding: 0 var(--area-padding);
    max-width: none;
  }
}
@media all and (max-width: 1660px) {
  .area-box {
    padding: 0 var(--area-padding);
    max-width: none;
  }
}
@media all and (max-width: 1460px) {
  .area {
    padding: 0 var(--area-padding);
    max-width: none;
  }
}
@media all and (max-width: 1280px) {
  .m-br {
    display: block;
  }
  .pc-br {
    display: none;
  }
  .display-m {
    display: block;
  }
  .display-pc {
    display: none;
  }
}

/* ****************** HEADER ********************** */
@media all and (max-width: 1280px) {
  .fullpage-html #header {
    position: relative;
  }
  #headerInnerWrap {
    position: fixed;
    z-index: 99;
    border-bottom: 1px solid #eee;
  }
  #header.top-fixed #headerInnerWrap {
    background-color: #fff;
  }

  /* -------- Header :: UTIL BOX -------- */
  .header-util-box {
    padding-right: 50px;
  }
  /* Header :: 사이트맵 버튼 */
  .sitemap-line-btn,
  .sitemap-custom-btn {
    display: none;
  }

  /* -------- Header :: GNB(Pc) -------- */
  #gnb {
    display: none;
  }
  .gnb-overlay-bg {
    display: none;
  }

  /* -------- Header :: GNB(Mobile/기본스타일) -------- */
  .gnb-overlay-bg-m {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
  }
  #gnbM {
    display: block;
    position: fixed;
    top: 0px;
    right: -82%;
    width: 80%;
    height: 100%;
    max-width: 280px;
    background-color: #fff;
    z-index: 9999;
    transition: var(--transition-custom);
    visibility: hidden;
  }
  #gnbM.open {
    right: 0px;
    visibility: visible;
  }
  /* GNB Mobile :: 레이아웃 */
  .gnb-navigation-wrapper {
    position: relative;
    height: 100%;
    box-sizing: border-box;
    padding-top: var(--header-height);
    overflow-y: auto;
  }
  .header-util-menu-box + .gnb-navigation-wrapper {
    padding-top: 0;
    height: calc(100% - var(--header-height));
  }

  /* GNB Mobile :: 메뉴영역 :: 1차 */
  #navigation > li {
    border-bottom: 1px solid #e7e7e7;
  }
  #navigation > li:first-child {
    border-top: 1px solid #e7e7e7;
  }
  #navigation > li > a {
    position: relative;
    display: block;
    padding: 1.5rem var(--area-padding);
    color: #000;
    font-size: 1.9rem;
    font-weight: 500;
  }
  #navigation > li.active > a {
    color: var(--main-color);
  }
  #navigation > li.has-2dep > a:before {
    font-family: xeicon;
    content: "\e914";
    position: absolute;
    top: 50%;
    right: var(--area-padding);
    font-size: 1.3em;
    transform: translateY(-50%);
  }
  #navigation > li.has-2dep.active > a:before {
    content: "\e91b";
  }
  /* GNB Mobile ::  메뉴영역 :: 2차 */
  #navigation > li .gnb-2dep {
    display: none;
    padding: 1.5rem 0;
    background-color: #f2f2f2;
  }
  #navigation > li .gnb-2dep > ul > li {
    height: auto !important;
  }
  #navigation > li .gnb-2dep > ul > li > a {
    display: block;
    color: #888;
    font-size: 1.6rem;
    padding: 1.5rem var(--area-padding);
  }
  #navigation > li .gnb-2dep > ul > li.on > a {
    color: #000;
    font-weight: 500;
  }
  /* GNB Mobile :: 메뉴영역 ::  3차 */
  #navigation > li .gnb-2dep > ul > li > .gnb-3dep {
    display: none;
    padding: 10px;
    background-color: #aaa;
    margin: 0 10px;
  }
  #navigation > li .gnb-2dep > ul > li > .gnb-3dep > li > a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: #fff;
  }
  #navigation > li .gnb-2dep > ul > li > .gnb-3dep > li > a:before {
    display: inline-block;
    content: "-";
    margin-right: 5px;
  }

  /* -------- GNB Mobile :: 스타일2 (Full Style) -------- */
  #gnbM.gnb-style-full {
    top: -100%;
    right: 0;
    width: 100%;
    height: 100%;
    max-width: none;
  }
  #gnbM.gnb-style-full.open {
    top: 0px;
  }
  .gnb-style-full .gnb-navigation-wrapper {
    height: auto;
    width: 100%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0;
    padding-top: 0;
  }
  .gnb-style-full .header-util-menu-box + .gnb-navigation-wrapper {
    top: var(--header-height);
  }
  .gnb-style-full-member .gnb-navigation-wrapper {
    bottom: var(--header-height);
  }
  .gnb-style-full .gnb-navigation-inner {
    display: table;
    width: 100%;
    height: 100%;
  }
  .gnb-style-full #navigation {
    display: table-cell;
    vertical-align: middle;
  }
  .gnb-style-full #navigation > li {
    text-align: center;
    border: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0s 0s;
  }
  .gnb-style-full #navigation > li:first-child {
    border: 0;
  }
  .gnb-style-full #navigation > li > a {
  }
  .gnb-style-full #navigation > li .gnb-icon i {
    display: none;
  }
  .gnb-style-full.open #navigation > li {
    opacity: 1;
    transform: translateY(0px);
    transition:
      transform 0.8s,
      opacity 0.8s;
  }
  .gnb-style-full.open #navigation > li:nth-child(1) {
    transition-delay: 0.3s;
  }
  .gnb-style-full.open #navigation > li:nth-child(2) {
    transition-delay: 0.4s;
  }
  .gnb-style-full.open #navigation > li:nth-child(3) {
    transition-delay: 0.6s;
  }
  .gnb-style-full.open #navigation > li:nth-child(4) {
    transition-delay: 0.7s;
  }
  .gnb-style-full.open #navigation > li:nth-child(5) {
    transition-delay: 0.9s;
  }
  .gnb-style-full.open #navigation > li:nth-child(6) {
    transition-delay: 0.9s;
  }

  /* -------- Header :: 네비게이션 오픈 버튼 -------- */
  .nav-open-btn {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
    width: var(--header-height);
    height: var(--header-height);
    transition: var(--transition-custom);
  }
  .nav-open-btn img {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 24px;
    display: block;
    vertical-align: top;
    transition: var(--transition-custom);
    transition-property: opacity, visibility;
  }
  .nav-open-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -13px;
    font-size: 26px;
    color: #000;
    transition: var(--transition-custom);
    opacity: 0;
    visibility: hidden;
    transition-property: opacity, visibility;
  }
  .nav-open-btn.active i {
    opacity: 1;
    visibility: visible;
  }
  .nav-open-btn.active img {
    opacity: 0;
    visibility: hidden;
  }
}
@media all and (max-width: 480px) {
  #header .logo a {
    height: 28px;
  }

  #navigation > li > a {
    padding: 2rem var(--area-padding);
    font-size: 1.9rem;
  }
  #navigation > li.has-2dep > a:before {
    right: var(--area-padding);
    font-size: 1.3em;
  }
  /* GNB Mobile ::  메뉴영역 :: 2차 */
  #navigation > li .gnb-2dep {
    padding: 1.5rem 0;
  }
  #navigation > li .gnb-2dep > ul > li > a {
    font-size: 1.7rem;
    padding: 1.5rem var(--area-padding);
  }
}

/* ****************** FOOTER ********************** */
@media all and (max-width: 1280px) {
}
@media all and (max-width: 800px) {
  /* -------- FOOTER :: 상단 -------- */
  #footerTop {
    padding: 6rem 0 5.5rem;
  }

  /* Footer :: 푸터로고 */
  .foot-logo img {
    height: 3.7rem;
    max-height: 37px;
  }

  /* Footer :: 정보 */
  .footer-address {
    margin-top: 3rem;
  }
  .footer-address .footer-address-txt {
    margin: -0.75rem;
    font-size: 1.6rem;
    line-height: 1.5;
  }
  .footer-address p {
    margin: 0.75rem;
  }

  /* -------- FOOTER :: 하단 -------- */
  .footer-bottom-inner {
    padding-top: 4rem !important;
    padding-bottom: 8.5rem !important;
    position: relative;
  }

  /* Footer :: 푸터메뉴 */
  .foot-menu li {
    padding-left: 3rem;
  }
  .foot-menu li:first-child {
    padding-left: 0;
  }
  .foot-menu li a {
    font-size: 1.6rem;
    line-height: 3rem;
  }

  /* Footer :: Copyright */
  .footer-copyright {
    margin-top: 1rem;
    position: static;
    width: 100%;
    font-size: 1.6rem;
    line-height: 3rem;
    text-align: left;
  }

  /* Footer :: TOP버튼 */
  .to-top-btn {
    position: absolute;
    top: 4rem;
    right: var(--area-padding);
    padding-right: 2rem;
    font-size: 1.6rem;
    line-height: 3rem;
  }

  .floating-family-ad {
    right: auto;
    left: 1rem;
    top: auto;
    bottom: 2rem;
    transform: none;
  }
  .floating-family-ad a {
    flex-direction: row;
    width: auto;
    padding: 1rem 1.4rem;
    border-radius: 12px;
  }
  .floating-family-ad a:hover {
    padding-right: 1.6rem;
  }
  .floating-family-ad__img {
    display: none;
  }
  .floating-family-ad__txt {
    display: none;
  }
  .floating-family-ad__short {
    display: inline;
    font-size: 1.4rem;
    font-weight: 500;
  }
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width: 1460px) {
  /*  SUB LAYOUT :: 비주얼 */
  #visual .visual-txt-con {
    padding: 0;
  }
  /*  SUB LAYOUT :: 컨텐츠 레이아웃 */
  #content:not(.wide) {
    padding: 12rem var(--area-padding);
  }
}
@media all and (max-width: 1280px) {
  /*  SUB LAYOUT :: 컨텐츠 레이아웃 */
  #content:not(.wide) {
    padding: 10rem var(--area-padding);
  }
  #content.wide {
    padding: 10rem 0 0 0;
  }
}
@media all and (max-width: 800px) {
  /*  SUB LAYOUT :: 비주얼 */
  #visual .table-cell-layout {
    padding-bottom: calc(var(--sub-menu-height) / 2);
  }
  #visual .visual-tit {
    font-size: 4.2rem;
    line-height: 1.2;
  }
  #visual .visual-sub-txt {
    margin-top: 2rem;
    font-size: 1.8rem;
    line-height: 1.5;
  }
  /*  SUB LAYOUT ::  서브메뉴(스타일1,2,3) */
  #topMenu01,
  #topMenu02,
  #topMenu03,
  #topMenu04 {
    display: none;
  }

  /* -------- SUB LAYOUT :: 서브메뉴 모바일 -------- */
  #topMenuM {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(var(--sub-menu-height) + 2px);
    z-index: 11;
  }
  #topMenuM .top-menu-wrapper {
    position: relative;
    width: 100%;
    height: var(--sub-menu-height);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
  }
  #topMenuM .top-menu-inner {
    position: relative;
    height: var(--sub-menu-height);
    border-bottom: 1px solid #ddd;
  }
  #topMenuM .menu-location {
    position: relative;
    box-sizing: border-box;
    width: 100%;
  }
  #topMenuM .menu-location > .cur-location {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    height: var(--sub-menu-height);
    padding: 0 1.5rem;
    padding-right: calc(var(--area-padding) + 1.5rem);
    box-sizing: border-box;
  }
  #topMenuM .menu-location > .cur-location span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: var(--sub-menu-height);
    font-size: 1.7rem;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: #fff;
  }
  #topMenuM .menu-location > .cur-location .arrow {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    margin-top: -1rem;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
  }
  #topMenuM .menu-location .location-menu-con {
    display: none;
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    border: 1px solid #ddd;
    background-color: #fff;
    z-index: 11;
  }
  #topMenuM .menu-location .location-menu-con li {
    border-top: 1px solid #eee;
    height: auto;
  }
  #topMenuM .menu-location .location-menu-con li a {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 1.1rem 1.5rem;
    font-size: 1.6rem;
    line-height: 1.5;
    word-break: keep-all;
    box-sizing: border-box;
  }
  #topMenuM .menu-location .location-menu-con li.on {
    position: relative;
  }
  #topMenuM .menu-location .location-menu-con li.on a {
    color: var(--main-color);
    font-weight: 500;
  }
  /* Home 버튼 있을때 */
  #topMenuM .location-to-home-btn + .top-menu-inner {
    width: 100%;
    padding-left: calc(var(--area-padding) + 3.5rem);
    padding-right: var(--area-padding);
    box-sizing: border-box;
  }
  #topMenuM .location-to-home-btn {
    position: absolute;
    width: 3.5rem;
    height: var(--sub-menu-height);
    left: var(--area-padding);
    top: 0px;
    display: flex;
    align-items: center;
  }
  #topMenuM .location-to-home-btn svg {
    position: relative;
    height: 3.2rem;
  }
  /* 2depth 있을때 */
  #topMenuM .menu-2dep {
    display: flex;
  }
  #topMenuM .menu-2dep .menu-location {
    width: 50%;
  }
  #topMenuM .menu-2dep .menu-location.location2 {
  }
  #topMenuM .menu-2dep .menu-location .location-menu-con {
    border-top: 0;
  }
  /* Menu OPEN */
  #topMenuM .menu-location.open > .cur-location .arrow {
    transform: rotate(-180deg);
  }

  /*  SUB LAYOUT :: 상단정보 (공통) */
  #contentInfoCon {
    margin: 0 auto 4rem;
  }
  #contentInfoCon .content-tit {
    font-size: 3.8rem;
    line-height: 1.4;
  }

  /*  SUB LAYOUT :: 컨텐츠 레이아웃 */
  #content:not(.wide) {
    padding: 8rem var(--area-padding);
  }
  #content.wide {
    padding: 8rem 0 0 0;
  }
}

/* ****************** MODAL LAYERPOPUP ********************** */
@media all and (max-width: 800px) {
  /* modal layer content */
  .footer-modal-content {
    width: auto;
    margin: 50px 15px;
  }
  .footer-modal-content h1 {
    font-size: 18px;
    text-align: left;
    padding: 0 30px 15px 0;
  }
  .modal-close-btn {
    right: -3px;
    top: -3px;
  }
  .modal-close-btn i {
    font-size: 24px;
  }
  .footer-inner-box {
    padding: 15px;
  }
  .footer-inner {
    padding: 10px;
    height: 250px;
  }
}
