/* ==================================================
	ACJイベント管理
================================================== */

.acjem-event-list,
.acjem-event-list * ,
.acjem-single,
.acjem-single * {
	box-sizing: border-box;
}


/* イベント一覧 */
.acjem-event-list {
	display: grid;
	gap: 14px;
}


/* イベントカード全体 */
.acjem-event-card {
	min-height: 132px;
	display: grid;
	grid-template-columns: 165px minmax(0, 1fr) 150px;
	align-items: stretch;
	overflow: hidden;
	color: #15202b !important;
	background: #ffffff;
	border: 1px solid #dfe5ea;
	box-shadow: 0 12px 28px rgba(4, 31, 59, 0.055);
	text-decoration: none !important;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}


/* カードのホバー */
.acjem-event-card:hover {
	transform: translateY(-4px);
	border-color: rgba(7, 84, 154, 0.38);
	box-shadow: 0 20px 42px rgba(4, 31, 59, 0.12);
}


/* 注目イベント */
.acjem-event-card--featured {
	border-left: 4px solid #c6a15b;
}


/* 日付欄 */
.acjem-event-card-date {
	padding: 24px 26px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #ffffff;
	background: #062f57;
}


/* 西暦 */
.acjem-event-card-date small {
	color: #ead6a8;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
}


/* 月日 */
.acjem-event-card-date strong {
	margin-top: 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1;
}


/* 終了日 */
.acjem-event-card-date em {
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.7);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	font-style: normal;
}


/* イベント本文 */
.acjem-event-card-content {
	padding: 24px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}


/* バッジ一覧 */
.acjem-event-card-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}


/* 区分バッジ */
.acjem-event-card-type,
.acjem-event-card-status {
	width: fit-content;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
}


/* 区分バッジ */
.acjem-event-card-type {
	color: #07549a;
	background: #edf5fb;
}


/* 受付状況 */
.acjem-event-card-status {
	color: #76520b;
	background: #fff3d4;
}


/* 受付終了・中止 */
.acjem-event-card-status--closed,
.acjem-event-card-status--cancelled {
	color: #7b3030;
	background: #f9e8e8;
}


