@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline;}
:focus{outline:0;}

ol, ul{list-style:none;}
table{border-collapse:separate;border-spacing:0;}
caption, th, td{font-weight:normal;text-align:left;}
blockquote:before, blockquote:after,q:before, q:after{content:"";}
blockquote, q{quotes:"" "";}
a img{border:0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display:block;}
/* -------------------------------------------------------------- */

body{
color:#555;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#fff;
-webkit-text-size-adjust:100%;
}

/**************************
/* 教員一覧
**************************/
.wrap_contents {
	width: 100%;
	margin: 0 0%;
}

ul.teachers {
	margin: 0 0 3.5rem 0;
}

ul.teachers li {
	display: flex;
	align-items: center;
	margin: 0;
	padding-right: 1rem;
	border-bottom: 1px #DDD dotted;
}


ul.teachers .t_photo {
	margin-right: 10px;
	padding: 15px;
	width: 120px;
	height: 120px;
	overflow: hidden;
	flex-shrink: 0;
}

ul.teachers .t_photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

ul.teachers .text-container {
	display: flex;
	flex-direction: column;
	justify-content: left;
	min-height: 120px;
	width: 100%;
}

ul.teachers .t_info {
	font-size: 1.2rem;
	justify-content: space-between;
	align-items: center;
	width: 150%;
}

ul.teachers .t_name span.pr {
	margin-left: 0.8rem;
	font-weight: normal;
	font-size: 0.8rem;
}

ul.teachers .t_info div.link {
	text-align: center;
	box-sizing:border-box;
	width: 100%;
}

ul.teachers .specialized {
	text-align: left;
	box-sizing:border-box;
	width: 120%;
}

ul.teachers .t_info .rm {
	color: #FFF;
	padding: 0.3rem;
	background-color: #fa8072;
	font-size: 0.7rem;
	border-radius: 10%;
	text-decoration: none;
	margin: 0rem;
}

ul.teachers .t_info .rm::after,
ul.teachers .t_info .hp::after,
ul.teachers .t_info .syoukai::after,
.tinfolink::after,
.studylink::after {
	content: '';
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	margin-left: 0.2rem;
	background-image: url('img/allow.png');
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}

ul.teachers .t_info .hp {
	color: #FFF;
	padding: 0.3rem;
	background-color: #4682b4;
	font-size: 0.7rem;
	border-radius: 10%;
	text-decoration: none;
	margin: 0.3rem;
}

ul.teachers .t_info .syoukai {
	color: #FFF;
	padding: 0.3rem;
	background-color: #c42766;
	font-size: 0.7rem;
	border-radius: 10%;
	text-decoration: none;
	margin: 0.3rem;
}

ul.teachers .t_info span.hp,
ul.teachers .t_info span.rm, 
ul.teachers .t_info span.syoukai,{
	background-color: #DFDFDF;
}

ul.teachers .t_info a:hover {
	opacity: 0.8;
	font-size:70%;
}

ul.teachers .specialized {
	margin: 0px;
	padding: 0px 0 0 60px;
	font-size: 0.8rem;
	color: #555;
	background: url(img/senmonbunya.png) no-repeat left top;
	background-size: 50px 19px;
}

.table-container {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

h2 {
	text-align: center;
	color: #2c3e50;
	font-size: 24px;
	margin-bottom: 20px;
}



/****/

.photo-wrapper {
	text-align: center;
	margin-bottom: 2rem;
}

ul.teachers_pres {
	margin: 0 auto;
	width: 300px;
}

ul.teachers_pres .t_name {
	margin: 0 0 0.5rem 0;
	font-size: 1.3rem;
}

ul.teachers_pres .pr {
	font-weight: normal;
	font-size: 0.8rem;
}

ul.teachers_pres .specialized {
	padding: 0 0 0 60px;
	font-size: 0.8rem;
	color: #555;
	background: url(img/senmonbunya.png) no-repeat left top;
	background-size: 50px 19px;
}


/**/
ul.teachers .t_photo {
		padding-left: 30px;
		padding-right: 0px;
	}

	ul.teachers .t_info {
		box-sizing: border-box;
		padding: 0 0 0 5px;
		min-width: 100%;
	}

	ul.teachers li {
		box-sizing: border-box;
		width: 50%;
		float: left;
	}

	ul.teachers .t_info div.link {
		text-align: left;
	}

	ul.teachers .specialized {
		padding: 0.2rem 0 1.5rem 100px;
		background: url(img/senmonbunya.png) no-repeat left 5px top;
		background-size: 67px 25px;
	}


	.photo-container {
		display: flex;
		align-items: flex-start;
		gap: 20px;
		margin: 20px 0;
	}

	.photo-wrapper {
		text-align: center;
	}

	.photo-container .photo-wrapper .photo {
		width: auto;
		height: auto;
		border: 1px solid #DDD;
		border-radius: 5px;
	}

	.caption {
		margin-top: 10px;
		font-size: 14px;
		color: #666;
	}

	.photo-container .comment {
		float: right;
		max-width: auto;
		color: #333;
		line-height: 1.5;
	}

	.photo-container .comment div {
		float: right;
		text-align: center;
		width: 45%;
		padding-left: 5%;
	}

	.photo-container .comment div img {
		width: 100%;
		margin-bottom: 5px;
	}



/*****************@media screen and (max-width:768px)**************/

@media screen and (max-width:768px){
	ul.teachers{
		display:flex;
		flex-direction:column;
	}
		
	ul.teachers {
		margin: 1.5rem 0 3.5rem 0;
	}
	
	ul.teachers .t_name{
		white-space: nowrap;
		margin-right:10px;
	}
	

	ul.teachers .t_info {
		padding: 0 0 0 15px;
	}
	
	span {
		display:inline-block;
	}

	ul.teachers .specialized {
		padding: 0 0 1.5rem 75px;
		background: url(img/senmonbunya.png) no-repeat left 15px top;
		background-size: 50px 19px;
	}
}



/*
@media print,
screen and (min-width:1024px) {
	ul.teachers .t_photo {
		padding-left: 30px;
		padding-right: 0px;
	}

	ul.teachers .t_info {
		box-sizing: border-box;
		padding: 0 0 0 5px;
		min-width: 100%;
	}

	ul.teachers li {
		box-sizing: border-box;
		width: 50%;
		float: left;
	}

	ul.teachers .t_info div.link {
		text-align: right;
	}

	ul.teachers .specialized {
		padding: 0.2rem 0 1.5rem 100px;
		background: url(img/senmonbunya.png) no-repeat left 5px top;
		background-size: 67px 25px;
	}

	ul.teachers .smaller {
		font-size: 0.9em;
		padding: 0 0 0 5px;
	}
	

	
}
/*
