/* 実績カード (works-card) */

.works-card {
	max-width: 720px;
	margin: 0 auto;
	font-family: "Cormorant Garamond", "Noto Serif JP", serif;
	color: #222;
}

.works-card__client {
	font-size: 13px;
	letter-spacing: 0.05em;
	margin: 0 0 4px !important;
	color: #222;
}

.works-card__title {
	font-family: "Cormorant Garamond", "Noto Serif JP", serif;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin: 0 0 4px !important;
	line-height: 1.3 !important;
}

.works-card__meta {
	font-size: 13px;
	letter-spacing: 0.08em;
	color: #999;
	margin: 0 0 32px !important;
}

.works-card__meta .works-card__year {
	margin-right: 6px;
}

.works-card__image {
	margin: 0 0 24px;
}

.works-card__image img {
	width: 100%;
	height: auto;
	display: block;
}

.works-card__url {
	font-size: 13px;
	letter-spacing: 0.05em;
	margin: 24px 0 0 !important;
	color: #666;
}

.works-card__url-label {
	display: inline-block;
	margin-right: 12px;
	color: #999;
}

.works-card__url a {
	/* Fleur / Fleur アクセントカラー。必要に応じて変更してください */
	color: #917347;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.works-card__url a:hover {
	border-bottom-color: #917347;
}

.works-card__description {
	font-size: 14px;
	line-height: 1.8;
	color: #444;
	margin: 24px 0 0 !important;
}

.works-card__description p {
	margin: 0 0 0.8em;
}

.works-card__description p:last-child {
	margin-bottom: 0;
}

.works-card__description a {
	color: #917347;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.works-card__description a:hover {
	border-bottom-color: #917347;
}

.works-card__category {
	font-size: 13px;
	letter-spacing: 0.05em;
	margin: 0 !important;
	color: #666;
}

.works-card__category-label {
	display: inline-block;
	margin-right: 12px;
	color: #999;
}

.works-card__category-value a {
	color: #917347;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.works-card__category-value a:hover {
	border-bottom-color: #917347;
}

.works-card__category--placeholder {
	color: #bbb;
	font-style: italic;
}

/* 実績カテゴリー アーカイブ一覧 (taxonomy-works_category.php) */

.works-archive-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 160px 20px 100px;
	font-family: "Cormorant Garamond", "Noto Serif JP", serif;
}

.works-archive-header {
	margin-bottom: 48px;
}

.works-archive-eyebrow {
	font-size: 12px;
	letter-spacing: 0.15em;
	color: #999;
	margin: 0 0 8px;
}

.works-archive-title {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin: 0;
	color: #222;
}

.works-archive-description {
	max-width: 640px;
	margin: 16px 0 8px;  /* ← margin-topを0から16pxに */
	line-height: 1.8;
	color: #555;
}

.works-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* PC: 3列 */
	gap: 40px 32px;
}

/* タブレット: 2列 */
@media screen and (max-width: 1023px) {
	.works-archive-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 24px;
	}
}

/* スマホ: 1列 */
@media screen and (max-width: 599px) {
	.works-archive-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

.works-archive-card {
	display: block;
	text-decoration: none;
	color: inherit;
}

.works-archive-card__image {
	margin-bottom: 16px;
	overflow: hidden;
	background: #fff;
}

.works-archive-card__image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.works-archive-card:hover .works-archive-card__image img {
	transform: scale(1.03);
}

.works-archive-card__client {
	font-size: 12px;
	letter-spacing: 0.05em;
	color: #666;
	margin: 0 0 4px;
}

.works-archive-card__title {
	font-family: "Cormorant Garamond", "Noto Serif JP", serif;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.4;
	margin: 0 0 6px;
	color: #222;
}

.works-archive-card__meta {
	font-size: 12px;
	letter-spacing: 0.05em;
	color: #999;
	margin: 0;
}

.works-archive-pagination {
	margin-top: 60px;
	text-align: center;
}

.works-archive-empty {
	color: #999;
	font-size: 14px;
}

/* パンくずリスト */

.works-breadcrumb {
	margin-bottom: 20px;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	overflow: visible !important;
}

.works-breadcrumb ol {
	list-style: none !important;
	display: flex;
	flex-wrap: wrap;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 12px !important;
	letter-spacing: 0.03em;
	color: #999 !important;
}

.works-breadcrumb li {
	display: flex !important;
	align-items: center;
	color: #999 !important;
}

.works-breadcrumb a {
	color: #999 !important;
	text-decoration: none !important;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.works-breadcrumb a:hover {
	color: #917347 !important;
	border-bottom-color: #917347;
}

.works-breadcrumb__sep {
	margin: 0 8px;
	color: #ccc !important;
}

.works-breadcrumb__current {
	color: #666 !important;
}

/*
 * 実績カードブロックがあるページでは、
 * デフォルトテンプレートが自動出力するページタイトル(見出し)を非表示にする。
 *
 * 注意: セレクタ(.entry-title 等)はテーマ依存です。
 * 実際のタイトル要素のクラス名が違う場合は、ここを書き換えてください。
 */
body.has-works-card .entry-title,
body.has-works-card .page-title,
body.has-works-card h1.entry-title {
	display: none;
}