/*
 * イベント詳細ページ専用CSS
 * single-re_news（イベントブロックあり）で使用
 */

/* イベントヒーロー */

.c-event-hero {
	margin-bottom: 30px;
}
.c-event-hero-image {
	margin-top: 50px;
}

.c-event-hero-image img {
	width: 100%;
	height: auto;
	display: block;
}

.c-event-hero-content {
	margin: 0 auto;
}

.c-event-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border-radius: 20px;
	font-size: 13px;
	margin-right: 10px;
	color: #393939;
}

.c-event-label-type {
	background: #dadada;
}


.c-event-hero-title {
	font-size: 32px;
	font-weight: bold;
	margin: 0 0 20px 0;
	line-height: 1.4;
}

/* イベントコンテンツ */
.c-event-content {
	margin: 0 auto;
}

.c-event-section {
	margin-bottom: 40px;
}

.c-event-section-title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #000;
}

.c-event-section-body {
	line-height: 1.8;
}

.c-event-table {
	width: 100%;
	border-collapse: collapse;
}

.c-event-table th,
.c-event-table td {
	padding: 15px;
	border: 1px solid #e0e0e0;
	text-align: left;
}

.c-event-table th {
	background: #f5f5f5;
	font-weight: bold;
	width: 180px;
}

.c-event-table td {
	background: #fff;
}

/* 開催情報が複数ブロックの場合、テーブル間の余白 */
.c-event-section-body .c-event-table + .c-event-table {
	margin-top: 1.5em;
}

/* 開催日程・会場（詳細ページ用：.c-event-schedules / .c-event-place を使う場合） */
.c-event-schedules .c-heading-lv2,
.c-event-place .c-heading-lv2 {
	font-size: 1.125rem;
	margin-bottom: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid #e0e0e0;
}
.c-event-schedule-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #e0e0e0;
}
.c-event-schedule-table th,
.c-event-schedule-table td {
	padding: 10px 14px;
	border: 1px solid #e0e0e0;
	text-align: left;
}
.c-event-schedule-table th {
	background: #f5f5f5;
	font-weight: bold;
	width: 50%;
}
.c-event-place-name {
	font-weight: bold;
	margin-bottom: 4px;
}
.c-event-place-address {
	color: #666;
	font-size: 0.95rem;
	margin: 0;
}

.c-event-action {
	text-align: center;
	padding: 40px 0;
}

.c-event-past-notice {
	color: #999;
	font-size: 16px;
}

.c-event-back {
	text-align: center;
	padding-top: 20px;
}

.c-link-back {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #666;
	text-decoration: none;
	transition: color 0.3s;
}

/* イベント詳細用ボタン */
.c-event-content .c-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
}

.c-event-content .c-button-primary {
	background: #0071BC;
	color: #fff;
}

.c-event-content .c-button-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	background: #005a96;
	color: #fff;
}

.c-event-content .c-button-large {
	padding: 16px 32px;
	font-size: 18px;
}

/* イベントヒーロー内の投稿ヘッダー */
.c-event-hero-content .c-post-header {
	margin-bottom: 30px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

	.c-event-hero-title {
		font-size: 24px;
	}

	.c-event-table th {
		width: 80px;
		font-size: 13px;
	}

	.c-event-table th,
	.c-event-table td {
		padding: 10px;
		font-size: 14px;
	}

	.c-event-hero-content .c-post-header {
		flex-wrap: wrap;
		row-gap: 10px;
	}
}
