@charset "UTF-8";

.items {
	display: flex; 
	flex-wrap: wrap; 
}
.pagination { 
	display: flex; 
	justify-content: center;
	align-items: center;
	margin-top: 2.5em; 
	gap: 1em; 
}
.pagination button { 
	width: 3em; 
	padding: 1em 0;
	cursor: pointer; 
	background: white; 
	border: 1px solid rgb(128,128,128);
	font-size: 100%; 
	line-height: 1; 
}
.pagination .active { 
	background: rgb(102,102,102);
	color: white;
	cursor: default; 
}
.pagination button:disabled {
	cursor: default; 
}
.pagination button:hover:not(.active) {
	background: rgb(238,238,238); 
	color: rgba(51,51,51,0.6); 
	transition: all 0.25s; 
}
.pagination button:first-child,
.pagination button:last-child {
	border: none; 
	background: none; 
}
.pagination button:hover:first-child,
.pagination button:hover:last-child {
	background: none; 
}
button {
	background: none; 
}
.category {
	margin-top: 2em; 
	padding: 1em; 
	background: white; 
	border: solid 2px rgb(128,128,128); 
}
.filters {
  	display: flex; 
	flex-wrap: wrap; 
	justify-content: flex-start; 
	align-items: center;
	line-height: 2; 
}
.filters label {
	display: inline;
	margin-right: 2em; 
}
.filters [type="checkbox"] {
	vertical-align: middle;
	width: 1.5em;
	height: 1.5em;
	display: inline-block;
	margin-right: 0.5em;
	border: 1px solid rgb(51,51,51);
}
.filters [type="checkbox"]:hover {
	cursor: pointer; 
}
#reset {
	// display: block; 
	display: none; 
	margin: 0 auto; 
	padding: 0.25em 1em; 
	border-radius: 0.5em; 
	border: 0; 
	background: rgb(102,102,102); 
	color: white; 
	font-size: 100%; 
}
#reset:hover {
	cursor: pointer; 
	opacity: 0.6; 
	transition: opacity 0.25s;
}
table {
	width: 100%; 
	border-collapse:  collapse;
	border-spacing: 0;
	line-height: 1.6; 
}
td {
	padding: 0.5em; 
	border: solid 1px rgb(51,51,51); 
}
tr td:first-of-type {
	white-space: nowrap; 
	background: rgb(240,238,240); 
}
/* カコミ数字 */
.number {
	margin-right: 0.25em; 
	padding: 0.375em 0.5em; 
	background: rgb(0,151,224); 
	color: white;
	border: solid 1px white; 
	font-size: 0.9em; 
	line-height: 1;
}
/* 2コラムマージン調整（新ネタonly） */
.column {
	justify-content: center; 
}
.column .col2 {
	margin: 3% 0 0; 
}
.column .col2:first-child {
	margin-top: 3%; 
}
@media only screen and (min-width: 961px) { 
.column {
	justify-content: space-between; 
	}
.column .col2:nth-child(n+1):nth-child(-n+2) {
	margin-top: 3%; 
	}
}
/* モーダル */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.6);
}
.modal-content {
	position: absolute; 
	left: 50%; 
	top:4em;
	transform: translate(-50%, 0);
	background-color: white;
	padding: 2em;
	border-radius: 1em;
	width: 88%;
	max-width: 800px;
}
.close {
	position: absolute;
	color: rgb(51,51,51);
	right: 0;
	top: -1.5em;
	font-size: 3em;
	color: white; 
	cursor: pointer;
}
.close:hover {
	color: rgb(182,182,182);
	transition: all 0.25s;
}
.modal {
	animation: fade-in 0.5s;
	animation-fill-mode: forwards;
}
@keyframes fade-in {
from {
	opacity: 0;
	}
to {
	opacity: 1;
	}
}