/* ============================================================================
 * site-future.css
 * KIコーポレーション サイト全体の近未来AIデザイン（2026-09-26）
 * 対象：SERVICE 一覧・詳細 / AI LAB / ABOUT / CONTACT（HOME は home-future.css）
 * ----------------------------------------------------------------------------
 * - functions.php の ki_corp_site_future_assets() が対象ページだけで読み込む。
 *   body に .kf-site（と .kf-site--{ページ種別}）が付く。
 * - HOME と同じカラーパレット・背景・ガラスパネル・HUD ラベルで世界観を統一し、
 *   ページの役割に合わせてレイアウトを変える。
 * - このCSSだけで、暗い背景・パネル・文字・余白は成立する（JSが動かなくても読める）。
 *   背景のAIネットワーク・データの背骨・HUD ラベル・動きは site-future.js が追加する。
 * - 「スクロールで出現する要素を最初に隠す」ルールは、<html> に .kf-motion が
 *   付いているとき（JSが動き、動きを減らす設定でないとき）だけ有効。
 * ============================================================================ */

/* ============================================================================
 * 0. カラーパレット・基本値（HOME と同じ）
 * ============================================================================ */
body.kf-site {
	--kf-void: #05070E;
	--kf-deep: #0A1020;
	--kf-panel: rgba(17, 26, 48, 0.58);
	--kf-panel-edge: rgba(130, 170, 255, 0.16);
	--kf-line: rgba(130, 170, 255, 0.14);
	--kf-text: #E9EEF9;
	--kf-text-2: #A9B5CD;
	--kf-text-3: #6E7C99;
	--kf-cyan: #3EE3F2;
	--kf-blue: #4F7BFF;
	--kf-violet: #8C6BFF;
	--kf-gold: #D8C189;
	--kf-amber: #F2B866;
	--kf-f-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	--kf-f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	--kf-f-label: "Space Grotesk", "Noto Sans JP", sans-serif;
	--kf-f-mono: "IBM Plex Mono", ui-monospace, monospace;
	--kf-gutter: clamp(16px, 5vw, 64px);
	--kf-gap: clamp(72px, 9vw, 120px);
	--kf-hud-gap: clamp(18px, 2.4vw, 28px);
	--kf-hud-space: calc(11px + var(--kf-hud-gap));
	--kf-ease: cubic-bezier(0.16, 0.84, 0.3, 1);

	color: var(--kf-text-2);
	font-family: var(--kf-f-body);
	font-size: clamp(15px, 0.9rem + 0.15vw, 16px);
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
	background-color: var(--kf-void);
	background-image:
		radial-gradient(ellipse 60% 40% at 50% 0%, rgba(79, 123, 255, 0.10), transparent 70%),
		linear-gradient(rgba(130, 170, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(130, 170, 255, 0.035) 1px, transparent 1px);
	background-size: 100% 100%, 64px 64px, 64px 64px;
	background-attachment: fixed;
}
html:has(body.kf-site) {
	background: #05070E;
}

/* Kadence の白い背景・枠を透明にして、ページ全体を一つの空間にする */
body.kf-site #wrapper {
	position: relative;
	z-index: 1;
	background: transparent;
}
body.kf-site #inner-wrap {
	overflow-x: clip;
	background: transparent;
}
body.kf-site :is(.site, .content-area, .content-container, .content-bg, .entry-content-wrap) {
	background: transparent !important;
	box-shadow: none !important;
}
body.kf-site .entry-hero {
	display: none;
}
body.kf-site :is(h1, h2, h3, h4) {
	font-family: var(--kf-f-head);
	color: var(--kf-text);
	font-weight: 700;
	font-feature-settings: "palt";
	letter-spacing: 0.03em;
	margin: 0;
}
body.kf-site .kf-page p {
	margin: 0;
}
body.kf-site .kf-page a {
	color: inherit;
	text-decoration: none;
}
body.kf-site .kf-page :is(a, button, summary, input, select, textarea):focus-visible {
	outline: 2px solid var(--kf-cyan);
	outline-offset: 3px;
}

/* ============================================================================
 * 1. 背景レイヤー（JSが .kf-bg を body の先頭に追加する）
 * ============================================================================ */
.kf-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.kf-bg-base {
	position: absolute;
	inset: -10%;
	background:
		radial-gradient(ellipse 45% 38% at 8% 12%, rgba(62, 227, 242, 0.09), transparent 70%),
		radial-gradient(ellipse 40% 45% at 94% 70%, rgba(140, 107, 255, 0.08), transparent 70%),
		radial-gradient(ellipse 60% 40% at 50% 0%, rgba(79, 123, 255, 0.10), transparent 70%),
		linear-gradient(180deg, #0A1020 0%, #05070E 55%, #070A14 100%);
	translate: calc(var(--kf-mx, 0) * 3%) calc(var(--kf-my, 0) * 3%);
	transition: translate 1.2s ease-out;
}
.kf-bg-grid {
	position: absolute;
	left: 0;
	right: 0;
	top: -256px;
	bottom: -256px;
	background-image:
		linear-gradient(rgba(130, 170, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(130, 170, 255, 0.07) 1px, transparent 1px),
		linear-gradient(rgba(130, 170, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(130, 170, 255, 0.035) 1px, transparent 1px);
	background-size: 256px 256px, 256px 256px, 64px 64px, 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 0, 0, 0.35) 0%, #000 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 0, 0, 0.35) 0%, #000 75%);
	transform: translate3d(calc(var(--kf-mx, 0) * 3px), calc(var(--kf-grid-y, 0px) + var(--kf-my, 0) * 3px), 0);
}
.kf-bg canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* ============================================================================
 * 2. ヘッダー・フッター（HOME と同じ見た目）
 * ============================================================================ */
body.kf-site #masthead {
	position: relative;
	z-index: 5;
	background: rgba(5, 7, 14, 0.72) !important;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(130, 170, 255, 0.10) !important;
}
body.kf-site #masthead :is(.site-header-wrap, .site-header-inner-wrap, .site-header-upper-wrap, .site-header-upper-inner-wrap, .site-main-header-wrap, .site-header-row-container-inner, .site-header-row) {
	background: transparent !important;
	border: 0 !important;
}
body.kf-site #masthead .site-main-header-inner-wrap {
	min-height: 64px !important;
}
body.kf-site .site-branding .site-title {
	font-family: var(--kf-f-head) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0.02em;
	color: var(--kf-text) !important;
}
body.kf-site #primary-menu > li > a {
	position: relative;
	font-family: var(--kf-f-label);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--kf-text-2) !important;
}
body.kf-site #primary-menu > li > a:hover,
body.kf-site #primary-menu > li:is(.current-menu-item, .current-menu-ancestor, .current_page_item, .current-menu-parent) > a {
	color: var(--kf-text) !important;
}
body.kf-site #primary-menu > li:is(.current-menu-item, .current-menu-ancestor, .current_page_item, .current-menu-parent) > a::after {
	content: "";
	position: absolute;
	left: 1.2em;
	right: 1.2em;
	bottom: 0.9em;
	height: 1px;
	background: linear-gradient(90deg, var(--kf-cyan), var(--kf-blue));
}
body.kf-site #mobile-header .site-main-header-inner-wrap {
	min-height: 56px !important;
}
body.kf-site #mobile-header .site-title {
	font-size: 15px !important;
}
body.kf-site .mobile-toggle-open-container .menu-toggle-open {
	color: var(--kf-text-2) !important;
}
body.kf-site #mobile-drawer .drawer-inner {
	background: rgba(5, 7, 14, 0.96) !important;
}
body.kf-site #mobile-drawer .drawer-inner a {
	color: var(--kf-text) !important;
	font-family: var(--kf-f-label);
	letter-spacing: 0.12em;
}
body.kf-site #colophon {
	position: relative;
	margin-top: var(--kf-gap);
	background: rgba(5, 7, 14, 0.6) !important;
	border-top: 1px solid var(--kf-line);
	color: var(--kf-text-3) !important;
}
body.kf-site #colophon :is(.site-footer-wrap, .site-footer-row-container-inner, .site-bottom-footer-wrap, .site-footer-row-container) {
	background: transparent !important;
	border: 0 !important;
}
body.kf-site #colophon a {
	color: var(--kf-text-2) !important;
}

