/* ec-sugar.jp の見た目。色は EC-SUGAR の管理画面と同じ藍（admin.css のトークンに合わせる）。外のフォント・画像は読まない */
:root {
    --ai: #3451b2;
    --ai-hover: #26408f;
    --ai-deep: #1f2f73;
    --ai-soft: #e0e7ff;
    --on-deep: #ffffff;
    --on-deep-soft: #c3cdf2;
    --ink: #111827;
    --muted: #374151;
    --soft: #5f6673;
    --line: #e6e8ec;
    --canvas: #f4f5f7;
    --surface: #ffffff;
    --ok: #166534;
    --ok-soft: #ecfdf3;
    --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Segoe UI", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--surface); line-height: 1.75; font-size: 16px; }
a { color: var(--ai); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--ai); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 上の帯 */
.nav { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 5; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.cube-side { fill: var(--ai); fill-opacity: 0.18; }
.cube-top { fill: var(--ai); }
.cube-edge { fill: none; stroke: var(--ai); stroke-width: 1.5; stroke-linejoin: round; }
.nav nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.nav nav a { color: var(--muted); text-decoration: none; }
.nav nav a:hover { color: var(--ai); }
.nav .nav-cta { color: var(--surface); background: var(--ai); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.nav .nav-cta:hover { background: var(--ai-hover); color: var(--surface); }
@media (max-width: 860px) { .nav nav a:not(.nav-cta) { display: none; } }

/* 看板 */
.hero { position: relative; overflow: hidden; background: var(--ai-deep); color: var(--on-deep); }
.hero-in { position: relative; padding: 88px 16px 96px; }
.hero-cube { position: absolute; right: -80px; bottom: -120px; width: 520px; height: 520px; fill: none; stroke: var(--on-deep); stroke-opacity: 0.09; stroke-width: 0.3; stroke-linejoin: round; }
.status { display: inline-block; margin: 0 0 20px; padding: 2px 12px; border-radius: 999px; border: 1px solid var(--on-deep-soft); color: var(--on-deep-soft); font-size: 13px; font-weight: 700; }
.hero h1 { margin: 0 0 20px; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; }
.hero-lead { max-width: 40em; margin: 0 0 32px; color: var(--on-deep-soft); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 0; background: var(--ai); color: var(--surface); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--ai-hover); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-light { background: var(--surface); color: var(--ai-deep); }
.btn-light:hover { background: var(--ai-soft); }
.btn-line { background: transparent; color: var(--on-deep); border: 1px solid var(--on-deep-soft); }
.btn-line:hover { background: rgb(255 255 255 / 0.08); }

/* 帯 */
.band { padding: 80px 0; border-top: 1px solid var(--line); }
.band h2 { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.35; letter-spacing: -0.01em; }
.section-lead { margin: 0 0 32px; color: var(--soft); }
.band h3 { margin: 0 0 12px; font-size: 18px; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.pillars article { border-top: 3px solid var(--ai); padding-top: 20px; }
.pillars ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 15px; }
.pillars li + li { margin-top: 8px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.band-split { padding: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.split article { padding: 72px 32px 72px 16px; }
.split article + article { background: var(--canvas); padding-left: 32px; }
.eyebrow-line { margin: 0 0 8px; color: var(--ai); font-weight: 700; font-size: 14px; }
.split p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0; }
.checks li { position: relative; padding-left: 28px; margin: 8px 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--ai); border-bottom: 2px solid var(--ai); transform: rotate(-45deg); }
.note { color: var(--soft); font-size: 14px; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split article, .split article + article { padding: 56px 16px; }
}

.roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.roadmap > div { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.roadmap ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.roadmap li + li { margin-top: 6px; }
.badge { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 14px; }
.badge-now { background: var(--ok-soft); color: var(--ok); }
.badge-next { background: var(--ai-soft); color: var(--ai); }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 12px 0 0; color: var(--muted); }

.band-notify { background: var(--canvas); }
.notify { display: flex; gap: 8px; margin-top: 20px; }
.notify input { flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid #d3d7de; border-radius: 10px; font: inherit; background: var(--surface); }
@media (max-width: 560px) { .notify { flex-direction: column; } }

.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 16px; color: var(--soft); font-size: 13px; }

/* お店の人を主役にした組み立て（2026-10-29） */
.band-soft { background: var(--canvas); }
.sp-only { display: none; }
@media (max-width: 560px) { .sp-only { display: inline; } }

.worries { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.worries li { border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; color: var(--muted); }
.worries b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
@media (max-width: 760px) { .worries { grid-template-columns: 1fr; } }

.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 32px; }
.promises article { border-top: 3px solid var(--ai); padding-top: 20px; }
.promises p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }

.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.cases article { background: var(--surface); border-radius: 16px; padding: 24px; }
.cases p { margin: 0; color: var(--muted); }
.soon { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ai-soft); color: var(--ai); font-size: 12px; white-space: nowrap; }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: step; position: relative; padding-top: 48px; color: var(--muted); }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ai); color: var(--surface); display: grid; place-items: center; font-weight: 800; }
.steps b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.band-builders { padding: 48px 0; }
.builders { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.builders h2 { font-size: 20px; }
.builders p { margin: 0; color: var(--muted); max-width: 44em; }
