/* ===== 導入事例一覧：絞り込み ===== */
.uc-finder {
	display: grid;
	gap: 4px;
	margin-block: 16px;
	padding: 12px 14px;
	border: 1px solid #d4dee5;
	border-radius: 10px;
}
.uc-finder .uc-row {
	display: grid;
	grid-template-columns: 5em minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	margin: 0 !important;
}
.uc-label {
	font-size: 13px;
	font-weight: 700;
	color: #586977;
}
.uc-tabs {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding-block: 4px;
}
.uc-tab {
	flex: none;
	padding: 5px 14px;
	border: 1px solid #d4dee5;
	border-radius: 6px;
	background: #fff;
	color: inherit;
	font-size: 14px;
	white-space: nowrap;
	cursor: pointer;
}
.uc-tab small {
	margin-left: 6px;
	font-size: 11px;
	color: #586977;
}
.uc-tab[aria-selected="true"] {
	border-color: var(--wp--preset--color--primary, #1b6fa8);
	background: var(--wp--preset--color--primary, #1b6fa8);
	color: #fff;
	font-weight: 700;
}
.uc-tab[aria-selected="true"] small {
	color: #fff;
}
.uc-finder .uc-desc {
	margin: 0 0 6px calc(5em + 10px) !important; /* テーマの段落の余白を打ち消す */
	padding: 0 !important;
	font-size: 13px;
	line-height: 1.5;
	color: #586977;
}
.uc-result {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}
.uc-result strong {
	font-size: 18px;
}
.uc-clear {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--primary, #1b6fa8);
	text-decoration: underline;
	cursor: pointer;
}
.uc-tab:focus-visible,
.uc-clear:focus-visible,
.uc-more:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, #1b6fa8);
	outline-offset: 2px;
}
@media (max-width: 560px) {
	.uc-finder .uc-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.uc-finder .uc-desc {
		margin-left: 0 !important;
	}
}

/* ===== 導入事例一覧のカード・事例記事の上部：タグ ===== */
.uc-list .wp-block-post[hidden] {
	display: none !important;
}
.uc-list .uc-terms a,
.single-usecase .uc-terms a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 2px 10px;
	border-radius: 4px;
	background: #eaf0f4;
	color: #586977;
	font-size: 13px;
	text-decoration: none;
	pointer-events: none; /* 分類ごとのページは作らないため、リンクとして扱わない */
}
.uc-list .uc-terms .wp-block-post-terms__separator,
.single-usecase .uc-terms .wp-block-post-terms__separator {
	display: none;
}
.uc-list .wp-block-post-terms__prefix,
.single-usecase .uc-terms .wp-block-post-terms__prefix {
	margin-right: 4px;
	font-size: 13px;
	font-weight: 700;
	color: #586977;
}
/* サービスページ：カードの見出し（IoT・モバイルワーカー・MVNEページの用途） */
.uc-iot-label a,
.uc-page-label a {
	color: inherit;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	pointer-events: none;
}
.uc-iot-label .wp-block-post-terms__separator,
.uc-page-label .wp-block-post-terms__separator {
	display: none;
}
.uc-list .wp-block-post-excerpt__excerpt {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	color: inherit;
}

/* ===== 導入事例一覧：もっと見る・該当なし ===== */
.uc-after {
	display: grid;
	justify-items: center;
	gap: 12px;
	margin-top: 16px;
}
.uc-more {
	padding: 8px 28px;
	border: 1px solid var(--wp--preset--color--primary, #1b6fa8);
	border-radius: 6px;
	background: #fff;
	color: var(--wp--preset--color--primary, #1b6fa8);
	cursor: pointer;
}
.uc-empty {
	width: 100%;
	padding: 22px;
	border: 1px dashed #d4dee5;
	border-radius: 8px;
	text-align: center;
	color: #586977;
}
.uc-empty a {
	display: inline-block;
	margin-top: 10px;
}

/* ===== 問い合わせフォーム：ご覧になった事例 ===== */
.uc-seen {
	margin-bottom: 16px;
	padding: 8px 12px;
	border-radius: 6px;
	background: #eaf0f4;
	font-size: 14px;
}
