/*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;}

.wrapper{
  padding-top: 131px;
}

/*header*/
header{ position:fixed; 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: 1270px; 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 40px 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: 600;
  transition: all 0.4s;
  color: #222;
  position: relative;
  letter-spacing: -0.5px; 
}

#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: 20px 15px;    
  text-align: left;         
  box-shadow: 0 12px 30px -2px rgba(0,0,0,.1); 
  min-width: 140px;
}

#gnb > ul > li > ul > li {
  position: relative;
  z-index: 1;
  text-align: left;
}

#gnb > ul > li > ul > li > a {
  display: block;             
  padding: 8px 0;            
  font-size: 14px;           
  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: #1c1c1c;
  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: #1c1c1c;}

/* mt-menu */
.mt-menu{width: 41%; height: 100vh; position: fixed; top: 0; right: -41%; background-color: #fff; z-index: 99998; transition: .5s ease-in-out; overflow-y: scroll; padding: 0 15px 30px; }
.mt-menu.mt-open{right: -1px; box-shadow: -4px 0px 10px 0px rgba(0,0,0,0.1);}
.mt-lg{
  width: 100%;
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}
.mt-lg img{
  width: 200px;
}
.mt-mem{
  width: 100%;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(90deg, #F0FDF4 0%, #D1FAE5 100%);
  margin-bottom: 1rem;
}
.mt-mem > p{
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
  font-weight: 400;
}
.mt-mem > ul{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mt-mem > ul > li{
  flex: 0 0 auto;
  width: 49%;
}
.mt-mem > ul > li > a{
  display: block;
  font-size: 13px;
  padding: 13px;
  text-align: center;
  border-radius: 12px;
}
.mt-mem > ul > li > a.wt{
  color: #1f2937;
  background-color: #fff;
}
.mt-mem > ul > li > a.gr{
  color: #fff;
  background-color: #16a34a;
}
.mt-nav{
  width: 100%;
  padding: 20px 1rem;
  border-radius: 16px;
  background: #F9FAFB;
  margin-bottom: 20px;
}
.mt-nav > ul{
  display: flex;
  justify-content: center;
  gap: 10px;
}
.mt-nav > ul > li{
  width: calc((100% - 30px) / 4);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mt-nav > ul > li > a{
  display: block;
  width: 100%;
  text-align: center;
}
.mt-nav > ul > li > a > span{
  display: flex;
  width: 50px;
  height: 50px;
  padding: 1rem;
  border-radius: 16px;
  background-color: #fff;
  color: #000;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin:0 auto 8px;
  font-size: 18px;
}
.mt-nav > ul > li > a > h5{
  font-size: 14px;
  color: #374151;
  font-weight: 400;
}
.mt-etc{
  width: 100%;
  margin-bottom: 20px;
}
.mt-etc > ul{
  display: flex;
  justify-content: space-between;
}
.mt-etc > ul > li{
  width: 49%;
}
.mt-etc > ul > li > a{
  display: flex;
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  align-items: center;
  justify-content: center;
  color: #1f2937;
}
.mt-etc > ul > li > a > span{
  display: inline-block;
  font-size: 18px;
  margin-right: 8px;
}
.mt-etc > ul > li > a > h5{
  font-size: 13px;
  font-weight: 400;
}
.mt-tit{
  width: 100%;
  padding: 0 10px;
  margin-bottom: 14px;
}
.mt-tit > p{
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}
.mo_mn_mn{width:100%;}
.mo_mn_mn > li{width: 100%; position: relative; margin-bottom: 10px; padding: 0; border-radius: 12px; border: 1px solid #e5e7eb; overflow: hidden;}
.mo_mn_mn > li > a{display: block; font-size:14px; font-weight:400; color: #1f2937; position: relative; padding: 13px 20px;}
.mo_mn_mn > li > ul{ display:none; padding: 10px 20px; background-color: #F9FAFB; border-top: 1px solid #e5e7eb;}
.mo_mn_mn > li > ul > li > a{ display:block; font-size:13px; margin-bottom: 10px; color: #374151; font-weight:400;}
.mo_mn_mn > li > ul > li:last-child > a{
  margin-bottom: 0;
}
.mo_mn_mn > li > a.more{position: relative;}
.mo_mn_mn > li > a.more::after{content: ""; width: 10px; height: 2px; background-color: #6B7280; position: absolute; top: 50%; right: 16px; transform: translateY(-50%);}
.mo_mn_mn > li > a.more::before{content: ""; width: 2px; height: 10px; background-color: #6B7280; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); transition: .3s;}

.mo_mn_mn > li > a.more.act::before{opacity: 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{ 
  border-top: 1px solid #f2f2f2;
  padding:40px 0; 
  background-color: #fff;
}
.ft_con{ 
  width:100%; 
  max-width: 1270px;
  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:1025px){ 
  .d-lg-none{ display:none; }
  .d-lg-block{ display:block; }

  .mo-fixed{
    display: none;
  }
}

@media(max-width:1280px){
  .hd_con{
    max-width: 1080px;
  }
  .ft_con{
    max-width: 1080px;
  }
  .fixed-btn-wrap{
    left: -60px;
  }
  .fixed-bar{
    right: 10px;
  }
}

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

  .wrapper {
    padding-top: 71px;
  }

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

  .hd_con{ padding:0 15px; }
  .lg > a{ padding:10px 0;}
  header.scr .lg > a{padding: 10px 0;}
  .lg > a > img{ width:200px; }
  .mn{ display:none; }
  .hd-wrap{display: none;}
  .hd-cont{
    padding: 0 15px;
    background-color: #fff;
  }
  .hd-mem{
    display: none;
  }
  header.scr .hd-cont{
    border-bottom: 1px solid #e5e7eb;
  }

  .mo_btn{ display:block; }

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

  .menu-toggler{top: 25px; right: 15px;}
  header.scr .bar{background-color: #1c1c1c;}

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

  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;
  }
  #fnb > ul > li:last-child{
    padding-right: 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%);
  }

}

@media(max-width:690px){
  .lg > a > img{
    width: auto;
    height: 40px;
  }
  .menu-toggler{
    top: 20px;
  }
  .wrapper{
    padding-top: 60px;
  }

  .mt-menu{
    width: 101%;
    right: -101%;
  }
}