:root {
	--cx-wp-blue: #00479d;
	--cx-wp-blue-dark: #07315f;
	--cx-wp-blue-soft: #eef6ff;
	--cx-wp-text: #10213d;
	--cx-wp-muted: #5f6f86;
	--cx-wp-border: #dbe5f1;
	--cx-wp-bg: #f6f9fc;
}

.cx-whitepaper-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.cx-whitepaper-archive-hero,
.cx-whitepaper-single-hero {
	padding: 72px 0 56px;
}

.cx-whitepaper-archive-hero h1,
.cx-whitepaper-single-hero h1 {
	color: var(--cx-wp-text);
	font-size: 34px;
	line-height: 1.35;
	margin: 0;
}

.cx-whitepaper-archive-hero p:last-child,
.cx-whitepaper-single-hero p:last-child {
	color: var(--cx-wp-muted);
	font-size: 16px;
	line-height: 1.9;
	margin: 16px 0 0;
	max-width: 760px;
}

.cx-whitepaper-archive-body,
.cx-whitepaper-single-body {
	background: #fff;
	padding: 0 0 72px;
}

.cx-whitepaper-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.cx-whitepaper-card {
	background: #fff;
	border: 1px solid var(--cx-wp-border);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.cx-whitepaper-card:hover {
	box-shadow: 0 16px 34px rgba(16, 33, 61, .1);
	transform: translateY(-2px);
}

.cx-whitepaper-card__image {
	background: var(--cx-wp-bg);
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.cx-whitepaper-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cx-whitepaper-card__body {
	padding: 20px;
}

.cx-whitepaper-card h2 {
	font-size: 18px;
	line-height: 1.55;
	margin: 0 0 12px;
}

.cx-whitepaper-card h2 a {
	color: var(--cx-wp-text);
	text-decoration: none;
}

.cx-whitepaper-card p {
	color: var(--cx-wp-muted);
	font-size: 14px;
	line-height: 1.8;
	margin: 0 0 18px;
}

.cx-whitepaper-button,
.cx-whitepaper-button--small,
.cx-whitepaper-card .cx-whitepaper-button {
	align-items: center;
	background: var(--cx-wp-blue);
	border-radius: 999px;
	box-sizing: border-box;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	line-height: 1.4;
	min-height: 48px;
	padding: 0px 22px;
	text-decoration: none;
}

.cx-whitepaper-button--small {
	font-size: 14px;
	min-height: 40px;
	padding: 9px 18px;
}

.cx-whitepaper-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px;
	align-items: start;
}

.cx-whitepaper-cover {
	background: var(--cx-wp-bg);
	border: 1px solid var(--cx-wp-border);
	margin-bottom: 36px;
}

.cx-whitepaper-cover img {
	display: block;
	width: 100%;
	height: auto;
}

.cx-whitepaper-section {
	padding: 0 0 34px 0;
}

.cx-whitepaper-section h2 {
	color: var(--cx-wp-text);
	font-size: 24px;
	line-height: 1.45;
	margin: 0 0 18px;
}

.cx-whitepaper-text {
	color: var(--cx-wp-text);
	font-size: 16px;
	line-height: 2;
}

.cx-whitepaper-checklist,
.cx-whitepaper-chapters {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.cx-whitepaper-checklist li {
	background: var(--cx-wp-blue-soft);
	border-left: 4px solid var(--cx-wp-blue);
	color: var(--cx-wp-text);
	line-height: 1.8;
	list-style: none;
	padding: 13px 16px;
}

.cx-whitepaper-chapters {
	counter-reset: chapter;
}

.cx-whitepaper-chapters li {
	background: #fff;
	border: 1px solid var(--cx-wp-border);
	color: var(--cx-wp-text);
	line-height: 1.7;
	list-style: none;
	padding: 14px 16px 14px 54px;
	position: relative;
}

.cx-whitepaper-chapters li::before {
	background: var(--cx-wp-blue);
	border-radius: 50%;
	color: #fff;
	content: counter(chapter);
	counter-increment: chapter;
	display: grid;
	font-size: 13px;
	font-weight: 700;
	height: 28px;
	left: 16px;
	place-items: center;
	position: absolute;
	top: 14px;
	width: 28px;
}

.cx-whitepaper-samples {
	display: grid;
	gap: 20px;
}

.cx-whitepaper-samples img {
	border: 1px solid var(--cx-wp-border);
	display: block;
	width: 100%;
	height: auto;
}

.cx-whitepaper-form {
	position: sticky;
	top: 156px;
}

.cx-whitepaper-form__inner {
	background: #fff;
	border: 2px solid var(--cx-wp-blue);
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(16, 33, 61, .1);
	padding: 15px;
}

.cx-whitepaper-form h2 {
	color: var(--cx-wp-text);
	font-size: 20px;
	line-height: 1.45;
	margin: 0 0 10px;
}

.cx-whitepaper-form p {
	color: var(--cx-wp-muted);
	line-height: 1.8;
	margin: 0px 0 15px;
}

.wpcf7.js {
	margin: 0 !important;
}

.wpcf7 form {
	margin: 1em 1em 0;
}

.cx-wp-cf7-fields {
	display: grid;
	gap: 0;
}

.cx-whitepaper-form.is-complete .cx-wp-cf7-fields {
	display: none;
}

.cx-whitepaper-form.is-complete .wpcf7-response-output {
	display: none;
}

.cx-wp-cf7-fields label {
	color: var(--cx-wp-text);
	font-size: 14px;
	font-weight: 700;
	gap: 7px;
}

.cx-wp-required {
	color: #d93636;
	font-size: 12px;
	margin-left: 6px;
}

.cx-wp-cf7-fields input[type="text"],
.cx-wp-cf7-fields input[type="email"],
.cx-wp-cf7-fields input[type="tel"] {
	border: 1px solid var(--cx-wp-border);
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 16px;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.cx-wp-privacy {
	color: var(--cx-wp-muted);
	font-size: 13px;
	line-height: 1.7;
}

.cx-wp-privacy a {
	color: var(--cx-wp-blue);
	font-weight: 700;
}

.cx-whitepaper-form p.cx-wp-submit-wrap {
	margin: 0;
}

.cx-wp-cf7-fields input[type="submit"] {
	background: var(--cx-wp-blue);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	margin: 0 auto;
	min-height: 50px;
	padding: 12px 20px;
	width: 100%;
}

.cx-whitepaper-thanks {
	background: var(--cx-wp-blue-soft);
	border-radius: 8px;
	margin-top: 18px;
	padding: 18px;
}

.cx-whitepaper-thanks .cx-whitepaper-note {
	font-size: 12px;
	margin: 14px 0 0;
}

.cx-whitepaper-sidebar {
	background: #f4f4f4;
	padding:20px 10px;
}

.cx-whitepaper-sidebar__image {
	background: var(--cx-wp-bg);
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.cx-whitepaper-sidebar__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.cx-whitepaper-sidebar__eyebrow {
	color: var(--cx-wp-blue);
	font-size: 12px;
	font-weight: 700;
	margin: 12px 0 6px;
}

.cx-whitepaper-sidebar__title {
	color: var(--cx-wp-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 8px;
}

.cx-whitepaper-sidebar__lead {
	color: var(--cx-wp-muted);
	font-size: 12px;
	line-height: 1.6;
	margin: 0 0 12px;
}

.cx-whitepaper-sidebar__button {
	background: var(--cx-wp-blue);
	border-radius: 999px;
	color: #fff;
	display: block;
	font-size: 13px;
	font-weight: 700;
	padding: 10px 12px;
	text-align: center;
	text-decoration: none;
}

.cx-whitepaper-popup {
	background: rgba(7, 49, 95, .54);
	inset: 0;
	position: fixed;
	z-index: 9999;
}

.cx-whitepaper-popup.is-visible {
	display: grid;
	place-items: center;
}

.cx-whitepaper-popup__panel {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
	max-width: 720px;
	overflow: hidden;
	position: relative;
	width: calc(100vw - 40px);
}

.cx-whitepaper-popup__close {
	background: #fff;
	border: 1px solid var(--cx-wp-border);
	border-radius: 50%;
	color: var(--cx-wp-text);
	cursor: pointer;
	font-size: 22px;
	height: 38px;
	line-height: 1;
	position: absolute;
	right: 12px;
	top: 12px;
	width: 38px;
}

.cx-whitepaper-popup__image {
	background: var(--cx-wp-bg);
	display: block;
}

.cx-whitepaper-popup__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.cx-whitepaper-popup__body {
	padding: 34px 34px 30px;
}

.cx-whitepaper-popup__eyebrow {
	color: var(--cx-wp-blue);
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 8px;
}

.cx-whitepaper-popup__title {
	color: var(--cx-wp-text);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0 0 12px;
	padding-right: 34px;
}

.cx-whitepaper-popup__text {
	color: var(--cx-wp-muted);
	line-height: 1.8;
	margin: 0 0 18px;
}

.cx-whitepaper-popup__button {
	background: var(--cx-wp-blue);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	padding: 12px 22px;
	text-decoration: none;
}

@media (max-width: 1320px) {
	.cx-whitepaper-sidebar {
		display: none;
	}
}

@media (max-width: 900px) {
	.cx-whitepaper-archive-hero,
	.cx-whitepaper-single-hero {
		padding: 48px 0 40px;
	}

	.cx-whitepaper-archive-hero h1,
	.cx-whitepaper-single-hero h1 {
		font-size: 28px;
	}

	.cx-whitepaper-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.cx-whitepaper-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.cx-whitepaper-form {
		position: static;
	}
}

@media (max-width: 640px) {
	.cx-whitepaper-container {
		padding: 0 16px;
	}

	.cx-whitepaper-archive-body,
	.cx-whitepaper-single-body {
		padding: 36px 0 52px;
	}

	.cx-whitepaper-grid {
		gap: 12px;
	}

	.cx-whitepaper-card__body {
		padding: 14px;
	}

	.cx-whitepaper-card h2 {
		font-size: 15px;
	}

	.cx-whitepaper-card p {
		font-size: 12px;
	}

	.cx-whitepaper-button--small {
		font-size: 12px;
		min-height: 36px;
		padding: 8px 12px;
		width: 100%;
	}

	.cx-whitepaper-section h2 {
		font-size: 21px;
	}

	.cx-whitepaper-popup__panel {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 32px);
		overflow-y: auto;
	}

	.cx-whitepaper-popup__image {
		aspect-ratio: 16 / 9;
	}

	.cx-whitepaper-popup__body {
		padding: 24px 20px;
	}
}


/* ==========================================================
ポップアップ型ホワイトペーパー誘導
========================================================== */

.cx-whitepaper-popup__panel {
	position: relative;
	width: min(700px, calc(100% - 30px));
	max-height: calc(100vh - 30px);
	margin: auto;
	overflow-x: hidden;
	overflow-y: auto;
	background: #064aa4;
	border: 3px solid #073d8e;
	border-radius: 18px;
	box-sizing: border-box;
	box-shadow: 0 15px 50px rgba(0, 24, 74, 0.28);
}

/* 閉じるボタン */
.cx-whitepaper-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	color: #fff;
	font-size: 38px;
	font-weight: 300;
	line-height: 1;
	background: rgba(35, 35, 35, 0.82);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	box-sizing: border-box;
}

/* 上部画像 */
.cx-whitepaper-popup__image {
	display: block;
	margin: 0;
	padding: 0;
	background: #fff;
}

.cx-whitepaper-popup__image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

/* 下部の青色エリア */
.cx-whitepaper-popup__footer {
	padding: 26px 35px 20px;
	text-align: center;
	background: #064aa4;
	box-sizing: border-box;
}

/* 黄色のダウンロードボタン */
.cx-whitepaper-popup__download {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 520px);
	min-height: 70px;
	margin: 0 auto;
	padding: 14px 65px 14px 35px;
	color: #063d91;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	background: #ffd523;
	border-radius: 50px;
	box-sizing: border-box;
	box-shadow: 0 5px 0 rgba(0, 39, 112, 0.25);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.cx-whitepaper-popup__download:hover {
	color: #063d91;
	text-decoration: none;
	background: #ffe04a;
	transform: translateY(2px);
	box-shadow: 0 3px 0 rgba(0, 39, 112, 0.25);
}

.cx-whitepaper-popup__download-text {
	display: block;
}

/* ボタン右側の矢印 */
.cx-whitepaper-popup__download-arrow {
	position: absolute;
	top: 50%;
	right: 32px;
	font-size: 44px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-54%);
}

/* ボタン下の注意書き */
.cx-whitepaper-popup__note {
	margin: 16px 0 0;
	padding: 0;
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: 0.03em;
}

/* ドット */
.cx-whitepaper-samples .slick-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 7px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.cx-whitepaper-samples .slick-dots li {
	width: 7px;
	height: 7px;
	margin: 0;
	padding: 0;
}

.cx-whitepaper-samples .slick-dots button {
	display: block;
	width: 7px;
	height: 7px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 50%;
	background: #d4d4d4;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	appearance: none;
}

.cx-whitepaper-samples .slick-dots .slick-active button {
	background: #1769db;
}

/* ==========================================================
スマートフォン表示
========================================================== */

@media screen and (max-width: 767px) {

	.cx-whitepaper-popup__panel {
		width: calc(100% - 20px);
		max-height: calc(100vh - 20px);
		border-width: 2px;
		border-radius: 12px;
	}

	.cx-whitepaper-popup__close {
		top: 8px;
		right: 8px;
		width: 40px;
		height: 40px;
		font-size: 30px;
	}

	.cx-whitepaper-popup__footer {
		padding: 18px 15px 15px;
	}

	.cx-whitepaper-popup__download {
		min-height: 56px;
		padding: 11px 48px 11px 20px;
		font-size: clamp(17px, 5vw, 22px);
		border-radius: 40px;
	}

	.cx-whitepaper-popup__download-arrow {
		right: 20px;
		font-size: 34px;
	}

	.cx-whitepaper-popup__note {
		margin-top: 12px;
		font-size: 12px;
	}

}

@media screen and (max-width: 767px) {
.cx-whitepaper-samples {
	max-width: 600px;
	margin: 0 auto;
}

/* PC：スライダーにせず通常表示 */
.cx-whitepaper-samples:not(.slick-initialized) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

/* スライド間の余白 */
.cx-whitepaper-samples .slick-list {
	margin: 0 -8px;
}

.cx-whitepaper-sample {
	box-sizing: border-box;
	padding: 0 8px;
}

.cx-whitepaper-sample img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #e5e7eb;
	background: #fff;
}


}

@media (max-width: 1024px) {
	/* JSが読み込まれるまで最初の1枚だけ表示 */
	.cx-whitepaper-samples:not(.slick-initialized) {
		display: block;
		overflow: hidden;
	}

	.cx-whitepaper-samples:not(.slick-initialized)
	.cx-whitepaper-sample:nth-child(n + 2) {
		display: none;
	}
}

