@charset "utf-8";
/* =======================================

	IndexElements

======================================= */

.cont_header.visual {
	height: 290px;
}
@media only screen and (max-width: 768px) {
	.cont_header.visual {
		margin: 0 0 10px;
	}
	.cont_header.visual h1 {
		font-size: 4rem;
	}
}


/* ------------------------------------
	cont_index
------------------------------------ */
.cont_index {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.cont_index li {
	position: relative;
	width: 23.64%;
	background: transparent url(../img/page_header_bg.jpg) center center no-repeat;
	background-size: cover;
	z-index: 0;
	margin: 0 1.81% 1.81% 0;
	text-align: center;
	font-weight: bold;
}
.cont_index li:nth-child(4n) {
	margin-right: 0;
}
.cont_index li::before {
	content: '';
	display: block;
	padding-top: 100%;
}
.cont_index li a {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #fff;
	z-index: 1;
	font-size: 2rem;
	line-height: 1.6;
	padding: 15%;
}
.cont_index li a:link,
.cont_index li a:visited,
.cont_index li a:active,
.cont_index li a:hover {
	color: #fff;
	text-decoration: none;
}
.cont_index li a small {
	display: block;
	font-size: 1.6rem;
	margin: 0 0 1em;
}
.cont_index li a::before {
	content: '';
	position: absolute;
	top: 5px;
	left: 5px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 10px 0 0;
	border-color: #fff transparent transparent transparent;
}
.cont_index li a::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #333;
	opacity: 0.4;
	z-index: -1;
}

@media only screen and (max-width: 768px) {
	.cont_index {
		display: block;
	}
	.cont_index li {
		width: 100%;
		margin: 0 0 10px;
		text-align: left;
	}
	.cont_index li::before {
		padding-top: 45%;
	}
	.cont_index li a {
		align-items: flex-start;
		padding: 0 10%;
	}

}


/* btn_area */
.btn_area a {
	border-width: 1px;
	width: 500px;
	max-width: 48%;
	margin: 10px 1%;
	white-space: nowrap;
}
@media only screen and (max-width: 768px) {
	.btn_area a {
		width: 100%;
		max-width: 100%;
		margin: 5px 0;
	}
}



/* ------------------------------------
	PC hover
------------------------------------ */
/* opacity */
body.pc_view .cont_index li a::after {
	-webkit-transition: opacity 0.2s ease-out;
	-moz-transition: opacity 0.2s ease-out;
	transition: opacity 0.2s ease-out;
}
body.pc_view .cont_index li a:hover::after {
	opacity: 0.6;
}

