@charset "utf-8";
/* 文学部 201903  教員・スタッフ紹介 */

#teacher .pamphlet {
	margin: 10px auto 10px auto;
}

#teacher .pamphlet ul {
	margin-left: 30px;
}

#teacher .pamphlet ul li {
	margin-bottom: 10px;
	list-style: disc;
}


#teacher #Department {}

	#teacher #Department::after {
	  content: ""; clear: both; display: block;
	  }

#teacher #Department li {
  float: left;
  width: auto;
  height: auto;
  margin: 0 3px 3px 0;
  padding: 5px 15px;
  background-color: #e9e0ee;
  cursor: pointer;
  vertical-align: middle;
  font-size: 90%;
}

#teacher #Department li span::after {
	content:" ";
	display: inline;
	margin: 0;
	padding-right: 5px;
	font-weight: bold;
	font-family: inherit;
	text-align: left;
}

#teacher #Department li.active,
#teacher #Department li.active a{
  background-color: #d60000;
  color: #fff;
}

#teacher #Department li a {
  color: #4c4948;
}

#teacher #Department li.active a {
  color: #fff;
}


#teacher .index ul {}

	#teacher .index ul::after {
	  content: ""; clear: both; display: block;
	  }

#teacher .index ul li {
	float: left;
	position: relative;
	background-repeat: no-repeat;
	background-size: cover !important;
	margin-bottom: 0px;
}

#teacher .index ul li:hover {
  opacity: 0.75;
}

#teacher .index ul li a {
	display: block;
	width: 160px;
	height: 160px;
	color: #ffffff;
	text-decoration: none;
	background: rgba(49, 75, 87, 0.5);
}



/*20190606追記*/
#teacher .index ul li p {
    position: absolute;
    bottom: 12px;
    left: 14px;
    color: #ffffff;
	width: 90%;
}

#teacher .index ul li p span.depa {
	font-size: 70%; 
	position: absolute;
	bottom: 120px;
}

/*
#teacher .index ul li p {
	position: absolute;
	bottom: 12px;
	left: 14px;
	color: #ffffff;
}

#teacher .index ul li p span.depa { font-size: 70%; }
*/

/*20190606追記ここまで*/


#teacher .index ul li p span.posi { font-size: 75%; }
#teacher .index ul li p span.name { font-size: 100%; font-weight: bold; line-height:1.2; }
#teacher .index ul li p span.moret {
	display: inline-block;
	padding: 2px 10px 1px;
	background-color: #0085cd;
	font-size: 60%;
	text-align: center;
}




#teacher .index ul li p span {
	display: block;
}
#teacher .index ul li.ikeda { background: url(../images/teachers/thumbs/ikeda2.jpg) ; }
#teacher .index ul li.kataoka { background: url(../images/teachers/thumbs/info02_kataoka.jpg) ; }
#teacher .index ul li.sugaya { background: url(../images/teachers/thumbs/sugaya.jpg) ; }
#teacher .index ul li.nomura { background: url(../images/teachers/thumbs/info06_nomura.jpg) ; }
#teacher .index ul li.fujita { background: url(../images/teachers/thumbs/info07_fujita.jpg) ; }
#teacher .index ul li.miyoshi { background: url(../images/teachers/thumbs/miyoshi02.jpg) ; }
#teacher .index ul li.soga { background: url(../images/teachers/thumbs/info12_soga2.jpg) ; }
#teacher .index ul li.fujimoto { background: url(../images/teachers/thumbs/fujimoto2.jpg) ; }
#teacher .index ul li.yamamoto{ background: url(../images/teachers/thumbs/info18_yamamoto_t.jpg) ; }
#teacher .index ul li.yoshimi { background: url(../images/teachers/thumbs/yoshimi02.jpg) ; }
#teacher .index ul li.ueda { background: url(../images/teachers/thumbs/ueda2.jpg) ; }
#teacher .index ul li.oku { background: url(../images/teachers/thumbs/info17_oku.jpg) ; }
#teacher .index ul li.watanabe { background: url(../images/teachers/thumbs/watanabe_y2.jpg) ; }
#teacher .index ul li.shiba { background: url(../images/teachers/thumbs/info11_shiba.jpg) ; }
#teacher .index ul li.iwashima { background: url(../images/teachers/thumbs/info14_iwashima.jpg) ; }
#teacher .index ul li.kinou { background: url(../images/teachers/thumbs/info15_kinou.jpg) ; }
#teacher .index ul li.comingsoon { background: url(../images/teachers/thumbs/comingsoon.jpg) ; }


/*20240408追記*/
#teacher #Department li.active,
#teacher #Department li.active a {
	background: #000;
}
#teacher #Department li {
	background: rgba(0, 0, 0, .3);
}

/*20240408追記ここまで*/
@media screen and (max-width: 736px) {

#teacher .pamphlet {
	margin: 10px auto 40px auto;
	text-align: center;
}

#teacher .pamphlet img {
	display: inline-block;
}
	
#teacher .pamphlet ul {
	margin: 20px 0 0 30px;
	text-align: left;
}

#teacher #Department li {
  display: inline-block;
  float: left;
  width: 49%;
  padding: 10px;
  box-sizing: border-box;
}

#teacher .index ul li {
	width: 50%;
	background-repeat: no-repeat!important;
	background-size:cover!important;
}

#teacher .index ul li a {
	width: 100%;
	height: auto;
	padding-top: 100%;
}

/*20190606追記*/
#teacher .index ul li p span.depa {
	bottom: 135px;
}
/*20190606追記ここまで*/
}

