.bars {
  visibility: hidden;
  width: 0;
  height: 0;
}

.header .glob {
  width: 36px;
  height: 36px;
  opacity: 0.5;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.header .glob img {
  width: 100%;
}
.header .glob:hover {
  opacity: 1;
}

.header1 .glob {
  width: 36px;
  height: 36px;
  opacity: 0.5;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.header1 .glob img {
  filter: invert(100%);
  width: 100%;
}
.header1 .glob:hover {
  opacity: 1;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  position: fixed;
  top: 0;
  z-index: 99;
  transition: 0.5s ease-in-out;
  background-color: #FFFFFF;
}
.header.scrolled {
  transform: translateY(-100px);
}
.header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1280px;
  height: 100%;
}
.header .inner h1 {
  width: 188px;
  height: 68px;
  transition: opacity 0.3s ease-in-out;
}
.header .inner h1:hover {
  opacity: 0.6;
}
.header .inner h1 img {
  width: 188px;
  height: 68px;
}
.header .inner nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.header .inner nav .gnb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 68px;
}
.header .inner nav .gnb .main_menu a {
  font-size: 24px;
  transition: 0.3s ease-in-out;
}
.header .inner nav .gnb .main_menu a:hover {
  color: #838383;
}

.header1 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0;
  z-index: 99;
  background-color: transparent;
  transition: 0.5s ease-in-out;
}
.header1.scrolled {
  transform: translateY(-100px);
}
.header1 .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1280px;
  height: 100%;
}
.header1 .inner h1 {
  width: 188px;
  height: 68px;
  transition: opacity 0.3s ease-in-out;
}
.header1 .inner h1:hover {
  opacity: 0.6;
}
.header1 .inner h1 img {
  filter: brightness(1000%) grayscale(100%);
  width: 188px;
  height: 68px;
}
.header1 .inner nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.header1 .inner nav .gnb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 68px;
}
.header1 .inner nav .gnb .main_menu a {
  white-space: nowrap;
  color: #FFFFFF;
  font-size: 24px;
  transition: 0.3s ease-in-out;
}
.header1 .inner nav .gnb .main_menu a:hover {
  color: #CFCFCF;
}

.m_header {
  visibility: hidden;
  width: 0;
  height: 0;
}

@media (min-width: 0px) and (max-width: 767px) {
  .bars {
    visibility: visible;
    width: 30px;
    height: 24px;
  }
  .header .bars .bar {
    background-color: #8D8D8D;
  }
  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 480px;
    height: 80px;
  }
  .header.scrolled {
    transform: translateY(-80px);
  }
  .header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
  }
  .header .inner h1 {
    width: 138px;
    height: 48px;
  }
  .header .inner h1 img {
    width: 138px;
    height: 48px;
  }
  .header .inner nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
  .header .inner nav .gnb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 68px;
    display: none;
  }
  .header .inner nav .gnb .main_menu a {
    font-size: 24px;
  }
  .header1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
  }
  .header1.scrolled {
    transform: translateY(-80px);
  }
  .header1 .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
  }
  .header1 .inner h1 {
    z-index: 99;
    width: 138px;
    height: 48px;
  }
  .header1 .inner h1 img {
    width: 138px;
    height: 48px;
  }
  .header1 .inner nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
  .header1 .inner nav .gnb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 68px;
    display: none;
  }
  .header1 .inner nav .gnb .main_menu a {
    color: #FFFFFF;
    font-size: 24px;
  }
  .m_header {
    position: fixed;
    top: 0;
    left: 100vw;
    z-index: 99;
    background-color: #F5F5F5;
    visibility: visible;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    opacity: 0;
    transition: left 0.5s ease-in-out, opacity 0.5s ease-in-out;
  }
  .m_header.scrolled {
    left: 0;
    opacity: 1;
  }
  .m_header .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 48px;
    margin: 0 auto;
    width: 90%;
    height: 100%;
  }
  .m_header .inner h1 {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
  }
  .m_header .inner h1:hover {
    opacity: 0.5;
  }
  .m_header .inner nav .gnb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 32px;
  }
  .m_header .inner nav .gnb .main_menu a {
    font-size: 24px;
    transition: 0.3s ease-in-out;
  }
  .m_header .inner nav .gnb .main_menu a:hover {
    color: #838383;
  }
}