/* Handoff — 1ファイルの CSS。
   白とごく薄い灰の地に細い格子、強調の帯（料金・登録の案内）だけ濃い紺〜青の暗い面。
   主役は「バトンを渡す」2本のリボン（藍〜シアンと、差し色のコーラル）。下に浮かぶカプセルのナビ。
   画像は使わず CSS と SVG だけ。動きは prefers-reduced-motion で止める */
:root {
	--white: #ffffff;
	--bg-soft: #f6f7f9;
	--ink: #14161c;
	--ink-dim: #5b6170;
	--line: #e6e8ee;
	--line-strong: #d5d9e3;
	--grid: rgba(20, 30, 70, 0.045);
	--indigo: #2238c9;
	--indigo-deep: #1a2580;
	--blue: #1f6fe0;
	--cyan: #13b5d6;
	--accent: #ff7a52;
	--accent-ink: #b8431f;
	--navy: #0b1026;
	--grad-brand: linear-gradient(120deg, #1c2fb8 0%, #1f6fe0 100%);
	--grad-dark: linear-gradient(135deg, #0b1026 0%, #111c5e 52%, #1b46c9 100%);
	--tint: #eef1fd;
	--ok: #0f8a5f;
	--warn: #a86500;
	--err: #c2334a;
	--r-card: 22px;
	--r-sm: 12px;
	--shadow: 0 1px 2px rgba(16, 24, 64, 0.04), 0 18px 48px -24px rgba(16, 24, 64, 0.22);
	--shadow-lift: 0 2px 4px rgba(16, 24, 64, 0.05), 0 28px 60px -26px rgba(16, 24, 64, 0.32);
	--mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--ease: cubic-bezier(0.22, 0.8, 0.24, 1);
	color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", sans-serif;
	font-size: 16px;
	line-height: 1.85;
	color: var(--ink);
	background-color: var(--white);
	background-image: linear-gradient(90deg, var(--grid) 1px, transparent 1px), linear-gradient(var(--grid) 1px, transparent 1px);
	background-size: 96px 96px;
	background-position: center top;
	overflow-x: hidden;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}
body.is-page { background-color: var(--bg-soft); }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.4; letter-spacing: 0.01em; word-break: auto-phrase; }
h1 { font-size: 1.6rem; margin: 0.3em 0 0.6em; font-weight: 800; }
h2 { font-size: 1.22rem; margin: 1.8em 0 0.6em; font-weight: 700; }
h3 { font-size: 1.05rem; margin: 0.4em 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--white); color: var(--ink); padding: 6px 10px; z-index: 50; border-radius: 8px; }
:focus-visible { outline: 3px solid rgba(34, 56, 201, 0.45); outline-offset: 2px; }
.br-pc { display: none; }

/* ---------- ヘッダー（小さく: ロゴ・ログイン・主ボタン） ---------- */
.site-header { position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: 0.03em; min-height: 44px; }
.logo:hover { color: var(--ink); }
.logo-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 6px 18px -8px rgba(16, 24, 64, 0.3); }
.logo-word { font-size: 1.05rem; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: none; font-size: 0.88rem; font-weight: 600; border-radius: 999px; }
.header-link:hover { color: var(--indigo); background: rgba(34, 56, 201, 0.06); }
.trial-bar { margin: 0 auto 4px; padding: 0 16px; text-align: center; font-size: 0.8rem; color: var(--ink-dim); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.trial-pill { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--indigo); background: var(--tint); border-radius: 999px; padding: 1px 10px; }

