@charset "utf-8";

@media screen and (max-width: 720px) {
html,body {
	height:100%;
	-webkit-text-size-adjust: 100%;/*常に自動調整時の倍率を1倍にする指定*/
}
body {
/*	letter-spacing:1px;*/
	background-color:#323333;
	color:#fff;
	width:100%;/*ページ全体の幅は100％と指定する*/
	text-align:center;/*ページ全体を中央揃えにする*/
	margin:auto;
	min-width: 1000px;
}
#page {
	margin:auto;
	height:auto !important; /*IE6対策*/
    height:100%; /*IE6対策*/
	min-width: 1000px;
	width:100%;
	overflow:hidden;
}
p {
	width : 100% ;
	font-size : 80% ;
	line-height : 1.5 ;
}

#contents .inner, #footer .inner {
    margin:auto;
	width:940px;
}

#header {
	height:100px;
}
#header .inner {
    margin:auto;
	width:980px;
	padding-top:10px;
}
h1{
	width:336px;
	text-align:left;
	margin-bottom:20px;
}
#header .inner .mainBtn {
	float:right;
	margin:-65px 0 0 0;
}
#header .inner .mainBtn ul {
	display:inline;
	float:right;
}
/*.fade {  
    -webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            transition: 0.3s ease-in-out;  
}  
.fade:hover {  
    opacity: 0.4;  
    filter: alpha(opacity=60);  
}*/
#header .inner li {
	float:left;
	display:inline;
	margin:0 0 0 15px;
}
a:hover img {
	opacity: 0.6;
	filter: alpha(opacity=60);
	-moz-opacity:0.6;
}

#contents {
	margin:0 auto;
	height:auto;
	padding-bottom:50px;/* ウィンドウをリサイズされた時にfooterとcontent部分が重ならないようにするためにfooterの高さ分以上の領域を確保 */
}
#contents .inner {
	padding-bottom:30px;
    height:100%;
    min-height:100%;
}
#mainImg {
	text-align:center;
	margin-bottom:20px;
}
.title {
	margin-bottom:20px;
}


#footer {
    margin:38% auto 0;
	width:960px;
	height:50px;
	position:relative;
}
#footer .inner {
    margin:auto;
	height:14px;
}

a:link {
	color:#fff;
	text-decoration:none;
}
a:visited {
	color:#fff;
	text-decoration:none;
}
a:hover {
	color:#58b7c3;
	text-decoration:none;
}
a:active {
	color:#58b7c3;
	text-decoration:none;
}
#copyright {
	text-align:center;
	font-size:90%;
	color:#fff;
}
}

@media screen and (min-width: 720px) {
html,body {
	height:100%;
	-webkit-text-size-adjust: 100%;/*常に自動調整時の倍率を1倍にする指定*/
}
body {
/*	letter-spacing:1px;*/
	background-color:#323333;
	color:#fff;
	width:100%;/*ページ全体の幅は100％と指定する*/
	text-align:center;/*ページ全体を中央揃えにする*/
	margin:auto;
	min-width: 1000px;
}
#page {
	margin:auto;
	height:auto !important; /*IE6対策*/
    height:100%; /*IE6対策*/
	min-width: 1000px;
	width:100%;
	overflow:hidden;
}

#contents .inner, #footer .inner {
    margin:auto;
	width:940px;
}

#header {
	height:100px;
}
#header .inner {
    margin:auto;
	width:980px;
	padding-top:10px;
}
h1{
	width:336px;
	text-align:left;
	margin-bottom:20px;
}
#header .inner .mainBtn {
	float:right;
	margin:-65px 0 0 0;
}
#header .inner .mainBtn ul {
	display:inline;
	float:right;
}
/*.fade {  
    -webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            transition: 0.3s ease-in-out;  
}  
.fade:hover {  
    opacity: 0.4;  
    filter: alpha(opacity=60);  
}*/
#header .inner li {
	float:left;
	display:inline;
	margin:0 0 0 15px;
}
a:hover img {
	opacity: 0.6;
	filter: alpha(opacity=60);
	-moz-opacity:0.6;
}

#contents {
	margin:0 auto;
	height:auto;
	padding-bottom:50px;/* ウィンドウをリサイズされた時にfooterとcontent部分が重ならないようにするためにfooterの高さ分以上の領域を確保 */
}
#contents .inner {
	padding-bottom:30px;
    height:100%;
    min-height:100%;
}
#mainImg {
	text-align:center;
	margin-bottom:20px;
}
.title {
	margin-bottom:20px;
}


#footer {
    margin:0 auto;
	width:960px;
	height:50px;
	position:relative;
}
#footer .inner {
    margin:auto;
	height:14px;
}

a:link {
	color:#fff;
	text-decoration:none;
}
a:visited {
	color:#fff;
	text-decoration:none;
}
a:hover {
	color:#58b7c3;
	text-decoration:none;
}
a:active {
	color:#58b7c3;
	text-decoration:none;
}
#copyright {
	text-align:center;
	font-size:90%;
}
}