@charset "UTF-8";


.wrapper {
  height: 100%;
  overflow-x: hidden;
  position: relative;
}
.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}
main {
  height: 100%;
  min-height: 100vh;
  padding: 0 50px;
  background-color: #eee;
  transition: all .5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
main.open {
  transform: translateX(-250px);
}
main h1 {
  text-align: center;
  font-weight: 500;
}
main p {
  text-align: center;
}
.menu-trigger {
    display: inline-block;
    width: 60px;
    height: 60px;
    vertical-align: middle;
    cursor: pointer;
    /*position: fixed;*/
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999999999;
    background: hsla(0, 0%, 100%, 0.8);
/*   transform: translateX(0);
  transition: transform .5s;
 */}
/* .menu-trigger.active {
  transform: translateX(-250px);
}
 */.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  width: 50%;
  height: 2px;
  margin: auto;
  background-color: #000;
  transition: all .5s;
}
.menu-trigger.active span {
  background-color: #000;
}
.menu-trigger span:nth-of-type(1) {
  top: 18px;
}
.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(12px) rotate(-45deg);
}
.menu-trigger span:nth-of-type(2) {
  top: 30px;
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger span:nth-of-type(3) {
 top: 42px;
}
.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-12px) rotate(45deg);
}

nav.sp_nav {
  display: block;
  width: 250px;
  height: 100%;
  padding: 70px 10px 0;
  background-color: #fff;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  transform: translate(250px);
  transition: all .5s;
}
nav.sp_nav.open {
  transform: translateZ(0);
  z-index: 9999;
}
nav.sp_nav p.logo {
    position: absolute;
    top: 3px;
    left: 30px;
    width: 60px;
    line-height: 0;
}
nav.sp_nav ul {
    height: 100%;
    overflow: scroll;
    list-style-type: none;
}
nav.sp_nav li {
  color: #333333;
  text-align: center;
  border-bottom: 2px #ccc solid;
  font-size: 15px;
  font-size: 1.5rem;
  text-align: left;
  line-height: 1.5;
}

nav.sp_nav li:first-child {
    border-top: 2px #ccc solid;
}

nav.sp_nav li a {
    display: block;
    position: relative;
    padding: 18px 0 16px 45px;
    font-weight: bold;
}
/*
nav li a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -6px;
    display: block;
    width: 6px;
    height: 6px;
    border-top: 1px solid #2a7a66;
    border-right: 1px solid #2a7a66;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 1;
}
*/

nav.sp_nav li a:before {
    content: "";
    position: absolute;
    width: 21px;
    height: 20px;
    background: url(../images/nav_btn.png);
    background-size: 21px 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 15px;
}

/* PC */
@media screen and (min-width: 767px){
/* ------------------------------------------------------*/
    .sp_nav{
        display: none;
    }

    .menu-trigger{
        display: none;
    }
}
