@charset "UTF-8";

/* 教員紹介 ページ css */
.main .main_image {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-bottom: 50px;
	border-top: 1px solid #4d4d4d;
	padding-bottom: 315px;
	background-image: url(../img/teacher/subbar_kyoin.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

@media screen and (max-width: 1060px) {
	.main .main_image {
		padding-bottom: clamp(131px, calc(314 / 768 * 100vw), 432px);
		background-image: url(../img/teacher/768_subbar_kyoin.png);
	}
}

/* 本文 */
.main .contents_wrap {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-bottom: 150px;
}

.main .contents_wrap:last-child {
	margin-bottom: 130px;
}

.main .contents_wrap h4 {
	font-size: 28px;
	font-family: 'Zen Kaku Gothic Antique', sans-serif;
	font-weight: 500;
	color: #42210b;
	text-align: center;
	border-top: 5px solid #faaf3b;
	border-bottom: none;
	margin: 0 0 65px 0;
	padding: 15px 0;
	background-image: linear-gradient(-45deg, #fdfdf5, #fdfdf5 35%, #ffffff 35%, #ffffff 45%, #fdfdf5 45%, #fdfdf5 80%, #ffffff 80%, #ffffff 90%, #fdfdf5);
	background-size: 10px 10px;
}

@media screen and (max-width: 767px) {
	.main .contents_wrap {
		margin-bottom: clamp(70px, calc(150 / 767 * 100vw), 150px);
	}

	.main .contents_wrap:last-child {
		margin-bottom: clamp(70px, calc(130 / 767 * 100vw), 130px);
	}
}

/* 教員紹介 */
.main .teacher > img {
	width: 813px;
	margin: 0 auto 65px auto;
}

.main .teacher_list {
	padding: 60px 0;
	background-color: #fcfaf0;
}

.main .teacher_list > p {
	width: 920px;
	font-size: 16px;
	line-height: 1.0;
	margin: 0 auto 15px auto;
}

.main .teacher_list .list_box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 920px;
	margin: 0 auto 50px auto;
	padding: 30px 35px;
	border-top: 3px solid #e26814;
	background-color: #ffffff;
}

.main .teacher_list .list_box:last-of-type {
	margin-bottom: 60px;
}

.main .teacher_list .list_box dt {
	width: 270px;
}

.main .teacher_list .list_box dt img{
	margin-top: 2px;
}

.main .teacher_list .list_box dd {
	width: 580px;
	margin: 0;
}

.main .teacher_list .list_box dd .nameandlabo {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.main .teacher_list .list_box dd .nameandlabo p.name {
	font-size: 25px;
	font-weight: 500;
	line-height: 1.0;
	margin: 0;
}

.main .teacher_list .list_box dd .nameandlabo p.labo {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.0;
	margin: 0;
	align-self: flex-end;
}
.main .teacher_list .list_box dd .theme {
	padding-bottom: 23px;
	margin-bottom: 23px;
	border-bottom: 1px dotted #4d4d4d;
}

.main .teacher_list .list_box dd .theme:has(> :nth-child(-n+3):last-child) {
    padding-bottom: 48.59px;
}

.main .teacher_list .list_box dd .theme p {
	text-indent: -15px;
	margin-left: 15px;
	margin-bottom: 0;
}

.main .teacher_list .list_box dd .theme p span {
	margin-left: 15px;
	position: relative;
}

.main .teacher_list .list_box dd .theme p span:before {
	content: "\f111";
	font-size: 9px;
	font-family: "fontawesome";
	color: #d8df21;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.main .teacher_list .list_box dd .theme p:nth-of-type(1) {
	font-weight: 700;
	color: #42210b;
	line-height: 1.0;
	margin-bottom: 8px;
}

.main .teacher_list .list_box dd .theme p:nth-of-type(n + 2) {
	margin-bottom: 1px;
}

.main .teacher_list .list_box dd .theme p:last-child {
	margin-bottom: 0;
}

.main .teacher_list .list_box dd > p {
	font-size: 16px;
	margin-bottom: 0;
}

.main .teacher_list > button {
	display: block;
	width: 385px;
	margin: 0 auto;
}

@media screen and (max-width: 1280px) {
	.main .teacher > h4 {
		margin-bottom: clamp(60px, calc(65 / 1280 * 100vw), 65px);
	}

	.main .teacher > img {
		width: clamp(536px, calc(813 / 1280 * 100vw), 813px);
		margin-bottom: clamp(60px, calc(65 / 1280 * 100vw), 65px);
	}
}

@media screen and (max-width: 960px) {
	.main .teacher_list > p {
		width: clamp(536px, calc(920 / 1280 * 100vw), 920px);
	}

	.main .teacher_list .list_box {
		width: clamp(536px, calc(920 / 1280 * 100vw), 920px);
		padding: 30px 55px;
		margin-bottom: 50px;
	}

	.main .teacher_list .list_box dt {
		width: 100%;
		margin-bottom: 22px;
	}

	.main .teacher_list .list_box dt img {
		margin-inline: auto;
	}

	.main .teacher_list .list_box dd .nameandlabo {
	    gap: 20px;
	}

	.main .teacher_list .list_box dd .theme {
		margin-bottom:  18px;
		padding-bottom: 18px;
	}

	.main .teacher_list .list_box dd .theme p:nth-of-type(n + 2) {
		line-height: 1.7;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 768px) {
	.main .teacher > img {
		width: clamp(280px, calc(280px + 276 * ((100vw - 320px) / 448)), 536px);
	}

	.main .teacher_list > p {
		width: clamp(280px, calc(280px + 276 * ((100vw - 320px) / 448)), 536px);
	}

	.main .teacher_list .list_box {
		width: clamp(280px, calc(280px + 276 * ((100vw - 320px) / 448)), 536px);
		padding: 30px clamp(20px, calc(55 / 768 * 100vw), 55px);
	}

	.main .teacher_list .list_box dd .nameandlabo {
		gap: 10px;
		flex-direction: column;
	}

	.main .teacher_list .list_box dd .nameandlabo p.labo {
		align-self: flex-start;
	}
}

@media screen and (max-width: 480px) {
	.main .teacher_list > button {
		width: clamp(280px, calc(385 / 480 * 100vw), 385px);
	}
}

/* 印刷設定 */
@media print {
	body #container .main_image {
		width: 1500px;
		margin-left: calc(50% - 750px);
		background-image: url(../img/teacher/subbar_kyoin.png);
	}

	body #container .contents_wrap {
		width: 1500px;
		margin-left: calc(50% - 750px);
	}

	body #container .contents_wrap h4 {
		font-size: 28px;
		color: #42210b;
		border-top: 5px solid #faaf3b;
		margin: 0 0 65px 0;
		padding: 15px 0;
		background-image: linear-gradient(-45deg, #fdfdf5, #fdfdf5 35%, #ffffff 35%, #ffffff 45%, #fdfdf5 45%, #fdfdf5 80%, #ffffff 80%, #ffffff 90%, #fdfdf5);
	}
}
