@import url(../common/css/basic.css);

div#contents h2 {
	padding: 0;
}

div#contents h2.level {
	padding: 7px 0 7px 0;
}

div#contents h2 span {
	background-color: #660000;
	color: #fff;
	padding: 7px 12px;
	margin: 1px 7px 1px 1px;
	display: inline-block;
}

div#contents div.quiz {
	width: 93%;
	margin: 0 auto 40px auto;
	padding-left: 2%;
}

div#contents div.loop {
	display: inline-block;
	width: 30%;
	min-width: 205px;
}

div#contents div.loop + div.loop {
	margin-left: 20px;
}

div#contents div.loop h2 {
	margin: 25px 1% 20px 1%;
	text-align: center;
	padding: 7px 0 7px 0;
}

div#contents div.loop h2 a:link, div#contents div.loop h2 a:visited {
	color: #660000;
}

div#contents div.loop h2 a:hover, div#contents div.loop h2 a:focus, div#contents div.loop h2 a:active {
	color: #990000;
}

div#contents div.loop div.level1_bg, div#contents div.loop div.level2_bg, div#contents div.loop div.level3_bg {
	width: 205px;
	height: 650px;
	margin: 0 auto;
}

div#contents div.loop div.level1_bg {
	background: url(img/img_level1_q1.jpg) no-repeat center center;
}

div#contents div.loop div.level2_bg {
	background: url(img/img_level2_q1.jpg) no-repeat center center;
}

div#contents div.loop div.level3_bg {
	background: url(img/img_level3_q1.jpg) no-repeat center center;
}

div#contents div.loop div.level1, div#contents div.loop div.level2, div#contents div.loop div.level3 {
	width: 205px;
	height: 650px;
	margin: 0 auto;
}

div#contents div.loop div.level1 a, div#contents div.loop div.level2 a, div#contents div.loop div.level3 a {
	display:block;
	width: 205px;
	height: 650px;
}

div#contents ul.levelmenu {
	text-align: center;
	margin: 20px 0 0 0;
}

div#contents ul.levelmenu li {
	display: inline;
	margin: 0 10px 0 0;
	border-left: 1px solid #600;
	padding-left: 10px;
}

div#contents ul.levelmenu li:first-child {
	border-left: none;
	padding-left: 0;
}

div#contents ul.levelmenu li img {
	vertical-align: middle;
	padding-bottom: 5px;
}

div#contents ul.levelmenu li a:link {
	border-bottom: 1px solid #600;
}
div#contents ul.levelmenu li a:visited {
	border-bottom: 1px solid #600;
}
div#contents ul.levelmenu li a:hover {
	border-bottom: none;
}
div#contents ul.levelmenu li a:active {
	border-bottom: none;
}

div#contents p.qimg {
	text-align: center;
	margin: 30px 30px 45px 30px;
}

div#contents p.aimg {
	text-align: center;
	margin: 30px auto 45px auto;
	cursor: pointer;
	font-size: 90%;
}

div#contents p.aimg img {
	margin-top: 5px;
}

div#contents p.bibliography {
	text-align: center;
	color: #5b4927;
	background: url(../img/bg_item.png) repeat-x left center;
	/*width: 93%;*/
	width: 80%;
	margin: 0 auto;
}

div#contents p.bibliography span {
	background-color: #f8f6f2;
	padding: 0 7px;
}

div#contents p.answer {
	text-align: right;
	width: 93%;
	margin: 30px auto;
}

div#contents ul.pagelinks {
	width: 93%;
	margin: 30px auto 140px auto;
	position: relative;
	clear: both;
}

div#contents ul.pagelinks li {
	position: absolute;
	display: inline;
}

div#contents ul.pagelinks li.back {
	left: 0;
}

div#contents ul.pagelinks li.next {
	right: 0;
}

div#contents table {
	margin: 20px auto 30px auto;
	width: 80%;
	border: 1px solid #8d7b59;
	font-size: 90%;
}

div#contents th {
	color: #fff;
	font-weight: bold;
	background-color: #5b4929;
	padding: 10px 15px;
	background: url(../img/bg_bibliography.png) repeat left top;
	border-right: 1px solid #fff;
	width: 50%;
	text-align: left;
}

div#contents th + th {
	border-right: 1px solid #8d7b59;
}

div#contents td {
	padding: 8px 5px;
	vertical-align: top;
	color: #5b4929;
	padding: 10px 15px;
	border-right: 1px solid #8d7b59;
}

div#contents table.kana {
	border: 1px solid #8d7b59;
	text-align: center;
}

div#contents table.kana th {
	width: auto;
	border-right: none;
	border-left: 1px solid #fff;
}

div#contents table.kana th + th {
	border-left: 1px solid #fff;
}

div#contents table.kana th:first-child {
	border-left: 1px solid #8d7b59;
}

div#contents table.kana th.large {
	border-bottom: 1px solid #fff;
}

div#contents table.kana td {
	border-right: 1px solid #8d7b59;
	border-bottom: 1px solid #8d7b59;
	color: #444;	
}

div#contents table.kana td.select {
	background-color: #faeed6;
}

div#contents div.qlist {
	width: 93%;
	margin: 0 auto;
	
}

div#contents div.qlist div.question {
	width: 32%;
	min-width: 266px;
	float: left;
	border: 1px solid #8d7b59;
	margin: 10px 4px;
}

div#contents div.qlist div.question p {
	background: url(../img/bg_bibliography.png) repeat left top;
	margin: 0;
	padding: 10px 0;
	text-align: center;
	color: #fff;
	font-weight: bold;
	width: auto;
}

div#contents div.qlist dl {
	padding: 10px 0 0 0;
	
}

div#contents div.qlist dt {
	height: 270px;
	width: 32%;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

div#contents div.qlist dd {
	text-align: center;
	padding: 0 0 10px 0;
}

div#contents div.qlist dd span {
	background: url(../img/icon01.png) no-repeat left center;
	display: inline-block;
	padding-left: 10px;
}

div#contents dl.month {
	margin: 10px auto 0 auto;
	width: 40%;
	padding: 10px 20px;
}

div#contents dl.month dt {
	color: #600;
	font-weight: bold;
	float: left;
	width: 4em;
}

div#contents dl.month dd {
	margin-left: 4em;
}
