@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: 1392px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: auto;]

}
.headwrap {
	width: 88.2%;
	max-width: 1392px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: auto;
}
.areawrap {
	width: 88.2%;
	max-width: 1392px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: auto;
	color: #FFF;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#header div.sub {
	font-size: 85%;
	line-height: 1.4em;
	display: block;
	position: relative;
	float: right;
	}

#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;
	position: relative;
	color: #FFF;
}
#sidebar {
	clear: none;
	float: left;
	margin-left: 2.0408%;
	width: 28.5714%;
	display: block;
	position: relative;
}
#contents {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	position: relative;
}
#footer {
	-moz-border-radius: 50% 50% 0 0 / 30px 30px 0 0;
	-webkit-border-radius: 50% 50% 0 0 / 30px 30px 0 0;
	-ms-border-radius: 50% 50% 0 0 / 30px 30px 0 0;
	border-radius: 50% 50% 0 0 / 30px 30px 0 0;
	-moz-box-shadow: 0 0 30px rgba(255, 240, 150 ,0.8);
	-webkit-box-shadow: 0 0 30px rgba(255, 240, 150 ,0.8);
	-ms-box-shadow: 0 0 30px rgba(255, 240, 150 ,0.8);
	box-shadow: 0 0 30px rgba(255, 240, 150 ,0.8);
	boder-top: 1px solid #1c5e8b\9;
	margin-top: 0;
	margin-right: -150px;
	margin-bottom: 0;
	margin-left: -150px;
	padding-top: 20px;
	padding-right: 150px;
	padding-bottom: 20px;
	padding-left: 150px;

	clear: both;
	width: 100%;
	display: block;
}
#footer ul {
	z-index: 100;
	width: auto;
	display: inline;
	margin-right: auto;
	margin-left: auto;
}
#footer ul li {
	list-style-type: none;
	float: left;
}
#footer ul li a {
	text-decoration: none;
	line-height: 2em;
	color: #0000CC;
	text-align: center;
	display: block;
	/*
	text-shadow: 0 0 0 #999,	/*-- 文字の境界線風な線：右側 --*/
	            0 0 0 #000,	/*-- 文字の境界線風な線：下側 --*/
				0 0 0 #fff,	/*-- 文字の境界線風な線：左側 --*/
				0 0 0 #fff,	/*-- 文字の境界線風な線：右側 --*/
				2px 3px 5px #666;
				*/
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #666666;
	padding-right: 5px;
	padding-left: 5px;
	margin-left: 10px;
	margin-right: 10px;
	font-size: 90%;
}
#footer ul li a:hover {
	color: #FFFF66;
	background-color: #999999;
}

#home #header #nHome a,#saiko #header #nSaiko a,#clock #header #nClock a,#shutter #header #nShutter a,#yosetsu #header #nYosetsu a,#slide #header #nSlide a,#design #header #nDesign a,#photoclock #header #nPhoto a,#company #header #nCompany a,#topic #header #nTopic a,#contact #header #nContact a {
	list-style-type: none;
	color: #FFFFFF;
	text-decoration: none;
	text-align: center;
	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: normal;
	background-color: #0066FF;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #F00;
}

.footwrap {
	width: 88.2%;
	max-width: 1232px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: auto;
}
.dan30 {
	float: left;
	width: 25%;
	margin-left: 5%;
}

.dan70 {
	float: left;
	width: 70%;
}
.dan50 {
	float: left;
	width: 40%;
	margin-right: 5%;
	margin-left: 5%;
}
.dan60 {
	float: left;
	width: 50%;
	margin-left: 10%;
}

.dan40 {
	float: left;
	width: 30%;
	margin-right: 8%;
	margin-left: 2%;
}

}

/* タブレットレイアウト : 481 px ～ 768 px。 */

@media only screen and (min-width: 481px) and (max-width: 768px) {
body {
}
.gridContainer {
}
.headwrap {
	width: 95%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
	margin-left: auto;
	margin-right: auto;
}
.areawrap {
	width: 95%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
	margin-left: auto;
	margin-right: auto;
}
nav {
	position: absolute;
	z-index: 999;
	}
header nav {
	position: absolute; /*bodyに対しての絶対位置*/
	right: 0;
	top: -480px;
	width: 100%;
	-webkit-transition: 2s ease-in-out; /*transitionで動きを*/
	-moz-transition: 2s ease-in-out;
	transition: 2s ease-in-out;
	font-size: 100%;
	padding-top: 0;
	padding-right: 0px;
	padding-bottom: 0;
	padding-left: 0px;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.5);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: rgba(102,102,102,0.8);
	margin: 0px;
		}
.nav ul {
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: auto;
		}
.nav ul li {
	margin: 0;
	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;
	display: block;
	width: 100%;
		}
.nav ul li a {
	display: block;
	line-height: 2em;
	width: 100%;
	color: #FFF;
	text-align: left;
	border-left-style: none;
	border-bottom-style: none;
		z-index: 999;

		}
.nav ul li::after {content:''}
.nav ul li:last-child {border-bottom:none}

#home #header #nHome a,#saiko #header #nSaiko a,#clock #header #nClock a,#shutter #header #nShutter a,#yosetsu #header #nYosetsu a,#slide #header #nSlide a,#design #header #nDesign a,#photoclock #header #nPhoto a,#company #header #nCompany a,#topic #header #nTopic a,#contact #header #nContact a {
	color: #FFFFFF;
	background-color: #00C;
	border-bottom-style: none;
}

.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(481px);
		-webkit-transform: translateY(481px);
		transform: translateY(481px);
		}
