
/* header */
:root{
  --point_color:#0653bc;
}
header{
  position: relative;
  z-index: 10;
}
.header_wrap{
  border-bottom: 1px solid #c4c4c4;
}
.header_top{
  --hd_top_height: 50px;
  padding: 30px 0 10px;
}
.header_top .top_inner{
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1360px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_bottom .content_inner{
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1360px;
}
.header_top .top_inner > :is(h1, div){
  flex: 1;
  min-width: 0;
}
.header_top .logo_tit{
  text-align: center;
}
.header_top .logo > a{
  width: 206px;
  height: var(--hd_top_height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fff;
  border: 1px solid #a2a2a2;
  border-radius: calc(var(--hd_top_height) / 2);
}
.header_top .logo > a > .on{
  display: none;
}
.header_top .logo_tit > p{
  line-height: var(--hd_top_height);
  font-size: 26px;
  text-align: center;
}
.header_top .util > a{
  line-height: var(--hd_top_height);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header_top .util > a::before{
  content: '';
  display: block;
  width: 23px;
  height: 22px;
  background-repeat: no-repeat;
  background-size: cover;
}
.header_top .util > a.home{
  display: none;
}
.header_top .util > a.login::before{
  background-image: url(../img/common/ico_header_login.png);
}
.header_top .util > a.logout::before{
  background-image: url(../img/common/ico_header_logout.png);
}
.header_top .util > a.join::before{
  background-image: url(../img/common/ico_header_sign.png);
}
.header_top .util > a.mypage::before{
  background-image: url(../img/common/ico_header_mypage.png);
}
.header_top .util{
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: flex-end;
}
.header_nav_wrap{
  --hd_nav_height: 65px;
  --depth_padding: 25px;
}
.header_nav_wrap .gnb_wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header_nav_wrap .gnb_depth1{
  display: flex;
  flex: 1;
  min-width: 0;
  max-width: 1250px;
}
.header_nav_wrap .gnb_depth1 > li{
  flex: 1;
  min-width: 0;
  position: relative;
  height: var(--hd_nav_height);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header_nav_wrap .gnb_depth1 > li > a{
  font-size: 20px;
  line-height: 25px;
}
.header_nav_wrap .gnb_depth2{
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  display: none;
  top: var(--hd_nav_height);
  padding-top: 5px;
  border: 1px solid #c4c4c4;
  border-top: none;
  background-color: #fff;
  z-index: 100;
}
.header_nav_wrap .gnb_depth2 > li > a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px var(--depth_padding);
  min-height: 50px;
}
.header_nav_wrap .gnb_depth3{
  background-color: #f9f9f9;
  border-top: 1px solid #c4c4c4;
  border-bottom: 1px solid #c4c4c4;
  padding: 5px 0;
  display: none;
}
.header_nav_wrap .gnb_depth2 .has_depth{
  background:url(../img/common/ico_depth3.png) no-repeat right 20px center;
}
.header_nav_wrap .gnb_depth2 .has_depth.on{
  color: var(--point_color);
  background-image: url(../img/common/ico_depth3_on.png);
}
.header_nav_wrap .gnb_depth2 > li:last-of-type .gnb_depth3{
  border-bottom: none !important;
}
.header_nav_wrap .gnb_depth3 > li > a{
  display: flex;
  align-items: center;
  padding: 5px var(--depth_padding);
  min-height: 35px;
  position: relative;
  gap: 10px;
  font-size: 16px;
}
.header_nav_wrap .gnb_depth3 > li > a::before{
  content: '';
  display: block;
  width: 4px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #5b5b5b;
}
.header_nav_wrap .gnb_depth2::before{
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--point_color);
  top: 0;
  position: absolute;
  transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
  transition: 0.3s;
}
.header_nav_wrap .gnb_depth1 > li::after{
  content: '';
  display: block;
  width: 12px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: var(--point_color);
  bottom: 0;
  transform: translate(-50%, 50%) scale(0);
  -o-transform: translate(-50%, 50%) scale(0);
  -ms-transform: translate(-50%, 50%) scale(0);
  -moz-transform: translate(-50%, 50%) scale(0);
  -webkit-transform: translate(-50%, 50%) scale(0);
  position: absolute;
  left: 50%;
  transition: 0.3s;
  z-index: 101;
}
.hd_btn_wrap{
  display: flex;
  gap: 12px;
  align-items: center;
}
.hd_btn_wrap :is(button, a){
  width: 25px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hd_btn_wrap .hd_srh_btn{
  background: url(../img/common/ico_header_srh.png) no-repeat center;
  background-size: contain;
}
.hd_btn_wrap .hd_ham_btn{
  display: none;
}
.menu-trigger{
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.menu-trigger .ham_frame{
  width: 21px;
  height: 21px;
  position: relative;
  transition: 0.3s;
}
.menu-trigger .ham_frame > span{
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: 0.3s;
}
.menu-trigger .ham_frame > span:nth-of-type(1){
  top: 0;
}
.menu-trigger .ham_frame > span:nth-of-type(2){
  top: 10px;
}
.menu-trigger .ham_frame > span:nth-of-type(3){
  bottom: 0;
}
.menu-trigger.active-1 span:nth-of-type(1) {
  -webkit-transform: translateY(11px) rotate(-45deg);
  transform: translateY(11px) rotate(-45deg);
  width: calc(100% + 6px);
}
.menu-trigger.active-1 span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.active-1 span:nth-of-type(3) {
  -webkit-transform: translateY(-8px) rotate(45deg);
  transform: translateY(-8px) rotate(45deg);
  width: calc(100% + 6px);
}
@media screen and (hover:hover) {
  .header_top .logo > a:hover{
    background-color: var(--point_color);
  }
  .header_top .logo > a:hover > .basic{
    display: none;
  }
  .header_top .logo > a:hover > .on{
    display: block;
  }
  .header_nav_wrap .gnb_depth3 > li > a:hover,
  .header_top .util > a:hover,
  .header_nav_wrap .gnb_depth2 > li > a:hover,
  .header_nav_wrap .gnb_depth1 > li > a:hover{
    color: var(--point_color);
  }
  .header_nav_wrap .gnb_depth3 > li > a:hover::before{
    background-color: var(--point_color);
  }
  .header_top .util > a.login:hover::before{
    background-image: url(../img/common/ico_header_login_on.png);
  }
  .header_top .util > a.logout:hover::before{
    background-image: url(../img/common/ico_header_logout_on.png);
  }
  .header_top .util > a.join:hover::before{
    background-image: url(../img/common/ico_header_sign_on.png);
  }
  .header_top .util > a.mypage:hover::before{
    background-image: url(../img/common/ico_header_mypage_on.png);
  }
  .header_nav_wrap .gnb_depth1 > li:hover .gnb_depth2::before{
    transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
  }
  .header_nav_wrap .gnb_depth1 > li:hover::after{
    transform: translate(-50%, 50%) scale(1);
  -o-transform: translate(-50%, 50%) scale(1);
  -ms-transform: translate(-50%, 50%) scale(1);
  -moz-transform: translate(-50%, 50%) scale(1);
  -webkit-transform: translate(-50%, 50%) scale(1);
  }
  .hd_btn_wrap .hd_srh_btn:hover{
    background-image: url(../img/common/ico_header_srh_on.png);
  }
}
@media screen and (max-width:1024px) {
  .header_wrap :is(.logo, .util),
  .header_nav_wrap .gnb_depth1{
    display: none;
  }
  .header_top{
    padding: 5px 0;
  }
  .header_wrap{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
  }
  .hd_btn_wrap .hd_ham_btn{
    display: block;
  }
  .hd_btn_wrap :is(button, a){
    width: 20px;
  }
  .hd_btn_wrap .hd_srh_btn {
    background-size: contain;
  }
  .header_top .logo_tit > p{
    font-size: 20px;
  }
}
/* 메뉴 오픈 시 */
.header_wrap.open {
  background-color: #fff;
}
.header_wrap.open .header_nav_wrap .gnb_depth1 > li::after,
.header_wrap.open .header_nav_wrap .gnb_depth1 > li:hover .gnb_depth2::before{
  display: none;
}
.header_wrap.open .header_top .util{
  position: fixed;
  top: 61px;
  display: flex;
  gap: 6px;
  width: 100%;
  left: 0;
  right: 0;
  padding: 15px 20px;
  justify-content: center;
  border-bottom: 1px solid #c4c4c4;
  background-color: #fff;
  z-index: 999;
}
.header_wrap.open .header_top .util > a {
  height: 36px;
  border: 1px solid #a2a2a2;
  border-radius: 18px;
  padding: 0 15px;
  justify-content: center;
  line-height: normal;
  gap: 6px;
  font-size: 13px;
  flex: 1;
}
.header_wrap.open .header_top .util > a.home{
  display: flex;
}
.header_wrap.open .header_top .util > a.home::before{
  display: none;
}
.header_wrap.open .header_top .util > a.home img{
  width: 112px;
  height: auto;
}
.header_wrap.open .header_top .util > a.login::before,
.header_wrap.open .header_top .util > a.logout::before{
  width: 18px;
  height: 18px;
}
.header_wrap.open .header_top .util > a.join::before,
.header_wrap.open .header_top .util > a.mypage::before{
  width: 17px;
  height: 17px;
}
.header_wrap.open .header_nav_wrap .gnb_depth1{
  display: block;
  position: fixed;
  top: 128px;
  width: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 128px);
  overflow-y: auto;
  background-color: #fff;
  z-index: 999;
}
.header_wrap.open .header_nav_wrap{
  --hd_nav_height: 50px;
  --depth_padding: 20px;
}
.header_wrap.open .header_nav_wrap .gnb_depth1 > li{
  display: flex;
  flex-direction: column;
  height: auto;
}
.header_wrap.open .header_nav_wrap .gnb_depth1 > li > a{
  padding: 0 20px;
  font-size: 18px;
  height: var(--hd_nav_height);
  width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #c4c4c4;
  background: url(../img/common/ico_depth2.png) no-repeat right 20px center;
}
.header_wrap.open .header_nav_wrap .gnb_depth1 > li.on > a{
  border-bottom: 1px solid var(--point_color);
  color: var(--point_color);
  background: url(../img/common/ico_depth2_on.png) no-repeat right 20px center;

}
.header_wrap.open .header_nav_wrap .gnb_depth2{
  display: none;
  position: static;
  height: auto !important;
}
.header_wrap.open .header_nav_wrap .gnb_depth2 > li > a{
  min-height: auto;
  font-size: 16px;
  font-family: 'NotoSansKR';
  font-weight: 400;
  padding: 8px var(--depth_padding)
}
.header_wrap.open .header_nav_wrap .gnb_depth3 > li > a{
  font-size: 14px;
  min-height: 29px;
}
/* footer */
footer{
  background-color: #383b40;
  padding: 30px 0 80px;
}
footer .ft_top{
  padding-bottom: 40px;
}
footer .ft_inner{
  width: 100%;
  padding: 0 20px;
  max-width: 1360px;
  margin: 0 auto;
}
footer .ft_nav{
  display: flex;
  gap: 25px;
}
footer .ft_nav_item{
  display: flex;
  align-items: center;
  gap: 25px;
  line-height: 30px;
  color: #cbcbcb;
}
footer .ft_nav_item:not(:last-of-type)::after{
  content: '';
  display: block;
  width: 1px;
  height: 18px;
  background-color: #595c63;
}
footer .ft_bot .ft_inner{
  display: flex;
  align-items: flex-start;
  gap: 25px;
}
footer .ft_bot .address_box{
  flex: 1;
  min-width: 0;
  color: #cbcbcb;
  font-size: 16px;
  line-height: 27px;
}
footer .ft_bot .copyright{
  color: #ededed;
  margin-top: 20px;
}
footer .sns_list{
  display: flex;
  gap: 35px;
  align-items: center;
}
footer .sns_list > a{
  width: 25px;
  aspect-ratio: 1 / 1;
  background-position: center;
  background-repeat: no-repeat;
}
footer .sns_list > a.youtube{
  background-image: url(../img/common/ico_ft_youtube.png);
}
footer .sns_list > a.blog{
  background-image: url(../img/common/ico_ft_blog.png);
}
footer .sns_list > a.insta{
  background-image: url(../img/common/ico_ft_insta.png);
}
footer .ft_select_box{
  position: relative;
}
footer .ft_select_box > .ft_select_item{
  background-image: url(../img/common/ico_ft_select.png);
  background-repeat: no-repeat;
  background-position: right 15px center;
}
footer .ft_select_box > .ft_select_item.on{
  background-image: url(../img/common/ico_ft_select_on.png);
  color: #3581ff;
}
footer .ft_select_box > button.on + .ft_select_list{
  display: block;
}
footer .ft_select_item{
  width: 195px;
  line-height: 37px;
  border: 1px solid #767676;
  text-align: left;
  background-color: #292c30;
  color: #fff;
  font-size: 14px;
  padding: 0 15px;
}
footer .ft_select_list{
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 37px;
  display: none;
}
footer .ft_select_list .ft_select_item:not(:last-of-type){
  border-bottom: 0;
}
footer .ft_select_list .ft_select_item > a{
  display: block;
  width: 100%;
  height: 100%;
}
footer .ft_select_box > .ft_select_item:hover{
  background-image: url(../img/common/ico_ft_select_on.png);
}
footer .sns_list > a.youtube:hover{
  background-image: url(../img/common/ico_ft_youtube_on.png);
}
footer .sns_list > a.blog:hover{
  background-image: url(../img/common/ico_ft_blog_on.png);
}
footer .sns_list > a.insta:hover{
  background-image: url(../img/common/ico_ft_insta_on.png);
}
footer .ft_nav_item:hover,
footer .ft_select_item:hover{
  color: #3581ff;
}
@media screen and (max-width:1024px){
  footer .sns_list{
    flex-wrap: wrap;
    gap: 20px 35px;
    max-width: 195px;
    justify-content: flex-end;
  }
  footer .ft_top{
    padding-bottom: 25px;
  }
  footer .ft_bot .ft_inner{
    gap: 25px;
    flex-wrap: wrap;
  }
  footer .ft_bot .logo_box{
    width: 100%;
  }
}
@media screen and (max-width:768px){
  footer{
    padding: 0 0 55px;
  }
  footer .ft_top{
    padding-bottom: 40px;
  }
  footer .ft_top .ft_inner{
    padding: 0;
  }
  footer .ft_nav{
    gap: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom:1px solid #595c63 ;
  }
  footer .ft_nav_item > a{
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
  }
  footer .ft_nav_item:nth-of-type(odd){
    border-right:1px solid #595c63 ;
  }
  footer .ft_nav_item:nth-of-type(-n + 2){
    border-bottom:1px solid #595c63 ;
  }
  footer .ft_nav_item:not(:last-of-type)::after{
    display: none;
  }
  footer .ft_bot .ft_inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  footer .sns_list{
    justify-content: center;
    gap: 25px 40px;
  }
  footer .ft_bot .copyright{
    margin-top: 15px;
  }
  footer .ft_bot .address_box{
    font-size: 14px;
    line-height: 24px;
  }
}