/*-------------------------------------------------------------
top-value
-------------------------------------------------------------*/
.top-value-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}
@media screen and (min-width: 768px) {
	.top-value-wrap {
		flex-direction: row;
		justify-content: center;
		gap: 20px;
	}
}

.top-value-item {
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
	width: 345px;
	background-color: var(--color-bg-white);
	border-radius: 6px;
	padding: 30px 20px;
}
@media screen and (min-width: 768px) {
	.top-value-item {
		width: 100%;
		border-radius: 15px;
	}
}

/*-------------------------------------------------------------
top-rule
-------------------------------------------------------------*/
.top-rule-body {
	padding-bottom: 60px;
	margin-top: -15%;
}
@media screen and (min-width: 768px) {
	.top-rule-body {
		padding-bottom: 90px;
	}
}

.top-rule-inner {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
@media screen and (min-width: 1080px) {
	.top-rule-inner {
		flex-direction: row;
		align-items: flex-end;
		gap: 50px;
	}
}

.top-rule-list {
	counter-reset: main-number;
}

.top-rule-head-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.top-rule-number {
	color: var(--color-font-primary);
	font-size: 20px;
	font-weight: bold;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.9s ease,
		transform 0.9s ease;
}
@media screen and (min-width: 768px) {
	.top-rule-number {
		font-size: 24px;
		line-height: 1.66;
	}
}

.top-rule-number::after {
	counter-increment: main-number;
	content: counter(main-number, decimal-leading-zero);
	font-size: 30px;
	line-height: 1;
}
@media screen and (min-width: 768px) {
	.top-rule-number::after {
		font-size: 40px;
	}
}

.top-rule-number.is-active {
	opacity: 1;
	transform: translateY(0);
}

.top-rule-head {
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.1em;
	line-height: 1.2;
	color: var(--color-font-primary);
}
@media screen and (min-width: 768px) {
	.top-rule-head {
		font-size: 26px;
		line-height: 1.34;
	}
}

.top-rule-wrap {
	border: 1px solid var(--color-bg-base);
	border-radius: 6px;
	padding: 20px 28px;
}
@media screen and (min-width: 768px) {
	.top-rule-wrap {
		border-radius: 15px;
		padding: 30px 38px;
	}
}

.top-rule-list02 {
	padding: 0 0 0 5px;
	list-style-position: inside;
}
@media screen and (min-width: 768px) {
	.top-rule-list02 {
		padding: 0 0 0 10px;
	}
}

.top-rule-item02 {
	margin: 0;
	padding: 0;
	line-height: 2.5;
	list-style-type: disc;
	font-weight: bold;
}
@media screen and (min-width: 768px) {
	.top-rule-list02 {
		margin: 0;
		padding: 0;
	}
}

.top-rule-img {
	width: 100%;
}
@media screen and (min-width: 768px) {
	.top-rule-img {
		max-width: 600px;
	}
}

.top-rule-img img {
	aspect-ratio: 16/9;
	-o-object-fit: cover;
	object-fit: cover;
}
@media screen and (min-width: 1080px) {
	.top-rule-img img {
		aspect-ratio: 600/400;
	}
}

.top-rule-space {
	padding-top: 30px;
}
@media screen and (min-width: 768px) {
	.top-rule-space {
		padding-top: 40px;
	}
}
