@charset "utf-8";
/*==================================================
	【教師紹介】ページ固有のスタイル
==================================================*/
#teacher h3.sub {
	position: relative;
	font-size: 51px;
	text-align: left;
	padding-top: 150px;
}
#teacher h3.sub span {
	position: absolute;
	top: 150px;
	left: 0;
	color: #f7d2cd;
	font-size: 119px;
	font-family: var(--font-en);
	transform: translate(-40%,-100%) rotate(-10deg);
	line-height: 1;
}
#teacher h3.sub.adjust01 span {
	left: 140px;
	top: 110px;
}
#teacher .box01 h4 {
	text-align: center;
	font-family: var(--font-serif);
	color: var(--color-primary);
	margin: 1em 0 0;
}
#teacher .box01 h4 span {
	display: block;
	font-size: 125%;
	color: var(--color-font);
	margin-top: 0.5em;
}
#teacher .box01 h4 span.en {
	font-size: 90%;
	font-weight: 600;
	margin-top: 0.2em;
}
#teacher .box01 {
	width: 26%;
	background-color: #FDF6F5;
	border-radius: 50px 0 0 50px;
	padding: 30px 0
}
#teacher .box01 .photo {
	width: 80%;
	margin: 0 auto;
}
#teacher .box02 {
	width: 71%;
	padding: 1em 0;
}
#teacher .box02 p {
	padding: 0 1em 0;
}
#teacher .box02 p + p {
	border-top: 1px solid #ccc;
	padding-top: 1em;
}
#teacher .box_access {
	display: flex;
	flex-direction: column;
	width: 48%;
	border: 2px solid #f7d2cd;
	border-radius: 20px;
	overflow: hidden;
}
#teacher .box_access .text h4 {
	text-align: center;
	color: #fff;
	font-size: 130%;
	background-color: var(--color-secondary);
	font-weight: 500;
	padding: 1.5rem 0;
}
#teacher .box_access .text p {
	color: var(--color-font);
	font-size: 92%;
	margin: 0;
	padding: 1.5rem 1.5rem 0;
}
#teacher iframe {
	width: 100%;
	border: none;
	padding: 1.5rem;
	margin-top: auto;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#teacher h3.sub {
		font-size: 40px;
		padding-top: 90px;
	}
	#teacher h3.sub span {
		top: 95px;
		font-size: 80px;
		transform: translate(-10%,-100%) rotate(-10deg);
	}
	#teacher h3.sub.adjust01 span {
		left: 20px;
		top: 75px;
	}
	#teacher .box01 h4 span {
		font-size: 120%;
	}
	#teacher .box01 h4 span.en {
		font-size: 85%;
	}
	#teacher .box01 {
		width: 29%;
	}
	#teacher .box_access .text h4 {
		font-size: 115%;
		padding: 1.2rem 0;
	}
	#teacher .box_access .text p {
		font-size: 92%;
		padding: 1.2rem 1.2rem 0;
	}
	#teacher iframe {
		height: 300px;
		padding: 1.2rem;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#teacher h3.sub {
		font-size: 26px;
		padding-top: 90px;
	}
	#teacher h3.sub span {
		top: 95px;
		font-size: 70px;
	}
	#teacher h3.sub.adjust01 span {
		left: 20px;
		top: 75px;
		font-size: 65px;
	}
	#teacher .box01 {
		width: 100%;
		border-radius: 50px 50px 0 0;
		padding: 20px 0
	}
	#teacher .box01 .photo {
		width: 60%;
	}
	#teacher .box01 h4 span {
		font-size: 120%;
	}
	#teacher .box01 h4 span.en {
		font-size: 85%;
	}
	#teacher .box02 {
		width: 100%;
		padding: 1em 0;
	}
	#teacher .box_access {
		width: 100%;
		margin-bottom: 40px;
	}
	#teacher .box_access:last-of-type {
		margin-bottom: 0;
	}
	#teacher .box_access .text h4 {
		font-size: 115%;
		padding: 1.2rem 0;
	}
	#teacher .box_access .text p {
		font-size: 92%;
		padding: 1.2rem 1.2rem 0;
	}
	#teacher iframe {
		height: 300px;
		padding: 1.2rem;
	}
}
@media only screen and (max-width: 320px){ /* スマホ */
	#teacher h3.sub.adjust01 span {
		font-size: 54px;
	}
}