@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: clamp(25px, 5vw, 50px);
}
.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);
	span {
		color: var(--base-color01);
		font-weight: bold;
	}
}
.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;
	}
}


.disadvantage {
	background: linear-gradient(#555,#333);
	.container > h3,
	.container > p {
		color: #fff;
		border-bottom-color: #fff;
	}
}
.disadvantage_wrap {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: clamp(15px, 3vw, 30px);
	gap: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
}
.disadvantage_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);
	padding: clamp(20px, 4vw, 40px);
	.disadvantage_img img {
		display: block;
		height: 60px;
		object-fit: contain;
	}
	.disadvantage_txt {
	}
	h4 {
		font-size: clamp(1.2rem,2.5vw,1.5rem);
		line-height: 1.2;
		color: var(--base-color01);
		text-align: center;
		margin-top: 1.25rem;
	}
	h4::after {
		content: "";
		display: block;
		width: 80px;
		height: 2px;
		background: var(--base-color01);
		margin: 1.25rem auto;
	}
}
@media (max-width: 767px) {
	.disadvantage_box {
		width: calc((100% - clamp(15px, 3vw, 30px)) / 2);
	}
}
@media (max-width: 499px) {
	.disadvantage_box {
		width: 100%;
	}
}


.advantage {
	background-color: #f5f3ec;
}
.advantage_wrap {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: clamp(15px, 3vw, 30px);
	gap: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
}
.advantage_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);
	.advantage_img img { border-radius: 8px 8px 0 0; }
	.advantage_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) {
	.advantage_box {
		width: calc((100% - clamp(15px, 3vw, 30px)) / 2);
	}
}
@media (max-width: 499px) {
	.advantage_box {
		width: 100%;
	}
}


.service_plan {
	background-color: #fff;
}
.plan_wrap {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: clamp(15px, 3vw, 30px);
	gap: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
}
.plan_box {
	background: #f5f3ec;
	padding: clamp(10px, 2vw, 20px);
	border-radius: 8px;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
	width: calc((100% - (clamp(15px, 3vw, 30px) * 2)) / 3);
}
.plan_ttl {
	dt {
		width: 100%;
		text-align: center;
		font-weight: bold;
		padding: 0.5rem;
		color: #fff;
		background: var(--base-color01);
		border-radius: 4px;
		margin-bottom: clamp(10px, 2vw, 20px);
	}
	dd.plan_img img {
		width: 100%;
		max-height: 120px;
		aspect-ratio: 1/1;
		object-fit: contain;
	}
	dd.plan_price {
		margin: clamp(10px, 2vw, 20px) auto;
		width: 100%;
		text-align: center;
		color: #fff;
		background: var(--base-color01);
		padding: 1rem;
		font-size: clamp(1.2rem,2.5vw,1.5rem);
		font-weight: bold;
		line-height: 1.1;
		border-radius: 4px;
		span {
			font-size: .75em;
			font-weight: inherit;
		}
	}
}
.plan_details {
	border-radius: 4px;
	padding: clamp(10px, 2vw, 20px);
	background: #fff;
	li:nth-of-type(1) {
		font-weight: bold;
	}
	li:not(:nth-of-type(1)) {
		display: flex;
		margin-top: .5rem;
	}
	li:not(:nth-of-type(1))::before {
		content: "";
		width: 4px;
		height: 4px;
		background: var(--base-color01);
		display: block;
		margin-top: .75rem;
		margin-right: .5rem;
		flex-shrink: 0;
	}
}
@media (max-width: 767px) {
	.plan_box { width:100%; }
}



.service_area {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	background: #f5f3ec;
	gap: 0;
	margin-top: clamp(15px, 3vw, 30px);
	border-radius: 8px;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}
