.p-home {
	padding-block: 40px 80px;
	font-size: 16px;
}

.p-home-section {
	padding: 40px 15px;
}

.p-home-section__inner {
	width: min(100%, 980px);
	margin-inline: auto;
}

.p-home-section-title {
	position: relative;
	margin-block: auto;
	padding: 14px;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.p-home-hero {
	position: relative;
	display: flex;
	align-items: center;
	height: 35vw;
	padding: 0;
}

.p-home-hero .p-home-section__inner {
	position: relative;
	z-index: 1;
}

.p-home-hero__title {
	margin-block: 0;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #fff;
	text-shadow: 0px 0px 4px #505050;
	text-align: center;
}

.p-home-hero__button {
	display: block;
	width: fit-content;
	margin: 40px auto 0;
	padding: 12px 24px;
	background-color: #009dd9;
	color: #fff;
	transition: opacity .2s ease-in-out;
}

@media (any-hover: hover) {
	.p-home-hero__button:hover {
		opacity: 0.8;
	}
}

.p-home-hero__bg {
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.p-home-hero__bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-home-overview .p-home-section__inner {
	display: flex;
	flex-direction: column;
	gap: 1em;
	line-height: 1.8;
	text-align: center;
}

.p-home-concept__body {
	display: flex;
	flex-direction: column;
	gap: 1em;
	margin-top: 40px;
	padding-inline: 20px;
	line-height: 1.8;
}

@media (any-hover: hover) {
	.p-home-concept__body a:hover {
		text-decoration: underline;
	}
}

.p-home-prep__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 40px;
	margin-top: 40px;
}

.p-home-prep__card {
	color: unset;
	transition: opacity .2s ease-in-out;
}

@media (any-hover: hover) {
	.p-home-prep__card:hover {
		opacity: 0.7;
	}
}

.p-home-prep__card-image {
	overflow: hidden;
	width: 100%;
	aspect-ratio: 12 / 7;
}

.p-home-prep__card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-home-prep__card-title {
	margin-top: 20px;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
}

.p-home-guide__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin-top: 40px;
}

.p-home-guide__card {
	color: unset;
	transition: opacity .2s ease-in-out;
}

@media (any-hover: hover) {
	.p-home-guide__card:hover {
		opacity: 0.8;
	}
}

.p-home-guide__image {
	overflow: hidden;
	width: 100%;
	aspect-ratio: 12/7;
}

.p-home-guide__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-home-guide__body {
	margin-top: 20px;
}

.p-home-guide__title {
	font-size: 18px;
	font-weight: 700;
}

.p-home-links__layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: start;
	margin-top: 40px;
}

.p-home-links__main {
	overflow: hidden;
}

.p-home-links__video {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
}

.p-home-links__book-button {
	display: block;
	width: fit-content;
	margin-top: 40px;
	margin-inline: auto;
	padding: 0;
}

.p-home-links__banner {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.p-home-links__banner-item {
	display: block;
	width: 100%;
	aspect-ratio: 300/250;
	transition: opacity .2s ease-in-out;
}

@media (any-hover: hover) {
	a.p-home-links__banner-item:hover {
		opacity: 0.7;
	}
}

.p-home-links__banner-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.p-home-section {
		padding: 40px 20px;
	}

	.p-home-hero__image {
		height: 45vw;
	}

	.p-home-hero__caption {
		font-size: 20px;
	}

	.p-home-section-title {
		font-size: 22px;
	}

	.p-home-concept__body {
		padding-inline: 0;
	}

	.p-home-prep__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 20px;
	}

	.p-home-prep__card-title {
		margin-top: 16px;
	}

	.p-home-guide__grid {
		gap: 20px;
	}

	.p-home-guide__title {
		font-size: 16px;
	}

	.p-home-links__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.p-home-links__side {
		width: min(100%, 640px);
		margin-inline: auto;
	}

	.p-home-links__banner {
		flex-direction: row;
	}
}

@media (max-width: 767px) {
	.p-home {
		padding-block: 0 40px;
	}

	.p-home-section {
		padding: 32px 16px;
	}

	.p-home-hero {
		height: 56vw;
	}

	.p-home-hero__title {
		font-size: 20px;
		line-height: 1.4;
	}

	.p-home-hero__button {
		margin-top: 24px;
		padding: 8px 16px;
	}

	.p-home-section-title {
		padding: 10px;
		font-size: 18px;
	}

	.p-home-concept__body {
		margin-top: 24px;
		padding-inline: 0;
	}

	.p-home-prep__grid {
		gap: 16px;
		margin-top: 24px;
	}

	.p-home-prep__card-title {
		margin-top: 10px;
		font-size: 16px;
	}

	.p-home-guide__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
		margin-top: 24px;
	}

	.p-home-guide__body {
		margin-top: 12px;
	}

	.p-home-guide__title {
		font-size: 14px;
		line-height: 1.4;
	}

	.p-home-links__layout {
		display: flex;
		flex-direction: column;
		gap: 24px;
		margin-top: 24px;
	}

	.p-home-links__main {
		width: 100%;
	}

	.p-home-links__book-button {
		margin-top: 24px;
	}

	.p-home-links__side {
		display: flex;
		flex-direction: column;
	}

	.p-home-links__banner {
		gap: 16px;
	}
}