/* IMPORT RESET */
@import url("reset.css");

/* IMPORT 12 COLUMN RESPONSIVE GS */
@import url("guide_r12.css");


/*	EXAMPLE STYLES */

a { color: #0066ff; }
a:hover { color: #ff3333; }

body {
	font-family: sans-serif;
	color: #303030;
	background: #ffffcc;
	line-height: 1.3;
	letter-spacing: 1px; 
	
}

.container { 
	max-width: 960px;
	margin: 0 auto;
	padding: 20px; 
}

article {
	padding: 0 30px;
}

aside {
	padding: 1em 0.5em;
}

footer p{
	text-align: right;
	background: #ffaa00;
	padding: 1em 1em;
	font-size: 100%;
	border-color: #999999;
	border-width: 0 1px 0 1px;
	border-style: solid;
}

hr#hst {
	height: 1px;
	width: 80%;
	clear: both;
	border: 0px solid #999999;
	background-color: #666666;
}

hr#hed {
	height: 2px;
	margin-top: 1em;
	clear: both;
	border: 0px solid #999999;
	background-color: #999999;
}

h1 {
	font-size: 120%;
	font-weight: bold;
	text-align: center;
	margin: 0.5em 0 0.5em;
}

h2 {
	text-align: left;
	background-color: #ff9900;
	margin: 10px 0px 10px 0px;
	padding: 4px 10px 4px 40px;
	font-size: 120%;
	font-weight: bold;
	color: #ffffff;
	background-image: url(../css/dot_h2.gif);
	background-repeat: no-repeat;
	background-position: 10px center;
}

h3 {
	color: #008000;
	margin: 2em 0 1em -30px;
	padding-left: 30px;
	background-image: url(../css/dot_h3.gif);
	background-repeat: no-repeat;
	font-size: 110%;
	line-height: 160%;
	clear: both;
}

h4 {
	margin: 1em 0 0.5em -20px;
	clear: both;
}

h5 {
	clear: both;
}

#toc_list {
	float: left;
	margin: 0 0em 1em 35px;
	padding: 0;
	list-style-image: url(../css/dot.gif);
	line-height: 130%;
}

#toc_desc {
	padding: 0;
	margin-bottom: 1em;
	font-size: 90%;
}

