
nav a{
  text-decoration: none;
}

/*メニュー設定*/

nav.menu {
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    background-color: rgba(219,112,147,0.8);
    color: #000;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100vw;
    height: 100%;
    font-weight: bold;
}
 
nav.menu ul {
    width: 100%;
    height: auto;
    padding: 0;
    position: absolute;
    top: 0;
    *bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 0;
    text-align: center;
}
 
nav.menu ul li {
    list-style-type: none;
    padding-top: 33px;
    padding-bottom: 24px;
    margin: 0;
    width: 100%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    font-size: 32px;
    color: #fff;
}

/* 最初ラインを描かない */
nav.menu ul li:first-of-type {
    *padding-top: 0;
    *border-top: none;
}

/* 最後はラインを描かない */
nav.menu ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
 
nav.menu ul li a {
    display: block;
    color: #000;
    padding: 1em 0;
}
 
/* このクラスを、jQueryで付与・削除する */
nav.menu.active {
    transform: translateY(0%);
}

.navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    right: 20px;
    top: 15px;
    width: 120px;
    height: 160px;
    cursor: pointer;
    z-index: 9999;
    background-color: #e95464;
    text-align: center;
    border-radius:20px;
}
 
.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80px;
    height: 2px;
    border-bottom: solid 10px #eee;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    text-align: center;
}
 
.navToggle span:nth-child(1) {
    top: 30px;
}
 
.navToggle span:nth-child(2) {
    top: 60px;
}
 
.navToggle span:nth-child(3) {
    top: 90px;
}
 
.navToggle span:nth-child(4) {
    border: none;
    color: #eee;
    font-size: 32px;
    font-weight: bold;
    top: 105px;
}

/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 60px;
    *left: 5px;
    -webkit-transform: rotate(-50deg);
    -moz-transform: rotate(-50deg);
    transform: rotate(-50deg);
}
 
/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 60px;
    -webkit-transform: rotate(50deg);
    -moz-transform: rotate(50deg);
    transform: rotate(50deg);
}

@media screen and (orientation:landscape) {

nav.menu {
    position: fixed;
    top: 0;
    *left:0;
    background-color: rgba(219,112,147,0.8);
    color: #000;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 550px;
    height: 100%;
    margin-left:73%;
    font-weight: bold;
    z-index: 5;
    text-align: left;
}
 
nav.menu ul {
    width: 55%;
    *bottom: 0;
    *left: 0;
    margin-right: 0;
    font-size: 0;
    text-align: center;
    margin-right:240px;

}
 
nav.menu ul li {
    list-style-type: none;
    padding-top: 25px;
    padding-bottom: 25px!important;
    margin: 0;
    width: 100%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    font-size: 23px;
    color: #fff;
}

}



@media screen and (orientation:portrait) {


.navToggle {
    right: 10px;
    top: 10px;
    width: 90px;
    height: 105px;
}
 
.navToggle span {
    width: 60px;
}
 
.navToggle span:nth-child(1) {
    top: 15px;
}
 
.navToggle span:nth-child(2) {
    top: 35px;
}
 
.navToggle span:nth-child(3) {
    top: 55px;
}
 
.navToggle span:nth-child(4) {
    border: none;
    color: #eee;
    font-size: 24px;
    *font-weight: bold;
    top: 67px;
}

/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 30px;
    *left: 5px;
    -webkit-transform: rotate(-50deg);
    -moz-transform: rotate(-50deg);
    transform: rotate(-50deg);
}
 
/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 30px;
    -webkit-transform: rotate(50deg);
    -moz-transform: rotate(50deg);
    transform: rotate(50deg);
}


}

/*メニュー設定ここまで*/