/* ============================================================================
 * 3. ページの骨組み（セクション＝モジュール、HUDラベル、データの背骨）
 * ============================================================================ */
.kf-page {
	position: relative;
	z-index: 1;
	width: min(100% - var(--kf-gutter) * 2, 1180px);
	margin: 0 auto;
	padding-top: clamp(28px, 5vw, 72px);
}
.kf-page > :is(.kf-sec, .kf-hero) {
	position: relative;
	z-index: 1;
}
.kf-sec {
	margin-top: var(--kf-gap);
	padding-top: var(--kf-hud-space);
}
.kf-hero {
	padding-top: var(--kf-hud-space);
}
/* HUDラベル（JSが追加する装飾。読み上げ対象外） */
.kf-hud {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	font: 500 11px/1 var(--kf-f-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--kf-text-3);
	pointer-events: none;
}
.kf-hud b {
	color: var(--kf-cyan);
	font-weight: 500;
}
.kf-hud::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--kf-line), transparent);
	transform-origin: left;
}
.kf-hud .kf-st {
	order: 3;
	margin-left: auto;
}
.kf-hud .kf-st::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 8px;
	vertical-align: 1px;
	border-radius: 50%;
	background: var(--kf-cyan);
	box-shadow: 0 0 8px var(--kf-cyan);
}
@media (max-width: 767px) {
	.kf-hud .kf-st { display: none; }
}
/* データの背骨（JSが .kf-page の左側に SVG を追加する） */
.kf-spine {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	overflow: visible;
}
.kf-spine .kf-sp-base { fill: none; stroke: rgba(62, 227, 242, 0.16); stroke-width: 1; }
.kf-spine .kf-sp-lit { fill: none; stroke: rgba(62, 227, 242, 0.7); stroke-width: 1.5; filter: drop-shadow(0 0 5px rgba(62, 227, 242, 0.7)); }
.kf-spine .kf-sp-node { fill: #05070E; stroke: rgba(62, 227, 242, 0.45); stroke-width: 1.5; transition: stroke 0.6s ease, filter 0.6s ease; }
.kf-spine .kf-sp-node.is-on { stroke: var(--kf-cyan); filter: drop-shadow(0 0 6px rgba(62, 227, 242, 0.9)); }

/* ============================================================================
 * 4. 文字
 * ============================================================================ */
.kf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font: 500 12px/1 var(--kf-f-mono);
	letter-spacing: 0.24em;
	color: var(--kf-cyan);
}
.kf-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: linear-gradient(90deg, var(--kf-cyan), transparent);
}
.kf-eyebrow .kf-hero-icon {
	display: inline-flex;
	width: 26px;
	height: 26px;
}
.kf-eyebrow:has(.kf-hero-icon)::before {
	display: none;
}
.kf-h1 {
	margin-top: 18px !important;
	font-size: clamp(1.55rem, 1.05rem + 3vw, 3.4rem);
	line-height: 1.32;
	text-wrap: balance;
	background: linear-gradient(100deg, #FFFFFF 0%, #DDF9FF 45%, #7FEAF5 75%, #7FA2FF 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}
.kf-h2 {
	font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem);
	line-height: 1.45;
	text-wrap: balance;
}
.kf-h3 {
	font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
	line-height: 1.5;
	text-wrap: balance;
}
.kf-lead {
	max-width: 40em;
	margin-top: clamp(16px, 2vw, 24px) !important;
	font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
	line-height: 1.95;
	color: #D5DDEE;
	text-wrap: pretty;
}
.kf-catch {
	margin-top: 14px !important;
	font: 700 clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem)/1.6 var(--kf-f-head);
	color: var(--kf-cyan);
	text-wrap: balance;
}
.kf-sub {
	max-width: 44em;
	margin-top: clamp(10px, 1.4vw, 16px) !important;
	color: var(--kf-text-2);
	text-wrap: pretty;
}
.kf-label {
	font: 500 11px/1.4 var(--kf-f-mono);
	letter-spacing: 0.16em;
	color: var(--kf-cyan);
	text-transform: uppercase;
}
.kf-note {
	display: inline-block;
	margin-left: 0.6em;
	font-size: 0.85em;
	color: var(--kf-text-3);
}
.kf-nowrap {
	display: inline-block;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ============================================================================
 * 5. ボタン
 * ============================================================================ */
.kf-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
	margin-top: clamp(24px, 1rem + 2vw, 40px);
	justify-content: center;
}
.kf-btns--left {
	justify-content: flex-start;
}
.kf-btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 30px;
	border-radius: 999px;
	font: 700 15px/1.2 var(--kf-f-head);
	letter-spacing: 0.06em;
	text-align: center;
	cursor: pointer;
	transition: translate 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.kf-btn--pri {
	color: #041018 !important;
	background: linear-gradient(90deg, var(--kf-cyan), var(--kf-blue));
	border: 0;
	box-shadow: 0 8px 30px rgba(62, 227, 242, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.kf-btn--sec {
	color: var(--kf-text) !important;
	background: rgba(17, 26, 48, 0.4);
	border: 1px solid rgba(130, 170, 255, 0.35);
}
.kf-btn--lg {
	min-height: 58px;
	padding: 0 40px;
}
@media (hover: hover) and (pointer: fine) {
	.kf-btn:hover { translate: 0 -2px; }
	.kf-btn--pri:hover { box-shadow: 0 12px 38px rgba(62, 227, 242, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3) inset; }
	.kf-btn--sec:hover { border-color: rgba(62, 227, 242, 0.6); box-shadow: 0 0 24px rgba(62, 227, 242, 0.15); }
}
@media (max-width: 600px) {
	.kf-btns { flex-direction: column; align-items: stretch; }
	.kf-btn { width: 100%; }
}
/* クリック時の光の波紋（JSが追加） */
.kf-ripple {
	position: absolute;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(62, 227, 242, 0.25) 45%, transparent 70%);
	animation: kf-ripple 0.55s ease-out forwards;
}
@keyframes kf-ripple {
	from { transform: scale(1); opacity: 1; }
	to { transform: scale(22); opacity: 0; }
}

/* ============================================================================
 * 6. ガラスパネル・カード・リスト
 * ============================================================================ */
.kf-glass {
	position: relative;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 40%), var(--kf-panel);
	border: 1px solid var(--kf-panel-edge);
	border-radius: 16px;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 60px rgba(0, 0, 0, 0.35);
}
.kf-glass::before {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	top: -1px;
	height: 1px;
	pointer-events: none;
	background: linear-gradient(90deg, transparent, rgba(62, 227, 242, 0.55), transparent);
}
@media (max-width: 767px) {
	.kf-glass { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
.kf-grid {
	display: grid;
	gap: 20px;
	margin-top: clamp(24px, 3.5vw, 40px);
}
.kf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.kf-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
	.kf-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.kf-grid--2, .kf-grid--3 { grid-template-columns: 1fr; gap: 14px; }
}

@property --kf-spot {
	syntax: '<number>';
	inherits: false;
	initial-value: 0;
}
.kf-card {
	--kf-spot: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	border-radius: 14px;
	border: 1px solid transparent;
	overflow: hidden;
	color: var(--kf-text-2);
	background:
		radial-gradient(260px circle at var(--kf-cx, 50%) var(--kf-cy, 0%), rgba(62, 227, 242, calc(0.10 * var(--kf-spot))), transparent 70%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 35%),
		rgba(14, 22, 42, 0.62);
	background-clip: padding-box;
	transition: translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, --kf-spot 0.35s ease;
}
.kf-card::after {   /* 上から下へ薄れる発光ボーダー */
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(62, 227, 242, 0.55), rgba(79, 123, 255, 0.18) 45%, rgba(130, 170, 255, 0.08));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}
.kf-card::before {   /* スキャン光（ホバー時に1回） */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 0, transparent calc(100% - 60px), rgba(62, 227, 242, 0.06) calc(100% - 24px), rgba(143, 240, 250, 0.85) calc(100% - 1px), transparent 100%);
	transform: translateY(-100%);
	opacity: 0;
}
.kf-card--ai {
	background:
		radial-gradient(260px circle at var(--kf-cx, 50%) var(--kf-cy, 0%), rgba(140, 107, 255, calc(0.12 * var(--kf-spot))), transparent 70%),
		radial-gradient(ellipse 60% 50% at 85% 10%, rgba(140, 107, 255, 0.16), transparent 70%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 35%),
		rgba(18, 18, 46, 0.66);
	background-clip: padding-box;
}
.kf-card--ai::after {
	background: linear-gradient(160deg, rgba(140, 107, 255, 0.9), rgba(62, 227, 242, 0.55) 60%, rgba(140, 107, 255, 0.2));
}
.kf-card--link {
	cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
	.kf-card:hover {
		--kf-spot: 1;
		box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(62, 227, 242, 0.12);
	}
	.kf-card:hover::after {
		background: linear-gradient(180deg, rgba(62, 227, 242, 0.95), rgba(79, 123, 255, 0.5) 50%, rgba(62, 227, 242, 0.4));
	}
	.kf-card--ai:hover::after {
		background: linear-gradient(160deg, rgba(160, 130, 255, 1), rgba(62, 227, 242, 0.8) 60%, rgba(140, 107, 255, 0.5));
	}
	.kf-card:hover .kf-num { text-shadow: 0 0 10px rgba(216, 193, 137, 0.7); }
	.kf-card:hover .kf-more { translate: 4px 0; }
	.kf-card:hover .kf-more::after { width: 64px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.kf-card:hover { translate: 0 -3px; }
	.kf-card:hover::before { animation: kf-scan 1.1s cubic-bezier(0.4, 0, 0.2, 1) both; }
}
.kf-num {
	font: 500 12px/1 var(--kf-f-mono);
	letter-spacing: 0.16em;
	color: var(--kf-gold);
	transition: text-shadow 0.35s ease;
}
.kf-card--ai .kf-num { color: #C9B8FF; }
.kf-unit {
	margin-left: auto;
	font: 500 10px/1 var(--kf-f-mono);
	letter-spacing: 0.16em;
	color: var(--kf-text-3);
}
.kf-card-title {
	font: 700 1.1rem/1.5 var(--kf-f-head);
	color: var(--kf-text);
	letter-spacing: 0.03em;
}
.kf-card-lead {
	font: 700 1.02rem/1.7 var(--kf-f-head);
	color: var(--kf-text);
}
.kf-card-text {
	font-size: 0.92rem;
	line-height: 1.85;
}
.kf-card-ex {
	margin-top: auto !important;
	padding-top: 10px;
	border-top: 1px dashed rgba(130, 170, 255, 0.16);
	font-size: 0.85rem;
	color: #8FA3C7;
}
.kf-more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	font: 700 13px/1 var(--kf-f-head);
	letter-spacing: 0.06em;
	color: #8FB0FF !important;
	transition: translate 0.35s var(--kf-ease);
}
.kf-more::after {
	content: "";
	width: 28px;
	height: 1px;
	background: linear-gradient(90deg, var(--kf-blue), transparent);
	transition: width 0.4s var(--kf-ease);
}
.kf-svc-icon,
.kf-hero-icon {
	display: inline-flex;
	width: 44px;
	height: 44px;
}
.kf-icon {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: var(--kf-cyan);
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.kf-icon .kf-ic-fill { fill: rgba(62, 227, 242, 0.18); }
.kf-icon .kf-ic-gold { stroke: var(--kf-gold); }
.kf-card--ai .kf-icon { stroke: #B7A6FF; }
/* チェックリスト */
.kf-check {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.kf-check li {
	position: relative;
	padding-left: 28px;
	line-height: 1.75;
	color: #CFD8EC;
}
.kf-check li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.5em;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(62, 227, 242, 0.6);
	background: radial-gradient(circle, var(--kf-cyan) 0 3px, transparent 3.5px);
	box-shadow: 0 0 8px rgba(62, 227, 242, 0.35);
}
.kf-check--panel {
	max-width: 760px;
	margin-top: clamp(22px, 3vw, 34px) !important;
	padding: clamp(20px, 3vw, 32px);
	gap: 12px;
}
/* 項目チップ */
.kf-chips {
	list-style: none;
	margin: clamp(22px, 3vw, 34px) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 14px;
}
.kf-chip {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 14px;
	align-items: baseline;   /* 説明の行数が違っても、番号と見出しの高さをそろえる */
	align-content: start;
	padding: 16px 20px;
	border-radius: 12px;
}
.kf-chip-name {
	font: 700 0.98rem/1.5 var(--kf-f-head);
	color: var(--kf-text);
}
.kf-chip-desc {
	grid-column: 2;
	font-size: 0.85rem;
	line-height: 1.7;
}
/* 本文（WordPress本文・ACFの説明） */
.kf-prose {
	margin-top: 20px;
	padding: clamp(20px, 3vw, 32px);
	color: #CFD8EC;
}
.kf-prose p + p,
.kf-prose .kf-label + p {
	margin-top: 12px !important;
}
.kf-prose a {
	color: #8FB0FF !important;
	text-decoration: underline !important;
}

/* ============================================================================
 * 7. ヒーロー（ページの役割ごとにレイアウトを変える）
 * ============================================================================ */
.kf-hero--split,
.kf-hero--service,
.kf-hero--lab {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}
@media (max-width: 900px) {
	.kf-hero--split,
	.kf-hero--service,
	.kf-hero--lab {
		grid-template-columns: 1fr;
	}
}
.kf-hero-panel {
	padding: 24px 26px;
}
.kf-panel-title {
	font: 500 11px/1 var(--kf-f-mono);
	letter-spacing: 0.2em;
	color: var(--kf-text-3);
	padding-bottom: 14px;
	border-bottom: 1px dashed rgba(130, 170, 255, 0.16);
}
.kf-readout-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.kf-readout-list li {
	display: grid;
	grid-template-columns: 34px 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px dashed rgba(130, 170, 255, 0.12);
	font-size: 0.92rem;
	color: #CFD8EC;
}
.kf-ro-id {
	font: 500 11px/1 var(--kf-f-mono);
	color: var(--kf-gold);
	letter-spacing: 0.1em;
}
.kf-ro-st {
	font: 500 10px/1 var(--kf-f-mono);
	letter-spacing: 0.14em;
	color: var(--kf-text-3);
}
.kf-ro-st::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 6px;
	border-radius: 50%;
	background: var(--kf-cyan);
	box-shadow: 0 0 6px var(--kf-cyan);
}
.kf-hero-emblem {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	max-width: 320px;
	width: 100%;
	margin-left: auto;
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(62, 227, 242, 0.16), transparent 62%),
		repeating-radial-gradient(circle, transparent 0 34px, rgba(130, 170, 255, 0.10) 34px 35px);
	border: 1px solid rgba(130, 170, 255, 0.16);
}
.kf-hero-emblem .kf-icon {
	width: 44%;
	height: 44%;
	stroke-width: 1.1;
	filter: drop-shadow(0 0 12px rgba(62, 227, 242, 0.5));
}
.kf-hero-media {
	margin: 0;
	overflow: hidden;
	padding: 10px;
}
.kf-hero-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}
@media (max-width: 900px) {
	.kf-hero-emblem { max-width: 200px; margin: 0 auto; }
	.kf-hero-panel { display: none; }
}
/* AI LAB のニューラルネットワーク */
.kf-lab-visual {
	max-width: 400px;
	width: 100%;
	margin-left: auto;
}
.kf-lab-net { width: 100%; height: auto; overflow: visible; }
.kf-lab-lines path { fill: none; stroke: rgba(140, 107, 255, 0.4); stroke-width: 1; }
.kf-lab-nodes circle { fill: #0B1020; stroke: rgba(62, 227, 242, 0.8); stroke-width: 1.4; }
.kf-lab-core-ring { fill: none; stroke: rgba(140, 107, 255, 0.45); stroke-width: 1; stroke-dasharray: 3 6; }
.kf-lab-core { fill: rgba(140, 107, 255, 0.22); stroke: var(--kf-violet); stroke-width: 1.5; filter: drop-shadow(0 0 14px rgba(140, 107, 255, 0.7)); }
.kf-lab-core-text { font: 700 20px var(--kf-f-label); fill: #E9EEF9; letter-spacing: 0.08em; }
@media (max-width: 900px) {
	.kf-lab-visual { max-width: 240px; margin: 0 auto; }
}
.kf-hero--compact .kf-hero-text {
	max-width: 760px;
}
/* パンくず */
.kf-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	font: 500 11px/1.6 var(--kf-f-mono);
	letter-spacing: 0.12em;
	color: var(--kf-text-3);
}
.kf-crumb a:hover { color: var(--kf-cyan); }
.kf-crumb [aria-current] { color: var(--kf-text-2); }
/* タグ */
.kf-tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0 !important;
	padding: 0;
}
.kf-tags li {
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.85rem;
	color: #CFD8EC;
	border: 1px solid rgba(62, 227, 242, 0.3);
	background: rgba(62, 227, 242, 0.06);
}

