@charset "utf-8";

/* コンテンツブロック */
#contents {
	width: 94%;
	margin: 0 auto;
	padding-top: 1.5em;
}

/* メインブロック */
#main { margin-bottom: 2em; }

/* サブブロック */
#sub { margin-bottom: 2em; }

/* セクションブロック */
#contents div.section {
	margin-top: 1.5em;
	margin-bottom: 2em;
}

/* ケース1ブロック */
#contents div.case1 {
	background-color: #e6fde4;
	margin-top: 1.5em;
	margin-bottom: 1em;
	padding: 0.5em 0.5em;
}

/* ケース2ブロック */
#contents div.case2 {
	background-color: #e6f2ff;
	margin-bottom: 1em;
	padding: 0.5em 0.5em;
}

/* リードブロック */
#contents div.lead { margin-bottom: 1em; }

/* 見出し */
#contents h1 {
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 0.8em;
}
#contents h2 {
	font-size: 1.3em;
	font-weight: bold;
	margin-bottom: 0.5em;
}
#contents h3 {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 0.5em;
}
#contents h4, h5, h6 {
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 0.5em;
}

/* 各ブロック下マージン */
#contents p, #contents ul, #contents ol, #contents dl, #contents table, #contents div.figure { margin-bottom: 0.5em; }

/* 重要リード文 */
#contents p.important_lead { color: #e16745; }

/* 順序なしリスト（汎用・ビュレットあり） */
#contents ul {
	list-style-type: disc;
	padding-left: 1.8em;
}
#contents ul ul { list-style-type: circle; }
#contents ul ul ul { list-style-type: square; }
#contents ul > li > p.headword {
	font-weight: bold;
	margin-top: 1em;
}

/* 順序なしリスト（汎用・ビュレットなし） */
#contents ul.no_bullet {
	list-style: none;
	padding-left: 0;
}

/* リンクリスト */
#contents ul.link_list { list-style-image: url(common/i_arrow.gif); }
#contents ul.caution_list ul.link_list { list-style-image: url(common/i_arrow_y.gif); }
#contents ul.important_list ul.link_list { list-style-image: url(common/i_arrow_p.gif); }
#contents ul.note_list ul.link_list { list-style-image: url(common/i_arrow_g.gif); }

/* 警告マーク */
#contents p.warning {
	margin-bottom: 0;
	font-size: 1.2em;
	font-weight: bold;
	white-space: nowrap;
}

/* 警告リスト */
#contents ul.warning_list {
	list-style-type: disc;
	margin-bottom: 0.8em;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	padding-right: 0.25em;
	border-top: 1px solid #cc3333;
	border-bottom: 1px solid #cc3333;
	background-color: #ffffff;
}
#contents ul.warning_list ul { list-style-type: disc; }

/* 注意マーク */
#contents p.caution {
	margin-bottom: 0;
	font-size: 1.2em;
	font-weight: bold;
	white-space: nowrap;
}

/* 注意リスト */
#contents ul.caution_list {
	list-style-type: disc;
	margin-bottom: 0.8em;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	padding-right: 0.25em;
	border-top: 1px solid #ff6600;
	border-bottom: 1px solid #ff6600;
	background-color: #fff6ee;
}
#contents ul.caution_list ul { list-style-type: disc; }

/* 重要マーク */
#contents p.important {
	margin-bottom: 0;
	font-size: 1.2em;
	font-weight: bold;
	white-space: nowrap;
}

/* 重要リスト */
#contents ul.important_list {
	list-style-type: disc;
	margin-bottom: 0.8em;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	padding-right: 0.25em;
	border-top: 1px solid #cc3333;
	border-bottom: 1px solid #cc3333;
	background-color: #ffeeee;
}
#contents ul.important_list ul { list-style-type: disc; }

/* 参考マーク */
#contents p.note {
	margin-bottom: 0;
	font-size: 1.2em;
	font-weight: bold;
	white-space: nowrap;
}

/* 参考リスト */
#contents ul.note_list {
	list-style-type: disc;
	margin-bottom: 0.8em;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	padding-right: 0.25em;
	border-top: 1px solid #0e1b3f;
	border-bottom: 1px solid #0e1b3f;
	background-color: #f4f5fa;
}
#contents ul.note_list ul { list-style-type: disc; }

/* 基本マーク */
#contents span.basic {
	color: #ff6633;
	font-weight: bold;
	white-space: nowrap;
	vertical-align: baseline;
}

/* 順序ありリスト（汎用・算用数字） */
#contents ol {
	list-style-type: decimal;
	margin-left: 2em;
}

/* 順序ありリスト（汎用・英大文字） */
#contents ol.upper-alpha {
	list-style-type: upper-alpha;
	margin-left: 2em;
}

/* 手順リスト */
#contents ol.step_list > li {
	font-size: 1.4em;
	margin-top: 1em;
}
#contents ol.step_list > li > ol.step_list > li { font-size: 0.9em; }
#contents ol.step_list > li > p { font-size: 0.8em; }
#contents ol.step_list > li > p.headword {
	font-size: 0.7em;
	font-weight: bold;
	margin-top: 1em;
}
#contents ol.step_list > li > p.step_sup { font-size: 0.7em; }
#contents ol.step_list > li > p.warning { font-size: 0.7em; }
#contents ol.step_list > li > p.caution { font-size: 0.7em; }
#contents ol.step_list > li > p.important { font-size: 0.7em; }
#contents ol.step_list > li > p.note { font-size: 0.7em; }
#contents ol.step_list > li > ol > li { font-size: 0.7em; }
#contents ol.step_list > li > ul > li { font-size: 0.7em; }
#contents ol.step_list > li > dl { font-size: 0.7em; }
#contents ol.step_list > li > table { font-size: 0.65em; }

