/* 紹介ページ (トップ・株式スクリーナーの説明・ログイン) で共通の見た目。共通ヘッダー・フッターは site.css */
:root {
  --bg: #070b12; --bg-2: #0b111c; --panel: rgba(255,255,255,.035);
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --ink: #eef3f9; --ink-2: #9aa8ba; --ink-3: #66758a;
  --cyan: #38e1ff; --violet: #8b7bff; --mint: #3ef0a6; --amber: #ffc25c;
  --up: #ff5f6d; --down: #2ee59d;
  --grad-a: linear-gradient(120deg, #38e1ff 0%, #8b7bff 100%);
  --grad-b: linear-gradient(120deg, #3ef0a6 0%, #38c6ff 100%);
  --font: "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 15px; line-height: 1.8; font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 24px; }
.grad-a { background: var(--grad-a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-b { background: var(--grad-b); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 背景 ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg .grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .55;
}
.bg .orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: drift 18s ease-in-out infinite alternate; }
.bg .o1 { width: 520px; height: 520px; background: #2a6dff; top: -180px; left: -120px; }
.bg .o2 { width: 460px; height: 460px; background: #7b3cff; top: -120px; right: -140px; animation-delay: -6s; }
.bg .o3 { width: 380px; height: 380px; background: #00c98d; top: 60%; left: 55%; opacity: .18; animation-delay: -12s; }
.bg.mint .o1 { background: #00b884; } .bg.mint .o2 { background: #1a7bff; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.1); } }

/* ---------- ボタン ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px;
  font-weight: 700; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; font-size: 15px; line-height: 1.5;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.a { background: var(--grad-a); color: #061018; box-shadow: 0 8px 30px -8px rgba(56,225,255,.6); }
.btn.b { background: var(--grad-b); color: #04140d; box-shadow: 0 8px 30px -8px rgba(62,240,166,.55); }
.btn.ghost { border-color: var(--line-2); background: var(--panel); color: var(--ink); }
.btn.ghost:hover { border-color: rgba(255,255,255,.3); }

/* ---------- セクション ---------- */
section.block { padding: 110px 0; position: relative; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; }
.kicker.b { color: var(--mint); }
section.block h2 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.25; margin: 0 0 18px; font-weight: 900; letter-spacing: -.005em; }
section.block p.sub { color: var(--ink-2); margin: 0 0 48px; max-width: 640px; font-size: 16px; }
.center { text-align: center; }
section.block .center p.sub { margin-left: auto; margin-right: auto; }

/* ---------- 画面イメージ ---------- */
.mock {
  position: relative; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,8,14,.75);
  overflow: hidden; font-size: 12px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
}
.mock .chrome { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); align-items: center; }
.mock .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #2a3342; }
.mock .chrome span { margin-left: 8px; font-family: var(--mono); color: var(--ink-3); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock .chips { display: flex; gap: 6px; padding: 10px 12px 4px; flex-wrap: wrap; }
.mock .chip { padding: 1px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.mock .chip.on { border-color: rgba(56,225,255,.6); color: var(--cyan); background: rgba(56,225,255,.1); }
.mock table { width: 100%; border-collapse: collapse; }
.mock th, .mock td { padding: 7px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.mock th { color: var(--ink-3); font-weight: 500; }
.mock th:first-child, .mock td:first-child { text-align: left; }
.mock tr:last-child td { border-bottom: 0; }
.mock .up { color: var(--up); } .mock .down { color: var(--down); }

/* ---------- カード・タグ ---------- */
.fcard {
  border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--panel);
  transition: border-color .25s, background .25s; min-width: 0;
}
.fcard:hover { border-color: var(--line-2); background: rgba(255,255,255,.055); }
.fcard .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; background: rgba(56,225,255,.1); }
.fcard .ic svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b-sec .fcard .ic { background: rgba(62,240,166,.1); }
.b-sec .fcard .ic svg { stroke: var(--mint); }
.fcard h4 { margin: 0 0 4px; font-size: 15px; }
.fcard p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.tags span { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; font-size: 13px; background: var(--panel); }
.tags span small { color: var(--ink-3); margin-left: 6px; }

/* ---------- 締めの呼びかけ ---------- */
.cta { padding: 120px 0 130px; text-align: center; position: relative; }
.cta .box {
  border: 1px solid var(--line-2); border-radius: 28px; padding: 64px 28px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 0%, rgba(56,225,255,.16), transparent 55%), radial-gradient(ellipse at 80% 100%, rgba(62,240,166,.14), transparent 55%), #0b111c;
}
.cta h2 { font-size: clamp(28px, 4.5vw, 48px); margin: 0 0 14px; font-weight: 900; line-height: 1.25; }
.cta p { color: var(--ink-2); margin: 0 0 32px; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- スクロールで表示 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section.block { padding: 72px 0; }
  .cta { padding: 72px 0 90px; }
  .cta .box { padding: 48px 20px; }
}