/* ============================================================================
 * 8. SERVICE 一覧
 * ============================================================================ */
.kf-guide {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-top: clamp(22px, 3vw, 34px);
}
@media (max-width: 900px) {
	.kf-guide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.kf-guide { grid-template-columns: 1fr; }
}
.kf-guide-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 22px;
	border-radius: 14px;
	transition: border-color 0.3s ease, translate 0.3s ease;
}
.kf-guide-q {
	font: 700 1rem/1.55 var(--kf-f-head);
	color: var(--kf-text);
}
.kf-guide-a {
	font-size: 0.88rem;
	color: #8FB0FF;
}
@media (hover: hover) and (pointer: fine) {
	.kf-guide-item:hover { border-color: rgba(62, 227, 242, 0.5); translate: 0 -2px; }
}
.kf-svc-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	margin-top: clamp(24px, 3.5vw, 40px);
	scroll-margin-top: 90px;
}
.kf-svc {
	padding: clamp(24px, 3vw, 34px);
	scroll-margin-top: 90px;
}
.kf-svc-head {
	display: flex;
	align-items: center;
	gap: 14px;
}
.kf-svc-title {
	margin-top: 6px !important;
	font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
	line-height: 1.45;
}
.kf-svc-title a:hover { color: var(--kf-cyan); }
.kf-svc-catch {
	font: 700 1rem/1.6 var(--kf-f-head);
	color: var(--kf-cyan);
}
.kf-svc-summary {
	color: #CFD8EC;
}
.kf-svc .kf-label {
	margin-top: 8px !important;
}
@media (max-width: 767px) {
	.kf-svc-list { grid-template-columns: 1fr; gap: 14px; }
}
/* 帯（EC・SNS業務代行・考え方） */
.kf-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	padding: clamp(24px, 4vw, 44px);
}
.kf-band-text {
	max-width: 720px;
	display: grid;
	gap: 10px;
}
.kf-band-text p:not(.kf-label) {
	color: #CFD8EC;
}
.kf-band-meter {
	display: grid;
	gap: 14px;
	min-width: 220px;
	font: 500 11px/1 var(--kf-f-mono);
	letter-spacing: 0.14em;
	color: var(--kf-text-3);
}
.kf-band-meter span {
	display: grid;
	gap: 8px;
}
.kf-band-meter i {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--kf-cyan) var(--w), rgba(62, 227, 242, 0.12) var(--w));
}
.kf-band-meter span:last-child i {
	background: linear-gradient(90deg, var(--kf-gold) var(--w), rgba(216, 193, 137, 0.12) var(--w));
}
@media (max-width: 767px) {
	.kf-band { flex-direction: column; align-items: stretch; }
}
/* ページ送り */
body.kf-site .kf-page .navigation.pagination {
	margin-top: 32px;
}
body.kf-site .kf-page .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
body.kf-site .kf-page .page-numbers {
	min-width: 42px;
	height: 42px;
	display: inline-grid;
	place-items: center;
	padding: 0 12px;
	border-radius: 999px;
	font: 500 13px/1 var(--kf-f-mono);
	color: var(--kf-text-2);
	border: 1px solid var(--kf-line);
}
body.kf-site .kf-page .page-numbers.current {
	color: #041018;
	background: linear-gradient(90deg, var(--kf-cyan), var(--kf-blue));
	border-color: transparent;
}

