/*
Theme Name: 2・5chAIまとめ 販売サイトテーマ
Theme URI: https://2ch5ch-aimatome.com
Description: 2・5chAIまとめ プラグイン販売用 WordPress テーマ（ライト / product-first・LINE連携・ブログ集客対応）
Version: 4.3.0
Author: YOworks
Author URI: https://2ch5ch-aimatome.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-matome-sales
Domain Path: /languages
*/

/* ==================== デザイントークン（ライト） ==================== */
:root {
  --ink-900: #0b0f1e;
  --ink-800: #141a2e;
  --ink-700: #2a3142;
  --ink-600: #3d4456;
  --ink-500: #565e72;
  --ink-400: #828a9c;
  --ink-300: #aab1c0;

  --white:     #ffffff;
  --surface:   #fafbfd;
  --surface-2: #f3f4f9;
  --line:      #ecedf3;
  --line-2:    #dde0ea;

  --indigo-600: #4f46e5;
  --indigo-500: #6366f1;
  --indigo-400: #818cf8;
  --indigo-300: #a5b0ff;
  --indigo-50:  #eef0ff;
  --indigo-soft:#eef0ff;
  --violet-500: #8b7cff;
  --violet-300: #c4b5fd;

  --emerald-500: #10b981;
  --emerald-50:  #ecfdf5;
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose-500:    #e11d48;
  --rose-50:     #fff1f2;

  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 8px 24px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 48px rgba(15,23,42,0.12);
  --shadow-indigo: 0 8px 24px rgba(79,70,229,0.18);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 100px;

  /* テキスト階調エイリアス */
  --tx-1: #0b0f1e;
  --tx-2: #2a3142;
  --tx-3: #565e72;
  --tx-4: #828a9c;
  --tx-5: #aab1c0;
  --panel: #ffffff;
  --panel-2: #fafbfd;
  --panel-3: #f3f4f9;
  --bg: #ffffff;
  --bg-2: #fafbfd;
  --line-3: #dde0ea;

  /* 互換 */
  --blue-600: #4f46e5;
  --blue-500: #6366f1;
  --blue-50:  #eef0ff;
  --green-500: #10b981;
  --green-50:  #ecfdf5;
  --gray-900: #0b0f1e;
  --gray-700: #2a3142;
  --gray-500: #565e72;
  --gray-300: #dde0ea;
  --gray-100: #ecedf3;
  --gray-50:  #fafbfd;
  --primary-color: #0b0f1e;
  --secondary-color: #4f46e5;
  --accent-color: #10b981;
  --light-bg: #fafbfd;
  --border-color: #ecedf3;
}

