/*reset.css*/
body, html{ margin:0; padding:0; width:100%; height:100%; scroll-behavior: smooth;}
body, html, input, textarea, select, button, table{ 
	font-family: 'pretendard', sans-serif;
	-webkit-font-smoothing:antialiased
 }
form, fieldset, h1, h2, h3, h4, h5, h6, p{ margin:0; padding:0; word-break: keep-all;}
form, fieldset, button{ border:none;}
ol, ul, li{ list-style:none; padding:0; margin:0; word-break: keep-all;}
img{ max-width:100%; }
a{ color:inherit; }
a, a:hover{ text-decoration:none; }

.d-lg-none{ display:none; }
.d-lg-block{ display:block; }

#nc_container{z-index: 99999999 !important;}

/*header*/
header{ position:absolute; z-index:99999; top:0; left:0; width:100%; transition:all .5s; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.4);}
header, header *{ box-sizing:border-box; }
.hd_con{ width:100%; max-width: 1630px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; padding:0 15px; position: relative;}

.lg > a{ display:block; font-size:20px; line-height:1em; white-space:nowrap;}
.lg > a > img{ display:block; width:250px; transition: .5s;}
.mn{ display:flex; align-items:center; }

.hd-wrap{display: flex; align-items: center;}
.hd-cont{display: flex; flex-direction: column; align-items: flex-end;}
.hd-mem > ul{display: flex;}
.hd-mem > ul > li{margin-left: 1rem; padding-left: 1rem; position: relative;}
.hd-mem > ul > li::before{content: ""; width: 1px; height: 12px; background-color: #ddd; position: absolute; top: 50%; left: -1px; transform: translateY(-50%);}
.hd-mem > ul > li:first-child::before{display: none;}
.hd-mem > ul > li > a{font-size: 14px; font-weight: 400; color: #fff; transition: .4s;}

.hd-mem{display: flex; align-items: center;}

.point-btn-wrap{width: 80px; height: 23px; position: relative;}
.point-btn{font-size: 12px; color: #fff; font-weight: 600; width: 65px; height: 23px; text-align: center; line-height: 24px; border-radius: 5px; position: absolute; top: 0; right: 0; background-color: #AD061C; animation: motion 1.5s linear 0s infinite; margin-right: 0;}
.point-btn > span{font-size: 16px; display: inline-block; color: #AD061C; position: absolute; top: 50%; left: -4px; transform: translateY(-50%);}

@keyframes motion{
  0% {margin-right: 0px;}
	20% {margin-right: 5px;}
	40% {margin-right: 0px;}
	60% {margin-right: 5px;}
	80% {margin-right: 0px;}
	100% {margin-right: 0px;}
}

/*gnb*/
.hd_bt{ position:relative; z-index:5; }
#gnb{ position:relative; z-index:5;}
#gnb:after{ content:''; position:absolute; z-index:-1; top:100%; left:-5000px; right:-5000px; height:0; background-color:#fff; transition:0.4s height; }
#gnb.on{ border-bottom:1px solid #ddd;}
#gnb.on:after{ height:324px; border-top:1px solid #ddd;}
#gnb > ul{ display:flex; flex-flow:row wrap; padding-left: 0; margin-bottom: 0;}
#gnb > ul > li{ position:relative; z-index:1; }
#gnb > ul > li > a{ display:block; padding:30px; font-size:16px; font-weight:600; transition: all .5s; color: #fff; position: relative;}
#gnb > ul > li > ul{ position:absolute; z-index:1; top:100%; left:50%; transform: translateX(-50%); display:none; width: 100%; min-width: 200px; box-sizing: border-box; background-color: #fff; padding:25px 15px 25px; text-align: center;  box-shadow: 0 12px 30px -2px rgba(0,0,0,.1);}
#gnb > ul > li > ul > li{ position:relative; z-index:1; text-align: center;}
#gnb > ul > li > ul > li > a{ display:block; padding:8px 0; font-size:15px; white-space:nowrap; position: relative; transition: .5s;}
#gnb > ul > li > ul > li:hover > a{color: #999;}
#gnb > ul > li > ul > li:hover > a::before{width: 100%;}
#gnb > ul > li > ul > li > ul{ position:absolute; z-index:1; top:-10px; left: calc(100% + 15px); padding: 10px 0; display:none; min-width:150px; box-shadow:0 12px 30px -2px rgba(0,0,0,.1); background-color: #fafafa;}
#gnb > ul > li > ul > li > ul > li > a{ display:block; padding:10px 15px; font-size:14px; }


.number{margin-left: 15px;}
.number > p{display: inline-block; padding: 12px 1.5rem; border-radius: 30px; font-size: 16px; font-weight: 400; color: #fff; background-color: #AD061C;}

/* on  */
header.on{ background-color:#fff; border-bottom: 1px solid #ddd;}
header.on #gnb > ul > li > a{ color:#1d1d1d; }
header.on #gnb > ul > li::after{ background-color:#1d1d1d; }

/* menu */
.menu-toggler {
  position: absolute;
  top: 35px;
  right: 4rem;
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 99999;
  transition: all 500ms ease-out;
}
.menu-toggler.act {
  transform: rotate(-45deg);
}
nav.fullscreenNav.act .menu-toggler {
  position: absolute;
  right: 3rem;top: 2rem;
}
nav.fullscreenNav.act .menu-toggler {
  transform: rotate(-45deg);
}
.bar {
  background-color: #fff;
  width: 100%;
  height: 2px;
  border-radius: 0.8rem;
  transition: background .5s ease;
}

.bar.half {
  width: 50%;
}
.bar.top {
  transform-origin: right;
  transition: transform 500ms cubic-bezier(0.54, -0.81, 0.57, 0.57), background .5s ease;
}

.act .bar.top {
  transform: rotate(-90deg) translateX(0.4rem);
}
.bar.bottom {
  align-self: flex-end;
  transform-origin: left;
  transition: transform 500ms cubic-bezier(0.54, -0.81, 0.57, 0.57), background .5s ease;
}
.act .bar.bottom {
  transform: rotate(-90deg) translateX(-0.4rem)
}


/* mt-menu */
.mt-menu{width: 100%; height: 100vh; position: fixed; top: 101%; left: 0; background-color: #000; z-index: 99998; transition: .8s ease-in-out; overflow-y: scroll; padding: 0 15px; display: flex; flex-direction: column; justify-content: center;}
.mt-menu.mt-act{top: 0; box-shadow: -4px 0px 10px 0px rgba(0,0,0,0.1);}
.mt-menu > ul{width: 100%; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2);}
.mt-menu > ul > li{ padding: 0 15px; margin-bottom: 1.5rem; text-align: center;}
.mt-menu > ul > li:last-child{margin-bottom: 0;}
.mt-menu > ul > li > a{font-size: 14px; font-weight: 400; transition: .3s; position: relative; display: inline-block; color: #fff;}
.mt-menu > ul > li > a::after{content: ""; width: 5px; height: 5px; background-color: #AD061C; border-radius: 50%; position: absolute; top: -2px; right: -9px;}
.mt-menu > ul > li > a:hover{color: #AD061C;}
.mt-menu > ul > li > ul{padding: 10px 15px 0;}
.mt-menu > ul > li > ul > li > a{font-size: 13px; font-weight: 400; color: #666; transition: .3s; }
.mt-menu > ul > li > ul > li > a:hover{color: #AD061C;}
.mt-menu > ul > li > ul > li{margin-bottom: 10px; line-height: 1.2; position: relative;}
.mt-menu > ul > li > ul > li:last-child{margin-bottom: 0;}

.mt-menu .depth3{padding: 10px 0 5px 10px;}
.mt-menu .depth3 > li{margin-bottom: 8px;}
.mt-menu .depth3 > li:last-child{margin-bottom: 0;}
.mt-menu .depth3 > li > a{font-size: 13px; color: #666; transition: .3s;}
.mt-menu .depth3 > li > a:hover{color: #AD061C;}

.mt-menu .depth3{display: none;}
.mt-menu .depth3btn{color: #ddd; display: block; transition: .5s; font-size: 14px; width: 100%; text-align: right; position: absolute; top: 2px; left: 0;}

.mt-lg{width: 100%; position: absolute; top: 2rem; left: 0; display: flex; justify-content: center;}
.mt-lg img{display: block; width: 165px;}

.mp-wrap{text-align: center; color: #fff; margin-bottom: 2rem;}
.mp-wrap > h3{font-size: 16px; font-weight: 400; margin-bottom: 1rem;}
.mp-wrap > a{display: inline-block; font-size: 14px; font-weight: 400; padding: 10px 3rem; background-color: #AD061C; border-radius: 5px;}

.od-wrap{width: 100%; display: flex; justify-content: center; padding-top: 2rem;}
.od-wrap > a{display: inline-block; font-size: 14px; font-weight: 400; color: #fff; margin-right: 1rem; padding-right: 1rem; position: relative;}
.od-wrap > a:last-child{margin-right: 0; padding-right: 0;}
.od-wrap > a::after{content: ""; width: 1px; height: 12px; background-color: rgba(255, 255, 255, 0.4); position: absolute; top: 50%; right: -1px; transform: translateY(-50%);}
.od-wrap > a:last-child::after{display: none;}

/* fixed - 퀵메뉴 */
.fixed-wrap{width: 180px; height: 100vh; padding: 20px; position: fixed; top: 0; right: -180px; z-index: 999991; background-color: #fff; border-left: 1px solid #eee; transition: .5s;}
.fixed-wrap.fw-act{right: 0;}

.fixed-btn-wrap{position: absolute; top: 50%; left: -60px; transform: translateY(-50%);}
.fixed-btn{display: block; width: 50px; height: 50px; background-color: #AD061C; color: #fff; border-radius: 50%; position: relative; cursor: pointer;}
.fixed-btn > span{font-size: 22px; display: inline-block; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: .5s;}

.fixed-btn.on > span.fb-left{opacity: 1;}
.fixed-btn.on > span.fb-right{opacity: 0;}

.fixed-btn.on.act > span.fb-right{opacity: 1;}
.fixed-btn.on.act > span.fb-left{opacity: 0;}

a.fixed-btn{margin-top: 5px;}

.fixed-img{display: flex; margin-bottom: 10px;}
.fixed-img img{width: 100%;}

.fixed-cont{margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #101010;}
.fixed-cont.last{margin-bottom: 0; padding-bottom: 0; border-bottom: 0;}

.fixed-cont > ul > li{margin-bottom: 5px;}
.fixed-cont > ul > li:last-child{margin-bottom: 0;}
.fixed-cont > ul > li > a{display: block; width: 100%; text-align: center; border: 1px solid #ddd; font-size: 14px; font-weight: 400; color: #000; padding: 10px; transition: .5s;}
.fixed-cont > ul > li > a:hover{background-color: #000; color: #fff; border-color: #000;}

.fixed-cont > ul > li > a > span{display: inline-block; margin-right: 3px;}

.fixed-cont > h5{font-size: 12px; margin-bottom: 5px;}
.fixed-cont > h3{font-size: 16px; margin-bottom: 5px;}
.fixed-cont > p{font-size: 12px;}

/*wrapper*/
.article_mover{ position:absolute; z-index:-1; bottom:100%; }


/*footer*/
footer{ padding:60px 0; background-color: #000; }
.ft_con{ width:100%; padding: 0 15px; max-width: 1630px; margin: 0 auto;}

.ft-lg{width: 300px;}
.ft_txt{ font-size:14px; color: #fff; font-weight:400; word-break:keep-all; margin-bottom:1.5rem; line-height: 1.5;}
.ft_cp{ font-size:12px; color: #fff; font-weight:700; margin-top: 1rem;}

#fnb > ul{ display: flex; justify-content: flex-end;}
#fnb > ul > li{ display:inline-block; margin-left:10px; padding-left: 10px; position: relative;}
#fnb > ul > li::before{content: ""; width: 1px; height: 10px; background-color: #ddd; position: absolute; top: 50%; left: -1px; transform: translateY(-50%);}
#fnb > ul > li:first-child::before{display: none;}
#fnb > ul > li > a{ display:block; font-size:14px; font-weight:500; color: #fff; transition: .5s; }
#fnb > ul > li > a:hover{color: #999;}

.ft-wrap{width: 100%; display: flex; align-items: flex-start;}
.ft_pt{width: 50%;}
.ft_pt > h3{font-size: 20px; color: #fff; font-weight: 700; margin-bottom: 10px;}
.ft_pt:last-child{text-align: right;}

/* mediaquery */

@media(min-width:1200px){ 
  .d-lg-none{ display:none; }
  .d-lg-block{ display:block; }

  .menu-btn{display: none;}
}

@media(max-width:1599px){
  .hd_con{ padding:0 2rem; }
  .ft_con{padding: 0 2rem;}
  #gnb > ul > li > a{padding: 40px 25px; font-size: 16px;}
  .number > p{padding: 12px 2rem; font-size: 14px;}
  #gnb > ul > li > ul{min-width: 160px;}
  #gnb > ul > li > ul > li > a{font-size: 14px;}
  #gnb > ul > li > ul > li > ul > li > a{font-size: 13px;}
  #gnb > ul > li > ul > li > ul{min-width: 135px;}
}

@media(max-width:1199px){ 
  .d-none{ display:none; }
  .d-block{ display:block; }

  header{ display:none; }

  .mo_btn{ display:block; }

  .fixed-wrap{display: none;}

  .d-none{ display:none; }
  .d-block{ display:block; }
  .mo_btn{ display:block; }

  .wmenu-mo{width: 100%; position: fixed; z-index: 99999; bottom: 0; left: 0;}
  .mom-wrap{position: relative; width: 100%; display: flex; justify-content: space-between; border-radius: 10px 10px 0 0; background-color: #AD061C; color: #fff;}
  .mom-cont{width: 100%; display: flex;}
  .mom-cont > a{display: flex; width: 20%; flex-direction: column; align-items: center; font-size: 12px; font-weight: 500; padding: 15px 0;}
  .mom-cont > a > img{display: inline-block; max-height: 23px; margin-bottom: 10px;}

  .menu-btn{width: 56px; height: 56px; border-radius: 50%; background-color: #101010; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 99999;}


  .menu-toggler{top: 18px; right: 14px;}


  footer{ padding:40px 0 77px; }
  .ft_con{padding: 0 15px;}
  #fnb > ul{flex-wrap: wrap; justify-content: center;}
  .ft-wrap{flex-direction: column;}
  .ft_pt{width: 100%; text-align: center;}
  .ft_pt:last-child{text-align: center;}
  .ft-lg{width: 250px; display: inline-block;}
  .ft_pt > h3{margin: 1.5rem 0;}
  #fnb > ul > li{margin: 0 4px; padding: 0 4px;}
  #fnb > ul > li:first-child{margin-left: 0; padding-left: 0;}
  #fnb > ul > li:last-child{margin-right: 0; padding-right: 0;}
  #fnb > ul > li::before{left: -4px;}
  #fnb > ul > li > a{font-size: 13px;}
  .ft_txt{margin-bottom: 40px; font-size: 13px;}
  .ft_cp{font-size: 13px; margin: 1rem 0; padding-top: 1rem; border-top: 1px solid #ddd;}
}
