@charset "UTF-8";

/* ▼ リンク元エリア
----------------------------------------*/
#section1 .stripe {
	top: 0;
}

#section1 .container>div {
	display: flex;
	justify-content: center;
	width: 500px;
	margin: 0 auto 30px;
}

#section1 .container ul {
	display: flex;
	justify-content: space-between;
	max-width: 500px;
	width: 100%;
	margin: 0 auto;
}

#section1 .container ul li a {
	position: relative;
	display: flex;
	width: 170px;
	height: 170px;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
}

#section1 .container ul li a::before {
	content: "";
	background: url(../img/nihonbashira/arrow_w.svg);
	width: 24px;
	height: 16px;
	position: absolute;
	right: 25px;
	bottom: 35px;
}

#section1 .container ul li:nth-child(1) a {
	background-color: #C2B497;
}

#section1 .container ul li:nth-child(2) a {
	background-color: #979A88;
}

/* ▼ 古民家再生/現代改修
----------------------------------------*/
#section2 .detail,
#section3 .detail {
	margin-bottom: 100px;
}

#section2 .inner,
#section3 .inner {
	width: 43%;
	margin-bottom: 100px;
}

#section2 .inner:first-of-type div,
#section3 .inner:first-of-type div {
	position: relative;

}

#section2 .inner:first-of-type div::before,
#section3 .inner:first-of-type div::before {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent;
	border-left: 43px solid #ffffff;
	border-right: 0;
	position: absolute;
	top: 54%;
	transform: translate(-50%, -50%);
	right: -25%;
}

#section3 .inner:first-of-type div::before {
	border-left: 43px solid #979A88;
}

#section2 .inner p span,
#section3 .inner p span {
	display: inline-block;
	background-color: #fff;
	font-size: 18px;
	padding: 5px 23px;
}

#section3 .inner p span {
	background-color: #979A88;
	color: #fff;
}

#section2 .inner:last-of-type p,
#section3 .inner:last-of-type p {
	text-align: right;
}


/* ▼ 
----------------------------------------*/


/* ▼▼▼ 480px〜768px
======================================================*/
@media screen and (max-width: 768px) {
	#section1 .container>div {
		width: 100%;
	}

	#section1 .container ul li {
		width: 35%;
	}

	#section1 .container ul li a {
		width: 100%;
		height: 110px;
		font-size: 18px;
	}

	#section2 .detail,
	#section3 .detail {
		margin-bottom: 100px;
	}

	#section2 .inner,
	#section3 .inner {
		width: 100%;
		margin-bottom: 80px;
	}

	#section2 .inner:first-of-type div::before,
	#section3 .inner:first-of-type div::before {
		border-right: 15px solid transparent;
		border-left: 15px solid transparent;
		border-top: 28px solid #ffffff;
		top: 42vh;
		right: 0;
		left: 0;
		transform: none;
		margin: auto;
	}

	#section3 .inner:first-of-type div::before {
		border-top: 28px solid #979A88;
	}

	#section2 .inner p span,
	#section3 .inner p span {
		font-size: 16px;
		padding: 5px 20px;
	}

	#section2 .inner:last-of-type p,
	#section3 .inner:last-of-type p {
		text-align: left;
	}
}