/* ==================== リセット ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: "palt"; line-height: 1.7; color: var(--ink-700); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, .display, .pricing-price, .num { font-family: 'Plus Jakarta Sans', 'Noto Sans JP', -apple-system, sans-serif; }
a { color: var(--indigo-600); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--indigo-500); }
img { max-width: 100%; height: auto; }
::selection { background: var(--indigo-600); color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ==================== HEADER ==================== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-content { max-width: 1200px; margin: 0 auto; padding: 0 28px; height: 68px; display: flex; justify-content: space-between; align-items: center; }
.site-title { font-size: 17px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.02em; }
.site-title a { color: inherit; display: flex; align-items: center; gap: 10px; }
.site-title a:hover { color: inherit; }
.site-title a::before {
  content: 'AI'; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; background: linear-gradient(135deg, var(--indigo-600), var(--violet-500));
  border-radius: 9px; color: #fff; font-size: 12px; font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: 0; box-shadow: var(--shadow-indigo);
}
nav ul { display: flex; list-style: none; gap: 2px; align-items: center; }
nav a { color: var(--ink-500); font-weight: 500; font-size: 14px; padding: 8px 14px; border-radius: var(--r-sm); transition: color 0.18s ease, background 0.18s ease; }
nav a:hover { background: var(--surface-2); color: var(--ink-900); }
nav ul li.nav-cta a, nav ul li:last-child a {
  background: var(--ink-900); color: #fff; padding: 9px 18px; border-radius: var(--r-sm);
  font-weight: 600; margin-left: 10px; transition: transform 0.18s ease, background 0.18s ease;
}
nav ul li.nav-cta a:hover, nav ul li:last-child a:hover { background: var(--indigo-600); color: #fff; transform: translateY(-1px); }

/* ==================== ボタン ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px;
  padding: 14px 28px; background: var(--indigo-600); color: #fff; border-radius: 11px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer; border: none; box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--indigo-500); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-indigo); }
.btn-primary { background: var(--indigo-600); }
.btn-light { background: var(--indigo-600); color: #fff; box-shadow: var(--shadow-indigo); }
.btn-light:hover { background: var(--indigo-500); color: #fff; }
.btn-outline { background: var(--white); color: var(--ink-800); border: 1px solid var(--line-2); box-shadow: var(--shadow-xs); }
.btn-outline:hover { background: var(--surface); color: var(--ink-900); border-color: var(--ink-300); box-shadow: var(--shadow-sm); }
.btn-success { background: var(--emerald-500); box-shadow: var(--shadow-sm); color: #fff; }
.btn-success:hover { background: #059669; color: #fff; box-shadow: var(--shadow-md); }

/* ==================== HERO（product-first / workflow-led） ==================== */
.hero { position: relative; overflow: hidden; padding: 88px 28px 40px; text-align: center; background: var(--white); }
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 680px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.12) 0%, rgba(139,124,255,0.06) 40%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; max-width: 100%;
  background: var(--indigo-50); border: 1px solid rgba(79,70,229,0.14); color: var(--indigo-600);
  padding: 7px 16px 7px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; margin-bottom: 30px;
}
.hero-eyebrow .flow { display: inline-flex; align-items: center; gap: 6px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11.5px; letter-spacing: 0.04em; color: var(--indigo-600); }
.hero-eyebrow .flow span { color: var(--ink-300); }
.hero-eyebrow .divider { width: 1px; height: 12px; background: var(--line-2); }
.hero h1 { font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif; font-size: 60px; font-weight: 800; line-height: 1.12; letter-spacing: -0.04em; color: var(--ink-900); margin: 0 0 26px; }
.hero h1 em { font-style: normal; background: linear-gradient(110deg, var(--indigo-600), var(--violet-500)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-sub { font-size: 18px; color: var(--ink-500); line-height: 1.8; margin: 0 auto 38px; max-width: 560px; }
.hero-btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--ink-400); }
.trust-item { display: flex; align-items: center; gap: 7px; }
.trust-check { color: var(--emerald-500); display: inline-flex; }

