@charset "utf-8";

:root{
  --container : 3%;
  --font-black : #000;
  --font-white : #fff;
  --lightgray : #f7f7f7;
  --darkgray : #616161;
  --blue : #008DFF;
  --lightblue : #4AACE5;
  --surface : #eff4f7;
  --min-width : 1280px;
}
body{
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: var(--font-black);
}
ul,li{ padding: 0; margin: 0; list-style: none; }
a{ display: block; color: inherit; text-decoration: none; }
img{ display: block; border: 0;}

header,section,footer{
  width: 100%;
  float: left;
  position: relative;
}
/*  */
#wrap{
  width: 100%;
  float: left;
  position: relative;
  /* min-width: var(--min-width); */
}
.container{
  padding: 0 var(--container);
  width: 100%; height: 100%;

  position: relative;
}
.dragno{
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none
}
.deskpc{ display: block; }
.mobile{ display: none; }

/* ======= header ======= */
#header{
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0; left: 0;
  z-index: 10;
  overflow: hidden;
  /* background-color: rgb(223, 223, 223); */
  transition: all 0.4s;
}
.in_header{
  width: 100%; height: 100px;
}
.logo{
  min-width: 200px;
  width: 12vw; 
  margin-left: 3%;
}
.logo>a{
  width: 100%; height: 100%;
  padding-top: 38px;
}
.logo>a>img{
  width: 100%;
}
.youtube_btn{
  position: absolute;
  top: 38px;
  right: 3%;
}
.youtube_btn>a{
  height: 30px;
  display: flex;
  align-items: center;
}
.youtube_btn>a>img{
  height: 100%;
  margin-right: 10px;
}
.youtube_btn:hover p{
  text-decoration: underline;
}
.gnb_wrap{
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  max-width: 764px;
  width: 50%;
  height: 100px;
  white-space: nowrap;
}
.gnb_menu{
  /* min-width: 823px; */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gnb_menu>li{
  font-size: 1.125rem; font-weight: bold;
  padding: 0px 0.5em ;
}
.gnb_menu>li>a{
  padding: 0.65em 0em;
  color: var(--font-white);
  position: relative;
}
/* .gnb_menu.black>li>a{
  color: var(--font-black);
} */
.gnb_menu>li>a::after{
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate3d(-50%,0,0);
  width: 0;
  height: 3px;
  background-color: #000;
  transition: width 0.6s;
}

.gnb_sub{
  width: 100%;
  font-size: 1.125rem;
  position: absolute; top: 100px; left: 0;
  z-index: -1;
  border-top: 1px solid #cbcbcb;
  /* transition: height 0.6s; */
}
.gnb_sub_wrap{
  width: 100%;
  display: none;
  padding: 1rem 0;
}
.gnb_sub_wrap.on{
  display: block;
}
.gnb_sub_list{
  width: 100%; 
  /* min-width: 1280px; */
  /* min-width: 1024px; */
  padding: 1em 00%;
  position: absolute; top: 0; left: 0;
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  /* flex-direction: column; */
  border-bottom: 2px solid var(--surface);
}
/* .gnb_sub_wrap#gnb_sub1 .gnb_sub_list{
  padding-left: 35%;
} */
.gnb_sub_list li{
  padding: 0.3em 20px ;
  position: relative;
}
.gnb_sub_list li::after{
  content: '';
  display: block;
  width: 1px; height: 50%;
  background-color: #cbcbcb;
  position: absolute; top: 50%; right: 0;
  transform: translateY(-50%);
}
.gnb_sub_list li:last-child::after{
  content: '';
  display: none;
}
.gnb_sub_list li a{
  color: var(--darkgray);
}
/*  */
.gnb_sub_list li a:hover{
  color: var(--blue);
}
/* active */
#header.active{
  background-color: #fff;
  /* backdrop-filter: blur(10px); */
}
.gnb_menu>li>a.active{
  color: var(--font-black);
}
.tablink.on a::after{
  width: 100%;
}
#header.scroll{
  background-color: #fff;
}
#header.scroll .gnb_menu>li>a{
  color: var(--font-black);
}
/* subheader */
.subheader#header{
  background-color: #fff;
}
.subheader#header .gnb_menu a{
  color: var(--font-black);
}

.mobile_menu_btn{ display: none;}
.side_gnb{ display: none; }

/* ======= footer ======= */
#footer{
  width: 100%;
  padding: 4rem 0;
  border-top: 1px solid #e9e9e9;
}
.footer_logo>a{
  width: 250px; height: 35px;
}
.footer_logo>a>img{
  width: 100%;
  object-fit: cover;
}
.footer_contact_wrap{
  width: 100%;
  display: flex;
  margin: 45px 0;
}
.footer_contact{
  display: inline-flex;
  flex-direction: column;
  margin-right: 100px;
}
.footer_contact>h3{
  font-size: 18px; font-weight: 600;
  margin-bottom: 1em;
}
.footer_contact>p{
  font-size: 16px; 
  color: var(--darkgray);
  margin: 0.2em;
}
.footer_etc{
  display: inline-block;
  font-size: 16px; 
  color: var(--darkgray);
  margin-right: 20px;
}
.copyright{
  display: block;
  font-size: 14px; 
  text-align: right;
  margin-top : 2em;
}
/* ======= top button ======= */
.top_btn{
  width: 67px; height: 78px;
  background-color: #fff;
  border: 2px solid #dfbc53;
  border-radius: 5px 0 0 5px;
  position: fixed;
  bottom: 100px;
  right: -100px;
  cursor: pointer;
  padding: 16px 15px;
}
.top_btn.on{
  right: -2px;
  transition: 0.7s ease;
}
.top_btn path{
  stroke: #dfbc53;
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
}.top_btn p{
  margin-top: 5px;
}

