/* 導入事例（悩み別・インタビューを1ページに統合） */

#casetop-p {
	background: #ffffff;
	color: #043652;
}

#casetop-p .vx-cases {
	--case-navy: #066499;
	--case-ink: #043652;
	--case-muted: #5c6773;
	--case-faint: #8b97a3;
	box-sizing: border-box;
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	padding: 148px 0 96px;
	font-family: "Noto Sans JP", "source-han-sans-japanese", sans-serif;
}

#casetop-p .vx-cases *,
#casetop-p .vx-cases *::before,
#casetop-p .vx-cases *::after {
	box-sizing: border-box;
}

#casetop-p .vx-cases-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

#casetop-p .vx-cases-kicker {
	margin: 0 0 8px;
	color: var(--case-navy);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

#casetop-p .vx-cases h2 {
	margin: 0 0 12px;
	color: var(--case-ink);
	font-family: inherit;
	font-size: 34px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.45;
}

#casetop-p .vx-cases-logo {
	display: inline-block;
	height: 1.65em;
	width: auto;
	margin: 0 0.15em 0 0;
	vertical-align: -0.38em;
}

#casetop-p .vx-cases-lead {
	max-width: 38rem;
	margin: 0 0 40px;
	color: #3d4e5a;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
}

#casetop-p .vx-logo-carousel {
	width: 100%;
	margin: 0 0 48px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

#casetop-p .vx-logo-track {
	display: flex;
	width: max-content;
	animation: vx-logo-scroll 48s linear infinite;
}

#casetop-p .vx-logo-carousel:hover .vx-logo-track {
	animation-play-state: paused;
}

@keyframes vx-logo-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

#casetop-p .vx-logo-item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	margin-right: 56px;
}

#casetop-p .vx-logo-item img {
	width: auto;
	max-width: 148px;
	height: 50px;
	object-fit: contain;
}

#casetop-p .vx-case-tabs-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 0 0 48px;
	overflow-x: auto;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

#casetop-p .vx-case-tabs-wrap::-webkit-scrollbar {
	display: none;
}

#casetop-p .vx-case-tabs {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	border-radius: 999px;
	background: #f4f7fa;
}

#casetop-p .vx-case-tab {
	margin: 0;
	padding: 8px 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--case-muted);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	cursor: pointer;
}

#casetop-p .vx-case-tab:hover {
	color: var(--case-ink);
}

#casetop-p .vx-case-tab.is-on {
	background: var(--case-navy);
	color: #ffffff;
	font-weight: 700;
	box-shadow: 0 4px 12px -2px rgba(6, 100, 153, 0.28);
}

#casetop-p .vx-case-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 56px;
	row-gap: 72px;
	width: min(896px, 100%);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

#casetop-p .vx-case {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

#casetop-p .vx-case.is-off {
	display: none;
}

#casetop-p .vx-case-thumb {
	display: block;
	height: 160px;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: 12px;
	background: #f1f5f9;
}

#casetop-p .vx-case-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#casetop-p .vx-case:hover .vx-case-thumb img {
	transform: scale(1.04);
}

#casetop-p .vx-case-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

#casetop-p .vx-case-company {
	color: var(--case-navy);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

#casetop-p .vx-case-cat {
	color: var(--case-faint);
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.4;
}

#casetop-p .vx-case-title {
	color: var(--case-ink);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.45;
	background-image: linear-gradient(to right, rgba(4, 54, 82, 0.28), rgba(4, 54, 82, 0.28));
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 0% 1px;
	padding-bottom: 2px;
	transition: background-size 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#casetop-p .vx-case:hover .vx-case-title {
	background-size: 100% 1px;
}

#casetop-p .vx-case-empty {
	margin: 8px 0 0;
	color: var(--case-muted);
	font-size: 17px;
	font-weight: 400;
	text-align: center;
}

#casetop-p .vx-case-empty[hidden] {
	display: none;
}

@media (max-width: 960px) {
	#casetop-p .vx-case-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	#casetop-p .vx-case-tabs-wrap {
		justify-content: flex-start;
		overflow-x: visible;
		padding-bottom: 0;
	}

	#casetop-p .vx-case-tabs {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		border-radius: 16px;
		justify-content: flex-start;
	}
}

@media (max-width: 991.98px) {
	#casetop-p .vx-cases {
		padding-top: 96px;
	}
}

@media (max-width: 640px) {
	#casetop-p .vx-cases {
		width: min(1120px, calc(100% - 32px));
		padding-bottom: 72px;
	}

	#casetop-p .vx-cases h2 {
		font-size: 26px;
	}

	#casetop-p .vx-cases-lead br {
		display: none;
	}

	#casetop-p .vx-logo-carousel {
		margin-bottom: 28px;
	}

	#casetop-p .vx-case-tabs-wrap {
		margin-bottom: 28px;
	}

	#casetop-p .vx-case-thumb {
		height: 160px;
	}

	#casetop-p .vx-case-grid {
		grid-template-columns: 1fr;
		row-gap: 48px;
	}

	#casetop-p .vx-logo-item {
		margin-right: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#casetop-p .vx-logo-track {
		animation: none;
	}

	#casetop-p .vx-case-thumb img,
	#casetop-p .vx-case-title {
		transition: none;
	}
}