@charset "utf-8";
@import url("./main_responsive.css");

@media all and (max-width:1270px) {
  html {
    font-size: 18px;
  }

  /* -------- Header :: GNB(Pc) -------- */
  #gnb > ul > li {
    padding: 0 1em;
  }
  #gnb > ul > li > a span {
    font-size: 0.9em;
  }
  /* ****************** FOOTER ********************** */
  #footer h1 {
    text-align: center;
    margin-bottom: 1.3rem;
  }
  .footer-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
  }
  .footer-link a {
    padding: 0;
    font-size: 0.875rem;
  }
  .footer-address {
    width: 100%;
    text-align: center;
    order: 2;
  }
  .footer-address p {
    font-size: 0.875rem;
  }
  .footer-address span {
    padding: 0 0.5rem;
  }
  .footer-copyright {
    font-size: 0.8rem;
    margin-top: 10px;
  }
}
/* @media all and (max-width: 820px) { */
@media all and (max-width: 992px) {
  html {
    font-size: 15px;
  }
  #header.fixed .nav-open-btn .line {
    background-color: var(--bs-black);
  }
  #header .nav-open-btn.active .line {
    background-color: var(--bs-black);
  }
  #headerInner > div {
    margin-right: 3rem;
  }
  #header .tooltip {
    bottom: -2.5rem;
  }
  /* -------- Header :: GNB(Pc) -------- */
  #gnb {
    display: none;
  }
  /* -------- Header :: GNB(Mobile/기본스타일) -------- */
  #gnbM {
    display: block;
    position: fixed;
    top: 0px;
    right: -100%;
    width: 90%;
    max-width: 380px;
    height: 100%;
    background: var(--bs-white);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
    -webkit-transition: all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
    -oz-transition: all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
    -ms-transition: all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
    visibility: hidden;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  }
  #gnbM.open {
    right: 0px;
    visibility: visible;
  }
  .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: 99;
  }
  /* GNB Mobile :: 레이아웃 */
  .gnb-navigation-wrapper {
    position: relative;
    height: 100%;
    box-sizing: border-box;
    padding-top: 6em;
    overflow-y: auto;
  }
  /* GNB Mobile :: 메뉴영역 :: 1차 */
  #navigation {
    padding: 1em 3em;
  }
  #navigation > li > a {
    position: relative;
    display: block;
    padding: 0.8em 0;
    color: #323232;
    font-size: 1.5em;
    font-weight: 700;
  }
  #navigation > li.on > a {
    color: var(--bs-primary);
  }
  #navigation > li .gnb-icon {
    margin-left: 10px;
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    top: 50%;
  }
  #navigation > li .gnb-icon i {
    font-size: 1em;
  }
  /* -------- Header :: 네비게이션 오픈 버튼 -------- */
  .nav-open-btn {
    display: block;
    position: fixed;
    top: 25px;
    right: 2%;
    z-index: 9998;
    height: 30px;
    transition: all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
    -webkit-transition: all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
    -oz-transition: all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
    -ms-transition: all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
  }
  .nav-open-btn .line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--bs-black);
    margin: 4px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .nav-open-btn.active .line:nth-child(2), .nav-open-btn.active .line:nth-child(4) {
    opacity: 0;
    filter: Alpha(opacity=0);
  }
  .nav-open-btn.active .line:nth-child(1) {
    -webkit-transform: translateY(7px) rotate(45deg);
    -ms-transform: translateY(7px) rotate(45deg);
    -o-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
  }
  .nav-open-btn.active .line:nth-child(3) {
    -webkit-transform: translateY(-7px) rotate(-45deg);
    -ms-transform: translateY(-7px) rotate(-45deg);
    -o-transform: translateY(-7px) rotate(-45deg);
    transform: translateY(-7px) rotate(-45deg);
  }
  #header.fixed .nav-open-btn {
    top: 20px;
  }
  /* ****************** FOOTER ********************** */
  #footer {
    padding: 2rem 0;
  }
  #footer h1 img {
    width: 250px
  }
}
@media (orientation: landscape) and (hover: none) and (pointer: coarse) {
  html {
    font-size: 18px;
  }
}