/**
 * キービジュアル
 */
.kv {
	position: relative;
	width: 100%;
	height: 24vh;
	min-height: 240px;
	overflow: hidden;
}

.kv-bg {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.kv-bg-item {
	position: absolute;
	width: 100%;
	height: 100%;
	animation: kv-fade 18s infinite;
	opacity: 0;
	inset: 0;
}

.kv-bg-item img {
	position: relative;
	width: auto;
	height: 100%;
	object-fit: none;
	object-position: center 50%;
	animation: kv-zoom 18s infinite;
}

@keyframes kv-fade {
	0% {
		opacity: 0;
	}

	8% {
		opacity: 1;
	}

	33% {
		opacity: 1;
	}

	41% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

@keyframes kv-zoom {
	0% {
		transform: scale(1.1);
	}

	33% {
		transform: scale(1);
	}

	100% {
		transform: scale(1);
	}
}

/* スライド画像のタイミング */
.kv-bg-item:nth-child(1) {
	animation-delay: 0s;
}

.kv-bg-item:nth-child(2) {
	animation-delay: 6s;
}

.kv-bg-item:nth-child(3) {
	animation-delay: 12s;
}

.kv-bg-item:nth-child(1) img {
	animation-delay: 0s;
}

.kv-bg-item:nth-child(2) img {
	animation-delay: 6s;
}

.kv-bg-item:nth-child(3) img {
	animation-delay: 12s;
}

.kv-content {
	display: flex;
	position: absolute;

	z-index: 2;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #282828;

	text-align: center;
	text-shadow:
		0 0 5px rgba(255, 255, 255, 1),
		0 0 5px rgba(255, 255, 255, 1),
		0 0 5px rgba(255, 255, 255, 1),
		0 0 5px rgba(255, 255, 255, 1),
		0 0 5px rgba(255, 255, 255, 1);
	inset: 0;
}

.kv-title {
	margin: 0 0 0.5em 0;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.3;
}

.kv-title__sub {
	padding: 0 1.5em;
	font-size: 2rem;
}

/* キービジュアル(タブレット用) */
@media (min-width: 768px) and (max-width: 1024px) {
	.kv {
		height: 30vh;
		min-height: 360px;
	}

	.kv-title {
		font-size: 4rem;
	}

	.kv-title__sub {
		padding: 0;
		font-size: clamp(1rem, 2vw, 2.2rem);
	}
}

/* キービジュアル(PC用) */
@media (min-width: 1025px) {
	.kv {
		height: 30vh;
		min-height: 360px;
	}

	.kv-bg-item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.kv-title {
		font-size: 4rem;
	}

	.kv-title__sub {
		padding: 0;
		font-size: clamp(1rem, 2vw, 2.2rem);
	}
}

/**
 * お知らせ
 */
.c-caption__main {
	display: inline-block;
	position: static;
	padding: 0 0 1em;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
	color: #282828;
	font-size: 3rem;
	text-align: center;
}

.c-caption__main--wh {
	color: #fff;
}

.c-caption__sub {
	font-size: 3rem;
}

.c-topics {
	width: 100%;
	padding: 2em 0 4em;
	background: #f4f4f4;
}

.c-topics .l-container {
	width: 100%;
	max-width: 800px;
}

.c-topics .c-btn {
	position: absolute;
	right: 0;
	bottom: -1.5em;
	min-width: 150px;
	font-size: 1.4rem;
}

.c-topics__list {
	max-width: 800px;
	padding: 1.5em 1em 3em;
}

/* お知らせ(PC用) */
@media (min-width: 768px) {
	.c-topics {
		padding: 5em 0;
	}

	.c-topics__list {
		padding: 3em 0;
	}
}

/**
 * メインメニュー
 */
.p-menu {
	width: 100%;
	padding: 1.5em 0 0;
	background: #fff;
}

.p-menu__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.p-menu__list li {
	position: relative;
	align-self: flex-start;
	width: 48%;
	margin-bottom: 1.3em;
}

.p-menu__photo {
	width: 100%;
}

.p-menu__photo img {
	display: block;
}

.p-menu__list .c-btn {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	min-width: 100px;
	max-width: none;
}

@media (max-width: 1000px) {
	.p-menu__list {
		width: 92%;
	}
}

/* メインメニュー(PC用) */
@media (min-width: 768px) {
	.p-menu {
		padding: 5em 0;
	}

	.p-menu__list li {
		width: 22%;
	}

	.p-menu__list .c-btn {
		right: -1em;
		bottom: -1em;
		width: 90%;
	}
}

/**
 * 養成過程
 */
.p-course {
	position: relative;
	width: 100%;
	padding: 2em 0 3em;
	background: #494039 url(/app/uploads/2020/01/course_bg_img.jpg) center
		center no-repeat;
	background-size: cover;
}

.p-course .c-txt--white {
	padding: 0 1em;
}

.p-course__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 90%;
	max-width: 840px;
	margin: 2em auto 0;
}

.p-course__list li {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	width: 100%;
	margin-bottom: 1em;
	padding: 1em 0 0;
	background: #fff;
}

.p-course__list li:last-child {
	margin-bottom: 0;
}

.p-course__list li .p-course__name {
	display: block;
	width: 100%;
	padding: 0 1.5rem 1em;
	color: #44576d;
	font-size: 2.1rem;
	line-height: 1.4;
	text-align: left;
}

.p-course__list li .c-btn {
	width: 100%;
	max-width: none;
	margin-bottom: 0;
}

/* 養成過程(PC用) */
@media (min-width: 768px) {
	.p-course {
		padding: 5em 0 6em;
	}

	.p-course__list li {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		width: 32%;
		margin-bottom: 0;
		padding: 1em 0 2em;
		background: #fff;
	}

	.p-course__list li .c-btn {
		width: auto;
		min-width: 220px;
		margin-bottom: -3.5em;
	}
}
