/* ==========================================================
	home.css
	トップページ（front-page.php）用スタイル.
	========================================================== */

/* ---------- ヒーローエリア ---------- */

.pd-front-hero {
	position: relative;
	background-color: var(--pd-color-primary);
	background-size: cover;
	background-position: center;
	color: var(--pd-color-base);
	text-align: center;
	padding-block: var(--pd-space-xxl);
	margin-bottom: var(--pd-space-xxl);
}

.pd-front-hero.has-bg-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: var(--pd-color-overlay);
}

.pd-front-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--pd-space-md);
}

.pd-front-hero-eyebrow {
	font-size: var(--pd-font-size-small);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.8;
}

.pd-front-hero-title {
	font-size: var(--pd-font-size-xxlarge);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.pd-front-hero-tagline {
	font-size: var(--pd-font-size-large);
	line-height: 1.8;
	max-width: 640px;
}

.pd-front-hero-btn {
	margin-top: var(--pd-space-sm);
}

/* ---------- 本文エリア ---------- */

.pd-front-content {
	max-width: var(--pd-content-max-width);
	margin-inline: auto;
	margin-bottom: var(--pd-space-xxl);
}

/* ---------- セクション共通見出し ---------- */

.pd-front-section-title {
	font-size: var(--pd-font-size-xlarge);
	font-weight: 700;
	text-align: center;
	margin-bottom: var(--pd-space-xl);
}

/* ---------- 最新投稿エリア ---------- */

.pd-front-news-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--pd-space-lg);
}

.pd-front-news-item img {
	width: 100%;
	/*aspect-ratio: 4 / 3;*/
	object-fit: cover;
}

@media (max-width: 1024px) {
	.pd-front-news-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.pd-front-news-list { grid-template-columns: 1fr; }
}

/* ---------- CTAエリア ---------- */

.pd-front-cta {
	text-align: center;
	background-color: var(--pd-color-gray-light);
	border-radius: var(--pd-radius-md);
	padding: var(--pd-space-xxl) var(--pd-space-lg);
	margin-bottom: var(--pd-space-xxl);
}

.pd-front-cta-title {
	font-size: var(--pd-font-size-xlarge);
	font-weight: 700;
	margin-bottom: var(--pd-space-md);
}

.pd-front-cta-text {
	color: var(--pd-color-gray);
	line-height: 1.9;
	margin-bottom: var(--pd-space-lg);
}

@media (max-width: 767px) {
	.pd-front-hero { padding-block: var(--pd-space-xl); }
	.pd-front-hero-title { font-size: var(--pd-font-size-xlarge); }
}
