/*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:relative; z-index:99999; top:0; left:0; width:100%; transition:all .4s; background-color:#fff; border-bottom: 1px solid #f2f2f2;}
header, header *{ box-sizing:border-box; }
.hd_con{ width:100%; padding:0 15px; max-width: 1630px; margin: 0 auto; position: relative; padding-top: 67px; transition: .4s;}

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

.hd-wrap{display: flex; justify-content: space-between; align-items: center;}
.hd-cont{display: flex; justify-content: space-between; align-items: center; transition: .4s; position: absolute; top: 0; left: 0; width: 100%; padding: 20px 15px 0;}
.hd-mem > ul{display: flex;}
.hd-mem > ul > li{margin-left: 10px; padding-left: 10px; position: relative;}
.hd-mem > ul > li > a{font-size: 14px; font-weight: 400; color: #999; transition: .4s;}
.hd-mem > ul > li::before{
  content: "";
  width: 1px;
  height: 10px;
  background-color: #ddd;
  position: absolute;
  top: 6px;
  left: -1px;
}
.hd-mem > ul > li:first-child{
  margin-left: 0;
  padding-left: 0;
}
.hd-mem > ul > li:first-child::before{
  display: none;
}

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

.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; animation: motion 1.5s linear 0s infinite; margin-right: 0;}
.point-btn > span{font-size: 14px; display: inline-block; position: absolute; top: -1px; left: -4px;}

@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;}
}

/* .scr */
header.scr{ 
  position: fixed;
  padding-top: 0;
}
header.scr .hd_con{
  padding-top: 0;
}
header.scr .hd-cont{
  top: -105%;
}

/* allmenu */
.allmenu-wrap{display: flex; align-items: center; position: relative;}
.search-icon{padding-left: 1rem;}
.search-icon span{color: #222; font-size: 20px; cursor: pointer; transition: .5s;}
.hd-mq{display: flex; align-items: center;}
.hd-mq marquee{background-color: #000; color: #fff; border-radius: 30px; line-height: 35px; font-size: 16px;}
.search-area{width: 100%; position: fixed; top: -100%; left: 0; z-index: 20000; min-height: 400px;}
.sa-con{width: 100%; height: 100%; max-width: 1088px; margin: 0 auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: flex; justify-content: center; align-items: center; flex-direction: column;}
.sa-close{position: absolute; top: 1.5rem; right: 0; color: #fff; display: flex; align-items: center; cursor: pointer;}
.sa-close > h5{font-size: 14px; line-height: 1; margin: 0 1rem 1px 0;}
.sa-close > span{font-size: 24px; transition: .3s; line-height: 1;}
.sa-close:hover > span{transform: rotate(180deg);}
.sa-box{width: 100%; position: relative; margin-bottom: 1.5rem;}
.sa-cont{width: 100%; outline: none; border: none; padding: 2rem; height: 80px; font-size: 17px;}
.sa-btn{position: absolute; top: 50%; right: 2rem; background: none; font-size: 26px; padding: 0; transform: translateY(-50%); cursor: pointer;}
.sa-txt > ul{display: flex; align-items: center;}
.sa-txt > ul > li > a{font-size: 18px; padding: 5px 20px; color: #fff; position: relative;}
.sa-txt > ul > li > a::after{content: "/"; position: absolute; top: 50%; right: -3px; font-size: 12px; opacity: 0.15; transform: translateY(-50%);}
.sa-txt > ul > li:last-child > a::after{display: none;}
.sa-txt > ul > li > a > span{position: relative;}
.sa-txt > ul > li > a > span::before{content: ""; width: 0; height: 1px; background-color: #fff; position: absolute; left: 0; bottom: 0; transition: .3s;}
.sa-txt > ul > li > a:hover > span::before{width: 100%;}
.sa-overlay{width: 100%; height: 100%; position: fixed; top: -100%; left: 0; background-color: rgba(0,0,0,.5); display: block; z-index: 10000;}

.hd_bt {
  position: relative; 
  z-index: 5;         
}

#gnb {
  position: relative;
  z-index: 5;
}

#gnb > ul {
  display: flex;              
  flex-flow: row wrap;        
  padding-left: 0;            
  margin-bottom: 0;
}

#gnb > ul > li {
  position: relative;         
  z-index: 1;
  padding: 20px 30px 0 0;   
}
/* #gnb > ul > li::after{
  content: "";
  width: 4px;
  height: 4px;
  background-color: #222;
  border-radius: 50%;
  position: absolute;
  top: 30px;
  right: 18px;
}
#gnb > ul > li:last-child::after{
  display: none;
} */

#gnb > ul > li > a {
  display: block;
  padding-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.4s;
  color: #222;
  position: relative;
}

#gnb > ul > li > a::before {
  content: "";
  width: 0%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.2s;
}

