﻿* {
	font-family: Meiryo, Osaka, sans-serif;
	margin: 0;
	padding: 0;
	font-size: 1em;
	line-height: 1em;
	font-weight: normal;
	font-style: normal;
	color: #333333;
	border-color: #2E4465;
}

body {
	background-color: #F9F8F3;
}

a {
	text-decoration: none;
	color: #1D4667;
}

	a:hover {
		color: #275F8E;
	}

.digestRight a, .paraBlock a, .intro a, .chara a {
	text-decoration: none;
	color: #0055AA;
}

	.digestRight a:hover, .paraBlock a:hover, .intro a:hover, .chara a:hover {
		color: #0079F2;
	}



#aboutFig, #opinion {
	background-color: #2E4465;
}


img {
	border-style: none;
}

figure img {
	border-color: #333333;
	background-color: #FFFFFF;
}

.wordList, .wordListHeader, .wordListDigest, .note {
	background-color: #EAE8D5;
}


header p a {
	color: #333333;
}

span.com {
}



p, figcaption, blockquote, address, cite, .paraBlock ol li, td, th {
	font-size: 0.95em;
	line-height: 1.7em;
	text-align: justify;
	text-justify: inter-ideograph;
	font-style: normal;
}


blockquote {
	margin-left: 2em;
	margin-top: 0.85em;
	margin-bottom: 0.85em;
}


.refPage {
	font-size: 0.8em;
	text-decoration: none;
}

	.refPage::before {
		content: "［";
	}

	.refPage::after {
		content: "］";
	}

q::before {
	content: "「";
}

q::after {
	content: "」";
}

cite::before {
	content: "（";
}

cite::after {
	content: "）";
}

b {
	font-weight: bold;
}

.paraBlock ol {
	margin-left: 1.5em;
}

p.mondo25 {
	margin-left: 2.5em;
	text-indent: -2.5em;
}





footer::after {
	content: "　";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}






img.color {
	display: none;
}

a:hover img.mono {
	display: none;
}

a:hover img.color {
	display: inline;
}








header {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 10px;
	position: relative;
}

	header > a {
		position: relative;
		z-index: 1;
	}

	header > p {
		font-size: 0.9em;
		line-height: 1em;
		text-align: right;
		position: relative;
		top: -1.3em;
		border-bottom-style: solid;
		border-bottom-width: 1px;
		padding-bottom: 6px;
	}


#headerNav {
	width: 900px;
	padding-top: 0;
	padding-bottom: 0;
	position: relative;
	top: -0.7em;
	text-align: right;
}

	#headerNav a {
		font-size: 0.8em;
		margin-left: 1em;
	}




article {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

	article > header {
		width: 270px;
		padding-top: 0;
		float: left;
	}

h1 {
	font-size: 1em;
	font-weight: bold;
	line-height: 1.3em;
	margin-bottom: 0.6em;
}

h2 {
	font-size: 1.6em;
	line-height: 1.3em;
	margin-bottom: 0.5em;
}

.topNav {
	margin-bottom: 1em;
}

	.topNav li {
		list-style-type: none;
		padding-top: 0.8em;
	}

		.topNav li.l01 {
			padding-top: 0;
		}

	.topNav a {
		font-size: 0.9em;
		line-height: 1.3em;
		display: block;
		border-bottom-style: solid;
		border-bottom-width: 1px;
		padding-bottom: 2px;
		margin-bottom: 6px;
	}

	.topNav li.l01 a {
		font-size: 0.8em;
		border-bottom-style: none;
		margin-left: 1em;
		margin-bottom: 1px;
	}


	.topNav p {
		font-size: 0.8em;
		line-height: 1.6em;
	}


.relateNav {
	margin-top: 8px;
}

	.relateNav li {
		list-style-type: none;
		float: left;
		margin-right: 2em;
		font-size: 0.95em;
		line-height: 1.3em;
		text-indent: -1em;
		margin-left: 1em;
	}

		.relateNav li a::before {
	content: "●";
	color: #808080;
}


article > figure {
	float: right;
}

.digest {
	width: 270px;
	float: left;
}

.digestRight {
	width: 600px;
	float: right;
	margin-top: 4px;
}


	.digest p, .digestRight p, .intro p, .chara p {
		font-size: 0.8em;
		line-height: 1.5em;
	}

	.digest .refPage, .digestRight .refPage {
		font-size: 0.95em;
	}

.intro {
	padding: 4px;
	background-color: #E3EAF2; /*background-color: #2E4465;*/
	border-radius: 4px;
}


.chara {
	padding: 4px;
	background-color: #F2E7E6;
	border-radius: 4px;
	margin-top: 10px;
}

	.chara p {
		text-indent: -2em;
		margin-left: 2em;
	}


section {
	clear: both;
	padding-top: 2em;
}

#aboutFig, #opinion {
	padding: 3px 6px 3px 6px;
	font-size: 0.8em;
	font-weight: bold;
	line-height: 1em;
	color: #FFFFFF;
	border-radius: 4px;
	margin-bottom: 0.8em;
	clear: both;
}

