@charset "UTF-8";
/* ------------------------------------------------------------
 * Hanbun Bulletin Article Cascading Style Sheets
 * first edition: 2017-08-24
 * -----------------------------------------------------------*/
/* -------------------------------------- */
/*            Style of Header             */
/* -------------------------------------- */
header {
	width: 70%;
	max-width: 46.8em;	/* Old:45em 760px */
}

header ul.contents-index * {
	display: inline-block;
	margin: 0;
	padding: 0;
	text-align: right;
}

header .contents-index {
	display: block;
	position: absolute;
	top: 4.5em;
	right: -1em;
	margin: 0;
	padding: 0;
	width: 20%;
	max-width: 10em;
	list-style-type: none;
	list-style-image: none;
	white-space: nowrap;
}

header .contents-index:after {
	content: url('../../images/favicon-50.png');
	position: absolute;
	top: -4em;
	right: 1.25em;
	display: block;
	width: 54px;
	height: 50px;
}

header > h2 {
	margin: 0;
	padding: 0;
	width: auto;
	min-width: 4em;
	/*font-size: 20px;*/
	font-size: 1.9em;
	font-family: 'Yu Mincho', 'YuMincho', 'Noto Serif JP', 'Noto Serif CJK JP', 'Source Han Serif JP', 'Source Han Serif', 'Noto Serif JP Subset', 'ＭＳ 明朝', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', serif;
	line-height: 1.2em;
	color: #478384;
	z-index: 2;
}

header .sub-title {
	display: block;
	font-size: 0.7em;
}


/* -------------------------------------- */
/*            Style of Navi             */
/* -------------------------------------- */
body > article > nav,
body > section > nav {
	position: relative !important;
	left: 15%;
	width: 55%;
	max-width: 360px;
}


/* -------------------------------------- */
/*            Style of Content            */
/* -------------------------------------- */
#content {
	position: relative;
	left: 0 !important;
	width: 70%;
	max-width: 45em;	/* 760px */
	margin: 0 auto !important;
	padding-right: 0;
	font-size: 1.04em;
}

#content h3 .sub-title {
	display: inline-block;
	font-size: 80%;
	margin-left: 4.25em;
}

#content p {
	line-height: 1.9em;
}

#content > p:nth-of-type(n+1):not([class~="signature"]):not([class~="date"]),
#content blockquote p:nth-of-type(n+1):not([class~="signature"]):not([class~="date"]) {
	margin-top: 0;
	margin-bottom: 0;
}

#content > p:not([class]) {
	text-indent: 1em;
}

#content blockquote + p:not([class]) {
	text-indent: 0;
}

#content ol {
	counter-reset: item;
	list-style: none;
	margin-left: 1.25em;
}

#content ol li {
	text-indent: -1.1em;
}

#content ol li:before {
	content: counter(item) ". ";
	counter-increment: item;
	display: inline-block;
	padding-right: 0.3em;
	min-width: 0.85em;
	text-align: right;
	overflow: visible;
	white-space: nowrap;
}

#content ol li ol {
	margin-left: 2em;
}

#content ol li ol li:before {
	content: counters(item, ".") ". ";
	counter-increment: item;
}

#content ul.serial-index,
#content ol.serial-index {
	display: block;
	list-style-type: none;
	list-style-image: none;
	border-bottom: solid 1px #010101;
	margin: 0;
	margin-top: 12em;
	padding: 0;
	width: 100%;
	font-size: 0.9em;
	font-weight: normal;
	color: #6f6f6f;
	text-align: right;
}

#content ul.serial-index:first-child,
#content ol.serial-index:first-child {
	margin-top: 5em;
}

#content ul.serial-index li,
#content ol.serial-index li {
	display: inline-block;
	background: transparent;
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0.2em 0.6em;
	width: auto;
	white-space: nowrap;
}

#content ul.serial-index li:last-of-type,
#content ol.serial-index li:last-of-type {
	padding-right: 0;
}

#content ul.serial-index + *,
#content ol.serial-index + * {
	margin-top: 0;
	padding-top: 0.3em;
}

#content > aside.note {
	border-top: solid 0px #010101;
	margin-top: 4em;
}

#content .note-index {
	margin: 0 0.2em 0 0;
	position: relative;
	top: -0.5em;
	font-size: 0.9em;
	text-decoration: none;
	color: #d3381c;
}

#content .note li p {
	text-indent: 0;
}

#content .note li p:first-of-type {
	display: inline;
}

#content .note li blockquote {
	display: inline;
	margin: 0;
	padding: 0;
	background-color: transparent;
}

#content .note li q {
	display: inline;
	background-color: transparent;
}

#content p.next-page-link {
	text-indent: 0;
	text-align: right;
	font-weight: bold;
	color: #6f6f6f;
}



/* -------------------------------------- */
/*            Style of Footer             */
/* -------------------------------------- */
body > footer {
	width: 70% !important;
	min-width: 45em !important;
	max-width: 45em !important;
}


/* -------------------------------------- */
/*      for Google Chrome (Windows)       */
/* -------------------------------------- */
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {
	#content ul.serial-index,
	#content ol.serial-index {
		font-weight: 500;
	}
}
