@charset "UTF-8";
/*
Theme Name: 明花電業株式会社
Author: meccommunications
Author URI: http://www.mec-com.co.jp
*/

/*全体の設定
-----------------------------------------------------------------------------------------*/
*{
	margin: 0; 
	padding: 0; 
	list-style-type: none; 
	font-weight: normal;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
img {
	border-width: 0px;
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
	width /***/:auto;
}
* html img {
	border-width: 0px;
	vertical-align: top;
	padding:-1px;
}
*:first-child+html img {
	border-width: 0px;
	vertical-align: middle;
	padding:-1px;
}
html{
	height:100%;
}
body {
	background:#FFFFFF;
	font-family:'Verdana','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック';
	color: #333333;
	text-align:center;
	font-size:14px;
	line-height:20px;
	height:100%;
	-webkit-text-size-adjust:none;
	background:#FFFFFF url(images/bg.png) top repeat-x;
	min-width:1000px;
}
h1,h2,h3,h4,h5,h6,p,li,dt,dd,input,table,figure{
	font-size:14px;
	line-height:20px;
}
strong{
	font-weight:bold;
}
em{
	font-style:normal;
	color:#FF0000;
}
table {
	empty-cells:show; 
	border-collapse:collapse; 
	border-spacing:0;
}
/* 左右分けレイアウト*/
.clearfix:after {
  content: ".";  /* 新しい要素を作る */
  display: block;  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

/*標準のリンク*/
a{
	color: #008CB4;
	text-decoration: none;
	outline:none;
}
a:hover {
	text-decoration: none;
	outline:none;
}
a:link,a:visited,a:hover,a:active {
	outline:none;
}
/*画像のhoverは透過*/
a:hover img{
	opacity: 0.75;
	filter: alpha(opacity=75);
	-moz-opacity: 0.75;
}
/*-------------------------フッター固定（フッター高225px）*/
#wrapper {
	width: 980px;
	text-align:left;
	min-height:100%;
	height:auto !important;
	height:100%;
	margin:0 auto -220px;
}
#contents{
	padding-bottom:221px;
}
footer {
	height:220px;
	overflow:hidden;
}

/*header
-----------------------------------------------------------------------------------------*/
header{
}
/*-------------------------キーワード*/
header h1{
	float:left;
	font-size:12px;
	line-height:30px;
	color:#FFFFFF;
}
/*-------------------------submenu*/
header p.submenu{
	float:right;
	font-size:12px;
	line-height:30px;
	color:#FFFFFF;
}
header p.submenu a{
	color:#FFFFFF;
}
header p.submenu a:hover{
	text-decoration:underline;
}
/*-------------------------ロゴ*/
header p.logo{
	float:left;
	padding:10px 0;
}
/*-------------------------グローバルメニュー*/
header nav{
	float:right;
	width:476px;
	background:url(images/header_nav.png) bottom no-repeat;
}
header nav h2 {
	display: none;
}
header nav ul{
	padding:10px 0 5px 10px;
	padding-bottom:5px;

}
header nav li {
	float:left;
	border-left:1px solid #DCDCD9;
}
header nav li a{
	display:block;
	text-indent:-9999em;
	height:95px;
	width:90px;
}
header nav li:nth-child(1) a{
	background:url(images/header_nav_01.png) bottom no-repeat;
}
header nav li:nth-child(2) a{
	background:url(images/header_nav_02.png) bottom no-repeat;
}
header nav li:nth-child(3) a{
	background:url(images/header_nav_03.png) bottom no-repeat;
}
header nav li:nth-child(4) a{
	background:url(images/header_nav_04.png) bottom no-repeat;
}
header nav li:nth-child(5) a{
	background:url(images/header_nav_05.png) bottom no-repeat;
}
header nav li a:hover,
header nav li a.current{
	background-position:top;
}

/*contents
-----------------------------------------------------------------------------------------*/
#contents{
}

/*ぱんくず
-----------------------------------------------------------------------------------------*/
#path{
	padding:5px 0 20px 0;
	background:url(images/path.png) bottom repeat-x;
	margin-bottom:25px;
}
#path p{
	font-size:12px;
	letter-spacing:1px;
	color:#999999;
}
#path p a{
	color:#999999;
	text-decoration:underline;
}
#path p a:hover{
	text-decoration:none;
}
#path p strong{
	font-weight:normal;
}
#path p.category{
	text-align:center;
}

/*localnav
-----------------------------------------------------------------------------------------*/
#localnav{
	width: 220px;
	float:right;
}
#localnav h2{
}
#localnav  ul.localmenu{
}
#localnav  ul.localmenu li a{
	color:#4D4D4D;
	line-height:20px;
	display:block;
	padding:10px 5px 10px 33px;
	border-top:1px solid #FFFFFF;
	background:#F0F0F0 url(images/localnav.png) 0px 0px no-repeat;
}
#localnav  ul.localmenu li a.current,
#localnav  ul.localmenu li a:hover{
	background-color:#DDDDDD;
	text-decoration:none;
}



/*sidebar
-----------------------------------------------------------------------------------------*/
#sidebar{
	width: 220px;
	float:right;
	margin-bottom:30px;
}
/*-------------------------バナー*/
#sidebar p.ban{
	padding-top:10px;
}


/*footer
-----------------------------------------------------------------------------------------*/
footer {
	min-width:980px;
	background:#003C78;
	text-align:left;
}
footer a:hover{
	text-decoration:underline;
}
footer div.flame{
	width:980px;
	margin:0 auto;
}
/*-------------------------上へ*/
#toPageTop {
	position:fixed;
	bottom: 5px;
	right: 5px;
}
* html #toPageTop {position:absolute;}
#toPageTop img{
	opacity: 0.5;
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
#toPageTop img:hover{
	opacity: 1;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	cursor:pointer;
}
/*-------------------------data*/
footer div.data{
	background:#FFFFFF;
	padding:20px 0;
	border-top:25px solid #003C78;
	border-bottom:10px solid #003C78;
}
footer div.data p{
	width:490px;
	float:left;
	text-align:center;
}
footer div.data p.company{
	line-height:25px;
	border-right:1px solid #CCCCCC;
}
footer div.data p.company img{
	margin-bottom:8px;
}
footer div.data p.company a{
	padding-left:15px;
	background:url(images/footer_ya.png) left no-repeat;
	margin:0 5px;
	white-space:nowrap;
}
footer div.data p.pc{
	width:489px;
}
footer div.data p.tb,
footer div.data p.sp{
	display:none;
}
/*-------------------------フッターナビ*/
footer nav{
	float:left;
}
footer nav h2{
	display:none;
}
footer nav li{
	float:left;
	padding-right:30px;
	letter-spacing:1px;
	font-size:12px;
}
footer nav li a{
	color:#FFFFFF;
}

/*-------------------------Copyright*/
footer small{
	float:right;
	display:block;
	font-size:10px;
	letter-spacing:1px;
	color:#FFFFFF;
}
footer small a{
	color:#FFFFFF;
}
