/* LP（/）。ログイン前に見る紹介ページ */
.lp { scroll-behavior: smooth; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.lp-nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.hero { background: radial-gradient(1200px 500px at 85% -10%, #3c63d8 0%, transparent 60%),
  linear-gradient(160deg, #0b1020 0%, #13244d 55%, #1b3a80 100%); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.nb { white-space: nowrap; }
#login { scroll-margin-top: 84px; }
.hero-tag { display: inline-block; font-size: 12px; letter-spacing: .08em; border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px; padding: 2px 12px; }
.hero h1 { font-size: clamp(25px, 3.6vw, 46px); line-height: 1.3; margin: 18px 0 16px; letter-spacing: .01em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffd34d, #ffb000); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.lead { font-size: clamp(15px, 1.8vw, 17px); color: rgba(255, 255, 255, .86); margin: 0 0 28px; max-width: 34em; }
.hero-demos { display: inline-flex; align-items: center; gap: 8px; margin: -10px 0 22px; color: #ffd34d; font-weight: 700;
  text-decoration: none; }
.hero-demos:hover { text-decoration: underline; }

.login-box { background: var(--surface); color: var(--text); border-radius: 18px; padding: 20px; max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.login-box .fine { margin: 12px 0 0; }
.login-box .soon { font-size: 14px; }
.login-box .signed-in { display: flex; flex-direction: column; gap: 10px; }
.signed-in .who { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.signed-in .btn.primary { padding: 12px 16px; font-size: 15px; }

.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 8% 4% -4% 10%; background: radial-gradient(closest-side, rgba(91, 140, 255, .5), transparent);
  filter: blur(30px); }
.ill { position: relative; width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.ill-window { fill: var(--surface); stroke: var(--border); }
.ill-line { stroke: var(--border); }
.ill-user { fill: var(--primary-soft); }
.ill-bubble { fill: var(--surface-2); }
.ill-card { fill: var(--surface); stroke: var(--border); }
.ill-ink { fill: var(--surface-3); }
.ill-ink-soft { fill: var(--primary); opacity: .35; }
.ill-track { fill: var(--surface-3); }

.band { padding: 80px 0; }
.band.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 32px; letter-spacing: .01em; }
.band h3 { font-size: 17px; margin: 0 0 8px; }
.band p { margin: 0; color: var(--muted); }

/* 見本動画。カードの絵は軽い 640×360、再生の画面で 720p の動画を読み込む（押すまで読み込まない） */
.band .demos-lead { max-width: 46em; margin: -18px 0 24px; }
.demo-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.demo-filters button { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px;
  padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.demo-filters button small { margin-left: 6px; color: var(--muted); font-size: 12px; }
.demo-filters button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.demo-filters button[aria-pressed="true"] small { color: inherit; opacity: .8; }
.demo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.demo-card { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer; }
.demo-card.featured { grid-column: span 2; grid-row: span 2; }
.demo-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: #0e1424; box-shadow: var(--shadow); }
.demo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.demo-card:hover .demo-thumb img, .demo-card:focus-visible .demo-thumb img { transform: scale(1.04); }
.demo-play { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%;
  background: rgba(10, 15, 25, .55); border: 1.5px solid rgba(255, 255, 255, .75); backdrop-filter: blur(4px); }
.demo-play::after { content: ""; position: absolute; left: 19px; top: 14px; border-left: 15px solid #fff;
  border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.demo-card.featured .demo-play { transform: scale(1.4); }
.demo-time { position: absolute; right: 8px; bottom: 8px; padding: 1px 7px; border-radius: 6px; background: rgba(0, 0, 0, .65);
  color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.demo-meta { display: flex; flex-direction: column; gap: 2px; }
.demo-field { color: var(--primary); font-size: 12px; font-weight: 700; }
.demo-title { font-size: 15px; font-weight: 700; line-height: 1.45; }
.demo-card.featured .demo-title { font-size: 18px; }
.demo-more { display: flex; margin: 28px auto 0; }
.demo-modal { max-width: 960px; overflow: hidden; }
.demo-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.demo-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 18px 18px; }
.demo-caption h3 { margin: 2px 0 4px; font-size: 17px; }
.demo-caption p { margin: 0; color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.band.alt .step { background: var(--bg); }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary);
  color: #fff; font-weight: 800; margin-bottom: 14px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.band:not(.alt) .feature { background: var(--surface); }
.feature h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--accent);
  margin-right: 10px; vertical-align: 2px; }

.pricing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pricing > div > p { color: var(--text); font-size: 16px; }
.ticks { padding: 0; margin: 18px 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok);
  border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.price-card p { margin: 0 0 14px; }
.pack-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pack-list span { text-align: center; padding: 14px 6px; border-radius: 12px; background: var(--primary-soft); color: var(--primary);
  font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.pack-list span small { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; }
.pack-list span em { display: block; margin-top: 6px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 4px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; }

.cta { background: linear-gradient(160deg, #0b1020, #1b3a80); color: #fff; }
.cta p { color: rgba(255, 255, 255, .8); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: center; }
.cta h2 { margin-bottom: 12px; }

.lp-foot { padding: 36px 0 48px; border-top: 1px solid var(--border); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
.foot-links a { color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: clamp(25px, 7.4vw, 40px); }
  .hero-inner, .pricing, .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 560px; }
  .login-box { max-width: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .band { padding: 56px 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .pack-list span { font-size: 15px; }
  .demo-grid { gap: 18px 12px; }
  .demo-title { font-size: 14px; }
  .demo-card.featured { grid-row: auto; }
  .demo-play { transform: scale(.85); }
}
