@charset "UTF-8";

.event {
	border-bottom: 1px solid #ccc;
	padding-bottom: 50px;
	margin-bottom: 50px;
}

.event_update {
	margin-bottom: 3px;
}

.event_update>time {}

.event_title {
	font-size: 20px;
	line-height: 1.4;
	margin-bottom: 14px;
}

.event_text {
	margin-bottom: 1em;
}

.event_text:last-child {
	margin-bottom: 0;
}

.event_table {}

.event_table>tbody {}

.event_table>tbody>tr {}

.event_table>tbody>tr:first-child {}

.event_table>tbody>tr:last-child {}

.event_table>tbody>tr>th {
	white-space: nowrap;
}

.event_table>tbody>tr>td {}

/* イベントの画像（チラシ・写真）。クリックで原寸を別タブ表示 */
.event_images {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 24px;
	list-style: none;
	padding: 0;
}

.event_images>li {
	width: calc((100% - 20px) / 2);
	max-width: 420px;
}

.event_images>li:only-child {
	width: 100%;
}

.event_images img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #ddd;
}

.event:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.eventNav {
	display: flex;
	justify-content: space-between;
}

.eventNav-top {
	margin-bottom: 20px;
}

/* 年月ナビ（表示年の12か月。イベントのある月を目立たせる） */
.eventMonths {
	border: 1px solid var(--t-border);
	border-radius: 8px;
	background: #fff;
	padding: 14px 16px 12px;
	margin-bottom: 20px;
}

.eventMonths_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.eventMonths_current {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
	color: var(--t-green);
}

.eventMonths_year {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 96px;
	height: 34px;
	padding: 0 12px;
	border: 1px solid var(--t-border);
	border-radius: 17px;
	background: #fff;
	color: var(--t-green);
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	z-index: 1;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.eventMonths_year::before {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	border: 1px solid currentColor;
	border-top: none;
	border-right: none;
	transform: rotate(45deg);
	margin-right: 8px;
}

.eventMonths_year-next::before {
	display: none;
}

.eventMonths_year-next::after {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	border: 1px solid currentColor;
	border-bottom: none;
	border-left: none;
	transform: rotate(45deg);
	margin-left: 8px;
}

/* イベントの無い年は薄く（リンクは残す） */
.eventMonths_year.is-empty {
	color: #aaa;
	border-color: #e6e6e6;
	background: #fafafa;
	font-weight: normal;
}

.eventMonths_list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 6px;
}

.eventMonths_link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	border: 1px solid var(--t-border);
	border-radius: 4px;
	background: #fff;
	color: var(--t-text);
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	position: relative;
	z-index: 1;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

/* イベントのある月: 緑の枠線＋緑文字＋右上にドット */
.eventMonths_link.has-event {
	border-color: var(--t-green);
	color: var(--t-green);
	font-weight: bold;
}

.eventMonths_link.has-event::after {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	top: 4px;
	right: 4px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--t-green);
}

/* イベントの無い月: 薄い灰色（リンクは残す） */
.eventMonths_link.is-empty {
	color: #b5b5b5;
	border-color: #e6e6e6;
	background: #fafafa;
}

/* 表示中の月: 塗り */
.eventMonths_link.is-current {
	background: var(--t-green);
	border-color: var(--t-green);
	color: #fff;
	font-weight: bold;
}

.eventMonths_link.is-current::after {
	background: #fff;
}

.eventMonths_note {
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.5;
	color: #666;
	text-align: right;
}

.eventMonths_note::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--t-green);
	margin-right: 4px;
	position: relative;
	top: -1px;
}

.event_empty {
	padding: 30px 0;
	text-align: center;
	border-top: 1px solid var(--t-border);
	border-bottom: 1px solid var(--t-border);
	margin-bottom: 50px;
}

.eventNav_link {
	width: 200px;
}

.eventNav_link>a {}

.eventNav_link>a::before {
	content: "";
}

.eventNav_link>a::after {
	content: "";
}

@media screen and (min-width:1000px) {
	.eventMonths_year:not(.is-empty):hover,
	.eventMonths_link:not(.is-current):hover {
		background-color: var(--t-green-light);
		border-color: var(--t-green);
		color: var(--t-green);
	}

	.eventMonths_year.is-empty:hover {
		background-color: #f0f0f0;
	}
}

@media screen and (max-width:999px) {
	.eventMonths_list {
		grid-template-columns: repeat(6, 1fr);
	}
}

@media screen and (max-width:767px) {
	.eventMonths {
		padding: 12px 10px 10px;
	}

	.eventMonths_head {
		gap: 8px;
		margin-bottom: 8px;
	}

	.eventMonths_current {
		font-size: 17px;
	}

	.eventMonths_year {
		min-width: 0;
		height: 30px;
		padding: 0 10px;
		font-size: 12px;
	}

	.eventMonths_year::before,
	.eventMonths_year-next::after {
		width: 5px;
		height: 5px;
	}

	.eventMonths_year::before {
		margin-right: 6px;
	}

	.eventMonths_year-next::after {
		margin-left: 6px;
	}

	/* 6列×2行 */
	.eventMonths_list {
		grid-template-columns: repeat(6, 1fr);
		gap: 5px;
	}

	.eventMonths_link {
		height: 38px;
		font-size: 13px;
	}

	.eventMonths_note {
		font-size: 11px;
		text-align: left;
	}

	.event_empty {
		padding: 20px 0;
		margin-bottom: 35px;
	}

	.event {
		border-bottom: none;
		padding-bottom: 0;
		margin-bottom: 35px;
	}

	.event_update {
		font-size: 13px;
	}

	.event_title {
		font-size: 18px;
		margin-bottom: 6px;
	}

	.event_table {
		font-size: 14px;
	}

	.event_table>tbody>tr>th {
		width: auto;
	}

	.event_images {
		gap: 12px;
		margin-top: 16px;
	}

	.event_images>li {
		width: calc((100% - 12px) / 2);
	}

	.eventNav_link {
		width: 48%;
	}
}