@charset "utf-8";

/*
	図書室トップ
*/


.btn.center {
	text-align: center;
}

.btn a,
.btn span {
	background: #4A74AE;
	color: #FFF;
	display: inline-block;
	height: 30px;
	line-height: 32px;
	text-align: center;
	-webkit-transition: opacity .1s linear;
	-moz-transition: opacity .1s linear;
	transition: opacity .1s linear;
	width: 160px;
}

.btn a:hover {
	opacity: .8;
	text-decoration: none;
}

.news-list {
	border-top: 1px solid #000;
	list-style: none;
	margin: 30px 0;
	padding: 0;
}

.news-list li a {
	border-bottom: 1px solid #000;
	display: block;
	color: #4A74AE;
	font-size: 18px;
	line-height: 1.6em;
	padding: 12px 0 12px 155px;
	position: relative;
}

.news-list li a span.date {
	color: #000;
	display: block;
	left: 15px;
	position: absolute;
	top: 12px;
	width: 140px;
}

.row {
	clear: both;
}

.lib-bl {
	float: left;
	margin: 0 0 30px 4%;
	width: 48%;
}

.lib-bl:nth-of-type(2n+1) {
	margin-left: 0;
}

.lib-bl a {
	box-sizing: border-box;
	display: block;
	min-height: 194px;
	padding: 0 0 40px 204px;
	position: relative;
	-webkit-transition: opacity .1s linear;
	-moz-transition: opacity .1s linear;
	transition: opacity .1s linear;
	width: 100%;
}

.lib-bl a:hover {
	opacity: .7;
	text-decoration: none;
}

.lib-bl img {
	height: 194px;
	left: 0;
	position: absolute;
	top: 0;
	width: 184px;
}

.lib-bl h3 {
	color: #4A74AE;
	font-size: 23px;
	margin: 0 0 10px 0;
}

.lib-bl ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lib-bl ul li {
	color: #000;
	font-size: 18px;
    line-height: 1.5em;
    position: relative;
    padding-left: 20px;
}

.lib-bl ul li:before {
    background: #666;
    border-radius: 6px;
    content: '';
    display: block;
    height: 12px;
    left: 0;
    position: absolute;
    top: 7px;
    width: 12px;
}

.lib-bl .btn {
	bottom: 0;
	position: absolute;
}

.contents iframe {
	display: block;
	margin: 0 auto 80px auto;
}







@media screen and (max-width: 980px) {
	.btn a,
	.btn span {
		font-size: 10px;
		height: 18px;
		line-height: 20px;
		width: 100px;
	}
	
	.news-list {
		margin: 20px 0;
	}

	.news-list li a {
		font-size: 14px;
		line-height: 1.4em;
		padding: 8px 0 8px 100px;
	}

	.news-list li a span.date {
		left: 10px;
		top: 8px;
		width: 90px;
	}
	
	.lib-bl {
		margin: 0 0 30px 4%;
	}

	.lib-bl a {
		min-height: auto;
		padding: 0 0 0 33%;
	}

	.lib-bl img {
		height: auto;
		width: 30%;
	}

	.lib-bl h3 {
		font-size: 13px;
		margin: 0 0 5px 0;
	}

	.lib-bl ul li {
		font-size: 10px;
    	padding-left: 10px;
	}

	.lib-bl ul li:before {
		border-radius: 3px;
		height: 6px;
		top: 4px;
		width: 6px;
	}
	
	.lib-bl .btn {
		margin-top: 20px;
		position: static;
	}
	
	.contents iframe {
		margin: 0 auto 50px auto;
		width: 100%;
	}
}
















