/* -----------------------------------------------------
 * page: group
 * -------------------------------------------------- */

.p-group .l-section-contents {
	margin-top: 2.4rem;
}

.p-group-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.p-group-list li {
	display: grid;
	padding: 0 0 1rem;
	border-right: 1px dotted #969c9a;
	border-bottom: 1px dotted #969c9a;
	grid-template-rows: subgrid;
	grid-row: span 5;
	gap: 0;
}

.p-group-list li.is-last-row {
	border-bottom: 0;
}

.p-group-list li figure {
	width: 100%;
	margin: 0;
	aspect-ratio: 34/19;
}

.p-group-list li figure img {
	width: 100%;
	height: 100%;
	-o-object-fit: contain;
	object-fit: contain;
}

.p-group-list li .title {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.05em;
	-webkit-font-feature-settings: 'palt';
	font-feature-settings: 'palt';
}

.p-group-list li .role {
	color: #969c9a;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.05em;
	-webkit-font-feature-settings: 'palt';
	font-feature-settings: 'palt';
}

.p-group-list li p {
	list-style: 1.5;
	margin: 0.4rem 0 0;
	font-size: 1.6rem;
}

.p-group-list li .link {
	margin: 0.8rem 0 0;
	text-align: center;
}

.p-group-list li .c-btn {
	width: 14rem;
	height: 4rem;
	padding: 0;
	font-size: 1.6rem;
}

@media screen and (min-width: 768px) {
	.p-group .l-section-contents {
		margin-top: 12rem;
	}

	.p-group-list {
		position: relative;
		grid-template-columns: repeat(3, 1fr);
		gap: 4.5rem;
	}

	.p-group-list li {
		padding: 0 2.5rem 2.5rem 0;
		border-width: 0.2rem;
		gap: 0;
	}

	.p-group-list li .title {
		font-size: 2rem;
		white-space: nowrap;
	}

	.p-group-list li .role {
		margin: 0;
		font-size: 1.6rem;
	}

	.p-group-list li p {
		margin: 1.6rem 0 0;
	}

	.p-group-list li .link {
		margin: 1.6rem 0 0;
	}

	.p-group-list li .c-btn {
		width: 16.2rem;
		height: 5.2rem;
	}

	.p-group-list li:nth-child(3n) {
		border-right: 0;
	}
}

@media screen and (max-width: 767px) {
	.p-group-list li:nth-child(2n) {
		border-right: 0;
	}
}