@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%);
}

.onayami {
	width: 100%;
	padding-top: clamp(50px, 10vw, 100px);
	padding-bottom: clamp(50px, 10vw, 100px);
	position: relative;
	z-index: 1;
	clip-path: polygon(0 0,0 100%,100% 100%,100% 0);
	background-color: transparent;
}
.onayami::before {
	content: '';
	z-index: -1;
	inset: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	background: url(../img/bg_onayami.webp) no-repeat center center / cover;
}
.onayami h2 {
	font-weight: 300;
	margin-bottom: clamp(35px, 7vw, 70px);
	p {
		font-size: clamp(1.3rem,2vw,1.75rem);
		color: var(--base-color01);
		margin-bottom: 2rem;
	}
}
.onayami .dots {
	background-image: radial-gradient(circle at center, var(--base-color01) 15%, transparent 15%); /* 点の色とサイズ調整 */
	background-position: top right;
	background-repeat: repeat-x;
	background-size: 1em .3em;
	padding-top: .25em;
}
.onyami_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px);
	margin: auto;
	counter-reset: number 0;
}

.onyami_list li {
	width: calc((100% - (clamp(20px, 4vw, 40px) * 2)) / 3);
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 140px;
	background: #fff;
	border-radius: 6px;
	position: relative;
	padding: 1rem clamp(46px,5%,5rem);
	span {
		background: rgba(255, 220, 100, 0.25);
		padding: 0 .5em;
	}
}
.onyami_list li::before {
	counter-increment: number 1;
	content: counter(number, decimal-leading-zero) "";
	color: var(--base-color01);
	opacity: .25;
	position: absolute;
	top: 5px;
	left: 10px;
	font-size: 2rem;
	font-weight: 300;
	line-height: 1.0;
}

@media (max-width:767px) {
	.onyami_list {
		gap: clamp(10px, 2vw, 20px) clamp(10px, 2vw, 20px);
	}
	.onyami_list li {
		width: 100%;
		height: 80px;
		text-align: left;
		padding: 15px 10px;
		flex-direction: row;
		justify-content: flex-start;
	}
	.onyami_list li::before {
		position: static;
		font-size: 2rem;
		font-weight: 300;
		line-height: 1.0;
		margin-right: .5rem;
	}
}


.greeting {
	margin-top: clamp(50px, 10vw, 100px);
	margin-bottom: calc(60px + clamp(50px, 10vw, 100px));
}
.greeting h2 {
	line-height: 1.7;
	font-weight: 300;
	p {
		font-size: clamp(1rem, 2vw, 1.75rem);
		line-height: 1.25;
		color: var(--base-color01);
		margin-bottom: 1.5rem;
	}
	.double {
		border-bottom: 6px double var(--base-color01);
	}
	.red {
		color: var(--base-color01);
	}
}
.greeting h2::after {
	content: "";
	display: block;
	width: auto;
	height: 2rem;
	margin:clamp(25px, 5vw, 50px) auto;
	aspect-ratio: 28/3;
	background: url(../img/greeting_line.webp) no-repeat center center / contain;
}

.greeting_wrap {
	width: 100%;
	display: flex;
	justify-content: space-between;
	gap: clamp(25px, 5vw, 50px) clamp(25px, 5vw, 50px);
}

.greeting_text,
.greeting_img {
	height: fit-content;
	width: calc((100% - clamp(35px, 7vw, 70px)) / 2);
}
.greeting_text {
	display: flex;
	flex-direction: column;
}
.greeting_text h3 {
	font-size: clamp(1.3rem,2vw,1.75rem);
	color: var(--base-color01);
	width: 100%;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--base-color01);
	margin-bottom: 2rem;
}
.greeting_text p {
	margin-bottom: clamp(25px, 5vw, 50px);
}
.greeting_img {
	position: relative;
}
.greeting_img::after {
	content: "";
	display: block;
	width: min(85%,480px);
	height: auto;
	aspect-ratio: 487/173;
	background: url(../img/sign.webp) no-repeat center center / contain;
	position: absolute;
	right: calc(clamp(35px, 7vw, 70px) * -1);
	bottom: calc(clamp(40px, 8vw, 80px) * -1);
	z-index: 1;
}
@media (max-width: 767px) {
	.greeting_wrap { flex-direction: column; }
	.greeting_text {
		width: 100%;
		order: 2;
	}
	.greeting_img {
		width: min(100%, 550px);
		margin: 0 auto clamp(25px, 5vw, 50px);
		order: 1;
	}
}

