@charset "UTF-8";
#page {
  position: relative;
  z-index: 2;
  left: 0;
  -webkit-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  transition: all 400ms cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
}

#drawernav {
  position: fixed;
  top: 0;
  right: -240px;
  width: 240px;
  height: 100%;
  background: #333;
  color: #fff;
  z-index: 2001;
  padding: 20px 0 50px;
  -webkit-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  transition: all 400ms cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
}

#drawernav ul {
  list-style: none;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}

#drawernav ul li a {
  color: #fff;
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  padding-left: 38px;
  background: url(../img/icon_navi.png) no-repeat 20px center;
  background-size: 10px 4px;
}
#drawernav ul li a.active {
  color: #FFF;
  background: #01524D url(../img/icon_navi_o.png) no-repeat 20px center;
  background-size: 10px 4px;
}
#drawernav ul li.sub a {
  background: inherit;
}
#drawernav ul li.sub a.active {
  color: #01524D;
}

#drawernav ul li a:hover {
  color: #ddd;
  background: #222;
}

#drawernav h4 {
  padding: 0 15px;
}

#humberger {
  display: none;
}

.icon-bar {
  height: 2px;
  background: #FFF;
  display: block;
  margin-bottom: 6px;
  -webkit-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  transition: all 400ms cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
}

.fixed-content {
  right: inherit;
  width: 100%;
  z-index: 2;
  -webkit-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  transition: all 400ms cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
}

#overlay {
  z-index: -1;
  opacity: 0;
  background: #000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  -webkit-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  transition: all 400ms cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
}

/**
* ドロワー開放時のスタイル
**/
@media (max-width: 899px) {
  #humberger {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2002;
    width: 60px;
    height: 60px;
    background: #01524D;
    padding: 20px 14px 20px;
    cursor: pointer;
  }
  #humberger.fixed {
    position: fixed;
  }

  body.drawer-opened #page {
    left: -240px;
    box-shadow: 1px 0 2px #000;
    -webkit-box-shadow: 1px 0 2px #000;
  }

  body.drawer-opened .fixed-content {
    left: -240px;
  }

  body.drawer-opened #drawernav {
    right: 0;
  }

  body.drawer-opened #humberger .icon-bar {
    background: #fff;
  }

  body.drawer-opened #humberger :nth-child(1) {
    transform: translate(0, 8px) rotate(45deg);
    -webkit-transform: translate(0, 8px) rotate(45deg);
  }

  body.drawer-opened #humberger :nth-child(2) {
    transform: translate(-20px, 0);
    -webkit-transform: translate(-20px, 0);
    opacity: 0;
  }

  body.drawer-opened #humberger :nth-child(3) {
    transform: translate(0, -8px) rotate(-45deg);
    -webkit-transform: translate(0, -8px) rotate(-45deg);
  }

  body.drawer-opened #overlay {
    z-index: 3;
    opacity: 0.3;
    left: -240px;
  }
}
.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}
