/* 全般 */
.box_wrapper {
	border: gray;
	border-style: dotted;
	border-width: 1px;
}
header {
	background-color: lightcyan;
	padding: 5px;
}
main {
	background-color: lightcyan;
	padding: 0.5em;
}
div {
	margin: 1em;
	padding: 0.5em;
}
header h1 {
	text-align: center;
}
header h4 {
	text-align: right;
}
h1, h2, h3, h4, h5, ul {
	margin: 0em;
}
h2, h3, h4, h5 {
	font-weight: normal;
}
h2:before {
	content: "〜 ";
}
h2:after {
	content: " 〜";
}
p {
	margin: 0.5em;
}
input, textarea, button {
	display: block;
	margin: 0.5em
}

/* admin */
table, th, td {
	border-style: solid;
	border-width: 1px;
	border-collapse: collapse;
}

/* ハンバーガーメニュー */
#menu-toggle {
	display: none;
}
.menu-wrapper {
	position: relative;
}
.menu-icon {
	width: 40px;
	height: 30px;
	position: fixed;
	top: 20px;
	right: 20px;
	cursor: pointer;
	z-index: 3;
	display: inline-block;
}
.menu-icon span {
	display: block;
	height: 4px;
	margin: 6px 0;
	background: #333;
	border-radius: 2px;
	transition: 0.4s;
}
#menu-toggle:checked + .menu-icon span:nth-child(1) {
	transform: translateY(10px) rotate(45deg);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
	opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
	transform: translateY(-10px) rotate(-45deg);
}
.overlay {
	margin: 0em;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	pointer-events: none;
	transition: 0.4s;
	z-index: 1;
}
#menu-toggle:checked ~ .overlay {
	opacity: 1;
	pointer-events: auto;
}
.menu {
	position: fixed;
	top: 0;
	right: -250px;
	width: 250px;
	height: 100%;
	background: #fff;
	box-shadow: 2px 0 8px rgba(0,0,0,0.2);
	transition: right 0.4s ease;
	z-index: 2;
}
#menu-toggle:checked ~ .menu {
	right: 0;
}
.menu ul {
	list-style: none;
	padding: 60px 20px;
}
.menu li {
	margin: 20px 0;
}
.menu a {
	text-decoration: none;
	color: #333;
	font-size: 1.2rem;
	transition: color 0.3s;
}
.menu a:hover {
	color: #007bff;
}