@charset "utf-8";

/* ========================================
   イベント一覧ページ
======================================== */

#news .mein-center {
	width: min(100% - 40px, 1100px);
	margin: 0 auto;
	padding-bottom: 100px;
	color: #333;
}


/* ========================================
   パンくず
======================================== */

.event-breadcrumb {
	margin-bottom: 55px;
	font-size: 0.8rem;
	line-height: 1.6;
}

.event-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.event-breadcrumb li {
	margin: 0;
	padding: 0;
	color: #777;
	text-indent: 0;
}

.event-breadcrumb li:not(:last-child)::after {
	margin: 0 10px;
	color: #aaa;
	content: "/";
}

.event-breadcrumb a {
	color: #555;
	text-decoration: none;
}

.event-breadcrumb a:hover,
.event-breadcrumb a:focus-visible {
	text-decoration: underline;
}


/* ========================================
   ページタイトル
======================================== */

.event-page-header {
	margin-bottom: 60px;
	text-align: center;
}

.event-page-label {
	margin: 0 0 8px;
	color: #777;
	font-size: 0.72rem;
	font-weight: bold;
	letter-spacing: 0.18em;
}

.event-page-header h1 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
}

.event-page-lead {
	margin: 24px auto 0;
	color: #555;
	font-size: 1rem;
	line-height: 2;
}


/* ========================================
   イベント情報全体
======================================== */

.event_infomation {
	width: 100%;
	margin: 0;
	padding: 0;
}

.event_list {
	margin-bottom: 35px;
}

.event_list h2 {
	margin: 0;
	padding: 0 0 13px;
	border-bottom: 1px solid #ccc;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.6;
}


/* ========================================
   イベントカード
======================================== */

.event_infomation_list_content {
	display: grid;
	grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
	gap: 40px;
	align-items: flex-start;
	margin: 0;
	padding: 40px 0;
	border-bottom: 1px solid #d8d8d8;
}

.event_infomation_list_content:first-of-type {
	padding-top: 0;
}

.event_infomation_list_content:last-of-type {
	border-bottom: none;
}


/* ========================================
   イベント画像
======================================== */

.event_infomation_list_picture {
	width: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: 5px;
	background-color: #f2f2f2;
}

.event_infomation_list_picture img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 350 / 260;
	object-fit: cover;
}


/* ========================================
   イベント詳細
======================================== */

.event_infomation_list_detail {
	min-width: 0;
	margin: 0;
}

.event_infomation_list_title {
	margin: 0 0 28px;
	padding: 0 0 15px;
	border-bottom: 1px solid #ddd;
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}


/* ========================================
   開催日ごとのまとまり
======================================== */

.event-date-item {
	margin: 0 0 24px;
	padding: 0 0 24px;
	border-bottom: 1px solid #e2e2e2;
}

.event-date-item:last-of-type {
	margin-bottom: 0;
}


/* ========================================
   日程・時間・場所
======================================== */

.event_infomation_list_outline {
	margin: 0;
	padding: 0;
}

.event-outline-row {
	display: grid;
	grid-template-columns: 105px minmax(0, 1fr);
	align-items: start;
	margin: 0 0 9px;
}

.event-outline-row:last-child {
	margin-bottom: 0;
}

.event_infomation_list_outline_label,
.event_infomation_list_outline_detail {
	margin: 0;
	padding: 0;
	line-height: 1.8;
}

.event_infomation_list_outline_label {
	position: relative;
	padding-right: 18px;
	color: #555;
	font-size: 0.92rem;
	font-weight: 700;
	white-space: nowrap;
}

.event_infomation_list_outline_label::after {
	position: absolute;
	top: 0;
	right: 6px;
	color: #aaa;
	content: "｜";
}

.event_infomation_list_outline_detail {
	min-width: 0;
	color: #333;
	font-size: 0.95rem;
	overflow-wrap: anywhere;
}


/* ========================================
   受付状況
======================================== */

.event-status-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 16px 0 0;
}

.event-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 32px;
	padding: 5px 13px;
	border: 1px solid;
	border-radius: 3px;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

/* 受付中 */

.event-status--open {
	border-color: #287a45;
	background-color: #f4fbf6;
	color: #287a45;
}

/* 残りわずか */

.event-status--few {
	border-color: #b06b00;
	background-color: #fff9ee;
	color: #9a5d00;
}

/* 満員 */

.event-status--full {
	border-color: #b12c2c;
	background-color: #fff5f5;
	color: #b12c2c;
}

/* 受付終了 */

.event-status--closed {
	border-color: #777;
	background-color: #f7f7f7;
	color: #666;
}