/* #gnb > ul > li:hover > a::before {
  width: 100%;
} */

#gnb > ul > li > ul {
  position: absolute;     
  z-index: 1;
  top: 100%;                  
  left: 50%;
  transform: translateX(-50%);
  display: none;              
  width: 100%;
  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: .4s;      
}

#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;
}

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

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

.open .bar.top {
  transform: rotate(-90deg) translateX(0.2rem);
}
.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;
}
.open .bar.bottom {
  transform: rotate(-90deg) translateX(-0.2rem)
}
.open .bar.half{width: 50%;}

header.on .bar{background-color: #000;}

/* mt-menu */
.mt-menu{width: 101%; height: 100vh; position: fixed; top: 0; right: -101%; background-color: #fff; z-index: 99998; transition: .8s ease-in-out; overflow-y: scroll; padding: 0 15px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column;}
.mt-menu.mt-open{right: -1px; box-shadow: -4px 0px 10px 0px rgba(0,0,0,0.1);}
.mt-menu > ul{width: 100%;}
.mt-menu > ul > li{ padding: 0 15px; margin-bottom: 1.5rem;}
.mt-menu > ul > li:last-child{margin-bottom: 0;}
.mt-menu > ul > li > a{font-size: 16px; font-weight: 600; transition: .3s; position: relative; margin-bottom: 1rem; padding-bottom: 1rem; display: block;}
.mt-menu > ul > li > a::after{content: ""; width: 100%; height: 1px; background-color: #ddd; position: absolute; bottom: 0; left: 0;}
.mt-menu > ul > li > a:hover{color: #969696;}
.mt-menu > ul > li > ul{padding: 0 15px;}
.mt-menu > ul > li > ul > li > a{font-size: 14px; font-weight: 500; color: #333; transition: .3s; }
.mt-menu > ul > li > ul > li > a:hover{color: #969696;}
.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: #969696;}

.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;}

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

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

.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;}

.fixed-wrap.fw-act .fixed-btn-wrap{left: -60px;}

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

.fixed-cont{margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #ddd;}
.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: .4s;}
.fixed-cont > ul > li > a:hover{color: #fff;}

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

.fixed-cont > ul.sns{
  display: flex;
}
.fixed-cont > ul.sns > li{
  margin-bottom: 0;
}
.fixed-cont > ul.sns > li > a{
  display: flex;
  width: 35px;
  height: 35px;
  border: 0;
  padding: 0;
  margin-right: 10px;
  background-color: #fee500;
  border-radius: 10px;
  overflow: hidden;
}
.fixed-cont > ul.sns > li > a img{
  width: 100%;
}

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

.fixed-bar{
  position: fixed;
  bottom: 2rem;
  right: 3rem;
  z-index: 888;
}
.fixed-sp{
  width: 50px;
  padding: 1rem 0;
  border: 1px solid #d5d5d5;
  border-radius: 50px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  background-color: #fff;
}
.fixed-sp > ul{
  padding-left: 0;
  margin-bottom: 0;
}
.fixed-sp > ul > li{
  margin-bottom: 7px;
}
.fixed-sp > ul > li:last-child{
  margin-bottom: 0;
}
.fixed-sp > ul > li > a{
  display: flex;
  max-width: 23px;
}
.fixed-sp > ul > li > a > img{
  width: 100%;
}
.fixed-sp > ul > li > a.thum > img{
  border-radius: 50%;
}
.fixed-bar > a{
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 36px;
  text-align: center;
  line-height: 51px;
  color: #3c1e1e;
  background-color: #fee500;
}
.fixed-bar > a.top{
  font-size: 20px;
  line-height: 50px;
  color: #d5d5d5;
  border: 1px solid #d5d5d5;
  background-color: #fff;
  margin-top: 10px;
  transition: .4s;
}
.fixed-bar > a.band{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

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


/*footer*/
footer{ 
  padding:50px 0; 
  background-color: #000;
}
.ft_con{ 
  width:100%; 
  max-width: 1630px;
  margin: 0 auto;
  padding: 0 15px; 
}
.ft-wrap{ 
  display: flex; 
  justify-content: space-between; 
}

.ft-lg{
  width: 180px;
  margin-bottom: 1.5rem;
}

.ft_lt{
  width: 70%;
}
.ft_rt{
  width: 30%;
}
.ft_rt > h5{
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.ft_rt > h3{
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}
.ft_rt > p{
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}
.ft_txt{ 
  font-size:15px; 
  color: rgba(255, 255, 255, 0.5); 
  font-weight:400; 
  word-break:keep-all; 
  margin-bottom:1rem; 
  line-height: 1.5;
}
.ft_cp{ 
  font-size:14px; 
  color: rgba(255, 255, 255, 0.5); 
  font-weight:300; 
}

#fnb > ul{ 
  overflow:hidden; 
  text-align:left;
  margin-bottom:1.5rem; 
  position: relative;
}
/* #fnb > ul::after{
  content: "";
  width: 100px;
  height: 1px;
  background-color: #ddd;
  position: absolute;
  bottom: 0;
  right: 0;
} */
#fnb > ul > li{ 
  display:inline-block; 
  margin-right:20px; 
  padding:2px; 
}
#fnb > ul > li > a{ 
  display:block; 
  font-size:15px; 
  font-weight:600; 
  color: #fff; 
  transition: .2s;
}


/* mediaquery */

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

  .mo-fixed{
    display: none;
  }
}

@media(max-width:1599px){

}

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

  .fixed-wrap{display: none;}
  .fixed-bar{
    display: none;
  }

  .hd_con{ padding:0 15px; }
  .lg > a{ padding:10px 0; }
  .lg > a > img{ max-width:150px; }
  .mn{ display:none; }
  .hd-cont{ display:none; }

  .mo_btn{ display:block; }

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

  .menu-toggler{top: 18px; right: 15px;}
  header.scr .bar{background-color: #000;}

  .open .bar{background-color: #000;}
  .open .bar.top{background-color: #000;}
  .open .bar.bottom{background-color: #000;}

  .mo-fixed{
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 8888;
    display: flex;
    background-color: #4eaf89;
    color: #fff;
  }
  .mo-fixed > a{
    flex: 1 1 auto;
    width: 50%;
    padding: 1rem 5px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
  }
  .mo-fixed > a > span{
    display: inline-block;
    font-size: 20px;
    margin-right: 5px;
    transform: translateY(2px);
  }

  .hd-cont-mo{
    padding: 1rem 15px 0;
    width: 100%;
  }
  .hd-cont-mo > ul{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hd-cont-mo > ul > li{
    font-size: 14px;
    margin-right: 10px;
    padding-right: 10px;
    position: relative;
  }
  .hd-cont-mo > ul > li:last-child{
    margin-right: 0;
    padding-right: 0;
  }
  .hd-cont-mo > ul > li::after{
    content: "";
    width: 1px;
    height: 10px;
    background-color: #999;
    position: absolute;
    top: 8px;
    right: -1px;
  }
  .hd-cont-mo > ul > li:last-child::after{
    display: none;
  }

  footer{ 
    padding:40px 15px 117px; 
  }
  .ft_con{
    padding: 0; 
    flex-direction: column;
  }
  .ft-lg{
    max-width: 250px; 
    margin-bottom: 1.5rem;
  }
  .ft_pt:last-child{
    padding-left: 0;
  }
  #fnb > ul{
    text-align: center;
  }
  #fnb > ul > li{
    margin-left: 0; 
    padding: 0 15px 10px 0;
  }
  .ft_txt{
    font-size: 12px;
  }
  .ft_cp{
    font-size: 12px;
  }
  #fnb > ul > li > a{
    font-size: 14px;
  }
  .ft_pt:last-child{
    text-align: center;
  }
  #fnb > ul::after{
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

}