/* ============================================================================
 * 9. ステップ（ご依頼の流れ・進め方：パイプライン表示）
 * ============================================================================ */
.kf-steps {
	--kf-cols: 4;
	position: relative;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(var(--kf-cols), 1fr);
	gap: 18px;
	margin: clamp(34px, 4.5vw, 56px) 0 0;
	padding: 0;
}
.kf-steps--3 { --kf-cols: 3; }
.kf-steps::before {
	content: "";
	position: absolute;
	left: calc(50% / var(--kf-cols));
	right: calc(50% / var(--kf-cols));
	top: 21px;
	height: 2px;
	background: linear-gradient(90deg, var(--kf-cyan), var(--kf-blue) 60%, rgba(79, 123, 255, 0.4));
	box-shadow: 0 0 10px rgba(62, 227, 242, 0.4);
	transform-origin: left;
}
.kf-step {
	margin: 62px 0 0;
	padding: 20px 18px;
	text-align: center;
	overflow: visible;
}
.kf-step-node {
	position: absolute;
	left: 50%;
	top: -62px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	translate: -50% 0;
	border-radius: 50%;
	font: 500 13px/1 var(--kf-f-mono);
	color: var(--kf-text);
	background: var(--kf-void);
	border: 1.5px solid var(--kf-cyan);
	box-shadow: 0 0 0 6px rgba(62, 227, 242, 0.06), 0 0 18px rgba(62, 227, 242, 0.45);
}
.kf-step-title {
	font-size: 1rem;
	line-height: 1.55;
}
.kf-step-text {
	margin-top: 8px !important;
	font-size: 0.88rem;
	line-height: 1.8;
}
@media (max-width: 767px) {
	.kf-steps { grid-template-columns: 1fr; gap: 14px; padding-left: 22px; }
	.kf-steps::before {
		left: 43px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto;
		background: linear-gradient(180deg, var(--kf-cyan), var(--kf-blue) 60%, rgba(79, 123, 255, 0.4));
		transform-origin: top;
	}
	.kf-step { margin: 0 0 0 58px; padding: 16px; text-align: left; }
	.kf-step-node { left: -58px; top: 0; translate: 0 0; }
}