#relate_page {
	padding: 3px 0px 3px 0px;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1em;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #2E4465;
}

section h2 {
	font-size: 1.2em;
	line-height: 1.2em;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	margin-bottom: 0.5em;
	padding-top: 1.2em;
	padding-bottom: 2px;
	clear: both;
}

section h3 {
	font-size: 0.95em;
	font-weight: bold;
	line-height: 1.3em;
	padding-top: 1.3em;
	padding-bottom: 4px;
	clear: both;
}

#aboutFig + h2, #opinion + h2 {
	padding-top: 0;
}


section h2 + h3 {
	padding-top: 4px;
}



.paraBlock {
	float: left;
	width: 580px;
}

.paraBlockFull {
	float: none;
	width: 900px;
}





.figureBlock, .figureBlockFull, .figureBlockNoFloat {
	float: right;
	padding-top: 0.3em;
}

	.figureBlock img, .figureBlockFull img, .figureBlockNoFloat img {
		display: block;
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 0.5em;
	}

	.figureBlock figcaption, .figureBlockFull figcaption, .figureBlockNoFloat figcaption {
		font-size: 0.8em;
		line-height: 1.5em;
		text-align: center;
		margin-bottom: 1em;
	}

.withBorder {
	border-style: solid;
	border-width: 1px;
}

.figureBlockFull {
	width: 580px;
	padding-top: 1em;
	float: none;
	clear: both;
}



.figureBlockNoFloat {
	width: 580px;
	clear: both;
	float: none;
}

.figureBlockNoFloat {
	padding-top: 1em;
}

	.figureBlockNoFloat figure:nth-child(odd) {
		float: left;
	}

	.figureBlockNoFloat figure:nth-child(even) {
		float: right;
	}





nav.topNavMain::before, nav.topNavLight::before, li.supplement a.light::before {
	padding: 0px 3px 0px 3px;
	content: "古典文学Graphics";
	float: left;
	font-size: 0.6em;
	background-color: #2E4465;
	color: #FFFFFF;
	border-radius: 4px;
	margin-right: 0.75em;
}

nav.topNavMain, nav.topNavLight {
	padding-top: 14px;
	margin-bottom: 8px;
	float: none;
	clear: both;
}

	nav.topNavMain li, nav.topNavLight li {
		list-style-type: none;
		border-style: none;
		display: inline;
		margin-right: 1em;
		float: none;
	}

.topNavMain a, .topNavLight a {
	font-size: 0.8em;
	line-height: 1.5em;
	border-style: none;
}


nav.topNavLight::before, li.supplement a.light::before {
	background-color: #F96678; /*background-color: #F84A5E;*/
	content: "Light版";
}


nav.topNavLight {
	padding-top: 4px;
}




.midNav {
	width: 580px;
	padding-top: 8px;
	text-align: right;
	padding-bottom: 12px;
	float: left;
}

.toIndex, .toList, .toTop, .toKobuGra a {
	padding: 0em 0.4em 0em 0.4em;
	font-weight: normal;
	font-size: 0.7em;
	line-height: 1em;
	margin-left: auto;
	background-color: #5077B0;
	color: #FFFFFF;
	border-radius: 4px;
}

.toList {
	margin-left: 0.25em;
}

.toTop {
	margin-left: 0.25em;
}


.toKobuGra {
	width: 100%;
	margin-bottom: 20px;
	text-align: right;
}

.toKobuGra a {
	padding: 0.1em 0.4em 0em 0.4em;
	font-size: 0.8em;
}

	.topToList:hover, .toTop:hover, .toList:hover, .toIndex:hover, .toKobuGra a:hover {
		background-color: #6B8BBC;
		color: #FFFFFF;
	}





address {
	border-top-style: solid;
	border-top-width: 1px;
	margin-top: 60px;
	padding-top: 10px;
	font-size: 0.8em;
	line-height: 1.6em;
	text-align: center;
	padding-bottom: 20px;
	clear: both;
}






footer {
	width: 900px;
	clear: both;
	margin-right: auto;
	margin-left: auto;
	padding-top: 40px;
}

	footer nav ul li {
		border-style: solid;
		border-width: 1px 0px 1px 0px;
		font-size: 0.7em;
		text-align: center;
		width: 300px;
		display: block;
		float: left;
		padding-top: 4px;
		padding-bottom: 4px;
	}





.wordList, .wordListHeader, .wordListDigest, .note {
	width: 290px;
	margin-top: 0.3em;
	margin-bottom: 20px;
	border-radius: 4px;
	float: right;
	padding-top: 6px;
	padding-bottom: 4px;
}

.wordListHeader {
	width: 270px;
	float: left;
}

.wordListDigest {
	margin-top: 1em;
	width: 600px;
}

	.wordList ul li, .wordListHeader ul li, .wordListDigest ul li, .note p {
		font-size: 0.8em;
		line-height: 1.5em;
		text-align: justify;
		text-justify: inter-ideograph;
		text-indent: -1em;
		margin-left: 1em;
		list-style-type: none;
		padding-right: 0.75em;
		padding-left: 0.75em;
	}

