/* ===== 講師紹介ページ ===== */

/* ファーストビュー背景画像 */
.p-page-fv--teacher {
	background-image: url(../../img/teachers_header.webp);
	background-size: cover;
	background-position: center;
	min-height: 250px;
}

/* ページタイトルセクション */
.p-page-title {
    padding: 39px 0 16px;
    clip-path: ellipse(82% 100% at 50% 100%);
    background-color: #fff;
    margin-top: -30px;
}

.p-page-title__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
}

.p-page-title__label {
	letter-spacing: -0.04em;
}

.p-page-title__ja {
	font-size: 2.8rem;
	line-height: 1.6;
}

.l-breadcrumb-wrapper {
	background-color: #fff;
}

/* コンテンツセクション */
.p-teacher {
	padding: 20px 0;
	background-color: #fff;
}

.p-teacher__inner {
	max-width: 780px;
	margin: 0 auto;
}

/* 導入セクション */
.p-teacher__intro {
	margin-bottom: 66px;
	padding: 0 20px;
}

.p-teacher__intro-title {
	color: #141429;
	text-transform: uppercase;
	font-family: "Source Han Sans JP", "源ノ角ゴシック JP", sans-serif;
	font-weight: 700;
	font-size: 2.4rem;
	line-height: 1.45;
	letter-spacing: 0;
	margin: 0 0 12px 0;
}

.p-teacher__intro-text {
	color: #141429;
	text-transform: uppercase;
	font-family: "Source Han Sans JP", "源ノ角ゴシック JP", sans-serif;
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1.8;
	letter-spacing: 0;
	margin: 0;
}

/* 講師アイテム */
.p-teacher__item {
	margin-bottom: 91px;
	padding: 40px 0 51px;
	border-radius: 20px;
	position: relative;
}
.p-teacher__item::after {
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 390 / 334;
    clip-path: ellipse(220% 100% at 50% 100%);
    background-color: #FCEFEB;
}

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

/* 背景色 */
.p-teacher__item--pink::after {
	background-color: #FCEFEB;
}
.p-teacher__item--orange::after {
	background-color: #FFF9F1;
}

.p-teacher__item--blue::after {
	background-color: #EEF8F7;
}

.p-teacher__item--green::after {
	background-color: #F2F6E9;
}
.p-teacher__item--purple::after {
	background-color: #FAF0F3;
}

.p-teacher__item--orange .p-teacher__message-title {
	color: #FDAA36;
}
.p-teacher__item--blue .p-teacher__message-title {
	color: #53ACBC;
}
.p-teacher__item--green .p-teacher__message-title {
	color: #95B73C;
}
.p-teacher__item--purple .p-teacher__message-title {
	color: #D05E7D;
}

.p-teacher__item-inner {
	position: relative;
	z-index: 1;
	padding: 0 18px;
}


/* コンテンツ配置 */
.p-teacher__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}



/* 画像 */
.p-teacher__image {
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 299 / 299;
    max-width: 299px;
    margin: -79px auto 42px;
	filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.16));
}


.p-teacher__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 講師情報 */
.p-teacher__info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.p-teacher__name {
	color: #141429;
	font-family: "Source Han Sans JP", "源ノ角ゴシック JP", sans-serif;
	font-weight: 700;
	font-size: 2.4rem;
	line-height: 1.45;
	letter-spacing: 0;
	margin: 0;
}

.p-teacher__title {
	color: #141429;
	font-family: "Source Han Sans JP", "源ノ角ゴシック JP", sans-serif;
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1.8;
	letter-spacing: 0;
	margin: 0 0 10px;
}

/* メッセージセクション */

.p-teacher__message-title {
	color: #E15C45;
	font-family: "Source Han Sans JP", "源ノ角ゴシック JP", sans-serif;
	font-weight: 700;
	font-size: 2rem;
	line-height: 1.45;
	letter-spacing: 0;
	margin: 0 0 12px 0;
}

.p-teacher__message-text {
	color: #141429;
	font-family: "Source Han Sans JP", "源ノ角ゴシック JP", sans-serif;
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1.8;
	letter-spacing: 0;
	margin: 0;
}

.p-trial-wrapper--teacher-page .p-trial {
	padding-bottom: 94px;
}

/* ===== レスポンシブ ===== */

/* タブレット以上（769px以上） */
@media (min-width: 769px) {
	.p-page-fv--teacher {
		aspect-ratio: 1366 / 615;
	}
	.p-page-title {
		padding: 71px 0 16px;
		clip-path: ellipse(53% 100% at 50% 108%);
		background-color: #fff;
		margin-top: -152px;
	}
	.breadcrumb {
		max-width: 820px;
		margin: 0 auto;
    }
	.breadcrumb-list {
		padding: 51px 19px 32px;
	}
	.p-teacher {
		padding: 3px 0;
	}
	.p-teacher__intro {
		margin-bottom: 126px;
		padding: 0;
	}
	.p-teacher__intro-title {
		font-size: 3.2rem;
		margin-bottom: 41px;
	}
	.p-teacher__item {
		margin-bottom: 162px;
		padding: 21px 0 67px;
	}
	.p-teacher__item-inner {
		padding: 0 38px;
	}
	.p-teacher__title {
		margin-bottom: 26px;
	}
	.p-trial-wrapper--teacher-page {
		margin-bottom: 168px;
	}
	.p-trial-wrapper--teacher-page .p-trial__inner {
		max-width: 820px;
	}
}