/* ============================================================================
 * 10. よくあるご質問（開閉式）
 * ============================================================================ */
.kf-faq {
	display: grid;
	gap: 12px;
	max-width: 860px;
	margin-top: clamp(22px, 3vw, 34px);
}
.kf-faq-item {
	padding: 0;
	border-radius: 14px;
}
.kf-faq-item summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 18px 56px 18px 22px;
	font: 700 1rem/1.6 var(--kf-f-head);
	color: var(--kf-text);
}
.kf-faq-item summary::-webkit-details-marker { display: none; }
.kf-faq-item summary::before {
	content: "Q";
	margin-right: 12px;
	font: 500 13px/1 var(--kf-f-mono);
	color: var(--kf-cyan);
}
.kf-faq-item summary::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border-right: 1.5px solid var(--kf-cyan);
	border-bottom: 1.5px solid var(--kf-cyan);
	transform: rotate(45deg);
	transition: transform 0.3s ease;
}
.kf-faq-item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.kf-faq-item p {
	padding: 0 22px 20px 47px;
	color: #CFD8EC;
}

/* ============================================================================
 * 11. AI LAB：体験デモ
 * ============================================================================ */
.kf-demo {
	margin-top: clamp(24px, 3.5vw, 40px);
	padding: clamp(20px, 3vw, 32px);
}
.kf-demo-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.kf-demo-tab {
	padding: 10px 18px;
	border-radius: 999px;
	font: 700 0.9rem/1.3 var(--kf-f-head);
	color: var(--kf-text-2);
	background: rgba(17, 26, 48, 0.5);
	border: 1px solid rgba(130, 170, 255, 0.25);
	cursor: pointer;
	transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.kf-demo-tab[aria-selected="true"] {
	color: #041018;
	background: linear-gradient(90deg, var(--kf-cyan), var(--kf-blue));
	border-color: transparent;
}
.kf-demo-panel {
	margin-top: 24px;
}
.kf-demo-panel + .kf-demo-panel {
	padding-top: 24px;
	border-top: 1px dashed rgba(130, 170, 255, 0.16);
}
/* JSが動く場合は、選んだ例だけを表示する */
.kf-js .kf-demo-panel { display: none; }
.kf-js .kf-demo-panel.is-active { display: block; }
.kf-js .kf-demo-panel + .kf-demo-panel { padding-top: 0; border-top: 0; }
.kf-demo-caption {
	font: 500 11px/1 var(--kf-f-mono);
	letter-spacing: 0.16em;
	color: var(--kf-text-3);
}
.kf-demo-flow {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.kf-demo-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	border-radius: 12px;
	border: 1px solid rgba(130, 170, 255, 0.16);
	background: rgba(9, 14, 28, 0.6);
	transition: border-color 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
}
.kf-demo-step:not(:last-child)::after {   /* ステップ間の矢印 */
	content: "";
	position: absolute;
	right: -12px;
	top: 32px;
	width: 10px;
	height: 10px;
	border-right: 1.5px solid rgba(62, 227, 242, 0.6);
	border-top: 1.5px solid rgba(62, 227, 242, 0.6);
	transform: rotate(45deg);
}
.kf-demo-node {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font: 500 12px/1 var(--kf-f-mono);
	color: var(--kf-text);
	border: 1.5px solid var(--kf-cyan);
	box-shadow: 0 0 12px rgba(62, 227, 242, 0.35);
}
.kf-demo-step--1 .kf-demo-node { border-color: var(--kf-violet); box-shadow: 0 0 12px rgba(140, 107, 255, 0.5); }
.kf-demo-step--2 .kf-demo-node { border-color: var(--kf-gold); box-shadow: 0 0 12px rgba(216, 193, 137, 0.45); }
.kf-demo-label {
	font: 700 0.98rem/1.4 var(--kf-f-head);
	color: var(--kf-text);
}
.kf-demo-text {
	font-size: 0.88rem;
	line-height: 1.8;
	color: #CFD8EC;
}
/* 再生中：まだ届いていないステップは暗く、届いたステップが光る */
.kf-demo-panel.is-playing .kf-demo-step { opacity: 0.28; }
.kf-demo-panel.is-playing .kf-demo-step.is-lit {
	opacity: 1;
	border-color: rgba(62, 227, 242, 0.55);
	box-shadow: 0 0 24px rgba(62, 227, 242, 0.14);
}
@media (max-width: 900px) {
	.kf-demo-flow { grid-template-columns: repeat(2, 1fr); }
	.kf-demo-step:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
	.kf-demo-flow { grid-template-columns: 1fr; }
	.kf-demo-step:not(:last-child)::after { right: auto; left: 32px; top: auto; bottom: -12px; transform: rotate(135deg); }
	.kf-demo-step:nth-child(2)::after { display: block; }
}

/* ============================================================================
 * 12. CONTACT
 * ============================================================================ */
.kf-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 22px;
	margin-top: 4px;
	align-items: start;
}
.kf-contact-side {
	display: grid;
	gap: 18px;
}
.kf-contact-box {
	padding: 24px;
}
.kf-quote-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.kf-quote-list li {
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 0.92rem;
	color: #CFD8EC;
	background: rgba(140, 107, 255, 0.07);
	border: 1px solid rgba(140, 107, 255, 0.2);
}
.kf-mini-steps {
	list-style: none;
	counter-reset: kf-ms;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 14px;
}
.kf-mini-steps li {
	counter-increment: kf-ms;
	position: relative;
	padding-left: 44px;
	font-size: 0.88rem;
	line-height: 1.75;
}
.kf-mini-steps li::before {
	content: counter(kf-ms, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font: 500 11px/1 var(--kf-f-mono);
	color: var(--kf-text);
	border: 1.5px solid var(--kf-cyan);
}
.kf-mini-steps b {
	display: block;
	font-family: var(--kf-f-head);
	color: var(--kf-text);
}
.kf-contact-main {
	padding: clamp(22px, 3.5vw, 40px);
	scroll-margin-top: 90px;
}
.kf-form {
	display: grid;
	gap: 18px;
}
.kf-field {
	display: grid;
	gap: 8px;
}
.kf-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.kf-field label {
	font: 700 0.92rem/1.4 var(--kf-f-head);
	color: var(--kf-text);
}
.kf-req {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font: 500 10px/1.4 var(--kf-f-mono);
	letter-spacing: 0.08em;
	color: #041018;
	background: var(--kf-cyan);
	vertical-align: 1px;
}
.kf-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	width: 100%;
	padding: 13px 16px;
	border-radius: 10px;
	border: 1px solid rgba(130, 170, 255, 0.25);
	background: rgba(5, 9, 20, 0.7);
	color: var(--kf-text);
	font: 400 1rem/1.6 var(--kf-f-body);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
}
.kf-form select {
	background-image: linear-gradient(45deg, transparent 50%, var(--kf-cyan) 50%), linear-gradient(135deg, var(--kf-cyan) 50%, transparent 50%);
	background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 44px;
}
.kf-form select option { background: #0A1020; color: var(--kf-text); }
.kf-form textarea { resize: vertical; min-height: 170px; }
.kf-form :is(input, select, textarea)::placeholder { color: #5E6B86; }
.kf-form :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--kf-cyan);
	box-shadow: 0 0 0 3px rgba(62, 227, 242, 0.18);
}
.kf-form .is-invalid {
	border-color: #FF8A8A !important;
	box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.15) !important;
}
.kf-hint {
	font-size: 0.8rem;
	color: var(--kf-text-3);
}
.kf-field--check label {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 10px;
	font: 400 0.9rem/1.6 var(--kf-f-body);
	color: #CFD8EC;
	cursor: pointer;
}
.kf-field--check input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--kf-cyan);
}
.kf-field--check a { color: #8FB0FF !important; text-decoration: underline !important; }
.kf-form-submit { width: 100%; }
.kf-form-error {
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid rgba(255, 138, 138, 0.5);
	background: rgba(255, 120, 120, 0.08);
	color: #FFC9C9;
	font-size: 0.92rem;
}
.kf-trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.kf-form-done {
	display: grid;
	gap: 14px;
	justify-items: start;
}
.kf-form-done p:not(.kf-label) { color: #CFD8EC; }
@media (max-width: 900px) {
	.kf-contact-grid { grid-template-columns: 1fr; }
	.kf-contact-main { order: -1; }
}
@media (max-width: 600px) {
	.kf-field-row { grid-template-columns: 1fr; }
}

/* ============================================================================
 * 13. CTA（CONNECT）
 * ============================================================================ */
.kf-cta-panel {
	padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 80px);
	text-align: center;
	background:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400' preserveAspectRatio='none'><g fill='none' stroke-width='1'><path d='M0 60 C 300 60, 380 300, 500 330' stroke='rgba(62,227,242,.22)'/><path d='M0 200 C 280 200, 400 320, 500 330' stroke='rgba(79,123,255,.2)'/><path d='M1000 90 C 700 90, 620 300, 500 330' stroke='rgba(62,227,242,.22)'/><path d='M1000 250 C 720 250, 600 320, 500 330' stroke='rgba(140,107,255,.2)'/></g></svg>") center / 100% 100% no-repeat,
		radial-gradient(ellipse 60% 80% at 50% 120%, rgba(62, 227, 242, 0.20), transparent 70%),
		radial-gradient(ellipse 50% 60% at 50% -20%, rgba(79, 123, 255, 0.18), transparent 70%),
		var(--kf-panel);
}
.kf-cta-title {
	font-size: clamp(1.35rem, 1rem + 1.5vw, 2.2rem);
	line-height: 1.5;
	text-wrap: balance;
}
.kf-cta-text {
	max-width: 40em;
	margin: 16px auto 0 !important;
	color: var(--kf-text-2);
	text-wrap: pretty;
}
.kf-cta-panel .kf-btn--pri {
	box-shadow: 0 10px 40px rgba(62, 227, 242, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 0 0 8px rgba(62, 227, 242, 0.06);
}
@media (max-width: 600px) {
	.kf-cta-panel { text-align: left; }
	.kf-cta-text { margin-left: 0 !important; }
}

/* ============================================================================
 * 14. ABOUT（管理画面の本文をモジュールとして見せる。本文の内容は変更しない）
 * ============================================================================ */
.kf-about-content { padding: 0 !important; }
.kf-about-content .ki-about {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}
.kf-about-content .ki-about > *,
.kf-about-content .ki-about > * > * {
	max-width: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
/* ヒーロー */
.kf-about-content .ki-about-hero {
	position: relative;
	padding: var(--kf-hud-space) 0 0 !important;
	background: none !important;
	text-align: left;
}
.kf-about-content .ki-about-hero .ki-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font: 500 12px/1 var(--kf-f-mono) !important;
	letter-spacing: 0.24em;
	color: var(--kf-cyan) !important;
	text-align: left !important;
}
.kf-about-content .ki-about-hero .ki-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: linear-gradient(90deg, var(--kf-cyan), transparent);
}
.kf-about-content .ki-about-hero h1 {
	margin-top: 18px !important;
	font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem) !important;
	line-height: 1.32;
	text-align: left !important;
	text-wrap: balance;
	background: linear-gradient(100deg, #FFFFFF 0%, #DDF9FF 45%, #7FEAF5 75%, #7FA2FF 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
}
.kf-about-content .ki-about-hero p:not(.ki-eyebrow) {
	max-width: 40em;
	margin-top: clamp(16px, 2vw, 24px) !important;
	font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
	line-height: 1.95;
	color: #D5DDEE !important;
	text-align: left !important;
}
/* セクション */
.kf-about-content .ki-about > .ki-section {
	position: relative;
	margin-top: var(--kf-gap) !important;
	padding: var(--kf-hud-space) 0 0 !important;
	background: none !important;
}
.kf-about-content .ki-about > .ki-section > h2 {
	font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem);
	line-height: 1.45;
	text-align: left !important;
	text-wrap: balance;
	margin: 0 !important;
}
.kf-about-content .ki-about > .ki-section > p {
	max-width: 44em;
	margin-top: 14px !important;
	text-align: left !important;
	color: var(--kf-text-2);
}
/* 対応業務：チップの一覧 */
.kf-about-content .ki-service-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 12px;
	margin-top: clamp(22px, 3vw, 34px) !important;
}
.kf-about-content .ki-service-card {
	margin: 0 !important;
	padding: 16px 18px 16px 44px !important;
	border-radius: 12px !important;
	border: 1px solid var(--kf-panel-edge) !important;
	background: rgba(14, 22, 42, 0.62) !important;
	box-shadow: none !important;
	transform: none;
}
.kf-about-content .ki-service-card::before {
	content: "" !important;
	display: block !important;
	position: absolute;
	left: 18px;
	top: 50%;
	right: auto;
	width: 12px !important;
	height: 12px !important;
	margin-top: -6px;
	border-radius: 3px;
	border: 1px solid rgba(62, 227, 242, 0.7);
	background: rgba(62, 227, 242, 0.15) !important;
	box-shadow: 0 0 8px rgba(62, 227, 242, 0.35);
	transform: none !important;
}
.kf-about-content .ki-service-card h3 {
	margin: 0 !important;
	font-size: 0.98rem !important;
	line-height: 1.5;
	color: var(--kf-text) !important;
}
/* 特徴：カード */
.kf-about-content .ki-about-features {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
	margin-top: clamp(22px, 3vw, 34px) !important;
}
.kf-about-content .ki-about-features .ki-card {
	position: relative;
	margin: 0 !important;
	padding: 22px 20px 20px !important;
	border-radius: 14px !important;
	border: 1px solid var(--kf-panel-edge) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 40%), var(--kf-panel) !important;
	box-shadow: none !important;
}
.kf-about-content .ki-about-features .ki-card::before {
	content: "";
	display: block;
	width: 22px;
	height: 22px;
	margin-bottom: 12px;
	border-radius: 50%;
	border: 1px solid rgba(62, 227, 242, 0.6);
	background: radial-gradient(circle, var(--kf-cyan) 0 4px, transparent 4.5px);
	box-shadow: 0 0 10px rgba(62, 227, 242, 0.35);
}
.kf-about-content .ki-about-features .ki-card:last-child {
	border-color: rgba(216, 193, 137, 0.4) !important;
}
.kf-about-content .ki-about-features .ki-card:last-child::before {
	border-color: rgba(216, 193, 137, 0.7);
	background: radial-gradient(circle, var(--kf-gold) 0 4px, transparent 4.5px);
	box-shadow: 0 0 10px rgba(216, 193, 137, 0.4);
}
.kf-about-content .ki-about-features .ki-card p {
	margin: 0 !important;
	font: 700 1rem/1.65 var(--kf-f-head);
	color: var(--kf-text) !important;
}
/* AI・ITの活用：チェックリストのパネル */
.kf-about-content .ki-section > ul.wp-block-list {
	list-style: none;
	max-width: 760px;
	margin: clamp(22px, 3vw, 34px) 0 0 !important;
	padding: clamp(20px, 3vw, 32px) !important;
	display: grid;
	gap: 12px;
	border-radius: 16px;
	border: 1px solid var(--kf-panel-edge);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 40%), var(--kf-panel);
}
.kf-about-content .ki-section > ul.wp-block-list li {
	position: relative;
	margin: 0;
	padding: 0 0 0 28px !important;
	border: 0 !important;
	color: #CFD8EC !important;
	line-height: 1.75;
}
.kf-about-content .ki-section > ul.wp-block-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.5em;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(62, 227, 242, 0.6);
	background: radial-gradient(circle, var(--kf-cyan) 0 3px, transparent 3.5px) !important;
	box-shadow: 0 0 8px rgba(62, 227, 242, 0.35);
}
/* 業務の進め方：パイプライン */
.kf-about-content .ki-about-steps {
	position: relative;
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: clamp(34px, 4.5vw, 56px) !important;
}
.kf-about-content .ki-about-steps::before {
	content: "";
	position: absolute;
	left: 12.5%;
	right: 12.5%;
	top: 21px;
	height: 2px;
	background: linear-gradient(90deg, var(--kf-cyan), var(--kf-blue) 60%, rgba(79, 123, 255, 0.4));
	box-shadow: 0 0 10px rgba(62, 227, 242, 0.4);
	transform-origin: left;
}
.kf-about-content .ki-about-step {
	position: relative;
	margin: 62px 0 0 !important;
	padding: 20px 18px !important;
	text-align: center;
	border-radius: 14px !important;
	border: 1px solid var(--kf-panel-edge) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 40%), var(--kf-panel) !important;
	box-shadow: none !important;
	overflow: visible;
}
.kf-about-content .ki-about-step .ki-service-number {
	position: absolute;
	left: 50%;
	top: -62px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0 !important;
	translate: -50% 0;
	border-radius: 50%;
	font: 500 13px/1 var(--kf-f-mono) !important;
	color: var(--kf-text) !important;
	background: var(--kf-void) !important;
	-webkit-text-fill-color: currentColor;
	border: 1.5px solid var(--kf-cyan);
	box-shadow: 0 0 0 6px rgba(62, 227, 242, 0.06), 0 0 18px rgba(62, 227, 242, 0.45);
	opacity: 1;
}
.kf-about-content .ki-about-step h3 {
	margin: 0 !important;
	font-size: 1rem !important;
	line-height: 1.55;
	color: var(--kf-text) !important;
}
@media (max-width: 767px) {
	.kf-about-content .ki-about-steps { grid-template-columns: 1fr; gap: 14px; padding-left: 22px; }
	.kf-about-content .ki-about-steps::before {
		left: 43px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto;
		background: linear-gradient(180deg, var(--kf-cyan), var(--kf-blue) 60%, rgba(79, 123, 255, 0.4));
		transform-origin: top;
	}
	.kf-about-content .ki-about-step { margin: 0 0 0 58px !important; padding: 16px !important; text-align: left; }
	.kf-about-content .ki-about-step .ki-service-number { left: -58px; top: 0; translate: 0 0; }
}
/* 会社概要：情報パネル */
.kf-about-content .ki-about > .ki-section:last-child > p,
.kf-about-content .ki-about > .ki-section:last-child > .wp-block-group,
.kf-about-content .ki-about > .ki-section:last-child > table {
	max-width: 760px;
	margin-top: clamp(22px, 3vw, 34px) !important;
	padding: clamp(20px, 3vw, 28px);
	border-radius: 16px;
	border: 1px solid var(--kf-panel-edge);
	background: var(--kf-panel);
	text-align: left !important;
	color: #CFD8EC !important;
}
.kf-about-content .ki-about > .ki-section:last-child strong {
	display: block;
	margin-bottom: 6px;
	font: 500 11px/1.4 var(--kf-f-mono);
	letter-spacing: 0.16em;
	color: var(--kf-cyan);
}