/* イベント名 */
.acjem-event-card-title {
	margin-top: 10px;
	overflow-wrap: anywhere;
	color: #062f57;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}


/* 開催場所 */
.acjem-event-card-venue {
	margin-top: 6px;
	color: #65717d;
	font-size: 13px;
}


/* 詳細ボタン領域 */
.acjem-event-card-action {
	padding: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 1px solid #dfe5ea;
}


/* 詳細ボタン */
.acjem-event-card-action-label,
.acjem-event-card-action-icon {
	transition:
		color 0.25s ease,
		background 0.25s ease,
		transform 0.25s ease,
		border-color 0.25s ease;
}


/* 詳細ボタン全体をカプセル形に見せる */
.acjem-event-card-action {
	gap: 8px;
}


/* 詳細テキスト */
.acjem-event-card-action-label {
	color: #07549a;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}


/* 丸い矢印 */
.acjem-event-card-action-icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	color: #07549a;
	background: #ffffff;
	border: 1px solid rgba(7, 84, 154, 0.34);
	border-radius: 50%;
	font-size: 20px;
	box-shadow: 0 8px 20px rgba(4, 31, 59, 0.08);
}


/* ホバー時の詳細ボタン */
.acjem-event-card:hover .acjem-event-card-action-icon {
	color: #ffffff;
	background: #07549a;
	border-color: #07549a;
	transform: translateX(4px);
}


/* 空表示 */
.acjem-event-empty {
	padding: 34px;
	color: #65717d;
	background: #f7f9fb;
	border: 1px solid #dfe5ea;
	text-align: center;
}

/* ==================================================
	イベント詳細ページ
================================================== */

.acjem-single {
	color: #15202b;
	background: #ffffff;
	font-family:
		"Noto Sans JP",
		"Hiragino Kaku Gothic ProN",
		"Yu Gothic",
		Meiryo,
		sans-serif;
	line-height: 1.8;
}


/* 詳細ページ共通幅 */
.acjem-single-container {
	width: min(1120px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}


/* 詳細ページ上部ナビゲーション */
.acjem-single-page-nav {
	position: relative;
	z-index: 20;
	background: #ffffff;
	border-bottom: 1px solid #dfe5ea;
	box-shadow: 0 6px 18px rgba(4, 31, 59, 0.06);
}


/* 上部ナビの内側 */
.acjem-single-page-nav-inner {
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}


/* HOMEへ戻る */
.acjem-single-home-link {
	flex: 0 0 auto;
	min-height: 40px;
	padding: 9px 17px;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #ffffff !important;
	background: #062f57;
	border-radius: 999px;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	transition:
		transform 0.22s ease,
		background 0.22s ease;
}


/* HOMEボタンのホバー */
.acjem-single-home-link:hover {
	transform: translateX(-3px);
	background: #07549a;
}


/* 管理画面メニュー */
.acjem-single-page-menu {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
	list-style: none;
}


/* WordPressメニューの余白を解除 */
.acjem-single-page-menu li {
	margin: 0;
	padding: 0;
}


/* メニューリンク */
.acjem-single-page-menu a {
	min-height: 40px;
	padding: 9px 14px;
	display: inline-flex;
	align-items: center;
	color: #062f57 !important;
	border-radius: 999px;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	transition:
		color 0.22s ease,
		background 0.22s ease;
}


/* メニューホバー */
.acjem-single-page-menu a:hover,
.acjem-single-page-menu .current-menu-item > a {
	color: #07549a !important;
	background: #edf5fb;
}


/* 上部ヒーロー */
.acjem-single-hero {
	padding: 82px 0;
	color: #ffffff;
	background:
		linear-gradient(
			135deg,
			#041f3b 0%,
			#07549a 100%
		);
}


/* 上部の横並び */
.acjem-single-hero-inner {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	align-items: center;
	gap: 52px;
}


/* 日付カード */
.acjem-single-date {
	min-height: 176px;
	padding: 30px 26px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
}


/* 西暦 */
.acjem-single-date span {
	color: #ead6a8;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.15em;
}


/* 月日 */
.acjem-single-date strong {
	margin-top: 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 50px;
	font-weight: 500;
	line-height: 1;
}


/* 終了日 */
.acjem-single-date small {
	margin-top: 15px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
}


/* バッジ一覧 */
.acjem-single-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}


/* 区分・受付状況 */
.acjem-single-type,
.acjem-single-status {
	padding: 5px 13px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}


/* 区分 */
.acjem-single-type {
	color: #062f57;
	background: #ead6a8;
}


/* 受付状況 */
.acjem-single-status {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.16);
}


/* 英字小見出し */
.acjem-single-kicker {
	margin: 18px 0 0;
	color: #ead6a8;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
}


/* イベントタイトル */
.acjem-single-heading h1 {
	margin: 12px 0 0;
	color: #ffffff;
	font-family:
		"Yu Mincho",
		"Hiragino Mincho ProN",
		serif;
	font-size: clamp(30px, 4vw, 50px);
	font-weight: 600;
	line-height: 1.45;
}


/* 開催場所 */
.acjem-single-venue {
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.72);
}


/* 本文エリア */
.acjem-single-body {
	padding: 72px 0 96px;
	background: #f7f8fa;
}


/* 開催概要カード */
.acjem-single-overview {
	padding: 42px;
	background: #ffffff;
	border-top: 4px solid #c6a15b;
	box-shadow: 0 18px 44px rgba(4, 31, 59, 0.08);
}


/* セクション英字 */
.acjem-single-overview-heading p,
.acjem-single-detail-heading p,
.acjem-single-documents-heading p {
	margin: 0 0 6px;
	color: #c6a15b;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
}


