@charset "UTF-8";
/* ==========================================================================
   ZEN AI LAB — FUTURE TERMINAL v2（HOME v2・2026-09-30。v1 の共通・ヒーロー・オフィス・ログ・フッターを継承）
   front-page.php だけが読み込む。投稿・固定ページ・他の zen テンプレートには影響しない。
   モバイルを先に書き、768px / 1100px で広げる。動きは transform / opacity のみ。
   ========================================================================== */

:root {
  --ft-void: #03060f;
  --ft-night: #060c1c;
  --ft-deep: #0a1430;
  --ft-panel: rgba(11, 22, 50, .62);
  --ft-panel-hi: rgba(18, 36, 78, .72);
  --ft-line: rgba(120, 170, 255, .16);
  --ft-line-hi: rgba(120, 190, 255, .42);
  --ft-text: #eaf1ff;
  --ft-dim: #a7b6d8;
  --ft-mute: #8393b8;
  --ft-blue: #3f8cff;
  --ft-cyan: #6fd6ff;
  --ft-ice: #c9ecff;
  --ft-ok: #56e3b0;
  --ft-free: #56e3b0;
  --ft-glow: 0 0 0 1px rgba(111, 214, 255, .35), 0 0 28px rgba(63, 140, 255, .35);
  --ft-radius: 14px;
  --ft-radius-sm: 8px;
  --ft-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --ft-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --ft-gutter: 20px;
  --ft-header-h: 60px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --ft-gutter: 32px; --ft-header-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ft-header-h) + 12px); -webkit-text-size-adjust: 100%; }
body.ft-body {
  margin: 0;
  background: var(--ft-void);
  color: var(--ft-text);
  font-family: var(--ft-sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body.ft-body { font-size: 16px; } }
.ft-body img { max-width: 100%; height: auto; display: block; }
.ft-body a { color: inherit; text-decoration: none; }
.ft-body :focus-visible { outline: 2px solid var(--ft-cyan); outline-offset: 3px; border-radius: 4px; }
.ft-mono { font-family: var(--ft-mono); font-variant-numeric: tabular-nums; }
.ft-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ft-i { flex: none; width: 1em; height: 1em; }
.ft-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--ft-gutter); }
.ft-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ft-text); color: var(--ft-void) !important; border-radius: 6px; }
.ft-skip:focus { top: 12px; }

/* ---------- header ---------- */
.ft-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
/* ログイン中の WordPress 管理バー（固定・32px / 782px 以下 46px）の下に置く。訪問者には出ない */
.admin-bar .ft-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ft-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ft-header { top: 0; } }
.ft-header.is-solid, .ft-header.is-open {
  background: rgba(4, 8, 20, .78);
  border-bottom-color: var(--ft-line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.ft-header-inner { height: var(--ft-header-h); display: flex; align-items: center; gap: 24px; }
.ft-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .14em; font-size: 14px; white-space: nowrap; }
.ft-logo-mark {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--ft-cyan);
  box-shadow: 0 0 12px rgba(111, 214, 255, .7), inset 0 0 6px rgba(111, 214, 255, .5);
}
.ft-nav { display: none; margin-left: auto; gap: 4px; }
.ft-nav a {
  position: relative; padding: 8px 14px; font-size: 13px; letter-spacing: .06em; color: var(--ft-dim);
  white-space: nowrap; transition: color .2s ease;
}
.ft-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ft-blue), var(--ft-cyan));
  box-shadow: 0 0 10px var(--ft-cyan);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.ft-nav a:hover, .ft-nav a.is-current { color: var(--ft-text); }
.ft-nav a:hover::after, .ft-nav a.is-current::after { transform: scaleX(1); }
.ft-menu-btn {
  margin-left: auto; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--ft-line-hi); border-radius: 10px; background: rgba(8, 16, 36, .6); color: var(--ft-text); cursor: pointer;
}
.ft-menu-btn .ft-i { width: 22px; height: 22px; }
.ft-menu-close, .ft-header.is-open .ft-menu-open { display: none; }
.ft-header.is-open .ft-menu-close { display: inline; }
.ft-drawer { border-top: 1px solid var(--ft-line); max-height: calc(100svh - var(--ft-header-h)); overflow-y: auto; }
.ft-drawer-nav { display: grid; padding-block: 12px 28px; }
.ft-drawer-nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--ft-line); }
.ft-drawer-nav .ft-drawer-minor { font-size: 15px; color: var(--ft-dim); padding: 10px 4px; }
.ft-drawer-sub { margin: 20px 0 4px; font: 11px/1 var(--ft-mono); letter-spacing: .16em; color: var(--ft-mute); text-transform: uppercase; }
@media (min-width: 900px) {
  .ft-nav { display: flex; }
  .ft-menu-btn, .ft-drawer { display: none !important; }
}