#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;
	margin-left: 0;
	width: 100%;
	display: block;
	background-image: url(../images/80bg.png);
	position: relative;
	font-size: 16px;
	color: #FFF;
}
#footer {
	clear: both;
	margin-left: 0;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 5px;
}

.footwrap {
	width: 95%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
	margin-left: auto;
	margin-right: auto;
}
.footnav {
	width: 95%;
	display: block;
    }
	#footer ul {
	z-index: 100;
	width: auto;
	display: inline;
	margin-right: auto;
	margin-left: auto;
}
#footer ul li {
	list-style-type: none;
	float: left;
}
#footer ul li a {
	text-decoration: none;
	line-height: 2em;
	color: #0000CC;
	text-align: center;
	display: block;
	/*
	text-shadow: 0 0 0 #999,	/*-- 文字の境界線風な線：右側 --*/
	            0 0 0 #000,	/*-- 文字の境界線風な線：下側 --*/
				0 0 0 #fff,	/*-- 文字の境界線風な線：左側 --*/
				0 0 0 #fff,	/*-- 文字の境界線風な線：右側 --*/
				2px 3px 5px #666;
				*/
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #666666;
	padding-right: 5px;
	padding-left: 5px;
	margin-left: 10px;
	margin-right: 10px;
	font-size: 90%;
}
#footer ul li a:hover {
	color: #FFFF66;
	background-color: #999999;
}

#home #footer #nHome a,#saiko #footer #nSaiko a,#clock #footer #nClock a,#shutter #footer #nShutter a,#yosetsu #footer #nYosetsu a,#slide #footer #nSlide a,#design #footer #nDesign a,#photoclock #footer #nPhoto a,#company #footer #nCompany a,#topic #footer #nTopic a,#contact #footer #nContact a {
	list-style-type: none;
	color: #FFFFFF;
	text-decoration: none;
	text-align: center;
	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: normal;
	background-color: #0066FF;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #F00;
}

}

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

@media only screen and (max-width: 480px) {
body {
	background-image: url(../images/bg.jpg);
}
.gridContainer {
}
.headwrap {
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	padding-left: 1.82%;
	padding-right: 1.82%;
}
.areawrap {
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	padding-left: 1.82%;
	padding-right: 1.82%;
}
nav {
	position: absolute;
	z-index: 999;
	}
header nav {
	position: absolute; /*bodyに対しての絶対位置*/
	right: 0;
	top: -480px;
	width: 100%;
	-webkit-transition: 2s ease-in-out; /*transitionで動きを*/
	-moz-transition: 2s ease-in-out;
	transition: 2s ease-in-out;
	font-size: 100%;
	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);
	display: block;
		}
.nav ul {
		margin-top: 0;
		margin-right: 0;
		margin-bottom: 0;
		margin-left: auto;
		}
.nav ul li {
	margin: 0;
	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;
	border-left-style: none;
	width: 100%;
		}
.nav ul li a {
	display: block;
	line-height: 2em;
	width: auto;
	color: #FFF;
	text-align: left;
	border-left-style: none;
	width: 100%;
	border-bottom-style: none;
		}
.nav ul li::after {content:''}
.nav ul li:last-child {border-bottom:none}

#home #header #nHome a,#saiko #header #nSaiko a,#clock #header #nClock a,#shutter #header #nShutter a,#yosetsu #header #nYosetsu a,#slide #header #nSlide a,#design #header #nDesign a,#photoclock #header #nPhoto a,#company #header #nCompany a,#topic #header #nTopic a,#contact #header #nContact a {
	color: #FFFFFF;
	background-color: #00C;
	border-bottom-style: none;
}

.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(481px);
		-webkit-transform: translateY(481px);
		transform: translateY(481px);
		}
#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;
	display: block;
	position: relative;
	width: 69.3877%;
}
#footer {
	clear: both;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 5px;
}
.dan30 {
	width: 95%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: both;
	font-weight: bold;
	color: #666;
	}
.dan70 {
	width: 95%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: both;
	}
.dan50 {
	width: 95%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: both;
}
.dan60 {
	width: 95%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: both;
}

.dan40 {
	width: 95%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: both;
}

.footwrap {
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	padding-left: 1.82%;
	padding-right: 1.82%;
}

#footer ul {
	z-index: 100;
	width: auto;
	display: inline;
	margin-right: auto;
	margin-left: auto;
}
#footer ul li {
	list-style-type: none;
	float: left;
}
#footer ul li a {
	text-decoration: none;
	line-height: 2em;
	color: #0000CC;
	text-align: center;
	display: block;
	border-bottom-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: #666666;
	padding-right: 5px;
	padding-left: 5px;
	margin-left: 5px;
	margin-right: 5px;
	font-size: 90%;
}
#footer ul li a:hover {
	color: #FFFF66;
	background-color: #999999;
}

#home #footer #nHome a,#saiko #footer #nSaiko a,#clock #footer #nClock a,#shutter #footer #nShutter a,#yosetsu #footer #nYosetsu a,#slide #footer #nSlide a,#design #footer #nDesign a,#photoclock #footer #nPhoto a,#company #footer #nCompany a,#topic #footer #nTopic a,#contact #footer #nContact a {
	list-style-type: none;
	color: #FFFFFF;
	text-decoration: none;
	text-align: center;
	display: block;
	background-color: #0066FF;
	border-bottom-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: #F00;
}
	
#footer address {
	line-height: 1.3em;
	text-align: right;
	color: #333333;
	font-size: 80%;
	display: none;
}

}
