@charset "utf-8";

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

/*==ナビゲーション全体の設定*/
nav{
	width: 100%;
	text-align: center;
}
nav ul{
	margin: 0;
	padding: 0;
}
/*ナビゲーションを横並びに*/
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;
	height: 100%;
	list-style: none;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #666!important;
	padding:16px 0;
	transition:all .3s;
	letter-spacing: 0;
	font-weight: 600;
}
@media screen and (max-width:1200px){
	nav ul li a{
		padding:10px 0;
	}
}

nav ul li li a{
	padding:10px 0;
}

.reseve{
	background: #f5a200;
}
.reseve:hover{
	background: #FFC453;
	transition: .5s;
}
.reseve a,.reseve a:hover{
	color: #fff!important;
	padding:15px 0;
	height:100%;
	line-height: 30px;
	font-size: 20px;
}


@media only screen and (max-width: 576px) {
.reseve{display: none;}
.htel{display: none;}
}

nav ul li a:hover{
	color: #52493f!important;
}

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

/*下の階層を持っているulの指定*/
nav li.has-child ul{
	position: absolute;
	left:-15px;
	top:80px;
	z-index: 4;
	background-color:rgba(255,255,255,0.95);
	width:180px;
	visibility: hidden;
	opacity: 0;
	transition: all .3s;
	border-radius: 0 0 20px 20px;
}
@media only screen and (max-width: 576px) {
nav li.has-child ul{
	position: absolute;
	left:0;
	top:80px;
	z-index: 4;
	background-color:rgba(243,243,243,0.95);
	width:180px;
	visibility: hidden;
	opacity: 0;
	transition: all .3s;
	border-radius: 0;
}
}

/*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 a{
	color: #fff;
	border-bottom:solid 1px rgba(122,138,147,0.4);
}

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

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


/*==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 (min-width:992px){
.click-none{
	pointer-events: none;
}
}
@media screen and (max-width:991px){
	nav{padding: 0;}
	
	nav ul{display: block;}
	
	nav li.has-child ul,
	nav li.has-child ul ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;
	opacity:1;
	display: none;
	transition:none;
}
	
nav ul li a{
	text-align: left;
	border-bottom:1px solid #ccc;
}
nav ul li:last-child a{
	text-align: center;
	border-bottom:none;
}

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

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!important;
	color: #fff;
}

#g-nav{
	width: 1000px;
	}
@media only screen and (max-width: 1600px) {
	#g-nav{padding: 0 0 0 20px;}
}
@media only screen and (max-width: 1400px) {
	#g-nav{padding: 0;}
}
@media only screen and (max-width: 991px) {
	#g-nav{padding: 0;}
	nav{
		background:none;
		width: 100%;
	}
	#g-nav{
		position: absolute;
		top:0;
		right: -120%;
		padding: 60px 20px 120px;
		height: 100vh;
		transition: all 0.6s;
		background-color: rgba(255,255,255,1);
		width: 250px;
		z-index: 999!important;
		overflow-y: auto;
	}
	#g-nav.panelactive{
		right: 0;
	}
	#g-nav{
		background-color: rgba(0,65,38,1.00);
	}
}

.logo{
	width: 300px;
	text-align: left;
	padding-left: 10px;
}
.logo img{
	width: 200px;
}
@media only screen and (max-width: 1200px) {
.logo{
	width: 200px;
	text-align: left;
	padding-left: 10px;
}
}
@media only screen and (max-width: 991px) {
.logo{
	width: 100%;
	padding-left: 10px;
}
.logo img{
	width: 150px;
}
}
@media only screen and (max-width: 576px) {
.logo img{
	width: 100px;
}
}

.h_navw{
	display: flex;
	align-items:center;
	justify-content: space-between;
	margin: 0!important;
	padding:0 20px;
	width: 100%;
}
.h_navw.Down{
	display: flex;
	align-items:center;
	justify-content: space-around;
	padding-top: 0!important;
	margin: 0!important;
	width: 100%;
}

@media only screen and (min-width: 992px) {
	.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: 991px) {
	.h_navw{
		flex-direction: column;
		align-items:center;
		padding: 0;
	}
}