/* 開催時期未定 */

.event-status--undecided {
	border-color: #777;
	background-color: #f7f7f7;
	color: #666;
}

.event-remaining {
	color: #9a5d00;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.5;
}


/* ========================================
   ボタン共通
======================================== */

.event_infomation_button {
	margin: 18px 0 0;
	padding: 0;
}

.event_infomation_button a,
.event-button-disabled {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 190px;
	min-height: 46px;
	padding: 10px 22px;
	border: 1px solid #333;
	border-radius: 4px;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}


/* ========================================
   予約ボタン
======================================== */

.event_infomation_button a {
	background-color: #fff;
	color: #333;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease;
}

.event_infomation_button a:hover,
.event_infomation_button a:focus-visible {
	background-color: #333;
	color: #fff;
	text-decoration: none;
}


/* ========================================
   予約不可ボタン
======================================== */

.event-button-disabled {
	border-color: #aaa;
	background-color: #f5f5f5;
	color: #888;
	cursor: default;
}


/* ========================================
   詳細ボタン
======================================== */

.event-detail-button {
	margin-top: 28px;
}

.event-detail-button a {
	background-color: #333;
	color: #fff;
}

.event-detail-button a::after {
	margin-left: 10px;
	content: "→";
}

.event-detail-button a:hover,
.event-detail-button a:focus-visible {
	background-color: #fff;
	color: #333;
}


/* ========================================
   イベントがない場合
======================================== */

.event-empty {
	margin: 0 auto;
	padding: 38px 30px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #f8f8f8;
	text-align: center;
}

.event-empty p {
	margin: 0 0 10px;
	line-height: 1.9;
}

.event-empty p:last-child {
	margin-bottom: 0;
}


/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 900px) {

	.event_infomation_list_content {
		grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
		gap: 30px;
	}

	.event-outline-row {
		grid-template-columns: 95px minmax(0, 1fr);
	}

}


/* ========================================
   スマートフォン・タブレット縦
======================================== */

@media screen and (max-width: 768px) {

	#news .mein-center {
		width: min(100% - 30px, 1100px);
		padding-bottom: 70px;
	}

	.event-breadcrumb {
		margin-bottom: 40px;
	}

	.event-page-header {
		margin-bottom: 45px;
	}

	.event-page-header h1 {
		font-size: 2rem;
	}

	.event-page-lead {
		margin-top: 18px;
	}

	.event_list {
		margin-bottom: 28px;
	}

	.event_list h2 {
		font-size: 1.2rem;
	}

	.event_infomation_list_content {
		display: block;
		padding: 35px 0;
	}

	.event_infomation_list_content:first-of-type {
		padding-top: 0;
	}

	.event_infomation_list_picture {
		max-width: 520px;
		margin: 0 auto 28px;
	}

	.event_infomation_list_title {
		margin-bottom: 24px;
		font-size: 1.5rem;
	}

}


/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 480px) {

	#news .mein-center {
		width: min(100% - 24px, 1100px);
	}

	.event-page-header {
		text-align: left;
	}

	.event-page-label {
		font-size: 0.68rem;
	}

	.event-page-header h1 {
		font-size: 1.75rem;
	}

	.event-page-lead {
		margin-right: 0;
		margin-left: 0;
		font-size: 0.95rem;
		line-height: 1.8;
	}

	.event_infomation_list_content {
		padding: 30px 0;
	}

	.event_infomation_list_picture {
		margin-bottom: 24px;
		border-radius: 4px;
	}

	.event_infomation_list_title {
		margin-bottom: 20px;
		padding-bottom: 12px;
		font-size: 1.3rem;
	}

	.event-date-item {
		margin-bottom: 22px;
		padding-bottom: 22px;
	}

	.event-outline-row {
		grid-template-columns: 82px minmax(0, 1fr);
		margin-bottom: 8px;
	}

	.event_infomation_list_outline_label {
		padding-right: 14px;
		font-size: 0.85rem;
	}

	.event_infomation_list_outline_label::after {
		right: 3px;
	}

	.event_infomation_list_outline_detail {
		font-size: 0.92rem;
	}

	.event-status-row {
		gap: 8px;
		margin-top: 14px;
	}

	.event-status {
		font-size: 0.78rem;
	}

	.event-remaining {
		font-size: 0.84rem;
	}

	.event_infomation_button a,
	.event-button-disabled {
		width: 100%;
		min-width: 0;
	}

	.event-detail-button {
		margin-top: 24px;
	}

	.event-empty {
		padding: 26px 18px;
		text-align: left;
	}

	.event-empty p {
		font-size: 0.92rem;
	}

}