/**
 * 松下洋の講義 — 専用スタイル
 *
 * @package Mouton
 */

.site-main--matsushita {
	max-width: none;
	padding: 0;

	--matsushita-bg: #f7f3e6;
	--matsushita-text: #000000;
	--matsushita-muted: #555555;
	--matsushita-brown: #765426;
	--matsushita-brown-hover: #5c411d;
	--matsushita-btn-light: #fdfbf7;
	--matsushita-font: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.matsushita-page {
	background: var( --matsushita-bg );
	color: var( --matsushita-text );
	font-family: var( --matsushita-font );
}

/* Hero */
.matsushita-page__hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80vh;
	padding: clamp( 2rem, 6vw, 4rem ) clamp( 1.25rem, 4vw, 2rem );
	text-align: center;
	color: #ffffff;
	background-image: var( --matsushita-hero-bg );
	background-size: cover;
	background-position: center;
}

.matsushita-page__hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.5 );
	z-index: 1;
}

.matsushita-page__hero-inner {
	position: relative;
	z-index: 2;
	max-width: 50rem;
}

.matsushita-page__hero-title {
	margin: 0 0 1.25rem;
	font-size: clamp( 2.2rem, 4.5vw + 0.5rem, 3.5rem );
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-shadow: 0 2px 4px rgba( 0, 0, 0, 0.3 );
}

.matsushita-page__hero-subtitle {
	margin: 0 0 2.5rem;
	font-size: clamp( 1rem, 1.5vw + 0.5rem, 1.2rem );
	line-height: 1.8;
	opacity: 0.9;
	text-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 );
}

.matsushita-page__hero-cta {
	display: inline-block;
	padding: 0.95rem 2.5rem;
	font-size: clamp( 1rem, 1.2vw + 0.5rem, 1.1rem );
	font-weight: 700;
	color: #000000;
	text-decoration: none;
	background: #ffffff;
	border: none;
	box-shadow: 0 4px 15px rgba( 0, 0, 0, 0.2 );
	transition: background-color 0.2s ease, color 0.2s ease;
}

.matsushita-page__hero-cta:hover,
.matsushita-page__hero-cta:focus-visible {
	color: #ffffff;
	background: var( --matsushita-brown );
}

/* Lessons */
.matsushita-page__lessons {
	padding: clamp( 3rem, 8vw, 5rem ) clamp( 1.25rem, 4vw, 2rem ) clamp( 4rem, 10vw, 6rem );
}

.matsushita-page__lessons-inner {
	display: flex;
	flex-direction: column;
	gap: clamp( 3rem, 7vw, 3.125rem );
	max-width: 56.25rem;
	margin: 0 auto;
}

.matsushita-page__lesson-card {
	display: flex;
	align-items: flex-start;
	gap: clamp( 1.25rem, 4vw, 2.5rem );
	width: 100%;
}

.matsushita-page__lesson-media {
	flex: 1;
	max-width: 28.75rem;
	background: transparent;
	border: none;
}

.matsushita-page__lesson-media img {
	display: block;
	width: 100%;
	height: auto;
}

.matsushita-page__lesson-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding-top: 0.65rem;
}

.matsushita-page__lesson-meta {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	color: var( --matsushita-muted );
	letter-spacing: 0.02em;
}

.matsushita-page__lesson-title {
	margin: 0 0 1.25rem;
	font-size: clamp( 1.6rem, 2.5vw + 0.5rem, 2rem );
	font-weight: 700;
	letter-spacing: 0.02em;
}

.matsushita-page__lesson-desc {
	margin: 0 0 1.5rem;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var( --matsushita-muted );
}

.matsushita-page__lesson-actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: flex-start;
	width: 100%;
}

.matsushita-page__btn {
	width: 11.25rem;
	padding: 0.65rem 0;
	font-size: 0.85rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.matsushita-page__btn--brown {
	color: #ffffff;
	background: var( --matsushita-brown );
	border: none;
}

.matsushita-page__btn--brown:not( .is-disabled ):hover,
.matsushita-page__btn--brown:not( .is-disabled ):focus-visible {
	background: var( --matsushita-brown-hover );
}

.matsushita-page__btn--outline {
	color: var( --matsushita-text );
	background: var( --matsushita-btn-light );
	border: 1.5px solid var( --matsushita-text );
}

.matsushita-page__btn--outline:not( .is-disabled ):hover,
.matsushita-page__btn--outline:not( .is-disabled ):focus-visible {
	background: #eae6dc;
}

.matsushita-page__btn.is-disabled {
	opacity: 0.55;
	cursor: default;
}

.matsushita-page__lesson-note {
	margin: 0;
	font-size: 0.7rem;
	color: var( --matsushita-muted );
}

.site-main--matsushita + .site-footer {
	margin-top: 0;
	border-top: none;
}

@media screen and ( max-width: 768px ) {
	.matsushita-page__hero {
		min-height: 70vh;
	}

	.matsushita-page__hero-subtitle {
		margin-bottom: 1.875rem;
	}

	.matsushita-page__lessons-inner {
		gap: 3.75rem;
	}

	.matsushita-page__lesson-card {
		flex-direction: column;
		gap: 1.25rem;
	}

	.matsushita-page__lesson-media {
		max-width: 100%;
		width: 100%;
	}

	.matsushita-page__lesson-body {
		padding-top: 0;
	}

	.matsushita-page__lesson-title {
		margin-bottom: 0.95rem;
	}

	.matsushita-page__btn {
		width: 100%;
		max-width: 16.25rem;
	}
}
