﻿main {
	display: flex;
	flex-flow: row;
	padding-top: 2.5rem;
	padding-bottom: 3rem;
}

#contents {
	width: 100%;
	max-width: 100%;
	padding: 0 5%;
	display: flex;
	flex-flow: column;
	overflow: hidden;
	align-items: flex-start;
}

#contents h1 {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid var(--exclusive-black);
}

#contents>*:not(h1) {
	margin-left: 5%;
	margin-right: 5%;
}

#contents img {
	width: fit-content;
	height: auto;
	/*filter: brightness(50%);*/
	max-width: 90%;
	max-height: 60vh;
	margin: 20px auto;
}

#sidebar-right {
	width: 20%;
	min-width: 20%;
	max-width: 20%;
	margin: 20px 0;
	padding: 15px;
	border-left: solid 1px var(--exclusive-black);
}

main a,
main a:visited {
	color: white;
	text-decoration: underline;
}

table * {
	background-color: white;
}

table,
th,
td,
th::before,
th::after {
	border-style: solid;
	border-color: white;
	border-width: 0;
}

table {
	margin-top: 16px;
	border-collapse: collapse;
	border-width: 1px;
	overflow: auto;
}

thead th {
	border-bottom-width: 1px;
}

thead th:first-child,
tbody th {
	border-right-width: 1px;
}

.thick-frame {
	border-width: 2px;
}

.horizontal-line tbody th,
.horizontal-line tbody td {
	border-bottom-width: 1px;
}

.vertical-line thead th:not(:last-child),
.vertical-line tbody td:not(:last-child) {
	border-right-width: 1px;
}

.thick-horizontal-head thead th {
	border-bottom-width: 2px;
}

.thick-vertical-head thead th:first-child,
.thick-vertical-head tbody th {
	border-right-width: 2px;
}

.thick-horizontal-line tbody th,
.thick-horizontal-line tbody td {
	border-bottom-width: 2px;
}

.thick-vertical-line thead th:not(:last-child),
.thick-vertical-line tbody td:not(:last-child) {
	border-right-width: 2px;
}

.scroll-box.fix-head table {
	border-left-width: 0;
}

.scroll-box.fix-head thead th:first-child,
.scroll-box.fix-head tbody th {
	border-right-width: 0;
}

.scroll-box.fix-head thead th:first-child,
.scroll-box.fix-head tbody th {
	position: sticky;
	left: 0;
	border-left-width: 0;
	border-right-width: 0;
}

.scroll-box.fix-head thead th:first-child::before,
.scroll-box.fix-head tbody th::before,
.scroll-box.fix-head thead th:first-child::after,
.scroll-box.fix-head tbody th::after {
	content: '';
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

.scroll-box.fix-head thead th:first-child::before,
.scroll-box.fix-head tbody th::before {
	left: 0;
	border-left-width: 1px;
}

.scroll-box.fix-head thead th:first-child::after,
.scroll-box.fix-head tbody th::after {
	left: -1px;
	border-right-width: 1px;
}

.scroll-box.fix-head .thick-frame thead th:first-child::before,
.scroll-box.fix-head .thick-frame tbody th::before {
	left: 0;
	border-left-width: 2px;
}

.scroll-box.fix-head .thick-vertical-head thead th:first-child::after,
.scroll-box.fix-head .thick-vertical-head tbody th::after {
	left: -2px;
	border-right-width: 2px;
}

/* モニタ */
@media (min-width: 1441px) {}

/* 小型ノートパソコン */
@media(max-width: 950px) {}

/* タブレット */
@media(max-width: 768px) {

	#sidebar-left,
	#sidebar-right {
		display: none;
	}

	#contents {
		padding: 0 8%;
	}
}

/* スマートフォン */
@media(max-width: 765px) {}