@charset "utf-8";
@import "clear.css";

/*--------------------------

	wakakusa.tv CSS
	Nanamaou to tsumi no uta

--------------------------*/
body {
	background-color: #eeede2;
	color: #66583d;
}
article, footer, td, th {
	font-size: 88%;
}

a {
	color: #c00;
}
a:hover {
	color: #3cc;
}

article, aside, dialog, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}


#wrap {
	width: 800px;
	margin: 0 auto;
	position: relative;
	text-align: center;
	z-index: 1;
}

/*--------------------------
	Header
--------------------------*/
header {
	width: 800px;
	height: 69px;
	padding: 21px 0 10px;
	text-align: left;
}
header > h1 > a,
header > p {
	width: 0;
	height: 0;
	margin: 0;
	overflow: hidden;
	text-indent: -50000px;
	text-align: left;
	line-height: 0.1;
	font-size: 1px;
}
header > h1 > a {
	float: left;
	background: url(../images/logo.gif) top left no-repeat;
	width: 327px;
	height: 69px;
	display: block;
}
/*--------------------------
	Navigation
--------------------------*/
header > nav > ul {
	float: right;
	width: 458px;
	height: 42px;
	padding-top: 32px;
}
header > nav > ul > li {
	float: left;
	height: 42px;
}
header > nav > ul > li > a,
header > nav > ul > li > span {
	background-image: url(../images/nav.gif);
	background-repeat: no-repeat;
	height: 42px;
	display: block;
	overflow: hidden;
	text-indent: -50000px;
	text-align: left;
	line-height: 0.1;
	font-size: 1px;
}
header > nav > ul > li#ntop a {
	background-position: 0 0;
	width: 58px;
}
header > nav > ul > li#nworld a {
	background-position: -58px 0;
	width: 84px;
}
header > nav > ul > li#ncharacter a {
	background-position: -142px 0;
	width: 128px;
}
header > nav > ul > li#nepisode a {
	background-position: -270px 0;
	width: 96px;
}
header > nav > ul > li#ngallery a {
	background-position: -366px 0;
	width: 92px;
}
header > nav > ul > li#ntop a:hover {
	background-position: 0 -42px;
}
header > nav > ul > li#nworld a:hover {
	background-position: -58px -42px;
}
header > nav > ul > li#ncharacter a:hover {
	background-position: -142px -42px;
}
header > nav > ul > li#nepisode a:hover {
	background-position: -270px -42px;
}
header > nav > ul > li#ngallery a:hover {
	background-position: -366px -42px;
}
header > nav > ul > li#ntop span {
	background-position: 0 -84px;
	width: 58px;
}
header > nav > ul > li#nworld span {
	background-position: -58px -84px;
	width: 84px;
}
header > nav > ul > li#ncharacter span {
	background-position: -142px -84px;
	width: 128px;
}
header > nav > ul > li#nepisode span {
	background-position: -270px -84px;
	width: 96px;
}
header > nav > ul > li#ngallery span {
	background-position: -366px -84px;
	width: 92px;
}


/*--------------------------
	Contents
--------------------------*/
article {
	clear: both;
	width: 720px;
	padding: 40px;
	background: #faf7ed url(../images/frame_bottom.gif) no-repeat left bottom;
/*	border: #faf7ed solid 40px;
	-webkit-border-image: url(../images/border.gif) 40;*/
}
article:before {
	content: url(../images/frame_top.gif);
	position: absolute;
	top: 100px;
	left: 0;
	z-index: 2;
}

article > section {
	text-align: left;
	padding-top: 20px;
}
article > section:first-child {
	padding: 0;
}

article > section > h1 {
	background: url(../images/hgroup.gif) no-repeat;
	width: 720px;
	height: 26px;
	margin-bottom: 4px;
	display: block;
	overflow: hidden;
	text-indent: -50000px;
	text-align: left;
	line-height: 0.1;
	font-size: 1px;
}
article > section > h1.intro {
	background-position: 0 0;
}
article > section > h1.topics {
	background-position: 0 -26px;
}
article > section > h1.world {
	background-position: 0 -52px;
}
article > section > h1.glossary {
	background-position: 0 -78px;
}
article > section > h1.nanamaoh {
	background-position: 0 -104px;
}
article > section > h1.devils {
	background-position: 0 -130px;
}
article > section > h1.humans {
	background-position: 0 -156px;
}
article > section > h1.lepisode {
	background-position: 0 -182px;
}
article > section > h1.episode {
	background-position: 0 -208px;
}
article > section > h1.gallery {
	background-position: 0 -234px;
}

article > section > dl dt {
	font-weight: bold;
	font-size: 1.2em;
	padding-top: 20px;
}
article > section > dl dt:before,
article > section > dl dt:after {
	content: '"';
}
article > section > dl dt:first-child {
	padding: 0;
}

/* Episode */
section > figure.book {
	clear: both;
	height: 210px;
}
section > figure.book img {
	float: left;
	margin-right: 20px;
}
section > figure.book strong {
	float: left;
	font-weight: bold;
}
section > figure.book figcaption {
	float: left;
	display: block;
}
section > figure.book figcaption img {
	float: none;
	margin: 0;
}

article:after {   
    content: ".";
    display: block;
    visibility: hidden;
    height: 0.1px;
    font-size: 0.1em;
    line-height: 0;
    clear: both;
}
/*--------------------------
	Footer
--------------------------*/
footer {
	clear: both;
	background: url(../images/footerline.png) 0 10px no-repeat;
	width: 800px;
	padding: 10px 0 20px;
}

footer a {
	color: #66583d;
}
