@import url("Toggle.css");

@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:		5;
	dw-num-cols-tablet:		8;
	dw-num-cols-desktop:	10;
	dw-gutter-percentage:	25;
	
	以下からヒントを入手 : Ethan Marcotte 氏の「レスポンシブ Web デザイン」 
	http://www.alistapart.com/articles/responsive-web-design
	
	および Joni Korpi 氏の「Golden Grid System」
	http://goldengridsystem.com/ 
*/


/* デスクトップレイアウト : 769 px ～最大 1232 px。*/

@media only screen and (min-width: 769px) {
.gridContainer {
	width: 88.2%;
	max-width: 1232px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: auto;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#header div.sub {
	font-size: 85%;
	line-height: 1.4em;
	text-align: right;
	display: block;
	margin-left: 400px;
	}

#topimage {
	clear: both;
	margin-left: 0;
	width: 100%;
	display: block;
	position: relative;
}
#main {
	clear: both;
	float: left;
	margin-left: 0;
	width: 69.3877%;
	display: block;
}

#sidebar {
	clear: none;
	float: left;
	margin-left: 2.0408%;
	width: 28.5714%;
	display: block;
}
#breadclumb {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#contents {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#footer {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
}

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

@media only screen and (min-width: 481px) and (max-width: 768px) {
body {
	background-color: #FFF;
background: url(../images/bg-bar.png) repeat-x 0 -82px,url(../images/bg.png) repeat;}
.gridContainer {
	width: 95%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
	margin-left: auto;
	margin-right: auto;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
	nav {
	position: absolute;
	z-index: 100;
	}
	header nav {
	position: absolute; /*bodyに対しての絶対位置*/
	right: 0;
	top: -450px;
	width: 100%;
	-webkit-transition: 2s ease-in-out; /*transitionで動きを*/
	-moz-transition: 2s ease-in-out;
	transition: 2s ease-in-out;
	font-size: 110%;
	padding-top: 0;
	padding-right: 0px;
	padding-bottom: 0;
	padding-left: 0px;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: rgba(102,102,102,0.8);
		}
	.nav ul {
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: auto;
		}
	.nav ul li {
	margin: 0;
	line-height: 2em;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-right-style: none;
	border-bottom-color: #fff;
	border-left-width: 0px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
	width: 95%;
	border-left-style: none;
	display: block;
		}
	.nav ul li a {
	display: block;
	width: 100%;
	color: #FFF;
	text-align: left;
	border-left-style: none;
		}
	.nav ul li::after {content:''}
	.nav ul li:last-child {border-bottom:none}

#header ul li#nHome a, #header ul li#nGyomu a, #header ul li#nSoba a  {
	width:100%;
}
	.clearfix {
		min-height: 0;
		margin-right: 0px;
		margin-left: auto;
		}

	#navToggle {
		display: block;
		}
	 .openNav #navToggle span:nth-child(2),
	 .openNav #navToggle span:nth-child(3) {
		top: 11px;
		-webkit-transform:rotate(45deg);
		-moz-transform:rotate(45deg);
		transform:rotate(45deg)}
	 .openNav #navToggle span:nth-child(1) {
    		top: 11px;
		-webkit-transform:rotate(-45deg);
		-moz-transform:rotate(-45deg);
		transform:rotate(-45deg)}
 
	 .openNav nav {
		-moz-transform: translateY(501px);
		-webkit-transform: translateY(501px);
		transform: translateY(501px);
		}
#header div.sub {
	display: none;
	clear: both;
	margin-left: 0px;
	text-align: justify;
	padding-top: 10px;
	}

#topimage {
	clear: both;
	margin-left: 0;
	width: 100%;
	display: block;
}
#topimage h1 {
	clear: both;
	float: none;
}
.hesdtext h1 {
	clear: both;
	float: none;
	width: 98%;
}
#main {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#sidebar {
	clear: none;
	float: left;
	margin-left: 2.0408%;
	width: 100%;
	display: block;
}
#rightside ul li {
	text-align: center;
	display: block;
}
#breadclumb {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#footer {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
	.wk, .wk2, .bx3 {
		float: left;
		width: 42%;
		margin-right: 2%;
		margin-bottom: 17px;
		padding-bottom: 2px;
		margin-left: 2%;
		margin-top: 17px;
		}
	.mark {
		clear: both;
	float: right;
	margin-left: 0;
	width: 100%;
	display: none;
	}
}

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

