/* cracsome.com / LPD — 入口のページ（index.php）だけの顔 */
:root {
  --ink: #0f1420; --ink-2: #4b5567; --paper: #ffffff; --paper-2: #f4f6fb; --line: #e3e7ef;
  --brand: #2f6bff; --brand-2: #7c4dff; --accent: #ff7a45; --mint: #2ec4a5;
  --radius: 14px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --latin: "Inter", "Noto Sans JP", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.eyebrow { font-family: var(--latin); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: var(--paper-2); padding: .1em .4em; border-radius: 6px; }

/* ── ボタン ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1.3rem; border-radius: 999px; font-weight: 700; background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(47,107,255,.28); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(47,107,255,.35); }
.btn.big { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.light { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

/* ── ナビ ── */
.lp-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: .8rem clamp(1rem, 4vw, 3rem); background: rgba(255,255,255,.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,.05); }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--latin); font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 4px 12px rgba(47,107,255,.35); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 7px 7px 7px 7px; border-radius: 3px; background: #fff; opacity: .9; clip-path: polygon(0 0, 100% 0, 100% 35%, 45% 35%, 45% 100%, 0 100%); }
.lp-nav nav { display: flex; align-items: center; gap: 1.4rem; font-size: .92rem; font-weight: 500; }
.lp-nav nav a:not(.btn):hover { color: var(--brand); }
.lp-nav .btn { padding: .5rem 1.1rem; font-size: .9rem; }
@media (max-width: 720px) { .lp-nav nav a:not(.btn):not(.nav-login) { display: none; } }

/* ── ヒーロー ── */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); }
.hero-glow { position: absolute; inset: -20% -10% auto -10%; height: 120%; background:
  radial-gradient(60% 50% at 20% 30%, rgba(47,107,255,.16), transparent 60%),
  radial-gradient(45% 45% at 85% 20%, rgba(124,77,255,.16), transparent 60%),
  radial-gradient(40% 40% at 70% 90%, rgba(255,122,69,.14), transparent 60%);
  pointer-events: none; }
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.28; font-weight: 900; letter-spacing: -.01em; margin: .6rem 0 1.2rem; }
.hero h1 .nw { white-space: nowrap; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand-2) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.05rem; color: var(--ink-2); max-width: 34rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-note { margin-top: .9rem; font-size: .82rem; color: var(--ink-2); }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { order: -1; transform: scale(.85); transform-origin: top center; margin-bottom: -3rem; } }

