body.active{
	height:100%;
	overflow: hidden;
}
header{
	position: relative;
	height: 98px;
	transition: .5s;
	left: 0;
	top: 0;
	margin: 0 calc(50% - 50vw);
	z-index: 9999;
}
.header__inner{
    height: 98px;
}
#logo{
	position: absolute;
	top: 10px;
	left: 10px;
	margin: 0;
	z-index: 9999;
	width: 182px;
	height: 182px;
}
#logo a{
	display: block;
	line-height: 1;
}
#logo img{
    max-width: 182px;
}
#gnavi{
    width: 87%;
    height: 100%;
    margin: auto;
    position: relative;
}
#gnavi nav ul{
    display: flex;
    position: absolute;
    right: 0;
    align-items: center;
    height: 100%;
    margin: 0;
}
#gnavi nav ul li{
    padding: 0 13px;
}
#gnavi nav ul li:last-of-type{
    padding-right: 0;
}
.header__btn{
    display: none;
}
#gnavi nav ul li:last-of-type a,
.header__btn a{
    background-color: #644536;
    border-radius: 100vh;
    text-align: center;
    color: #fff;
    padding: 11px 20px;
    font-size: 12px;
    display: block;
    transition: .2s;
}
#gnavi nav ul li:last-of-type a:hover,
.header__btn a:hover{
    /* box-shadow: #957B6F ; */
    box-shadow: 0px 0px 20px #957B6F;
}

#gnavi nav ul a{
    color: #644536;
    text-decoration: none;
    letter-spacing: 0.05em;
}
#gnavi nav ul a strong{
	font-size: 12px;
	font-weight: 400;
	color:#957B6F;
}
#gnavi nav ul a span{
	display: block;
	font-family: 'Merriweather', serif;
	font-weight: 400;
	letter-spacing: 0.14em;
	font-size: 14px;
}
#gnavi nav li{
    list-style-type:none;
    text-align: center;
    transition: .3s;
}
#gnavi nav li:hover span{
	font-weight: 600;
/* 	border-bottom: 1px solid #644536; */
}
#gnavi nav li a{
	position: relative;
	display: block;
}
#gnavi nav li:hover a::after{
   content:"";
	display: block;
	position:absolute;
	background-color: #644536;
	width: 100%;
	height: 1px;
	bottom: -3px;
	left: 50%;
	transform: translatex(-50%);
}
#gnavi nav li:last-of-type:hover a::after{
	display: none;
}
#gnavi nav li:hover strong{
    font-weight: 500;
}
.header-sns{
    display: none;
}

.ham-menu{
    display: none;
}

/* スクロール後 */
header.scroll{
	position: fixed;
	width: 100vw;
	z-index: 999;
	background-color: rgba(255, 255, 255,0.8);
	animation: slideDown 0.3s ease-in-out;
}
@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}
header.scroll #logo{
	top: 50%;
	transform: translateY(-50%);
	margin-left:15px;
	background-color: transparent;
	width: 70px;
	height: 70px;
	left: 0;
}
header.scroll #logo img{
    width: 70px;
}

@media (max-width:1140px) {
    #gnavi nav ul li:not(:last-of-type){
        padding: 0 8px;
    }
	#gnavi nav ul a strong{
		font-size: 11px;
	}
    #gnavi nav ul a span{
        font-size: 13px;
    }
	
    #logo, #logo img{
		max-width: 130px;
		height: auto;
    }
}
@media (max-width:1000px){
    header{
        background-color: #fff;
        height: 70px;
        width: 100vw;
    }
    .header__inner{
        padding: 0 13px;
        margin: auto;
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    header #logo{
		top: 50%;
		transform: translateY(-50%);
		left: 15px;
		background-color:  transparent;
    }
	header.scroll #logo{
		margin-left: 0;
	}
    header #logo a{
        line-height: 1;
    }
	header.scroll #logo{
		left: 15px;
		width: auto;
		height: auto;
	}
	header.scroll #logo img,
	header #logo img{
        width: 50px;
    }
    .header__btn{
        display: block;
        width: 160px;
        margin: 0 24px 0 auto;
    }
    .header__btn a{
		text-decoration: none;
		padding: 9px 13px;
    }
    .ham-menu{
        display: block;
        position: relative;
        height: 18px;
        width: 26px;
        float: right;
    }
    .ham-menu span{
        position: absolute;
        width: 26px;
        height: 2px;
        background-color: #644536;
        border-radius: 100vh;
    }
    .ham-menu span:first-of-type{
        top: 0;
    }
    .ham-menu span:nth-of-type(2){
        top: 50%;
        transform: translateY(-50%);
    }
    .ham-menu span:last-of-type{
        bottom: 0;
    }
    .ham-menu.active span:nth-of-type(2){
        display: none;
    }
    .ham-menu.active span:first-of-type{
        transform: rotate(-45deg);
        top: 50%;
    }
    .ham-menu.active span:last-of-type{
        transform: rotate(45deg);
        top: 50%;
    }
    #gnavi{
        display: none;
    }
    #gnavi.active{
		display: block;
		height: 100vh;
		background-color: #EDE8E1;
		margin: 0 calc(50% - 50vw);
		width: 100vw;
		top: 70px;
		z-index: 999;
		position: absolute;
		left: 0;
		overflow: hidden;
/* 		
		position: fixed;
		overflow-x: hidden;
		overflow-y: scroll; */
    }
    #gnavi.active nav ul{
        padding: 5px 15px 0;
        flex-direction: column;
        width: 100%;
        align-items: baseline;
    }
    #gnavi.active nav ul li{
        padding: 14px 0;
        border-bottom: 1px solid #fff;
        text-align: left;
        width: 100%;
    }
    #gnavi.active nav ul a{
        text-align: left;
    }
    #gnavi nav ul li:last-of-type{
        display: none;
    }
    #gnavi nav ul{
        position: inherit;
    }
	#gnavi nav li:hover span{
		border-bottom:0;
		padding-bottom:0;
	}
    .header-sns{
        display: flex;
        list-style: none;
    }
    .header-sns{
        margin-top: 40px;
        justify-content: center;
        padding: 0;
    }
	.header-sns li{
		width: 40px;
	}
    .header-sns li:not(:last-of-type){
        margin-right: 18px;
    }
	#gnavi nav li:hover a::after{
		display: none;
	}
}