@charset "UTF-8";
.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  -webkit-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s; }
  .overlay.open {
    width: 100%;
    height: 100vh;
    opacity: 1; }

main {
  height: 100%;
  min-height: 100vh;
  padding: 0 50px;
  background-color: #eee;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center; }
  main.open {
    -webkit-transform: translateX(-250px);
    -ms-transform: translateX(-250px);
    transform: translateX(-250px); }
  main h1 {
    text-align: center;
    font-weight: 500; }
  main p {
    text-align: center; }

.menu-trigger {
  display: inline-block;
  width: 36px;
  height: 28px;
  vertical-align: middle;
  cursor: pointer;
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 100;
  /*   transform: translateX(0);
    transition: transform .5s;
   */ }
  .menu-trigger span {
    display: inline-block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #222;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s; }
  .menu-trigger.active span {
    background-color: #fff; }
  .menu-trigger span:nth-of-type(1) {
    top: 0; }
  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
    -ms-transform: translateY(12px) rotate(-45deg);
    transform: translateY(12px) rotate(-45deg); }
  .menu-trigger span:nth-of-type(2) {
    top: 12px; }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0; }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0; }
  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(45deg);
    -ms-transform: translateY(-12px) rotate(45deg);
    transform: translateY(-12px) rotate(45deg); }

/* .menu-trigger.active {
  transform: translateX(-250px);
}
 */
nav {
  width: 250px;
  height: 100%;
  padding-top: 100px;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  -webkit-transform: translate(250px);
  -ms-transform: translate(250px);
  transform: translate(250px);
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s; }
  nav.open {
    -webkit-transform: translateZ(0);
    transform: translateZ(0); }
  nav li {
    color: #fff;
    text-align: center;
    padding: 10px 0; }

#gnav {
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  top: 28px;
  left: 180px;
  z-index: 100;
  /* 下矢印 */
  /* floatクリア */ }
  #gnav ul li {
    display: inline;
    margin-right: 15px; }
    #gnav ul li a {
      color: #fff; }
  #gnav .menu {
    position: relative;
    width: 100%;
    height: 50px;
    max-width: 1000px;
    margin: 0 auto; }
  #gnav .menu > li {
    float: left;
    height: 20px;
    line-height: 20px;
    padding: 5px; }
  #gnav .menu > li a {
    display: block;
    color: #fff; }
  #gnav ul.menu__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1; }
  #gnav ul.menu__third-level {
    visibility: hidden;
    opacity: 0; }
  #gnav ul.menu__fourth-level {
    visibility: hidden;
    opacity: 0; }
  #gnav .menu > li:hover {
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s; }
  #gnav .init-bottom:after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 4px 10px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg); }
  #gnav .menu:before,
  #gnav .menu:after {
    content: " ";
    display: table; }
  #gnav .menu:after {
    clear: both; }
  #gnav .menu {
    *zoom: 1; }
  #gnav .menu > li.menu__single {
    position: relative; }
  #gnav li.menu__single ul.menu__second-level {
    position: absolute;
    top: 30px;
    width: 150px;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    padding-left: 10px;
    background-color: rgba(0, 0, 0, 0.8); }
  #gnav li.menu__single:hover ul.menu__second-level {
    top: 30px;
    visibility: visible;
    opacity: 1; }
