@charset "UTF-8";

/* //////////////////////////////////////////////////

　NAVIのスタイル

////////////////////////////////////////////////// */

#gnavi {
	position: absolute;
	z-index: 1001;
	left: 0;
	right: 0;
	height: 40px;
}
#gnavi.fixed {
	position: fixed;
	top: 0;
}
#gnavi .grid-table {
	width: 100%;
}
#gnavi ._cell {
	vertical-align: middle;
	width: 14.2857%;
}
#gnavi ul {
	background-repeat: no-repeat;
	background-position: 100% 50%;
}
#gnavi li {
	background-repeat: no-repeat;
	background-position: 0 50%;
}
#gnavi a,
#gnavi .parent {
	display: block;
	padding: 11px 0;
	color: #fff;
	font-size: 0.94em;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	line-height: 1.2;
}

#gnavi .child {
	position: absolute;
	top: 40px;
	left: 0;
	right: 0;
	background: rgba(0,0,0,.7);
	padding-bottom: 30px;
}
#gnavi .child li {
	margin-top: 30px;
	background: none;
}
#gnavi .child a {
	border: 1px solid #fff;
	padding: 10px 0;
	color: #fff;
	font-size: 15px;
}

/* ///////// RESPONSIVE ///////// */
@media screen and (min-width: 769px) {
	#gnavi {
		display: block !important;
	}
}
@media screen and (max-width: 768px) {
	#gnavi {
		display: none;
		position: fixed;
		top: 45px;
		left: 0;
		right: 0;
		bottom: 0;
		height: auto;
		background: rgba(0,0,0,.7);
		padding: 20px 10px;
		overflow-y: auto;
	}
	#gnavi ul {
		background: none;
		border-top: 1px solid #fff;
	}
	#gnavi li {
		border: 1px solid #fff;
		border-top: none;
		background: none;
	}
	#gnavi a,
	#gnavi .parent {
		position: relative;
		padding: 15px;
		font-size: 12px;
		text-align: left;
	}
	
	#gnavi .child {
		position: static;
		background: none;
		padding-bottom: 0;
	}
	#gnavi .child li {
		float: none;
		margin-top: 0;
		border: none;
		border-bottom: 1px solid #fff;
		background-color: rgba(0,0,0,.6);
	}
	#gnavi .child a {
		background: rgba(0,0,0,.5);
		background: rgba(255,255,255,.3);
		border: none;
		padding: 15px;
		padding-left: 25px;
		color: #fff;
		font-size: 12px;
		font-weight: normal;
	}
	#gnavi a::after {
		position: absolute;
		top: 2px;
		right: 0px;
		width: 40px;
		height: 40px;
		content: "";
		background-image: url(../img/mrk_nav.png);
		background-repeat: no-repeat;
		background-position: center;
		background-size: 9px;
	}
	
	#gnavi .ac_label {
		position: relative;
	}
	#gnavi .ac_label::after {
		position: absolute;
		top: 2px;
		right: 0px;
		width: 40px;
		height: 40px;
		content: "";
		background-image: url(../img/mrk_ac_open.png);
		background-repeat: no-repeat;
		background-position: center;
		background-size: 13px;
	}
	#gnavi .ac_label.active::after {
		background-image: url(../img/mrk_ac_close.png);
	}
	#gnavi .ac_label.active {
		border-bottom: none;
	}
	#gnavi .ac_label .parent::after {
		display: none;
	}
	
	#gnavi li.tel,
	#gnavi li.access {
		padding-left: 12px;
	}
	
	#gnavi .note {
		padding: 10px 0;
		font-size: 13px;
		color: #fff;
		text-align: center;
	}
	
	#btn_close {
		display: block;
		margin: 20px auto;
		padding: 15px 45px;
		background-image: url(../img/mrk_menu_close.png);
		background-repeat: no-repeat;
		background-position: right 10px center;
		background-size: 10px;
		background-color: #000;
		border-radius: 4px;
		color: #fff;
		font-size: 12px;
	}

}
@media print {
  #gnavi {display: none;}
}


