/*
 * Blanky — 紹介ページ（/themes/blanky）
 *
 * 旧 blanky.369theme.com の LP を、369theme.com の中に置くために書き直したもの。
 * 旧 LP は Tailwind の CDN で組まれていたので、使っていたクラスを同じ値の普通の CSS にした。
 * クラス名は lp- に揃えた。
 *
 * - クラスはすべて lp- で始め、.lp の中だけに効かせる
 * - ヘッダー・フッター・スキップリンクはサイトのものを使うので持たない
 * - 書体は Web フォント（Inter）を読み込まず、システムの書体にした
 * - 色:
 *   - 黒（旧 gray-900）と、本文の灰色（旧 gray-500・600）は 369theme.com と同じ #1C1917・#57534E にした
 *   - 旧 LP の薄紫（#A5B4FC）は、文字に使うと白地で 1.99:1 と足りなかった。
 *     文字に使うときだけ濃い紫（#4F46E5、白地で 6.29:1）にし、飾りの線・アイコンは元の薄紫のまま
 *   - 「買い切り」の灰色（旧 gray-400、2.54:1）も本文の灰色にした
 *
 * public/ に置いて直接読み込むので、npm run build は要らない。
 */

/* --- tokens ------------------------------------------------------------- */

.lp {
	--bg: #fcfcfc;
	--surface: #fff;
	--band: #f9fafb;
	--line: #f3f4f6;
	--line-2: #e5e7eb;
	--line-3: #d1d5db;
	--ink: #1c1917;
	--text: #44403c;
	--muted: #57534e;
	--accent: #a5b4fc;
	--accent-text: #4f46e5;
	--link-accent: #eac950;

	--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;

	--wrap: 80rem;
	--section: 10rem;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	/* サイトのヘッダー（h-16）の高さ。ページ内リンクで見出しが隠れないようにする */
	--site-header-h: 4rem;

	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	line-height: 1.6;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
}

/* --- base --------------------------------------------------------------- */

.lp h1,
.lp h2,
.lp h3,
.lp p,
.lp ul,
.lp ol,
.lp figure {
	margin: 0;
}

.lp ul,
.lp ol {
	padding: 0;
	list-style: none;
}

.lp h1,
.lp h2,
.lp h3 {
	color: var(--ink);
	font-weight: 300;
}

.lp strong {
	font-weight: 600;
}

.lp img {
	display: block;
	max-width: 100%;
	height: auto;
}

.lp a {
	color: inherit;
	text-decoration: none;
}

.lp a:focus-visible,
.lp button:focus-visible,
.lp summary:focus-visible {
	outline: 2px solid var(--accent-text);
	outline-offset: 2px;
}

.lp [id] {
	scroll-margin-top: calc(var(--site-header-h) + 1rem);
}

.lp-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.lp-wrap--narrow {
	max-width: 56rem;
}

.lp-wrap--faq {
	max-width: 48rem;
}

.lp-section {
	padding-block: var(--section);
}

.lp-band {
	border-block: 1px solid var(--line);
	background: var(--band);
}

.lp-center {
	text-align: center;
}

/* 画面には出さず、読み上げだけで伝える文字 */
.lp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lp-icon {
	flex-shrink: 0;
	width: 1em;
	height: 1em;
}

/* --- type --------------------------------------------------------------- */

