@charset "utf-8";

/* -----------------------------------------------------------
サービス一覧共通
-------------------------------------------------------------- */
.cmn_service_list {
	background: var(--cmnbg2);
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

.cmn_service_list .inner {
	position: relative;
}

.cmn_service_list .cmn_service_title {
	color: #fff;
	font-size: 4.3rem;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: .05em;
}

.cmn_service_txt {
	color: #fff;
	font-size: 1.9rem;
	letter-spacing: .07em;
	margin: 20px 0 0;
}

.service-main {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin: 50px 0 0;
}

.service-main .service-main-item {
	background: var(--gray3);
	width: calc((100% - 40px) / 2);
	padding: 50px 50px 60px;
	position: relative;
}

.service-main .service-main-thumb {
	width: 100%;
	aspect-ratio: 480/310;
	overflow: hidden;
}

.service-main .service-main-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .5s;
}

.service-main .service-main-header {
	align-items: center;
	display: flex;
	gap: 10px;
	margin: 20px 0 0;
}

.service-main .service-main-header .icon {
	align-items: center;
	display: flex;
	justify-content: center;
	width: 70px;
	height: 70px;
}

.service-main .service-main-header .icon img {
	max-width: 100%;
	max-height: 100%;
}

.service-main .service-main-header .txt {
	color: #fff;
	font-size: 3.7rem;
	font-weight: bold;
	letter-spacing: .02em;
}

.service-main .service-main-body {
	margin: 20px 0 0;
}

.service-main .service-main-catch {
	background: var(--main);
	color: #fff;
	font-size: 2.1rem;
	font-weight: 500;
	letter-spacing: .05em;
	width: fit-content;
	padding: 0 15px 3px 15px;
}

.service-main .service-main-note {
	color: var(--gray2);
	font-size: 1.9rem;
	font-weight: 500;
	letter-spacing: .07em;
	margin: 18px 0 0;
}

.service-second {
	display: flex;
	gap: 40px;
	margin: 40px 0 0;
}

.service-second .service-second-item {
	background: var(--gray3);
	padding: 50px;
}

.service-second .service-second-ttl {
	color: #fff;
	font-size: 3.3rem;
	font-weight: bold;
	letter-spacing: .02em;
	margin: 0 0 30px 0;
}

.service-second .service-second-note {
	color: var(--gray2);
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: .03em;
	line-height: 1.8;
}

.service-second .service-film {
	width: 450px;
	flex-shrink: 0;
	position: relative;
}

/*.service-second .service-film::before {
	content: "";
	background: url(../img/cmn-arrow-blue.svg) center/contain no-repeat;
	width: 21px;
	height: 11px;
	position: absolute;
	right: 50px;
	bottom: 30px;
}*/
.service-second .service-film-thumb {
	width: 100%;
	aspect-ratio: 350/226;
	margin: 0 0 30px 0;
	overflow: hidden;
}

.service-second .service-film-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .5s;
}

.service-second .service-option-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 10px;
	margin: 30px 0 0;
}

.service-second .service-option-item {
	border: solid 4px var(--gray3);
	background: #fff;
	display: flex;
	min-height: 100px;
	width: calc((100% - 20px) / 3);
	position: relative;
}

/*.service-second .service-option-item::before {
	content: "";
	background: url(../img/cmn-arrow-blue-small.svg) center/contain no-repeat;
	width: 16px;
	height: 11px;
	position: absolute;
	right: 10px;
	bottom: 10px;
}*/
.service-second .service-option-item figure {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 auto;
	padding: 0 0 12px;
}

.service-second .service-option-item figcaption {
	align-items: center;
	color: var(--cmnblack);
	display: flex;
	font-weight: bold;
	font-size: 1.7rem;
	line-height: 1.3;
	transition: .5s;
	text-align: center;
	width: 100%;
	height: 50px;
	justify-content: center;
	padding: 0 10px;
}

.service-second [data-reason_service_option="electrical"] figcaption {
	font-size: 1.4rem;
}

.service-second .service-option-icon {
	width: 100%;
	aspect-ratio: 3/1.5;
}

.service-second .service-option-icon img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: .5s;
}

@media screen and (min-width: 769px) {
	.service-main .service-main-item:hover {
		background: #414349;
	}

	.service-main .service-main-item:hover .service-main-thumb img {
		transform: scale(1.07);
	}

	.service-second .service-film:hover {
		background: #414349;
	}

	.service-second .service-film:hover .service-film-thumb img {
		transform: scale(1.07);
	}

	.service-second .service-option-item:hover {
		border-color: var(--main);
	}

	.service-second .service-option-item:hover figcaption {
		color: var(--main);
	}
}

@media screen and (max-width: 768px) {
	.cmn_service_list {
		padding: 50px 0;
	}

	.cmn_service_list .cmn_service_title {
		font-size: 2.5rem;
	}

	.cmn_service_list .cmn_service_txt {
		font-size: 1.6rem;
	}

	.service-main {
		gap: 30px;
		margin: 30px 0 0;
	}

	.service-main .service-main-item {
		width: 100%;
		padding: 0 0 35px;
	}

	.service-main .service-main-item::before {
		width: 19px;
		height: 9px;
		right: 20px;
		bottom: 20px;
	}

	.service-main .service-main-header {
		gap: 7px;
		padding: 0 20px;
	}

	.service-main .service-main-header .icon {
		width: 47px;
		height: 47px;
	}

	.service-main .service-main-header .txt {
		font-size: 2.3rem;
	}

	.service-main .service-main-body {
		margin: 17px 0 0;
		padding: 0 20px;
	}

	.service-main .service-main-catch {
		font-size: 1.8rem;
		line-height: 1.4;
		padding: 8px 10px 9px 10px;
	}

	.service-main .service-main-note {
		font-size: 1.7rem;
		letter-spacing: .05em;
		line-height: 1.7;
	}

	.service-second {
		flex-direction: column;
		gap: 20px;
		margin: 20px 0 0;
	}

	.service-second .service-second-item {
		padding: 25px 20px 35px;
	}

	.service-second .service-second-ttl {
		font-size: 2.3rem;
		margin: 0 0 15px 0;
	}

	.service-second .service-second-note {
		font-size: 1.7rem;
		letter-spacing: .05em;
		line-height: 1.7;
	}

	.service-second .service-film {
		width: 100%;
	}

	.service-second .service-film::before {
		width: 19px;
		height: 9px;
		right: 20px;
		bottom: 20px;
	}

	.service-second .service-film-thumb {
		margin: 0 0 20px 0;
	}

	.service-second .service-option-list {
		gap: 20px;
		margin: 20px 0 0;
	}

	.service-second .service-option-item {
		border: none;
		display: block;
		width: 100%;
		min-height: 80px;
	}

	.service-second .service-option-item::before {
		width: 14px;
		height: 9px;
	}

	.service-second .service-option-item figure {
		flex-direction: row;
		margin: 0;
		gap: 0;
		padding: 0 15px 0 0;
		height: 100%;
	}

	.service-second .service-option-item figcaption {
		text-align: left;
    	font-size: 1.6rem;
    	flex-grow: 1;
    	width: 55%;
    	padding: 0 0 0 15px!important;
		height: auto;
		justify-content: flex-start;
	}

	.service-second [data-reason_service_option="electrical"] figcaption {
		font-size: 1.6rem;
		justify-content: flex-start;
	}

	.service-second .service-option-icon {
		flex-shrink: 0;
		width: 45%;
		height: 100%;
	}
}