@charset "utf-8";

html {
	box-sizing: border-box;
	/* overflow: hidden; */
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

span[data-answer] {
	color: red;
}

/* 基本要素 */
body {
	padding: 0;
	font-size: 1em;
	line-height: 1.8em;
	font-family: "游ゴシック", "ヒラギノ角ゴシック", "ＭＳ Ｐゴシック", "メイリオ", Meiryo, sans-serif;
}

p {
	font-size: 1.1em;
	line-height: 1.52em;
	margin: 10px 0 10px 0;
}

pre {
	font-size: 1.1em;
}

pre {
	background-color: black;
	color: white;
	padding: 10px;
}

a {
	color: blue;
}

a.green {
	color: yellowgreen;
	font-size: 0.9em
}

a:hover {
	color: orange;
	text-decoration: none;
}

a img {
	transition: opacity 0.2s linear;
}

a:hover img {
	opacity: 0.7;
}

button {
	min-height: 26px;
}

h1 {
	font-size: 1.6em;
	margin: 10px 0 10px 0;
	padding: 0.5em;
	color: #010101;
	text-decoration: underline;
}

.h1_cate:before {
	content: "【";
}

.h1_cate:after {
	content: "】";
}

h2 {
	font-size: 1.4em;
	margin: 20px 0 10px 0;
	padding: 0.5em;
	color: #010101;
	text-decoration: underline;
}

h3 {
	margin: 20px 0 10px 0;
	font-size: 1.4em;
}

h4 {
	font-size: 1.2em;
	margin: 20px 0 10px 0;
}

.grid_wrap {
	display: grid;
	grid-template-columns: 4fr 1fr;
	gap: 16px;
	/* align-items: start; */
}

.main_article {
	padding: 6px;
	order: 1;
	/* grid-column: 2/3; */
}

.side_r {
	order: 2;
	/* position: sticky;
	top: 0; */
	/* border: 1px solid; */
	/* align-self: start; */
	/* grid-column: 3/4; */
}

.main_article table {
	margin: 20px auto;
}

.main_article th {
	position: sticky;
	top: 0;
	z-index: 2;
}

nav.kanren ul,
.main_article ol,
.main_article ul {
	margin: 10px auto;
	width: 60%;
	text-align: left;
}

nav.kanren li,
.main_article li {
	line-height: 1.5;
	border-bottom: dashed 1px silver;
	padding: .5em .5em .5em .5em;
}

nav.kanren li:last-child,
.main_article li:last-child {
	border-bottom: none;
}

.simple li {
	line-height: 1.5;
	border-bottom: none;
	padding: 0.2em 0 0.2em .1em;
}

nav.kanren ul li,
.main_article ul li {
	list-style-type: disc;
}


table {
	border: solid 1px #000000;
	border-collapse: collapse;
}

th {
	background: navy;
	color: white;
	font-weight: 700;
}

td,
th {
	font-size: 1em;
	border: 1px black solid;
	padding: 10px;
	vertical-align: top;
}

caption {
	font-weight: bold;
	font-size: 1.1em;
	margin-bottom: 4px;
}

blockquote {
	border: 1px solid #ccc;
	line-height: 1.7;
	width: 90%;
	position: relative;
	margin: 0 auto;
	padding: 40px 10px;
	background: #f6f6f6;
}

blockquote::before,
blockquote::after {
	display: block;
	position: absolute;
	content: 'format_quote';
	width: 40px;
	height: 40px;
	font-family: 'Material Icons';
	font-size: 35px;
	white-space: nowrap;
	word-wrap: normal;
}

blockquote::before {
	top: 20px;
	left: 10px;
	transform: rotate(-180deg);
}

blockquote::after {
	right: 10px;
	bottom: 20px;
}


/** コンテンツ全体 **/

.container {
	width: 96%;
	margin: auto;
	padding-bottom: 10px;
	text-align: center;
}

/* ▽ヘッダー */
header {
	width: 100%;
	margin-bottom: 15px;
	background-color: green;
	color: white;
	padding: 6px;
	box-sizing: border-box;
}

header .site_name {
	font-size: 2em;
	font-weight: bold;
	margin: 0px 0 10px 0;
}

header a {
	color: white;
	text-decoration: none;
}

/* メインコンテンツ */

.breadcrumb {
	padding: 0;
	margin-bottom: 10px;
	list-style: none;
}

.breadcrumb li {
	display: inline;
	/*横に並ぶように*/
	list-style: none;
	font-weight: bold;
	/*太字*/
}

.breadcrumb li:after {
	/* >を表示*/
	content: '>';
	padding: 0 0.2em;
	color: #555;
}

.breadcrumb li:last-child:after {
	content: '';
}

.breadcrumb li a {
	text-decoration: none;
	color: blue;
	/*色*/
}

.breadcrumb li a:hover {
	text-decoration: underline;
}

.date_ins {
	font-size: 0.92em;
	text-align: right;
}

/* prev next */

.prev-next-link {
	margin-top: 10px;
	margin-bottom: 10px;
	display: table;
	width: 100%;
}

.prev-next-link p {
	display: inline;
}

.prev-next-link a {
	text-decoration: none;
	color: #000;
}

.prev-next-link a:hover {
	background-color: #f6f6f6;
}

.prev-label {
	font-size: .9rem;
	color: #000;
	text-align: left;
	display: table-cell;
}

.next-label {
	font-size: .9rem;
	color: #000;
	margin-right: 4px;
	text-align: right;
	display: table-cell;
}

.next_text {
	text-align: right;
}

.img_respo {
	/* max-width: 80%; */
	/* height: auto; */
}

.img_respo img {
	/* width: 100%; */
	max-width: 100%;
	height: auto;
}

.tbl_basic1 td:nth-of-type(1) {
	background-color: gray;
	color: white;
	vertical-align: middle;
}

aside.gads_728 {
	max-width: 100%;
	margin-bottom: 10px;
}

aside.gads_resp {
	margin-bottom: 10px;
}






.subcon .viewer {
	width: 100%;
	height: 100vh;
	overflow: auto;
}

.app_header {}

.sentence {
	margin-left: 10px;
}

.hourei_wrap {
	border: 1px solid;
	padding: 4px;
	text-align: left;
	background: white;
}

.hourei_content {
	height: 100vh;
	overflow: auto;
}

h1 {
	background: white;
}

.main_article h1 {
	text-align: center;
}

.article {
	margin-bottom: 10px;
}

.app_header {
	/* position: sticky; */
	/* top: 0; */
	margin: 6px 0 0 0;
	/* height: 80px; */
}

.app_header h1 {
	padding: 0;
	margin: 0;
}

label.header,
span.header {
	margin-right: 1em;
}

.hourei_wrap h1 {
	font-size: 1.5em;
	display: block;
}

.paragraph {
	margin-bottom: 10px;
	text-indent: 1em;
}

.hourei_wrap h2 {
	font-size: 1.3em;
	font-weight: 600;

}

.article .header {
	font-weight: 600;
}

.law_tbar {
	text-align: center;
	margin: 2px 0 2px 0;
}

.side_r {
	text-align: left;
}

.postlinkitem {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dotted;
}

.postlinkitem::before {
	content: "▼";
	color: blue;
}

.page_navi_m {
	width: 100%;
	text-align: right;
}

.page_navi_m a {
	text-decoration: underline;
	margin-left: 6px;
}

a.page_navi_end {
	text-decoration: underline;
	margin-left: 6px;
	cursor: pointer;
}

body {
	height: 100vh;
}

.subwin {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid;
	width: 80vw;
	height: 80vh;
	margin: auto;
	background: white;
	text-align: center;
	z-index: calc(infinfinity);
	overflow: auto;
}

.subwin>.tbar {
	background: navy;
	position: sticky;
	top: 0;
}

.subwin table {
	width: 100%;
}

.subcon {
	padding: 6px;
	padding-left: 10px;
}
.subcon img {
	width: 100%;
	height: 100%;
}
.winmax {
	width: 100vw;
	height: 100vh;
}

.winmax2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
}

figure img {
	cursor: pointer;
}

.side_r img {
	max-width: 100%;
	object-fit: contain;
}

.postlinkitem a {
	margin-bottom: 5px;
}

.main_wrap {
	text-align: left;
}

footer {
	text-align: center;
	margin: 30px 0;
}

/* all */
@media all and (max-width: 400px) {
	body {
		font-size: 0.9em;
	}

	h1 {
		font-size: 1.4em;
	}

	h2 {
		font-size: 1.2em;
	}

	h3 {
		font-size: 1.1em;
	}

	.container {
		width: 98%;
	}

	header .site_name {
		font-size: 1.4em;
	}

	header .description {
		font-size: 0.8em;
	}

	#header_desc span {
		display: none;
	}

	nav.kanren ul,
	.main_article ul {
		width: 80%;
	}

	button {
		font-size: 1em;
		height: 20px;
	}

	.grid_wrap {
		display: block;
	}
}