@charset "utf-8";

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*==ナビゲーション全体の設定*/
nav{
	width: 85%;
	text-align: center;
	padding-left: 4em;
}
@media screen and (max-width:1400px){
	nav{
		width: 90%;
		padding-left: 0;
	}
}

nav ul{
	margin: 0!important;
	padding: 0!important;
}
/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
	display: flex;
	align-items:center!important;
}
/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
	width: 100%;
	height: 80px;
}

/*ナビゲーションのリンク設定*/
nav ul li{
	display: block;
	text-decoration: none;
	/*padding:24px 0;*/
	transition:all .3s;
	/*line-height: 5;*/
	margin: auto;
	height: auto;
}
nav ul li a{
	color: #5a2c0a;
	font-size: 16px;
	letter-spacing: .1em;
	font-weight: 700;
	font-family: 'Zen Maru Gothic', sans-serif!important;
}
@media screen and (max-width:1400px){
	nav ul li a{
		font-size: 16px;
	}
}

nav ul li li{
	line-height: 1;
}
nav ul li li a{
	color: #5a2c0a;
	display: block;
}
nav ul li:hover{
	color:#c69c6d;
}
nav ul li a:hover{
	color:#c69c6d;		
}
nav ul li ul li a:hover{
	color:#5a2c0a;	
	background-color: #dde6cc;	
}
.reseve{
	position: relative;
	height:100px;
	display: flex;
	justify-content: center;
	width: 140%;
}
@media screen and (max-width:1400px){
.reseve{
	width: 100%;
}
}
.reseve:hover{
	opacity:0.5; 
	transition: .5s;
}
.reseve a{
	width: 100%;
	position: absolute;
	top: 50%;
	margin: 0;
	transform: translateY(-50%);
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child > a{
	padding-left: 20px;
}
@media screen and (min-width:1025px){
.click-none{
	pointer-events: none;
}
}
@media screen and (max-width:1400px){
nav ul li.has-child > a{
	padding-left: 0;
}
}
nav ul li.has-child::before{
	content:'';
	position: absolute;
	top:35%;
	transform: translateY(-50%);
	width:10px;
	height:10px;
	border-top: 2px solid #a9c17f;
    border-right:2px solid #a9c17f;
    transform: rotate(135deg);
}

/*3階層目を持つliの矢印の設定*/
nav ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:6px;
	top:20px;
	width:6px;
	height:6px;
    border-top: 2px solid #fff;
    border-right:2px solid #fff;
    transform: rotate(45deg);
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:54px;
	z-index: 4;
    /*形状を指定*/
	background: rgba(255,255,255,0.85);
	width:200px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
}
nav li.has-child ul li{
	padding: 0;
}
nav li.has-child ul a{
	padding: 14px;
	font-size: 16px;
}

/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li{
	color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.6);
}

nav li.has-child ul li:last-child{
	border-bottom:none;
}

/*
nav li.has-child ul li:hover,
nav li.has-child ul li:active{
	background:#F1E7A0;
}
*/


/*==3階層目*/

/*3階層目の位置*/
nav li.has-child ul ul{
	top:0;
	left:182px;
	background:#6C8E44;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
	background:#ACB853;
}


/*==768px以下の形状*/

@media screen and (max-width:1400px){
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
	nav li.has-child ul,
	nav li.has-child ul ul{
  	position: relative;
	left:0;
	top:10px;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
	background: rgba(247,244,237,1.0);
}
	
nav ul li{
	border-bottom:1px solid #fff;
	padding: 10px 0;
	line-height: 1.5;
}
	

/*矢印の位置と向き*/

nav ul li.has-child::before{
	left:20px;	
	top: 22px;
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

}


/*========= レイアウトのためのCSS ===============*/

h1{
	font-size:10px!important;
	margin: 0 0 0 8em!important;
	color: #c69c6d;
}

@media screen and (max-width: 1400px) {
	h1{
	font-size:8px!important;
		margin: 0.1875rem 0 0 7.5em!important;
	}
	
	nav{
		background:none;
		width: 100%;
	}
	#g-nav{
		position: absolute;
		top:66px;
		right: -120%;
		padding: 0 20px 150px;
		height: 100vh;
		transition: all 0.6s;
		background-color: rgba(255,255,255,1);
		width: 250px;
		z-index: 9999!important;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	#g-nav.panelactive{
		right: 0;
	}
	#g-nav{
		background: rgba(255,255,255,0.85);
	}
}
@media screen and (max-width: 1400px) {
	h1{
		margin: 0.125rem 0 0 7.5em!important;
	}
}

.logo{
	width:300px;
	text-align: left;
	padding-left: .5em;
	font-weight: 300!important;
}
@media screen and (max-width: 1500px) {
	.logo{
    width: 20%;
	}
}
@media screen and (max-width: 1400px) {
	.logo{
    width: 100%;
    top: 4px;
    left: 8px;
    z-index: 100;
	padding-left: 0;
	}
}

@media screen and (max-width: 1400px) {
	.logo img{
		max-width: 220px;
	}
}

.h_navw{
	display: flex;
	align-items:center;
	justify-content: space-around;
	width: 100%;
	height: 100%;
}
@media screen and (max-width: 1400px) {
	.h_navw{
		flex-direction: column;
		padding: 0;
	}
}

