@charset "utf-8";

.page-title {
	h1 {
		.en {
			@media (width <= 800px) {
				width: calc(100% + 15px);
				font-size: 44px;
				letter-spacing: -0.02em;
				line-height: 1.25;
			}
		}
	}
}

.read-top {
	margin-bottom: 56px;
	@media (width <= 800px) {
		margin-bottom: 24px;
	}
}


.read-plan-top {
	width: 100%;
	color: var(--darkblue);
	font-size: 32px;
	line-height: 2;
	text-align: center;
	margin-bottom: 72px;
	@media (width <= 800px) {
		font-size: 26px;
	}
}


article {
	h2 {
		color: var(--blue);
		font-size: 32px;
		text-align: center;
		line-height: 1.43;
		padding-bottom: 16px;
		margin-bottom: 24px;
		@media (width <= 800px) {
			font-size: 24px;
			padding-bottom: 12px;
			margin-bottom: 16px;
		}
		&::after {
			position: absolute;
			left: 50%;
			bottom: 0;
			translate: -50% 0;
			width: 32px;
			height: 1px;
			content: "";
			background-color: var(--blue);
			@media (width <= 800px) {
				width: 24px;
			}
		}
	}
}
.read-plan {
	text-align: center;
	margin-bottom: 40px;
	@media (width <= 800px) {
		margin-bottom: 32px;
	}
}



/*
vision
*/
.vision {
	padding: 128px 0 136px;
	margin-bottom: 128px;
	@media (width <= 800px) {
		padding: 72px 0 64px;
		margin-bottom: 72px;
	}
	.read-plan {
		margin-bottom: 96px;
		@media (width <= 800px) {
			margin-bottom: 48px;
		}
	}
}
.vision-content {
	display: flex;
	width: 100%;
	gap: 0 12%;
	@media (width <= 800px) {
		flex-wrap: wrap;
		gap: 40px 0;
	}
	.l-vision {
		display: flex;
		justify-content: center;
		width: 34.2%;
		@media (width <= 800px) {
			display: block;
			width: 100%;
		}
		h3 {
			margin-bottom: 0;
			.en {
				display: block;
				color: var(--blue);
				font-size: 64px;
				font-weight: 600;
				line-height: 1;
				margin-bottom: 10px;
				@media (width <= 800px) {
					font-size: 48px;
					margin-bottom: 15px;
				}
			}
			.jp {
				display: block;
				font-size: 16px;
				font-weight: 400;
				@media (width <= 800px) {
					font-size: 15px;
				}
			}
		}
	}
	.r-vision {
		width: 48.9%;
		@media (width <= 800px) {
			width: 100%;
		}
		.vision-detail {
			display: flex;
			align-items: center;
			justify-content: space-between;
			margin-bottom: 64px;
			@media (width <= 800px) {
				margin-bottom: 48px;
			}
			&:last-child {
				margin-bottom: 0;
			}
			.icon-vision {
				width: 22.7%;
				@media (width <= 800px) {
					width: 84px;
					margin-right: 16px;
				}
				img {
					width: 100%;
					border-radius: 24px;
					@media (width <= 800px) {
						border-radius: 12px;
					}
				}
			}
			.vision-text {
				width: 64.7%;
				@media (width <= 800px) {
					width: calc(100% - 100px);
				}
				h4 {
					color: var(--blue);
					font-size: 24px;
					line-height: 1.16;
					margin-bottom: 20px;
					@media (width <= 800px) {
						font-size: 18px;
						margin-bottom: 10px;
					}
				}
				p {
					margin-bottom: 0;
				}
			}
		}
	}
}


