@charset "utf-8";

h2{
	font-family: "Noto Serif JP" ,"游明朝", "Yu Mincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HGS明朝E", serif;
	color: #EA5504;
	letter-spacing: 1px;
	/*border-bottom: 2px #00665A solid;*/
	background:url(../img/underline_02_orange.svg) left bottom no-repeat;
	padding-bottom: 10px;
}

h2 a{
	display: block;
	color: #EA5504;
}

h2 a:hover{
	text-decoration:none;
	background-color: #FFE0B2;
}

#document-list .img-box {
	position: relative;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}

#document-list .img-box:hover {
	opacity: 0.8;
}

#document-list .img-box::after {
	content: "クリックで拡大表示（PDF）";
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 1;
	background: rgba(0,0,0,0.3);
	color: #FFF;
	font-size: 16px;
	text-align: center;
}

#document-list .img-box img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 1px 1px 5px #AAA;
}

#document-list h3 {
	font-size: 17px;
	text-align: center;
}

#document-list .btn {
	text-align: center;
}

/* PCのみ */
@media screen and (min-width: 768px) {
	#document-list .flex-box {
		justify-content: space-between;
	}
	
}

/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	h2 {
		font-size: 17px;
		text-align: center;
	}
	
	#document-list .box {
		margin: 0 5px;
	}
}

/* スマートフォン */
@media screen and (max-width: 767px) {
	h2 {
		text-align: center;
	}
	
	#document-list .flex-box {
		display: block;	
	}
	
	#document-list .box {
		margin-bottom: 50px;
	}
	
	#document-list .img-box {
		width: 80%;
	}
}
