:root {
	--bg: #0f172a;
	--ink: #0b1220;
	--text: #223;
	--muted: #5c6275;
	--brand: #1f6feb;
	--brand-2: #7c9cff;
	--paper: #ffffff;
	--soft: #f7f9fc;
	--ring: rgba(31, 111, 235, .25);
	--radius: 16px;
	--shadow: 0 10px 25px rgba(2, 6, 23, .08), 0 4px 8px rgba(2, 6, 23, .06);
}

* {
	box-sizing: border-box
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
	color: var(--ink);
	background: #f5f7fb;
	scroll-behavior: smooth
}

a {
	color: var(--brand);
	text-decoration: none
}

img {
	max-width: 100%;
	display: block
}

.flow_img {
	margin-top: 20px;
	margin-bottom: 20px;
}

.container {
	width: min(1100px, 92vw);
	margin-inline: auto
}

/* 既存: .nav, .logo, .nav ul などはそのまま */

.nav {
	position: relative;
}

/* ==============================
   ヘッダー・ナビゲーション
============================== */
header.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .8);
	border-bottom: 1px solid #e8edf5;
	backdrop-filter: blur(10px);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	letter-spacing: .5px;
}

.logo .mark {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	box-shadow: var(--shadow);
	color: #fff;
	font-weight: bold;
	display: flex;
	justify-content: center;
	/* 水平中央 */
	align-items: center;
	/* 垂直中央 */
}

.nav a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

