/* =========================
	団委員長メッセージ
========================= */

.hcm-section,
.hcm-archive-page {
	--hcm-green: #10291f;
	--hcm-gold: #c9953f;
	--hcm-cream: #fbf7ee;
	--hcm-muted: #6e7a72;
	--hcm-text: #23312b;
	color: var(--hcm-text);
	font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

.hcm-section {
	padding: 96px 0;
	background:
		radial-gradient(circle at top left, rgba(201, 149, 63, 0.10), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #fbf7ee 100%);
}

.hcm-section .hino-container,
.hcm-archive-page .hino-container {
	width: min(1120px, calc(100% - 40px));
	max-width: 1120px;
	margin: 0 auto;
}

.hcm-section .hino-message-profile {
	margin: 0 auto;
	padding: 46px;
	border: 1px solid rgba(201, 149, 63, 0.22);
	border-radius: 32px;
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(16, 41, 31, 0.10);
}

.hcm-section .hino-message-profile-head {
	margin-bottom: 28px;
}

.hcm-section .hino-kicker,
.hcm-archive-page .hino-kicker {
	margin: 0 0 14px;
	color: var(--hcm-gold);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.hcm-section .hino-message-profile-head h2 {
	margin: 0;
	color: var(--hcm-green);
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.45;
	letter-spacing: 0.04em;
}

.hcm-section .hino-message-profile-body {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	padding-top: 28px;
	border-top: 1px solid rgba(16, 41, 31, 0.12);
}

.hcm-section .hino-message-profile-photo {
	width: 300px;
	max-width: 300px;
	border-radius: 22px;
	box-shadow: 0 18px 45px rgba(16, 41, 31, 0.14);
	overflow: hidden;
}

.hcm-section .hino-message-profile-photo img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.hcm-section .hino-message-profile-text p {
	margin: 0 0 14px;
	color: #4f5f57;
	font-size: 16px;
	line-height: 1.95;
}

.hcm-section .hino-message-profile-text p:last-child {
	margin-bottom: 0;
}

.hcm-section .hino-message-news {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid rgba(16, 41, 31, 0.12);
}

.hcm-section .hino-message-subtitle {
	margin: 0 0 20px;
	color: var(--hcm-green);
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	font-size: 24px;
	line-height: 1.45;
	letter-spacing: 0.04em;
	border: none !important;
}

.hcm-section .hino-message-subtitle::after {
	content: "";
	display: block;
	width: 280px;
	height: 2px;
	margin-top: 14px;
	background: linear-gradient(90deg, var(--hcm-gold) 0%, rgba(201, 149, 63, 0) 100%);
}

.hcm-section .hino-message-news-list {
	max-width: 720px;
	margin: 0 0 24px;
	padding: 26px 34px;
	border: 1px solid rgba(201, 149, 63, 0.22);
	border-radius: 20px;
	background: var(--hcm-cream);
}

.hcm-message-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hcm-message-list li {
	margin: 0;
	border-bottom: 1px solid rgba(16, 41, 31, 0.12);
}

.hcm-message-list li:last-child {
	border-bottom: none;
}

.hcm-message-list a {
	display: grid;
	grid-template-columns: 112px minmax(240px, 1fr);
	gap: 20px;
	align-items: center;
	padding: 10px 0;
	color: var(--hcm-green);
	text-decoration: none;
}

.hcm-message-list a:hover {
	color: #8a5a2f;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.hcm-message-date {
	color: var(--hcm-gold);
	font-family: "Times New Roman", serif;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 0.04em;
}

.hcm-message-title {
	font-size: 15px;
	font-weight: 900;
	line-height: 1.7;
}

.hcm-message-empty {
	margin: 0;
	color: var(--hcm-muted);
	font-size: 14px;
	line-height: 1.8;
	text-align: center;
}

.hcm-section .hino-message-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 18px;
	margin-top: 22px;
}

.hcm-section .hino-message-links p {
	margin: 0;
}

.hcm-section .hino-message-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border: 1px solid rgba(201, 149, 63, 0.34);
	border-radius: 999px;
	background: #ffffff;
	color: var(--hcm-green);
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(16, 41, 31, 0.08);
}

.hcm-section .hino-message-links a::before {
	content: "\25B6";
	margin-right: 8px;
	color: var(--hcm-gold);
	font-size: 11px;
}

/* =========================
	団委員長メッセージ 一覧ページ
========================= */

.hcm-archive-page {
	background:
		radial-gradient(circle at top left, rgba(201, 149, 63, 0.10), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #fbf7ee 100%);
}

.hcm-archive-hero {
	padding: 86px 0 64px;
	background:
		radial-gradient(circle at 18% 20%, rgba(201, 149, 63, 0.25), transparent 28%),
		linear-gradient(135deg, #071711 0%, #123426 56%, #071711 100%);
	color: #ffffff;
	text-align: center;
}

.hcm-archive-hero h1 {
	margin: 0;
	color: #ffffff;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.45;
	letter-spacing: 0.05em;
}

.hcm-archive-hero p:not(.hino-kicker) {
	max-width: 760px;
	margin: 22px auto 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 2;
}

.hcm-archive-section {
	padding: 72px 0 96px;
}

.hcm-archive-card {
	padding: 42px;
	border: 1px solid rgba(201, 149, 63, 0.22);
	border-radius: 32px;
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(16, 41, 31, 0.10);
}

.hcm-archive-list {
	display: grid;
	gap: 18px;
}

.hcm-archive-item {
	margin: 0;
	padding: 0;
}

.hcm-archive-item a {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr) auto;
	gap: 18px 26px;
	align-items: center;
	padding: 22px 24px;
	border: 1px solid rgba(201, 149, 63, 0.20);
	border-radius: 20px;
	background: #fbf7ee;
	color: var(--hcm-green);
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hcm-archive-item a:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 42px rgba(16, 41, 31, 0.10);
}

.hcm-archive-item time {
	color: var(--hcm-gold);
	font-family: "Times New Roman", serif;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 0.04em;
}

.hcm-archive-item h2 {
	margin: 0;
	color: var(--hcm-green);
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	font-size: 20px;
	line-height: 1.55;
	letter-spacing: 0.04em;
}

.hcm-archive-item p {
	grid-column: 2 / 3;
	margin: -8px 0 0;
	color: var(--hcm-muted);
	font-size: 14px;
	line-height: 1.8;
}

.hcm-archive-item span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	min-height: 38px;
	padding: 8px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, #f4c66d 0%, #c9953f 100%);
	color: #1d1708;
	font-size: 13px;
	font-weight: 900;
}

body.post-type-archive-hcm_message .page-header,
body.post-type-archive-hcm_message .page-header_pageTitle,
body.post-type-archive-hcm_message .page-header-title,
body.post-type-archive-hcm_message .archive-header,
body.post-type-archive-hcm_message .archive-title {
	display: none !important;
}

@media screen and (max-width: 900px) {
	.hcm-section .hino-message-profile-body {
		grid-template-columns: 1fr;
	}

	.hcm-section .hino-message-profile-photo {
		width: 300px;
		max-width: 100%;
	}

	.hcm-archive-item a {
		grid-template-columns: 1fr;
	}

	.hcm-archive-item p {
		grid-column: auto;
		margin-top: 0;
	}

	.hcm-archive-item span {
		justify-self: start;
	}
}

@media screen and (max-width: 640px) {
	.hcm-section {
		padding: 72px 0;
	}

	.hcm-section .hino-container,
	.hcm-archive-page .hino-container {
		width: min(100% - 28px, 1120px);
	}

	.hcm-section .hino-message-profile {
		padding: 28px 24px;
		border-radius: 24px;
	}

	.hcm-section .hino-message-profile-head h2 {
		font-size: 28px;
	}

	.hcm-section .hino-message-profile-photo {
		width: 100%;
		max-width: none;
	}

	.hcm-section .hino-message-profile-photo img {
		height: auto;
	}

	.hcm-section .hino-message-profile-body {
		gap: 24px;
		padding-top: 22px;
	}

	.hcm-section .hino-message-profile-text p {
		font-size: 15px;
		line-height: 1.9;
	}

	.hcm-section .hino-message-news {
		margin-top: 22px;
		padding-top: 22px;
	}

	.hcm-section .hino-message-subtitle {
		font-size: 23px;
	}

	.hcm-section .hino-message-subtitle::after {
		width: 220px;
	}

	.hcm-section .hino-message-news-list {
		padding: 20px;
	}

	.hcm-message-list a {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.hcm-section .hino-message-links {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hcm-section .hino-message-links a {
		width: 100%;
	}

	.hcm-archive-hero {
		padding: 72px 0 54px;
		text-align: left;
	}

	.hcm-archive-card {
		padding: 24px;
		border-radius: 24px;
	}

	.hcm-archive-item a {
		padding: 20px;
	}
}
