﻿.article, .aside, .details {text-align: left;margin: 10px 10px 1em 10px;padding-top: 10px;padding-bottom:10px;}
#header {
	background-color: #FFFFFF;
	text-align: left;
}
#page_content,#sidebar {
	background-color: #FFFFFF;
}
#footer {
	background-color: #FFFFFF;
	clear: both;
	padding: 5px;
}
.wrapper {
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
}
body {
	padding: 0px;
	margin: 0px;
	background-color: #FFFF99;
	text-align: center;
}
.container {
	padding: 5px 10px 5px 10px;
	position: relative;
	margin: auto;
}
#header h1 {
	color: #666;
	padding: 0px;
	margin: 0px;
}
h1,h1 a:link,h1 a:visited,.left_col h2,.right_col h2,.left_col h3,.right_col h3,.aside h3 {
margin-top: 0px;padding: 0px;line-height:1.1em;clear: both;color:#666}
h2, h3, h4, h5, h6, h2 a, h3 a {
	padding: 0px;
	line-height: 1.1em;
	clear: both;
	color: #666;
}
a:link {
	color: #06c;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	color: #FF0000;
}
.topic_path {
	border-style: dotted;
	border-width: 1px 0px;
	background-color: #eee;
}
.lead {
	border: 1px solid #666;
	background-color: #eee;
	margin: 10px 0;
	padding: 5px;
}
.center{text-align:center}
.right{text-align:right}
.aside ul, ul.list {
	list-style-type: none;
	margin: 0px 0px 1em 0px;
	padding: 0px;
	border-top: dotted 1px;
}
.aside ul li, ul.list li{
	padding: 0.5em 0px;
	margin: 0px;
	border-bottom: dotted 1px;
}
.aside li a, .list a{
	display: block;
}
.nav{
	margin:19px 0;
	text-align:center;
	clear:both
}
.nav a {
	margin: 20px 5px 20px 5px;
	padding: 10px;
	background-color: #999;
	color: #fff;
	border-radius: 7px;
	-webkit-border-radius: 7px; /* Safari,Google Chrome用 */;
	-moz-border-radius: 7px; /* Firefox用 */;
	text-decoration: none;
}
.title a {
	font-size: 2em;
	color: #666;
	font-weight: bolder;
}
.ads {text-align: center;clear: both;margin: 19px auto;display:block;}

/* 幅970ピクセル以上の場合 － サイドバーのバナー幅160x600対応 */
@media(min-width:970px){
.container{width:945px}
.wrapper {
display: inline-block;
*display: inline; 
*zoom: 1; 
width: 945px;
margin-bottom: 10px;
margin-top:10px;
}
#page_content {margin: auto 0px;width: 750px;float: left;}
#sidebar {float: right;width: 180px;margin: auto 0px 10px 0px;}
#page_content, #sidebar {
border-radius: 7px;
-webkit-border-radius: 7px; /* Safari,Google Chrome用 */
-moz-border-radius: 7px; /* Firefox用 */
}
.article, .aside {padding-top: -10px;margin-top: 0;margin-bottom:0}
}

/* 幅1110ピクセル以上の場合 － サイドバーのバナー幅300x300対応 */
@media only screen and (min-width: 1110px) {
.container{width:1085px}
.wrapper {
    width: 1085px;
}
#page_content {width: 750px;}
#sidebar {width: 320px}
}

/* 幅1146ピクセル以上の場合 － サイドバーのバナー幅336x280対応 */
@media only screen and (min-width: 1146px) {
.container{width:1121px}
.wrapper {
    width: 1121px;
}
#page_content {width: 750px;}
#sidebar {width: 356px}
}

/* Google AdSense style */
/* レスポンシブに対応してない場合の定義 作業中はコメント扱いで
.ads-t { width:768px; height:90px }.ads-b,.ads-aside { width: 336px; height: 280px; } 
*/

@media(min-width: 220px) { 
.ads-t { width:234px; height:60px }
.ads-b,.ads-aside { width: 200px; height: 200px; } 
}
@media(min-width: 320px) { 
.ads-t { width:300px; height:100px }
.ads-b,.ads-aside { width: 300px; height: 250px; } 
}
@media(min-width: 350px) { 
.ads-t { width:320px; height:100px }
.ads-b,.ads-aside { width: 336px; height: 280px; } 
}
@media(min-width: 480px) { 
.ads-t { width:440px; height:100px }
}
@media(min-width: 500px) { 
.ads-t { width:468px; height:60px }
}
@media(min-width: 640px) { 
.ads-t { width:600px; height:60px }
}
@media(min-width: 710px) { 
.ads-t { width:670px; height:60px }
}
@media(min-width:768px){
.ads-t { width:728px; height:90px }
.ads-aside { width: 336px; height: 280px; } 
}
@media(min-width: 970px) {
.ads-aside { width: 160px; height: 600px; }
} 
@media(min-width: 1110px) {
.ads-aside { width: 300px; height: 250px; } 
}
@media(min-width: 1146px) {
.ads-aside { width: 336px; height: 280px; } 
}