@media only screen and (max-width: 480px) {
body {
	background-color: #FFF;
	background-image: url(../images/bg.png);
}
.gridContainer {
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	padding-left: 1.82%;
	padding-right: 1.82%;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
	nav {
	position: absolute;
	z-index: 100;
	}
	header nav {
	position: absolute; /*bodyに対しての絶対位置*/
	right: 0;
	top: -400px;
	width: 100%;
	-webkit-transition: 2s ease-in-out; /*transitionで動きを*/
	-moz-transition: 2s ease-in-out;
	transition: 2s ease-in-out;
	font-size: 110%;
	padding-top: 0;
	padding-right: 0px;
	padding-bottom: 0;
	padding-left: 0px;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: rgba(102,102,102,0.8);
	z-index: 100;
	display: block;
		}
	.nav ul {
		margin-top: 0;
		margin-right: 0;
		margin-bottom: 0;
		margin-left: auto;
		}
	.nav ul li {
	margin: 0;
	line-height: 2em;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-right-style: none;
	border-bottom-color: #fff;
	border-left-width: 0px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
	width: 95%;
	border-left-style: none;
		}
	.nav ul li a {
	display: block;
	width: auto;
	color: #FFF;
	text-align: left;
	border-left-style: none;
	width: 100%;
		}
	.nav ul li::after {content:''}
	.nav ul li:last-child {border-bottom:none}

#header ul li#nHome a, #header ul li#nGyomu a, #header ul li#nSoba a  {
	width:100%;
}
	.clearfix {
		min-height: 0;
		margin-right: 0px;
		margin-left: auto;
		}
	#navToggle {
		display: block;
		}
	 .openNav #navToggle span:nth-child(2),
	 .openNav #navToggle span:nth-child(3) {
		top: 11px;
		-webkit-transform:rotate(45deg);
		-moz-transform:rotate(45deg);
		transform:rotate(45deg)}
	 .openNav #navToggle span:nth-child(1) {
    		top: 11px;
		-webkit-transform:rotate(-45deg);
		-moz-transform:rotate(-45deg);
		transform:rotate(-45deg)}
 
	 .openNav nav {
		-moz-transform: translateY(501px);
		-webkit-transform: translateY(501px);
		transform: translateY(501px);
		}
#header div.sub {
	display: none;
	clear: both;
	margin-left: 0px;
	padding-top: 10px;
	font-size: 100%;
	line-height: 2em;
	text-align: justify;
	}
#topimage {
	clear: both;
	margin-left: 0;
	width: 100%;
	display: block;
}
#topimage h1 {
	clear: both;
	float: none;
	width: 98%;
}
.hesdtext h1 {
	clear: both;
	float: none;
	width: 98%;
}
#main {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#sidebar {
	clear: both;
	float: left;
	margin-left: 0;
	width: 98%;
	display: block;
}
#rightside ul li {
	list-style-type: none;
	line-height: 2.2em;
	color: #333333;
	text-decoration: none;
	text-align: left;
	display: block;
	text-shadow: 0 0 0 #999,	/*-- 文字の境界線風な線：右側 --*/
	            0 0 0 #000,	/*-- 文字の境界線風な線：下側 --*/
				0 0 0 #fff,	/*-- 文字の境界線風な線：左側 --*/
				0 0 0 #fff,	/*-- 文字の境界線風な線：右側 --*/
				2px 3px 5px #666;
	font-weight: bold;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
	font-size: 100%;
	text-indent: 5px;
}
#rightside ul li a {
	background-repeat: repeat;
}
#rightside ul li a:hover {
	color: #FFFF00;
	font-weight: bold;
	background-color: #999999;
	display: block;
	text-decoration: none;
	padding-left: 20px;
}
#home #rightside #nHome a,#gyomu #rightside #nGyomu a,#soba #rightside #nSoba a,#clock #rightside #nClock a,#saiko #rightside #nSaiko a,#kyoshitsu #rightside #nKyoshitsu a,#banban #rightside #nBanban a,#company #rightside #nCompany a,#contact #rightside #nContact a
 {
	list-style-type: none;
	line-height: 2.2em;
	color: #FFFFFF;
	text-decoration: none;
	text-align: left;
	display: block;
	text-shadow: 0 0 0 #999,	/*-- 文字の境界線風な線：右側 --*/
	            0 0 0 #000,	/*-- 文字の境界線風な線：下側 --*/
				0 0 0 #fff,	/*-- 文字の境界線風な線：左側 --*/
				0 0 0 #fff,	/*-- 文字の境界線風な線：右側 --*/
				2px 3px 5px #666;
	font-weight: bold;
	padding-left: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
	font-size: 100%;
	background-color: #666666;
}
#breadclumb {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: none;
}
#footer {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
	.wk, .wk2, .bx3 {
		float: left;
		width: 95%;
		margin-right: 2%;
		margin-bottom: 2px;
		padding-bottom: 2px;
		margin-left: 2%;
		margin-top: 17px;
		}
	.dan, .dan60, .dan40 {
	width: 98%;
	margin-right: auto;
	margin-left: auto;
	}
	.mb1, .mb2 {
	float: left;
	width: 48%;
	margin-right: 1%;
	margin-left: 1%;
	}
		.mark {
		clear: both;
	float: right;
	margin-left: 0;
	width: 100%;
	display: none;
	}

}
