@charset "utf-8";


@font-face {
  font-family: 'Pretendard-Medium';
  src: url('fonts/Pretendard-Medium.otf') format('otf');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard-SemiBold';
  src: url('fonts/Pretendard-SemiBold.otf') format('otf');
  font-weight: 600;
  font-style: normal;
}


.fc-faaa3b {
  color: #faaa3b;
}
.fc-de662b {
  color: #de662b;
}
.fc-3f4a66 {
  color: #3f4a66;
}
.fc-4ca6fa {
  color: #4ca6fa;
}
.fc-f59464 {
  color: #f59464;
}
.fc-36 {
  color: #363636;
}
.fc-4d {
  color: #4d4d4d;
}
.fc-0073c0 {
  color: #0073c0;
}

#main_header{
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100px;
    top: 0;
    left: 0;
}
#main_header.scrolled{
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
#main_header.hide {
    top: -100px; /* 헤더 높이만큼 올려서 숨기기 */
}
#main_header .center1{
    height: 100%;
}
.bk_logo{
    display: block;
}
#main_header.scrolled .bk_logo{
    display: none;
}
.color_logo{
    display: none;
}
#main_header.scrolled .color_logo{
    display: block;
}
#main_header.scrolled .main_menu>li>p{
    color: #222;
}


#header{
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100px;
  top: 0;
  left: 0;
}
#header .center1{
  height: 100%;
}
.menu_box{
  gap: 0 5vw;
}
.main_menu{
  gap: 0 3vw;
}
#main_header .main_menu>li>p{
  color: #fff;
}
.main_menu>li{
  position: relative;
}
.sub_menu{
  position: absolute;
  width: 183px;
  border: 1px solid #e1e1e1;
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
  z-index: 9999;
  text-align: center;
}
.main_menu>li:hover .sub_menu{
  opacity: 1;
  visibility: visible;
}
.sub_menu>li>a{
  color: #222222;
  transition: all .5s;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-style: normal;
}
.sub_menu>li:hover>a{
  color: #007dc6;

  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* sitemap */
.st_icon{
  width: 28px;
  height: 20px;
  position: relative;
}
#main_header .st_icon p{
  position: absolute;
  background-color: #ffffff;
  height: 2px;
  right: 0;
}
#main_header.scrolled .st_icon p{
    background-color: #222;
}
.st_icon p:first-child{
  width: 100%;
  top: 0;
}
.st_icon p:nth-child(2){
  width: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.st_icon p:last-child{
  width: 20px;
  bottom: 0;
}

.sitemap{
  padding: 2vw 5vw 5vw 5vw;
  width: 500px;
  height: 100%;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 1s;
}
.sitemap.show{
  transform: translateX(0);
}
.sitemap .close_btn{
  justify-content: flex-end;
}
.st_menu{
  padding: 2vw 0;
  border-bottom: 1px solid #e1e1e1;
}
.st_menu>ul{
  margin-top: 1.5vw;
  gap: 0 1.5vw;
}
.st_menu>ul>li{
  gap: 0 1.5vw;
}
.st_menu>ul ul{
  gap: .5vw 0;
}
/* mobile */
@media screen and (max-width: 767px){
#header, #main_header{
    height: 75px;
}
    .logo{
        width: 150px;
    }
    .logo img{
        width: 100%;
    }
    .main_menu{
        display: none !important;
    }

    /* sitemap */
    .st_icon{
        width: 24px;
        height: 16px;
    }
    .st_icon p:nth-child(2){
        width: 12px;
    }
    .st_icon p:last-child{
        width: 16px;
    }
    .sitemap{
        padding: 0;
        width: 100%;
    }
    .sitemap .close_btn{
        padding: 20px;
    }
    .st_box{
        width: 90%;
        margin: auto;
        margin-top: 30px;
        gap: 20px 0;
    }
    .st_menu>ul {
        margin-top: 3vw;
        gap: 0 5vw;
    }
    .st_menu>ul>li {
        gap: 0 3vw;
        align-items: baseline;
    }
}



/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){
    .main_menu{
        display: none !important;
    }

    /* sitemap */
    .sitemap{
        padding: 0;
        width: 100%;
    }
    .sitemap .close_btn{
        padding: 30px;
    }
    .st_box{
        width: 90%;
        margin: auto;
        margin-top: 40px;
        gap: 30px 0;
    }
    .st_menu>ul {
        margin-top: 3vw;
        gap: 0 3vw;
    }
    .st_menu>ul>li {
        gap: 0 5vw;
        align-items: baseline;
    }
}