@charset "utf-8";
@import url("root.css");

/***************************************
------------- service -------------
***************************************/
#top .page_link li a[href*="service/"] {
	color: #333 !important;
	padding-bottom: .25em;
	border-bottom: 1px dotted #333;
	span { color:inherit; }
}



#service {
	width: 100%;
	counter-reset: number 0;
}
.container + .container {
	padding-top: 0;
}
#service h3 {
	text-align: center;
	margin: 0 auto;
	line-height: 1.3;
}
#service h4 {
	text-align: center;
	margin: 0 auto min(3vw,30px);
	line-height: 1.3;
}

#service .color01{color: var(--service-nv);}
#service .color02{color: var(--service-gr);}

.service_wrap {
	display: flex;
	flex-wrap: wrap;
	gap: min(5vh, 50px) min(4%, 50px);
	margin-top: min(10vw,50px);
}
.service_wrap dl.col_txt {
	display: flex;
	flex-direction: column;
	width: calc((100% - min(4%, 50px) * 2) / 3);
	text-align: left;
	dt .img-wrap {
		position: relative;
	}
	dt .img-wrap::before {
		counter-increment: number 1;
		content: counter(number) "";
		color: var(--base-color03);
		position: absolute;
		top: 0;
		left: 0;
		width: 3rem;
		height: auto;
		aspect-ratio: 1/1;
		background: var(--base-color01);
		font-size: 1.25rem;
		font-weight: bold;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	h5 {
		margin-top: .5rem;
		font-size: 1.5rem;
		line-height: 1.0;
		padding-bottom: .5em;
		border-bottom: 1px solid #333;
		margin-bottom: .5em;
		span {
			display: block;
			line-height: 1.0;
			margin-top: .5rem;
		}
	}
}

.service_wrap .service_cr {
	font-size: .8rem;
	margin-top: 1rem;
	color: var(--base-color01);
	font-weight: bold;
	padding-bottom: .25em;
	border-bottom: 1px dotted var(--base-color01);
	margin-bottom: .25em;
}
.service_wrap .ex_link li {
	a {
		font-size: .8rem;
		display: flex;
		align-items: center;
		width: fit-content;
	}
	a::after {
		content: "";
		display: block;
		background: url(../img/exlink.svg) no-repeat center center / contain;
		width: .75em;
		height: auto;
		aspect-ratio: 1/1;
		margin-left: .5em;
		filter: invert(62%) sepia(34%) saturate(292%) hue-rotate(146deg) brightness(93%) contrast(88%);
	}
}

@media (max-width: 768px) {
	.service_wrap dl.col_txt {
		width: calc((100% - min(4%, 50px)) / 2);
	}
}
@media (max-width: 499px) {
	.service_wrap dl.col_txt {
		width: 100%;
	}
}

.sitelink {
	width: min(100%, 900px);
	margin: min(10vw, 60px) auto 0;
	a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 80px;
		margin: auto;
		padding: 1rem 2rem;
		background: var(--base-color01);
		border: 1px solid var(--base-color01);
		border-radius: 4px;
		color: #fff;
		transition: .5s;
	}
	a::after {
		content: "";
		display: block;
		background: url(../img/exlink.svg) no-repeat center center / contain;
		width: .75em;
		height: auto;
		aspect-ratio: 1 / 1;
		margin-left: .5em;
		filter: invert(62%) sepia(34%) saturate(292%) hue-rotate(146deg) brightness(93%) contrast(88%);
	}
	a:hover {
		background: #fff;
		color: var(--base-color01);
	}
}

/***************************************
------------- parallax -------------
***************************************/
.parallax {
	background: url(../img/parallax_bg03.webp) no-repeat center center / cover;
	height: clamp(300px,35vh,600px);
	background-attachment: fixed;
}