#header {
  position: sticky;
  left: 0;
  right: 0;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid transparent;

  white-space: nowrap;
}

#header.on {
  background: var(--white-color);
  border-bottom: 1px solid var(--line-color);
}

#header h1 {
  flex: 0 0 28rem;
  font-size: 3.2rem;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
}

#header h1 a {
  display: block;
  height: 5.6rem;
  background: url(../images/logo.svg) no-repeat left center/auto 5.6rem;
}

#header .hd_wrap {
  display: flex;
  align-items: center;
  height: 9.6rem;
  margin: 0 12rem;
}

@media (max-width: 1680px) {
  #header .hd_wrap {
    margin: 0 1.6rem;
  }
}

.gnb {
  margin-left: auto;
  margin-right: auto;
}

.gnb > ul {
  display: flex;
  justify-content: center;
  gap: 6.4rem;

  transition: gap 0.4s;
}

.gnb:hover > ul {
  gap: 8rem;
}

.gnb > ul > li {
  position: relative;
}

.gnb > ul > li > a {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 6.3rem;

  text-align: center;
}

.gnb > ul > li ul a {
  display: block;
  font-size: 1.5rem;
  line-height: 3.2rem;
  text-align: center;
}

.gnb > ul ul {
  position: absolute;
  top: 6rem;
  left: 50%;
  transform: translate(-50%, 0);

  padding-top: 2.4rem;

  z-index: 3;

  display: none;
}

.gnb:hover > ul ul {
  display: block;
}

.gnb::before {
  content: "";
  position: absolute;
  top: 9.6rem;
  left: 0;
  width: 100%;
  height: 28rem;
  background: var(--white-color);
  border-bottom: 1px solid var(--line-color);

  z-index: 2;

  display: none;
}

.gnb:hover::before {
  display: block;
}

.utils {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mbtn {
  display: none;
}

@media (max-width: 768px) {
  .utils {
    display: none;
  }

  .mbtn {
    display: flex;
    align-items: center;

    position: fixed;
    top: 2.4rem;
    right: 1.6rem;
    z-index: 999;

    width: 32px;
    height: 32px;

    background: var(--white-color);
    border: 1px solid var(--line-color);
    border-radius: 4px;
    /* background: rgba(255, 255, 255, 0.25); */
    font-size: 0;
  }

  .mbtn::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 4px;
    right: 4px;

    height: 1px;
    background: var(--body-color);
  }

  .mbtn.on::before {
    display: none;
  }

  .mbtn::after {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 4px;
    right: 4px;

    height: 1px;
    background: var(--body-color);
  }

  .mbtn.on::after {
    display: none;
  }

  .mbtn span::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 4px;
    right: 4px;

    height: 1px;
    background: var(--body-color);
  }

  .mbtn.on span::before {
    transform: rotate(45deg);
  }

  .mbtn span::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 4px;
    right: 4px;

    height: 1px;
    background: var(--body-color);
  }

  .mbtn.on span::after {
    transform: rotate(-45deg);
  }

  .top_bar {
    display: none;
  }

  #header h1 {
  }

  .gnb {
    position: fixed;
    top: 0;
    left: -100vw;
    z-index: 999;

    width: 100vw;
    background: var(--white-color);

    background: rgba(0, 0, 0, 0.75);
  }

  .gnb.on {
    left: 0;
  }

  .gnb > ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 12rem 2.4rem 0 2.4rem;

    margin: 0 0;
    margin-left: auto;

    width: calc(100vw - 8rem);
    height: 100vh;
    background: var(--white-color);

    overflow-y: auto;
  }

  .gnb:hover > ul {
    gap: 0;
  }

  .gnb > ul > * {
    flex: none;
  }

  .gnb > ul > li {
    position: relative;
  }

  .gnb > ul > li ~ li {
    border-left: none;
  }

  .gnb > ul > li > a {
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 5.6rem;

    text-align: left;
    border-bottom: 1px solid var(--line-color);
  }

  .gnb > ul > li ul a {
    display: block;
    line-height: 4rem;
    text-align: left;
    border-bottom: 1px solid var(--line-color);
    padding-left: 1.6rem;
  }

  .gnb > ul ul {
    position: static;
    background: var(--background-color);
    transform: translate(0, 0);
    display: none;

    padding-top: 0;
  }

  .gnb:hover > ul ul {
    display: none;
  }

  .gnb::before {
    display: none;
  }

  .gnb:hover::before {
    display: none;
  }
}

#footer {
  overflow: hidden;
  background: var(--footerbg-color);
}

#footer a {
  color: var(--white-color);
}

#footer .footer_top {
  padding: 8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  #footer .footer_top {
    display: none;
  }
}

#footer .lnk > ul {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

#footer .lnk > ul > li > a {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.6rem;
}

#footer .lnk > ul ul a {
  display: block;
  line-height: 1.5;
}

#footer .footer_bottom {
  padding: 4rem 0 12rem 0;
}

#footer .footer_bottom .content {
  position: relative;
}

#footer .footer_bottom .sns {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

#footer .footer_bottom .bt {
  position: absolute;
  bottom: 0;
  right: 0;
}

#footer .footer_bottom .sns a {
  line-height: 1;
}

#footer .footer_bottom .l_list a::after {
  color: var(--white-color);
}

#footer .footer_bottom .l_list {
  margin-bottom: 1.6rem;
}

#footer .footer_bottom ul {
  margin-bottom: 0.4rem;
}

#footer .footer_bottom ul > li {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--white-color);
  /* white-space: nowrap; */
}

#footer .footer_bottom .copy {
  margin-top: 1.6rem;
  color: var(--white-color);
  opacity: 0.5;
}

#footer .wp::before {
  transform: translate(-50%, calc(-50% - 30px));
}

#footer .wp::after {
  transform: translate(-50%, calc(-50% - 18px)) rotate(45deg);
}

@media (max-width: 768px) {
  #footer .footer_bottom .bt {
    display: none;
  }

  #footer .footer_bottom .l_list {
    flex-direction: column;
    gap: 0;
  }

  #footer .footer_bottom .l_list a {
    display: block;
    line-height: 1.5;
  }

  #footer .footer_bottom .l_list a::after {
    display: none;
  }

  #footer .footer_bottom {
    padding: 4rem 0 16rem 0;
  }
}
