/* Case study — 詳細はモック青、一覧のみブランド赤 */
:root {
	--hcase-blue: #1a4fad;
	--hcase-blue-deep: #0f3d8f;
	--hcase-blue-soft: #eef4ff;
	--hcase-blue-chip: #dce8ff;
	--hcase-orange: #ff6a00;
	--hcase-orange-hover: #ff8126;
	--hcase-text: #1b1b1b;
	--hcase-muted: #4a4a4a;
	--hcase-line: #d7e2f5;
	--hcase-card: #ffffff;
	--hcase-bg: #f4f7fc;
}

.honima-case-archive {
	--hcase-blue: #d03720;
	--hcase-blue-deep: #b02e1a;
	--hcase-blue-soft: #fff5f3;
	--hcase-blue-chip: #f0cfc8;
	--hcase-line: #ead9d5;
	--hcase-bg: #fff8f6;
}

.honima-case-archive #container {
	padding-top: 0 !important;
}

.honima-case-page #main,
.honima-case-archive #main {
	overflow-x: clip;
	background: #fff;
	font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.honima-case-page #main {
	padding-top: 0;
}

.hcase-em {
	color: var(--hcase-blue);
	font-style: normal;
	font-weight: 900;
}

.hcase-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 10px;
	margin: 0 0 16px;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
	color: var(--hcase-blue);
}

.hcase-eyebrow__en {
	letter-spacing: 0.16em;
}

.hcase-eyebrow__sep,
.hcase-eyebrow__ja {
	color: var(--hcase-blue);
}

.hcase-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.hcase-tags li {
	padding: 6px 14px;
	border: 1.5px solid var(--hcase-blue);
	border-radius: 999px;
	color: var(--hcase-blue);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
	background: #fff;
}

.hcase-tags--sm li {
	padding: 4px 10px;
	font-size: 1.05rem;
}

/* ========== HERO ========== */
.hcase-hero {
	padding: 56px 0;
	background: #fff;
}

.hcase-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 36px 48px;
	align-items: center;
}

.hcase-hero__title {
	margin: 0 0 18px;
	font-size: clamp(2.6rem, 3.8vw, 3.6rem);
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1.35;
	color: var(--hcase-text);
}

.hcase-hero__title .hcase-em {
	font-size: 1.15em;
}

.hcase-hero__lead {
	margin: 0;
	max-width: 34em;
	font-size: 1.4rem;
	line-height: 1.9;
	letter-spacing: 0.03em;
	color: var(--hcase-muted);
}

.hcase-hero__visual img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* ========== SECTIONS ========== */
.hcase-sec {
	padding: 56px 0 64px;
}

.hcase-sec--results {
	background: #fff;
}

.hcase-sec--client {
	background: var(--hcase-bg);
	padding-bottom: 72px;
}

.hcase-sec--interview {
	background: #fff;
}

.hcase-sec__label {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 10px;
	margin: 0 0 36px;
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--hcase-blue);
	text-align: center;
}

/* ========== RESULTS: icon LEFT + text RIGHT cards ========== */
.hcase-results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

.hcase-results__card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 14px 16px;
	align-items: center;
	min-height: 100%;
	padding: 22px 20px;
	background: var(--hcase-card);
	border: 1px solid var(--hcase-line);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(26, 79, 173, 0.04);
	box-sizing: border-box;
}

.hcase-results__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
}

.hcase-results__icon img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.hcase-results__copy {
	min-width: 0;
}

.hcase-results__num {
	margin: 0 0 6px;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--hcase-blue);
}

.hcase-results__body {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.02em;
	color: var(--hcase-text);
}

/* ========== CLIENT: info | person+quote ========== */
.hcase-client {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 28px 36px;
	align-items: center;
}

.hcase-client__info {
	padding: 6px 18px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid var(--hcase-line);
}

.hcase-client__info ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hcase-client__info li {
	display: grid;
	grid-template-columns: 28px 7.2em minmax(0, 1fr);
	gap: 10px 12px;
	align-items: start;
	padding: 16px 4px;
	border-bottom: 1px solid var(--hcase-line);
}

.hcase-client__info li:last-child {
	border-bottom: 0;
}

.hcase-client__ico {
	display: block;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	background: var(--hcase-blue);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
}

