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

.whatis {
	.whatis_wrap {
		width: 100%;
		border: 6px double var(--base-color01);
		padding: clamp(15px, 3vw, 30px);
		display: flex;
		flex-wrap: wrap;
		gap: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
	}
	.txt_wrap {
		width: calc((100% - clamp(15px, 3vw, 30px)) / 5 * 3);
		strong {font-weight: bold;}
	}
	.img_wrap {
		width: calc((100% - clamp(15px, 3vw, 30px)) / 5 * 2);
	}
}
@media (max-width: 599px) {
	.whatis {
		.txt_wrap,.img_wrap {
			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%;
	}
}

.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) * 2)) / 3);
	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%;
	}
}

.contract {
	
}

.contract_wrap {
	background-color: #f5f3ec;
	margin-top: clamp(15px, 3vw, 30px);
	padding: clamp(15px, 3vw, 30px);
	border-radius: 6px;
	h4 {
		font-size: clamp(1.2rem,2.5vw,1.5rem);
		line-height: 1.2;
		color: var(--base-color01);
		text-align: center;
		padding-bottom: clamp(10px, 2vw, 20px);
		border-bottom: 1px solid var(--base-color01);
		margin-bottom: clamp(10px, 2vw, 20px);
	}
}

.contract_table > div {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	gap: 0 0;
	margin-top: clamp(15px, 3vw, 30px);
}
.contract_list {
	display: flex;
	width: 100%;
	dt {
		width: 20%;
		min-height: 60px;
		padding: 1.25rem;
		color: #fff;
		text-align: center;
		line-height: 1.1;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--base-color01);
		flex-shrink: 0;
	}
	dd {
		width: 20%;
		min-height: 60px;
		padding: 1.25rem;
		text-align: center;
		font-size: 0.9rem;
		line-height: 1.2;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #fff;
		flex-shrink: 0;
	}
}
.contract_list:nth-of-type(1) {
	dt:not(:last-of-type) {
		border-right: 1px dotted #f5f3ec;
	}
}
.contract_list:nth-of-type(3) {
	dd { background: #f0f0f0; }
}
.contract_list:not(:last-of-type) {
	dt { border-bottom: 1px dotted #f5f3ec; }
	dd { border-bottom: 1px dotted #ddd; }
}
.contract_list {
	dd:not(:last-of-type) {
		border-right: 1px dotted #ddd;
	}
}

@media (max-width: 767px) {
	.contract_table {
		overflow-x: auto;
	}
	.contract_table > div {
		width: 1060px;
	}
	.contract_list {
		dt:not(:nth-of-type(1)),dd {
			width: 22%;
		}
		dt:nth-of-type(1) {
			width: 12%;
		}
	}
}

.reins {
	background: url(../img/bg_feature.webp) no-repeat center center / cover;
	a {
		font-weight: bold;
		text-decoration: underline;
	}
	a:hover { color: var(--base-color01); }
	p:not(:last-of-type) { margin-bottom: clamp(10px, 2vw, 20px); }
}
.reins_img {
	width: min(80%, 1200px);
	margin: clamp(15px, 3vw, 30px) auto 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);
		}
	}
}