/* ---------- buttons / chips ---------- */
.ft-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.ft-btn .ft-i { width: 18px; height: 18px; transition: transform .25s ease; }
.ft-btn:hover .ft-i { transform: translateX(3px); }
.ft-btn-primary {
  color: #031024 !important;
  background: linear-gradient(135deg, var(--ft-ice), var(--ft-cyan) 45%, var(--ft-blue));
  box-shadow: 0 8px 30px -8px rgba(63, 140, 255, .7);
}
.ft-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 36px -6px rgba(111, 214, 255, .8); }
.ft-btn-ghost { color: var(--ft-text); border: 1px solid var(--ft-line-hi); background: rgba(8, 18, 42, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ft-btn-ghost:hover { border-color: var(--ft-cyan); box-shadow: var(--ft-glow); }
.ft-chip {
  display: inline-block; align-self: flex-start; padding: 3px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .06em;
  color: var(--ft-cyan); border: 1px solid rgba(111, 214, 255, .3); background: rgba(63, 140, 255, .08);
}

/* ---------- sections (shared) ---------- */
.ft-section { position: relative; padding-block: 88px; }
@media (min-width: 1100px) { .ft-section { padding-block: 128px; } }
.ft-section::before {
  /* セクションの境目に走る細い光 */
  content: ""; position: absolute; top: 0; left: 50%; width: min(880px, 86%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(111, 214, 255, .45), transparent);
}
.ft-head { max-width: 720px; margin-bottom: 40px; }
.ft-head-center { margin-inline: auto; text-align: center; }
.ft-eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .2em; color: var(--ft-cyan); text-transform: uppercase; }
.ft-head h2, .ft-gate-copy h2 {
  margin: 0 0 14px; font-size: clamp(26px, 5.6vw, 44px); line-height: 1.3; font-weight: 700; letter-spacing: .01em; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere;
}
.ft-head p:not(.ft-eyebrow) { margin: 0; color: var(--ft-dim); }

/* ---------- 01 HERO ---------- */
.ft-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; padding-top: calc(var(--ft-header-h) + env(safe-area-inset-top, 0px) + 28px);
  display: flex; flex-direction: column;
}
.ft-hero-stage { position: absolute; inset: 0; z-index: -1; }
.ft-hero-bg, .ft-hero-bg img { position: absolute; inset: -3% -3% -3% -3%; width: 106%; height: 106%; }
.ft-hero-bg img { object-fit: cover; object-position: 62% 40%; }
.ft-hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 6, 15, .88) 0%, rgba(3, 6, 15, .55) 34%, rgba(3, 6, 15, .35) 55%, rgba(3, 6, 15, .92) 88%, var(--ft-void) 100%);
}
.ft-hero-grid {
  position: absolute; inset: auto 0 0 0; height: 38%;
  background-image: linear-gradient(rgba(111, 214, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 214, 255, .09) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
  transform: perspective(600px) rotateX(58deg); transform-origin: bottom;
  opacity: .5;
}
.ft-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ft-hero-inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px; }
.ft-hero-copy { position: relative; z-index: 2; max-width: 640px; }
.ft-boot { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 11px; letter-spacing: .2em; color: var(--ft-ice); }
.ft-boot-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ft-ok); box-shadow: 0 0 10px var(--ft-ok); }
.ft-boot-caret { width: 8px; height: 14px; background: var(--ft-cyan); animation: ft-blink 1.1s steps(2, jump-none) infinite; }
.ft-hero-title {
  margin: 0 0 18px; font-size: clamp(26px, 7.7vw, 54px); line-height: 1.25; font-weight: 800; letter-spacing: .005em; word-break: keep-all;
  text-shadow: 0 2px 24px rgba(3, 6, 15, .8);
}
.ft-hero-title span { display: block; }
@media (min-width: 360px) { .ft-hero-title span { white-space: nowrap; } }
.ft-hero-title-glow {
  background: linear-gradient(100deg, #d9f3ff 0%, var(--ft-cyan) 45%, #4f9dff 80%, var(--ft-blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(63, 140, 255, .45));
}
.ft-hero-lead { margin: 0 0 26px; max-width: 34em; color: #d3def7; text-shadow: 0 1px 12px rgba(3, 6, 15, .9); }
.ft-hero-actions { display: grid; gap: 12px; }
.ft-hero-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ft-ice); border-bottom: 1px solid rgba(201, 236, 255, .35); padding-bottom: 2px; }
.ft-hero-more .ft-i { width: 15px; height: 15px; }
.ft-hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 22px; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--ft-line); }
.ft-hero-stats div { display: flex; flex-direction: column-reverse; }
.ft-hero-stats dt { font: 11px/1.4 var(--ft-mono); letter-spacing: .14em; color: var(--ft-cyan); }
.ft-hero-stats dd { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ft-text); }
.ft-hero-stats dd .ft-mono { font-size: 17px; font-weight: 700; }
.ft-hero-stats div { flex-direction: column; }
@media (max-width: 559px) { .ft-hero-stats { grid-template-columns: 1fr; } .ft-hero-stats div { flex-direction: row; gap: 12px; align-items: baseline; } .ft-hero-stats dt { min-width: 5.5em; } }

