@keyframes sk-ham-menu-cut-in {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes sk-diagonal-bar-cut-in {
  0% {
    transform: skewX(-30deg) scaleY(0);
  }
  100% {
    transform: skewX(-30deg) scaleY(1);
  }
}
#header {
  width: 100%;
  height: 60px;
  background-color: white;
  display: flex;
  justify-content: end;
  align-items: center;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  box-shadow: 0px 0px 20px 9px rgba(0, 0, 0, 0.2);
}
#header .top-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#header .top-logo a img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 40px;
}
#header .ham-menu {
  margin-right: 5%;
}
#header .ham-menu span {
  display: block;
  width: 35px;
  height: 3px;
  background-color: #023692;
  margin-bottom: 9px;
  transition: all 0.5s;
}
#header .ham-menu span:last-child {
  margin-bottom: 0px;
}
#header .ham-menu.open span:nth-child(1) {
  transform: translateY(12px) rotateZ(-135deg);
}
#header .ham-menu.open span:nth-child(2) {
  transform-origin: 0;
  transform: scaleX(0);
  opacity: 0;
}
#header .ham-menu.open span:nth-child(3) {
  transform: translateY(-12px) rotateZ(135deg);
}
#header .ham-menu-list {
  position: absolute;
  top: 60px;
  right: 0;
  transition: all 0.5s;
  transform: translateX(100%);
  width: 100%;
  height: calc(200vh - 60px);
  background-color: #F99B07;
  overflow: hidden;
}
#header .ham-menu-list .diagonal-bar {
  width: 150px;
  height: 150vh;
  position: absolute;
  background-color: #fff300;
  z-index: 0;
  top: -15%;
  left: 100%;
  transform-origin: top;
  transition: all 0.5s;
  transform: skewX(-30deg);
}
#header .ham-menu-list ul {
  position: relative;
  margin-top: 15%;
  margin-left: auto;
  margin-right: auto;
  list-style: none;
  width: 90%;
  z-index: 10;
}
#header .ham-menu-list ul li {
  margin-bottom: 0.5em;
}
#header .ham-menu-list ul li a {
  color: #023692;
  font-size: 36px;
  font-weight: 600;
}
#header .ham-menu-list ul li.sub {
  margin-left: 2em;
}
#header .ham-menu-list ul li.sub a {
  font-size: 28px;
  font-weight: 550;
}
#header .ham-menu-list.open {
  transform: none;
}
#header .ham-menu-list.open .diagonal-bar {
  animation: sk-diagonal-bar-cut-in;
  animation-duration: 0.5s;
  animation-fill-mode: backwards;
  animation-timing-function: ease-in-out;
  animation-delay: 0.2s;
}
#header .ham-menu-list.open ul li {
  animation: sk-ham-menu-cut-in;
  animation-duration: 0.5s;
  animation-fill-mode: backwards;
  animation-timing-function: ease-in-out;
}
#header .ham-menu-list.open ul li:nth-child(1) {
  animation-delay: 0.6s;
}
#header .ham-menu-list.open ul li:nth-child(2) {
  animation-delay: 0.7s;
}
#header .ham-menu-list.open ul li:nth-child(3) {
  animation-delay: 0.8s;
}
#header .ham-menu-list.open ul li:nth-child(4) {
  animation-delay: 0.9s;
}
#header .ham-menu-list.open ul li:nth-child(5) {
  animation-delay: 1s;
}
#header .ham-menu-list.open ul li:nth-child(6) {
  animation-delay: 1.1s;
}
#header .pc-menu-list {
  display: none;
}

@media screen and (min-width: 1024px) {
  #header {
    justify-content: space-between;
  }
  #header .ham-menu-list {
    display: none;
  }
  #header .ham-menu {
    display: none;
  }
  #header .top-logo {
    position: relative;
    transform: none;
    top: 0;
    left: 3%;
  }
  #header .top-logo a img {
    height: 40px;
  }
  #header .pc-menu-list {
    display: block;
    width: 60%;
  }
  #header .pc-menu-list ul {
    display: flex;
    justify-content: flex-end;
    margin-right: 2em;
    gap: 2em;
  }
  #header .pc-menu-list ul li {
    display: inline;
  }
  #header .pc-menu-list ul li a {
    font-size: 20px;
    color: #023692;
    font-weight: 800;
    transition: all 0.3s;
  }
  #header .pc-menu-list ul li:hover a {
    color: #fff300;
  }
}/*# sourceMappingURL=header.css.map */