/**
 * Our teams page — Figma 133:1346
 */

.hds-teams {
	width: 100%;
	margin: 0 auto;
	padding: 53px 0 100px;
	box-sizing: border-box;
}

.hds-teams__title {
	margin: 0 0 72px;
	padding: 0;
	color: #333333;
	font-family: "Cormorant Garamond", "EB Garamond", serif;
	font-size: calc(45px * var(--hds-type-scale, 1));
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
}

.hds-teams__diagram {
	display: block;
	width: 100%;
	max-width: var(--hds-teams-diagram);
	margin: -16px auto 84px;
	padding: 0;
	line-height: 0;
}

.hds-teams__diagram img {
	display: block;
	width: 100%;
	height: auto;
}

@media (prefers-reduced-motion: no-preference) {
	.hds-teams__diagram {
		opacity: 0;
		animation: hds-teams-diagram-in 1.4s ease-out 0.2s forwards;
	}
}

@keyframes hds-teams-diagram-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hds-teams__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 42px;
	row-gap: 58px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hds-teams__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
}

.hds-teams__logo {
	width: 182px;
	height: 141.05px;
	margin: 0 auto 16px;
	line-height: 0;
}

.hds-teams__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hds-teams__copy {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin: 0 0 auto;
}

.hds-teams__name {
	margin: 0;
	color: #333333;
	font-family: "Noto Serif JP", serif;
	font-size: calc(18px * var(--hds-type-scale, 1));
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0;
	text-align: center;
}

.hds-teams__body {
	margin: 0;
	color: #333333;
	font-family: "EB Garamond", "Noto Serif JP", serif;
	font-size: calc(16px * var(--hds-type-scale, 1));
	font-weight: 400;
	line-height: 1.9;
	letter-spacing: -0.154px;
	text-align: justify;
	text-justify: inter-ideograph;
	word-break: break-word;
}

.hds-teams__links {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.hds-teams__links > li {
	display: flex;
	flex: 0 0 auto;
	width: 100%;
	min-height: calc((14px * var(--hds-type-scale, 1) * 2.1) + 20px);
}

.hds-teams__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: calc((14px * var(--hds-type-scale, 1) * 2.1) + 20px);
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid #535353;
	color: #333333;
	font-family: "Noto Serif JP", serif;
	font-size: calc(14px * var(--hds-type-scale, 1));
	font-weight: 400;
	line-height: 2.1;
	letter-spacing: -0.154px;
	text-decoration: none;
	box-sizing: border-box;
}

.hds-teams__link--spacer {
	visibility: hidden;
	pointer-events: none;
	border-bottom-color: transparent;
}

a.hds-teams__link:hover,
a.hds-teams__link:focus {
	opacity: 0.7;
}

.hds-teams__link img {
	display: block;
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

@media screen and (max-width: 959px) {
	.hds-teams__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 32px;
		row-gap: 48px;
	}
}

@media screen and (max-width: 781px) {
	.hds-teams {
		padding: 32px 0 80px;
	}

	.hds-teams__title {
		margin-bottom: 36px;
		font-size: calc(36px * var(--hds-type-scale, 1));
	}

	.hds-teams__diagram {
		margin: 0 auto 48px;
		padding-top: 24px;
	}

	.hds-teams__grid {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}

	.hds-teams__logo {
		display: flex;
		align-items: center;
		justify-content: center;
		width: calc(213px * 0.9);
		height: auto;
		min-height: 0;
		margin: 0 auto 8px;
	}

	.hds-teams__logo img {
		width: auto;
		max-width: 100%;
		height: auto;
		max-height: calc(160px * 0.9);
	}

	.hds-teams__name {
		font-size: calc(18px * var(--hds-type-scale, 1));
		line-height: 1.8;
		letter-spacing: 0;
	}

	.hds-teams__body {
		width: calc(min(780px, 100vw - (var(--hds-content-gutter) * 2)) - 8px);
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
		font-family: "Noto Serif JP", serif;
		font-size: calc(14px * var(--hds-type-scale, 1));
		font-weight: 400;
		line-height: 1.8;
		letter-spacing: 1.12px;
	}

	.hds-teams__links {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		width: calc(min(780px, 100vw - (var(--hds-content-gutter) * 2)) - 8px);
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.hds-teams__links > li {
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
		min-height: calc((14px * var(--hds-type-scale, 1) * 1.8) + 20px);
		margin: 0;
	}

	.hds-teams__link {
		width: 100%;
		min-height: calc((14px * var(--hds-type-scale, 1) * 1.8) + 20px);
		gap: 6px;
		padding: 10px 4px;
		font-family: "Noto Serif JP", serif;
		font-size: calc(14px * var(--hds-type-scale, 1));
		font-weight: 400;
		line-height: 1.8;
		letter-spacing: 0;
	}
}