/* 小さな英字の見出し（旧 text-nordic-accent text-xs uppercase tracking-[0.3em]） */
.lp-label {
	display: block;
	margin-bottom: 2rem;
	color: var(--accent-text);
	font-size: 0.75rem;
	font-weight: 300;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.lp-h2 {
	margin-bottom: 2.5rem;
	font-size: 1.875rem;
	line-height: 1.375;
}

.lp .lp-h3 {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* 灰色の小さな見出し（旧 text-xs uppercase tracking-[0.4em] text-gray-500） */
.lp .lp-eyebrow {
	margin-bottom: 1rem;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 300;
	letter-spacing: 0.4em;
	text-transform: uppercase;
}

.lp-display {
	color: var(--ink);
	font-size: 2.25rem;
	font-weight: 200;
	line-height: 1.25;
}

.lp-head {
	margin-bottom: 6rem;
}

.lp-lead {
	color: var(--muted);
	font-size: 1.125rem;
	font-weight: 300;
	line-height: 1.75;
}

.lp-text {
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.75;
}

/* --- buttons ------------------------------------------------------------ */

.lp .lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2.5rem;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 300;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.lp .lp-btn:hover {
	background: #fff;
	color: var(--ink);
}

.lp .lp-btn--ghost {
	border-color: var(--line-2);
	background: transparent;
	color: var(--muted);
	box-shadow: none;
}

.lp .lp-btn--ghost:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.lp .lp-btn--outline {
	padding: 0.75rem 2rem;
	background: transparent;
	color: var(--ink);
	box-shadow: none;
}

.lp .lp-btn--outline:hover {
	background: var(--ink);
	color: #fff;
}

.lp .lp-btn--soft {
	padding: 0.75rem 2rem;
	border-color: var(--line-3);
	background: transparent;
	color: var(--muted);
	box-shadow: none;
}

.lp .lp-btn--soft:hover {
	border-color: var(--ink);
	background: transparent;
	color: var(--ink);
}

.lp .lp-btn--wide {
	padding: 1.25rem 4rem;
	letter-spacing: 0.3em;
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.lp .lp-btn--block {
	display: flex;
	width: 100%;
	padding: 0.75rem 1.5rem;
}

.lp-btn .lp-icon {
	font-size: 1rem;
}

.lp-icon--heart {
	color: #f472b6;
}

.lp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding-top: 1rem;
}

/* --- hero --------------------------------------------------------------- */

.lp-hero {
	position: relative;
	overflow: hidden;
	padding-block: var(--section);
	background:
		radial-gradient(circle at 0% 30%, rgb(165 180 252 / 0.12), transparent 24rem),
		radial-gradient(circle at 100% 80%, rgb(229 231 235 / 0.35), transparent 20rem);
}

/* 点の地紋（旧 line-art-bg）。飾り */
.lp-hero::before,
.lp-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 2px 2px, var(--line-2) 1px, transparent 0);
	background-size: 40px 40px;
	opacity: 0.6;
	pointer-events: none;
}

.lp-hero__grid {
	position: relative;
	display: grid;
	align-items: center;
	gap: 6rem;
}

.lp-hero__body {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.lp .lp-hero__title {
	font-size: 3.75rem;
	font-weight: 200;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.lp-hero__em {
	color: var(--accent-text);
	font-style: italic;
	font-weight: 300;
}

.lp-hero__lead {
	max-width: 32rem;
	color: var(--muted);
	font-size: 1.125rem;
	font-weight: 300;
	line-height: 1.625;
}

.lp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	padding-top: 1.5rem;
}

.lp-badges li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 300;
}

.lp-badges .lp-icon {
	color: var(--accent);
	font-size: 1rem;
}

.lp-hero__media {
	position: relative;
}

/* 画像の左上にずらした枠と、右下の小さな四角（飾り） */
.lp-hero__media::before,
.lp-hero__media::after,
.lp-cta__media::after {
	content: "";
	position: absolute;
	border: 1px solid rgb(165 180 252 / 0.3);
	border-radius: 2px;
	pointer-events: none;
}

.lp-hero__media::before {
	top: -1rem;
	left: -1rem;
	width: 100%;
	height: 100%;
	border-width: 2px;
	border-color: rgb(165 180 252 / 0.2);
}

.lp-hero__media::after,
.lp-cta__media::after {
	right: -0.75rem;
	bottom: -0.75rem;
	width: 4rem;
	height: 4rem;
}

.lp-hero__frame {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 25px 50px -12px rgb(17 24 39 / 0.1);
}

/* --- screens ------------------------------------------------------------ */

.lp-screens {
	padding-block: 6rem;
}

.lp-shots {
	display: grid;
	gap: 2rem;
}

.lp-shots--demo {
	margin-top: 4rem;
}

.lp-shot {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line-2);
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 10px 15px -3px rgb(17 24 39 / 0.05), 0 4px 6px -4px rgb(17 24 39 / 0.05);
}

/* 縦に長いスクリーンショットの上だけを見せ、下を白くぼかす */
.lp-shot__clip {
	position: relative;
	max-height: 520px;
	overflow: hidden;
}

.lp-shots--demo .lp-shot__clip,
.lp-shot--cta .lp-shot__clip {
	max-height: 480px;
}

.lp-shot__clip::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 5rem;
	background: linear-gradient(to top, #fff, transparent);
	pointer-events: none;
}

.lp-shot--cta .lp-shot__clip::after {
	height: 6rem;
}

