@charset "utf-8";
@import url('main.css');
@import url('board.css');
@import url('sub.css');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@100;300;400;500;700;900&&display=swap');
@import url('https://webfontworld.github.io/score/SCoreDream.css');
@import url('https://webfontworld.github.io/gmarket/GmarketSans.css');
@import url('https://fonts.cdnfonts.com/css/times-new-roman');

/* font-family: 'Times New Roman', sans-serif; */


/*common*/
* {margin:0; padding:0;}

/* 세로 이중스크롤 제거 */
#container{
  -ms-overflow-style: none;
}
#container::-webkit-scrollbar{
 display:none;
}

/*html, body {overflow-x:hidden;}*/
html {font-size:62.5%; scroll-behavior: smooth;}
body {background:#fff; overflow-x: hidden;}
body::-webkit-scrollbar-thumb {height:15%;}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, .mn-smn03 .smn03-01 .ap-box form > input[type="submit"],
.mn-smn03 .smn03-01 .ap-box form > ul > li > input ,
.mn-smn04 .smn04-01 .search select,
.mn-smn04 .smn04-01 .search input[type="text"],
.mn-smn04 .smn04-01 .search input[type="submit"]{font-family: 'Noto Sans KR', sans-serif;}


.main-tit h3, .main-tit h3 span{font-family:  'Gmarket Sans';}

/* div {font-size: ;} */

a {display: block; color:#000; text-decoration:none;}
/* p {font-size:1.9rem; color:#1b1b1b; line-height:25px; font-weight:300; word-break:keep-all;} */

ul, ol {list-style:none}

table {border-collapse:collapse; border-spacing:0;}
table caption {width:0; height:0; overflow:hidden; visibility:hidden; font-size:0; line-height:0;}



/*wrap*/
#wrap {position:relative; width:100%;}

/*top*/
#header {position:fixed; width:100%; height: 80px; top:0; left:0;  z-index:999; transition: all 0.5s ease; border-bottom: 1px solid rgba(255, 255, 255, 0.3);}
#header .logo-on{display: none;}
#header.main-h .logo-on{display: block;}
.main-h .logo-default{display: none;}
#header.on {background-color: #fff;  box-shadow: 0 4px 6px -6px rgba(0, 0, 0, 0.3);}
#header.on .navigation .main-menu .gnb  a {color: #222222;}
#header.on .navigation .menu-btn .line{background: #222222;}
#header.on .logo-on{display: block;}
#header.on .logo-default{display: none;}
#header.active {background-color: #fff; box-shadow: 0 4px 6px -6px rgba(0, 0, 0, 0.3);}
#header.active .navigation .main-menu .gnb > a {color: #222222;}
#header.active .navigation .h-logo {filter: brightness(0) saturate(100%) invert(7%) sepia(85%) saturate(2601%) hue-rotate(229deg) brightness(96%) contrast(88%);}


/*nav*/
#nav {position:relative; width:100%; height:100%; box-sizing:border-box; z-index: 999;}

.navigation {position:relative;  }
.navigation .inwrap {display:flex;  margin:auto; width: 92%; height: 80px; justify-content: space-between; align-items: center;}
.navigation a {z-index: 99;}
.navigation .h-logo {width: 175px; display: flex; align-items: center; position: relative; left: 0;}
.navigation .h-logo img{width: 100%;}
.navigation .menu-btn { display:flex; flex-direction: column; justify-content: center; align-items: flex-end; position: relative;  width:27px; height: 20px; z-index: 9999999; cursor: pointer; }
.navigation .menu-btn .line{display: block; position: absolute;  width: 100%; height: 2px;   background: #fff; transition: all 0.3s ease;}
.navigation .menu-btn .line:nth-child(1){ top: 0;}
.navigation .menu-btn .line:last-child{ bottom: 0;}
.navigation .menu-btn .line.short{width: 18px;}
.navigation .menu-btn.on .line{background: #000000;}
.navigation .menu-btn.on .line:nth-child(1){ transform:rotate(-45deg); top: 9px;}
.navigation .menu-btn.on .line:nth-child(2){opacity: 0;}
.navigation .menu-btn.on .line:nth-child(3){ transform:rotate(45deg); bottom: 9px;}

.navigation .main-menu {display:flex; justify-content: space-between; position:relative; width: 48%; text-align: center;}
.navigation .main-menu .gnb{width: 92%; display: flex; justify-content: space-between;}
#header .navigation .main-menu .gnb a{font-size: 1.9rem; font-weight:500; color: #fff;}
#header .navigation .main-menu .gnb a:after{display:block; content:""; left:0; bottom:0px; width:100%; height:2px; background:#fff; transform: scaleX(0); transition: all 0.5s ease .1s; margin-top: 8px; opacity: 0;}
#header.on .navigation .main-menu .gnb a:after{background: #000;}
#header .navigation .main-menu .gnb a:hover:after {transform: scaleX(1); opacity: 1;}

.all-menu {visibility: hidden; opacity: 0; position:relative; width:100%; height:calc(100vh - 80px); margin: 0 auto 80px; background:#fff; overflow-y:scroll; transition: all 0.5s ease;}
.all-menu.active{visibility: visible; opacity: 1;}
.all-menu.active > .inwrap{opacity: 1;}
.all-menu::-webkit-scrollbar {width:0;}
.all-menu > .inwrap {background:#fff; opacity: 0; transition: all 0.7s ease; transition-delay: 0.5s;}
.all-menu > .inwrap ul{width: 1280px; position: relative; position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%);}
.all-menu .area {width: 460px; box-sizing:border-box; text-align: left; padding: 50px 0; margin: 0 auto;}
.all-menu .area > a{font-size:3.6rem; font-weight:700; line-height: 30px; color:#222; }
.all-menu .area > a::before{content: ''; display: inline-block; width: 0; height: 3px; background-color: #222; margin-bottom: 9px; margin-right: 10px; transition: width 1.2s cubic-bezier(.07, 0.8, .2, 1)}
.all-menu .area:hover > a::before{width: 25px;}
.all-menu .area .menu {padding-top: 10px}
.all-menu .area .menu li a{display:inline-block;}
.all-menu .area .menu > li {margin-bottom:15px;}
.all-menu .area .menu > li > a{font-size:1.7rem; font-weight:400; line-height:30px; color:#838383; position: relative;  transition: all 0.2s ease;}
.all-menu .area .menu > li:hover > a{font-weight: 700; color: #222222;}



/*container*/
#container {position:relative; width:100%; overflow: hidden;}
#container-ex{position:relative; width:100%;}

/*footer*/
#footer {position:relative; width:100%; border-top: 0.7px solid #dedede;}
#footer .inwrap {display:flex; width:1280px; margin:auto; padding: 25px 0 30px; text-align:center; flex-direction: column;}
.f-logo {margin: 0 auto 10px; object-fit: contain;}
.f-info{display: flex; gap: 30px; justify-content: center;}
.f-txt p,
.f-txt a{font-size:1.6rem; line-height: 25px; font-weight:400; color:#676767; word-break: keep-all;}
.f-txt p span{font-weight: 500; margin-left: 5px;}


/* quick */
.quick {display: none;}


/*scroll*/
.act {opacity:0; transition:opacity 500ms;}
.act.scrolled {opacity:1;}
.scrolled.fade-in {animation:fade-in 0.5s ease-in-out both;}
.scrolled.slide-up {animation:slide-up 0.5s ease-in-out both;}
.scrolled.slide-left {animation:slide-left 0.5s ease-in-out both;}
.scrolled.slide-right {animation:slide-right 0.5s ease-in-out both;}

@keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}
@keyframes slide-up {
    0% {
      -webkit-transform: translateY(100px);
      transform: translateY(100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
}
@keyframes slide-left {
    0% {
      -webkit-transform: translateX(-100px);
      transform: translateX(-100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
      opacity: 1;
    }
}
@keyframes slide-right {
    0% {
      -webkit-transform: translateX(100px);
      transform: translateX(100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
      opacity: 1;
    }
}

@media (max-width: 1400px){
	.navigation .main-menu {width: unset;}
  .navigation .main-menu .gnb{display: none;}
  #header{border-bottom: 0;}
}


@media (max-width: 1280px){

/*header*/
#header {height:60px;}

#top {height:60px;}
#top .inwrap {width:100%;}

.navigation .inwrap{height: 60px; width: 94%;}
.all-menu{height: 100vh;}
.all-menu > .inwrap ul{width: 94%; top: 4%; left: 50%; transform: translate(-50% ,0); margin: 0 auto;}
.all-menu .area{width: 100%; padding: 0; border-bottom:  1px solid #222;}
.all-menu .area{padding: 25px 0;}
.all-menu .area > a{font-size: 1.6rem;}
/* .all-menu .area::after{content: ''; display: block; width: 100%; height: 1px; background: #222;  margin-top: 25px;}  */
.all-menu .area > a::before{height: 2px; margin-bottom: 5px;}
.all-menu .area:hover > a::before{width: 15px;}

/*footer*/
#footer .inwrap{width: 100% !important;}
#footer {height:135px;}
#footer .inwrap {display:block; width:768px; padding-top:20px; text-align:center;}
.f-logo {padding-right:0; margin-bottom:10px;}
.f-txt p,
.f-txt a{font-size:1.5rem; line-height:22px;}

}



@media (max-width: 1024px){
  /*wrap*/
  .inwrap {width: 94%; margin: auto;}
}


@media (max-width: 767px){

	/*wrap*/
	.inwrap {width:94%;}




	/*header*/
	#header {height:60px; background-color: #fff;}
	  
	#top {height:60px;}
	#top .inwrap {width:100%;}
	#top {opacity:1;}
	.navigation .h-logo {width: 140px; height: 45px;}
	.all-menu > .inwrap ul{top: 0%;}
	.all-menu .area > a{font-size: 1.5rem;}
	.all-menu .area:not(:last-child){padding-bottom: 15px;}
	.all-menu .area::after{margin-top: 15px;}
	#header .logo-default{display: none;}
	#header .logo-on{display: block;}
	#header .navigation .menu-btn div{background: #222;}



	/*footer*/
	#footer {height: auto; top: 10px; padding-bottom: 110px; margin-top: 0;}
	#footer .inwrap {width: 100%; height: 100%; padding: 0px 3% 0; box-sizing: border-box;}
	.f-txt p,
	.f-txt a{font-size:1.4rem; line-height:22px;}
	.f-logo {padding-top: 15px;}
	.f-logo img{height: 30px;}
	#footer .inwrap{width: 100% !important;}
	.f-txt p br{display : block;}
	.f-info{flex-wrap: wrap; gap: 20px; row-gap: 0;}

/*quick*/

	.quick {position:fixed; bottom: -1px; background:#fff; width: 100%; height: 80px; right: auto; box-shadow: 0 0 5px rgba(0,0,0,0.1); display: block; z-index: 99;}
	.quick .inwrap {width:100%;}
	.quick ul {display:flex; width: 100%;}
	.quick ul li {width: 25%; height:80px; text-align: center; padding-top: 12px; box-sizing: border-box;}
	.quick ul li:not(:last-child){border-right: 1px solid #e6e6e6;}
	.quick ul li.imp{background: #ff4b42;}
	.quick ul li.imp p{color: #fff;}
	.quick p {font-size: 1.4rem; font-weight:500; color:#262626; margin-top:5px;}
	.quick .icon {height: 34px;}
	.quick .icon img{width: 100%; height: 100%;}


}

