@charset "UTF-8";

body {
	display: flex;
	flex-direction: column;
}

h1 {
	font-size: 2.4rem;
}

h2, h3, h4 {
	font-size: 2.0rem;
}

div#rightPane::-webkit-scrollbar,
div#leftPane::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

div#rightPane::-webkit-scrollbar-thumb,
div#leftPane::-webkit-scrollbar-thumb {
	border-radius: 0.50rem;
	background-color: #dddddd;
}

/* ----- HEADER ----- */
div#topPane {
	flex-grow: 0;
}

/* ----- MAIN PANE ----- */
div#mainPane {
	height: 10px;
	margin: 0 auto;
	display: flex;
	flex-grow: 1;
	/* overflow: auto; */
	overflow: visible;
}

/* ----- LEFT PANE ----- */
div#leftPane {
	font-size: 1.4rem;
	text-align: left;
	background-color: #EBF5FF;
}

div#leftPane a {
	color: inherit;
	text-decoration: none;
}

div#leftPane a:hover {
	text-decoration: underline;
}

div#leftPane ul li,
div#leftPane ul li ul li,
div#leftPane ul li ul li ul li {
	white-space: nowrap;
	margin: 0 0 1.3rem 1.3rem;
	list-style: none;
}

div#leftPane ul li:first-child,
div#leftPane ul li ul li:first-child,
div#leftPane ul li ul li ul li:first-child {
	margin: 1.3rem 0 1.3rem 1.3rem;
}

div#leftPane .selectedMenu {
	font-weight: bold;
}

/* ----- RIGHT PANE ----- */
div#rightPane {
	font-size: 1.6rem;
	overflow-wrap: break-word;
	word-break: break-word;
}

div#rightPane p {
	line-height: 3.2rem;
	margin-bottom: 4rem;
}

div#rightPane ul,
div#rightPane ol {
	margin-bottom: 4rem;
}

div#rightPane ul b,
div#rightPane ol b {
	margin-bottom: 8px;
	display: inline-block;
}

div#rightPane ul li,
div#rightPane ol li {
	line-height: 3.2rem;
	list-style-position: outside;
	margin-left: 1.8rem;
	margin-bottom: 0.8rem;
}

div#rightPane ul li:has(ul),
div#rightPane ul li:has(ol) {
	list-style: none;
}

div#rightPane ul li ul li {
	font-weight: normal;
}

div#rightPane li strong {
	margin-bottom: 16px;
	display: inline-block;
}

div#rightPane p strong {
	margin-bottom: 0;
}

div#rightPane p:has(strong) {
	margin-bottom: 8px;
}

div#rightPane img[src*='#center'] {
	margin: 0 auto 32px auto;
	display: block;
	border: 1px solid #eeeeee;
}

/* 文中に埋め込むアイコン。reset.css が img を display:block にするため、明示的に戻す。 */
div#rightPane img[src*='#inline'] {
	display: inline;
	vertical-align: text-bottom;
}

div#rightPane a {
	color: #1B5FAB;
}

div#rightBlock {
	max-width: 100%;
}

div#rightPane .buttonGroup {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px 12px;
	margin-top: 6.4rem;
}

/* muiに合わせてリンクボタンのスタイルを設定 */
div#rightPane .buttonGroup a {
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 48px;
	height: 48px;
	padding: 0 24px;
	border-radius: 24px;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

div#rightPane .prevButton {
	background-color: #ffffff;
}

div#rightPane .prevButton {
	color: #262626;
	border: 1px solid #262626;
	-webkit-transition: 0.5s;
		 -moz-transition: 0.5s;
			-ms-transition: 0.5s;
					transition: 0.5s;
}

div#rightPane .prevButton:hover {
	color: #999999;
	border: 1px solid #999999;
	-webkit-transition: 0.5s;
		 -moz-transition: 0.5s;
			-ms-transition: 0.5s;
					transition: 0.5s;
}

div#rightPane .nextButton {
	color: #FFFFFF;
	background-color: #1B5FAB;
	-webkit-transition: 0.5s;
		 -moz-transition: 0.5s;
			-ms-transition: 0.5s;
					transition: 0.5s;
}

div#rightPane .nextButton:hover {
	background-color: #1F71C7;
	-webkit-transition: 0.5s;
		 -moz-transition: 0.5s;
			-ms-transition: 0.5s;
					transition: 0.5s;
}



h1, h2, h3, h4,
div#rightPane p,
div#rightPane table {
	margin-bottom: 4rem;
}

div#rightPane strong {
	font-weight: bold;
}

div#rightPane hr {
	margin: 4rem 0;
	border: 1px dashed #eeeeee;
}

div#rightPane table {
	font-size: 1.4rem;
	width: 100%;
	border:1px solid #ccc;
	border-collapse: collapse;
}

div#rightPane table th,
div#rightPane table td {
	line-height: 2.2rem;
	border: 1px solid #ccc;
	padding: 1.2rem;
}

