@charset "utf-8";

#main_contents {
	background-color: #f5f3ec;
	.page_description {
	}
	.page_description::after {
		content: "";
		display: block;
		margin: clamp(25px, 5vw, 50px) auto;
		width: auto;
		height: 2rem;
		aspect-ratio: 10/1;
		background: url(../img/greeting_line.webp) no-repeat center center / contain;
		filter: brightness(0) saturate(100%) invert(36%) sepia(12%) saturate(1946%) hue-rotate(351deg) brightness(92%) contrast(89%);
	}
}


.reasons_wrap {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: clamp(15px, 3vw, 30px);
	gap: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
}
.reasons_box {
	width: calc((100% - (clamp(15px, 3vw, 30px) * 3)) / 4);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
	.reasons_img img {
		width: 100%;
		height: auto;
		aspect-ratio: 5/3;
		object-fit: cover;
		border-radius: 8px 8px 0 0;
	}
	.reasons_txt {
		padding: 1.25rem;
	}
	h4 {
		font-size: clamp(1.2rem,2.5vw,1.5rem);
		line-height: 1.2;
		color: var(--base-color01);
		text-align: center;
	}
	h4::after {
		content: "";
		display: block;
		width: 80px;
		height: 2px;
		background: var(--base-color01);
		margin: 1.25rem auto;
	}
}
@media (max-width: 767px) {
	.reasons_box {
		width: calc((100% - clamp(15px, 3vw, 30px)) / 2);
	}
}
@media (max-width: 499px) {
	.reasons_box {
		width: 100%;
	}
}



.service {
	counter-reset: number 0;
	position: relative;
	z-index: 1;
	clip-path: polygon(0 0,0 100%,100% 100%,100% 0);
	background-color: transparent;
}
.service::before {
	content: '';
	z-index: -1;
	inset: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	background: url(../img/bg_onayami.webp) no-repeat center center / cover;
}
.service_wrap {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: clamp(15px, 3vw, 30px);
}
.service_box {
	display: flex;
	width: 100%;
	background: #fff;
	border-radius: 6px;
	dt {
		width: clamp(240px, 30%, 400px);
		flex-shrink: 0;
		background: var(--base-color01);
		padding: clamp(10px, 2vw, 20px) clamp(15px, 3vw, 30px);
		color: #fff;
		text-align: left;
	}
	dt::before {
		counter-increment: number 1;
		content: "(" counter(number) ") ";
	}
	dd {
		padding: clamp(10px, 2vw, 20px) clamp(15px, 3vw, 30px);
		flex-grow: 1;
	}
}
.service_box:not(:last-of-type) {
	dt { border-bottom: 1px dashed #fff;}
	dd { border-bottom: 1px dashed #ddd;}
}
.service_box:nth-of-type(1) {
	dt { border-radius: 6px 0 0 0;}
	dd { border-radius: 0 6px 0 0;}
}
.service_box:last-of-type {
	dt { border-radius: 0 0 0 6px;}
	dd { border-radius: 0 0 6px 0;}
}
@media (max-width: 767px) {
	.service_box {
		width: 100%;
		flex-wrap: wrap;
		dt,dd { width: 100%; }
	}
	.service_box:not(:last-of-type) {
		dt { border-bottom: none;}
		dd { border-bottom: none;}
	}
	.service_box:nth-of-type(1) {
		dt { border-radius: 6px 6px 0 0;}
		dd { border-radius: 0 0 0 0;}
	}
	.service_box:last-of-type {
		dt { border-radius: 0 0 0 0;}
		dd { border-radius: 0 0 6px 6px;}
	}
}