/* セクション見出し */
.acjem-single-overview-heading h2,
.acjem-single-detail-heading h2,
.acjem-single-documents-heading h3 {
	margin: 0;
	color: #062f57;
	font-family:
		"Yu Mincho",
		"Hiragino Mincho ProN",
		serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.4;
}


/* 開催概要グリッド */
.acjem-single-overview-grid {
	margin: 30px 0 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #dfe5ea;
	border-left: 1px solid #dfe5ea;
}


/* 開催概要1項目 */
.acjem-single-overview-grid > div {
	min-width: 0;
	padding: 22px;
	border-right: 1px solid #dfe5ea;
	border-bottom: 1px solid #dfe5ea;
}


/* 項目名 */
.acjem-single-overview-grid dt {
	color: #77838e;
	font-size: 11px;
	font-weight: 700;
}


/* 内容 */
.acjem-single-overview-grid dd {
	margin: 7px 0 0;
	overflow-wrap: anywhere;
	color: #062f57;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.65;
}


/* 宿泊先・参加資格・注意事項 */
.acjem-single-guidance {
	margin-top: 30px;
	display: grid;
	gap: 14px;
}


/* 案内1件 */
.acjem-single-guidance-item {
	padding: 24px 26px;
	background: #f7f8fa;
	border-left: 4px solid #07549a;
}


/* 注意事項 */
.acjem-single-guidance-item--notice {
	background: #fffaf0;
	border-left-color: #c6a15b;
}


/* 案内英字 */
.acjem-single-guidance-item > p {
	margin: 0 0 5px;
	color: #c6a15b;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
}


/* 案内見出し */
.acjem-single-guidance-item h3 {
	margin: 0;
	color: #062f57;
	font-size: 18px;
	font-weight: 700;
}


/* 案内本文 */
.acjem-single-guidance-item > div {
	margin-top: 10px;
	overflow-wrap: anywhere;
	color: #33414f;
	font-size: 14px;
	line-height: 1.85;
}


/* イベントURL・申込ボタン欄 */
.acjem-single-entry-actions {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}


/* 共通ボタン */
.acjem-single-button {
	min-height: 54px;
	padding: 13px 25px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 700;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		background 0.22s ease;
}


/* 申込ボタン */
.acjem-single-button--primary {
	color: #ffffff !important;
	background: #062f57;
}


/* イベント公式ページボタン */
.acjem-single-button--secondary {
	color: #062f57 !important;
	background: #ffffff;
	border: 1px solid #062f57;
}


/* ボタンホバー */
.acjem-single-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(4, 31, 59, 0.12);
}


/* 関連資料 */
.acjem-single-documents {
	margin-top: 38px;
	padding-top: 32px;
	border-top: 1px solid #dfe5ea;
}


/* 資料見出し */
.acjem-single-documents-heading h3 {
	font-size: 22px;
}


/* 資料一覧 */
.acjem-single-document-list {
	margin-top: 18px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}


/* 資料1件 */
.acjem-single-document {
	min-height: 72px;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	color: #062f57 !important;
	background: #f7f8fa;
	border: 1px solid #dfe5ea;
	text-decoration: none !important;
	transition:
		transform 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease;
}


/* 資料ホバー */
.acjem-single-document:hover {
	transform: translateY(-3px);
	border-color: rgba(7, 84, 154, 0.38);
	box-shadow: 0 12px 24px rgba(4, 31, 59, 0.08);
}


/* 資料タイトル */
.acjem-single-document-title {
	min-width: 0;
	overflow-wrap: anywhere;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.55;
}


/* 資料アイコン */
.acjem-single-document-icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	color: #ffffff;
	background: #07549a;
	border-radius: 50%;
	font-size: 15px;
}


/* 詳細本文 */
.acjem-single-detail {
	margin-top: 36px;
	padding: 42px;
	background: #ffffff;
	box-shadow: 0 18px 44px rgba(4, 31, 59, 0.06);
}


