header {
	> div.header {
		background-color: #a32034;
	}
}
footer.copyright {
	background-color: #a32034;
}
section.title {
	padding: 160px 5% 0 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			> img {
				max-width: 100%;
			}
		}
	}
}

section.informlist {
	padding: 40px 5% 60px 5%;
	> div {
		max-width: 900px;
		margin-inline: auto;
		display: grid;
		grid-template-columns: 1fr 120px;
		column-gap: 50px;
		> div.main {
			margin-top: 20px;
			@media (width < 500px) {
				grid-row: 2/3;
				grid-column: 1/3;
			}
			> div.inform {
				> a {
					padding-block: 18px;
					padding-right: 30px;
					text-decoration: none;
					border-bottom: solid 1px var(--color-accent);
					background-image: url(./image/chevron_right_red.svg);
					background-repeat: no-repeat;
					background-position: right 5px top 50%;
					&[target="_blank"] {
						background-image: url(./image/external_red.svg);
					}
					&:nth-of-type(1) {
						border-top: solid 1px var(--color-accent);
					}
					&:hover {
						opacity: 0.7;
					}
					display: grid;
					grid-template-columns: 110px 1fr;
					column-gap: 10px;
					row-gap: 3px;
					> ce-inform-category {
						grid-row: 1/2;
						grid-column: 1/3;
					}
					> div.date {
						grid-row: 1/2;
						grid-column: 2/3;
						font-size: 0.9rem;
						line-height: 1.2;
						color: #222;
						@media (width < 900px) {
							grid-row: 2/3;
							grid-column: 1/3;
							margin-top: 3px;
						}
					}
					> .subject {
						grid-row: 2/3;
						grid-column: 2/3;
						font-size: 1rem;
						line-height: 1.3;
						color: #222;
						@media (width < 900px) {
							grid-row: 3/4;
							grid-column: 1/3;
						}
					}
					> .body {
						grid-row: 3/4;
						grid-column: 2/3;
						font-size: 0.9rem;
						line-height: 1.3;
						color: #888;
						@media (width < 900px) {
							grid-row: 4/5;
							grid-column: 1/3;
						}
					}
				}
				&:empty + div.empty {
					display: block;
				}
			}
			> div.empty {
				display: none;
				margin-top: 10px;
				font-size: 0.9rem;
				line-height: 100%;
				color: #666;
				font-weight: 300;
				background-color: #eee;
				padding: 50px;
				text-align: center;
			}
			> ul.pagination {
				user-select: none;
				margin-top: 40px;
				display: flex;
				justify-content: center;
				flex-wrap: wrap;
				> li {
					margin: 5px;
					> a {
						display: block;
						background-color: #555;
						font-size: 1rem;
						line-height: 100%;
						color: #fff;
						font-family: Arial;
						font-weight: 700;
						padding: 8px 12px;
						cursor: pointer;
						&.active {
							color: #fff;
							background-color: var(--color-accent);
						}
					}
				}
			}
		}
		> div.side {
			@media (width < 500px) {
				grid-row: 1/2;
				grid-column: 1/3;
			}
			> figure {
				> img {}
			}
			> div.category {
				margin-top: 5px;
				margin-bottom: 15px;
				@media (width < 500px) {
					display: flex;
					flex-wrap: wrap;
					column-gap: 10px;
					margin-bottom: 0px;
				}
				> label {
					user-select: none;
					display: block;
					font-size: 1rem;
					line-height: 1;
					color: #222;
					cursor: pointer;
					padding-block: 13px;
					border-top: dashed 2px #ccc;
					&:nth-of-type(1) {
						border-top: none;
					}
					@media (width < 500px) {
						border-top: none;
						padding-block: 5px;
					}
					&:hover {
						opacity: 0.7;
					}
					&:has(> input:checked) {
						color: var(--color-accent);
					}
					> input {
						display: none;
					}
				}
			}
			> div.year {
				margin-top: 5px;
				@media (width < 500px) {
					display: flex;
					flex-wrap: wrap;
					column-gap: 10px;
				}
				> label {
					user-select: none;
					display: block;
					font-size: 1rem;
					line-height: 1;
					color: #222;
					cursor: pointer;
					padding-block: 13px;
					border-bottom: dashed 2px #ccc;
					@media (width < 500px) {
						border-bottom: none;
						padding-block: 5px;
					}
					&:hover {
						opacity: 0.7;
					}
					&:has(> input:checked) {
						color: var(--color-accent);
					}
					> input {
						display: none;
					}
				}
			}
		}
	}
}

section.informnav {
	padding: 40px 5% 0 5%;
	> div {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		column-gap: 1px;
		row-gap: 1px;
		> a {
			display: block;
			padding-block: 10px;
			font-size: 1rem;
			line-height: 1;
			color: #fff;
			text-decoration: none;
			width: 200px;
			text-align: center;
			user-select: none;
			&:nth-of-type(1) {
				background-color: var(--color-accent);
			}
			&:nth-of-type(2) {
				background-color: #bdc1ca;
			}
		}
	}
}
section.informuni {
	padding: 50px 3% 120px 3%;
	> div {
		max-width: 800px;
		margin-inline: auto;
		> .inform {
			> .categorydate {
				display: flex;
				flex-wrap: wrap;
				column-gap: 15px;
				> ce-inform-category {
				}
				> .date {
					font-size: 1rem;
					line-height: 1.3;
					color: #777;
				}
			}
			> .subject {
				border-top: solid 3px var(--color-accent);
				margin-top: 10px;
				padding-top: 20px;
				font-size: 1rem;
				line-height: 1.3;
				color: #000;
				font-weight: 700;
			}
			> .body {
				border-top: solid 1px #ccc;
				margin-top: 20px;
				padding-top: 20px;
				font-size: 1rem;
				line-height: 1.7;
				color: #222;
				.divnbsp {
					line-height: 65%;
				}
				a {
					text-decoration: underline;
					color: #00a;
					&:hover {
						opacity: 0.7;
					}
				}
				img {
					max-width: 100%;
				}
			}
			> .attach {
				margin-top: 20px;
				> a {
					text-decoration: none;
					display: inline-flex;
					align-items: center;
					padding: 2px 10px;
					border: solid 1px #aaa;
					border-radius: 3px;
					column-gap: 10px;
					&:hover {
						opacity: 0.7;
					}
					> div {
						font-size: 0.9rem;
						line-height: 1.7;
						color: #222;
					}
					> span {
						font-size: 0.9rem;
						line-height: 1;
						color: #fff;
						background-color: #b54b4b;
						padding: 3px 10px 5px 10px;
						border-radius: 3px;
					}
				}
			}
			> .youtube {
				margin-top: 20px;
				> div {
					position: relative;
					width: 100%;
					height: 0px;
					padding-top: 56.25%;
					> iframe {
						position: absolute;
						left: 0;
						top: 0;
						width: 100%;
						height: 100%;
					}
				}
			}
			> figure {
				margin-top: 20px;
				> img {
					max-width: 100%;
				}
			}
		}
		> .empty {
			display: none;
			margin-top: 10px;
			font-size: 0.9rem;
			line-height: 1;
			color: #666;
			font-weight: 300;
			background-color: #eee;
			padding: 50px;
			text-align: center;
		}
	}
}