/* PC用: ulをflex */
.nav ul {
	display: flex;
	gap: 18px;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* ==============================
   ハンバーガーメニュー
============================== */
.nav-toggle {
	display: none;
	/* PCでは非表示 */
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: #fff;
	box-shadow: var(--shadow);
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.nav-toggle .bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #0b1220;
	margin: 4px auto;
	transition: transform .25s ease, opacity .2s ease;
}

/* --- モバイルレイアウト --- */
@media (max-width: 920px) {

	.nav ul {
		/* モバイルでは一旦消す */
		display: none;
		position: absolute;
		top: 64px;
		right: 0;
		width: min(88vw, 320px);
		background: #fff;
		border: 1px solid #e8edf5;
		border-radius: 16px;
		box-shadow: var(--shadow);
		padding: 12px;
		flex-direction: column;
		gap: 6px;
	}

	.nav ul.show {
		display: flex;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.nav-links {
		position: absolute;
		top: 64px;
		right: 0;
		width: min(88vw, 320px);
		background: #fff;
		border: 1px solid #e8edf5;
		border-radius: 16px;
		box-shadow: var(--shadow);
		padding: 12px;
		margin: 0;
		display: none;
		flex-direction: column;
		gap: 6px;
	}

	.nav-links.show {
		display: flex;
	}

	.nav-links a {
		display: block;
		padding: 12px 10px;
		border-radius: 10px;
	}

	.nav-links a:hover {
		background: #f6f9ff;
	}

	/* トグルボタンの「×」アニメーション */
	.nav-toggle.active .bar:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.nav-toggle.active .bar:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle.active .bar:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--brand);
	color: white;
	padding: 12px 16px;
	border-radius: 12px;
	font-weight: 700;
	box-shadow: var(--shadow);
	border: 1px solid transparent
}

.btn.secondary {
	background: #fff;
	color: var(--brand);
	border-color: #dce6ff
}

.btn:hover {
	filter: brightness(.98)
}

.btn:active {
	transform: translateY(1px)
}

.hero {
	position: relative;
	padding: 72px 0 56px;
	background: linear-gradient(180deg, #eef3ff, #fff)
}

.hero .grid {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 32px;
	align-items: center
}

.hero h1 {
	font-size: clamp(26px, 3.6vw, 48px);
	line-height: 1.1;
	margin: 0 0 14px;
	color: #0a1020
}

.hero p.lead {
	font-size: clamp(14px, 1.7vw, 18px);
	color: #415;
	margin: 0 0 20px
}

.hero .card {
	background: white;
	border-radius: var(--radius);
	padding: 14px;
	box-shadow: var(--shadow);
	border: 1px solid #e8edf5
}

.kpis {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 18px
}

.kpis .k {
	background: white;
	border-radius: 14px;
	padding: 14px;
	text-align: center;
	border: 1px solid #e8edf5
}

.k .n {
	font-size: 26px;
	font-weight: 800
}

.k .t {
	font-size: 12px;
	color: var(--muted)
}

.section {
	padding: 68px 0
}

.section h2 {
	font-size: 28px;
	margin: 0 0 8px
}

.section p.sub {
	color: var(--muted);
	margin: 0 0 24px
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px
}

.card {
	background: white;
	border-radius: var(--radius);
	padding: 18px;
	border: 1px solid #e8edf5;
	box-shadow: var(--shadow)
}

.card h3 {
	margin: 6px 0 8px
}

.badge {
	font-size: 12px;
	padding: 4px 8px;
	background: #eef4ff;
	color: #395;
	border-radius: 999px
}

.pricing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px
}

.plan {
	background: white;
	border-radius: 18px;
	border: 1px solid #e8edf5;
	overflow: hidden;
	box-shadow: var(--shadow)
}

.plan .hd {
	padding: 18px;
	background: linear-gradient(180deg, #f6f9ff, #fff);
	border-bottom: 1px solid #e8edf5
}

.plan .bd {
	padding: 18px
}

.price {
	font-weight: 800;
	font-size: 28px
}

ul.clean {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px
}

ul.clean li {
	display: flex;
	gap: 10px;
	align-items: flex-start
}

ul.clean li:before {
	content: "✓";
	color: #2a7;
	font-weight: 900;
	margin-top: 1px
}

.flow {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px
}

.step {
	background: white;
	border: 1px solid #e8edf5;
	border-radius: 16px;
	padding: 12px;
	text-align: center;
	box-shadow: var(--shadow)
}

.step .idx {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	background: var(--brand);
	color: white;
	border-radius: 999px;
	font-weight: 800
}

.step_title {
	font-weight: bold;
	font-size: 15px;
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px
}

.faq details {
	background: white;
	border: 1px solid #e8edf5;
	border-radius: 12px;
	padding: 14px 16px
}

.faq summary {
	cursor: pointer;
	font-weight: 700
}

.faq details+details {
	margin-top: 12px
}

.company table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px
}

.company th {
	width: 160px;
	text-align: left;
	color: var(--muted);
	font-weight: 600
}

.company td {
	font-weight: 700
}

.form {
	background: white;
	padding: 18px;
	border-radius: 16px;
	border: 1px solid #e8edf5;
	box-shadow: var(--shadow)
}

.form .row {
	display: grid;
	grid-template-columns: .4fr .6fr;
	gap: 10px;
	margin: 10px 0
}

.form input,
.form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #dfe7f3;
	outline: none
}

.form input:focus,
.form textarea:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 4px var(--ring)
}

.form textarea {
	min-height: 120px;
	resize: vertical
}

.embed {
	border: 1px solid #e8edf5;
	border-radius: 16px;
	overflow: hidden;
	background: white;
	box-shadow: var(--shadow)
}

.embed object {
	width: 100%;
	height: 66vh;
	border: 0;
	display: block
}

footer {
	padding: 36px 0;
	background: #0b1220;
	color: #c9d3ea;
	margin-top: 48px
}

footer .grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 18px
}

footer a {
	color: #d6e1ff
}

small,
.note {
	color: #748199
}

@media (max-width: 920px) {
	.hero .grid {
		grid-template-columns: 1fr
	}

	.kpis {
		grid-template-columns: repeat(2, 1fr)
	}

	.cards {
		grid-template-columns: 1fr
	}

	.pricing {
		grid-template-columns: 1fr
	}

	.flow {
		grid-template-columns: 1fr 1fr
	}

	.split {
		grid-template-columns: 1fr
	}

	footer .grid {
		grid-template-columns: 1fr
	}

	.form .row {
		grid-template-columns: 1fr
	}
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: all .6s ease
}

.reveal.show {
	opacity: 1;
	transform: none
}