@charset "utf-8";

/*
   メニューアイコン
========================================== */

.menuIcon {
  position: fixed;
  z-index: 1500;
  top: 0;
  right: 00px;
  width: 60px;
  height: 60px;
  padding: 5px 5px 5px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 0;
  outline: 0;
  cursor: pointer;
  transition: .4s;
}

@media screen and (min-width: 900px){
  /* ===== pc ===== */
  .menuIcon {
    display: none;
  }
}

.menuIcon__lineWrap {
  position: relative;
  width: 35px;
  height: 25px;
  margin: 0 0 1px;
}

.menuIcon__line {
  position: absolute;
  display: inline-block;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  transition: .4s;
}

.menuIcon__line:nth-child(1) {
  top: 0;
}

.menuIcon__line:nth-child(2) {
  top: calc(50% - 2px);
}

.menuIcon__line:nth-child(3) {
  bottom: 0;
}

.menuIcon.is-open .menuIcon__line:nth-child(1) {
  transform: translateY(11.5px) rotate(45deg);
}

.menuIcon.is-open .menuIcon__line:nth-child(2) {
  transform: rotate(-45deg);
}

.menuIcon.is-open .menuIcon__line:nth-child(3) {
  transform: translateY(-20px) scale(0);
}