@charset "utf-8";
/* CSS Document */
.img-title_box {
	background-image: url("../images/entrance/title-img.jpg");
}
.content {
	padding-top: 60px;
	padding-bottom: 120px;
}

#youkou h3 {
	font-size: 40px;
	font-weight: bold;
	text-align: center;
	background-color: #ddd;
	padding: 0.4em 0 0.5em;
}
#youkou .pdf_box {
	margin-top: 60px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#youkou .pdf_box .pdf_block {
	width: 31%;
}
#youkou .pdf_box .pdf_block h4 {
	font-size: 21px;
	font-weight: bold;
	border-left: 2px solid #000;
	padding-left: 18px;
}
#youkou .pdf_box .pdf_block h4 .s-txt {
	font-size: 16px;
}
#youkou .pdf_box .pdf_block .btn {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
}
#youkou .pdf_box .pdf_block .btn a {
	display: block;
	width: 100%;
	padding: 1.1em 0 1.2em;
	background-color: #000;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	border-radius: 1.8em;
	position: relative;
	background-image: url("../images/entrance/icon_pdf.svg");
	background-repeat: no-repeat;
	background-size: 38px auto;
	background-position: 30px center;
	transition-property: opacity;
	transition-duration:.4s;
	transition-timing-function:ease-in-out;
}
#youkou .pdf_box .pdf_block .btn a:hover {
	opacity: 0.5;
}
#youkou .pdf_box .pdf_block .btn a::after {
	position: absolute;
	top: 50%;
	right: 20px;
	content: "〉";
	font-weight: normal;
	transform: translateY(-50%);
}

#youkou .pdf_box .pdf_block.senmon h4 {
	border-left-color: #b21521;
}
#youkou .pdf_box .pdf_block.senmon .btn a {
	background-color: #b21521;
}

#youkou .pdf_box .pdf_block.koutou h4 {
	border-left-color: #0044a6;
}
#youkou .pdf_box .pdf_block.koutou .btn a {
	background-color: #0044a6;
}


@media screen and (max-width: 768px) {
	.content {
		padding-top: 8.4vw;
		padding-bottom: 10vw;
	}

	#youkou h3 {
		font-size: 4.5vw;
	}
	#youkou .pdf_box {
		margin-top: 6vw;
	}
	#youkou .pdf_box .pdf_block {
		width: 47%;
	}
	#youkou .pdf_box .pdf_block:nth-child(n+3) {
		margin-top: 5vw;
	}
	#youkou .pdf_box .pdf_block h4 {
		font-size: 3vw;
		padding-left: 1.5vw;
	}
	#youkou .pdf_box .pdf_block h4 .s-txt {
		font-size: 2vw;
	}
	#youkou .pdf_box .pdf_block .btn {
		margin-top: 2.5vw;
	}
	#youkou .pdf_box .pdf_block .btn a {
		font-size: 2.6vw;
		background-size: 4.5vw auto;
		background-position: 5vw center;
	}
	#youkou .pdf_box .pdf_block .btn a:hover {
		opacity: 0.5;
	}
	#youkou .pdf_box .pdf_block .btn a::after {
		position: absolute;
		top: 50%;
		right: 3vw;
		content: "〉";
		font-weight: normal;
		transform: translateY(-50%);
	}
}


@media screen and (max-width: 420px) {  
	.content {
		padding-top: 12vw;
		padding-bottom: 9vw;
	}

	#youkou h3 {
		font-size: 6vw;
		padding: 0.4em 0 0.5em;
	}
	#youkou .pdf_box {
		width: 86%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 12vw;
		display: block;
	}
	#youkou .pdf_box .pdf_block {
		width: 100%;
	}
	#youkou .pdf_box .pdf_block:nth-child(n+2) {
		margin-top: 10vw;
	}
	#youkou .pdf_box .pdf_block h4 {
		font-size: 4.8vw;
		padding-left: 5vw;
	}
	#youkou .pdf_box .pdf_block h4 .s-txt {
		font-size: 3.5vw;
	}
	#youkou .pdf_box .pdf_block .btn {
		margin-top: 3.8vw;
	}
	#youkou .pdf_box .pdf_block .btn a {
		padding: 1.1em 0 1.2em;
		font-size: 4.5vw;
		background-size: 9vw auto;
		background-position: 9vw center;
	}
	#youkou .pdf_box .pdf_block .btn a:hover {
		opacity: 0.5;
	}
	#youkou .pdf_box .pdf_block .btn a::after {
		right: 5vw;
	}
}

