@charset "utf-8";

/*
	校友会
*/


.contents {
	margin-bottom: 50px;
}

#pagenav {
	border-top: 1px solid #000;
	float: left;
	margin-bottom: 30px;
	width: 100%;
}

#pagenav li {
	width: 33%;
}

#pagenav li a {
	width: 100%;
}

#pagenav li:nth-of-type(3n) a {
	border-right: none;
}

.contents h3 {
	color: #4A74AE;
	font-size: 30px;
	margin: 0 0 10px 0;
}

.contents p {
	line-height: 1.6em;
	margin: 0 0 10px 0;
}


/*--------------------------------------------- 校友会とは
*/
#mate1 .lead {
	margin-bottom: 40px;
}


/*--------------------------------------------- 校友会の主な活動
*/
.mate-bl {
	float: left;
	margin: 0 0 30px 4%;
	width: 48%;
}

.mate-bl:first-of-type {
	margin-left: 0;
}

.mate-bl img {
	height: auto;
	margin-bottom: 10px;
	width: 100%;
}

.mate-bl.wide {
	clear: both;
	margin-left: 0;
	width: 100%;
}


/*--------------------------------------------- 組織図
*/
#mate3 img {
	height: auto;
	width: 100%;
}


/*--------------------------------------------- 校友会連絡先・各部会リンク
*/
#mate4 h3 a {
	color: #4A74AE;
}

.school-info {
	font-size: 20px;
}

#mate4 p:last-of-type {
	margin-bottom: 60px;
}

.link {
	background: #CCD3E6;
	border-radius: 8px;
	box-sizing: border-box;
	float: left;
	list-style: none;
	margin: 10px 0 50px 0;
	padding: 25px;
	width: 100%;
}

.link li {
	float: left;
	margin-left: 3%;
	width: 31%;
}

.link li:first-of-type {
	margin-left: 0;
}

.link li a {
	background: #4A74AE;
	border-radius: 8px;
	color: #FFF;
	font-size: 20px;
	display: block;
	padding: 10px 0;
	text-align: center;
	-webkit-transition: opacity .1s linear;
	-moz-transition: opacity .1s linear;
	transition: opacity .1s linear;
}

.link li a:hover {
	opacity: .8;
}

.link li a span {
	display: inline-block;
	padding-left: 1.3em;
	position: relative;
}

.link li a span:before {
	content: '＞';
	left: 0;
	margin-top: -.5em;
	position: absolute;
	top: 50%;
}


/*--------------------------------------------- 関西鍼灸柔整協同組合
*/
#mate5 {
	margin-bottom: 80px;
}

#mate5 .school-info {
	margin: 20px 0;
}

#mate5 .btn a {
	background: #4A74AE;
	color: #FFF;
	display: inline-block;
	height: 30px;
	line-height: 32px;
	padding: 0 30px;
	-webkit-transition: opacity .1s linear;
	-moz-transition: opacity .1s linear;
	transition: opacity .1s linear;
}

#mate5 .btn a:hover {
	opacity: .8;
	text-decoration: none;
}







@media screen and (max-width: 980px) {
	.contents {
		margin-bottom: 30px;
	}

	#pagenav {
		display: block;
		margin-bottom: 0;
	}

	#pagenav li {
		width: 33%;
	}
	
	#pagenav ul:last-of-type {
		margin-bottom: 0;
	}
	
	#pagenav ul:last-of-type li {
		width: 50%;
	}

	#pagenav li a {
		font-size: 9px;
		height: 26px;
		line-height: 28px;
		white-space: nowrap;
		width: 100%;
	}

	#pagenav li:last-of-type a {
		border-right: none;
	}
	
	#pagenav li.li-d a {
		line-height: 1.4em;
		padding-top: 2px;
		white-space: normal;
	}
	
	#pagenav li.li-d a i {
		display: block;
	}

	.contents p {
		font-size: 13px;
		line-height: 1.4em;
	}
	
	.contents h3 {
		font-size: 15px;
		margin: 0 0 5px 0;
	}

	/*--------------------------------------------- 校友会とは
	*/
	#mate1 .lead {
		margin-bottom: 20px;
	}


	/*--------------------------------------------- 校友会の主な活動
	*/
	.mate-bl {
		margin: 0 0 20px 4%;
	}

	.mate-bl img {
		margin-bottom: 5px;
	}
	
	.mate-bl p {
		font-size: 12px;
	}

	/*--------------------------------------------- 校友会連絡先・各部会リンク
	*/
	.contents .school-info {
		font-size: 14px;
	}

	#mate4 p:last-of-type {
		margin-bottom: 30px;
	}

	.link {
		float: none;
		margin: 5px 0 30px 0;
		padding: 10px;
	}

	.link li {
		float: none;
		margin: 0 0 8px 0;
		width: 100%;
	}

	.link li a {
		font-size: 14px;
		padding: 8px 0;
	}


	/*--------------------------------------------- 関西鍼灸柔整協同組合
	*/
	#mate5 {
		margin-bottom: 50px;
	}

	#mate5 .school-info {
		margin: 10px 0;
	}

	#mate5 .btn a {
		font-size: 11px;
		height: 26px;
		line-height: 28px;
		padding: 0 10px;
	}
}
















