#archive-event {
	max-width: 1200px;
	padding: 0 1em;
	margin-left: auto;
	margin-right: auto;
	.categories {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
		gap: 1em;
		margin-top: 3em;
		list-style-type: none;
		padding: 0;
		@media screen and (max-width: 768px) {
			margin-top: 1em;
		}
		a {
			background-color: #fff;
			text-decoration: none;
			display: block;
			border: 1px solid;
			border-radius: 9999px;
			padding: 0.4em;
			cursor: pointer;
			text-align: center;
			width: 8em;
			flex-wrap: wrap;
			border-color: var(--main_color);
			color: var(--main_color);
			&:hover {
				background-color: var(--main_color);
				opacity: 1;
				color: #fff;
			}
			@media screen and (max-width: 768px) {
				width: auto;
			}
		}
		li.selected a {
			background-color: var(--main_color);
			color: #fff;
		}
		@media screen and (max-width: 768px) {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			gap: 1em;
		}
	}
	.posts {
		grid-template-columns: repeat(4, 1fr);
		gap: 2em;
		margin-top: 2em;
		margin-bottom: 3em;
		display: grid;
		@media screen and (max-width: 768px) {
			grid-template-columns: repeat(2, 1fr);
			gap: 1em;
		}
		.item {
			background-image: url("../images/front-page/event-item.png");
			box-shadow: 0.2em 0.2em 0.2em 0 rgba(0,0,0,0.25);
		}
		.thumbnail {
			margin: 0;
			a {
				position: relative;
				display: block;
				padding-top: 70%;
				overflow: hidden;
			}
			img {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				object-fit: cover;
				object-position: center;
				transform-origin: center;
				transition-property: all;
				transition-duration: 0.3s;
				&:hover {
					transform: scale(1.1);
				}
			}
		}
		.text {
			padding: 1em;
		}
		.held {
			display: flex;
			align-items: center;
			gap: 1em;
			line-height: 1.5em;
			margin: 0;
			font-size: calc( 14 / var(--root-font-size) * 1rem );
			@media screen and (max-width: 768px) {
				flex-direction: column;
				gap: 0.5em;
				align-items: flex-start;
			}
			dt {
				background-color: #63a9e9;
				color: #fff;
				padding: 0.2em 0.4em;
			}
			dd {
				flex: 1;
				margin: 0;
				p {
					margin: 0;
					display: inline-block;
					background: repeating-linear-gradient(transparent 0, transparent 0.75em, #E1F0FF 0.75em, #E1F0FF 1.5em)
				}
			}
		}
		.category {
			padding: 0.2em;
			display: inline-block;
			width: 6em;
			color: #fff;
			text-align: center;
			font-size: calc( 13 / var(--root-font-size) * 1rem );
			border-radius: 9999px;
			margin: 1em 0;
		}
		.seminar {
			background-color: #cc528b;
		}
		.event {
			background-color: #A0C238;
		}
		.consult {
			background-color: #0074DF;
		}
		.title {
			text-decoration: none;
			margin-top: 0;
			margin-bottom: 0.5em;
			line-height: 1.5em;
		}
	}
}