@charset "utf-8";

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

/*==ナビゲーション全体の設定*/
nav{
	width: 100%;
	text-align: center;
}

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

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

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #613620;
	padding:15px 0;
	transition:all .3s;
    font-weight: bold;
	font-family: 'Zen Maru Gothic', sans-serif;
	border-radius: 0 0 20px 20px;
}

nav ul li ul li a{
	display: block;
	text-decoration: none;
	color: #613620;
	padding:28px 0;
	transition:all .3s;
    font-weight: bold;
	font-family: 'Zen Maru Gothic', sans-serif;
}
nav ul li ul li{
width: 100%;}
@media screen and (max-width:1500px){
	nav ul li a{
		font-size: 16px;
        padding:5px 0;
	border-radius: 0;
	}
}

nav ul li li{
	line-height: 1;
}
nav ul li li a{
	background-color: rgba(255,255,255,.5);
}

@media screen and (max-width:1500px){
nav ul li li a{
	background-color: #fbf7ed;
	}
}


.reseve{
	background:#f2c762;
	border-radius: 50px;
	color: #fff;

}
.reseve:hover{
	background: #f8a260;
	transition: .3s;
	color: #fff;
}

nav ul li:hover{
	color:#f8a260;
}
nav ul li a:hover{
	opacity: 1;
	color:#f8a260;	
}
nav ul li ul li a:hover{
	color:#69cea5;	
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
/*
nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:36px;
	width:6px;
	height:6px;
	border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
}
@media screen and (max-width:1024px){
	nav ul li.has-child::before{
		content:'';
		position: absolute;
		left:15px;
		top:20px;
		width:6px;
		height:6px;
		border-top: 2px solid #999;
		border-right:2px solid #999;
		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:60px;
	z-index: 4;
    /*形状を指定*/
	background:rgba(255,255,255,.90);
	width:100%;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
	border-radius: 0 0 20px 20px;
}
nav li.has-child ul li{
	padding: 0;
}
nav li.has-child ul a{
	padding: 14px;
}

/*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: #613620;
	border-bottom:dotted 1px rgba(150,117,98,.2);
}

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{
	color: #f8a260;
}


/*==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:1500px){
	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のアニメーションを切る*/
	border-radius: 0;
}
	
nav ul li{
	border-bottom:1px solid #ccc;
	padding: 10px 0;
	line-height: 1.5;

}
	

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

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

}

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 4px!important;
	color: #878787;
}

@media only screen and (max-width: 1500px) {
	nav{
		background:none;
		width: 100%;
	}
	#g-nav{
		position: absolute;
		top:53px;
		right: -120%;
		padding: 20px 20px 150px;
		height: 100vh;
		transition: all 0.6s;
		background-color: rgba(255,255,255,1);
		width: 250px;
		z-index: 99999!important;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	#g-nav.panelactive{
		right: 0;
	}
	#g-nav{
		background-color: rgba(255,255,255,0.9);
	}
}
.logo{
	width: 40%;
	text-align: left;
	padding-left: 3em;
}

.snsb{display: none;}

@media only screen and (max-width: 1500px) {
	.logo{
    width: 80%;
    position: absolute;
    top: 4px;
    left: 8px;
    z-index: 100;
	padding-left:0;
	}
}
.logo img{
	width: 360px;
}
@media only screen and (max-width: 1500px) {
	.logo img{
		max-width: 80%;
	}
}

@media only screen and (max-width: 480px) {
	.snsb{    float:right;
    display: block;
    width: 40px;
    z-index: 100;}
}

.h_navw{
	display: flex;
	align-items:center;
	justify-content: center;
	margin: 0 auto;
	width: 95%;
	height: 100%;
}

@media only screen and (min-width: 1501px) {
	.boxshadow{
	background:rgba(255,255,255,0.84);
	box-shadow: 0 2px 10px 0 rgba(45,45,45,0.36);
}
}
@media only screen and (max-width: 1500px) {
	.h_navw{
		flex-direction: column;
		align-items:center;
		padding: 0;
	}
}

