:root {
  --navy: #1b2a4a;
  --red: #c43a2f;
  --gray: #6e7284;
  --bg-top: #f6f6fa;
  --bg-bot: #e7e7ef;
  --card: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  color: var(--navy);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bot));
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
}
.nav {
  max-width: 1080px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav img { height: 34px; image-rendering: pixelated; }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--red); }

/* hero */
.hero {
  max-width: 1080px; margin: 0 auto; padding: 64px 20px 30px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 48px;
}
.hero-copy { text-align: center; max-width: 460px; }
.hero-copy .logo { width: min(420px, 86vw); margin: 0 auto 26px; image-rendering: pixelated; }
.hero-copy h1 {
  font-size: clamp(20px, 4.6vw, 27px); font-weight: 800; line-height: 1.6;
}
.hero-copy .rule { width: 88px; height: 4px; background: var(--red); margin: 20px auto; border-radius: 2px; }
.hero-copy .sub { color: var(--gray); font-size: 14px; line-height: 1.9; }
.badge {
  display: inline-block; margin-top: 24px; padding: 10px 26px;
  border: 2px solid var(--navy); border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
}
.hero-chars { width: min(340px, 70vw); margin: 34px auto 0; image-rendering: pixelated; }

/* phone frame */
.phone {
  width: min(280px, 74vw);
  border-radius: 34px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 16, 40, 0.30);
  background: #000;
  flex: none;
}
.phone.large { width: min(320px, 80vw); }
.phone video { width: 100%; }

/* sections */
section { padding: 64px 20px; }
.inner { max-width: 1080px; margin: 0 auto; }
.sec-title { text-align: center; font-size: clamp(21px, 4vw, 28px); font-weight: 800; }
.sec-title small {
  display: block; color: var(--red); font-size: 12px; letter-spacing: 0.28em;
  margin-bottom: 10px; font-weight: 700;
}
.sec-rule { width: 64px; height: 4px; background: var(--red); margin: 18px auto 0; border-radius: 2px; }

/* features */
.features {
  margin-top: 44px; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: var(--card); border-radius: 20px; padding: 30px 24px;
  text-align: center; box-shadow: 0 8px 28px rgba(20, 16, 40, 0.08);
}
.feature .num { font-size: 40px; font-weight: 800; color: var(--red); line-height: 1; }
.feature .num small { font-size: 17px; color: var(--navy); }
.feature h3 { font-size: 16px; margin-top: 12px; }
.feature p { font-size: 13px; color: var(--gray); margin-top: 8px; line-height: 1.8; }

/* video gallery */
.gallery {
  margin-top: 46px; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 40px 34px;
}
.movie { text-align: center; }
.movie figcaption { margin-top: 14px; font-size: 14px; font-weight: 700; }
.movie figcaption span { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; color: var(--gray); }

/* screenshots */
.shots {
  margin-top: 44px; display: flex; gap: 18px; overflow-x: auto;
  padding: 10px 4px 26px; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.shots img {
  width: 200px; border-radius: 18px; flex: none; scroll-snap-align: center;
  box-shadow: 0 10px 30px rgba(20, 16, 40, 0.16);
}

/* contact cta */
.cta { text-align: center; }
.btn {
  display: inline-block; margin-top: 26px; padding: 16px 44px;
  background: var(--navy); color: #fff; border-radius: 999px;
  font-weight: 700; font-size: 15px; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--red); transform: translateY(-2px); }

/* footer */
footer {
  border-top: 1px solid rgba(27, 42, 74, 0.1);
  padding: 34px 20px 44px; text-align: center; font-size: 12px; color: var(--gray);
}
.foot-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 14px; font-weight: 600; }
.foot-links a:hover { color: var(--red); }

/* text pages (privacy / terms / contact) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 24px; text-align: center; }
.doc .updated { text-align: center; color: var(--gray); font-size: 12px; margin: 12px 0 40px; }
.doc h2 { font-size: 17px; margin: 36px 0 12px; border-left: 4px solid var(--red); padding-left: 12px; }
.doc p, .doc li { font-size: 14px; line-height: 2.0; color: #333a4e; }
.doc ul { padding-left: 22px; }
.doc .card {
  background: var(--card); border-radius: 20px; padding: 40px 28px; text-align: center;
  box-shadow: 0 8px 28px rgba(20, 16, 40, 0.08); margin-top: 36px;
}
.doc .mail { font-size: 18px; font-weight: 700; margin-top: 6px; word-break: break-all; }
