:root {
  --blue: #2563eb;
  --sky: #38bdf8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f1f5f9;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e2e8f0; --muted: #94a3b8; --line: #1e293b; --bg: #0b1120; --soft: #111827; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--ink); }

.hero { text-align: center; padding: 88px 0 64px; }
.hero img { width: 128px; height: 128px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.25; margin: 24px 0 16px; letter-spacing: -0.01em; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 12px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--line); color: var(--ink);
}
.btn.primary { background: linear-gradient(180deg, var(--sky), var(--blue)); color: #fff; border: none; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 28px; margin: 0 0 28px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--soft); border-radius: 16px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .emoji { font-size: 28px; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 640px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 28px; text-align: center; }
.plan.best { border: 2px solid var(--blue); position: relative; }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan .price { font-size: 34px; font-weight: 700; margin: 8px 0; }
.plan .per { color: var(--muted); font-size: 14px; }

.doc { max-width: 760px; padding: 48px 24px 80px; }
.doc h1 { font-size: 30px; margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin-top: 36px; }
.doc .updated { color: var(--muted); font-size: 14px; }
table.law { width: 100%; border-collapse: collapse; margin-top: 24px; }
table.law th, table.law td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; font-size: 15px; }
table.law th { width: 30%; background: var(--soft); font-weight: 600; }

footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer a { color: var(--muted); margin-right: 16px; }

.btn.soon { opacity: .6; cursor: default; pointer-events: none; }

/* 紹介動画（日本語／English 切り替え） */
#video { padding-top: 32px; }
.vtabs { display: flex; justify-content: center; gap: 6px; margin: -8px auto 18px; }
.vtabs button { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.vtabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.vframe { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(15, 23, 42, .18); background: #e8eef9; aspect-ratio: 16 / 9; }
.vframe video { display: block; width: 100%; height: 100%; object-fit: cover; }