/* ---------- 下に浮かぶカプセルのナビ ---------- */
.dock {
	position: fixed; z-index: 40; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
	display: flex; align-items: center; gap: 2px; padding: 5px; max-width: calc(100% - 20px);
	background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
	border: 1px solid rgba(20, 22, 28, 0.08); border-radius: 999px; box-shadow: 0 12px 40px -12px rgba(16, 24, 64, 0.28), 0 2px 6px rgba(16, 24, 64, 0.06);
	animation: dock-in 0.6s var(--ease) both 0.2s;
}
.dock a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; white-space: nowrap; border-radius: 999px; }
.dock-home { width: 44px; background: var(--bg-soft); flex: none; }
.dock-item { padding: 0 10px; font-size: 0.82rem; font-weight: 600; color: var(--ink-dim); }
.dock-item:hover { color: var(--ink); background: var(--bg-soft); }
.dock-item[aria-current="page"], .dock-home[aria-current="page"] { color: var(--ink); background: var(--tint); }
.dock-cta { padding: 0 16px; margin-left: 4px; font-size: 0.85rem; font-weight: 700; color: #fff !important; background: var(--grad-brand); box-shadow: 0 6px 18px -6px rgba(31, 80, 224, 0.6); }
.dock-cta:hover { filter: brightness(1.08); }
@keyframes dock-in { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 399px) {
	.dock-home { display: none !important; }
	.dock-item { padding: 0 8px; font-size: 0.8rem; }
	.dock-cta { padding: 0 13px; }
}

/* ---------- フッター ---------- */
.site-footer { position: relative; background: var(--white); border-top: 1px solid var(--line); padding: 40px 0 128px; color: var(--ink-dim); font-size: 0.85rem; }
.is-admin .site-footer { padding-bottom: 40px; }
.footer-inner { display: grid; gap: 24px; }
.footer-brand .logo { margin-bottom: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-nav a { color: var(--ink-dim); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.footer-nav a:hover { color: var(--indigo); text-decoration: underline; }
.footer-note { margin: 0; max-width: 34em; }

/* ---------- 見出しの演出 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 82, 0.16); flex: none; }
.label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo); margin: 0 0 6px; }
.section-head { margin: 0 0 32px; max-width: 44em; }
.section-head.is-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.5rem, 5.4vw, 2.35rem); line-height: 1.38; font-weight: 800; margin: 0 0 12px; }
.section-lead { color: var(--ink-dim); margin: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: none; }
.section-head-row h2 { margin: 0; }
.lead { font-size: 1.02rem; color: var(--ink-dim); max-width: 40em; margin: 0 0 8px; }

/* ---------- ボタン（カプセル） ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px;
	border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink) !important;
	font: inherit; font-weight: 700; font-size: 0.95rem; line-height: 1.4; text-decoration: none; cursor: pointer;
	transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}
.btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-arrow { flex: none; transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff !important; box-shadow: 0 10px 24px -12px rgba(20, 22, 28, 0.6); }
.btn-dark:hover { background: #262a35; }
.btn-primary { background: var(--grad-brand); border-color: transparent; color: #fff !important; box-shadow: 0 10px 24px -12px rgba(31, 80, 224, 0.7); }
.btn-primary:hover { border-color: transparent; filter: brightness(1.07); }
.btn-outline { background: var(--white); border-color: var(--line-strong); }
.btn-light { background: #fff; border-color: #fff; color: var(--navy) !important; }
.btn-light:hover { border-color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff !important; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-ghost { background: transparent; }
.btn-small { min-height: 44px; padding: 6px 16px; font-size: 0.86rem; }
.btn-quiet { background: transparent; border-color: transparent; color: var(--ink-dim) !important; }
.btn-quiet:hover { border-color: var(--line-strong); }
.btn[disabled] { opacity: 0.5; cursor: wait; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.inline, .inline-form { display: inline; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* ---------- LP のヒーローとリボン ---------- */
.main-lp { display: block; }
.lp-hero { position: relative; padding: 0 0 40px; }
.lp-hero-inner { display: grid; gap: 4px; align-items: center; }
.lp-hero-text { position: relative; z-index: 1; animation: rise 0.8s var(--ease) both; }
.lp-hero h1 { font-size: clamp(1.85rem, 7.6vw, 3.25rem); line-height: 1.32; letter-spacing: 0.005em; margin: 0 0 18px; font-weight: 800; }
.hero-note { font-size: 0.82rem; color: var(--ink-dim); margin: 6px 0 0; }
.ribbon { order: -1; position: relative; margin: -8px -16px 0; height: 230px; pointer-events: none; }
.ribbon svg { width: 100%; height: 100%; overflow: visible; display: block; }
.ribbon-a { animation: ribbon-a 11s ease-in-out infinite alternate; transform-origin: 30% 70%; }
.ribbon-b { animation: ribbon-b 13s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.ribbon-spark { animation: spark 3.2s ease-in-out infinite; transform-origin: 318px 262px; }
@keyframes ribbon-a { from { transform: translate(-10px, 6px) rotate(-1.5deg); } to { transform: translate(8px, -4px) rotate(1deg); } }
@keyframes ribbon-b { from { transform: translate(10px, -6px) rotate(1.2deg); } to { transform: translate(-8px, 6px) rotate(-1deg); } }
@keyframes spark { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.75; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.entries { display: grid; gap: 12px; margin-top: 26px; }
.entry {
	position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: var(--r-card); text-decoration: none; color: var(--ink);
	background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow);
	transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(34, 56, 201, 0.35); color: var(--ink); }
.entry-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo); }
.entry strong { font-size: 1.12rem; }
.entry-text { color: var(--ink-dim); font-size: 0.92rem; }
.entry-go { display: inline-flex; align-items: center; gap: 6px; color: var(--indigo); font-weight: 700; font-size: 0.88rem; margin-top: 6px; }
.entry:hover .btn-arrow { transform: translateX(3px); }

/* ---------- 節 ---------- */
.lp-section { position: relative; padding: 64px 0; }
.lp-section-tight { padding-top: 16px; }
.lp-section-alt { background: rgba(246, 247, 249, 0.86); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 課題 */
.problems { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 12px; max-width: 920px; }
.problem { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.problem-mark { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff1ec; color: var(--accent-ink); }
.problem-who { display: inline-block; font-size: 0.7rem; font-weight: 700; color: var(--ink-dim); background: var(--bg-soft); border-radius: 999px; padding: 0 10px; margin-bottom: 2px; }
.problem-title { margin: 0; font-weight: 700; line-height: 1.6; }
.problem-text { margin: 4px 0 0; color: var(--ink-dim); font-size: 0.92rem; }
.problems-arrow { display: flex; justify-content: center; margin: 28px 0 -24px; color: var(--indigo); }
.problems-arrow svg { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* 特長 */
.features { display: grid; gap: 14px; }
.feature { padding: 24px 22px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.feature-no { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 0.8rem; font-weight: 700; color: var(--ink-dim); }
.feature-no span { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: 999px; color: #fff; background: var(--grad-brand); font-size: 0.78rem; letter-spacing: 0.04em; }
.feature h3 { font-size: 1.14rem; line-height: 1.5; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--ink-dim); font-size: 0.94rem; }

/* 仕組み（ガラスの板） */
.lp-mech { overflow: hidden; background: radial-gradient(60% 50% at 85% 30%, rgba(19, 181, 214, 0.12), transparent 70%), radial-gradient(50% 50% at 10% 90%, rgba(34, 56, 201, 0.08), transparent 70%); }
.mech-inner { display: grid; gap: 28px; align-items: center; }
.mech-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mech-points li { display: flex; gap: 14px; align-items: flex-start; }
.mech-points strong { display: block; font-size: 1.02rem; }
.mech-points p { margin: 2px 0 0; color: var(--ink-dim); font-size: 0.93rem; }
.mech-n { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); font-weight: 800; font-size: 0.82rem; color: var(--indigo); }
.glass-stage { position: relative; height: 400px; perspective: 1400px; }
.glass-stage::before, .glass-stage::after { content: ""; position: absolute; border-radius: 50%; filter: blur(24px); }
.glass-stage::before { width: 220px; height: 220px; right: 4%; top: 6%; background: linear-gradient(140deg, #25c4e8, #2f56e6); opacity: 0.55; }
.glass-stage::after { width: 130px; height: 130px; left: 6%; bottom: 8%; background: linear-gradient(140deg, #ff7a52, #ffc3a6); opacity: 0.6; }
.glass {
	position: absolute; z-index: 1; width: min(86%, 380px); padding: 14px 16px 16px; border-radius: 20px;
	background: rgba(255, 255, 255, 0.58); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
	border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 50px -20px rgba(20, 40, 120, 0.35);
	font-size: 0.8rem; line-height: 1.6; color: var(--ink);
}
.glass-back { top: 0; left: 0; transform: rotateX(10deg) rotateY(12deg) rotateZ(-2deg); animation: float-a 9s ease-in-out infinite alternate; }
.glass-mid { top: 34%; right: 0; transform: rotateX(10deg) rotateY(-12deg) rotateZ(1.5deg); animation: float-b 10s ease-in-out infinite alternate; }
.glass-front { bottom: 0; left: 8%; transform: rotateX(8deg) rotateY(10deg) rotateZ(-1deg); animation: float-a 11s ease-in-out infinite alternate-reverse; }
@keyframes float-a { from { translate: 0 0; } to { translate: 0 -8px; } }
@keyframes float-b { from { translate: 0 0; } to { translate: 0 8px; } }
.glass-title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 700; font-size: 0.82rem; }
.glass-dots { display: inline-flex; gap: 4px; }
.glass-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.glass-dots i:first-child { background: var(--accent); }
.mock-def { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.mock-def dt { color: var(--ink-dim); }
.mock-def dd { margin: 0; font-weight: 700; }
.mock-person { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(20, 22, 28, 0.07); }
.mock-person:first-of-type { border-top: 0; padding-top: 0; }
.mock-person div { flex: 1; display: flex; flex-direction: column; line-height: 1.45; }
.mock-person span { color: var(--ink-dim); font-size: 0.74rem; }
.mock-avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; background: linear-gradient(140deg, #2f56e6, #25c4e8); }
.mock-avatar-2 { background: linear-gradient(140deg, #ff7a52, #ffc3a6); }
.mock-btn { font-style: normal; font-weight: 700; font-size: 0.72rem; color: #fff; background: var(--grad-brand); border-radius: 999px; padding: 3px 12px; }
.mock-btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px var(--line-strong) inset; }
.mock-line { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 4px; }
.mock-line span { color: var(--ink-dim); }
.mock-sent { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 0.74rem; font-weight: 700; color: #0b6b47; background: #e2f6ed; border-radius: 999px; padding: 2px 10px; }
.mock-sent::before { content: ""; width: 8px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
.mock-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.mock-tags span { font-size: 0.72rem; font-weight: 700; color: var(--indigo); background: rgba(238, 241, 253, 0.9); border-radius: 999px; padding: 1px 10px; }
.mock-lock { color: var(--accent-ink); }

/* 暗い帯（料金・登録の案内。1ページに2〜3か所まで） */
.dark-band { position: relative; overflow: hidden; margin: 24px 10px; border-radius: 28px; padding: 56px 0; color: #fff; background: var(--grad-dark); isolation: isolate; }
.dark-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.dark-band-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 196, 232, 0.45), transparent); animation: glow 12s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translate(0, 0); } to { transform: translate(-60px, 40px); } }
.dark-band-inner { display: grid; gap: 28px; align-items: center; }
.dark-band .eyebrow { color: rgba(255, 255, 255, 0.85); }
.dark-band h2 { font-size: clamp(1.5rem, 5.6vw, 2.4rem); line-height: 1.38; font-weight: 800; margin: 0 0 14px; color: #fff; }
.dark-lead { color: rgba(255, 255, 255, 0.8); margin: 0 0 8px; max-width: 36em; }
.dark-note { color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; margin: 10px 0 0; }
.dark-band a:not(.btn) { color: #fff; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 30px; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: rgba(37, 196, 232, 0.22); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(0.2em + 6px); width: 8px; height: 4px; border-left: 2px solid #7fe3f5; border-bottom: 2px solid #7fe3f5; transform: rotate(-45deg); }
.bignums { display: grid; gap: 12px; }
.bignum { padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bignum-label { margin: 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.78); }
.bignum-value { margin: 0; display: flex; align-items: baseline; gap: 4px; line-height: 1.1; }
.bignum-value strong { font-size: clamp(2.8rem, 12vw, 3.8rem); font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(100deg, #ffffff 40%, #9ee8f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bignum-pre, .bignum-unit { font-size: 1.05rem; font-weight: 700; }
.bignum-sub { margin: 4px 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }

/* 流れ（ステップ） */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.flow-step { position: relative; padding: 18px 20px 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.flow-step strong { display: block; font-size: 1.06rem; margin: 2px 0 4px; }
.flow-step p { margin: 0; color: var(--ink-dim); font-size: 0.92rem; }
.flow-n { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; color: var(--indigo); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; left: 32px; bottom: -13px; width: 2px; height: 14px; background: linear-gradient(var(--indigo), var(--cyan)); }
.flow-note { color: var(--ink-dim); font-size: 0.88rem; margin: 20px 0 0; }

/* よくある質問（details） */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow 0.2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.55; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--indigo); font-size: 0.85rem; font-weight: 800; }
.faq-question { flex: 1; }
.faq-toggle { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease); }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-a { margin: 0; padding: 0 18px 18px 58px; color: var(--ink-dim); }
.faq-more { text-align: center; margin: 22px 0 0; }
.faq-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* 料金のページ */
.page-hero { padding: 16px 0 24px; }
.page-hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); margin: 0 0 12px; }
.plans { display: grid; gap: 16px; margin: 0 0 32px; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 26px; padding: 26px 24px; background: var(--white); box-shadow: var(--shadow); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .checks { margin: 8px 0 24px; }
.plan .checks li::before { background: var(--tint); }
.plan .checks li::after { border-color: var(--indigo); }
.plan-featured { position: relative; overflow: hidden; color: #fff; border-color: transparent; background: var(--grad-dark); }
.plan-featured .label { color: #9ee8f7; }
.plan-featured .checks li::before { background: rgba(37, 196, 232, 0.22); }
.plan-featured .checks li::after { border-color: #7fe3f5; }
.plan h2 { margin: 0.1em 0 0.3em; font-size: 1.08rem; }
.price { margin: 0 0 8px; font-weight: 700; }
.price strong { font-size: 3rem; letter-spacing: -0.02em; margin: 0 2px; }
.price small { font-weight: 500; opacity: 0.8; }
.pricing-notes { display: grid; gap: 16px; }
.pricing-notes > div { padding: 22px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.pricing-notes h2 { margin: 0 0 6px; font-size: 1.05rem; }
.pricing-notes p { margin: 0; color: var(--ink-dim); }

/* ---------- 読む画面（白い紙） ---------- */
.main { padding-top: 8px; padding-bottom: 56px; min-height: 60vh; }
.paper { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 26px; padding: 26px 18px 32px; box-shadow: var(--shadow); animation: rise 0.6s var(--ease) both; }
.paper .sheet { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.paper > h1:first-child, .paper .sheet > h1:first-child, .paper .page-head:first-child h1 { margin-top: 0; }
.paper h1 { font-size: clamp(1.5rem, 5.6vw, 2.1rem); }
.paper .label + h1 { margin-top: 0; }
.prose h2, .legal h2 { position: relative; padding-left: 14px; }
.prose h2::before, .legal h2::before { content: ""; position: absolute; left: 0; top: 0.3em; bottom: 0.3em; width: 4px; border-radius: 4px; background: linear-gradient(var(--indigo), var(--cyan)); }
.muted { color: var(--ink-dim); }
.small { font-size: 0.86rem; }
.empty { color: var(--ink-dim); padding: 12px 0; }
.empty-card { padding: 24px; text-align: center; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--r-card); }
.prose-text { white-space: pre-wrap; }
.crumbs { font-size: 0.85rem; margin: 0 0 8px; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.page-head h1, .page-head h2 { margin-bottom: 0.3em; }

/* フォーム */
.form { max-width: 700px; }
fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 6px; margin: 0 0 20px; background: #fafbfc; min-width: 0; }
legend { font-weight: 800; padding: 0 8px; }
.field { margin: 0 0 18px; }
.field label, .field-label { display: block; font-weight: 700; margin-bottom: 6px; }
.req, .opt { font-size: 0.68rem; margin-left: 8px; padding: 1px 8px; border-radius: 999px; vertical-align: 2px; font-weight: 700; }
.req { background: #fff1ec; color: var(--accent-ink); }
.opt { background: var(--bg-soft); color: var(--ink-dim); }
input[type="text"], input[type="email"], input[type="url"], input[type="number"], input[type="date"], input[type="search"], input:not([type]), select, textarea {
	width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 10px 14px; min-height: 48px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="file"] { max-width: 100%; font: inherit; min-height: 44px; }
textarea { line-height: 1.75; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 4px rgba(34, 56, 201, 0.14); }
.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 0.4em; width: 20px; height: 20px; flex: none; accent-color: var(--indigo); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--indigo); }
.hint { font-size: 0.82rem; color: var(--ink-dim); margin: 6px 0 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: 0.85rem; margin: 4px 0 0; }
.turnstile { margin: 8px 0 16px; min-height: 65px; }
.form-inline .field { margin-bottom: 10px; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-soft); margin: 10px 0 14px; }
.filters label { font-size: 0.8rem; font-weight: 700; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.filters button { grid-column: 1 / -1; }

/* お知らせ */
.alert { border-radius: 16px; padding: 12px 16px; margin: 14px 0; border: 1px solid; }
.alert p { margin: 0.2em 0; }
.alert ul { margin: 0.2em 0; padding-left: 1.2em; }
.alert-info { background: var(--tint); border-color: #d3daf9; color: #1f2a6b; }
.alert-ok { background: #e8f7f0; border-color: #b6e3cf; color: #0b5a3e; }
.alert-warn { background: #fff6e5; border-color: #f3d79b; color: #6d4300; }
.alert-error { background: #fdecef; border-color: #f4bcc6; color: #8a1c30; }

/* 一覧 */
.post-list, .simple-list, .applicants { list-style: none; padding: 0; margin: 0; }
.post-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.post-title { font-weight: 800; font-size: 1.06rem; text-decoration: none; color: var(--ink); }
.post-title:hover { color: var(--indigo); text-decoration: underline; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.82rem; color: var(--ink-dim); margin: 6px 0; align-items: center; }
.post-summary { margin: 4px 0; }
.post-cards { display: grid; gap: 12px; }
.post-cards .post-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); }
.post-cards .post-summary { color: var(--ink-dim); font-size: 0.94rem; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: var(--tint); color: var(--indigo); }
.tag-skill { background: #e6f7fb; color: #0b6b80; margin: 2px 4px 2px 0; }
.tag-company { background: #fff1ec; color: var(--accent-ink); }
.skills { display: inline-flex; flex-wrap: wrap; }
.status { font-size: 0.72rem; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-dim); }
.status-open, .status-applied { background: #e2f6ed; color: #0b6b47; }
.status-matched, .status-selected { background: var(--tint); color: var(--indigo); }
.status-hidden { background: #fdecef; color: #8a1c30; }
.simple-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.applicant { padding: 16px; border: 1px solid var(--line); border-radius: 18px; margin: 10px 0; background: var(--white); }
.applicant p { margin: 0.2em 0; }
.panel { border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; margin: 22px 0; background: #fafbfc; }
.panel h2 { margin-top: 0.2em; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 18px; border-bottom: 1px solid var(--line); }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--ink-dim) !important; border-bottom: 2px solid transparent; font-weight: 600; font-size: 0.92rem; }
.tabs a[aria-current="page"] { color: var(--ink) !important; border-color: var(--indigo); }
.pager { display: flex; gap: 16px; margin-top: 16px; }
.pager a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.report-link { font-size: 0.82rem; margin-top: 28px; }
.report-link a { color: var(--ink-dim) !important; }
.rating { font-size: 0.82rem; color: var(--ink-dim); }

/* 表 */
.table-def { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; }
.table-def th, .table-def td { text-align: left; vertical-align: top; padding: 11px 8px; border-bottom: 1px solid var(--line); }
.table-def th { width: 34%; color: var(--ink-dim); font-weight: 700; }
.table-list { width: 100%; border-collapse: collapse; font-size: 0.88rem; display: block; overflow-x: auto; }
.table-list th, .table-list td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-list th { color: var(--ink-dim); font-size: 0.8rem; white-space: nowrap; background: var(--bg-soft); }
.pre { white-space: pre-wrap; max-width: 28em; }
pre.terms { white-space: pre-wrap; font-family: var(--mono); font-size: 0.82rem; line-height: 1.7; background: #fafbfc; border: 1px solid var(--line); border-radius: 16px; padding: 16px; overflow-x: auto; }

.steps { padding-left: 1.4em; }
.steps li { margin: 8px 0; }
.steps strong { margin-right: 0.6em; }
.faq dt { font-weight: 700; margin-top: 18px; }
.faq dd { margin: 4px 0 0; }
.legal ol, .legal ul, .prose ol, .prose ul { padding-left: 1.4em; }

/* ポートフォリオ */
.works { display: grid; gap: 16px; }
.work { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.work-images { display: grid; gap: 2px; background: #e9ecf4; }
.work-images.n2, .work-images.n3, .work-images.n4 { grid-template-columns: 1fr 1fr; }
.work-images.n3 a:first-child { grid-column: 1 / -1; }
.work-images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-body { padding: 14px 16px; }
.work-row { display: flex; gap: 12px; align-items: flex-start; }
.thumb { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; background: #e9ecf4; }
.thumb-empty { display: inline-block; }
.thumbs, .previews { display: flex; flex-wrap: wrap; gap: 8px; }
.thumb-check { width: 110px; font-weight: 400 !important; font-size: 0.82rem; }
.thumb-check img, .previews img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; }

/* 運営画面（読みやすさ優先） */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--white); display: flex; flex-direction: column; }
.stat-n { font-size: 1.6rem; font-weight: 800; }
.stat-l { font-size: 0.8rem; color: var(--ink-dim); }

/* ふわっと現れる（JavaScript が動くときだけ隠す） */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .dark-band[data-reveal] { transform: translateY(18px) scale(0.985); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (min-width: 600px) {
	.problems { grid-template-columns: 1fr 1fr; }
	.features { grid-template-columns: 1fr 1fr; }
	.bignums { grid-template-columns: 1fr 1fr; }
	.post-cards { grid-template-columns: 1fr 1fr; }
	.entries { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
	.br-pc { display: inline; }
	h1 { font-size: 1.9rem; }
	.paper { padding: 40px 48px 48px; }
	.lp-section { padding: 96px 0; }
	.lp-section-tight { padding-top: 16px; }
	.header-inner { min-height: 80px; }
	.header-link { padding: 0 14px; }
	.dock { gap: 4px; padding: 6px; }
	.dock-item { padding: 0 16px; font-size: 0.88rem; }
	.dock-cta { padding: 0 22px; }
	.filters { grid-template-columns: repeat(4, 1fr) auto; }
	.filters button { grid-column: auto; }
	.works { grid-template-columns: 1fr 1fr; }
	.plans { grid-template-columns: 1.15fr 1fr; }
	.pricing-notes { grid-template-columns: 1fr 1fr; }
	.dark-band { margin: 32px 24px; padding: 80px 0; border-radius: 36px; }
	.flow.n4 { grid-template-columns: repeat(2, 1fr); }
	.flow.n5 { grid-template-columns: repeat(2, 1fr); }
	.flow-step:not(:last-child)::after { display: none; }
	.footer-inner { grid-template-columns: 1fr 1.4fr; align-items: start; }
	.ribbon { height: 320px; }
	.glass-stage { height: 440px; }
	.glass { font-size: 0.86rem; }
}

@media (min-width: 960px) {
	.lp-hero { padding: 8px 0 72px; }
	.lp-hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 24px; min-height: 540px; }
	.ribbon { order: 0; height: 560px; margin: 0 -10% 0 0; }
	.features.n3 { grid-template-columns: repeat(3, 1fr); }
	.features.n6 { grid-template-columns: repeat(3, 1fr); }
	.mech-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
	.glass-stage { height: 480px; }
	.dark-band { max-width: 1240px; margin: 40px auto; width: calc(100% - 48px); }
	.dark-band-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; }
	.bignums { grid-template-columns: 1fr; }
	.flow.n4 { grid-template-columns: repeat(4, 1fr); }
	.flow.n5 { grid-template-columns: repeat(5, 1fr); }
	.flow-step { padding: 22px 18px; }
	.flow-step:not(:last-child)::after { display: block; left: auto; right: -9px; top: 36px; bottom: auto; width: 8px; height: 2px; background: var(--indigo); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* スマホでは見出しの改行を自然な折り返しに任せる（短い語だけの行が出ないように） */
@media (max-width: 599px) {
	.lp-hero h1 br, .dark-band h2 br { display: none; }
	.glass-stage { height: 440px; }
}