/* ── モックアップ（CSS だけで描く） ── */
.hero-art { position: relative; height: 440px; }
.mock { position: absolute; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px rgba(15,20,32,.18), 0 2px 6px rgba(15,20,32,.08); overflow: hidden; }
.mock b, .mock i, .mock u, .mock s { display: block; }
.mock b { height: 10px; border-radius: 5px; background: #d9deea; width: 70%; }
.mock b.short { width: 45%; }
.mock u { height: 12px; width: 34%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.mock.browser { left: 0; top: 10px; width: 78%; height: 400px; animation: float 7s ease-in-out infinite; }
.mock-bar { height: 26px; background: #f1f3f8; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d3d8e4; }
.mock-bar i:first-child { background: #ff7a7a; } .mock-bar i:nth-child(2) { background: #ffcf5a; } .mock-bar i:nth-child(3) { background: #6fd68b; }
.mock-page { padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.mock-head { display: flex; align-items: center; gap: 10px; }
.mock-head b { width: 48px; margin-right: auto; background: var(--ink); }
.mock-head span { width: 26px; height: 6px; border-radius: 3px; background: #cfd5e3; }
.mock-head u { width: 56px; height: 16px; border-radius: 8px; }
.mock-hero { padding: 22px 18px; border-radius: 10px; background: linear-gradient(135deg, #eef2ff, #f4efff); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mock-hero b { height: 12px; background: var(--ink); width: 60%; } .mock-hero b.short { width: 38%; background: #b9c1d3; height: 8px; }
.mock-cards { display: flex; gap: 10px; }
.mock-cards s { flex: 1; height: 54px; border-radius: 8px; background: #f4f6fb; border: 1px solid var(--line); }
.mock-cards.col { flex-direction: column; } .mock-cards.col s { height: 40px; }
.mock-venue { display: flex; gap: 12px; }
.mock-venue .map { flex: 1; height: 70px; border-radius: 8px; background: repeating-linear-gradient(0deg, #e6f0e6 0 12px, #d9e8d9 12px 14px), #e6f0e6; position: relative; }
.mock-venue .map::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: translate(-50%, -70%) rotate(-45deg); }
.mock-venue .rows { flex: 1.2; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.mock-venue .rows b { height: 7px; width: 90%; } .mock-venue .rows b.short { width: 55%; }
.mock.phone { right: 4%; top: 60px; width: 150px; height: 300px; border-radius: 22px; border: 6px solid #1a1f2c; background: #fff; animation: float 6s ease-in-out infinite reverse; }
.mock.phone .mock-page { padding: 12px 10px; gap: 10px; }
.mock.phone .mock-hero { padding: 16px 10px; }
.mock.phone .fab { position: absolute; right: 10px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); box-shadow: 0 6px 14px rgba(47,107,255,.4); }
.mock.phone .fab::before { content: ""; position: absolute; left: 9px; top: 10px; width: 14px; height: 2px; background: #fff; box-shadow: 0 5px 0 #fff, 0 10px 0 #fff; border-radius: 2px; }
.mock.flyer { right: 0; bottom: 0; width: 150px; height: 212px; padding: 14px; border-radius: 6px; display: flex; flex-direction: column; gap: 8px; animation: float 8s ease-in-out infinite; }
.mock.flyer b { height: 9px; background: var(--ink); width: 80%; } .mock.flyer b.short { width: 50%; background: #b9c1d3; height: 6px; }
.mock.flyer .photo { height: 60px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), #ffc86b); }
.mock.flyer .line { height: 5px; border-radius: 3px; background: #dfe3ec; } .mock.flyer .line.short { width: 60%; }
.mock.flyer .qr { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; }
.mock.flyer .qr svg { width: 100%; height: 100%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .mock { animation: none !important; } }

/* ── 数字の帯 ── */
.strip { background: var(--ink); color: #fff; padding: 1.4rem clamp(1rem, 4vw, 3rem); }
.strip ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.strip li { display: flex; align-items: baseline; gap: .5rem; }
.strip strong { font-family: var(--latin); font-size: 1.8rem; font-weight: 800; background: linear-gradient(90deg, #9db6ff, #d3c1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip span { font-size: .85rem; color: #b6bdcc; }

/* ── 節の頭 ── */
section { padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem); }
.section-head { max-width: 1180px; margin: 0 auto 2.2rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.01em; margin-top: .4rem; }

/* ── できること ── */
.features { background: var(--paper-2); }
.feature-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.feature-grid article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s, box-shadow .2s; }
.feature-grid article:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,20,32,.08); }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #e9efff, #f1e9ff); margin-bottom: 1rem; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-grid h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .5rem; }
.feature-grid p { color: var(--ink-2); font-size: .95rem; }

/* ── 使いかた ── */
.steps { max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; counter-reset: step; }
.steps li { position: relative; padding: 1.6rem 1.6rem 1.6rem 4.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps .num { position: absolute; left: 1.4rem; top: 1.5rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--latin); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.steps h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .4rem; }
.steps p { color: var(--ink-2); font-size: .95rem; }

/* ── テンプレート ── */
.templates { background: var(--paper-2); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.tpl-scroll { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.tpl { display: flex; flex-direction: column; gap: .5rem; }
.tpl span { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.tpl-art { position: relative; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15,20,32,.06); overflow: hidden; padding: 12px; display: flex; flex-direction: column; gap: 7px; aspect-ratio: 4 / 5; transition: transform .2s; }
.tpl:hover .tpl-art { transform: translateY(-4px); }
.tpl-art::before { content: ""; height: 34%; border-radius: 6px; background: var(--c); opacity: .9; }
.tpl-art b { height: 8px; width: 70%; border-radius: 4px; background: var(--ink); }
.tpl-art i { height: 5px; width: 90%; border-radius: 3px; background: #dfe3ec; }
.tpl-art u { margin-top: auto; height: 12px; width: 40%; border-radius: 6px; background: var(--c); }
.tpl.lp .tpl-art { aspect-ratio: 4 / 5; }
.tpl.slide .tpl-art { aspect-ratio: 16 / 10; }
.tpl.slide .tpl-art::before { height: 40%; }
.tpl.poster .tpl-art::before, .tpl.flyer .tpl-art::before { height: 45%; }

/* ── 締め ── */
.cta { text-align: center; color: #fff; background: linear-gradient(120deg, var(--brand), var(--brand-2) 55%, #b06bff); }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; }
.cta p { margin: .8rem 0 1.6rem; opacity: .9; }

/* ── フッター ── */
.lp-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.5rem clamp(1rem, 4vw, 3rem); font-size: .85rem; color: var(--ink-2); }
.lp-foot a:hover { color: var(--brand); }