/* 手順リスト（ステップ数10以上） */
#contents ol.more10 { margin-left: 3em; }

/* チェックリスト */
#contents ol.check_list {
	list-style: none;
	margin-left: 0;
}
#contents ol.check_list > li {
	font-size: 1.2em;
	margin-top: 1em;
}
#contents ol.check_list > li > p.headword {
	font-size: 0.8em;
	font-weight: bold;
	margin-top: 1em;
}
#contents ol.check_list > li > p.check_sup { font-size: 0.8em; }
#contents ol.check_list > li > p.warning { font-size: 0.8em; }
#contents ol.check_list > li > p.caution { font-size: 0.8em; }
#contents ol.check_list > li > p.important { font-size: 0.8em; }
#contents ol.check_list > li > p.note { font-size: 0.8em; }
#contents ol.check_list > li > ol > li { font-size: 0.8em; }
#contents ol.check_list > li > ul > li { font-size: 0.8em; }
#contents ol.check_list > li > dl { font-size: 0.8em; }
#contents ol.check_list > li > table { font-size: 0.75em; }

/* チェック番号 */
#contents ol.check_list span.check_num {
	font-size: 0.8em;
	color: #ffffff;
	background-color: #445577;
	padding: 0.2em 1em;
	vertical-align: middle;
}

/* 定義リスト（汎用） */
#contents dl dt { font-weight: bold; }
#contents dl dd {
	margin-left: 2em;
	margin-bottom: 0.5em;
}

/* テーブル（汎用） */
#contents table { font-size: 0.9em; }
#contents table th, #contents table td { padding: 0.3em; }
#contents table th { background-color: #eeeeee; }

/* テーブル（汎用、ボーダーあり） */
#contents table.border {
	border: 1px solid #000000;
	border-collapse: collapse;
}
#contents table.border th, #contents table.border td { border: 1px solid #000000; }

/* テーブル（汎用、ボーダーなし） */
#contents table.none { border: 0; }
#contents table.none th, #contents table.none td { border: 0; }

/* テーブル（汎用、文字前方寄せ） */
#contents table.h_forward th, #contents table.d_forward td { text-align: left; }

/* テーブル（汎用、文字左右中央寄せ） */
#contents table.h_center th, #contents table.d_center td { text-align: center; }

/* テーブル（汎用、文字後方寄せ） */
#contents table.h_back th, #contents table.d_back td { text-align: right; }

/* テーブル（汎用、文字上寄せ） */
#contents table.h_top th, #contents table.d_top td { vertical-align: top; }

/* テーブル（汎用、文字上下中央寄せ） */
#contents table.h_middle th, #contents table.d_middle td { vertical-align: middle; }

/* テーブル（汎用、文字下寄せ） */
#contents table.h_bottom th, #contents table.d_bottom td { vertical-align: bottom; }

/* セル（汎用、文字前方寄せ） */
#contents table th.forward, #contents table td.forward { text-align: left; }

/* セル（汎用、文字左右中央寄せ） */
#contents table th.center, #contents table td.center { text-align: center; }

/* セル（汎用、文字後方寄せ） */
#contents table th.back, #contents table td.back { text-align: right; }

/* セル（汎用、文字上寄せ） */
#contents table th.top, #contents table td.top { vertical-align: top; }

/* セル（汎用、文字上下中央寄せ） */
#contents table th.middle, #contents table td.middle { vertical-align: middle; }

/* セル（汎用、文字下寄せ） */
#contents table th.bottom, #contents table td.bottom { vertical-align: bottom; }

/* 図表 */
#contents div.figure img { max-width: 100%; }

@media screen and (min-width: 480px) {
	/* セクションブロック */
	#contents div.section { margin-left: 1em; }
}

@media print {
	/* コンテンツブロック */
	#contents { padding-top: 0; }

	/* セクションブロック */
	#contents div.section { margin-left: 1em; }

	/* ケース1ブロック */
	#contents div.case1 { border: 2px solid #e6fde4; }

	/* ケース2ブロック */
	#contents div.case2 { border: 2px solid #e6f2ff; }

	/* チェック番号 */
	#contents ol.check_list span.check_num { border: 1px solid #445577; }

	/* 見出し */
	#contents h1, #contents h2, #contents h3, #contents h4, #contents h5, #contents h6 { page-break-after: avoid; }

	/* 見出し（非構造用） */
	#contents p.headword { page-break-after: avoid; }

	/* 警告マーク */
	#contents p.warning { page-break-after: avoid; }

	/* 注意マーク */
	#contents p.caution { page-break-after: avoid; }

	/* 重要マーク */
	#contents p.important { page-break-after: avoid; }

	/* 参考マーク */
	#contents p.note { page-break-after: avoid; }

	/* 定義語 */
	#contents dl dt { page-break-after: avoid; }
}
