@charset "utf-8";
/* 標準可変メディア
   メモ : 可変メディアでは、HTML からメディアの高さおよび幅の属性を削除する必要がある
   http://www.alistapart.com/articles/fluid-images/
*/
img, object, embed, video {
	max-width: 100%;
}
/* IE 6 では最大幅がサポートされていないため、デフォルトで幅 100% に設定される */
.ie6 img {
	width:100%;
}

/*
	Dreamweaver 可変グリッドプロパティ
	----------------------------------
	dw-num-cols-mobile:		2;
	dw-num-cols-tablet:		2;
	dw-num-cols-desktop:	2;
	dw-gutter-percentage:	25;

	以下からヒントを入手 : Ethan Marcotte 氏の「レスポンシブ Web デザイン」
	http://www.alistapart.com/articles/responsive-web-design

	および Joni Korpi 氏の「Golden Grid System」
	http://goldengridsystem.com/
*/

/* リセット*/
* {
	margin:0;
	padding:0;
	list-style:none;
	font-size:16px;
	font-weight:normal;
}

/* モバイルレイアウト : 480 px およびそれ以下. */

.gridContainer {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}

h1 {
	width:90%;
	margin:10px auto;
}

h1 > a {
	display:block;
}

#header-box{
	width:100%!important;
}

header {
	border-top:#eee 1px solid;
}

/* パンくずリスト*/
#pankuzu {
	border-top:#eee 1px solid;
	line-height:2em;
	box-sizing:border-box;
}

#pankuzu > ul {
	width:92%;
	margin:auto;
}

#pankuzu > ul > li {
	list-style:	none;
	display:inline;
	font-size:small;
}

#pankuzu > ul > li > a{
	font-size:small;
}

.pankuzu_style{
	list-style:none;
}

.pankuzu_style:before{
	content:" > ";
}

#pankuzu,#main{
	width:100%;
	margin:0 auto;
}

/* メインイメージ*/
.main_image {
	width:100%;
	height:0;
	padding-top:34.21%;
	background:url("../images/top-image-01.jpg") 0 0 no-repeat;
	background-position:center;
	background-size:contain;
	border-top: 2px solid #dd3333;
}

/* メインコンテンツ*/
#main_contents {
	width:92%;
	margin:1.5em auto;
}

h2 {
	border-left:#F33 10px solid;
	line-height:2em;
	padding-left:10px;
	font-weight:bold;
}

h3 {
	font-weight:bold;
	margin-top:1em;
}

#main_contents > div {
	margin:1em auto 3em auto;
	padding-top:1em;
	border-top:#ccc 1px solid;
}

p {
	margin:1.5em auto;
}

/* 共通テーブルレイアウト*/
table {
	width:100%;
	margin:1em auto 2em auto;
}

.first-tr {
	border-top:1px #CCC solid;
}

tr {
	border-bottom:1px #CCC solid;
	line-height:2.4;

}

th {
	width:30%;
	text-align:left;
	vertical-align:text-top;
}

td {
	padding-left:1em;
}

/* フッター*/
#footer_link {
	width:100%;
	text-align:center;
}

#footer_link {
	clear:both;
}

#footer_link > ul > li {
	display:inline-block;
	padding:0 0.5em;
}

#footer_link > ul > li > a{
	font-size:small;
}

footer{
	clear:both;
	width:100%;
	text-align:center;
	border-top:#eee 1px solid;
}

footer a {
	display:block;
	line-height:2.5em;
	text-decoration:none;
}

/* タブレットレイアウト : 481 px ～ 768 px。モバイルレイアウトからスタイルを継承。 */

@media only screen and (min-width: 481px) {
.gridContainer {
	width: 100%;
}

#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}

h1 {
	margin-left:2%;
}

h1 > a > img {
	width:50%;
}

#pankuzu > ul{
	width:96%;
}

#pankuzu > ul > li {
	font-size:16px;
}

#pankuzu > ul > li > a{
	font-size:16px;
}

.main_image {
	width:100%;
	height:0;
	padding-top:34.21%;
	background:url("../images/top-image-01.jpg") 0 0 no-repeat;
	background-position:center;
	background-size:contain;
	border-top: 2px solid #dd3333;
}

#footer_link > ul > li > a{
	font-size:medium;
}

footer{
	font-size:medium;
}

/* デスクトップレイアウト : 769 px ～最大 1232 px。モバイルレイアウトとタブレットレイアウトからスタイルを継承。 */

@media only screen and (min-width: 769px) {
.gridContainer {
	width: 100%;
}

#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}

#header-box{
	height:100px;
	position:fixed;
	-webkit-box-shadow: 0 10px 6px -6px #ccc;
	   -moz-box-shadow: 0 10px 6px -6px #ccc;
			box-shadow: 0 6px 6px #ddd;
			background: #fff;
}

h1 {
	margin:0;
	width:25%;
	height:100px;
	float:left;
	line-height:100px;
	text-align: center;
	vertical-align:middle;
}

h1 > a {
	vertical-align:middle;
}

h1 > a > img {
	width:92%;
	height:auto;
	line-height:100px;
	vertical-align:middle;
}

#main-nav {
	width:75%;
	float:right;
	line-height:100px;
}

header, h1{
	border:none;
}

header > ul {
	margin:0;
	padding:0;
	box-sizing:border-box;
}

header > ul > li {
	width:19%;
	box-sizing:border-box;
}

header > ul > a {
	padding:0;
	display:block;
}

#pankuzu {
	clear:both;
	border:0;
	padding-top:106px;
}

#pankuzu > ul {
	width:98%;
}

.main_image {
	width:100%;
	height:0;
	padding-top:34.21%;
	background:url("../images/top-image-01.jpg") 0 0 no-repeat;
	background-position:center;
	background-size:contain;
	border-top: 2px solid #dd3333;
}

#main_contents {
	width:86%;
}

h2{
	font-size:18px;
}

footer{
	-webkit-box-shadow: 0 -10px 6px -6px #ccc;
	   -moz-box-shadow: 0 -10px 6px -6px #ccc;
			box-shadow: 0 -6px 6px #ccc;

}

footer > a {
	line-height:3em;
}
}
