/**
 * Corporate Greeting 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
 *
 * @package Okayama
 */

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

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

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

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

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

.greeting-hero__text {
	margin-bottom: 24px;
}

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

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

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

.greeting-hero__image-wrap {
	overflow: hidden;
	border: 2px solid #6bb529;
	flex-shrink: 0;
}

.greeting-hero__image-wrap--large {
	width: 200px;
	height: 210px;
	border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
}

.greeting-hero__image-wrap--small {
	width: 140px;
	height: 148px;
	border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
	align-self: flex-end;
}

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

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

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

/* ========================================
   Greeting Card
   ======================================== */

.greeting-card {
	padding: 40px 20px 0;
}

.greeting-card__inner {
	background-color: #fff;
	border-radius: 18px;
	padding: 40px 20px;
}

.greeting-card__title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 23px;
	font-weight: 700;
	color: #6bb529;
	line-height: 1.6;
	text-align: center;
	margin: 0 0 16px;
}

.greeting-card__body {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #333;
	line-height: 2;
}

.greeting-card__body p {
	margin: 0 0 1.5em;
}

.greeting-card__body p:last-child {
	margin-bottom: 0;
}

.greeting-card__signature {
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 24px;
}

.greeting-card__signature-title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #333;
	line-height: 1.6;
}

.greeting-card__signature-name {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #333;
	line-height: 2;
}

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

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

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

	.greeting-hero__text {
		margin-bottom: 0;
		padding-top: 60px;
	}

	.greeting-hero__title {
		font-size: 40px;
	}

	.greeting-hero__images {
		gap: 24px;
	}

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

	.greeting-hero__image-wrap--small {
		width: 180px;
		height: 190px;
	}

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

	/* Greeting Card */
	.greeting-card {
		padding: 100px var(--corp-pad-side) 0;
	}

	.greeting-card__inner {
		width: 100%;
		max-width: 1100px;
		margin: 0 auto;
		border-radius: 30px;
		padding: 64px clamp(20px, 6vw, 80px);
	}

	.greeting-card__title {
		font-size: 35px;
		margin-bottom: 40px;
		max-width: 940px;
		margin-left: auto;
		margin-right: auto;
	}

	.greeting-card__body {
		font-size: 16px;
		max-width: 940px;
		margin-left: auto;
		margin-right: auto;
	}

	.greeting-card__signature {
		max-width: 940px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 32px;
	}
}

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

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

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