.consultation {
	position: relative;
	z-index: 1;
	clip-path: polygon(0 0,0 100%,100% 100%,100% 0);
	background-color: transparent;
}
.consultation::before {
	content: '';
	z-index: -1;
	inset: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	background: url(../img/bg_onayami.webp) no-repeat center center / cover;
}
.consultation_list {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: clamp(15px, 3vw, 30px);
}
.consultation_box {
	display: flex;
	width: 100%;
	background: #fff;
	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;
	}
	dd {
		padding: clamp(10px, 2vw, 20px) clamp(15px, 3vw, 30px);
		flex-grow: 1;
	}
}
.consultation_box:not(:last-of-type) {
	dt { border-bottom: 1px dashed #fff;}
	dd { border-bottom: 1px dashed #ddd;}
}

@media (max-width: 767px) {
	.consultation_box {
		width: 100%;
		flex-wrap: wrap;
		dt,dd { width: 100%; }
	}
	.consultation_box:not(:last-of-type) {
		dt { border-bottom: none;}
		dd { border-bottom: none;}
	}
}


.utilization_wrap {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: clamp(15px, 3vw, 30px);
	gap: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
}
.utilization_box {
	width: calc((100% - (clamp(15px, 3vw, 30px) * 2)) / 3);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
	.util_img img { border-radius: 8px 8px 0 0; }
	.util_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) {
	.utilization_box {
		width: calc((100% - clamp(15px, 3vw, 30px)) / 2);
	}
}
@media (max-width: 499px) {
	.utilization_box {
		width: 100%;
	}
}

.documents {
	background: url(../img/bg_flow.webp) no-repeat center center / cover;
	background-color: #f5f3ec;
}
.checklist {
	width: 100%;
	background: #fff;
	border-radius: 6px;
	margin: clamp(15px, 3vw, 30px) auto;
	padding: clamp(10px, 2vw, 20px) clamp(15px, 3vw, 30px);
	li {
		display: flex;
		align-items: center;
	}
	li:not(:last-of-type) {
		padding-bottom: .5rem;
		border-bottom: 1px dashed #ddd;
		margin-bottom: .5rem;
	}
	li::before {
		content: "";
		width: auto;
		height: 1em;
		aspect-ratio: 1/1;
		background: url(../img/svg/icn_check_rd.svg) no-repeat bottom center / contain;
		margin-right: .5rem;
	}
}


.flow_wrap {
	margin-top: clamp(25px, 5vw, 50px);
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px);
}

.flow_box {
	width: calc((100% - (clamp(20px, 4vw, 40px) * 2)) / 3);
	background: #fff;
	border-radius: 6px;
	position: relative;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}
.flow_box:not(:nth-of-type(3n))::after {
	content: "";
	display: block;
	width: 20px;
	height: 40px;
	background: var(--base-color01);
	clip-path: polygon(0 0, 0 100%, 100% 50%);
	position: absolute;
	top: 50%;
	right: calc(clamp(10px, 2vw, 20px) * -1);
	translate: 50% -50%;
}
.flow_img {
	position: relative;
	img {
		border-radius: 6px 6px 0 0;
	}
	span {
		position: absolute;
		bottom: 0;
		left: 50%;
		translate: -50% 50%;
		display: block;
		width: min(80%, 160px);
		height: 30px;
		border-radius: 15px;
		background: var(--base-color01);
		text-align: center;
		color: #fff;
	}
}
.flow_text_wrap {
	padding: calc(15px + 1.25rem) 1.25rem 1.25rem;
	h3 {
		font-size: clamp(1.3rem,2vw,1.75rem);
		line-height: 1.2;
		color: var(--base-color01);
		text-align: center;
		margin-bottom: .5rem;
	}
}

.flow .link_btn {
	margin-top: clamp(25px, 5vw, 50px);
}

@media (max-width: 767px) {
	.flow_box {
		width: calc((100% - clamp(20px, 4vw, 40px)) / 2);
	}
	.flow_box:not(:last-of-type)::after {
		content: none;
	}
}
@media (max-width: 499px) {
	.flow_box {
		width: 100%
	}
}
