/*
Theme Name: AI WORKS
Theme URI: https://ai-works.d-sky-n.com
Author: のりき
Author URI: https://d-sky-n.com
Description: AIで、未来を構築する。個人で価値を生み出すAI実践スクール - 完全オリジナルテーマ
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-works
Tags: custom-menu, featured-images, translation-ready
*/

/* ============== TOKENS (事業オーナー向けライト基調 / ネイビー × ゴールド × クリーム) ============== */
:root {
  /* 背景階層 — ライト基調 */
  --color-bg-primary: #FAFAF7;          /* ベース(クリーム) */
  --color-bg-secondary: #FFFFFF;        /* セクション(純白) */
  --color-bg-tertiary: #F5F1E8;         /* カード/サブ背景(クリームベージュ) */
  --color-bg-card: #FFFFFF;

  /* アクセント — ネイビー × ゴールド主軸
     ※ 旧変数名はそのまま保持(後方互換)、値だけ新パレットへ置換 */
  --color-accent-green: #0D1B3E;        /* (旧:緑)→ 主アクセント:ディープネイビー */
  --color-accent-cyan: #1a2b5e;         /* (旧:シアン)→ サブ:ネイビー明るめ */
  --color-accent-gold: #C9A84C;         /* ハイライト:ゴールド */
  --color-accent-magenta: #C9A84C;      /* (旧:マゼンタ)→ ゴールドへ統合 */
  --color-accent-purple: #0D1B3E;       /* (旧:パープル)→ ネイビーへ統合 */

  /* 文字 — ライト基調用に反転 */
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #4A4A4A;
  --color-text-muted: #8B8B8B;
  --color-text-dim: #8B8B8B;

  /* 罫線 — ネイビーをアルファで */
  --color-border: rgba(13, 27, 62, 0.10);
  --color-border-strong: rgba(13, 27, 62, 0.20);
  --color-border-glow: rgba(201, 168, 76, 0.40);

  /* グラデーション(ネイビー濃淡 / ゴールド濃淡) */
  --gradient-cta: linear-gradient(135deg, #0D1B3E 0%, #1a2b5e 100%);
  --gradient-text: linear-gradient(95deg, #C9A84C 0%, #D4B96B 100%);

  /* グロー → ライト基調ではソフトな影に置換(変数名は保持) */
  --glow-green-sm: 0 4px 16px rgba(13, 27, 62, 0.08);
  --glow-green-md: 0 8px 32px rgba(13, 27, 62, 0.12);
  --glow-cyan-sm: 0 4px 16px rgba(13, 27, 62, 0.08);
  --glow-cyan-md: 0 8px 32px rgba(13, 27, 62, 0.12);
  --glow-magenta-md: 0 8px 32px rgba(201, 168, 76, 0.20);

  /* レイアウト */
  --max-w: 1280px;
  --section-gap: 6rem;
  --radius-card: 8px;

  /* フォント */
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
  --font-serif: "Shippori Mincho", "Noto Serif JP", serif;
  --font-mono: "DM Mono", "SFMono-Regular", ui-monospace, monospace;
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-jp), var(--font-en);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--color-accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ============== AMBIENT BG ============== */
.page-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.page-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(15,210,242,0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(214,29,199,0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(142,24,133,0.14), transparent 65%);
}
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='70' viewBox='0 0 80 70'><polygon points='40,1 78,21 78,49 40,69 2,49 2,21' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/></svg>");
  background-size: 80px 70px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black, transparent 80%);
  opacity: 0.7;
}