.area_txt {
	width: 35%;
	background: #f5f3ec;
	padding: clamp(10px, 2vw, 20px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	h4 {
		font-size: clamp(1.2rem,2.5vw,1.5rem);
		color: var(--base-color01);
		text-align: center;
		margin-bottom: clamp(10px, 2vw, 20px);
	}
	p {
		text-align: center;
		padding: clamp(10px, 2vw, 20px);
		background: #fff;
		border-radius: 4px;
	}
}
.area_img {
	width: 65%;
}

@media (max-width: 767px) {
	.area_txt {
		width: 100%;
		p {
			width: 100%;
		}
	}
	.area_img {
		width: calc(100% - (clamp(10px, 2vw, 20px) * 2));
		margin: 0 auto clamp(10px, 2vw, 20px);
		background: #fff;
		border-radius: 6px;
	}
}


.option_plan {}

.option_plan_wrap {
	background: #f5f3ec;
	padding: clamp(10px, 2vw, 20px);
	border-radius: 8px;
	margin-top: clamp(15px, 3vw, 30px);
	h4 {
		width: 100%;
		font-size: clamp(1.2rem,2.5vw,1.5rem);
		display: flex;
		justify-content: space-between;
		padding-bottom: .5rem;
		border-bottom: 2px solid var(--base-color01);
		margin-bottom: .5rem;
		p {
			color: var(--base-color01);
			span {font-size: .75em;}
		}
	}
}

.option_list {
	background: #fff;
	border-radius: 4px;
	padding: clamp(10px, 2vw, 20px);
	margin-top: clamp(10px, 2vw, 20px);
	li { display:flex; }
	li::before {
		content: "";
		width: 4px;
		height: 4px;
		background: var(--base-color01);
		display: block;
		margin-top: .75rem;
		margin-right: .5rem;
		flex-shrink: 0;
	}
}




.case_list {
	background: linear-gradient(#555,#333);
	h3 {
		color: #fff;
		border-color: #fff;
	}
}
.case {
	padding-top: clamp(50px, 10vw, 100px);
	padding-bottom: clamp(25px, 5vw, 50px);
	background: linear-gradient(#555,#333);
}

.case h2,.case p { color: #fff;}

.case_wrap {
	width: 100%;
	background: #fff;
	padding: clamp(25px, 5vw, 50px);
	margin-top: clamp(25px, 5vw, 50px);
	border-radius: 6px;
	display: flex;
	flex-wrap: wrap;
	.link_btn {
		margin-top: clamp(25px, 5vw, 50px);
	}
}
.case_article {
	width: 100%;
	padding-bottom: .75rem;
	border-bottom: 2px dotted #ddd;
	display: flex;
	flex-wrap: wrap;
	gap: 0 clamp(25px, 5vw, 50px);
	.case_ttl {
		display: flex;
		align-items: center;
		gap: clamp(10px, 2vw, 20px);
		font-weight: bold;
		color: var(--base-color01);
		flex-shrink: 0;
		span {
			display: block;
			text-align: center;
			flex-shrink: 0;
		}
	}
	a {
		display: block;
		width: fit-content;
	}
	a:hover {
		color: var(--base-color01);
	}
}
.case_article:not(:last-of-type) {
	margin-bottom: 1rem;
}
.case_detail {
	width: 100%;
	.detail_img_wrap {
		display: flex;
		flex-wrap: wrap;
		gap: clamp(10px, 2vw, 20px) clamp(10px, 2vw, 20px);
		margin-bottom: clamp(15px, 3vw, 30px);
		.detail_img {
			width: calc((100% - clamp(10px, 2vw, 20px) * 3) / 4);
			img {
				aspect-ratio: 5/3;
				object-fit: cover;
			}
		}
	}
	h3 {
		line-height: 1.15;
		font-size: clamp(1.3rem,2vw,1.75rem);
		text-align: left;
		padding-bottom: .5rem;
		border-bottom: 2px dotted #ddd;
		margin-bottom: clamp(15px, 3vw, 30px);
	}
	.detail_date {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin: clamp(10px, 2vw, 20px) auto;
		gap: clamp(10px, 2vw, 20px);
		p {
			font-weight: bold;
			font-size: 1.1rem;
			display: flex;
			align-items: center;
			line-height: 1.0;
			span {
				display: block;
				font-size: clamp(1.3rem,2vw,1.75rem);
				color: var(--base-color01);
				line-height: 1.0;
			}
		}
	}
}
.detail_txt * {
	all: revert;
}
.detail_txt .comment {
	font-weight: bold;
	width: 100%;
	border-bottom: 1px solid #ddd;
}
.link_btn {
	margin-top: clamp(25px, 5vw, 50px);
}

@media (max-width: 767px) {
	.case_detail
	.detail_img_wrap {
		.detail_img {
			width: calc((100% - clamp(10px, 2vw, 20px)) / 2);
		}
	}
}