.upd { color: #ff0000; font-size: 80%; }
.img-l, .ico-l {
	float: left;
	margin: 0 1em 1em 0;
}

.img-r, .ico-r {
	float: right;
	margin: 0 0 1em 1em;
}

article p {
	margin: 0 0 1em 0;
}
article ul, article ol {
	margin: 1em 0 1em 0;
	padding-left: 2em;
	overflow: hidden;
}

table {
	border: 1px solid #999999;  
	border-collapse: collapse; 
	margin: 0 0 1em 0;
	background-color: #ffffff;
	font-size: 90%;
	clear: both;
	width: 100%;
}

td, th {
	border: 1px solid #999999;
	padding: 3px;
}

thead tr, .hilite {
	 background-color: #ffe4b5; 
}

.lolite { 
	background-color: #fff7e8;
}
.lolite th {
	text-align: left;
	padding-left: 10px; 
}

dl { overflow: hidden; }
dt { font-weight: bold; }
dd { margin: 0 0 0.75em 2em; }


dl.faq dt { 
	padding: 8px;
	padding-left: 40px;
	background-image: url("../image/zd_q.gif");
	background-position: 5px 5px;
	background-repeat: no-repeat;
	font-weight: normal;
}
dl.faq dd {
	padding: 8px; margin: 0 0 2em 0; 
	padding-left: 40px;
	background-image: url("../image/zd_a.gif");
	background-position: 5px 5px;
	background-repeat: no-repeat;
}

b { color: #ff0000; }

blockquote {
	border-style: solid;
	border-color: #cccccc #000000 #000000 #cccccc;
	border-width: 1px 2px 2px 1px ;
	background-color: #ffffff;
	padding: 1em;
	margin: 0 0 1em 1em;
	max-width: 50em;
	font-size: 90%;
	clear: both;
}
blockquote p { margin: 0.5em 0; }
pre {
	line-height: 100%;
}

.box {
	border: 1px solid #ffaa00;
	background-color: #ffffff;
	width: 100%%;
	max-width: 800px;
	padding: 1em;
	margin:0.5em 0 1em 0;
	clear: both;
}

.info {
	color: #000080;
}

.from {
	color: #000080;
	text-align: right;
	margin-bottom: 1em;
}

.price { text-align: right; padding-right: 5px; }
.totop, .tohome {
	text-align: center;
	margin: 0.5em 0;
	clear: both;
}

.totop ul li {
	display: inline-block;
}
.prev:before {
	content: "s ";
}
.home:before, .home:after {
	content: " - ";
}
.next:after {
	content: " t";
}

#nav { 
	position: absolute; top: 0px; left: 0px; 
	padding: 3px 10px 3px 10px; 
	border-bottom: 1px solid #ffaa00; 
	border-left: 10px solid #ffaa00; 
	border-right: 1px solid #ffaa00; 
	font-size: 80%;
}

ol.breadcrumbs { margin: 0; margin-left: 0px; }
ol.breadcrumbs > li { display: inline; list-style-type: none; }
ol.breadcrumbs > li > a {
	content: " >";
	background-image: url("next.gif");
	background-position: center right;
	background-repeat: no-repeat;
	padding-right: 25px;
}

.zoom { position: relative; }
.zoom a { display: none; position: absolute; top: -20px; left: -20px; border-width: 0; }
@media screen and (max-width: 600px) {
	.z60 a { display: inline; }
	.zoom { margin-top: 20px; }
}
@media screen and (max-width: 480px) {
	.z48 a { display: inline; }
	.zoom { margin-top: 20px; }
}
@media screen and (max-width: 360px) {
	.z36 a { display: inline; }
	.zoom { margin-top: 20px; }
}
@media screen and (max-width: 320px) {
	.z32 a { display: inline; }
	.zoom { margin-top: 20px; }
}

@media screen and (max-width: 767px) {
	.container {
		padding: 0 10px 0 10px;
	}
	article { padding-right: 5px; }
	h1, h2 { font-size: 100%; }
	h1 { margin-top: 3em; }
	h4 { margin-left: -25px; }
	img {
		max-width: 100%;
		height: auto;
	}
	.img-l, .img-r {
		float: none;
		margin: 0 0 1em 0;
	}
	#toc_desc p {
		border: 1px solid #cccccc;
		background-color: #ffffee;
		padding: 0.5em;
		margin-bottom: 1em;
		font-size: 90%;
	}
	#toc_desc p:empty {
		display: none;
	}
	article ul li, article ol li {
		margin-bottom: 0.5em; 
	}
}

@media screen and (max-width: 600px) {
	.l-totop ul li {
		display: block;
		line-height: 170%;
	}
	.l-totop ul li.prev { text-align: left; padding-left: 1em; }
	.l-totop ul li.prev:before { content: "s "; }
	.l-totop ul li.prev:after { content: " -"; }
	.l-totop ul li.home:before, .l-totop ul li.home:after { content: ""; }
	.l-totop ul li.next { text-align: right; padding-right: 1em; }
	.l-totop ul li.next:before { content: "- "; }
	.l-totop ul li.next:after { content: " t"; }
	#toc_desc {
		display: none;
	}
}


.gat, .gam, .gab {
	clear: both;
	width: auto;
	text-align: center;
	margin: 1.5em auto 1em;
}

.gtop { display: inline-block; width: 320px; height: 100px; border: }
.gmid, .gbtm { display: inline-block; width: 300px; height: 250px; }
.gnon { display: none; }

@media screen and (max-width: 321px) {
	.gat { position: relative; left: -10px; }
}
@media screen and (min-width: 640px) {
	.gmid, .gbtm, .gnon { display: inline-block; width: 336px; height: 280px; }
}
@media screen and (min-width: 768px) {
	.gtop { width: 728px; height: 90px; } 
	.gmid { width: 728px; height: 90px; }
	.gbtm, .gnon { display: inline-block; width: 336px; height: 280px; }
	.gat, .gam, .gab { text-align: left; margin-left: 1em; }
	.gab { margin-left: 30px; }
}

