/*-------------------------------------------------

Responsive

-------------------------------------------------*/
/* Media Query */
@media (max-width: 1400px) {
  .quick_menu {
    width: 11rem;
  }
  .quick_menu a span {
    font-size: 1.1rem;
  }
}
@media (max-width: 1200px) {
  #header #gnb1 .topmenu > li > a {
    padding: 0 1rem;
  }
  .quick_menu {
    width: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    bottom: 2rem;
    right: 2rem;
  }
  .quick_menu .tit {
    display: none;
  }
  .quick_menu::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    z-index: 300;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }
  .quick_menu .mo_box {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 310;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }
  .quick_menu .mo_box li + li {
    border: none;
    margin-top: 1rem;
  }
  .quick_menu .mo_box a {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    background: none;
    padding: 0;
    text-align: right;
  }
  .quick_menu .mo_box a i {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex: none;
    width: 6rem;
    height: 6rem;
    background: #fff;
    border-radius: 100%;
    overflow: hidden;
  }
  .quick_menu .mo_box a span {
    color: #fff;
    text-align: right;
    font-size: 1.2rem;
    font-weight: 300;
  }
  .quick_menu .mo_box a span em {
    display: inline;
  }
  .quick_menu .mo_box a.mo span em {
    display: block;
    text-align: right;
  }
  .quick_menu .mo_box li:nth-child(1) a i img {
    width: 80%;
  }
  .quick_menu .mo_box li:nth-child(2) a i img {
    width: 60%;
  }
  .quick_menu .mo_box li:nth-child(3) a i img {
    width: 60%;
  }
  .quick_menu .mo_box li:nth-child(4) a i img {
    width: 60%;
  }
  .quick_menu .mo_box li:nth-child(5) a i img {
    width: 35%;
  }
  .quick_menu .mo_box li:nth-child(6) a i img {
    width: 50%;
  }
  .quick_menu .mo_box li:nth-child(7) a i img {
    width: 40%;
  }
  .quick_menu .mo_box .mo_btn {
    margin-left: auto;
    margin-top: 1rem;
  }
  .quick_menu .mo_btn {
    display: flex;
  }
  .quick_menu .mo_btn.go_top {
    margin-top: 1rem;
  }
  .quick_menu.quick_open::before {
    opacity: 1;
    visibility: visible;
  }
  .quick_menu.quick_open .mo_box {
    opacity: 1;
    visibility: visible;
  }
  .quick_menu.quick_open .mo_btn.more {
    opacity: 0;
    visibility: hidden;
  }
  .quick_menu.quick_open .mo_btn.go_top {
    opacity: 0;
    visibility: hidden;
  }
}
@media (max-width: 1024px) {
  #header .header_wrap {
    padding: 2.4rem 0;
  }
  #header #gnb1 {
    display: none;
  }
  #header .etc .gnb2_open {
    display: flex;
  }
  #header .etc .mobile {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 201;
    padding: 1.6rem;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
  }
  #header .etc .mobile .btn {
    flex: 1;
  }
  #header .etc .btn.black {
    background: #fff;
    color: #000;
    border-color: #fff;
  }
  #header .etc .btn.black::after {
    font-size: 2.6rem;
  }
  #header #gnb2 {
    position: fixed;
    left: 0;
    top: 9rem;
    z-index: 200;
    width: 100%;
    height: calc(100% - 9rem);
    background: #fff;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    border-top: 1px solid #D5D5D5;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
  }
  #header #gnb2 .control.open {
    display: none;
  }
  #header #gnb2 .control.close {
    position: fixed;
    right: 1.6rem;
    top: 2.4rem;
    z-index: 2;
    font-size: 0;
  }
  #header #gnb2 .control.close::before {
    content: "\f4c8";
    font-family: "remixicon";
    font-size: 2.6rem;
    width: 4.2rem;
    height: 4.2rem;
    background: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  #header #gnb2 .topmenu_all {
    width: 100%;
    overflow-y: auto;
    height: calc(100% - 7.2rem);
  }
  #header #gnb2 .topmenu_all > li {
    padding: 2.4rem 10%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5%;
    border-bottom: 1px solid #ddd;
  }
  #header #gnb2 .topmenu_all > li > a {
    display: block;
    width: 8rem;
    font-size: 2rem;
    font-weight: 800;
  }
  #header #gnb2 .topmenu_all .submenu > ul > li + li {
    margin-top: 1rem;
  }
  #header #gnb2 .topmenu_all .submenu > ul > li > a {
    font-size: 1.8rem;
    font-weight: 500;
  }
  #header #gnb2 .topmenu_all .submenu div {
    display: none;
  }
  #header .search_box {
    top: 9rem;
  }
  #header .search_box .btn_close {
    top: -6rem;
    right: 1rem;
  }
  #header .search_box .layout_fix {
    padding: 4rem 0;
    margin-right: 0;
    width: calc(100% - 1.6rem);
  }
  #header .search_box #searchForm {
    padding-right: 1.6rem;
  }
  #header .search_box .input_box {
    height: 5.6rem;
  }
  #header .search_box .keyword {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  #header .search_box .keyword .inner {
    overflow-x: auto;
    width: 100%;
    flex-direction: row;
    gap: 0;
  }
  #header .search_box .keyword .list {
    width: -moz-max-content;
    width: max-content;
    padding-right: 1rem;
    gap: 0.8rem;
  }
  #header .search_box .keyword .list a {
    height: 3.6rem;
    padding: 0 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
  }
  #header .search_box .keyword .more {
    display: none;
  }
  #header .search_box .keyword .plus .list {
    display: flex !important;
  }
  #footer .copyright {
    font-size: 1.6rem;
  }
  html:has(#header.gnb2_active) {
    overflow-y: hidden;
  }
  #header.gnb2_active .etc .mobile {
    opacity: 1;
    visibility: visible;
  }
  #header.gnb2_active #gnb2 {
    opacity: 1;
    visibility: visible;
  }
  #header.gnb2_active.search_active .etc {
    opacity: 1;
    visibility: visible;
  }
  #header.gnb2_active.search_active .etc .btn.ic {
    opacity: 0;
    visibility: hidden;
  }
  #header.gnb2_active.search_active #gnb2 .control.close {
    opacity: 0;
    visibility: hidden;
  }
}
@media (max-width: 480px) {
  #header #logo img {
    height: 2.6rem;
  }
  .quick_menu {
    bottom: 1rem;
    right: 1rem;
  }
  .quick_menu .mo_box {
    bottom: 1rem;
    right: 1rem;
  }
}
@media (max-width: 370px) {
  .quick_menu .mo_btn {
    width: 5rem;
    height: 5rem;
  }
  .quick_menu .mo_box a i {
    width: 5rem;
    height: 5rem;
  }
}