.lp-shot__label {
	position: absolute;
	bottom: 1rem;
	left: 1.5rem;
	padding: 0.25rem 0.75rem;
	background: rgb(255 255 255 / 0.9);
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 300;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* --- live demo ---------------------------------------------------------- */

.lp .lp-demo__intro {
	max-width: 36rem;
	margin: -1rem auto 2.5rem;
}

.lp-demo__steps {
	display: grid;
	gap: 0.75rem;
	max-width: 28rem;
	margin: 0 auto 2.5rem;
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.625;
	text-align: left;
}

.lp-demo__num {
	color: var(--accent-text);
	font-weight: 400;
}

/* --- principles --------------------------------------------------------- */

.lp-principles {
	display: grid;
	gap: 4rem;
}

.lp-principle__icon {
	margin-bottom: 2rem;
	font-size: 2.25rem;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.lp-principle:hover .lp-principle__icon {
	opacity: 1;
}

.lp-principle__icon .lp-icon {
	stroke-width: 1.25;
}

/* --- getting started ---------------------------------------------------- */

.lp-steps {
	display: grid;
	gap: 2rem;
	margin-bottom: 6rem;
}

.lp-step {
	padding: 2.5rem;
	border: 1px solid var(--line-2);
	background: #fff;
	transition: border-color 0.2s;
}

.lp-step:hover {
	border-color: var(--accent);
}

.lp-step__num {
	display: block;
	margin-bottom: 1.5rem;
	color: var(--accent-text);
	font-size: 2.25rem;
	font-weight: 200;
	line-height: 1;
}

.lp-custom {
	display: grid;
	align-items: center;
	gap: 3rem;
	margin-bottom: 6rem;
	padding: 3rem;
	border: 1px solid var(--line-2);
	background: var(--band);
}

.lp .lp-custom__title {
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lp-custom__action {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 1rem;
}

.lp .lp-compat__title {
	margin: 6rem 0 3rem;
}

.lp-compat {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
}

.lp-compat li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.25rem 2rem;
	border: 1px solid var(--line-2);
	background: var(--band);
	color: var(--text);
	font-weight: 300;
}

.lp-compat .lp-icon {
	color: var(--accent);
	font-size: 1.25rem;
}

.lp-compat__note {
	color: var(--muted);
}

/* --- faq ---------------------------------------------------------------- */

.lp-faq-band {
	border-block: 1px solid var(--line-2);
	background: #fff;
}

.lp .lp-faq__title {
	margin-bottom: 5rem;
}

.lp-faq__item {
	padding-block: 2rem;
}

.lp-faq__item + .lp-faq__item {
	border-top: 1px solid var(--line);
}

.lp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: var(--text);
	font-size: 0.875rem;
	font-weight: 300;
	letter-spacing: 0.025em;
	list-style: none;
	cursor: pointer;
}

.lp-faq__item summary::-webkit-details-marker {
	display: none;
}

.lp-faq__item summary .lp-icon {
	color: var(--muted);
	font-size: 1.5rem;
	transition: transform 0.2s;
}

.lp-faq__item[open] summary .lp-icon {
	transform: rotate(45deg);
}

.lp-faq__item .lp-text {
	margin-top: 1.5rem;
}

/* --- support ------------------------------------------------------------ */

.lp-support {
	max-width: 36rem;
}

.lp .lp-support .lp-eyebrow {
	margin-bottom: 2rem;
	font-weight: 400;
	letter-spacing: 0.1em;
}

.lp-support .lp-lead {
	margin-bottom: 2.5rem;
}

/* --- cta ---------------------------------------------------------------- */

.lp-cta {
	position: relative;
	overflow: hidden;
	padding-block: 8rem;
	border-top: 1px solid var(--line);
	background: #fff;
}

.lp-cta::before {
	opacity: 0.45;
}

.lp-cta__grid {
	position: relative;
	display: grid;
	align-items: center;
	gap: 4rem;
}

.lp .lp-cta__title {
	margin-bottom: 3rem;
	font-size: 3rem;
	font-weight: 200;
	line-height: 1.25;
}

.lp-cta__lead {
	max-width: 36rem;
	margin-bottom: 4rem;
}

.lp-cta__media {
	position: relative;
	width: 100%;
	max-width: 24rem;
	margin-inline: auto;
}

.lp-shot--cta {
	box-shadow: 0 25px 50px -12px rgb(17 24 39 / 0.1);
}

/* --- premium ------------------------------------------------------------ */

.lp .lp-premium__intro {
	max-width: 36rem;
	margin: -1rem auto 0;
}

.lp-premium {
	display: grid;
	gap: 2rem;
}

.lp-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	background: #fff;
	transition: border-color 0.2s;
}

.lp-card:hover {
	border-color: var(--accent);
}

.lp-card--link:hover {
	border-color: var(--link-accent);
}

