@charset "utf-8";
/* =================================================================================================

   事業内容（メニュー）

   ================================================================================================= */
.business .jumbotron {
	background-image: url(../../Image/Business/bg-wide-business.jpg);
	background-position-x: right;
	background-position-y: center;
}

.business .menu-flex {
	display: flex;
	justify-content: space-evenly;
}

.business .menu-flex:first-of-type {
	margin-bottom: 30px;
}

.business .menu-flex.dispatch a,
.business .menu-flex.dispatch img {
	height: 300px;
	object-fit: cover;
}

.business .menu-flex.dispatch a {
	width: 94.5%;
}

.business .menu-flex.dispatch img {
	width: 100%;
}

.business .box {
	position: relative;
	width: 46%;
}

.business .box::before {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: "";
	background: rgba(0, 0, 0, 0.3);
}

.business .box:hover {
	cursor: pointer;
}

.business .box img {
	width: 100%;
}

.business .box:hover,
.business .box:hover img {
	opacity: 1;
}

.business .box:hover::before {
	background: rgba(0, 0, 0, 0);
	transition: .5s;
}

.business .box .btn {
	border: 2px solid #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 10px;
	width: 280px;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	border-radius: 30px;
	transform: translate(-50%, -50%);
}

.business .box:hover .btn {
	transition: .5s;
	background: linear-gradient(to right, #02c8ea, #067ff8);
}

.business .box .btn:active,
.business .box .btn:focus,
.business .box:not(:disabled):not(.disabled).active,
.business .box:not(:disabled):not(.disabled):active {
	background: linear-gradient(to right, #02c8ea, #067ff8);
}


/* -----------------------------------------------
   メディアクエリ(max-width: 991px)
   ----------------------------------------------- */
@media (max-width: 991px) {
	.business .jumbotron {
		background-position-x: center;
	}
	
	.business h3 + p.secText {
		padding: 0 24px;
		text-align: left;
	}

	.business h3 + p br {
		display: none;
	}

	.business .box .btn {
		width: 250px;
		font-size: 18px;
	}
}


/* -----------------------------------------------
   メディアクエリ(max-width: 767px)
   ----------------------------------------------- */
@media (max-width: 767px) {
	.business h3 + p.secText {
		padding: 0;
	}

	.business .menu-flex {
		flex-direction: column;
	}

	.business .menu-flex a:first-of-type {
		margin-bottom: 30px;
	}

	.business .menu-flex.dispatch a {
		width: 100%;
		margin-bottom: 0;
	}

	.business .box {
		width: 100%;
	}
}