/**
 * ACF Block: プロジェクト情報
 * 紙背景なし。本文と同じ 16px で Label : Value。
 */

.hds-works-entry-meta,
.wp-block-post-content > .hds-works-entry-meta,
.entry-content > .hds-works-entry-meta {
	display: block;
	width: 100%;
	margin: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	padding: 0;
	box-sizing: border-box;
}

.acf-block-project-info {
	width: 100%;
	margin: 0;
	padding: 20px 0;
	box-sizing: border-box;
}

.wp-block-post-content > .acf-block-project-info,
.wp-block-post-content > .wp-block-acf-project-info,
.wp-block-post-content > .hds-works-entry-meta .acf-block-project-info,
.entry-content > .acf-block-project-info,
.entry-content > .wp-block-acf-project-info,
.entry-content > .hds-works-entry-meta .acf-block-project-info,
.wp-block-acf-project-info {
	margin: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	padding: 20px 0;
	box-sizing: border-box;
}

.wp-block-post-content > .acf-block-project-info + *,
.wp-block-post-content > .wp-block-acf-project-info + *,
.wp-block-post-content > .hds-works-entry-meta + *,
.entry-content > .acf-block-project-info + *,
.entry-content > .wp-block-acf-project-info + *,
.entry-content > .hds-works-entry-meta + * {
	margin-block-start: 0 !important;
}

.acf-block-project-info__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 24px;
	width: 100%;
	max-width: 100%;
	padding: 0;
	box-sizing: border-box;
	background: none;
}

.acf-block-project-info__list {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.acf-block-project-info__row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	border: 0;
}

.acf-block-project-info__row-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.4em;
	width: 100%;
}

.acf-block-project-info__rule {
	display: none;
}

.acf-block-project-info__label,
.acf-block-project-info__value {
	margin: 0;
	padding: 0;
	color: #333333;
	font-size: calc(16px * var(--hds-type-scale, 1));
	font-style: normal;
	font-weight: 400;
	line-height: 2.4;
	letter-spacing: -0.154px;
}

.acf-block-project-info__label {
	font-family: "EB Garamond", Garamond, "Noto Serif JP", serif;
	white-space: nowrap;
	flex-shrink: 0;
}

.acf-block-project-info__label::after {
	content: " :";
}

.acf-block-project-info__label--award::after {
	content: none;
}

.acf-block-project-info__value {
	font-family: "EB Garamond", "Noto Serif JP", serif;
	white-space: normal;
	word-break: break-word;
}

.acf-block-project-info__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.acf-block-project-info__link:hover,
.acf-block-project-info__link:focus {
	color: inherit;
	opacity: 0.7;
}

.acf-block-project-info__link-text {
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.acf-block-project-info__link-icon {
	display: block;
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

.single-works .acf-block-project-info__tags,
.hds-works-entry-meta .acf-block-project-info__tags {
	display: none;
}

.acf-block-project-info__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.acf-block-project-info__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 14px;
	background-color: #d5d5d5;
	color: #333333;
	font-family: "EB Garamond", Garamond, "Noto Serif JP", serif;
	font-size: calc(14px * var(--hds-type-scale, 1));
	font-style: normal;
	font-weight: 400;
	line-height: 2.1;
	white-space: nowrap;
}

.acf-block-project-info__tag a {
	color: inherit;
	text-decoration: none;
}

.acf-block-project-info__tag a:hover,
.acf-block-project-info__tag a:focus {
	opacity: 0.7;
}

.acf-block-project-info__placeholder {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 4rem;
	max-width: 100%;
	padding: 0;
	box-sizing: border-box;
	background: none;
	color: var(--wp--preset--color--contrast-2);
	font-size: calc(var(--wp--preset--font-size--small) * var(--hds-type-scale, 1));
}

@media screen and (max-width: 781px) {
	.acf-block-project-info__label,
	.acf-block-project-info__value {
		font-size: calc(13px * var(--hds-type-scale, 1));
		line-height: 2;
	}
}

@media screen and (max-width: 600px) {
	.acf-block-project-info__card,
	.acf-block-project-info__placeholder {
		width: 100%;
		padding: 0;
	}

	.acf-block-project-info__label,
	.acf-block-project-info__value {
		white-space: normal;
	}

	.acf-block-project-info__tags {
		gap: 10px;
	}
}

.wp-block-acf-project-info {
	width: 100%;
}
