@charset "utf-8";
/*------------------------------------------------------------
	inquiry
------------------------------------------------------------*/
#main .list-ul {
	margin: -60px -40px 0;
	display: flex;
	flex-wrap: wrap;
    align-items: stretch;
}
#main .list-ul li {
	margin-top: 60px;
	padding: 0 40px;
	width: 33.33%;
	box-sizing: border-box;
}
#main .list-ul .image {
	margin-bottom: -12px;
	text-align: center;
}
#main .list-ul .image img {
	height: 120px;
}
#main .list-ul a {
	padding: 28px 25px 30px;
	color: #fff;
	display: block;
	background-color: #064099;
	box-sizing: border-box;
	position: relative;
display: flex;
    flex-flow: column;
    height: 100%;
}
#main .list-ul a::before {
	width: 100%;
	height: 100%;
	background-color: #fff;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	transition: .3s;
	content: "";
	z-index: 15;
}
#main .list-ul .title {
	min-height: 47px;
	margin-bottom: 14px;
	text-align: center;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.33;
	box-sizing: border-box;
}
#main .list-ul .link {
	margin-top: 19px;
	font-size: 1.4rem;
	font-weight: 500;
	text-align: center;
}
#main .list-ul .link span {
	padding-right: 20px;
	display: inline-block;
	vertical-align: top;
	position: relative;
}
#main .list-ul .link span::after {
	width: 6px;
	height: 6px;
	border: 1px solid;
	border-color: #fff #fff transparent transparent;
	transform: rotate(45deg);
	position: absolute;
	top: 7px;
  	right: 7px;
	content: "";
}
#main .com-txt {
	margin-bottom: 59px;
}
#main .list-ul .special a{
	padding: 0 0 20px;
	color: #064099;
	background-color: #fff;
	border: 1px solid #064099;
	text-align: center;
}
#main .list-ul .special .sub-title {
	margin-bottom: -20px;
	padding: 9px 8px;
	font-weight: bold;
	font-size: 1.4rem;
	background-color: #EA5404;
	color: #fff;
	position: relative;
	z-index: 10;
}
#main .list-ul .special .photo {
	margin-bottom: 17px;
}
#main .list-ul .special .photo img {
	width: 100%;
}
#main .list-ul .special .title {
	font-size: 2rem;
	margin-bottom: 14px;
}
#main .list-ul .special p {
	margin-bottom: 14px;
}
#main .list-ul .special p:last-child {
	margin-bottom: 0;
}

#main .list-ul .special .link span::after {
    border-color: #064099 #064099 transparent transparent;
}


@media all and (min-width: 897px) {
	#main .list-ul a:hover::before {
		opacity: 0.1;
	}
}
@media all and (max-width: 896px) {
	#main .list-ul {
		margin: 0;
		display: block;
	}
	#main .list-ul li {
		margin: 0 0 60px;
		padding: 0;
		width: auto;
		box-sizing: border-box;
	}
	#main .list-ul li:last-child {
		margin-bottom: 0;
	}
	#main .list-ul a {
		padding-top: 10px;
	}
}