/* ============================================================================
 * 15. モーション（html.kf-motion のときだけ有効）
 * ============================================================================ */
@keyframes kf-boot {
	from { opacity: 0; translate: 0 14px; filter: blur(6px); }
	to { opacity: 1; translate: 0 0; filter: blur(0); }
}
@keyframes kf-scan {
	0% { transform: translateY(-100%); opacity: 0; }
	12% { opacity: 1; }
	80% { opacity: 1; }
	100% { transform: translateY(0); opacity: 0; }
}
@keyframes kf-hud-line {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}
/* 出現する要素：テンプレートの .kf-r と、ABOUT本文の各パーツ */
html.kf-motion body.kf-site :is(
	.kf-r, .kf-hud,
	.kf-about-content .ki-about-hero > *, .kf-about-content .ki-about > .ki-section > h2, .kf-about-content .ki-about > .ki-section > p,
	.kf-about-content .ki-service-card, .kf-about-content .ki-about-features .ki-card, .kf-about-content .ki-section > ul.wp-block-list,
	.kf-about-content .ki-about-step
):not(.kf-in) {
	opacity: 0;
	animation: none !important;
}
html.kf-motion body.kf-site :is(
	.kf-r, .kf-hud,
	.kf-about-content .ki-about-hero > *, .kf-about-content .ki-about > .ki-section > h2, .kf-about-content .ki-about > .ki-section > p,
	.kf-about-content .ki-service-card, .kf-about-content .ki-about-features .ki-card, .kf-about-content .ki-section > ul.wp-block-list,
	.kf-about-content .ki-about-step
).kf-in {
	opacity: 1;
	animation: kf-boot 0.9s var(--kf-ease) var(--kf-d, 0s) backwards !important;
}
html.kf-motion body.kf-site .kf-hud.kf-in::after {
	animation: kf-hud-line 1s var(--kf-ease) calc(var(--kf-d, 0s) + 0.2s) backwards;
}
/* カード：出現後にスキャン光が1回通過 */
html.kf-motion body.kf-site .kf-card.kf-in::before {
	animation: kf-scan 1.2s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--kf-d, 0s) + 0.55s) both;
}
@media (hover: hover) and (pointer: fine) {
	html.kf-motion body.kf-site .kf-card.kf-in:hover::before {
		animation: kf-scan-hover 1.1s cubic-bezier(0.4, 0, 0.2, 1) both;
	}
}
@keyframes kf-scan-hover {
	0% { transform: translateY(-100%); opacity: 0; }
	12% { opacity: 1; }
	80% { opacity: 1; }
	100% { transform: translateY(0); opacity: 0; }
}
/* パイプライン：セクションが起動したら線が伸びる */
html.kf-motion body.kf-site :is(.kf-steps, .kf-about-content .ki-about-steps)::before {
	transition: transform 1.6s cubic-bezier(0.45, 0.05, 0.3, 1) 0.3s;
}
html.kf-motion body.kf-site :is(.kf-steps, .kf-about-content .ki-about-steps):not(.kf-on)::before {
	transform: scaleX(0);
}
@media (max-width: 767px) {
	html.kf-motion body.kf-site :is(.kf-steps, .kf-about-content .ki-about-steps):not(.kf-on)::before {
		transform: scaleY(0);
	}
}
/* 体験デモ：ステップが順に点灯するときの動き */
html.kf-motion .kf-demo-panel.is-playing .kf-demo-step.is-lit .kf-demo-node {
	animation: kf-node-pop 0.6s ease;
}
@keyframes kf-node-pop {
	0% { transform: scale(0.7); }
	60% { transform: scale(1.15); }
	100% { transform: scale(1); }
}
/* AI LAB のネットワーク：ゆっくり回るリング */
html.kf-motion .kf-lab-core-ring {
	transform-origin: 160px 160px;
	animation: kf-spin 40s linear infinite;
}
@keyframes kf-spin {
	to { transform: rotate(360deg); }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
	.kf-bg-base { transition: none; }
	.kf-ripple { display: none; }
	.kf-lab-core-ring { animation: none !important; }
	.kf-demo-step { transition: none; }
}
/* === site-future.css ここまで === */
