@charset "utf-8";

/*bodyの直接の子要素のh1タグ（ページ最上段にあるh1）設定
---------------------------------------------------------------------------*/
body > h1 {
	display: none;
}

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: auto;
	margin-right: 6px;
	margin-left: 6px;
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
header {
	text-align: center;
}
/*h1ロゴの設定*/
header h1 {
	padding: 30px 0 30px 0;	/*左から、上、右、下、左への余白*/
}

/*上部のメインメニュー
---------------------------------------------------------------------------*/
nav#menu ul {
	height: auto;
	padding: 0;
	margin-bottom: 0;
}
/*メニュー１個ごとの設定*/
nav#menu ul li {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#454746), to(#000));	/*グラデーション*/
	background-image: -webkit-linear-gradient(#454746, #000);	/*同上*/
	background-image: linear-gradient(#454746, #000);			/*同上*/
	border-radius: 10px 10px 10px 10px;	/*角丸のサイズ。それぞれ左上、右上、右下、左下への設定*/
	-webkit-box-shadow: 1px 2px 7px #b7b7b7;	/*影の設定。それぞれ右へ、下へ、ぼかし幅、色の設定。*/
	box-shadow: 1px 2px 7px #b7b7b7;			/*同上*/
	float: left;
	border: none !important;
	margin-bottom: 5px;
	width: 50%;	/*メニュー幅*/
}
nav#menu ul li a {
	padding: 7px;	/*メニュー内の余白*/
}
/*最後のメニューの設定*/
nav#menu ul li:last-child {
	margin-bottom: 20px;
}
/*英語表記の設定*/
nav#menu ul li a span {
	display: none;	/*表示させない設定*/
}

/*コンテンツ（main,subを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	width: auto;
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
#main, #sub {
	float: none;
	width: auto;
}

/*トップページのメイン画像
---------------------------------------------------------------------------*/
#mainimg {
	height: auto;
	width: 100%;
}
#slide_image {
	height: auto;
	width: 100%;
	position: relative;
}
#slide_image2 {
	height: auto;
	width: 100%;
	position: absolute;
	left:0px;
	top:0px;
}

/*service2.html（製品の詳細ページ）
---------------------------------------------------------------------------*/
/*製品詳細ページではメインメニューとサブコンテンツを表示させない設定*/
#service2 nav#menu,
#service2 #sub {
	display: none;
}

/*staff.html内の製品紹介の各ブロック
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
#main section.staff article {
	float: none;
	width: auto;
	height: auto;
	display: block;
}
/*ボックス内の段落タグ設定*/
#main section.staff article p {
	font-size: 14px;
	line-height: 2;
}
/*ボックス内の写真設定*/
#main section.staff article figure img {
	float: left;
	margin-right: 10px;
}

/*contact.html（お問い合わせページ）
---------------------------------------------------------------------------*/
/*お問い合わせページではサブコンテンツを表示させない設定*/
#contact #sub {
	display: none;
}

/*その他
---------------------------------------------------------------------------*/
/*写真の設定*/
#main img.wa {
	width: 100%;
	height: auto;
}
