@charset "utf-8";
/*------------------------------------------------

(C) International Budo University

department.css

------------------------------------------------*/

#department #mainImg {
	background: url(/department/img/mainimg.jpg) center bottom no-repeat;
	background-size: cover;
}
.conts #main ul.teacherList li {
	padding: 0 1% 5% 1%;
	width: 23%;
	line-height: 1.4em;
	text-align: center;
	float: left;
}
.conts #main ul.teacherList li:nth-child(4n+1) {
	clear: both;
}
.conts #main ul.teacherList li a {
	color: #333;
	display: block;
}
.conts #main ul.teacherList li a:hover {
	color: #00afcb;
}
.conts #main ul.teacherList li img {
	margin: 0 0 10px 0;
	width: 100%;
	height: auto;
}


/*------------------------------------------------
体育学部
------------------------------------------------*/
.subject #main h2 {
	margin: 0 0 20px 0;
	color: #00afcb;
}

/* index */
.subject.top #main .box ul li {
	width: 49%;
	font-size: 1.4em;
	line-height: 1.4em;
	text-align: center;
	float: left;
}
.subject.top #main .box ul li:last-child {
	float: right;
}
.subject.top #main .box ul li img {
	margin: 0 0 10px 0;
	width: 100%;
	height: auto;
}
.subject.top #main .box ul li a {
	color: #333;
	display: block;
}
.subject.top #main .box ul li a:hover {
	color: #00afcb;
}

/* detail */
.subject #main .box h4 {
	padding: 0;
	font-weight: normal;
	color: #333;
	background: none;
}
.subject #main .box .courseList li {
	margin: 0 0 15px 0;
	width: 49%;
	line-height: 1.6em;
	float: left;
}
.subject #main .box .courseList li:nth-child(2n) {
	float: right;
}
.subject #main .box .courseList li a {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 15px 10px 15px 22px;
	text-align: center;
	text-decoration: none;
	background: #f0fafc url(../common/img/arrow_s.png) 15px center no-repeat;
	background-size: 16px 16px;
	border: 1px solid #f0fafc;
	display: block;
}
.subject #main .box .courseList li a:hover {
	background-color: #fff;
	border: 1px solid #00afcb;
}
.subject #main .box dl {
	margin: 0 0 15px 0;
	width: 100%;
}
.subject #main .box dl dt {
	width: 30%;
	float: left;
}
.subject #main .box dl dt img {
	width: 100%;
	height: auto;
}
.subject #main .box dl dd {
	width: 66%;
	float: right;
}
.subject #main .box .other {
	padding: 3% 5%;
	width: 90%;
	background: #f6f6f6;
}
.subject #main .box .other ul li {
	width: 48%;
	float: left;
}
.subject #main .box .other ul li:last-child {
	float: right;
}
.subject #main .box .other ul li a {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 15px 15px 15px 30px;
	line-height: 1.5em;
	text-align: center;
	text-decoration: none;
	background: #fff url(../common/img/arrow_s.png) 10px center no-repeat;
	background-size: 16px 16px;
	border: 1px solid #fff;
	display: block;
}
.subject #main .box .other ul li a:hover {
	border: 1px solid #00afcb;
}

/* remodal */
.remodal-overlay {
	background: rgba(0,0,0,0.9);
}
.remodal {
	margin-bottom: 0;
	padding: 40px 15px;
	width: 100%;
	color: #333;
}
.remodal img {
	width: 100%;
	max-width: 740px;
	height: auto;
}


/*------------------------------------------------
大学院
------------------------------------------------*/
.graduate #main .box p.img img {
	width: auto !important;
}





@media screen and (max-width: 768px) {
	.conts #main ul.teacherList {
		margin: 0 auto;
		width: 96%;
	}
	.conts #main ul.teacherList li {
		width: 31.3%;
	}
	.conts #main ul.teacherList li:nth-child(4n+1) {
		clear: none;
	}
	.conts #main ul.teacherList li:nth-child(3n+1) {
		clear: both;
	}
	.conts #main ul.teacherList li a {
		color: #333 !important;
	}


/*------------------------------------------------
体育学部
------------------------------------------------*/
	.subject #main h2 {
		margin: 0 2% 20px 2%;
	}

/* index */
	.subject.top #main .box ul li a:hover {
		color: #333;
	}

/* detail */
	.subject #main .box .courseList li {
		margin: 0 0 10px 0;
		width: 100%;
	}
	.subject #main .box .courseList li a {
		border: 1px solid #00afcb;
	}
	.subject #main .box .courseList li a:hover {
		background-color: #f0fafc;
	}
	.subject #main .box .other ul li a:hover {
		border: 1px solid #fff;
	}


/*------------------------------------------------
大学院
------------------------------------------------*/
	.graduate #main .box p.img img {
		width: 100% !important;
	}
}





@media screen and (max-width: 640px) {
	.conts #main ul.teacherList li {
		padding: 0 2% 7% 2%;
		width: 46%;
	}
	.conts #main ul.teacherList li:nth-child(3n+1) {
		clear: none;
	}
	.conts #main ul.teacherList li:nth-child(2n+1) {
		clear: both;
	}


/*------------------------------------------------
体育学部
------------------------------------------------*/
	.subject #main h2 {
		margin: 0 4% 15px 4%;
	}
	.subject #main h2 img {
		width: 100%;
		height: auto;
	}

/* index */
	.subject.top #main .box ul li {
		margin: 0 0 20px 0;
		width: 100%;
		font-size: 14px;
		float: none;
	}
	.subject.top #main .box ul li:last-child {
		margin: 0;
		float: none;
	}

/* detail */
	.subject #main .box dl dt {
		width: 100%;
		text-align: center;
		float: none;
	}
	.subject #main .box dl dd {
		padding: 10px 0 0 0;
		width: 100%;
		float: none;
	}
	.subject #main .box .other {
		padding: 4% 4% 2% 4%;
		width: 92%;
	}
	.subject #main .box .other ul li {
		margin: 0 0 10px 0;
		width: 100%;
		float: none;
	}
	.subject #main .box .other ul li:last-child {
		float: none;
	}
}