/* キャスト（公式キャラクター）: 各自の高さ --h（箱に対する%）と位置を持ち、タグは頭の上に付く */
.ft-cast { position: relative; z-index: 1; align-self: end; height: 270px; margin-inline: calc(var(--ft-gutter) * -0.5); will-change: transform; }
.ft-cast-fig { position: absolute; bottom: 0; margin: 0; height: var(--h); }
.ft-cast-fig img { height: 100%; width: auto; max-width: none; }
.ft-cast-ailab { --h: 74%; left: 2%; filter: drop-shadow(0 0 22px rgba(63, 140, 255, .55)); }
.ft-cast-zen { --h: 100%; right: 2%; filter: drop-shadow(-2px 0 0 rgba(111, 214, 255, .35)) drop-shadow(0 0 26px rgba(63, 140, 255, .35)); }
.ft-cast-noa { --h: 40%; left: 40%; filter: drop-shadow(0 0 16px rgba(63, 140, 255, .5)); }
.ft-cast-ailab img { animation: ft-float 6s ease-in-out infinite; }
.ft-tag {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  display: grid; gap: 1px; padding: 5px 9px; white-space: nowrap;
  border: 1px solid rgba(111, 214, 255, .35); border-radius: 6px; background: rgba(4, 12, 30, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 9px; letter-spacing: .14em; color: var(--ft-dim); line-height: 1.3;
}
.ft-tag b { font-size: 11px; color: var(--ft-text); font-weight: 700; }
.ft-tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 8px; background: rgba(111, 214, 255, .5); }
.ft-cast-zen .ft-tag { bottom: auto; top: 12%; left: auto; right: 78%; transform: none; }
.ft-cast-zen .ft-tag::after { top: 50%; left: 100%; width: 10px; height: 1px; }
.ft-cast-noa .ft-tag { display: none; }

@media (min-width: 560px) {
  .ft-hero-actions { display: flex; flex-wrap: wrap; }
  .ft-cast { height: 360px; }
  .ft-cast-noa .ft-tag { display: grid; }
}
@media (min-width: 1100px) {
  .ft-hero { min-height: max(760px, 100svh); padding-top: calc(var(--ft-header-h) + 40px); }
  .ft-hero-bg img { object-position: 60% 45%; }
  .ft-hero-veil {
    background:
      linear-gradient(90deg, rgba(3, 6, 15, .94) 0%, rgba(3, 6, 15, .78) 28%, rgba(3, 6, 15, .25) 55%, rgba(3, 6, 15, .15) 75%, rgba(3, 6, 15, .45) 100%),
      linear-gradient(180deg, rgba(3, 6, 15, .55) 0%, transparent 22%, transparent 70%, var(--ft-void) 100%);
  }
  .ft-hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: 1fr; align-items: center; }
  .ft-hero-copy { padding-bottom: 60px; }
  .ft-cast { height: min(600px, 68svh); align-self: end; margin-inline: 0 calc(var(--ft-gutter) * -1); }
  .ft-cast-ailab { --h: 62%; left: 0; }
  .ft-cast-zen { --h: 100%; right: 6%; }
  .ft-cast-noa { --h: 30%; left: 43%; }
  .ft-tag { font-size: 10px; padding: 6px 11px; }
  .ft-tag b { font-size: 12px; }
}

/* ---------- 04 OFFICE GATE ---------- */
.ft-office { background: radial-gradient(900px 500px at 15% 50%, rgba(63, 140, 255, .12), transparent 70%), var(--ft-void); }
.ft-gate { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .ft-gate { grid-template-columns: 1.15fr 1fr; gap: 64px; } }
.ft-gate-frame {
  position: relative; display: block; overflow: hidden; border-radius: 18px; padding: 10px;
  border: 1px solid var(--ft-line-hi);
  background: linear-gradient(135deg, rgba(111, 214, 255, .16), rgba(10, 20, 46, .8) 40%, rgba(63, 140, 255, .12));
  box-shadow: 0 40px 100px -50px rgba(63, 140, 255, .8);
}
.ft-gate-frame img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .7s ease; }
.ft-gate-frame:hover img { transform: scale(1.02); }
.ft-gate-scan {
  position: absolute; left: 10px; right: 10px; top: 10px; height: 36%; border-radius: 12px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(111, 214, 255, .16) 85%, rgba(160, 230, 255, .55) 100%);
  animation: ft-scan 5.5s ease-in-out infinite;
}
.ft-gate-corner { position: absolute; width: 26px; height: 26px; border-color: var(--ft-cyan); border-style: solid; }
.ft-gate-tl { top: 4px; left: 4px; border-width: 2px 0 0 2px; border-top-left-radius: 8px; }
.ft-gate-br { bottom: 4px; right: 4px; border-width: 0 2px 2px 0; border-bottom-right-radius: 8px; }
.ft-gate-label {
  position: absolute; left: 22px; bottom: 22px; padding: 6px 10px; border-radius: 6px; font-size: 11px; letter-spacing: .08em;
  background: rgba(3, 8, 20, .78); border: 1px solid var(--ft-line-hi); color: var(--ft-ice);
}
.ft-gate-copy > p:not(.ft-eyebrow) { color: var(--ft-dim); margin: 0 0 18px; }
.ft-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.ft-points li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ft-dim); }
.ft-points li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border: 1px solid var(--ft-cyan); transform: rotate(45deg); }