/* 詳細見出し */
.acjem-single-detail-heading {
	margin-bottom: 30px;
}


/* アイキャッチ */
.acjem-single-image {
	margin: 0 0 34px;
}


/* アイキャッチ画像 */
.acjem-single-image img {
	width: 100%;
	height: auto;
	display: block;
}


/* 本文 */
.acjem-single-content {
	max-width: 900px;
	font-size: 16px;
}


/* 本文見出し */
.acjem-single-content h2 {
	margin: 48px 0 20px;
	padding-bottom: 12px;
	color: #062f57;
	border-bottom: 2px solid #dfe5ea;
	font-size: 26px;
}


/* 詳細ページ下部ナビゲーション */
.acjem-single-bottom-nav {
	margin-top: 50px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}


/* 下部ナビボタン */
.acjem-single-bottom-button {
	min-width: 220px;
	min-height: 54px;
	padding: 12px 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 999px;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 700;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		background 0.22s ease;
}


/* HOMEボタン */
.acjem-single-bottom-button--home {
	color: #ffffff !important;
	background: #062f57;
}


/* イベント一覧ボタン */
.acjem-single-bottom-button--events {
	color: #062f57 !important;
	background: #ffffff;
	border: 1px solid #062f57;
}


/* 下部ボタンのホバー */
.acjem-single-bottom-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(4, 31, 59, 0.12);
}


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

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

	.acjem-event-card {
		grid-template-columns: 145px minmax(0, 1fr) 118px;
	}

	.acjem-event-card-action-label {
		display: none;
	}

	.acjem-single-overview-grid,
	.acjem-single-document-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


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

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

	.acjem-event-card {
		grid-template-columns: 105px minmax(0, 1fr);
	}

	.acjem-event-card-date {
		padding: 20px 15px;
	}

	.acjem-event-card-date strong {
		font-size: 21px;
	}

	.acjem-event-card-content {
		padding: 20px 16px 14px;
	}

	.acjem-event-card-title {
		font-size: 16px;
	}

	.acjem-event-card-action {
		grid-column: 2;
		padding: 0 16px 18px;
		justify-content: flex-end;
		border-left: 0;
	}

	.acjem-event-card-action-label {
		display: inline;
	}

	.acjem-event-card-action-icon {
		width: 38px;
		height: 38px;
		font-size: 17px;
	}

	.acjem-single-page-nav {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.acjem-single-page-nav-inner {
		width: max-content;
		min-width: 100%;
		min-height: 62px;
		padding-right: 15px;
		padding-left: 15px;
	}

	.acjem-single-page-menu {
		flex-wrap: nowrap;
	}

	.acjem-single-page-menu a {
		padding-right: 12px;
		padding-left: 12px;
	}

	.acjem-single-container {
		width: calc(100% - 30px);
	}

	.acjem-single-hero {
		padding: 56px 0;
	}

	.acjem-single-hero-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.acjem-single-date {
		min-height: auto;
		padding: 22px;
	}

	.acjem-single-date strong {
		font-size: 40px;
	}

	.acjem-single-heading h1 {
		font-size: 30px;
	}

	.acjem-single-body {
		padding: 52px 0 70px;
	}

	.acjem-single-overview,
	.acjem-single-detail {
		padding: 26px 20px;
	}

	.acjem-single-guidance-item {
		padding: 20px 18px;
	}

	.acjem-single-overview-grid,
	.acjem-single-document-list {
		grid-template-columns: 1fr;
	}

	.acjem-single-overview-heading h2,
	.acjem-single-detail-heading h2 {
		font-size: 24px;
	}

	.acjem-single-content {
		font-size: 15px;
	}

	.acjem-single-button {
		width: 100%;
	}

	.acjem-single-bottom-nav {
		display: grid;
	}

	.acjem-single-bottom-button {
		width: 100%;
		min-width: 0;
	}


}