/* ==================== WORKFLOW PIPELINE ==================== */
.wf { position: relative; padding: 36px 28px 110px; background: var(--white); }
.wf-inner { max-width: 1000px; margin: 0 auto; }
.wf-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.wf-tab {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); background: var(--white);
  color: var(--ink-500); cursor: pointer; font-family: inherit; border-radius: 11px; padding: 12px 20px;
  font-size: 14px; font-weight: 700; transition: all 0.25s ease; white-space: nowrap; box-shadow: var(--shadow-xs);
}
.wf-tab .wf-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); color: var(--ink-500); font-size: 12px; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; }
.wf-tab.is-active { border-color: var(--indigo-600); background: var(--indigo-50); color: var(--indigo-600); }
.wf-tab.is-active .wf-num { background: var(--indigo-600); color: #fff; }
.wf-track { max-width: 560px; margin: 16px auto 0; height: 2px; background: var(--line); border-radius: 2px; }
.wf-bar { height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--indigo-500), var(--violet-300)); border-radius: 2px; transition: width 0.5s cubic-bezier(0.16,1,0.3,1); }
.wf-window { margin-top: 30px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15,23,42,0.06); background: #10162a; }
.wf-adminbar { height: 32px; background: #1d2327; display: flex; align-items: center; padding: 0 12px; gap: 10px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.wf-adminbar .wp-logo { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: #3c434a; border-radius: 3px; color: #c3c4c7; font-size: 10px; font-weight: 900; }
.wf-adminbar .site { font-size: 11.5px; color: #e0e0e0; font-weight: 600; }
.wf-adminbar .new { font-size: 11px; color: #a7aaad; }
.wf-adminbar .user { margin-left: auto; font-size: 11px; color: #a7aaad; }
.wf-panel { display: none; }
.wf-panel.is-active { display: block; }

/* ==================== クリック体験デモ ==================== */
.click-demo { position: relative; cursor: pointer; }
.click-demo-step { display: none; position: relative; }
.click-demo-step.is-active { display: block; }
.click-demo-hotspot { position: absolute; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(79,70,229,0.22); border: 2px solid rgba(255,255,255,0.85); cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(99,102,241,0.55); animation: hotspotPulse 1.8s ease-out infinite; }
.click-demo-hotspot span { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.click-demo-hotspot:hover { background: rgba(79,70,229,0.32); }
.click-demo-hotspot.is-onboarding { width: 46px; height: 46px; background: rgba(79,70,229,0.3); animation: hotspotPulseStrong 1.5s ease-out infinite; }
@keyframes hotspotPulse { 0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.55); } 70% { box-shadow: 0 0 0 16px rgba(99,102,241,0); } 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); } }
@keyframes hotspotPulseStrong { 0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.65); } 70% { box-shadow: 0 0 0 22px rgba(99,102,241,0); } 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); } }
.click-demo-hint-badge { position: absolute; right: 10%; top: 22%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--indigo-600); font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: var(--r-pill); box-shadow: 0 6px 18px rgba(0,0,0,0.22); white-space: nowrap; pointer-events: none; animation: hintBadgeFloat 1.8s ease-in-out infinite; }
@keyframes hintBadgeFloat { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(-58%); } }
.click-demo-caption { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(11,15,30,0.82); backdrop-filter: blur(6px); color: #fff; font-size: 13.5px; font-weight: 700; padding: 10px 16px; border-radius: 10px; pointer-events: none; }
.click-demo-cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; background: var(--indigo-600); color: #fff; padding: 14px 26px; border-radius: 11px; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 12px 30px rgba(79,70,229,0.4); white-space: nowrap; }
.click-demo-cta:hover { background: var(--indigo-500); color: #fff; }
.wf-hint { text-align: center; font-size: 13px; color: var(--ink-400); margin: 22px 0 0; }
.wf-hint strong { color: var(--ink-700); }

/* 3ステップ説明 */
.stage-cards { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 28px 110px; }
.stage-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-xs); }
.stage-card .row { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.stage-card .num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 800; color: var(--indigo-600); }
.stage-card .line { flex: 1; height: 1px; background: var(--line); }
.stage-card h3 { font-size: 17px; font-weight: 700; color: var(--ink-900); margin: 0 0 9px; }
.stage-card p { font-size: 13.5px; color: var(--ink-500); line-height: 1.8; margin: 0; }