main, .nav, footer.foot { position: relative; z-index: 1; }

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 72px;
  background: rgba(2, 4, 13, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(2, 4, 13, 0.78);
}
.nav-inner {
  height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--font-en); font-weight: 800; font-size: 20px;
  letter-spacing: 0.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.nav-menu {
  display: flex; gap: 32px;
  font-size: 14px; font-weight: 500;
  color: var(--color-text-secondary);
}
.nav-menu a {
  position: relative; padding: 6px 0;
  transition: color .2s ease;
}
.nav-menu a:hover { color: var(--color-text-primary); }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gradient-cta); transition: right .25s ease;
}
.nav-menu a:hover::after { right: 0; }
.nav-cta { display: flex; gap: 12px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; padding: 0 22px;
  font-size: 13.5px; font-weight: 600;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover {
  border-color: var(--color-accent-cyan);
  color: var(--color-accent-cyan);
  box-shadow: var(--glow-cyan-sm);
}
.btn-primary {
  background: var(--gradient-cta);
  color: #04040a;
  font-weight: 700;
  box-shadow: 0 6px 20px -6px rgba(15,210,242,0.55), 0 6px 20px -6px rgba(214,29,199,0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(15,210,242,0.65),
              0 14px 36px -8px rgba(214,29,199,0.6),
              0 0 50px rgba(15,210,242,0.25);
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 18px; height: 18px; stroke: currentColor; }

.drawer {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 49;
  background: rgba(2,4,13,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 32px;
  transform: translateY(-110%);
  transition: transform .3s ease;
  display: none;
}
.drawer.open { transform: translateY(0); }
.drawer ul { display: flex; flex-direction: column; }
.drawer li { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.drawer a { font-size: 15px; }
.drawer .btn { width: 100%; height: 48px; margin-top: 16px; }

/* ============== HERO ============== */
.hero {
  min-height: 90vh;
  padding: 120px 0 80px;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,4,13,0.92) 0%, rgba(2,4,13,0.7) 35%, rgba(2,4,13,0.35) 65%, rgba(2,4,13,0.55) 100%),
    linear-gradient(180deg, rgba(2,4,13,0.45) 0%, rgba(2,4,13,0.6) 100%),
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(214,29,199,0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(15,210,242,0.15), transparent 60%);
}
.hero-inner {
  width: 100%;
  position: relative;
  z-index: 1;
  display: block;
}
.hero-text {
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--color-border);
  background: rgba(15,210,242,0.05);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
  font-weight: 600;
}
.hero-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-accent-cyan);
  box-shadow: 0 0 10px var(--color-accent-cyan);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

h1.hero-title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--color-text-primary);
  word-break: keep-all;
  overflow-wrap: normal;
}
h1.hero-title .accent {
  display: inline-block;
  white-space: nowrap;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(15,210,242,0.25));
}
.hero-sub-wrap {
  display: flex; gap: 18px; align-items: flex-start;
  margin-bottom: 44px;
  max-width: 540px;
}
.hero-sub-line {
  width: 2px; min-height: 56px;
  background: linear-gradient(to bottom, var(--color-accent-cyan), transparent);
  flex-shrink: 0;
  margin-top: 4px;
}
.hero-sub {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.85;
}
.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-lg { height: 56px; padding: 0 28px; font-size: 15px; border-radius: 12px; }
.btn-icon { width: 18px; height: 18px; stroke-width: 2; }

.hero-features {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
}
.hero-feat { display: flex; align-items: center; gap: 12px; }
.hero-feat-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(15,210,242,0.08);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent-cyan);
  flex-shrink: 0;
}
.hero-feat-icon svg { width: 16px; height: 16px; stroke-width: 2; }
.hero-feat-text { font-size: 13.5px; font-weight: 500; color: var(--color-text-primary); }


/* ============== SECTION COMMON ============== */
section.block {
  padding: var(--section-gap) 0;
}
.section-head {
  margin-bottom: 56px;
  text-align: center;
}
.section-eyebrow {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block; margin-bottom: 16px;
}
h2.section-title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-lead {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* ============== CATEGORIES ============== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  padding: 36px 24px 32px;
  background: var(--color-bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  text-align: center;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
  isolation: isolate;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-card);
  background: radial-gradient(circle at 50% 0%, rgba(15,210,242,0.18), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
  z-index: -1;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-glow);
  box-shadow: var(--glow-cyan-sm), 0 30px 60px -20px rgba(0,0,0,0.6);
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover .cat-icon { filter: drop-shadow(0 0 16px rgba(15,210,242,0.6)); transform: scale(1.04); }
.cat-icon {
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  border-radius: 20px;
  object-fit: cover;
  background: #050510;
  border: 1px solid var(--color-border);
  transition: filter .35s ease, transform .35s ease;
}
.cat-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 17px;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.cat-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* ============== ROADMAP ============== */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.roadmap-line {
  position: absolute;
  top: 7px;
  left: calc(12.5% - 1px);
  right: calc(12.5% - 1px);
  height: 2px;
  background: linear-gradient(90deg,
    rgba(15,210,242,0) 0%,
    rgba(15,210,242,0.6) 12%,
    rgba(214,29,199,0.6) 88%,
    rgba(214,29,199,0) 100%);
  z-index: 0;
}
.roadmap-step {
  position: relative;
  z-index: 1;
}
.roadmap-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
}
.roadmap-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-bg-primary);
  border: 2px solid var(--color-accent-cyan);
  box-shadow: 0 0 16px rgba(15,210,242,0.55);
  position: relative;
  margin-bottom: 14px;
}
.roadmap-dot::after {
  content: ""; position: absolute; inset: 3px;
  background: var(--gradient-cta);
  border-radius: 50%;
}
.roadmap-step:nth-child(2) .roadmap-dot,
.roadmap-step:nth-child(3) .roadmap-dot {
  border-color: rgba(255,255,255,0.7);
}
.roadmap-step:last-child .roadmap-dot {
  border-color: var(--color-accent-magenta);
  box-shadow: 0 0 16px rgba(214,29,199,0.55);
}
.roadmap-period {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.roadmap-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  height: 100%;
}
.roadmap-step:hover .roadmap-card {
  transform: translateY(-4px);
  border-color: var(--color-border-glow);
  box-shadow: var(--glow-cyan-sm);
}
.roadmap-month {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-cyan);
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.roadmap-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}
.roadmap-list li {
  font-size: 12.5px;
  color: var(--color-text-secondary);
  padding: 6px 0 6px 18px;
  position: relative;
  line-height: 1.7;
}
.roadmap-list li::before {
  content: "▸";
  position: absolute; left: 0; top: 6px;
  color: var(--color-accent-cyan);
  font-size: 12px;
  line-height: 1.7;
}