div#rightPane table thead th {
	background-color: #EBF5FF;;
}

div#rightPane table tbody tr td:first-child,
div#rightPane table tbody tr th {
	background-color: #eeeeee;
}

/* -----------------------------------
	RESPONSIVE SETTINGS
----------------------------------- */
/* BREAKPOINT : 1280px or MORE */
@media screen and (min-width: 1280px) {
	div#mainPane {
		flex-direction: row;
	}

	div#topPane {
		height: calc(58px + 44px);
	}

	div#leftPane {
		height: auto;
		padding: 48px 16px;
		flex-basis: 360px;
		flex-shrink: 0;
		overflow: auto scroll;
	}

	div#rightPane {
		padding: 48px;
		flex-grow: 1;
		flex-basis: 0;
		overflow: hidden scroll;
		border-right: 1px solid #eeeeee;
	}

	div#mainPane {
		width: 1216px;
	}
}

/* BREAKPOINT : 1024px ~ 1279px */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
	div#mainPane {
		flex-direction: row;
	}

	div#topPane {
		height: calc(58px + 44px);
	}

	div#leftPane {
		height: auto;
		padding: 48px 16px;
		flex-basis: 360px;
		flex-shrink: 0;
		overflow: auto scroll;
	}

	div#rightPane {
		padding: 48px;
		flex-grow: 1;
		flex-basis: 0;
		overflow: hidden scroll;
		border-right: 1px solid #eeeeee;
	}

	div#mainPane {
		width: 93%;
	}
}

/* BREAKPOINT : 860px ~ 1023px */
@media screen and (min-width: 860px) and (max-width: 1023px) {
	div#mainPane {
		flex-direction: row;
	}

	div#topPane {
		height: calc(58px + 44px);
	}

	div#leftPane {
		height: auto;
		padding: 48px 16px;
		flex-basis: 360px;
		flex-shrink: 0;
		overflow: auto scroll;
	}

	div#rightPane {
		padding: 48px;
		flex-grow: 1;
		flex-basis: 0;
		overflow: hidden scroll;
		border-right: 1px solid #eeeeee;
	}

	div#mainPane {
		width: 93%;
	}
}

/* BREAKPOINT : 768px ~ 859px */
@media screen and (min-width: 768px) and (max-width: 859px) {
	div#mainPane {
		flex-direction: column;
	}

	div#topPane {
		height: calc(58px + 44px);
	}

	div#leftPane {
		padding: 48px 5%;
		flex-basis: 100%;
		overflow: visible visible;
		order: 2;
	}

	div#rightPane {
		padding: 48px 5%;
		flex-basis: 100%;
		overflow: visible visible;
		border: none;
		order: 1;
	}

	div#mainPane {
		width: 100%;
	}

	div#rightPane::-webkit-scrollbar,
	div#leftPane::-webkit-scrollbar {
		width: 0;
		height: 0;
	}

	div#leftPane ul li,
	div#leftPane ul li ul li,
	div#leftPane ul li ul li ul li {
		white-space: normal;
		word-break: break-word;
	}
}

/* BREAKPOINT : 520px ~ 767px */
@media screen and (min-width: 520px) and (max-width: 767px) {
	div#mainPane {
		flex-direction: column;
	}

	div#topPane {
		height: 58px;
	}

	div#leftPane {
		padding: 48px 8px;
		flex-basis: 100%;
		overflow: visible visible;
		order: 2;
	}

	div#rightPane {
		padding: 48px 20px;
		flex-basis: 100%;
		overflow: visible visible;
		border: none;
		order: 1;
	}

	div#mainPane {
		width: 100%;
	}

	div#rightPane::-webkit-scrollbar,
	div#leftPane::-webkit-scrollbar {
		width: 0;
		height: 0;
	}

	div#leftPane ul li,
	div#leftPane ul li ul li,
	div#leftPane ul li ul li ul li {
		font-size: 1.6rem;
		white-space: normal;
		word-break: break-word;
	}
}

/* BREAKPOINT : 519px or LESS */
@media screen and (max-width: 519px) {
	div#mainPane {
		flex-direction: column;
	}

	div#topPane {
		height: 58px;
	}

	div#leftPane {
		padding: 48px 8px;
		flex-basis: 100%;
		overflow: visible visible;
		order: 2;
	}

	div#rightPane {
		padding: 48px 20px;
		flex-basis: 100%;
		overflow: visible visible;
		border: none;
		order: 1;
	}

	div#mainPane {
		width: 100%;
	}

	div#rightPane::-webkit-scrollbar,
	div#leftPane::-webkit-scrollbar {
		width: 0;
		height: 0;
	}

	div#leftPane ul li,
	div#leftPane ul li ul li,
	div#leftPane ul li ul li ul li {
		font-size: 1.4rem;
		white-space: normal;
		word-break: break-word;
	}
}