.note p {
	text-indent: 0;
	margin-left: 0;
}

.wordList li:before, .wordListHeader li:before, .wordListDigest li:before {
	content: "●";
	color: #808080;
}


table {
	border-collapse: collapse;
	margin-top: 8px;
	margin-bottom: 8px;
}

td, th {
	padding: 4px 6px 4px 6px;
	border-style: solid;
	border-width: 1px;
	line-height: 1.3em;
}

th {
	font-weight: bold;
	text-align: center;
	background-color: #D6E6F3;
}









@media screen and (max-width:950px) {
	header {
		width: 600px;
	}

	#headerNav {
		width: 600px;
	}

	article {
		width: 600px;
	}

	h1 {
		margin-top: 10px;
	}

	article > header {
		width: 600px;
		float: none;
	}

	.topNav li {
		padding-top: 1em;
	}

	article > figure {
		float: none;
		clear: both;
		margin-bottom: 4px;
		padding-top: 0.5em;
	}

	.digest, .digestRight {
		width: 600px;
		float: none;
	}

		.digestRight::before {
			content: "あらすじ";
			display: block;
			font-weight: bold;
			font-size: 0.8em;
			border-color: #2E4465;
			border-top-style: solid;
			border-top-width: 1px;
			margin-top: 2em;
			padding-top: 0.5em;
			padding-bottom: 0.25em;
		}


	.paraBlock {
		float: none;
		width: 600px;
	}

	.paraBlockFull {
		float: none;
		width: 600px;
	}

	.figureBlock, .figureBlockFull {
		float: none;
	}


	.figureBlockFull {
		width: 600px;
	}

	.figureBlockNoFloat {
		width: 600px;
	}

	.figureBlock, .figureBlockFull, .figureBlockNoFloat {
		padding-top: 1em;
	}


		.figureBlock figure {
			float: left;
		}

			.figureBlock figure:nth-child(odd) {
				float: left;
			}

			.figureBlock figure:nth-child(even) {
				float: right;
			}

			.figureBlock figure:only-child {
				float: none;
			}

		.figureBlock + .paraBlock, .figureBlockFull + .paraBlock, .figureBlockNoFloat + .paraBlock {
			margin-top: 1.5em;
		}

	.midNav {
		width: 600px;
	}


	footer {
		width: 600px;
	}

		footer nav ul li {
			width: 200px;
		}

	.wordList, .wordListHeader, .wordListDigest, .note {
		width: 600px;
		font-size: 1em;
		float: none;
		margin-top: 10px;
	}
}








@media screen and (max-width:660px) {
	h2 {
		font-size: 1.2em;
		line-height: 1.3em;
	}

	p, figcaption, blockquote, address, cite {
		line-height: 1.5em;
	}

	abbr.refPage {
		font-size: 0.9em;
	}

	header {
		width: 95%;
	}

	#headerNav {
		width: 100%;
	}

	article {
		width: 95%;
	}

		article > header {
			width: 100%;
		}

		article > figure img {
			max-width: 100%;
			height: auto;
		}

	.digest, .digestRight {
		max-width: 100%;
		font-size: 0.9em;
		line-height: 1.6em;
	}

		.digestRight::before {
			padding-top: 0.25em;
			padding-bottom: 0;
		}

	.paraBlock {
		width: 100%;
	}

	.paraBlockFull {
		width: 100%;
	}


	.figureBlockFull {
		width: 100%;
	}


	.figureBlockNoFloat {
		width: 100%;
		padding-top: 0;
	}


		.figureBlock figure, .figureBlockNoFloat figure {
			float: none;
		}


	figure img {
		max-width: 100%;
		height: auto;
	}

	.figureBlock figure:nth-child(odd), .figureBlockNoFloat figure:nth-child(odd) {
		float: none;
	}

	.figureBlock figure:nth-child(even), .figureBlockNoFloat figure:nth-child(even) {
		float: none;
	}

	.figureBlock figure:only-child {
		float: none;
	}

	.midNav {
		width: 100%;
	}


	footer {
		width: 95%;
	}

		footer nav ul li {
			width: 100%;
			float: none;
			margin-right: auto;
			margin-left: auto;
		}

			footer nav ul li:nth-child(2) {
				border-width: 0px;
			}

	.wordList, .wordListHeader, .wordListDigest, .note {
		width: 100%;
	}
}







@media screen and (max-width:450px) {
	#headerNav {
		top: 0;
	}

	header a img {
		max-width: 90%;
		height: auto;
	}

	header p {
		position: static;
		margin-bottom: 10px;
		margin-top: 2px;
	}

	.topNav p {
		margin-bottom: 0;
	}

	h2 {
		font-size: 1.2em;
		line-height: 1.3em;
		margin-bottom: 0.5em;
	}

	.intro p, .chara p {
		margin-bottom: 0;
		margin-top: 0;
	}
}
