#header
{
	padding-top: 20px;
	padding-bottom: 0em;
	_zoom: 1;
	overflow: hidden;
	background-color: #FFF;
	background-image: url(../images/bg_header.gif);
	background-repeat: no-repeat;
	background-position: center top;
}


#header h1
{
	font-weight: normal;
	text-align: center;
	font-size: 14px;
	line-height: normal;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 15px;
	padding-left: 0px;
}

#header .pc_menu
{
	display: block;
	text-align:center;
	margin-bottom:15px;
}

#header .pc_menu img
{
	vertical-align:middle;
	margin-right:5px;
}

#header .base
{
	display:inline-block;
}


#header .search_box
{
	display:inline-block;
}

#header .search_box input[type=text]
{
	height: 20px;
	width: 120px;
	vertical-align: middle;
	border: 1px solid #afafaf;

	border-top-left-radius: 4px;     /* 左上 */
	border-top-right-radius: 4px;    /* 右上 */
	border-bottom-left-radius: 4px;  /* 左下 */
	border-bottom-right-radius: 4px; /* 右下 */

	-webkit-border-top-left-radius: 4px;  
	-webkit-border-top-right-radius: 4px;  
	-webkit-border-bottom-right-radius: 4px;  
	-webkit-border-bottom-left-radius: 4px;  

	-moz-border-radius-topleft: 4px;  
	-moz-border-radius-topright: 4px;  
	-moz-border-radius-bottomright: 4px;  
	-moz-border-radius-bottomleft: 4px; 
}
#header .search_box input[type=submit]
{
	height: 24px;
	width: 40px;
	vertical-align: middle;
	border: 1px solid #afafaf;
	background-color:#FFF;

	border-top-left-radius: 4px;     /* 左上 */
	border-top-right-radius: 4px;    /* 右上 */
	border-bottom-left-radius: 4px;  /* 左下 */
	border-bottom-right-radius: 4px; /* 右下 */

	-webkit-border-top-left-radius: 4px;  
	-webkit-border-top-right-radius: 4px;  
	-webkit-border-bottom-right-radius: 4px;  
	-webkit-border-bottom-left-radius: 4px;  

	-moz-border-radius-topleft: 4px;  
	-moz-border-radius-topright: 4px;  
	-moz-border-radius-bottomright: 4px;  
	-moz-border-radius-bottomleft: 4px; 
}

#header .sp_menu
{
	position: fixed;
	top: 1em;
	right: 1em;
	z-index: 9999;
	width: 10%;
	display: none;
}



#sub_header
{
	text-align: center;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 10px;
	display: none;
	background-color: #FFF;
	padding-bottom: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #f4f4f4;
	z-index: 9999;
}

#sub_header .pc_menu
{
	display: block;
	text-align:center;
	margin-top:10px;
	margin-bottom:10px;
	font-size:11px;
}

#sub_header .pc_menu img
{
	vertical-align:middle;
	margin-right:5px;
}

#sub_header .base
{
	display:inline-block;
}


#sub_header .search_box
{
	display:inline-block;
}

#sub_header .search_box input[type=text]
{
	height: 20px;
	width: 120px;
	vertical-align: middle;
	border: 1px solid #afafaf;

	border-top-left-radius: 4px;     /* 左上 */
	border-top-right-radius: 4px;    /* 右上 */
	border-bottom-left-radius: 4px;  /* 左下 */
	border-bottom-right-radius: 4px; /* 右下 */

	-webkit-border-top-left-radius: 4px;  
	-webkit-border-top-right-radius: 4px;  
	-webkit-border-bottom-right-radius: 4px;  
	-webkit-border-bottom-left-radius: 4px;  

	-moz-border-radius-topleft: 4px;  
	-moz-border-radius-topright: 4px;  
	-moz-border-radius-bottomright: 4px;  
	-moz-border-radius-bottomleft: 4px; 
}
#sub_header .search_box input[type=submit]
{
	height: 24px;
	width: 40px;
	vertical-align: middle;
	border: 1px solid #afafaf;
	background-color:#FFF;

	border-top-left-radius: 4px;     /* 左上 */
	border-top-right-radius: 4px;    /* 右上 */
	border-bottom-left-radius: 4px;  /* 左下 */
	border-bottom-right-radius: 4px; /* 右下 */

	-webkit-border-top-left-radius: 4px;  
	-webkit-border-top-right-radius: 4px;  
	-webkit-border-bottom-right-radius: 4px;  
	-webkit-border-bottom-left-radius: 4px;  

	-moz-border-radius-topleft: 4px;  
	-moz-border-radius-topright: 4px;  
	-moz-border-radius-bottomright: 4px;  
	-moz-border-radius-bottomleft: 4px; 
}

#sp_menu
{
	background-image: url(../images/bg_sp_menu.png);
	position: fixed;
	z-index: 100;
	top: 0px;
	width: 100%;
	display: none;
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #eee;
	padding-bottom: 4em;
}

#sp_menu h2
{
	text-align: left;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 0px;
	padding-top: 1em;
	padding-right: 1em;
	padding-bottom: 0em;
	padding-left: 1em;
}

#sp_menu h2 img
{
	height: auto;
	width: 80%;
}

#sp_menu ul
{
	margin: 0px;
	padding: 0px;
	padding-top: 0em;
	padding-right: 1em;
	padding-bottom: 1em;
	padding-left: 1em;
}

#sp_menu li
{
	margin: 0px;
	padding-top: 0.4em;
	padding-right: 0px;
	padding-bottom: 0.4em;
	padding-left: 0px;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
	list-style-type: none;
}

#sp_menu li a
{
	color: #333;
}

#header .sp_menu_c
{
	display: none;
}

#sub_header .sp_menu_c
{
	display: none;
}


/* タブレットレイアウト : 768 px ～ 959 px*/
@media screen and (max-width:959px)
{

#header .sp_menu_c
{
	display: none;
}

#sub_header .sp_menu_c
{
	display: none;
}

}

/* スマホ設定  768 以下*/
@media screen and (max-width:766px)
{
#header
{
	padding-top: 1em;
	padding-bottom: 1em;
}
	
#header h1
{
	text-align: left;
	margin: 0px;
	padding: 0px;
}

#header h1 img
{
	width: 80%;
}

#header .sp_menu
{
	display: block;
}

#sub_header
{
	display: none;
}

#header .pc_menu
{
	display: none;
}

#sub_header .pc_menu
{
	display: none;
}

#header .sp_menu_c
{
	display: block;
	text-align:left;
	font-size:90%;
	margin:15px auto 10px auto;
	width:86%;
}

#header .sp_menu_c img
{
	margin-right:5px;
}

#header .sp_menu_c a
{
	margin-bottom:5px;
}

#sub_header .sp_menu_c
{
	display: block;
	text-align:center;
	font-size:90%;
	margin:15px auto 10px auto;
	width:86%;
}

#sub_header .sp_menu_c img
{
	margin-right:5px;
}

#sub_header .sp_menu_c a
{
	margin-bottom:5px;
}

.sp_menu_block1
{
	float:left;
}

.sp_menu_block2
{
	float:right;
}

}