@charset "utf-8";

/* 全デバイス共通のスタイルとスマートフォンおよび小型タブレット向けレイアウトの指定 */

/*==========================================
 body
===========================================*/
body {
	width: 100%;
	background-color: #FFF;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #000;
}
a {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: #333;
	text-decoration: underline;
}

/*==========================================
 ヘッダーのスタイル
===========================================*/
header {
	margin-bottom: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	text-align: center;
}
header h1 {
	margin: 0 auto;
	padding: 15px 5px 7px 5px;
	width: 90%;
}
header h1 img {
	width: 100%;
	max-width: 215px;
}
header {
	/*navのセンタリングに必要*/
	position: relative;
	overflow: hidden;
}

/*==========================================
 ナビゲーションのスタイル
===========================================*/
nav {
	margin-bottom: 5px;
	float: left;
	/*navのセンタリングに必要*/
	position: relative;
}
nav li {
	display: inline;
	float: left;
	/*navのセンタリングに必要*/
	position: relative;
}
nav li a {
	padding-right: 20px;
	padding-left: 20px;
	display: block;
	font-size: 0.8em;
}

/*==========================================
 コンテンツエリア全体のスタイル
===========================================*/
div#contents {
	padding-bottom: 20px;
}
div#contents p {
	width: 100%;
}
div#contents p img {
	margin-bottom: 10px;
	width: 100%;
	max-width: 960px;
	height: auto;
}

/*==========================================
 会社概要
===========================================*/
.wrap-left {
	margin-bottom: 5px;
	padding: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	float: left;
	width: 310px;
	height: 100%;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 14px;
	text-align: left;
}
.wrap-right {
	float: left;
	width: 100%;
	height: 100%;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 12px;
}
.wrap-item {
	float: left;
	width: 100%;
}
.item1 {
	padding: 5px;
	float: left;
	width: 70px;
}
.item2 {
	padding: 5px;
	float: left;
	width: 230px;
}
.item2 p {
	margin-bottom: 5px;
}
.item2 a {
	color: #00F;
	text-decoration: underline;
}

/*==========================================
 フッターのスタイル
===========================================*/
footer {
    padding: 10px 0px;
	border-top-width: thin;
	border-top-color: #CCC;
	border-top-style: solid;
    width: 100%;
}
footer address {
    font-size: 0.6em;
	text-align: center;
}

/* PC向けおよび大型タブレット向けのレイアウトの指定：769px～960px */
@media only screen and (min-width: 501px) {
div#contents p img {
	margin-bottom: 30px;
}
header h1 {
	padding: 15px 5px 7px 0px;
	float: left;
	width: 215px;
	text-align: left;
}
header h1 img {
	width: 100%;
}
nav {
	margin-top: 60px;
	float: right;
	width: 300px;
	/*navのセンタリングの解除*/
	position: static;
}
nav li {
	float:left;
	/*navのセンタリングの解除*/
	position: static;
}
header {
	/*navのセンタリングの解除*/
	position: static;
	overflow: visible;
}
.wrap-left {
	padding: 5px;
	border-bottom: none;
	float: left;
	width: 120px;
	height: 100%;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 16px;
}
.wrap-right {
	float: left;
	width: 600px;
	height: 100%;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 12px;
}
.wrap-item {
	float: left;
	width: 600px;
}
.item1 {
	padding: 5px;
	float: left;
	width: 120px;
}
.item2 {
	padding: 5px;
	float: left;
	width: 460px;
}
.item2 a {
	color: #00F;
	text-decoration: underline;
}
footer {
	border: none;
	position: absolute;
	bottom: 0;
}
footer address {
   font-size: 12px;
}
#footer-inner{
    margin: 0 auto;
    padding-top: 10px;
	border-top-width: thin;
	border-top-color: #CCC;
	border-top-style: solid;
	width: 100%;
    text-align: center;
}

}

/* PC向けレイアウトの指定：961px以上では固定レイアウト */
@media only screen and (min-width: 961px) {
header {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	height: 80px;
	width: 960px;
}
div#contents {
    margin: 0 auto;
    max-width: 960px;
}
.wrap-left {
	width: 340px;
	text-align: center;
}
#footer-inner{
	width: 960px;
}
}
