@charset "UTF-8";

/* project lead
----------------------------------------------- */
.project-lead {
	padding: 80px 40px 60px;
}

.project-lead-title {
	font-size: var(--page-section-size);
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1.6;
	margin-bottom: 20px;
}

.project-lead-text {
	font-size: 15px;
	line-height: 2;
	color: rgba(44, 42, 38, 0.75);
	letter-spacing: 0.05em;
}

/* 案件一覧（案件カード）
----------------------------------------------- */
.project-list-section {
	position: relative;
	padding: 0 40px calc(5vw + 140px);
}

.project-list-section::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: calc(5vw + 1px);
	background: rgba(44, 42, 38, 0.6);
	clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.project-list {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.project-card {
	display: flex;
	gap: 40px;
	background: #fff;
	border: 1px solid rgba(44, 42, 38, 0.1);
	box-shadow: 0 4px 20px rgba(44, 42, 38, 0.06);
	padding: 30px;
}

.project-card-image {
	flex: 0 0 320px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.project-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.project-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.project-card-title {
	font-size: 19px;
	font-weight: 400;
	line-height: 1.5;
	color: #233344;
	letter-spacing: 0.03em;
	margin-bottom: 18px;
}

.project-card-specs {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 20px;
	margin-bottom: 20px;
}

.project-card-specs dt {
	font-size: 12px;
	color: rgba(44, 42, 38, 0.5);
	letter-spacing: 0.06em;
	padding-top: 1px;
}

.project-card-specs dd {
	font-size: 14px;
	color: #2c2a26;
	letter-spacing: 0.03em;
	line-height: 1.6;
}

.project-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.project-card-tag {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.04em;
	color: #233344;
	background: rgba(35, 51, 68, 0.06);
	padding: 5px 12px;
}

.project-card-btn {
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	padding: 14px 40px;
	font-size: 15px;
	letter-spacing: 0.05em;
	color: #fff;
	background-image: linear-gradient(64deg, rgb(175, 155, 117) 0%, rgb(104, 92, 72) 100%);
	transition: opacity 0.2s ease;
}

.project-card-btn:hover {
	opacity: 0.8;
}

/* 面談フロー4ステップ
----------------------------------------------- */
.project-flow {
	position: relative;
	background: rgba(44, 42, 38, 0.6);
	padding: calc(5vw + 80px) 40px calc(5vw + 80px);
}

.project-flow::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: calc(5vw + 1px);
	background: #233344;
	clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.project-flow-title {
	font-size: var(--page-section-size);
	font-weight: 400;
	color: #f4f1ea;
	letter-spacing: 0.08em;
	text-align: center;
	margin-bottom: 50px;
}

.project-flow-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.project-flow-item {
	text-align: center;
	color: #f4f1ea;
}

.project-flow-number {
	font-size: 32px;
	font-family: 'EB Garamond', serif;
	font-style: normal;
	color: rgba(244, 241, 234, 0.4);
	line-height: 1;
	margin-bottom: 16px;
}

.project-flow-item-title {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.06em;
	margin-bottom: 10px;
}

.project-flow-item-text {
	font-size: 13px;
	line-height: 1.8;
	color: rgba(244, 241, 234, 0.65);
	letter-spacing: 0.04em;
}

/* SP
----------------------------------------------- */
@media screen and (max-width: 767px) {
	.project-lead {
		padding: 50px 16px 40px;
	}

	.project-list-section {
		padding: 0 16px calc(8vw + 90px);
	}

	.project-list-section::after {
		clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
		-webkit-clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
		height: calc(8vw + 1px);
	}

	.project-list {
		gap: 30px;
	}

	.project-card {
		flex-direction: column;
		gap: 20px;
		padding: 20px;
	}

	.project-card-image {
		flex-basis: auto;
	}

	.project-flow {
		padding: calc(8vw + 50px) 16px calc(8vw + 50px);
	}

	.project-flow::after {
		clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
		-webkit-clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
		height: calc(8vw + 1px);
	}

	.project-flow-list {
		grid-template-columns: 1fr 1fr;
		gap: 30px 20px;
	}
}
