/*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', 'noto', 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:fixed; z-index:99999; top:0; left:0; width:100%; transition:all .5s;}
header, header *{ box-sizing:border-box; }
.hd_con{ width:100%; display:flex; justify-content:space-between; align-items:center; padding:0 15px; max-width: 1430px; margin: 0 auto; position: relative;}

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

/*gnb*/
.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; }
#gnb > ul > li > a{ display:block; padding:15px 25px 25px; font-size:16px; font-weight:700; transition: all .5s; color: #fff; position: relative;}
#gnb > ul > li:last-child > a{
  padding-right: 0;
}
#gnb > ul > li > a::before{
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  top: 26px;
  left: -1px;
  transition: .4s;
}
#gnb > ul > li:first-child > a::before{
  display: none;
}
#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: .5s;}
#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; }

.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%); transition: .4s;}
.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; padding-top: 25px; 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; background-color: #dd4e43; animation: motion 1.5s linear 0s infinite; margin-right: 0;}
.point-btn > span{font-size: 14px; display: inline-block; color: #dd4e43; 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{ background-color:#fff; border-bottom: 1px solid #f2f2f2;}
header.scr #gnb > ul > li > a{padding: 10px 25px 20px; color: #212121;}
header.scr .hd-mem{
  padding-top: 20px;
}
header.scr .hd-mem > ul > li > a{
  color: #212121;
}
header.scr #gnb > ul > li:last-child > a{
  padding-right: 0;
}
header.scr #gnb > ul > li > a::before{
  background-color: #212121;
  top: 22px;
}

/* 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; border-color: #dd4e43; background-color: #dd4e43; 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{background-color: #dd4e43; color: #fff; border-color: #dd4e43;}

.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.top:hover{
  color: #dd4e43;
  border-color: #dd4e43;
}
.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{ 
  border-top: 1px solid #f2f2f2;
  padding:40px 0; 
  background-color: #fff;
}
.ft_con{ 
  width:100%; 
  max-width: 1430px;
  margin: 0 auto;
  padding: 0 15px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
}

.ft-lg{
  width: 180px;
}

.ft_pt:last-child{
  text-align: right; 
  padding-left: 3rem;
}
.ft_txt{ 
  font-size:15px; 
  color: #000; 
  font-weight:300; 
  word-break:keep-all; 
  margin-bottom:1rem; 
  line-height: 1.5;
}
.ft_cp{ 
  font-size:14px; 
  color: #666; 
  font-weight:300; 
}

#fnb > ul{ 
  overflow:hidden; 
  text-align:right;
  padding-bottom: 1rem; 
  margin-bottom:1rem; 
  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-left:20px; 
  padding:2px; 
}
#fnb > ul > li > a{ 
  display:block; 
  font-size:15px; 
  font-weight:400; 
  color: #000; 
  transition: .2s;
}


/* mediaquery */

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


}

@media(max-width:1599px){
  #gnb > ul > li > a{padding: 40px 25px; font-size: 16px;}
  header.scr #gnb > ul > li > a{padding: 30px 25px;}
  .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; }

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

  .hd-cont-mo{
    padding: 2rem 15px 0;
  }
  .hd-cont-mo > ul > li{
    margin-bottom: 10px;
    font-size: 14px;
  }
  .hd-cont-mo > ul > li > span{
    margin-right: 5px;
    display: inline-block;
  }
  .hd-cont-mo > ul > li:last-child{
    margin-bottom: 0;
  }

  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%);
  }

}