/* ==================== セクションヘッダー ==================== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--indigo-600); font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.section-eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--indigo-500); display: inline-block; }
.section-title { font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif; font-size: 40px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--ink-500); line-height: 1.7; }

/* ==================== FEATURES（bento） ==================== */
.features { padding: 24px 28px 120px; background: var(--white); }
.features-grid, .bento-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card, .bento-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.bento-card.col-2 { grid-column: span 2; }
.bento-card.col-3 { grid-column: span 3; }
.bento-card.span-wide { display: flex; align-items: center; gap: 22px; padding: 26px 30px; }
.bento-card.accent { background: linear-gradient(160deg, #f4f3ff, #ffffff); border-color: rgba(99,102,241,0.2); }
.feature-card:hover, .bento-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon { width: 46px; height: 46px; flex-shrink: 0; background: var(--indigo-50); color: var(--indigo-600); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.bento-card.span-wide .feature-icon { margin-bottom: 0; }
.feature-card:hover .feature-icon { background: var(--indigo-600); color: #fff; }
.feature-card h3, .bento-card h3 { font-size: 17px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p, .bento-card p { font-size: 14px; color: var(--ink-500); line-height: 1.75; }
.bento-card .big-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 46px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.bento-card .code-strip { margin-top: 18px; background: var(--ink-900); border: 1px solid var(--ink-800); border-radius: 10px; padding: 13px 15px; font-family: 'Plus Jakarta Sans', monospace; font-size: 11px; line-height: 1.9; color: rgba(255,255,255,0.55); }
.bento-card .code-strip .info { color: var(--indigo-300); }
.bento-card .code-strip .ok { color: #34d399; }

/* ==================== FEATURES（アイコン+テキスト行レイアウト） ==================== */
.feature-rows { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-row { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.feature-row:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-row .feature-icon { margin-bottom: 0; }
.feature-row .feature-body h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 16.5px; font-weight: 700; color: var(--ink-900); margin: 0 0 8px; letter-spacing: -0.01em; }
.feature-row .feature-body p { font-size: 13.5px; color: var(--ink-500); line-height: 1.75; margin: 0; }
.feature-stat-pill { display: inline-flex; align-items: center; background: var(--indigo-50); color: var(--indigo-600); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); white-space: nowrap; }

.feature-icon.tone-violet  { background: rgba(139,124,255,0.12); color: var(--violet-500); }
.feature-icon.tone-emerald { background: var(--emerald-50);      color: var(--emerald-500); }
.feature-icon.tone-amber   { background: rgba(245,158,11,0.12); color: var(--amber); }
.feature-icon.tone-rose    { background: var(--rose-50);         color: var(--rose-500); }

/* ==================== HOW TO USE ==================== */
.how { padding: 120px 28px; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-inner { max-width: 960px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; text-align: center; box-shadow: var(--shadow-xs); }
.step-num { width: 54px; height: 54px; background: var(--white); color: var(--indigo-600); border: 1.5px solid var(--line-2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; margin: 0 auto 20px; box-shadow: var(--shadow-sm); }
.step h3 { font-size: 16px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-500); line-height: 1.75; }

/* ==================== PRICING ==================== */
.pricing-section, .pricing { padding: 24px 28px 120px; background: var(--white); }
.pricing-inner { max-width: 880px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.pricing-card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 38px 34px; position: relative; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pricing-card.featured { border: 1.5px solid var(--indigo-600); box-shadow: var(--shadow-indigo); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(120deg, var(--indigo-600), var(--violet-500)); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; padding: 5px 16px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--shadow-indigo); }
.pricing-plan { font-size: 13px; font-weight: 700; color: var(--ink-400); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.1em; font-family: 'Plus Jakarta Sans', sans-serif; }
.pricing-price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 52px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; font-feature-settings: "tnum"; }
.pricing-price span { font-size: 19px; font-weight: 700; letter-spacing: 0; color: var(--ink-500); }
.pricing-desc { font-size: 13.5px; color: var(--ink-500); margin-bottom: 24px; line-height: 1.6; }
.pricing-divider { height: 1px; background: var(--line); margin: 24px 0; }
.pricing-features { list-style: none; margin-bottom: 30px; }
.pricing-features li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ink-700); padding: 9px 0; }
.pricing-check { color: var(--emerald-500); flex-shrink: 0; display: inline-flex; }
.pricing-note { font-size: 11.5px; color: var(--ink-400); margin-top: 16px; line-height: 1.65; }
.btn-plan { display: block; width: 100%; padding: 14px; border-radius: 11px; font-weight: 700; font-size: 15px; text-align: center; transition: all 0.18s ease; cursor: pointer; border: none; box-sizing: border-box; }
.btn-plan-primary { background: var(--indigo-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-plan-primary:hover { background: var(--indigo-500); transform: translateY(-2px); box-shadow: var(--shadow-indigo); color: #fff; }
.btn-plan-outline { background: var(--white); color: var(--ink-800); border: 1px solid var(--line-2); }
.btn-plan-outline:hover { border-color: var(--indigo-600); color: var(--indigo-600); background: var(--surface); }

/* ==================== FAQ ==================== */
.faq { padding: 24px 28px 120px; background: var(--surface); border-top: 1px solid var(--line); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 28px; margin-bottom: 12px; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.faq-item:hover { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.faq-q { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 12px; letter-spacing: -0.01em; }
.faq-q-icon { width: 24px; height: 24px; background: var(--indigo-50); color: var(--indigo-600); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; margin-top: 1px; font-family: 'Plus Jakarta Sans', sans-serif; }
.faq-a { font-size: 14px; color: var(--ink-500); line-height: 1.85; padding-left: 37px; }

/* ==================== CTA バナー（ダーク・アクセント） ==================== */
.cta-banner { position: relative; text-align: center; padding: 30px 28px 120px; overflow: hidden; background: var(--white); }
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; background: var(--ink-900); border: 1px solid rgba(99,102,241,0.25); border-radius: 24px; padding: 64px 40px; overflow: hidden; }
.cta-inner::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(ellipse, rgba(99,102,241,0.32) 0%, transparent 65%); pointer-events: none; animation: glowPulse 7s ease-in-out infinite; }
.cta-banner h2 { position: relative; font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif; font-size: 38px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.03em; line-height: 1.25; }
.cta-banner p { position: relative; font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 36px; }
.cta-banner > .cta-inner > div { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white { display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; background: #fff; color: var(--ink-900); border-radius: 11px; font-weight: 700; font-size: 15px; transition: all 0.18s ease; box-shadow: var(--shadow-md); }
.btn-cta-white:hover { transform: translateY(-2px); color: var(--indigo-600); box-shadow: var(--shadow-lg); }
.btn-cta-outline { display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.22); border-radius: 11px; font-weight: 700; font-size: 15px; transition: all 0.18s ease; }
.btn-cta-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.12); color: #fff; }

/* ==================== FOOTER（ダーク） ==================== */
footer { background: var(--ink-900); color: #fff; padding: 72px 28px 36px; }
.footer-inner, .footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3, .footer-content > div:first-child h3 { display: flex; align-items: center; gap: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 14px; text-transform: none; letter-spacing: -0.02em; }
.footer-brand p, .footer-content > div:first-child p { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.75; max-width: 280px; }
.footer-col h4, .footer-content h3 { font-size: 12px; font-weight: 700; margin-bottom: 18px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif; }
.footer-col ul, .footer-content ul { list-style: none; }
.footer-col li, .footer-content li { margin-bottom: 11px; }
.footer-col a, .footer-content a { color: rgba(255,255,255,0.65); font-size: 13.5px; transition: color 0.18s ease; display: block; }
.footer-col a:hover, .footer-content a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); font-size: 12px; text-align: center; }

/* ==================== 固定 / 法的ページ ==================== */
.page-content, .legal-page { padding: 80px 28px; max-width: 880px; margin: 0 auto; }
.page-title, .legal-title { font-size: 32px; font-weight: 800; margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); color: var(--ink-900); letter-spacing: -0.03em; }
.page-body, .legal-content { line-height: 1.95; color: var(--ink-700); }
.page-body h2, .legal-content h2 { font-size: 21px; font-weight: 700; margin: 44px 0 16px; padding-left: 14px; border-left: 3px solid var(--indigo-600); color: var(--ink-900); letter-spacing: -0.01em; }
.page-body h3, .legal-content h3 { font-size: 17px; font-weight: 700; margin: 30px 0 10px; color: var(--ink-900); }
.page-body p, .legal-content p { margin-bottom: 16px; }
.page-body ul, .page-body ol, .legal-content ul, .legal-content ol { margin: 12px 0 20px 24px; }
.page-body li, .legal-content li { margin-bottom: 8px; }
.page-body table, .legal-content table { width: 100%; border-collapse: collapse; margin: 20px 0 32px; font-size: 15px; }
.page-body th, .legal-content th { width: 32%; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; text-align: left; vertical-align: top; color: var(--ink-900); }
.page-body td, .legal-content td { padding: 14px 16px; border: 1px solid var(--line); vertical-align: top; line-height: 1.7; }
.page-body a, .legal-content a { color: var(--indigo-600); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.page-body code, .legal-content code { background: var(--surface-2); padding: 2px 7px; border-radius: 5px; font-size: 0.9em; }

/* ==================== 認証フォーム ==================== */
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 38px; max-width: 440px; width: 100%; box-shadow: var(--shadow-md); }
.auth-title { font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif; font-size: 26px; font-weight: 800; margin-bottom: 8px; text-align: center; color: var(--ink-900); letter-spacing: -0.02em; }
.auth-sub { color: var(--ink-500); font-size: 14px; text-align: center; margin-bottom: 28px; }
.auth-field { margin-bottom: 18px; }
.auth-field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; color: var(--ink-800); }
.auth-field input { width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 15px; transition: border-color 0.18s ease, box-shadow 0.18s ease; outline: none; box-sizing: border-box; background: var(--white); color: var(--ink-900); font-family: inherit; }
.auth-field input::placeholder { color: var(--ink-300); }
.auth-field input:focus { border-color: var(--indigo-500); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.auth-hint { font-size: 12px; color: var(--ink-400); margin-top: 5px; display: block; }
.auth-notice { padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 18px; }
.auth-notice--error { background: var(--rose-50); color: var(--rose-500); border: 1px solid #fecdd3; }
.auth-notice--success { background: var(--emerald-50); color: #059669; border: 1px solid #a7f3d0; }
.auth-links { text-align: center; margin-top: 22px; font-size: 14px; }
.auth-links a { color: var(--indigo-600); }

/* ==================== マイページ ==================== */
.account-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; margin-bottom: 20px; box-shadow: var(--shadow-xs); }
.account-card h2 { font-size: 17px; font-weight: 700; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ink-900); }
.account-card p { color: var(--ink-700); }
.account-card p strong { color: var(--ink-900); }
.license-row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; margin-bottom: 16px; }
.license-code { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 9px 14px; font-family: 'SF Mono', 'Courier New', monospace; font-size: 14px; letter-spacing: 0.05em; word-break: break-all; color: var(--ink-900); }
.btn-copy { padding: 8px 16px; background: var(--ink-900); color: #fff; border: none; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.18s ease; }
.btn-copy:hover { background: var(--indigo-600); }
.plan-badge { display: inline-block; background: var(--indigo-600); color: #fff; font-size: 12px; padding: 5px 13px; border-radius: var(--r-pill); font-weight: 700; }
.status-badge { display: inline-block; font-size: 12px; padding: 5px 13px; border-radius: var(--r-pill); font-weight: 700; }
.status-active { background: var(--emerald-50); color: #059669; }
.status-inactive { background: var(--rose-50); color: var(--rose-500); }

/* ==================== ハンバーガー / モバイルナビ ==================== */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: none; border: none; cursor: pointer; z-index: 200; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform 0.28s ease, opacity 0.2s ease; transform-origin: center; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: block; position: absolute; top: 68px; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); z-index: 150; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mobile-nav.is-open { max-height: 420px; }
.mobile-nav ul { list-style: none; padding: 10px 0 18px; margin: 0; }
.mobile-nav ul li a { display: block; padding: 14px 24px; font-size: 15px; font-weight: 500; color: var(--ink-700); border-bottom: 1px solid var(--line); }
.mobile-nav ul li a:hover { background: var(--surface); color: var(--indigo-600); }
.mobile-nav ul li.mobile-cta a { margin: 14px 24px 0; background: var(--ink-900); color: #fff; border-radius: var(--r-sm); text-align: center; font-weight: 700; border-bottom: none; }
.mobile-nav ul li.mobile-cta a:hover { background: var(--indigo-600); color: #fff; }

/* ==================== ブログ用サイドバー（記事ページ・ブログ一覧共通） ==================== */
.aim-layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.aim-main-col { min-width: 0; }
.aim-sidebar { min-width: 0; }
.aim-sidebar-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow-xs); }
.aim-sidebar-heading { font-size: 14px; font-weight: 800; color: var(--ink-900); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--indigo-50); }
.aim-sidebar-cta-sticky { position: sticky; top: 88px; background: linear-gradient(135deg,#15173a,#0e1120); border-radius: var(--r-lg); padding: 24px 20px; text-align: center; }
.aim-sidebar-cta-btn { display: inline-block; width: 100%; box-sizing: border-box; background: #06c755; color: #fff; padding: 12px; border-radius: 10px; font-weight: 800; font-size: 14px; text-decoration: none; }
.aim-sidebar-cta-btn:hover { color: #fff; opacity: 0.92; }
.aim-mobile-sticky-cta { display: none; }

/* ==================== レスポンシブ ==================== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 50px; }
  .features-grid, .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.col-2, .bento-card.col-3 { grid-column: span 2; }
  .footer-inner, .footer-content { grid-template-columns: 1fr 1fr; gap: 36px; }
  .aim-layout-2col { grid-template-columns: 1fr 280px; gap: 32px; }
}
@media (max-width: 600px) {
  .feature-rows { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .header-content { padding: 0 18px; height: 64px; }
  .mobile-nav { top: 64px; }
  .container { padding: 0 18px; }
  .hero { padding: 64px 18px 24px; }
  .hero h1 { font-size: 34px; line-height: 1.2; }
  .hero-sub { font-size: 16px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { width: 100%; }
  .wf { padding: 24px 18px 80px; }
  .wf-tab { padding: 10px 14px; font-size: 13px; }
  .wf-window { margin-top: 24px; }
  .stage-cards { grid-template-columns: 1fr; padding: 0 18px 80px; }
  .features, .pricing, .faq, .cta-banner { padding: 24px 18px 80px; }
  .how { padding: 72px 18px; }
  .features-grid, .bento-grid { grid-template-columns: 1fr; gap: 14px; }
  .bento-card.col-2, .bento-card.col-3 { grid-column: span 1; }
  .bento-card.span-wide { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-title { font-size: 30px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; max-width: 440px; margin: 44px auto 0; }
  .cta-banner h2 { font-size: 30px; }
  .cta-inner { padding: 48px 24px; }
  .footer-inner, .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer { padding: 56px 18px 28px; }
  .legal-page, .page-content { padding: 48px 18px; }

  .aim-layout-2col { grid-template-columns: 1fr; gap: 0; }
  .aim-sidebar-cta-sticky { display: none; }
  .aim-mobile-sticky-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: var(--indigo-600); color: #fff; font-weight: 800; font-size: 14px;
    padding: 14px; text-decoration: none; box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
  }
  footer { padding-bottom: 84px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 29px; }
  .section-title { font-size: 26px; }
  .pricing-price { font-size: 44px; }
  .footer-inner, .footer-content { grid-template-columns: 1fr; gap: 24px; }
  .auth-card { padding: 36px 24px; }
}

/* ==================== アクセシビリティ ==================== */
:focus-visible { outline: 2px solid var(--indigo-500); outline-offset: 2px; border-radius: 4px; }

/* ==================== モーション ==================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); will-change: opacity, transform; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }
.hero h1 .kinetic { display: inline-block; }
@keyframes kineticIn { to { opacity: 1; transform: translateY(0); } }
@keyframes heroFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glowPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 0.85; } }
@keyframes caret { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes fillBar { from { width: 0; } to { width: 100%; } }
@keyframes logIn { from { opacity: 0; transform: translateX(-5px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ==================== スティッキー CTA ==================== */
.sticky-cta { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px); z-index: 90; display: flex; align-items: center; gap: 16px; background: var(--ink-900); color: #fff; padding: 12px 14px 12px 22px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); opacity: 0; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease; pointer-events: none; }
.sticky-cta.is-shown { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.sticky-cta-text { font-size: 14px; font-weight: 700; white-space: nowrap; }
.sticky-cta-text small { display: block; font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 400; }
.sticky-cta a { background: #fff; color: var(--ink-900); padding: 9px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; white-space: nowrap; transition: background 0.18s ease, color 0.18s ease; }
.sticky-cta a:hover { background: var(--indigo-600); color: #fff; }
@media (max-width: 640px) {
  .sticky-cta { left: 16px; right: 16px; transform: translateY(120px); width: auto; justify-content: space-between; }
  .sticky-cta.is-shown { transform: translateY(0); }
  .sticky-cta-text small { display: none; }
}

/* ==================== reduced-motion ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero h1 .kinetic, .hero-eyebrow, .hero-sub, .hero-btns, .hero-trust { opacity: 1 !important; animation: none !important; transform: none !important; }
}
