@charset "UTF-8";
@media screen and (max-width: 540px) {
body{
	max-width: 540px;
	padding: 0px;
	margin: 0px;
}

.banner-wrap{
	max-width: 540px;
	padding-top: 1em;
	padding-bottom: 1em;
}

.sponsored-label{
	list-style-type: none;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	width: 280px;
}

.banner-ads ul{
	font-size: 0px;
	padding-left: 0px;
}

.banner-ads li{
	/display:inline;/zoom:1;
	list-style-type: none;
	font-size: medium;
}

#header{
	background-color: #0000aa;
	height: 120px;
	background: url(../image/image.jpg) center top / cover no-repeat;
	-moz-background-size: cover;
}

.search-box{
	background-color: #333333;
	width: 100%;
	position: absolute;
	top: 0px;
	text-align: right;
	float: right;
}

.image img, .image-right img, .image-left img{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.sidea-menu img, .sideb-menu img{
	width: 30%;
}

.image-right{
	width: 30%;
	float: right;
}

.image-left{
	width: 30%;
	float: left;
	padding-right: 5px;
}

.index-menu img{
	width: 30%;
}

#navi4{
	clear: both;
	background-color: rgba(223, 223, 223, 0.5);
	padding-bottom: 2em;
	padding-top: 2em;
}

#navi41 ul, #navi42 ul, #navi43 ul, #navi44 ul{
	white-space: nowrap;
	table-layout: fixed;
	width: 100%;
	display: table;
	font-size: 0px;
}

#navi41 li, #navi42 li, #navi43 li, #navi44 li{
	/display:inline;/zoom:1;
	display: table-cell;
	white-space: nowrap;
	position: relative;
	padding: 8px 0px;
	font-size: small;
	color: rgba(192, 192, 192, 0);
	border: 1px solid silver;
	text-align: center;
}

#navi41 li a, #navi42 li a, #navi43 li a, #navi44 li a{
	color: #333333;
	text-decoration: none;
	padding: 5px 0px;
}

#navi2{
	clear: right;
	padding-top: 1em;
	padding-bottom: 0px;
}

#navi2 ul{
	font-size: 0px;
	table-layout: fixed;
	display: table;
	width: 100%;
}

#navi2 li{
	/display:inline;/zoom:1;
	display: table-cell;
	text-align: center;
	font-size: small;
	border: 1px solid silver;
	padding-top: 8px;
	padding-bottom: 8px;
}

#navi2 li a{
	text-decoration: none;
	padding: 5px;
	color: #333333;
}


#navi1-wrap{
	clear: right;
	padding-bottom: 2em;
	padding-top: 2em;
}

#navi1 ul, #navi12 ul, #navi3 ul{
	font-size: 0px;
	table-layout: fixed;
	display: table;
	width: 100%;
}

#navi1 li, #navi12 li, #navi3 li{
	/display:inline;/zoom:1;
	display: table-cell;
	text-align: center;
	font-size: small;
	border: 1px solid #dfdfdf;
	padding: 8px 0px;
	white-space: nowrap;
}

#navi1 li a, #navi12 li a, #navi3 li a{
	text-decoration: none;
	padding: 8px 5px;
	color: #333333;
}

/* -------------------------------------------- */
/*      専用カスタマイズ ここから               */
/* -------------------------------------------- */
.ads-wrap {
	clear: both;
	text-align: center;
	padding-top: 1em;
	padding-bottom: 1em;
}

.ads-wrap ul {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.ads-wrap li {
	list-style-type: none;
	display: inline-block;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.link-unit{
	text-align: left;
	width: 280px;
	height: 90px;
	margin-left: auto;
	margin-right: auto;
	border-width: 18px 1px 1px;
	border-top-style: solid;
	border-color: #1362c7;
}
}
/*     専用カスタマイズ ここまで                */
/* -------------------------------------------- */
/*     共通カスタマイズ ここから                */
.ads .label, .ads-link .label{
	text-align: left;
	width: 280px;
	margin-left: auto;
	margin-right: auto;
}

.ads {
	clear: both;
	text-align: center;
	padding-top: 1em;
	padding-bottom: 1em;
}

.link-unit img{
	width: 160px;
	height: 90px;
}

.ad, .mid{
	clear: both;
	width: 100%;
	text-align: center;
	padding-bottom: 1em;
	padding-top: 1em;
}

.aff-wrap {
	clear: both;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

.aff-wrap ul {
	list-style-type: none;
	font-size: 0px;
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
}

.aff-wrap li {
	display: inline-block;
	list-style-type: none;
	font-size: medium;
}

.aff{
	text-align: left;
	float: left;
	margin: 8px 14px;
}

#sidea .adr{
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	width: 240px;
}
/*     共通カスタマイズ ここまで                */
/* -------------------------------------------- */
/*     共通部分 ここから                        */
h1, h2{
	font-size: large;
	margin-top: 1.2em;
}

h1, h2, h3, h4, h5, h6{
	text-align: left;
	color: #333333;
	padding-left: 5px;
	clear: both;
}

h2, h3, h4, h5, h6{
	padding-top: 1em;
}

#sidea h4, #sidea p, #sideb h4, #sideb p{
	font-size: small;
	padding-bottom: 0px;
	padding-left: 5px;
}

p{
	text-align: left;
	line-height: 1.5em;
	margin-left: 2.5px;
}

ul{
	padding-left: 0px;
	margin-top: 1em;
}

li{
	list-style-type: none;
	padding-left: 0px;
}

