.teacher {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	background: #fff;
	border-radius: 12px;
	margin-top: 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.teacher img {
	width: 300px;
	object-fit: cover;
}

.teacher-info {
	flex: 1;
	padding: 20px;
}

.teacher-info h2 {
	margin-top: 0;
}

.teacher-info p {
	line-height: 1.6;
}

/* --- スマホ用の調整 --- */
@media screen and (max-width: 768px) {
	.teacher {
		flex-direction: column;
		/* 写真とテキストを縦並びにする */
		text-align: center;
		/* 中央寄せ（お好みで） */
	}

	.teacher img {
		width: 80%;
		/* 横幅いっぱいに表示 */
		border-radius: 12px;
		max-width: 400px;
		/* 必要なら制限 */
	}

	.teacher-info {
		padding: 15px;
	}
}