.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}
.site_header {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 10;
	background-color: #fff;
	margin: 0 auto;
}
.h_logo {
	float: left;
	font-weight: bold;
	font-size: 20px;
	margin-left: 4%;
}
.h_logo a {
	color: #000;
	text-decoration: none;
}
.g_nav {
	float: right;
	padding-top: 70px;
	margin-right: 5%;
	font-size: 1.35rem;
}
.g_nav li {
	float: left;
	margin-right: 30px;
}
.g_nav li:last-child {
	margin-right: 0;
}
.g_nav li a {
	color: #000;
	text-decoration: none;
	transition: color ease 0.4s;
	-webkit-transition: color ease 0.4s;
	-moz-transition: color ease 0.4s;
	-o-transition: color ease 0.4s;
	-ms-transition: color ease 0.4s;
}
.g_nav li:hover a,
.g_nav li.active a {
	color: #ef1d59;
}
#navToggle {
	display:none; /*通常時は非表示にしておきます*/
}
.g_nav .sp_logo{
	display: none;
}

@media screen and (max-width:1150px){
	.h_inner {
		width: 96%;
	}
}

@media screen and (max-width:999px){
	.h_logo img {
		width: 65%;
		margin: 10px 0 0;
    }
	.site_header {
		position: static;
	}
	#navToggle {
		display: block; /*通常時は非表示にしておきます*/
		position: fixed; /*bodyに対しての絶対位置指定です*/
		right: 0;
		top: 10px;
		width: 30px;
		height: 30px;
		cursor: pointer;
		z-index: 100;
		background-color: #D41F6B;
		padding: 10px;
		border-top-left-radius: 5px;
		border-bottom-left-radius: 5px;
		transition: All ease 0.4s;
		-webkit-transition: All ease 0.4s;
		-moz-transition: All ease 0.4s;
		-o-transition: All ease 0.4s;
		-ms-transition: All ease 0.4s;
	}
	.openNav #navToggle {
		right: 200px;
	}
	#navToggle div {
		position: relative; /*spanの絶対位置指定の親にします*/
	}
	#navToggle span {
		display: block;
		position: absolute; /*#navToggle div に対して*/
		width:100%;
		border-bottom: 2px solid #fff;
		transition: All ease-in-out 0.4s;
		-webkit-transition: All ease-in-out 0.4s;
		-moz-transition: All ease-in-out 0.4s;
		-o-transition: All ease-in-out 0.4s;
		-ms-transition: All ease-in-out 0.4s;
	}
	#navToggle span:nth-child(1) {
		top: 0;
	}
	#navToggle span:nth-child(2) {
		top: 8px;
	}
	#navToggle span:nth-child(3) {
		top: 16px;
	}
	#navToggle span:nth-child(4) {
		top: 23px;
		border-bottom: none;
		font-size: 10px;
		letter-spacing: 0;
		color: #fff;
	}
	 /*最初のspanをマイナス45度に*/
	.openNav #navToggle span:nth-child(1) {
		top: 11px;
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
	}
	 /*2番目と3番目のspanを45度に*/
	.openNav #navToggle span:nth-child(2),
	.openNav #navToggle span:nth-child(3) {
		top: 11px;
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
	}
	.g_nav {
		display: block;
		margin-left: -2%;
		margin-right: 0;
    	font-size: 1.0rem;
		flex: auto;
		position: fixed;
		top: 0;
		right: 0;
		width: 0;
		height: 100%;
		box-sizing: border-box;
		overflow: hidden;
		padding-top: 0;
		transition: All ease-in-out 0.4s;
		-webkit-transition: All ease-in-out 0.4s;
		-moz-transition: All ease-in-out 0.4s;
		-o-transition: All ease-in-out 0.4s;
		-ms-transition: All ease-in-out 0.4s;
	}
	/*header menu*/
	 /*.openNavが付いた要素の中のnavを 縦方向に351px移動（=表示される）*/
	.openNav .g_nav {
		z-index: 99;
		width: 100%;
		height: 100%;
	}
	.g_nav .overlay {
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0);
		transition: All ease-in-out 0.4s;
		-webkit-transition: All ease-in-out 0.4s;
		-moz-transition: All ease-in-out 0.4s;
		-o-transition: All ease-in-out 0.4s;
		-ms-transition: All ease-in-out 0.4s;
	}
	.openNav .g_nav .overlay {
		background: rgba(0,0,0,0.6);
	}
	.g_nav .inner {
		width: 200px;
		height: 100%;
		background-color: #fff;
		position: absolute;
		right: -200px;
		transition: All ease-in-out 0.4s;
		-webkit-transition: All ease-in-out 0.4s;
		-moz-transition: All ease-in-out 0.4s;
		-o-transition: All ease-in-out 0.4s;
		-ms-transition: All ease-in-out 0.4s;
	}
	.openNav .g_nav .inner {
		right: 0;
	}
	.g_nav .sp_logo {
		display: block;
		padding: 20px 0;
		font-weight: bold;
		font-size: 20px;
		text-align: center;
	}
	.g_nav .sp_logo img {
		width: 95%;
	}
	.g_nav .sp_logo a {
		color: #000;
		text-decoration: none;
	}
	.g_nav ul{
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #efefef;
	}
	.g_nav ul li{
		float: none;
		margin: 0;
		border-bottom: 1px solid #ccc;
		border-top: 1px solid #efefef;
	}
	.g_nav ul li a{
		display: block;
		padding: 20px 0;
		text-align: center;
	}
}