﻿

/* Document
   ========================================================================== */

/* グローバルナビ用  
   ========================================================================== */
nav.globalMenuSp {
    position: fixed;
    z-index: 190;
    top: 0;
    right: 0;
    background-color:#fff0fa;
	background: url("../img/bg_texture01.jpg") repeat;
	background-size: 350px;
    color:#736357;
    transform: translateX(100%);
    transition: all 0.6s;
    width: 100%;
	height: 100vh;
	padding-bottom: 1em;
	overflow: auto;
}
 
nav.globalMenuSp ul {
    margin: 58px auto 58px;
    padding: 0;
    width: 100%;
	max-width: 350px;
}
 
nav.globalMenuSp ul li {
    font-size: 1rem;
	font-weight: 700;
    list-style-type: none;
    padding-left: 1.5rem;
    width: 100%;
	border-bottom: dashed 2px #998675;
	background: url("../img/icon01.png") no-repeat;
	background-size: 1.2rem;
	background-position: left center;
}
nav.globalMenuSp ul li.phone{
	font-size: 1.2rem;
}


nav.globalMenuSp ul li a {
    display: block;
    color: #736357;
    padding: 0.9em ;
	text-decoration-line: none;
	transition: .5s;
}
nav.globalMenuSp ul li a:hover{
	opacity: 0.5;
}

 
/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translatey(0%);
}



/* ハンバーガー用
   ========================================================================== */

.navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    right: 20px;
    top: 10px;
    width: 60px;
    height: 68px;
    cursor: pointer;
    z-index: 200;
    background:#fff0fa;
	border-radius: 10px;
	border-top: dashed 2px #998675;
	border-bottom: dashed 2px #998675;
	border-left: dashed 2px #998675;
	border-right: dashed 2px #998675;
	box-shadow: 0 0 0 8px #fff0fa ,2px 2px 0 8px rgba(0,0,0,0.2);
    text-align: center;
}
 
.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 40px;
    border-bottom: solid 3px #736357;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    right: 8px;
}
 
.navToggle span:nth-child(1) {
    top: 9px;
}
 
.navToggle span:nth-child(2) {
    top: 18px;
}
 
.navToggle span:nth-child(3) {
    top: 27px;
}
 
.navToggle span:nth-child(4) {
    border: none;
    color: #736357;
    font-size: 14px;
    top: 34px;
}

/* タップした後 
   ========================================================================== */

/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    right: 8px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}