@charset "UTF-8";
/* ------------------------------------------------------------
 * Hanbun Bulletin Article Cascading Style Sheets
 * first edition: 2019-04-22
 * -----------------------------------------------------------*/
/* -------------------------------------- */
/*            Style of Header             */
/* -------------------------------------- */
header {
	width: 70%;
	max-width: 46.8em;	/* Old:45em 760px */
	margin-top: 1.6em;
}

header > h1 {
	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;
	color: #833638;
	z-index: 3;
	margin: auto;
	padding: 0;
	width: 100%;
	text-align: center;
	white-space: nowrap;
}

header > h2 {
	margin: 0;
	margin-top: 1em;
	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;
}

header .signature {
	margin-right: 1em;
	text-align: right;
	font-size: 1.4em;
	font-weight: bold;
	color: #606060;
}


/* -------------------------------------- */
/*            Style of Navi             */
/* -------------------------------------- */
body > article > nav,
body > section > nav {
	position: fixed;
	top: 5em;
	left: 0;
	width: 18%;
	max-width: 212px;
	margin: 0;
	padding: 0;
	z-index: 9999;
}

body > article > nav *:lang(ja),
body > section > nav *:lang(ja) {
	font-feature-settings: "halt" 1;
}

body > section > nav > ul,
body > section > nav > ol {
	position: relative;
	top: 0;
	left: 0;
	opacity: 0;
	margin: 1em 0;
	margin-left: -1em;
	padding: 1em 0;

	border-style: solid;
	border-width: 38px 34px 70px 48px;
	-moz-border-image: url("../../images/frame1-250px.png") 38 34 70 52 round stretch;
	-webkit-border-image: url("../../images/frame1-250px.png") 38 34 70 52 round stretch;
	-o-border-image: url("../../images/frame1-250px.png") 38 34 70 52 round stretch;
	border-image: url("../../images/frame1-250px.png") 38 34 70 52 fill round stretch;
}

body > section > nav > ol {
	padding-left: 1em;
}

body > section > nav > p {
	margin: 1em;
}

body > section > nav .contents-index {
	opacity: 1;
	margin: 0;
	margin-bottom: 0;
	padding: 0;
	padding-bottom: 1.5em;
	background-image: url("../../images/navi-item-bar-brown.png");
	background-repeat: no-repeat;
	background-position: left bottom;
}

body > section > nav .contents-index p {
	margin: 0;
	padding: 0em;
	padding-bottom: 2em;
	padding-left: 2em;
	min-width: 100px;
	max-width: 140px;
	/*color: #f6f6f6;
	background-color: #aa686e;*/ /* 914f54 */
	/*border-bottom: 2px solid #aa686e;*/
	font-weight: bold;
}

body > section > nav .contents-index a {
	display: block;
	margin: 0;
	padding: 0em;
	min-width: 100px;
	max-width: 140px;
	/*color: #f6f6f6;
	background-color: #aa686e;*/ /* 914f54 */
	/*border-bottom: 2px solid #aa686e;*/
	font-weight: bold;
}

body > section > nav .contents-index a:before {
	display: inline-block;
	margin-right: 0.5em;
	vertical-align: middle;
}

body > section > nav .contents-index:first-of-type a:before {
	content: url("../../images/home-icon.svg");
}

body > section > nav .contents-index #table-of-contents a:before {
	content: url("../../images/top-icon.svg");
}

body > section > nav #chapter-navi-menu,
body > section > nav #help-toggle {
	margin: 0;
	padding: 0em;
	padding-top: 2em;
	padding-left: 2em;
	min-width: 100px;
	max-width: 140px;
	/*color: #f6f6f6;
	background-color: #c6999d;*/ /* aa686e */
	/*border-bottom: 2px solid #c6999d;*/
	/*background-image: url("../../images/navi-item-bar.png");
	background-repeat: no-repeat;
	background-position: left bottom;*/
	font-weight: bold;
}

body > section > nav #chapter-navi-menu:before,
body > section > nav #help-toggle:before {
	content: url("../../images/navi-menu-icon.svg");
	display: inline-block;
	margin-right: 0.5em;
	vertical-align: middle;
}

body > section > nav #chapter-navi-menu:before {
	content: url("../../images/navi-menu-icon.svg");
}

body > section > nav #help-toggle:before {
	content: url("../../images/help-menu-icon.svg");
}

body > section > nav #chapter-navi-menu:hover,
body > section > nav #help-toggle:hover {
	text-decoration: underline;
	cursor: pointer;
}

body > section > nav .paragraph-search,
body > section > nav .note-style {
	margin: 0;
	padding: 1.5em 0 0.5em 2em;
	min-width: 129px;
	max-width: 169px;
	/*color: #f6f6f6;
	background-color: #e1cacc;*/
	font-weight: bold;
}