/* 押すと大きな画像を開く（lightbox.js） */
.lp .lp-card__thumb {
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: none;
	cursor: zoom-in;
}

.lp-card__thumb img {
	width: 100%;
	height: 14rem;
	object-fit: cover;
	object-position: top;
	transition: transform 0.5s;
}

.lp-card__thumb:hover img {
	transform: scale(1.05);
}

.lp-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 2rem;
}

.lp .lp-card__body .lp-h3 {
	margin-bottom: 0.75rem;
}

.lp-card__text {
	flex: 1;
	margin-bottom: 1.5rem;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 300;
	line-height: 1.75;
}

.lp .lp-card__meta {
	margin-bottom: 1.5rem;
	color: var(--muted);
	font-size: 0.75rem;
}

.lp-premium__consult {
	margin-top: 4rem;
}

/* --- sponsor ------------------------------------------------------------ */

.lp-sponsor {
	padding-block: 8rem;
	border-top: 1px solid var(--line);
	background: #fff;
}

.lp .lp-sponsor__title {
	margin-bottom: 2rem;
	font-size: 2.25rem;
	font-weight: 200;
	line-height: 1.25;
}

.lp .lp-sponsor__text {
	max-width: 36rem;
	margin: 0 auto 1rem;
	font-size: 1rem;
}

.lp-sponsor__note {
	margin-bottom: 3.5rem;
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 300;
}

.lp-sponsor__more {
	margin: 4rem 0 1.25rem;
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 300;
}

.lp-sponsor__links {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
}

/* --- links（旧 LP のフッター） -------------------------------------------- */

.lp-links {
	padding-block: 6rem;
	border-top: 1px solid var(--line);
	background: var(--band);
}

.lp-links__grid {
	display: grid;
	gap: 4rem;
}

.lp .lp-links__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 2rem;
	font-size: 1.125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lp-links__about .lp-text {
	max-width: 24rem;
}

.lp .lp-links__title {
	margin-bottom: 2rem;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lp-links__list {
	display: grid;
	gap: 1rem;
}

.lp .lp-links__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 300;
	text-underline-offset: 4px;
}

.lp .lp-links__list a:hover {
	color: var(--ink);
	text-decoration: underline;
}

/* --- lightbox（lightbox.js） --------------------------------------------- */

.lp-lightbox {
	width: min(100vw, 1200px);
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0 auto;
	padding: 0;
	border: 0;
	background: var(--ink);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.lp-lightbox::backdrop {
	background: rgb(0 0 0 / 0.8);
}

.lp-lightbox__img {
	width: 100%;
}

.lp .lp-lightbox__close {
	position: sticky;
	top: 0.75rem;
	z-index: 1;
	float: right;
	min-height: 2.5rem;
	margin: 0.75rem 0.75rem -3.25rem 0;
	padding: 0.5rem 1.25rem;
	border: 0;
	border-radius: 0.5rem;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 0.875rem;
	cursor: pointer;
}

.lp .lp-lightbox__close:hover {
	background: var(--band);
}

/* --- reveal（reveal.js） ------------------------------------------------- */

.lp-reveal-ready .lp-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.lp-reveal-ready .lp-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* --- responsive --------------------------------------------------------- */

@media (width < 768px) {

	.lp {
		--section: 6rem;
	}

	.lp .lp-hero__title {
		font-size: 3rem;
	}

	.lp-head {
		margin-bottom: 4rem;
	}

	.lp .lp-cta__title {
		font-size: 2.25rem;
	}

	.lp .lp-btn--wide {
		padding-inline: 2.5rem;
	}

	.lp-custom {
		padding: 2rem 1.5rem;
	}
}

@media (width >= 640px) {

	.lp-sponsor__links {
		flex-direction: row;
	}
}

@media (width >= 768px) {

	.lp-shots,
	.lp-principles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lp-steps,
	.lp-premium {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lp-links__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.lp-links__about {
		grid-column: span 2;
	}
}

@media (width >= 1024px) {

	.lp-wrap {
		padding-inline: 3rem;
	}

	.lp-hero__grid,
	.lp-cta__grid,
	.lp-custom {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lp .lp-hero__title {
		font-size: 4.5rem;
	}

	.lp-principles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.lp-custom {
		padding: 4rem;
	}

	.lp-cta__media {
		margin-inline: 0;
	}
}

@media (prefers-reduced-motion: reduce) {

	.lp *,
	.lp *::before,
	.lp *::after {
		transition: none !important;
	}

	.lp-reveal-ready .lp-reveal {
		opacity: 1;
		transform: none;
	}
}
