@charset "utf-8";

/* -----------------------------
	realestate-area
-------------------------------- */

.realestate-area {
	padding: 160px 0 0;
}

.realestate-area .box {
	padding: 65px 50px;
	border: var(--gray02) solid 1px;
	border-radius: 5px;
	margin: 50px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap:0 50px;
	background: url("../img/bg-diamond-blue.png") no-repeat right -300px top -300px / auto;
	position: relative;
}

.realestate-area .box.box-right {
	flex-direction: row-reverse;
	background: url("../img/bg-diamond-blue.png") no-repeat left -300px top -300px / auto;
}

.realestate-area .box:nth-of-type(1) {
	margin: 40px 0 0;
}

.realestate-area .box::before {
	position: absolute;
	left: 10px;
	top: 10px;
	color: var(--blue);
	font-size: 15rem;
	font-family: var(--basefont-en);
	font-weight: 400;
	opacity: 0.06;
}

.realestate-area .box:nth-of-type(1)::before {
	content: "01";
}

.realestate-area .box:nth-of-type(2)::before {
	content: "02";
	right: 10px;
	left: auto;
}

.realestate-area .box:nth-of-type(3)::before {
	content: "03";
}

.realestate-area .box .image img {
	border-radius: 10px;
	width: 500px;
}

.realestate-area .box h3 {
	color: var(--white);
	font-family: var(--basefont-jp);
	font-size: 3.0rem;
}

.realestate-area .box h3 span {
	line-height: 50px;
	height: 50px;
	display: inline-block;
	background: var(--blue03);
	border-radius: 5px;
	padding: 0 10px;
}

.realestate-area .box h3 span:first-child {
	margin: 0 0 5px;
}

.realestate-area .box p {
	line-height: 2.25;
	padding: 30px 0 0;
}

@media screen and (max-width: 768px){

	.realestate-area {
		padding: 100px 10px 0;
	}

	.realestate-area .box {
		padding: 0 10px;
		margin: 40px 0 0;
		display: block;
		background: url("../img/bg-diamond-blue.png") no-repeat right -400px top -400px / auto;
		border: none;
	}

	.realestate-area .box.box-right {
		background: url("../img/bg-diamond-blue.png") no-repeat right -400px top -400px / auto;
	}

	.realestate-area .box:nth-of-type(1) {
		margin: 20px 0 0;
	}

	.realestate-area .box::before {
		top: 250px;
		font-size: 10rem;
		opacity: 0.2;
		right: 10px;
		left: auto;
	}

	.realestate-area .box:nth-of-type(2)::before {
		left: auto;
	}

	.realestate-area .box .image img {
		width: 100%;
	}

	.realestate-area .box h3 {
		font-size: 2.0rem;
		margin: 20px 0 0;
		position: relative;
		z-index: 3;
	}

	.realestate-area .box h3 span {
		line-height: 1.7;
		height: auto;
		padding: 5px 10px;
	}

	.realestate-area .box p {
		line-height: 1.7;
		padding: 20px 0 0;
	}
	
}