﻿.article, .aside, .details {text-align: left;margin: 10px 10px 1em 10px;padding-top: 10px;padding-bottom:10px;}
#header {
	background-color: #FFFFFF;
	text-align: left;
	background-image:url('images/woodfence.jpg');
}
#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: #ccc;
	text-align: center;
}
.container {
	padding: 5px 10px 5px 10px;
	position: relative;
	margin: auto;
}
#header h1 {
	color: #666;
	padding: 3px;
	margin: 3px;
}
h1,h1 a:link,h1 a:visited,.left_col{
	margin-top: 3px;
	padding: 0px;
	line-height: 1.1em;
	clear: both;
	color: #666;
	padding-top: 3px;
	top: 5px;
}
h2,.right_col h2,.left_col h3,.right_col h3,.aside h3 {
	font-size: 18px !important;
	color: #FFFFFF;
	margin: 5px 0px !important;
	padding: 5px 20px !important;
	font-weight: bold !important;
	background:cornflowerblue;
	background: -moz-linear-gradient(top,#0099CC 0%,#006699) !important;
	background: -webkit-gradient(linear, left top, left bottom, from(#0099CC), to(#006699)) !important;
	background:-ms-linear-gradient(top, #0099CC 0%,#006699); /* IE */
	border: 1px solid #dddddd !important;
	border-radius: 7px !important;
	-moz-border-radius: 7px !important;
	-webkit-border-radius: 7px !important;
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#000066', endColorstr='#ccccff', GradientType=1)";

}
h3 {
	font-size: 18px !important;
	color: #003399;
	margin: 15px 0px !important;
	padding: 5px 15px !important;
	background-color: #cccccc !important;
	border: 1px solid #cccccc !important;
	-moz-box-shadow: 1px 1px 1px rgba(000,000,000,0.3) !important;
	-webkit-box-shadow: 1px 1px 1px rgba(000,000,000,0.3) !important;
	text-shadow: 5px 5px 3px rgba(0,0,0,0.5) !important;
	border-radius: 10px !important;
	-webkit-border-radius: 10px !important;
	-moz-border-radius: 10px !important;
    background: -moz-linear-gradient(top,#FFF 0%,#FFF 3%,#E6E6E6 3%,#FFF) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFF), color-stop(0.03,#FFF), color-stop(0.03,#E6E6E6), to(#FFF)) !important;
}
h4 {
	position: relative;
	padding: 1em;
	background-color: #f6f6f6;
}
h4::after {
	position: absolute;
	top: 0;
	right: 0;
	content: '';
	width: 0;
	border-width: 0 16px 16px 0;
	border-style: solid;
	border-color: #fff #fff #ddd #ddd;
	box-shadow: -1px 1px 2px rgba(0, 0, 0, .1);
}
h5 {
	position: relative;
	padding: .25em 0 .5em .75em;
	border-left: 6px solid #3498db;
}
h5::after {
	position: absolute;
	left: 0;
	bottom: 0;
	content: '';
	width: 100%;
	height: 0;
	border-bottom: 1px solid #ccc;
}



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: 1.6em;
	color: #333333;
	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; } 
}

/* レスポンシブル用のテーブルcss */

table {
	width: 100%;
	table-layout: fixed;
	word-break: break-all;
}
th {
	color: #fff;
  padding: 8px 15px;
  background: #258;
  background:-moz-linear-gradient(rgba(34,85,136,0.7), rgba(34,85,136,0.9) 50%);
  background:-webkit-gradient(linear, 100% 0%, 100% 50%, from(rgba(34,85,136,0.7)), to(rgba(34,85,136,0.9)));
  font-weight: bold;
  border-left:1px solid #258;
  border-top:1px solid #258;
  border-bottom:1px solid #258;
  line-height: 120%;
  text-align: center;
  text-shadow:0 -1px 0 rgba(34,85,136,0.9);
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}
table th:first-child {
  border-radius: 5px 0 0 0;	
}
table th:last-child {
  border-radius:0 5px 0 0;
  border-right:1px solid #258;
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1),0px 1px 1px rgba(255,255,255,0.3) inset;
}
table tr td {
	padding: 8px 15px;
	border-bottom: 1px solid #84b2e0;
	border-left: 1px solid #84b2e0;
	text-align: left;
}
table tr td:last-child {
  border-right: 1px solid #84b2e0;
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1);
}
table tr {
  background: #fff;
}
table tr:nth-child(2n+1) {
  background: #f1f6fc;
}
table tr:last-child td {
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1);
}
table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}
table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}
table tr:hover {
  background: #bbd4ee;
  cursor:pointer;
}

.my-a8 td {
width: auto !important;
}





 
/*----------------------------------------------------
    .demo01
----------------------------------------------------*/
.demo01 th  { width: 30%; text-align: left; }
 
@media only screen and (max-width:480px){
    .demo01 { margin: 0 -10px; }
    .demo01 th,
    .demo01 td{
        width: 100%;
        display: block;
        border-top: none;
    }
    .demo01 tr:first-child th   { border-top: 1px solid #ddd; }
}
.frame {
	display: inline-block;
	box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 0.8);
}
