/* atelier — LP / ログイン画面スタイル (ダッシュボードは app.css) */
:root {
  --bg: #0f1115;
  --bg-2: #161922;
  --card: #181b22;
  --line: #262b36;
  --text: #e6e9ef;
  --muted: #9aa3b2;
  --dim: #6b7280;
  --accent: #7aa2ff;
  --accent-ink: #0f1115;
  --danger: #ff6b6b;
  --radius: 14px;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.accent { color: var(--accent); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 14px; cursor: pointer; transition: .15s;
  background: var(--bg-2); color: var(--text);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #93b4ff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; background: rgba(15,17,21,.8); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .02em; }
.brand .logo { color: var(--accent); }
.brand-name { font-size: 18px; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a:not(.btn) { color: var(--muted); font-size: 14px; }
.site-nav a:not(.btn):hover { color: var(--text); }

/* ---- hero ---- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 72px 28px 48px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; margin: 0 0 14px; }
.hero h1 { font-size: 48px; line-height: 1.15; margin: 0 0 18px; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 28px; max-width: 36em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { color: var(--dim); font-size: 13px; margin-top: 16px; }

.hero-art { display: flex; justify-content: center; }
.window { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.window-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4150; }
.window-bar span:first-child { background: #ff6b6b; }
.window-bar span:nth-child(2) { background: #ffcc66; }
.window-bar span:nth-child(3) { background: #6bd49a; }
.window-body { padding: 18px; position: relative; }
.ww-badge { display: inline-block; font-size: 11px; font-weight: 700; color: #6bd49a;
  border: 1px solid #2c5b43; border-radius: 999px; padding: 3px 10px; margin-bottom: 16px; }
.ww-line { height: 9px; border-radius: 6px; background: #232836; margin: 9px 0; }
.ww-line.w80 { width: 80%; } .ww-line.w60 { width: 60%; } .ww-line.w70 { width: 70%; }
.ww-canvas { margin-top: 18px; height: 130px; display: flex; align-items: center; justify-content: center;
  font-size: 54px; color: var(--accent); background: radial-gradient(circle at 50% 40%, #1e2330, #14171f);
  border: 1px solid var(--line); border-radius: 10px; }

/* ---- values ---- */
.values { max-width: var(--maxw); margin: 0 auto; padding: 24px 28px 8px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value-ico { font-size: 26px; margin-bottom: 10px; }
.value h3 { margin: 0 0 8px; font-size: 17px; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---- sections ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 64px 28px; }
.section-title { font-size: 30px; text-align: center; margin: 0 0 10px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 34px; }
.section-note { text-align: center; color: var(--dim); font-size: 13px; margin-top: 24px; }

.steps, .apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step, .app-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-no { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3, .app-card h3 { margin: 0 0 8px; font-size: 17px; }
.step p, .app-card p { margin: 0; color: var(--muted); font-size: 14px; }
.app-ico { font-size: 30px; margin-bottom: 10px; }
.app-soon { opacity: .7; }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center; display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { margin: 6px 0 0; font-size: 16px; }
.plan-price { font-size: 26px; font-weight: 800; }
.plan-price .per { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan-quota { color: var(--muted); font-size: 13px; }
.section-note .link { color: var(--accent); text-decoration: underline; }
.plan .btn { margin-top: auto; }

/* ---- CTA ---- */
.cta { text-align: center; padding: 72px 28px; background:
  radial-gradient(circle at 50% 0%, #1b2030, transparent 70%); }
.cta h2 { font-size: 30px; margin: 0 0 10px; }
.cta p { color: var(--muted); margin: 0 0 24px; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 28px; text-align: center; }
.site-footer .brand { justify-content: center; margin-bottom: 8px; }
.site-footer .link { color: var(--accent); text-decoration: none; }
.site-footer .link:hover { text-decoration: underline; }

/* ---- 法務ページ (特商法等) ---- */
.legal { max-width: 760px; }
.legal .section-title { text-align: left; margin-bottom: 24px; }
.legal-table table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 14px 12px;
  border-bottom: 1px solid var(--line); font-size: 14px; }
.legal-table th { width: 34%; color: var(--text); font-weight: 700; }
.legal-table td { color: var(--muted); }
.legal-doc { font-size: 14px; line-height: 1.8; }
.legal-doc section { margin-bottom: 24px; }
.legal-doc h2 { font-size: 16px; margin: 0 0 8px; color: var(--text); }
.legal-doc p { color: var(--muted); margin: 0 0 8px; }
.legal-doc ul { color: var(--muted); margin: 6px 0; padding-left: 1.4em; }
.legal-doc ul ul { margin: 4px 0; }
.legal-doc li { margin: 3px 0; }
.legal-updated { text-align: center; margin-top: 32px; }

/* ---- auth page ---- */
.auth-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px;
  background: radial-gradient(circle at 50% 20%, #181c27, var(--bg) 60%); }
.auth-wrap { width: 100%; max-width: 400px; }
.auth-brand { justify-content: center; font-size: 22px; margin-bottom: 20px; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.auth-card h1 { font-size: 22px; margin: 0 0 6px; text-align: center; }
.auth-card > .muted { text-align: center; display: block; margin-bottom: 22px; }
.auth-msg { background: #2a1c1f; border: 1px solid #5b2c30; color: #ffb4b4;
  border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 18px; }
.btn-google { width: 100%; background: #fff; color: #1f2328; border: 1px solid #d0d5dd; }
.btn-google:hover { background: #f1f3f5; }
.g-ico { font-weight: 800; color: #4285f4; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: flex; flex-direction: column; gap: 8px; }
.auth-form label { font-size: 13px; color: var(--muted); }
.auth-form input { background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font-size: 15px; outline: none; }
.auth-form input:focus { border-color: var(--accent); }
.auth-form .btn { margin-top: 6px; }
.auth-sent { text-align: center; }
.sent-ico { font-size: 36px; margin-bottom: 8px; }
.auth-sent p { margin: 6px 0; }
.auth-foot { text-align: center; margin: 22px 0 0; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-art { order: -1; }
  .hero h1 { font-size: 36px; }
  .values, .steps, .apps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .site-nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .plans { grid-template-columns: 1fr; }
}