/* ---------- 05 RESEARCH LOG ---------- */
.ft-log-cols { display: grid; gap: 20px; }
@media (min-width: 1000px) { .ft-log-cols { grid-template-columns: 1.4fr 1fr; gap: 24px; } }
.ft-terminal { border-radius: 14px; border: 1px solid var(--ft-line); background: rgba(5, 11, 26, .85); overflow: hidden; }
.ft-terminal-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 12px 18px;
  font-size: 11px; letter-spacing: .16em; color: var(--ft-mute); border-bottom: 1px solid var(--ft-line); background: rgba(16, 32, 70, .35);
}
.ft-terminal-bar a { letter-spacing: .04em; color: var(--ft-cyan); font-family: var(--ft-sans); font-size: 13px; }
.ft-log-list { list-style: none; margin: 0; padding: 0; }
.ft-log-list li + li { border-top: 1px solid var(--ft-line); }
.ft-log-list a { display: grid; gap: 6px; padding: 16px 18px; transition: background-color .2s ease; }
.ft-log-list a:hover { background: rgba(63, 140, 255, .08); }
.ft-log-list a:hover .ft-log-title { color: #fff; }
.ft-log-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; letter-spacing: .06em; color: var(--ft-mute); }
.ft-log-meta > span:first-child { color: var(--ft-cyan); }
.ft-log-tag { color: var(--ft-ice); }
.ft-log-title { font-size: 15px; line-height: 1.6; color: var(--ft-text); transition: color .2s ease; }
.ft-log-cats { list-style: none; margin: -12px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ft-log-cats a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--ft-line-hi); background: rgba(10, 22, 50, .6); transition: border-color .2s ease, box-shadow .2s ease;
}
.ft-log-cats a:hover { border-color: var(--ft-cyan); box-shadow: var(--ft-glow); }
.ft-log-cats span { font-size: 11px; color: var(--ft-cyan); }
.ft-terminal-bar a { display: inline-flex; align-items: center; min-height: 32px; }
.ft-log-empty { padding: 24px 18px; color: var(--ft-dim); margin: 0; }

/* ---------- footer ---------- */
.ft-footer { border-top: 1px solid var(--ft-line); background: #02040b; padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 13px; }
.ft-footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.ft-footer-brand { grid-column: 1 / -1; }
.ft-footer-brand p { margin: 12px 0 0; color: var(--ft-dim); }
@media (min-width: 900px) { .ft-footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } .ft-footer-brand { grid-column: auto; } }
.ft-footer-col { display: grid; gap: 2px; align-content: start; }
.ft-footer-head { margin: 0 0 6px; font: 11px/1 var(--ft-mono); letter-spacing: .2em; color: var(--ft-mute); }
.ft-footer-col a { padding: 6px 0; color: var(--ft-dim); }
.ft-footer-col a:hover { color: var(--ft-text); }
.ft-footer-note { margin: 40px 0 8px; color: var(--ft-mute); font-size: 12px; max-width: 760px; }
.ft-footer-copy { margin: 0; color: var(--ft-mute); font: 11px/1.6 var(--ft-mono); letter-spacing: .1em; }

