/* FlowLog の公開サイト (トップ・法的表記)。アプリと同じ青と F のリングを使う */
:root {
  --bg: #ffffff; --bg-soft: #f4f6f9; --surface: #ffffff; --ink: #14171c; --text-2: #4d5562; --text-3: #7d8593;
  --line: #e3e6ec; --accent: #175de8; --accent-soft: #e8effd; --accent-fg: #ffffff; --done: #1d8a4f;
  --shadow: 0 20px 50px -20px rgba(20, 30, 60, .25), 0 2px 6px rgba(20, 30, 60, .06);
  --f: "DM Sans", "Noto Sans JP", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1115; --bg-soft: #161920; --surface: #1a1d24; --ink: #eceef2; --text-2: #a8afbb; --text-3: #7c8492;
    --line: #2a2e37; --accent: #5b8cff; --accent-soft: #1b2744; --accent-fg: #0b0e16; --done: #4cc77f;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3); color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.s-wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

/* ヘッダー */
.s-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.s-head-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.s-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 18px; letter-spacing: -.01em; }
.s-brand svg { width: 24px; height: 24px; color: var(--accent); }
.s-brand b { font-weight: 700; }
.s-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.s-nav a:not(.s-btn) { color: var(--text-2); text-decoration: none; }
.s-nav a:not(.s-btn):hover { color: var(--ink); }

/* ボタン */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 22px; border-radius: 10px;
  background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s, filter .15s; }
.s-btn:hover { filter: brightness(1.08); }
.s-btn:active { transform: scale(.98); }
.s-btn:focus-visible, .s-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.s-btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.s-btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.s-btn-ghost:hover { background: var(--bg-soft); filter: none; }

/* ヒーロー */
.s-hero { padding: 72px 0 80px; background: radial-gradient(900px 400px at 85% 10%, var(--accent-soft), transparent 70%); }
.s-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.s-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.s-hero h1 { margin: 0; font-size: clamp(36px, 5.6vw, 58px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.s-lead { margin: 22px 0 0; font-size: 16.5px; color: var(--text-2); max-width: 34em; }
.s-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.s-note { margin: 16px 0 0; font-size: 13px; color: var(--text-3); }

/* アプリのイメージ */
.s-mock { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 22px; }
.s-mock-ring { position: relative; width: 180px; height: 180px; margin: 0 auto; }
.s-mock-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.s-mock-ring circle { fill: none; stroke-width: 9; }
.s-mock-ring .track { stroke: var(--bg-soft); }
.s-mock-ring .bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 81; animation: s-ring 2.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes s-ring { from { stroke-dashoffset: 326.7; } }
.s-mock-time { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.s-mock-time b { font-size: 36px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.s-mock-time span { font-size: 12px; color: var(--text-3); }
.s-mock-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.s-mock-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13.5px; }
.s-mock-list .t { font-variant-numeric: tabular-nums; color: var(--text-3); font-size: 12.5px; }
.s-mock-list .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-mock-list .done .n { color: var(--text-3); text-decoration: line-through; }
.s-mock-list .done .d { width: 16px; height: 16px; border-radius: 50%; background: var(--done); }
.s-mock-list .now { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.s-mock-list .who { display: flex; }
.s-mock-list .who i { display: grid; place-items: center; width: 22px; height: 22px; margin-left: -6px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-style: normal; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 2px var(--surface); }

/* セクション */
.s-sec { padding: 80px 0; }
.s-sec-alt { background: var(--bg-soft); }
.s-h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.s-sub { margin: 0 0 28px; color: var(--text-3); font-size: 13.5px; }
.s-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.s-feat { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.s-feat h3 { margin: 14px 0 8px; font-size: 16.5px; line-height: 1.45; }
.s-feat p { margin: 0; font-size: 14px; color: var(--text-2); }
.s-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.s-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 料金 */
.s-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 820px; }
.s-plan { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.s-plan.is-main { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.s-plan.is-soon { border-style: dashed; background: transparent; }
.s-plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.s-plan h3 { margin: 0; font-size: 20px; }
.s-price { margin: 0; font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.s-price small { margin-left: 4px; font-size: 14px; font-weight: 500; color: var(--text-3); }
.s-soon { margin: 0; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.s-plan-for { margin: 0; color: var(--text-2); font-size: 14px; }
.s-plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.s-plan li { display: flex; gap: 10px; }
.s-plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 5px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-5' fill='none' stroke='%23175de8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.s-plan .s-btn { margin-top: auto; align-self: flex-start; }
.s-plan-note { margin: 0; font-size: 13px; color: var(--text-3); }
.s-final { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* 文書 (特商法・規約・ポリシー) */
.s-doc { max-width: 820px; padding-top: 56px; padding-bottom: 80px; }
.s-doc h1 { margin: 0 0 28px; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.3; }
.s-doc h2 { margin: 36px 0 10px; font-size: 18px; }
.s-doc p, .s-doc li { color: var(--text-2); }
.s-doc ol, .s-doc ul { padding-left: 1.4em; display: flex; flex-direction: column; gap: 4px; }
.s-doc b { color: var(--ink); }
.s-doc-warn { padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--ink) !important; font-size: 14px; }
.s-table { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.s-table > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-top: 1px solid var(--line); }
.s-table > div:first-child { border-top: 0; }
.s-table dt { padding: 14px 18px; background: var(--bg-soft); font-weight: 700; font-size: 14px; }
.s-table dd { margin: 0; padding: 14px 18px; font-size: 14.5px; color: var(--text-2); overflow-wrap: anywhere; }
.s-table small { color: var(--text-3); font-size: 12.5px; }
.s-doc-date { margin-top: 32px; font-size: 13px; color: var(--text-3) !important; }

/* フッター */
.s-foot { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.s-foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: start; }
.s-foot-brand { display: flex; flex-direction: column; font-size: 13px; color: var(--text-3); }
.s-foot-brand b { font-size: 15px; color: var(--ink); }
.s-foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.s-foot-nav a { color: var(--text-2); text-decoration: none; }
.s-foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.s-copy { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--text-3); }

@media (max-width: 900px) {
  .s-hero-in { grid-template-columns: 1fr; }
  .s-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .s-hero { padding: 44px 0 56px; }
  .s-sec { padding: 56px 0; }
  .s-feats, .s-plans { grid-template-columns: 1fr; }
  .s-nav a:not(.s-btn) { display: none; }
  .s-table > div { grid-template-columns: 1fr; }
  .s-table dt { padding-bottom: 6px; }
  .s-table dd { padding-top: 8px; }
  .s-foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .s-mock-ring .bar { animation: none; } }