.clear{
	clear: both;
}

.clear hr{
	display: none;
}

.topic-path{
	font-size: small;
	margin-left: -3em;
}

.topic-path li{
	font-size: small;
	display: inline;
	list-style-type: none;
}

.topic-path li a{
	background-color: transparent;
	background: url(../image/topicpath.gif) right center / auto auto no-repeat scroll padding-box border-box;
	text-decoration: none;
	padding: 5px 10px 5px 5px;
	color: #333333;
}

.topic-path li a:hover{
	padding: 1px 10px 0px 5px;
	color: #333333;
	background-color: #ccffff;
}

#contents .content .index-menu{
	margin-top: 0.5em;
	margin-right: 5px;
	margin-left: 5px;
}

.index-menu img{
	padding: 2.5px;
}

.index-menu ul{
	/display:inline;/zoom:1;
	list-style-type: none;
	font-size: 0px;
}

.index-menu li{
	/display:inline;/zoom:1;
	list-style-type: none;
	font-size: medium;
	text-align: left;
	margin-bottom: 10px;
	margin-top: 9px;
	margin-left: 1px;
}

.index-menu li a{
	/display:inline;/zoom:1;
	color: #333333;
}

#contents .content .toc{
	margin-left: auto;
	margin-right: auto;
	background-color: #e9e9e9;
	padding-bottom: 1em;
	padding-top: 1em;
	max-width: 768px;
}

#contents .toc{
	border-width: 3px 2px 2px 1px;
	border-style: solid;
	border-color: transparent;
	text-align: left;
	margin-bottom: 0.5em;
}

#contents .toc small{
	padding-left: 10px;
	font-size: medium;
	line-height: 1.6em;
}

#contents .toc ul{
	display: inline;
	font-size: 0px;
}

#contents .toc li{
	/display:inline;/zoom:1;
	list-style-type: none;
	line-height: 1.8em;
	padding-left: 10px;
	text-align: left;
	font-size: medium;
}

#contents .toc li a{
	color: #333333;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	text-decoration: none;
}

#contents .toc li a:hover{
	background-color: #ccffff;
}

.content .list ul{
	padding: 0px 0px 20px 20px;
	text-align: left;
	list-style-type: square;
	line-height: 1.5em;
}

.content .list li{
	font-size: medium;
	list-style-type: square;
	list-style-position: outside;
}

.titles{
	font-size: small;
	text-align: left;
}

.caption{
	font-size: small;
}

.image{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.image ul{
	display: table;
	table-layout: fixed;
	text-align: center;
	width: 100%;
	font-size: 0px;
	padding-left: 0px;
}

.image li{
	/display:inline;/zoom:1;
	display: table-cell;
	vertical-align: middle;
	white-space: nowrap;
	position: relative;
	padding-right: 2.5px;
	text-align: left;
	font-size: medium;
	padding-left: 2.5px;
}

.image li a{
	color: #333333;
	font-size: medium;
	padding-bottom: 5px;
}

.image li a:hover{
	color: #808080;
}

.sidea-menu ul, .sideb-menu ul {
	display: inline;
	font-size: 0px;
}

.sidea-menu li, .sideb-menu li {
	/display:inline;/zoom:1;
	list-style-type: none;
	font-size: small;
	line-height: 1.3em;
	float: left;
	border-width: 3px 2px 1px 1px;
	border-style: solid;
	border-color: rgb(223,223,223);
	text-align: left;
	padding-left: 5px;
	padding-top: 0.2em;
	width: 97%;
	display: inline-block;
}

.sidea-menu li a, .sideb-menu li a{
	color: #333333;
	text-decoration: none;
}

.sidea-menu li a:hover, .sideb-menu li a:hover{
	text-decoration: underline;
}

.sidea-menu img, .sideb-menu img{
	float: left;
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 5px;
}

#sidea .page-top{
	float: right;
	padding-top: 1em;
	padding-left: 1em;
}
#footer .page-top{
	float: right;
	padding-top: 0em;
	padding-left: 1em;
}

.page-top a{
	color: #333333;
	padding: 10px 20px;
}

.page-top a:hover{
	background-color: #e9e9e9;
}

#footer{
	clear: both;
	width: 100%;
}

.footer-list1{
	width: 98%;
	text-align: left;
	margin: 5px 0px 0px 5px;
	clear: both;
}

.footer-list1 ul{
	display: inline;
	font-size: 0px;
}

.footer-list1 li{
	/display:inline;/zoom:1;
	list-style-type: none;
	font-size: small;
	line-height: 1.2em;
	width: 98%;
	text-align: left;
}

#footer .microbanner{
	float: left;
	margin-top: 10px;
	margin-bottom: 0px;
	padding-right: 5px;
}

.footer-link2{
	text-align: left;
	font-size: small;
	margin-top: 1em;
}

.footer-link2 ul{
	display: inline;
	padding-left: 0px;
}

.footer-link2 li{
	/display:inline;/zoom:1;
	display: inline-block;
	white-space: nowrap;
	margin-top: 6px;
	margin-bottom: 10px;
	padding-left: 5px;
}

.footer-link2 li a{
	color: #333333;
	padding: 5px;
	text-decoration: none;
}

.footer-link2 li a:hover{
	color: #333;
	background-color: #e9e9e9;
}

#copyright{
	clear: both;
	width: 100%;
	margin: 0.2em auto 1.4em;
	text-align: center;
}
@media screen and (max-width: 320px) {img{width: 100%;margin-right: auto;margin-left: auto;}}