/*
basic-policy
*/
.basic-policy {
	margin-bottom: 80px;
	@media (width <= 800px) {
		margin-bottom: 64px;
	}
}
.basic-policy-content {
	position: relative;
	width: 100%;
	background: linear-gradient(45deg, rgba(9,35,95,1) 0%,rgba(41,74,154,1) 100%);
	border-radius: 16px;
	padding: 0 104px;
	@media (width <= 800px) {
		padding: 0 24px;
	}
	&::before {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-image: url(../img/bg_basicpolicy.webp);
		background-repeat: no-repeat;
		background-position: left top;
		background-size: cover;
		border-radius: 16px;
		content: "";
		mix-blend-mode: soft-light;
		pointer-events: none;
		z-index: 0;
		@media (width <= 800px) {
			background-image: url(../img/bg_basicpolicy_sp.webp);
		}
	}
	dl {
		position: relative;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		margin: 0;
		padding: 16px 0;
		counter-reset: my-counter;
		z-index: 1;
		@media (width <= 800px) {
			flex-wrap: wrap;
			padding: 24px 0;
		}
		dt {
			position: relative;
			width: 52.6%;
			color: var(--white);
			font-size: 40px;
			font-weight: 300;
			line-height: 1.45;
			border-bottom: 1px solid var(--white);
			margin: 0;
			padding: 96px 64px 64px 0;
			@media (width <= 800px) {
				width: 100%;
				font-size: 26px;
				border-bottom: none;
				padding: 56px 0 12px;
			}
			&:last-of-type {
				border-bottom: none;
			}
			&::before {
				position: absolute;
				top: 64px;
				left: 0;
				color: var(--white);
				font-family: "Rubik", sans-serif;
				font-size: 24px;
				font-weight: 500;
				counter-increment: my-counter;
				content: counter(my-counter, decimal-leading-zero);
				@media (width <= 800px) {
					top: 32px;
					font-size: 16px;
				}				
			}
		}
		dd {
			width: 47.4%;
			color: var(--white);
			font-size: 18px;
			line-height: 1.75;
			border-bottom: 1px solid var(--white);
			margin: 0;
			padding: 96px 0 64px;
			@media (width <= 800px) {
				width: 100%;
				font-size: 16px;
				padding: 0 0 28px;
			}
			&:last-of-type {
				border-bottom: none;
			}
		}
	}
}


/*
goal
*/
.goal {
	background-image: url(../img/bg_goal.webp);
	padding: 128px 0 120px;
	@media (width <= 800px) {
		padding: 80px 0 40px;
	}
}
.goal-content {
	display: flex;
	flex-wrap: wrap;
	background-color: var(--white);
	padding: 80px 0;
	@media (width <= 800px) {
		padding: 28px 0;
	}
	h3 {
		width: 100%;
		color: var(--blue);
		font-size: 24px;
		line-height: 1.16;
		text-align: center;
		margin-bottom: 32px;
		@media (width <= 800px) {
			font-size: 20px;
			margin-bottom: 24px;
		}
	}
	.goal-detail {
		width: 50%;
		padding: 0 5%;
		border-right: 1px solid var(--lightgray);
		@media (width <= 800px) {
			width: 100%;
			border-right: none;
			border-bottom: 1px solid var(--lightgray);
			padding: 0 12px 32px;
			margin-bottom: 32px;
		}
		&:last-child {
			border: none;
		}
		h4 {
			color: var(--blue);
			font-size: 16px;
			font-weight: 500;
			line-height: 1.16;
			margin-bottom: 24px;
			@media (width <= 800px) {
				font-size: 15px;
				margin-bottom: 16px;
			}
		}
		ul {
			display: flex;
			flex-wrap: wrap;
			gap: 24px;
			margin: 0 0 32px;
			@media (width <= 800px) {
				width: 100%;
				max-width: 172px;
				gap: 10px 0;
				margin-bottom: 16px;
			}
			li {
				line-height: 1.5;
				font-weight: 500;
				border-bottom: 1px solid var(--lightgray);
				margin: 0;
				padding-bottom: 5px;
				@media (width <= 800px) {
					width: 100%;
				}
				.goal-text {
					@media (width <= 800px) {
						display: inline-block;
						width: 96px;
					}
				}
				.yen {
					display: inline-block;
					font-weight: 700;
					padding-left: 16px;
					@media (width <= 800px) {
						padding-left: 0;
					}
					.tani {
						font-size: 14px;
						@media (width <= 800px) {
							font-size: 15px;
						}
					}
				}
			}
		}
		.goal-img {
			width: 100%;
			img {
				width: 100%;
			}
		}
	}
}


/*
related-pages
*/
.related-pages {
	ul {
		li {
			&:nth-child(2) {
				display: none;
			}
		}
	}
}