@media all and ( min-width: 501px ){
  .top_btn:hover{
    background-color: #dfbc53;
  }
  .top_btn:hover path{
    stroke: #fff;
  }
  .top_btn:hover svg{
    animation: topBtn 0.5s ease-in-out alternate infinite;
  }
}

@keyframes topBtn {
  0%{
    transform: translate( 0, 0 );
  }
  100%{ 
    transform: translate( 0, -5px ); 
  }
}

@media all and ( max-width : 1170px){
  html{
    font-size: 13px;
  }
  .logo{
    width: 160px;
    min-width: initial;
  }
  .youtube_btn>a{
    height: 24px;
  }
  .footer_logo>a{
    width: 200px; height: 28px;
  }
  .footer_contact_wrap{
    display: flex;
    justify-content: space-between;
  }
  .footer_contact{
    margin-right: 0px;
  }
  .footer_contact>h3{
    font-size: 14px;
  }
  .footer_contact>p{
    font-size: 13px; 
  }
  .footer_etc{
    display: block;
    font-size: 14px; 
    color: var(--darkgray);
    margin-right: 0px;
    line-height: 1.6;
  }
  .copyright{
    display: block;
    font-size: 10px; 
    text-align: right;
    margin-top : 2em;
  }
}
@media all and ( max-width : 900px){
  /* .youtube_btn{
    right: 1%;
  }
  .youtube_btn>a{
    height: 24px;
    display: flex;
    align-items: center;
  }
  .youtube_btn>a>img{
    height: 100%;
    margin-right: 0px;
  }
  .youtube_btn p{
    display: none;
  } */
}


@media all and (max-width : 500px){
  html{
    font-size: 12px;
  }
  .deskpc{ display: none; }
  .mobile{ display: block; }
  #wrap{
    min-width: initial;
  }

  /* ======= header ======= */
  #header{
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0; left: 0;
    z-index: 10;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 1);
    transition: all 0.4s;
  }
  .in_header{
    width: 100%; height: 80px;
  }
  .logo{
    width: 80px;
    margin-left: 3%;
  }
  .logo>a{
    width: 100%; height: 100%;
    padding-top: 10px;
  }
  .logo>a>img{
    width: 100%;
  }
  .youtube_btn{
    top: 17px;
    right: 70px;
  }

  .youtube_btn>a{
    height: 24px;
    display: flex;
    align-items: center;
  }
  .youtube_btn>a>img{
    height: 100%;
    margin-right: 0px;
  }
  .youtube_btn p{
    display: none;
  }

  .mobile_menu_btn{
    position: absolute;
    top: 14px;
    right: 3%;
    width: 44px; height: 35px;
  }

  .gnb_wrap{ display: none; }
  .side_gnb{ display: block; }
  .mobile_menu_btn{ display: block;}
  
  .side_gnb{
    position: fixed;
    top: 0; right: 0;
    transform: translateX(100%);
    z-index: 9;
    width: 100%; height: 100vh;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    color: #000;
  }  
  /* .side-active{
    right: 0;
  } */
  .side_container{
    padding: 100px 0 0 0;
  }
  .side_menu>li{
    border-bottom: 1px solid #b4daf0;
    margin: 0 14px;
  }
  .side_menu li.active>a{
    color: #008DFF;
  }
  .side_menu li.active ul{
    display: block;
  }
  .side_menu li ul{
    display: none;
  }
  .side_menu>li>a{
    padding: 1rem;
    font-size: 1.65rem;
    display: flex;
    align-items: center;
  }
  .side_menu>li>a>i{
    /* display: inline-block; */
    width: 26px; height: 26px;
    margin-right: 15px;
  }
  .side_menu li ul a{
    color: var(--darkgray);
    text-decoration: none;
    display: block;
    padding: 15px 0.5rem 10px 4.2rem;
    font-size: 16px;
    /* outline: 0; */
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -ms-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
  }
  .side_menu li ul li{
    background-color: rgba(0, 141, 255, 0.07);
  }

  /* ======= footer ======= */
  #footer{
    width: 100%;
    padding: 4rem 0;
    border-top: 1px solid #e9e9e9;
  }
  .footer_logo>a{
    width: 200px; height: 28px;
  }
  .footer_contact_wrap{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 45px 0;
  }
  .footer_contact{
    display: inline-flex;
    flex-direction: column;
    margin-right: 0px;
  }
  .footer_contact:nth-child(2){
    margin: 3rem 0;
  }
  .footer_contact>h3{
    font-size: 16px; font-weight: 600;
    margin-bottom: 0.25em;
  }
  .footer_contact>p{
    font-size: 14px; 
    margin: 0.2em;
  }
  .footer_etc{
    display: block;
    font-size: 16px; 
    color: var(--darkgray);
    margin-right: 0px;
    line-height: 1.6;
  }
  .copyright{
    display: block;
    font-size: 10px; 
    text-align: right;
    margin-top : 2em;
  }
  /* ======= top button ======= */
  .top_btn{
    width: 45px; height: 45px;
    background-color: #dfbc53;
    border: 1px solid #dfbc53;
    border-radius: 5px 0 0 5px;
    position: fixed;
    bottom: 50px;
    right: -100px;
    cursor: pointer;
    padding: 12px 7px;
  }
  .top_btn.on{
    right: -2px;
    transition: 0.7s ease;
  }
  .top_btn path{
    stroke: #fff;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
  }.top_btn p{
    margin-top: 0px;
    display: none;
  }
}