/* ============== TEMPLATES (Stock Contents) ============== */
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tpl-card {
  position: relative;
  background: var(--color-bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 26px 24px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
  isolation: isolate;
}
.tpl-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(15,210,242,0.08), transparent 65%);
  opacity: 0; transition: opacity .35s ease;
  z-index: -1;
}
.tpl-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-glow);
  box-shadow: var(--glow-cyan-sm), 0 30px 60px -20px rgba(0,0,0,0.6);
}
.tpl-card:hover::before { opacity: 1; }
.tpl-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.tpl-ext {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(15,210,242,0.12);
  border: 1px solid rgba(15,210,242,0.3);
  color: var(--color-accent-cyan);
  letter-spacing: 0.06em;
}
.tpl-badge {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gradient-cta);
  color: #04040a;
  letter-spacing: 0.16em;
}
.tpl-badge.free {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}
.tpl-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}
.tpl-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 22px;
}
.tpl-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}
.tpl-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.tpl-meta span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--color-accent-cyan);
}

/* ============== PRICING ============== */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 40px 32px 36px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .3s ease;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--color-bg-secondary), var(--color-bg-secondary)) padding-box,
    var(--gradient-cta) border-box;
  transform: scale(1.04);
  box-shadow: 0 0 50px rgba(15,210,242,0.18), 0 0 80px rgba(214,29,199,0.14);
}
.price-card.featured::after {
  content: ""; position: absolute; inset: -2px; border-radius: calc(var(--radius-card) + 2px);
  background: var(--gradient-cta); filter: blur(24px); opacity: 0.35; z-index: -1;
}
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-cta); color: #04040a;
  font-size: 11px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: 0.14em; font-family: var(--font-en);
  box-shadow: 0 8px 24px -4px rgba(15,210,242,0.45);
}
.price-name {
  font-family: var(--font-en);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-num {
  font-family: var(--font-en);
  font-size: 52px; font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-card.featured .price-num {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-unit { font-size: 14px; color: var(--color-text-secondary); }
.price-period {
  font-size: 12px; color: var(--color-text-muted);
  font-family: var(--font-en); letter-spacing: 0.06em;
  margin-bottom: 32px;
}
.price-features {
  flex: 1;
  border-top: 1px solid var(--color-border);
  padding-top: 24px; margin-bottom: 32px;
}
.price-features li {
  font-size: 13.5px;
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--color-text-primary);
  line-height: 1.65;
}
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px;
  background: var(--gradient-cta);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.price-cta {
  width: 100%; height: 50px; border-radius: 12px;
  font-size: 14px; font-weight: 700;
}

/* ============== FAQ ============== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  margin-bottom: 12px;
  background: var(--color-bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item.open { border-color: var(--color-border-glow); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-jp);
  font-size: 16px; font-weight: 600; color: var(--color-text-primary);
  padding: 22px 28px;
  transition: color .2s ease;
}
.faq-q:hover { color: var(--color-accent-cyan); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  position: relative;
  transition: all .3s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--color-text-primary);
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; transition: transform .3s ease; }
.faq-item.open .faq-icon { border-color: var(--color-accent-cyan); background: rgba(15,210,242,0.1); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--color-accent-cyan); }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner {
  padding: 0 28px 24px;
  font-size: 14.5px; color: var(--color-text-secondary); line-height: 1.95;
}
.faq-item.open .faq-a { max-height: 320px; }

/* ============== FINAL CTA ============== */
.final-cta {
  margin: 80px 32px 120px;
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
  text-align: center;
  padding: 96px 40px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(15,210,242,0.22), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(214,29,199,0.22), transparent 60%),
    rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='70' viewBox='0 0 80 70'><polygon points='40,1 78,21 78,49 40,69 2,49 2,21' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/></svg>");
  background-size: 80px 70px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}
.particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--color-accent-cyan);
  box-shadow: 0 0 10px var(--color-accent-cyan);
  opacity: 0;
  animation: particle 6s linear infinite;
}
@keyframes particle {
  0% { opacity: 0; transform: translateY(40px); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-120px); }
}
.final-cta-inner { position: relative; z-index: 2; }
.final-cta h2 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.final-cta h2 .accent {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-cta p {
  font-size: 16px; color: var(--color-text-secondary);
  margin-bottom: 44px;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.btn-mega {
  height: 68px; padding: 0 44px; font-size: 17px; border-radius: 16px;
  font-weight: 800;
  position: relative;
}
.btn-mega::after {
  content: ""; position: absolute; inset: -2px; border-radius: 18px;
  background: var(--gradient-cta); filter: blur(18px);
  z-index: -1; opacity: 0.6;
  animation: cta-pulse 2.4s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; }
}

/* ============== FOOTER ============== */
footer.foot {
  border-top: 1px solid var(--color-border);
  padding: 64px 32px 36px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.foot-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.foot-brand p {
  font-size: 13px; color: var(--color-text-secondary);
  margin-top: 16px; line-height: 1.85;
  max-width: 360px;
}
.foot-col h4 {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-secondary); margin-bottom: 16px;
}
.foot-col li { padding: 6px 0; }
.foot-col a { font-size: 13px; transition: color .2s ease; }
.foot-col a:hover { color: var(--color-accent-cyan); }
.foot-social {
  display: flex; gap: 10px;
}
.foot-social a {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-secondary);
  transition: all .25s ease;
}
.foot-social a:hover {
  border-color: var(--color-accent-cyan);
  color: var(--color-accent-cyan);
  box-shadow: var(--glow-cyan-sm);
}
.foot-social svg { width: 16px; height: 16px; }
.foot-bottom {
  padding-top: 28px;
  font-family: var(--font-en); font-size: 12px; color: var(--color-text-muted);
  text-align: center;
}