/* ---------- motion ---------- */
.ft-js .ft-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.ft-js .ft-reveal.is-in { opacity: 1; transform: none; }
.ft-hero-copy > * { animation: ft-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.ft-hero-copy > :nth-child(2) { animation-delay: .08s; }
.ft-hero-copy > :nth-child(3) { animation-delay: .16s; }
.ft-hero-copy > :nth-child(n+4) { animation-delay: .24s; }
.ft-cast { animation: ft-fade 1.4s ease .2s both; }
@keyframes ft-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ft-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ft-blink { 50% { opacity: 0; } }
@keyframes ft-float { 50% { transform: translateY(-8px); } }
@keyframes ft-scan { 0% { transform: translateY(-110%); opacity: 0; } 20% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(220%); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .ft-js .ft-reveal { opacity: 1; transform: none; }
  .ft-particles, .ft-gate-scan { display: none; }
}

/* ==========================================================================
   HOME v2 追加分（2026-09-30・STEP6）。上の共通・ヒーロー・オフィス・ログ・フッターは v1 をそのまま継承。
   v1 にあった EXPLORE / SHOWCASE / ACCESS のスタイルは v2 のページでは使わないので含めない（CSS を軽くする）。
   ミント（--ft-free）は無料版・その入口だけに使う（青 = 購入・主導線）。
   ========================================================================== */

/* ---------- header CTA（無料版を試す） ---------- */
.ft-nav-cta { display: none; }
.ft-drawer-nav .ft-drawer-cta {
  margin: 16px 0 4px; padding: 0 20px; min-height: 52px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; font-size: 16px; font-weight: 700; color: #03150e; background: linear-gradient(135deg, #b7f5dc, var(--ft-free) 55%, #2fcf98);
}
@media (min-width: 900px) {
  .ft-nav { margin-left: auto; }
  .ft-nav-cta {
    display: inline-flex; align-items: center; min-height: 40px; margin-left: 8px; padding: 0 18px; border-radius: 999px;
    font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; color: #03150e !important;
    background: linear-gradient(135deg, #b7f5dc, var(--ft-free) 55%, #2fcf98);
    transition: transform .2s ease, box-shadow .25s ease;
  }
  .ft-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 26px -8px rgba(86, 227, 176, .7); }
}

/* ---------- buttons / chips（追加） ---------- */
.ft-btn-free {
  color: #03150e !important;
  background: linear-gradient(135deg, #c4f8e2, var(--ft-free) 50%, #2fcf98);
  box-shadow: 0 8px 28px -8px rgba(86, 227, 176, .55);
}
.ft-btn-free:hover { transform: translateY(-1px); box-shadow: 0 10px 34px -6px rgba(86, 227, 176, .75); }
.ft-hero-actions .ft-btn { width: 100%; }
@media (min-width: 560px) { .ft-hero-actions .ft-btn { width: auto; } }
.ft-chip {
  display: inline-block; align-self: flex-start; padding: 3px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .06em;
  color: var(--ft-cyan); border: 1px solid rgba(111, 214, 255, .3); background: rgba(63, 140, 255, .08);
}
.ft-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-top: 4px; }
.ft-price { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.ft-price-unit { font-size: 12px; color: var(--ft-dim); }
.ft-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ft-cyan); }
.ft-go .ft-i { width: 15px; height: 15px; }
.ft-sale { display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #1a1200; background: #ffcf6b; }
.ft-fine { margin: 32px 0 0; font-size: 12px; line-height: 1.9; color: var(--ft-mute); max-width: 860px; }
.ft-fine-link { display: inline-flex; align-items: center; min-height: 28px; color: var(--ft-ice); border-bottom: 1px solid rgba(201, 236, 255, .35); white-space: nowrap; }

/* ---------- 02 WHAT WE DO ---------- */
.ft-what { background: radial-gradient(1000px 500px at 80% 0%, rgba(63, 140, 255, .1), transparent 70%), var(--ft-void); }
.ft-pillars { display: grid; gap: 16px; }
@media (min-width: 900px) { .ft-pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.ft-pillar {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 28px 26px;
  border-radius: 18px; border: 1px solid var(--ft-line); background: linear-gradient(160deg, var(--ft-panel-hi), var(--ft-panel));
  transition: border-color .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}
.ft-pillar::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; z-index: -1; background: radial-gradient(circle, rgba(63, 140, 255, .26), transparent 70%); }
.ft-pillar[data-pillar="free"]::after { background: radial-gradient(circle, rgba(86, 227, 176, .22), transparent 70%); }
.ft-pillar:hover { border-color: var(--ft-line-hi); }
.ft-pillar-n { margin: 0 0 12px; font-size: 12px; letter-spacing: .2em; color: var(--ft-cyan); }
.ft-pillar[data-pillar="free"] .ft-pillar-n { color: var(--ft-free); }
.ft-pillar h3 { margin: 0 0 10px; font-size: 21px; font-weight: 800; line-height: 1.35; }
.ft-pillar-desc { margin: 0; color: var(--ft-dim); font-size: 14.5px; flex: 1; }
.ft-pillar-meta { margin: 16px 0 0; font-size: 13px; color: var(--ft-ice); }
.ft-pillar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 16px; }
.ft-pillar-main { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 14.5px; color: var(--ft-text); border-bottom: 1px solid var(--ft-line-hi); }
.ft-pillar-main .ft-i { width: 16px; height: 16px; color: var(--ft-cyan); transition: transform .2s ease; }
.ft-pillar-main:hover .ft-i { transform: translateX(3px); }
.ft-pillar-sub { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--ft-dim); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(167, 182, 216, .4); }
.ft-pillar-sub:hover { color: var(--ft-text); }
.ft-subs-title { margin: 44px 0 14px; font-size: 12px; letter-spacing: .2em; color: var(--ft-mute); font-weight: 400; }
.ft-subs2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .ft-subs2 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.ft-sub2 a {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px;
  border-radius: 14px; border: 1px dashed rgba(111, 214, 255, .4);
  background: repeating-linear-gradient(135deg, rgba(63, 140, 255, .05) 0 12px, transparent 12px 24px), rgba(8, 16, 38, .7);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.ft-sub2 a:hover { border-style: solid; border-color: var(--ft-cyan); box-shadow: var(--ft-glow); }
.ft-sub2-kicker { font-size: 11px; letter-spacing: .08em; color: var(--ft-cyan); }
.ft-sub2-name { font-size: 20px; font-weight: 800; }
.ft-sub2-lead { font-size: 13.5px; color: var(--ft-dim); flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ft-sub2-note { font-size: 12px; color: var(--ft-mute); }

/* ---------- 03 FIND YOUR TOOL ---------- */
.ft-needs-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ft-needs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ft-needs-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.ft-need {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 22px;
  border-radius: 16px; border: 1px solid var(--ft-line); background: var(--ft-panel);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}
.ft-need:hover { border-color: var(--ft-cyan); box-shadow: var(--ft-glow); transform: translateY(-3px); }
.ft-need-k { font-size: 11px; letter-spacing: .14em; color: var(--ft-mute); }
.ft-need-t { font-size: 17px; font-weight: 800; line-height: 1.45; }
.ft-need-d { font-size: 13.5px; color: var(--ft-dim); line-height: 1.7; }
.ft-need-eg { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ft-mute); }
.ft-need-names { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-need-names b { color: var(--ft-cyan); font-weight: 600; }
.ft-need-eg .ft-i { flex: none; width: 18px; height: 18px; color: var(--ft-cyan); transition: transform .2s ease; }
.ft-need:hover .ft-need-eg .ft-i { transform: translateX(3px); }

/* ---------- 04 FEATURED ---------- */
.ft-featured { background: linear-gradient(180deg, var(--ft-void), var(--ft-night) 40%, var(--ft-void)); }
.ft-feat3 { display: grid; gap: 18px; }
@media (min-width: 900px) { .ft-feat3 { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 22px; } .ft-feat3 .ft-fc:first-child { grid-row: span 2; } }
.ft-fc {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; border: 1px solid var(--ft-line-hi);
  background: linear-gradient(180deg, rgba(14, 30, 66, .9), rgba(7, 14, 34, .95));
  box-shadow: 0 30px 80px -44px rgba(63, 140, 255, .6);
}
.ft-fc-link { display: flex; flex-direction: column; height: 100%; }
.ft-fc-media { display: block; width: 100%; aspect-ratio: 16 / 9.4; overflow: hidden; border-bottom: 1px solid var(--ft-line); background: var(--ft-deep); }
.ft-fc-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ft-fc:hover .ft-fc-media img { transform: scale(1.03); }
.ft-fc-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.ft-fc-name { font-size: 22px; font-weight: 800; line-height: 1.3; }
.ft-fc-lead { color: var(--ft-dim); font-size: 14px; flex: 1; }
@media (min-width: 900px) {
  .ft-feat3 .ft-fc:first-child .ft-fc-media { aspect-ratio: auto; flex: 1; min-height: 300px; }
  .ft-feat3 .ft-fc:first-child .ft-fc-body { flex: none; }
  .ft-feat3 .ft-fc:not(:first-child) .ft-fc-link { flex-direction: row; }
  .ft-feat3 .ft-fc:not(:first-child) .ft-fc-media { flex: 0 0 44%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--ft-line); }
  .ft-feat3 .ft-fc:not(:first-child) .ft-fc-body { padding: 18px 20px; }
  .ft-feat3 .ft-fc:not(:first-child) .ft-fc-name { font-size: 19px; }
  .ft-feat3 .ft-fc:not(:first-child) .ft-price { font-size: 22px; }
}
.ft-feat-all { margin: 32px 0 0; }

/* ---------- 05 TRY FIRST（無料版・ミント） ---------- */
.ft-freeband {
  position: relative; overflow: hidden; display: grid; gap: 28px; padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(86, 227, 176, .3); border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(86, 227, 176, .12), transparent 55%), linear-gradient(160deg, #08182a, #050d1c);
}
@media (min-width: 900px) { .ft-freeband { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.ft-freeband .ft-eyebrow { color: var(--ft-free); }
.ft-freeband h2 { margin: 0 0 14px; font-size: clamp(24px, 4.6vw, 38px); line-height: 1.3; font-weight: 800; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.ft-freeband-lead { margin: 0; color: var(--ft-dim); }
.ft-chips { list-style: none; margin: 20px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ft-chip2 { padding: 7px 12px; border: 1px solid var(--ft-line); border-radius: 999px; font-size: 12.5px; color: var(--ft-dim); background: rgba(6, 12, 28, .7); }
.ft-chip2.is-ok { border-color: rgba(86, 227, 176, .35); color: #c8f8e5; }
.ft-chip2.is-wait { border-style: dashed; opacity: .75; }
.ft-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: ftstep; }
.ft-steps li { position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--ft-line); border-radius: 12px; background: rgba(6, 12, 28, .7); font-size: 14px; color: var(--ft-dim); }
.ft-steps li::before { counter-increment: ftstep; content: "0" counter(ftstep); position: absolute; left: 16px; top: 14px; font: 700 15px/1.6 var(--ft-mono); color: var(--ft-free); }
.ft-steps b { display: block; color: var(--ft-text); font-size: 14.5px; }
.ft-free .ft-fine { margin-top: 16px; }

/* ---------- 07 HOW TO BUY ---------- */
.ft-buy { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 800px) { .ft-buy { grid-template-columns: repeat(3, 1fr); } }
.ft-buy li { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--ft-line); border-radius: 16px; background: var(--ft-panel); }
.ft-buy-n { font-size: 12px; letter-spacing: .2em; color: var(--ft-cyan); }
.ft-buy b { font-size: 17px; }
.ft-buy li > span:last-child { color: var(--ft-dim); font-size: 14px; }

/* ---------- 09 CLOSE ---------- */
.ft-close { background: radial-gradient(60% 90% at 50% 100%, rgba(63, 140, 255, .22), transparent 70%), var(--ft-void); text-align: center; }
.ft-close-in { display: grid; justify-items: center; gap: 28px; }
.ft-close h2 { margin: 0; font-size: clamp(26px, 6.4vw, 50px); font-weight: 800; line-height: 1.3; word-break: keep-all; }
.ft-close h2 span { display: block; }
.ft-close-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
@media (max-width: 559px) { .ft-close-actions .ft-btn { width: 100%; } }

/* ==========================================================================
   DESIGN PASS（2026-10-10・CEO「①と②をまとめて」）
   方針3つ: ①暗い地に明るいデータ面を2枚入れてリズムを作る ②色は「青＝購入・ミント＝無料」の2役だけに絞り、
   飾りの発光をやめる ③最初の画面の主役を文字と数字にする（キャラクターは PC だけ）。
   上書き方式。戻すときはこのブロック（この行から末尾まで）を削除する。
   ========================================================================== */

/* ---- 読みやすさ（本文の色を上げる・文字の段階を決める） ---- */
:root { --ft-dim: #bcc8e4; --ft-mute: #9eadcd; --ft-paper: #eef1f7; --ft-paper-2: #e3e8f1; --ft-ink: #121a2b; --ft-ink-dim: #4b5873; --ft-paper-line: #ccd4e3; --ft-link: #1a4fd0; }
body.ft-body { font-size: 16px; line-height: 1.85; }
@media (min-width: 768px) { body.ft-body { font-size: 17px; } }
.ft-head { margin-bottom: 32px; }
.ft-head h2, .ft-gate-copy h2 { font-size: clamp(25px, 4.6vw, 38px); letter-spacing: -.01em; }
.ft-pillar h3 { font-size: 20px; }
.ft-fc-name { font-size: 20px; }
.ft-sub2-name { font-size: 19px; }
.ft-section { padding-block: 72px; }
@media (min-width: 1100px) { .ft-section { padding-block: 104px; } }

/* ---- 飾りの発光をやめる（色はボタンと数字だけに残す） ---- */
.ft-section::before { display: none; }
.ft-pillar::after { display: none; }
.ft-pillar { background: var(--ft-panel); }
.ft-need:hover { box-shadow: none; border-color: var(--ft-line-hi); transform: none; }
.ft-fc { box-shadow: none; border-color: var(--ft-line); }
.ft-log-cats a:hover { box-shadow: none; border-color: var(--ft-cyan); }
.ft-sub2 a:hover { box-shadow: none; }
.ft-btn-primary { background: var(--ft-blue); color: #fff !important; box-shadow: none; }
.ft-btn-primary:hover { background: #5b9dff; transform: none; box-shadow: none; }
.ft-btn-free { background: #2fcf98; color: #03231a !important; box-shadow: none; }
.ft-btn-free:hover { background: #46e0ab; transform: none; box-shadow: none; }
.ft-nav-cta, .ft-drawer-nav .ft-drawer-cta { background: #2fcf98; }
@media (min-width: 900px) { .ft-nav-cta:hover { background: #46e0ab; transform: none; box-shadow: none; } }

/* ---- 01 HERO: 文字と数字を主役に。キャラクターは PC だけ ---- */
.ft-hero { min-height: auto; padding-bottom: 44px; }
.ft-hero-title { font-size: clamp(27px, 7.2vw, 48px); }
.ft-hero-grid { opacity: .22; }
.ft-particles { opacity: .5; }
.ft-hero-veil { background: linear-gradient(180deg, rgba(3, 6, 15, .9) 0%, rgba(3, 6, 15, .72) 40%, rgba(3, 6, 15, .62) 62%, rgba(3, 6, 15, .94) 88%, var(--ft-void) 100%); }
.ft-hero-stats {
  display: block; max-width: 460px; margin: 26px 0 0; padding: 0;
  border: 1px solid var(--ft-line); border-radius: 12px; background: rgba(6, 12, 30, .66);
}
.ft-hero-stats div { display: flex; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--ft-line); }
.ft-hero-stats div:last-child { border-bottom: 0; }
.ft-hero-stats dt { min-width: 0; font: 13px/1.6 var(--ft-sans); letter-spacing: 0; color: var(--ft-dim); }
.ft-hero-stats dd { font-size: 13px; color: var(--ft-text); }
.ft-hero-stats dd .ft-mono { font-size: 18px; }
@media (max-width: 899px) { .ft-cast { display: none; } .ft-hero-inner { grid-template-rows: auto; } }
@media (min-width: 1100px) {
  .ft-hero { min-height: min(760px, 96svh); }
  .ft-hero-veil { background: linear-gradient(90deg, rgba(3, 6, 15, .95) 0%, rgba(3, 6, 15, .86) 34%, rgba(3, 6, 15, .42) 60%, rgba(3, 6, 15, .3) 78%, rgba(3, 6, 15, .55) 100%), linear-gradient(180deg, rgba(3, 6, 15, .6) 0%, transparent 24%, transparent 68%, var(--ft-void) 100%); }
}

/* ---- 03 FIND YOUR TOOL: 明るいデータ面（1枚目） ---- */
.ft-needs { background: var(--ft-paper); color: var(--ft-ink); }
.ft-needs .ft-head h2 { color: var(--ft-ink); }
.ft-needs .ft-head p:not(.ft-eyebrow) { color: var(--ft-ink-dim); }
.ft-need { background: #fff; border: 1px solid var(--ft-paper-line); min-height: 0; }
.ft-need:hover { border-color: #93a9d4; }
.ft-need-k { color: #5f6c88; }
.ft-need-t { color: var(--ft-ink); }
.ft-need-d { color: var(--ft-ink-dim); }
.ft-need-eg { color: #5f6c88; border-top: 1px solid #edf0f6; }
.ft-need-names b { color: var(--ft-link); }
.ft-need-eg .ft-i, .ft-need:hover .ft-need-eg .ft-i { color: var(--ft-link); }
.ft-needs :focus-visible { outline-color: var(--ft-link); }

/* ---- 05 TRY FIRST: 明るいデータ面（2枚目・無料版はミント） ---- */
.ft-free { background: var(--ft-paper-2); color: var(--ft-ink); }
.ft-freeband { background: #fff; border: 1px solid var(--ft-paper-line); }
.ft-freeband h2 { color: var(--ft-ink); }
.ft-freeband-lead { color: var(--ft-ink-dim); }
.ft-chip2 { background: #f5f7fb; border-color: #d7dde9; color: #41506c; }
.ft-chip2.is-ok { border-color: #93dec1; background: #e9faf3; color: #0b6b48; }
.ft-chip2.is-wait { border-style: dashed; color: #6b7793; opacity: .8; }
.ft-steps li { background: #f7f9fc; border-color: #dfe5ee; color: var(--ft-ink-dim); }
.ft-steps b { color: var(--ft-ink); }
.ft-steps li::before { color: #0f9f72; }
.ft-free .ft-fine { color: #5f6c88; }
.ft-free .ft-fine-link { color: var(--ft-link); border-bottom-color: rgba(26, 79, 208, .4); }
.ft-free :focus-visible { outline-color: var(--ft-link); }

/* ---- 明るい面のあと、暗い面に戻る境目をはっきりさせる ---- */
.ft-featured, .ft-log { border-top: 1px solid rgba(120, 170, 255, .14); }

/* ---- スマホの縦を詰める（内容は減らさず、余白と画像の高さで） ---- */
@media (max-width: 767px) {
  .ft-section { padding-block: 56px; }
  .ft-head { margin-bottom: 26px; }
  .ft-pillar { padding: 22px 20px; }
  .ft-pillar h3 { font-size: 19px; margin-bottom: 8px; }
  .ft-pillar-desc { font-size: 14.5px; line-height: 1.75; }
  .ft-pillar-links { margin-top: 12px; }
  .ft-pillar-main, .ft-pillar-sub { min-height: 40px; }
  .ft-subs-title { margin: 32px 0 12px; }
  .ft-sub2 a { padding: 18px; gap: 6px; }
  .ft-sub2-lead { -webkit-line-clamp: 3; }
  .ft-need { padding: 18px; }
  .ft-fc-media { aspect-ratio: 16 / 8; }
  .ft-fc-body { padding: 16px 18px 18px; gap: 6px; }
  .ft-feat-all { margin-top: 22px; }
  .ft-freeband { padding: 22px 20px; gap: 22px; }
  .ft-chips { margin: 16px 0 20px; gap: 7px; }
  .ft-steps li { padding: 12px 14px 12px 50px; }
  .ft-steps li::before { top: 12px; left: 14px; }
  .ft-log-list a { padding: 12px 16px; }
  .ft-log-title { font-size: 14.5px; line-height: 1.55; }
  .ft-terminal-bar { padding: 10px 16px; }
  .ft-buy li { padding: 18px 20px; }
  .ft-points { margin-bottom: 22px; }
  .ft-close-in { gap: 22px; }
}

/* タブレット〜小さめ PC（768〜1099px）: 幕が濃すぎて背景の絵が消えていたので薄くする（2026-10-10） */
@media (min-width: 768px) and (max-width: 1099px) {
  .ft-hero-veil { background: linear-gradient(180deg, rgba(3, 6, 15, .86) 0%, rgba(3, 6, 15, .6) 34%, rgba(3, 6, 15, .42) 58%, rgba(3, 6, 15, .9) 86%, var(--ft-void) 100%); }
}