.hcase-client__ico--company {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 21V5h6v2h4V5h6v16H4zm2-2h2v-2H6v2zm0-4h2v-2H6v2zm0-4h2V9H6v2zm0-4h2V5H6v2zm4 12h2v-2h-2v2zm0-4h2v-2h-2v2zm0-4h2V9h-2v2zm0-4h2V5h-2v2zm4 12h2v-2h-2v2zm0-4h2v-2h-2v2zm0-4h2V9h-2v2zm0-4h2V5h-2v2z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 21V5h6v2h4V5h6v16H4zm2-2h2v-2H6v2zm0-4h2v-2H6v2zm0-4h2V9H6v2zm0-4h2V5H6v2zm4 12h2v-2h-2v2zm0-4h2v-2h-2v2zm0-4h2V9h-2v2zm0-4h2V5h-2v2zm4 12h2v-2h-2v2zm0-4h2v-2h-2v2zm0-4h2V9h-2v2zm0-4h2V5h-2v2z'/%3E%3C/svg%3E");
}

.hcase-client__ico--industry {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 4h4v2h6v14H4V6h6V4zm-4 4v10h12V8H6zm2 2h2v2H8v-2zm0 4h2v2H8v-2zm4-4h2v2h-2v-2zm0 4h2v2h-2v-2zm4-4h2v2h-2v-2zm0 4h2v2h-2v-2z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 4h4v2h6v14H4V6h6V4zm-4 4v10h12V8H6zm2 2h2v2H8v-2zm0 4h2v2H8v-2zm4-4h2v2h-2v-2zm0 4h2v2h-2v-2zm4-4h2v2h-2v-2zm0 4h2v2h-2v-2z'/%3E%3C/svg%3E");
}

.hcase-client__ico--support {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 5h16v12H8l-4 3V5zm2 2v9.2L7.2 15H18V7H6z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 5h16v12H8l-4 3V5zm2 2v9.2L7.2 15H18V7H6z'/%3E%3C/svg%3E");
}

.hcase-client__ico--person {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E");
}

.hcase-client__key {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--hcase-blue);
	line-height: 1.6;
}

.hcase-client__val {
	font-size: 1.3rem;
	line-height: 1.7;
	color: var(--hcase-text);
}

.hcase-client__aside {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 16px 18px;
	align-items: center;
}

.hcase-client__person {
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.hcase-client__person img {
	display: block;
	width: 110px;
	height: auto;
}

.hcase-client__quote {
	position: relative;
	margin: 0;
	padding: 26px 22px 18px;
	background: #fff;
	border: 1px solid var(--hcase-line);
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(26, 79, 173, 0.06);
}

.hcase-client__quote::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 42%;
	width: 14px;
	height: 14px;
	background: #fff;
	border-left: 1px solid var(--hcase-line);
	border-bottom: 1px solid var(--hcase-line);
	transform: rotate(45deg);
}

.hcase-client__quote-mark {
	position: absolute;
	top: 6px;
	left: 16px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 4.4rem;
	line-height: 1;
	color: #b7c9ea;
}

.hcase-client__quote blockquote {
	position: relative;
	z-index: 1;
	margin: 0;
}

.hcase-client__quote blockquote p {
	margin: 0 0 12px;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.8;
	color: var(--hcase-text);
}

.hcase-client__quote figcaption {
	font-size: 1.15rem;
	color: #777;
	text-align: right;
}

/* ========== INTERVIEW ========== */
.hcase-interview {
	display: grid;
	gap: 24px;
	max-width: 880px;
	margin: 0 auto;
}

.hcase-qa {
	padding: 28px 28px 24px;
	background: #fff;
	border: 1px solid var(--hcase-line);
	border-radius: 14px;
	box-sizing: border-box;
}

.hcase-qa__q {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 14px;
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--hcase-blue);
}

.hcase-qa__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	background: var(--hcase-blue);
	color: #fff;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.hcase-qa__q-text {
	padding-top: 4px;
}

.hcase-qa__a {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.95;
	color: var(--hcase-text);
}

.hcase-qa__a .hcase-em {
	font-weight: 900;
}

.hcase-qa__voice {
	padding: 18px 20px 20px;
	background: var(--hcase-blue-soft);
	border: 1px solid var(--hcase-chip);
	border-radius: 12px;
}

.hcase-qa__voice-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--hcase-blue);
}

.hcase-qa__voice-ico {
	display: inline-block;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--hcase-blue);
	position: relative;
	flex: 0 0 auto;
}