/* ============== REVEAL ============== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============== POSTS (single/archive) ============== */
.entry-content {
  max-width: 880px;
  margin: 120px auto 80px;
  padding: 0 32px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--color-text-secondary);
}
.entry-content h1, .entry-content h2, .entry-content h3 {
  color: var(--color-text-primary);
  font-family: var(--font-jp);
  margin: 1.6em 0 0.6em;
}
.entry-content a { color: var(--color-accent-cyan); }
.entry-content a:hover { text-decoration: underline; }
.entry-content code {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-en);
  font-size: 0.92em;
}
.entry-content pre {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 24px;
  overflow-x: auto;
  margin: 24px 0;
}
.entry-content pre code { background: none; border: none; padding: 0; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1279px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid > :nth-child(4) { grid-column: 1 / 3; }
  .cat-grid > :nth-child(5) { grid-column: 3 / 4; }
  .roadmap { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .roadmap-line { display: none; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-menu, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .drawer { display: block; }
  .hero-text { max-width: 100%; }
  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(2,4,13,0.55) 0%, rgba(2,4,13,0.85) 100%),
      radial-gradient(ellipse 80% 50% at 50% 30%, rgba(15,210,242,0.18), transparent 60%);
  }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  section.block { padding: 4.5rem 0; }
  .hero { padding: 100px 0 56px; }
  :root { --section-gap: 4.5rem; }
}
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid > :nth-child(4),
  .cat-grid > :nth-child(5) { grid-column: auto; }
  .roadmap { grid-template-columns: 1fr; gap: 20px; padding-left: 28px; }
  .roadmap-line {
    display: block;
    top: 0; bottom: 0;
    left: 7px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg,
      rgba(15,210,242,0) 0%,
      rgba(15,210,242,0.6) 8%,
      rgba(214,29,199,0.6) 92%,
      rgba(214,29,199,0) 100%);
  }
  .roadmap-marker {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    margin-left: -28px;
  }
  .roadmap-dot { margin-bottom: 0; }
  .tpl-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
  .hero-features { gap: 18px; flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .final-cta { margin: 56px 16px 80px; padding: 56px 22px; border-radius: 24px; }
  .btn-mega { height: 60px; padding: 0 28px; font-size: 15px; }
  h1.hero-title { font-size: clamp(34px, 9vw, 56px); }
}
