/**
 * 説明会・イベントページの共通見出しと次回開催案内を管理する。
 *
 * 開催日程や体験カードの詳細レイアウトは同ディレクトリの機能別CSSへ分離し、
 * このファイルでは各セクションの見出し軸とページ冒頭の開催案内だけを定義する。
 */

.page-events {
	background: #fff;
}

.events-section-head {
	max-width: 780px;
	margin: 0 auto 46px;
	text-align: center;
}

.events-section-head .accent-line {
	margin-inline: auto;
}

.events-section-head--left {
	max-width: none;
	margin: 0 0 34px;
	text-align: left;
}

.events-section-head--left .accent-line {
	margin-inline: 0;
}

.next-event {
	padding: 102px 0;
	background: #fff;
}

.online-briefing-banner {
	margin: 0 auto 30px;
	padding: 24px 28px;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) auto;
	align-items: center;
	gap: 22px;
	background: linear-gradient(135deg, rgba(239, 120, 188, .030), #fff);
	border: 1px solid rgba(239, 120, 188, 0.95);
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(158, 83, 105, 0.07);
}

.online-briefing-banner__icon {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	color: #ef78bc;
	background: var(--rose-pale);
	border-radius: 50%;
}

.online-briefing-banner__icon svg {
	width: 29px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.online-briefing-banner__copy p {
	margin: 0 0 5px;
	color: var(--rose);
	font-family: Georgia, serif;
	font-size: 10px;
	letter-spacing: 0.2em;
}

.online-briefing-banner__copy h3 {
	margin: 0 0 7px;
	color: #9e5369;
	font-family: "Yu Mincho", serif;
	font-size: 23px;
	font-weight: 500;
	letter-spacing: 0.05em;
}

.online-briefing-banner__copy > span {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.8;
}

.online-briefing-banner > .btn {
	min-width: 142px;
	white-space: nowrap;
}

.next-event__card {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) 200px;
	overflow: hidden;
	min-height: 330px;
	background: #fff;
	border: 1px solid rgba(239, 120, 188, 0.95);
	border-radius: 22px;
	box-shadow: 0 20px 50px rgba(158, 83, 105, 0.1);
	transition:
		transform var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		box-shadow var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		border-color var(--shs-hover-lift-duration) var(--shs-hover-lift-ease);
}

.next-event__card:hover {
	transform: translateY(var(--shs-hover-card-lift-distance));
	border-color: #ef78bc;
	box-shadow: 0 26px 58px rgba(158, 83, 105, 0.14);
}

.next-event__date {
	position: relative;
	display: grid;
	place-content: center;
	text-align: center;
	color: #fff;
	background: linear-gradient(160deg, #9e5369, #9e5369);
	transform: scale(1);
	transform-origin: center;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.next-event__date::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
	transform: translateX(-130%);
	transition: transform 0.55s ease;
}

.next-event__card:hover .next-event__date {
	transform: scale(1.035);
	filter: saturate(1.04);
}

.next-event__card:hover .next-event__date::after {
	transform: translateX(130%);
}

.next-event__date span,
.next-event__date strong {
	font-family: Georgia, serif;
	font-weight: 400;
	line-height: 0.9;
}

.next-event__date span {
	font-size: 52px;
}

.next-event__date strong {
	margin-top: 16px;
	font-size: 70px;
}

.next-event__date small {
	margin-top: 24px;
	font-family: Georgia, serif;
	font-size: 16px;
	letter-spacing: 0.16em;
}

.next-event__content {
	align-self: center;
	padding: 40px 46px;
}

.next-event__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.event-category {
	display: inline-flex;
	padding: 6px 15px;
	color: #ef78bc;
	background: var(--rose-pale);
	border: 1px solid rgba(158, 83, 105, 0.22);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.event-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 27px;
	padding: 3px 11px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	white-space: nowrap;
}

.event-status--open {
	color: #3a9a62;
	background: #f5fff8;
}

.event-status--few {
	color: #dd8c2e;
	background: #fff9ee;
}

.event-status--closed {
	color: #9b8f95;
	background: #f7f5f6;
}

.next-event__content h3 {
	margin: 22px 0 18px;
	color: #9e5369;
	font-family: "Yu Mincho", serif;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 500;
	letter-spacing: 0.08em;
}

.next-event__meta {
	margin: 0 0 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.next-event__meta div {
	display: flex;
	gap: 8px;
}

.next-event__meta dt {
	color: #ef78bc;
	font-size: 11px;
	font-weight: 700;
}

.next-event__meta dd {
	margin: 0;
	color: var(--ink);
	font-size: 12px;
}

.next-event__content > p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.9;
}

.next-event__actions {
	padding: 42px 22px;
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	background: #fff9fb;
	border-left: 1px solid var(--line);
}

.next-event__actions .btn {
	width: 100%;
	min-width: 0;
	padding-inline: 16px;
	white-space: nowrap;
}

.next-event__actions .btn[aria-disabled="true"] {
	opacity: 0.52;
	pointer-events: none;
}

.next-event__empty {
	padding: clamp(30px, 5vw, 52px);
	color: var(--muted);
	text-align: center;
	background: #fffafc;
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: 0 20px 55px rgba(158, 83, 105, 0.08);
}
