/*
Theme Name: 小町ネット様用テーマ
Theme URI: none
Description:小町ネット　共通パーツ：ページヘッダー
Version: 3.0
Author: 株式会社ルシアス
Author URI:
*/

@charset "utf-8";


/* ==================================================================== */
/* header
/* ==================================================================== */
header{
}
#header_wrap{
	background-color: #D50614;
	color: #FFFFFF;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}
#header_logo{
	float: left;
	line-height: 1;
	margin-left: 0.3125em;
}
#header_logo img{
}
#header_wrap #btn_menu{
	cursor: pointer;
	float: right;
	height: 3.5em;
}
#header_wrap #btn_close{
	cursor: pointer;
	display: none;
	float: right;
	height: 3.5em;
}
#header_wrap #btn_consul{
	float: right;
	margin-right: 0.25em;
}
#header_wrap #header_areas{
	text-align: center;
}
header nav{
	background-color: #D80614;
	border-top: 1px solid #D80614;
	display: none;
	font-size: 62.5%;
	margin-left: auto;
	margin-right: auto;
	position: fixed;
	left: 0;
	width: 100%;
	z-index: 1000;
	z-index: 1001;
}
header nav p{
	background-color: #D80614;
	color: #FFFFFF;
	padding: 5px;
	text-align: center;
}
header nav > div{
	background-color: #FFFFFF;
}
header nav a{
	background-color: #FFFFFF;
	border-right: 1px solid #D80614;
	border-bottom: 1px solid #D80614;
	color: #000000;
	display: block;
	float: left;
	padding: 10px 10px;
	position: relative;
	text-align: left;
	text-decoration: none;
	width: 50%;
}
header nav a:nth-child(odd){
	border-left: 1px solid #D80614;
}
header nav a:after{
	content: "\F142";
	font-family:"Material Design Icons";
	font-size: 150%;
	line-height: 1;
	position: absolute;
	top: 50%;
	right: 0;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
@media screen and (max-width:319px){
	#header_logo img{
		height: 20px;
		margin-top: 18px;
	}
	#header_wrap #btn_consul{
		height: 24px;
		margin-top: 16px;
	}
	#header_wrap #header_areas img{
		height: 18px;
		margin-top: 19px;
	}
	#header_wrap #header_areas a:nth-child(even) img{
		margin-left: -webkit-calc((100% - (82px * 2)) / 3);
		margin-left: calc((100% - (82px * 2)) / 3);
	}
}
@media screen and (min-width:320px) and (max-width:359px){
	#header_logo img{
		height: 30px;
		margin-top: 13px;
	}
	#header_wrap #btn_consul{
		height: 36px;
		margin-top: 8px;
	}
	#header_wrap #header_areas img{
		height: 27px;
		margin-top: 14px;
	}
	#header_wrap #header_areas a:nth-child(even) img{
		margin-left: -webkit-calc((100% - (123px * 2)) / 3);
		margin-left: calc((100% - (123px * 2)) / 3);
	}
}
@media screen and (min-width:360px){
	#header_wrap #header_areas img{
		height: 2.25em;
		margin-top: 0.625em;
	}
}
@media screen and (min-width:360px) and (max-width:374px){
	header nav{
		font-size: 68.75%;
	}
}
@media screen and (min-width:360px) and (max-width:413px){
	#header_logo img{
		height: 32px;
		margin-top: 12px;
	}
}
@media screen and (min-width:360px) and (max-width:767px){
	#header_wrap #btn_consul{
		height: 40px;
		margin-top: 6px;
	}
	#header_wrap #header_areas a:nth-child(even) img{
		margin-left: -webkit-calc((100% - (164px * 2)) / 3);
		margin-left: calc((100% - (164px * 2)) / 3);
	}
}
@media screen and (min-width:375px){
	header nav{
		font-size: 75%;
	}
}
@media screen and (min-width:414px) and (max-width:479px){
	#header_logo img{
		height: 38px;
		margin-top: 9px;
	}
}
@media screen and (min-width:480px){
	#header_logo img{
		height: 2.5em;
		margin-top: 0.5em;
	}
}
@media screen and (max-width:767px){
	header{
		padding-top: 112px;
	}
	#header_wrap{
		height: 112px;
	}
	#header_wrap #btn_consul{
	}
	#header_wrap #header_areas{
		height: 56px;
	}
	#header_wrap #header_areas:before{
		clear: both;
		content: "";
		display: block;
		pointer-events: none;
	}
	header nav{
		top: 112px;
	}
}
@media screen and (min-width:768px){
	header{
		padding-top: 3.5em;
	}
	#header_wrap #btn_consul{
		height: 2.75em;
		margin-top: 0.25em;
	}
	#header_wrap #header_areas{
		float: right;
	}
	#header_wrap #header_areas img{
		margin-right: 0.5em;
	}
	header nav{
		top: 3.5em;
		font-size: 100%;
	}
	header nav a{
		padding: 10px 20px;
	}
}
@media screen and (min-width:1200px){
	header nav > div{
		padding-left: -webkit-calc((100% - 75em) / 2);
		padding-left: calc((100% - 75em) / 2);
		padding-right: -webkit-calc((100% - 75em) / 2);
		padding-right: calc((100% - 75em) / 2);
	}
}
@media screen and (min-width:768px) and (max-width:939px){
	#header_wrap #header_areas img{
		height: 27px;
		margin-top: 14px;
	}
}