.hcase-qa__voice-ico::before {
	content: "";
	position: absolute;
	inset: 5px 4px 6px;
	border: 2px solid #fff;
	border-radius: 6px 6px 6px 2px;
	box-sizing: border-box;
}

.hcase-qa__voice-text {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.7;
	color: var(--hcase-text);
}

/* ========== CTA ========== */
.hcase-cta {
	position: relative;
	padding: 72px 0 88px;
	background:
		radial-gradient(circle at 8% 80%, rgba(26, 79, 173, 0.08) 0 2px, transparent 3px),
		radial-gradient(circle at 12% 60%, rgba(26, 79, 173, 0.08) 0 2px, transparent 3px),
		linear-gradient(90deg, #e7f0ff 0%, #f3f7ff 55%, #eef4ff 100%);
	overflow: hidden;
}

.hcase-cta::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 48px;
	background: #fff;
	border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.hcase-cta__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(240px, 0.8fr);
	gap: 24px 28px;
	align-items: center;
}

.hcase-cta__title {
	margin: 0 0 14px;
	font-size: clamp(2.1rem, 2.8vw, 2.7rem);
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--hcase-blue-deep);
}

.hcase-cta__lead {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.85;
	color: var(--hcase-muted);
}

.hcase-cta__visual img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 420px;
	margin: 0 auto;
}

.hcase-cta__action {
	text-align: center;
}

.hcase-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 340px;
	padding: 18px 22px;
	box-sizing: border-box;
	background: var(--hcase-orange);
	border-radius: 999px;
	color: #fff !important;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(255, 106, 0, 0.35);
	transition: background 0.2s ease, transform 0.2s ease;
}

.hcase-cta__btn:hover {
	background: var(--hcase-orange-hover);
	color: #fff !important;
	transform: translateY(-1px);
}

.hcase-cta__btn-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	position: relative;
	flex: 0 0 auto;
}

.hcase-cta__btn-arrow::before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--hcase-orange);
	border-right: 2px solid var(--hcase-orange);
	transform: rotate(45deg);
	margin-left: -2px;
}

.hcase-cta__note {
	margin: 14px 0 0;
	font-size: 1.15rem;
	color: #777;
}

/* ========== ARCHIVE ========== */
.hcase-archive {
	padding: 120px 0 96px;
}

.hcase-archive__head {
	margin: 0 0 48px;
	text-align: center;
}

.hcase-archive__title {
	margin: 0;
	font-size: clamp(2.4rem, 3.4vw, 3.4rem);
	font-weight: 900;
	letter-spacing: 0.04em;
	color: var(--hcase-text);
}

.hcase-archive__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

.hcase-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hcase-card:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.hcase-card__visual img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.hcase-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 24px;
}

.hcase-card__title {
	margin: 0 0 10px;
	font-size: 1.7rem;
	font-weight: 900;
	line-height: 1.5;
	color: var(--hcase-text);
}

.hcase-card__company {
	margin-top: auto;
	padding-top: 8px;
	font-size: 1.2rem;
	color: #666;
}

@media all and (max-width: 1024px) {
	.hcase-hero__inner,
	.hcase-client,
	.hcase-cta__inner {
		grid-template-columns: 1fr;
	}

	.hcase-results {
		grid-template-columns: 1fr;
	}

	.hcase-client__aside {
		grid-template-columns: 100px minmax(0, 1fr);
	}

	.hcase-archive__list {
		grid-template-columns: 1fr;
	}

	.hcase-cta__action {
		text-align: left;
	}

	.hcase-cta__btn {
		max-width: none;
	}
}

@media all and (max-width: 767px) {
	.honima-case-page #main {
		padding-top: 0;
	}

	.hcase-archive {
		padding-top: 96px;
	}

	.hcase-results__card {
		grid-template-columns: 64px minmax(0, 1fr);
		padding: 18px 16px;
	}

	.hcase-client__info li {
		grid-template-columns: 24px 1fr;
		grid-template-areas:
			"ico key"
			"ico val";
	}

	.hcase-client__ico {
		grid-area: ico;
	}

	.hcase-client__key {
		grid-area: key;
	}

	.hcase-client__val {
		grid-area: val;
	}

	.hcase-client__aside {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.hcase-client__quote::before {
		display: none;
	}

	.hcase-qa {
		padding: 20px 16px 18px;
	}

	.hcase-qa__q {
		font-size: 1.35rem;
	}
}