body > section > nav .paragraph-search input {
	display: inline-block;
	min-height: 18px;
	margin-left: 0.15em;
	border: #969696 2px solid;
	border-radius: 5px 0 0 5px;
	background-color: #fdfdfd;
	vertical-align: middle;
}

body > section > nav .paragraph-search input:focus {
	border-color: #9e7274;
	box-shadow: 0 0 2px 0 #9e7274;
}

body > section > nav .paragraph-search #paragraph-search-exec {
	display: inline-block;
	margin: 0;
	padding: 0.2em 0.2em 0.04em 0.2em;
	min-height: 26px;
	background-color: #ebd7d7;
	border: #969696 2px solid;
	border-left: 0;
	border-radius: 0 5px 5px 0;
	font-weight: bold;
	color: #9e7274;
	vertical-align: middle;
}

body > section > nav .paragraph-search #paragraph-search-exec:hover {
	background-color: #e7d8bb;
}

body > section > nav .paragraph-search input:focus ~ #paragraph-search-exec {
	border-color: #9e7274;
	box-shadow: 0 0 2px 0 #9e7274;
}

body > section > nav .paragraph-search label {
	cursor: pointer;
}

body > section > nav .paragraph-search p:first-of-type {
	margin: 0;
	margin-bottom: -0.5em;
	font-weight: bold;
}

body > section > nav .paragraph-search p:first-of-type::before {
	display: inline-block;
	margin-top: 0.4em;
	margin-right: 0.5em;
	vertical-align: middle;
	content: url("../../images/paragraph-jump-icon.svg");
}

body > section > nav .note-style select {
	display: inline-block;
	min-width: 72%;
	min-height: 18px;
	margin-left: 0.15em;
	padding: 0.2em;
	border: #969696 2px solid;
	border-radius: 5px;
	background-color: #fdfdfd;
	font-weight: 600;
	color: #666666;
	vertical-align: middle;
}

body > section > nav .note-style select:focus {
	border-color: #9e7274;
	box-shadow: 0 0 2px 0 #9e7274;
}

body > section > nav .note-style select option {
	font-weight: 500;
	color: #464646;
}

body > section > nav .note-style select option:disabled {
	font-weight: 500;
	color: #b6b6b6;
}

body > section > nav .note-style p:first-of-type {
	margin: 0;
	margin-bottom: -0.5em;
	font-weight: bold;
}

body > section > nav .note-style p:first-of-type::before {
	display: inline-block;
	margin-top: 0.4em;
	margin-right: 0.5em;
	vertical-align: middle;
	content: url("../../images/note-style-icon.svg");
}

body > section > #help-view {
	position: fixed;
	bottom: 2em;
	left: 0;
	opacity: 0;
	margin: 0;
	margin-left: 1em;
	padding: 1em 1.5em;
	min-width: 212px;
	max-width: 49%;
	background-color: #ebdee0;
	z-index: 30000;
}

body > section > #help-view .view-control {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	background-color: #e1cacc;
	text-align: right;
}

body > section > #help-view #help-close {
	margin: 0;
	padding: 0.25em;
	border: 0;
	background-color: #aa686e;
	font-weight: bold;
	color: #f0f0f0;
	cursor: pointer;
}

body > section > #help-view h3 {
	margin: 1em 0;
	padding: 0;
}

body > section > #help-view ul {
	list-style-image: url("../../images/list-marker-disc.svg");
}


/* -------------------------------------- */
/*            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 {
	margin-bottom: 1em;
	/*padding-top: 0.5em;*/
	font-size: 1.4em;
}

#content h3:nth-of-type(n+2) {
	padding-top: 0.5em;
}

#content h4,
#content > h3 + p ~ h4:first-of-type {
	margin-top: 1em;
	margin-bottom: 1em;
	font-size: 1.2em;
}

#content h5,
#content h6 {
	margin-top: 1em;
	margin-bottom: 0;
	font-size: 1em;
}

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

#content > p.non-chapter-section:first-child,
#content > p.non-chapter-section:first-child:not([class~="signature"]):not([class~="date"]) {
	margin-top: 4em;
}

#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]),
#content .typeset p:not([class~="from-middle"]):not([class~="source"]),
#content p.typeset:not([class~="from-middle"]):not([class~="source"]) {
	text-indent: 1em;
}

#content > p:lang(en):not([class]),
#content .typeset p:lang(en):not([class~="from-middle"]):not([class~="source"]),
#content p.typeset:lang(en):not([class~="from-middle"]):not([class~="source"]) {
	text-indent: 2.5em;
}

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

#content blockquote .translation {
	margin-left: 1em;
}

#content ol {
	margin-left: 1.25em;
}
/* Comment out for IE Bug */
/*
#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 hr {
	border-width: 0;
	height: 0;
	margin: 1em 0;
}

#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 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;
}
