@charset "utf-8";
@import url("./main_responsive.css");
@import url("./sub_responsive.css");
@import url("./board_responsive.css");


@media all and (max-width: 1550px) {
#gnb > ul > li {
    width: 160px;
}
#gnb > ul > li > a {
    padding: 0 10px;
}
#header .header-etc-menu-wrap a {
   font-size:14px;
}
#header .header-etc-menu-wrap img {
    width: 17px;
}
}
@media all and (max-width: 1440px) {
  #header .logo {
    margin-right: 2rem;
  }
  #header .all_menu {
    padding: 12px 0;
    margin-right: 10px;
  }
  #gnb {
    margin-right: 10px;
  }
  #gnb > ul > li {
    width: 165px;
  }
  #gnb > ul > li > a {
    padding: 0 12px;
  }
  #gnb > ul > li .gnb-2dep ul li {
    padding: 3px 15px;
  }
  #header .header-search-wrap input {
    max-width: 110px;
  }
  #header .header-etc-menu-wrap {
    margin-left: 15px;
  }
}
@media all and (max-width: 1370px) {
	#header .allMenu-wrap .allMenu-menu > div {
    padding: 0 1.5em;
}
  #gnb > ul > li {
    width: 145px;
  }
}
@media all and (max-width: 1280px) {
  .area {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  #header .logo {
    margin-right: 1.7rem;
  }
  #gnb > ul > li {
    width: 125px;
  }
  #gnb > ul > li > a {
    font-size: 20px;
    padding: 0 10px;
  }
  #gnb > ul > li .gnb-2dep ul li a {
    font-size: 16px;
  }
  #header .header-search-wrap input {
    max-width: 100px;
	font-size:0.8em;
  }
  .footerTop .area {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: -1px;
    margin-right: -1px;
  }
}
@media all and (max-width: 1180px) {
  
  body, table, th, td, input, textarea, button, select {
    font-size: 15px;
  }
  #header {
    height: 56px;
    border-top: 4px solid var(--bs-primary);
  }
  #header .logo {
    padding: 17px 0 16px 0;
  }
  #header .logo a {
    width: 100px;
    height: 19px;
    background-size: 100px 19px;
  }
  #gnb > ul > li {
    width: 110px;
  }
  #gnb > ul > li > a {
    font-size: 15px;
    height: 52px;
    line-height: 52px;
  }
  #gnb > ul > li:hover .gnb-2dep:after {
    height: calc(100% + 10px);
  }
  #gnb > ul > li .gnb-2dep:before {
    top: 50px;
    height: 2px;
  }
  #gnb > ul > li .gnb-2dep {
    padding-top: 60px;
  }
  #gnb > ul > li .gnb-2dep ul li a {
    font-size: 0.95em;
  }
  #header .all_menu {
    background-size: 16px 16px;
    width: 16px;
    z-index: 1;
  }
  #header .header-search-wrap {
    padding: 4px 15px;
  }
  #header .header-search-wrap button {
    width: 15px;
    height: 15px;
    background-size: 15px auto;
  }
  #header .header-etc-menu-wrap {
    margin-left: auto;
  }
  #header .header-etc-menu-wrap a {
    font-size: 0.85em;
  }
  #header .header-etc-menu-wrap img {
    width: 13px;
  }
  .footerBottom h1 {
    width: 100px;
    height: 19px;
    background-size: 100px 19px;
  }
  .footerBottom li {
    padding: 0 7px;
  }
  .footerBottom li img {
    width: 25px;
  }
}
@media all and (max-width:1024px) {
	#header .logo {
        margin-right: 0.5rem;
    }
	#header .header-search-wrap {
    padding: 4px 5px;
  }
	#header .header-search-wrap input {
        font-size: 0.75em;
		max-width: 110px;
    }
  #header .header-etc-menu-wrap a {
        font-size: 0.8em;
    }
	    #gnb > ul > li {
        width: 105px;
    }
	#gnb > ul > li .gnb-2dep ul li a {
        font-size: 0.85em;
    }
	#header .allMenu-wrap .allMenu-menu > div p {
    	font-size: 1.2em;
	}
	#header .allMenu-wrap .allMenu-menu > div a {
    	font-size: 1em;
	}
}
@media all and (max-width:980px) {
	html, body {
    overflow-x: hidden;
    width: 100vw;
    min-height: 100vh;
  }
  body {
    padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top);
  }
  #header {
    border-top: 4px solid var(--bs-primary); position:fixed;
	  right:0;
  }
  #header, #headerInnerWrap {
    height: 50px;
	 
  }
  #header .logo {
    padding: 14px 0;
    margin: 0 auto;
  }
  #header .all_menu, #header .header-search-wrap {
    display: none;
  }
  #header .header-etc-menu-wrap {
    display: none;
  }
  #header .header-msearch-wrap {
    border: 1px solid var(--bs-primary);
    background: var(--bs-primary);
    overflow: hidden;
    border-radius: 30px;
    padding: 6px 15px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
    display: flex;
  }
  #header .header-msearch-wrap:focus-within {
    box-shadow: rgba(152, 157, 65, 0.4) 0px 8px 24px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
  }
  #header .header-msearch-wrap input {
    border: none;
    background: transparent;
    width: calc(100% - 22px);
    color: var(--bs-black);
  }
  #header .header-msearch-wrap button {
    text-indent: -999999px;
    background: url("../images/common/btn_header_search.png");
    width: 21px;
    height: 21px;
    background-size: 21px auto;
  }
  
  /* -------- Header :: GNB(Pc) -------- */
  #gnb {
    display: none;
  }
  /* -------- Header :: GNB(Mobile) -------- */
  #gnbM {
    display: block;
    position: fixed;
    top: 50px;
    right: -100%;
    width: 100%;
    height: calc(100% - 50px);
    background: var(--bs-third);
    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;
  }
  #gnbM.open {
    right: 0px;
    visibility: visible;
  }
  /* GNB Mobile :: 레이아웃 */
  .gnb-navigation-wrapper {
    position: relative;
    height: 100%;
    box-sizing: border-box;
    padding: 15px 15px 0;
    overflow-y: auto;
  }
  /* GNB Mobile :: 메뉴영역 :: 1차 */
  #navigation {
    padding: 1em 0em;
  }
  #navigation > li > a {
    position: relative;
    display: block;
    padding: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3em;
  }
  #navigation > li.active > a {
    color: var(--bs-white);
    font-weight: 600;
  }
  #navigation > li .gnb-icon {
    color: var(--bs-white);
    position: absolute;
    transform: translateY(-50%);
    right: 15px;
    top: 50%;
  }
  #navigation > li .gnb-icon i {
    font-size: 14px;
  }
  /* GNB Mobile ::  메뉴영역 :: 2차 */
  #navigation > li .gnb-2dep ul {
    display: flex;
    flex-wrap: wrap;
  }
	#navigation > li .gnb-2dep ul.mypage { width:100%;}
  #navigation > li .gnb-2dep {
    display: none;
    padding: 15px 0;
    background: var(--bs-white);
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 24px;
  }
  #navigation > li .gnb-2dep li {
    width: 50%;
  }
  #navigation > li .gnb-2dep li:first-child {
    width: 100%;
  }
  #navigation > li .gnb-2dep li.loadmap a {
    margin-bottom: 0.5em;
  }
  #navigation > li .gnb-2dep li.loadmap a span {
    background: var(--bs-white);
    padding: 0.3em 0.7em;
    color: var(--bs-third);
    border-radius: 0.5em;
    border: 1px solid var(--bs-third)
  }
  #navigation > li .gnb-2dep li.loadmap + li {
    width: 100%;
  }
  #navigation > li .gnb-2dep .mypage li {
    width: 50%;
  }
  #navigation > li .gnb-2dep .mypage li ul li {
    width: 100%;
  }
  #navigation > li .gnb-2dep li > a {
    display: block;
    color: var(--bs-gray-300);
    padding: 8px 20px;
    font-size: 1.2em;
  }
  #navigation > li .gnb-2dep li.on > a {
    font-weight: 500;
    color: var(--bs-primary);
    background: #f2fbf9;
  }
  #navigation > li .gnb-2dep li li {
    padding-left: 10px;
  }
  .gnb-etc-inner ul {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 5px 0;
  }
  .gnb-etc-inner li > a {
    position: relative;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3em;
    display: flex;
    align-items: center;
  }
  .gnb-etc-inner li img {
    width: 20px;
  }
  .gnb-etc-inner li span {
    margin-left: 10px;
  }
  /*2024-04-02*/
  .login-auto-wrap > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0px 4px 40px;
  }
  .login-auto-wrap > div p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15em;
  }
  .login-auto-wrap > div p .check-switch span::after {
    display: none
  }
  .login-auto-wrap > div p .check-switch span:before {
    border: 1px solid #c4c4c4;
    background: #c4c4c4;
  }
  .login-auto-wrap > div p .check-switch input:checked + span {
    background: #fff;
  }
  .login-auto-wrap > div p .check-switch input:checked + span:before {
    transform: translateX(21px);
    background: var(--bs-brown-light);
    border-color: var(--bs-brown-light);
  }
  /* -------- Header :: 네비게이션 오픈 버튼 -------- */
  .nav-open-btn {
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 9998;
    width: 24px;
    height: 24px;
    background: url(../images/common/btn_header_all_menu.png) no-repeat center center;
    background-size: 24px 24px;
    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.active {
    background: url(../images/common/btn_header_all_menu_close.png) no-repeat center center;
    background-size: 24px 24px;
  }
	.nav-prev-btn {
    display: block;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    z-index: 9998;
    width: 24px;
    height: 24px;
    background: url(../images/common/btn_prev_header.svg) no-repeat center center;
    background-size: 24px 24px;
  }/*2025-03-24 추가*/
  #allMenu {
    display: none;
  }
}
@media all and (max-width:800px) {
  #navigation > li > a {
    padding: 12px;
    font-size: 1.15em;
  }
  #navigation > li .gnb-2dep li > a {
    font-size: 1em;
    letter-spacing: -0.5px;
  }
  .gnb-etc-inner li > a {
    padding: 10px 12px;
    font-size: 1.15em;
  }
  .pc_view {
    display: none;
  }
  .mb_view {
    display: block;
  }
  .footerTop .footer-menu {
    flex-wrap: wrap;
  }
  .footerTop .footer-menu > li {
    width: 33.333%;
    flex: auto;
    border-bottom: 1px solid var(--bs-gray-900);
  }
  .footerTop .footer-menu > li:last-child {
    width: 100%;
    border-bottom: none;
  }
  .footerBottom li {
    padding: 0 7px;
  }
  .footerBottom li img {
    width: 25px;
    height: auto;
  }
  .footerBottom .footer-bottom-wrap {
    margin: 1rem 0;
  }
  .footerTop .footer-menu > li > a {
    font-size: 0.85em;
    line-height: 22px;
  }
  .footerTop .family-site-box .family-site-open-btn {
    height: 22px;
    line-height: 22px;
    font-size: 0.85em;
  }
  .footerTop .family-site-list a {
    font-size: 0.85em;
  }
  .footerBottom p {
    font-size: 0.8em;
  }
}
@media all and (max-width:480px) {
  .footerTop .footer-menu > li > a {
    font-size: 0.75em;
  }
  .footerBottom .area > div {
    display: block;
  }
  .footerBottom .area > div > div p {
    text-align: center;
  }
}
@media all and (max-width:280px) {
  body, table, th, td, input, textarea, button, select {
    font-size: 12px;
  }
  #header .header-etc-menu-wrap {
    right: 50px;
  }
}