/**
 * Corporate Event Planning Page Styles (イベント企画事業)
 *
 * Mobile-first: base styles for 400px, desktop overrides via media queries.
 *
 * Font: Noto Sans JP (Regular 400, Bold 700), Reddit Sans (SemiBold 600)
 * Text color: #333333
 * Corporate green: #6BB529
 * Background: #F3F8E7
 * Content width: 1100px (desktop centered)
 *
 * @package Okayama
 */

/* ========================================
   Page Base
   ======================================== */

.page-corporate-event {
	background-color: #f3f8e7;
}

/* ========================================
   Hero Section
   ======================================== */

.event-hero {
	position: relative;
	padding: 40px 20px 0;
	overflow: hidden;
}

.event-hero__inner {
	position: relative;
	z-index: 1;
}

.event-hero__text {
	text-align: center;
	margin-bottom: 24px;
}

.event-hero__title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: #333;
	line-height: 1.6;
	margin: 0 0 2px;
}

.event-hero__subtitle-en {
	font-family: 'Reddit Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #6bb529;
	line-height: 1.6;
	margin: 0;
	text-transform: uppercase;
}

.event-hero__images {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.event-hero__image-wrap {
	width: 172px;
	height: 181px;
	border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
	overflow: hidden;
	border: 2px solid #6bb529;
	flex-shrink: 0;
}

.event-hero__image-wrap--right {
	border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
}

.event-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.event-hero__decoration {
	position: absolute;
	top: -40px;
	right: -60px;
	width: 300px;
	pointer-events: none;
	z-index: 0;
}

.event-hero__decoration-img {
	width: 100%;
	height: auto;
}

/* ========================================
   Content Cards Wrapper
   ======================================== */

.event-content {
	padding: 80px 20px 0;
}

/* ========================================
   Event Category (Bordered Sections)
   ======================================== */

.event-category {
	border: 1px solid #d9d9d9;
	border-radius: 10px;
	padding: 20px 16px;
	margin-top: 24px;
}

.event-category__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.event-category__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #6bb529;
	flex-shrink: 0;
}

.event-category__title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #333;
	line-height: 1.6;
	margin: 0;
}

.event-category__subtitle {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #333;
	line-height: 1.6;
	margin: 0 0 8px;
}

.event-category__text {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #333;
	line-height: 2;
	margin: 0 0 16px;
}

/* Photos Grid */
.event-category__photos {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.event-category__photo-item {
	margin: 0;
}

.event-category__photo-img {
	width: 100%;
	height: auto;
	aspect-ratio: 288 / 157;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

.event-category__photo-caption {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #333;
	line-height: 1.7;
	text-align: center;
	margin-top: 8px;
}

/* ========================================
   Desktop Overrides (min-width: 768px)
   ======================================== */

@media (min-width: 768px) {
	/* Hero */
	.event-hero {
		padding: 80px var(--corp-pad-side) 0;
	}

	.event-hero__inner {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
	}

	.event-hero__text {
		text-align: left;
		margin-bottom: 0;
		padding-top: 60px;
	}

	.event-hero__title {
		font-size: 40px;
		margin-bottom: 6px;
	}

	.event-hero__images {
		gap: 24px;
	}

	.event-hero__image-wrap {
		width: 240px;
		height: 253px;
	}

	.event-hero__decoration {
		top: -80px;
		right: -40px;
		width: 500px;
	}

	/* Content */
	.event-content {
		padding: 80px var(--corp-pad-side) 0;
	}

	/* Category Sections */
	.event-category {
		border-width: 2px;
		border-radius: 20px;
		padding: 40px;
		margin-top: 40px;
	}

	.event-category__title {
		font-size: 28px;
	}

	.event-category__subtitle {
		font-size: 24px;
		margin-bottom: 12px;
	}

	.event-category__text {
		font-size: 16px;
	}

	/* Photos — 2-column on desktop */
	.event-category__photos {
		flex-direction: row;
		gap: 20px;
	}

	.event-category__photos--single {
		flex-direction: column;
	}

	.event-category__photo-item {
		flex: 1;
		min-width: 0;
	}

	.event-category__photos--single .event-category__photo-item {
		max-width: 410px;
	}

	.event-category__photo-img {
		aspect-ratio: 410 / 219;
	}

	.event-category__photo-caption {
		font-size: 14px;
		line-height: 1.6;
	}
}

/* ========================================
   Large Desktop Overrides (min-width: 1400px)
   ======================================== */

@media (min-width: 1400px) {
	.event-hero__image-wrap {
		width: 312px;
		height: 329px;
	}
}
