/* PairCap - Product Landing Page CSS (Light & Vibrant Emerald Modern Theme) */
:root {
    --bg-dark: #ffffff;
    --bg-body: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border-color: #e2e8f0;
    --border-subtle: #f1f5f9;
    --border-glow: rgba(16, 185, 129, 0.25);
    
    --primary: #10b981; /* Emerald */
    --primary-hover: #059669;
    --primary-light: #ecfdf5;
    --primary-glow: rgba(16, 185, 129, 0.2);
    
    --accent-blue: #2563eb;
    --accent-blue-glow: rgba(37, 99, 235, 0.15);
    --accent-gold: #d97706;
    --accent-gold-glow: rgba(217, 119, 6, 0.15);
    --accent-purple: #7c3aed;
    --youtube-red: #ef4444;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 8px 30px -4px rgba(16, 185, 129, 0.25);
    
    --font-sans: 'Plus Jakarta Sans', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ナビゲーションバー */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
}

.brand-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    z-index: 2;
    border: 1.5px solid #10b981;
}

.brand-glow {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--primary);
    filter: blur(12px);
    opacity: 0.3;
    z-index: 1;
}

.brand-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.brand-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 言語セレクター UI */
.lang-selector-wrap {
    position: relative;
}

.lang-select-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    padding: 7px 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.lang-select-btn:hover {
    background: rgba(51, 65, 85, 0.85);
    border-color: rgba(16, 185, 129, 0.5);
    color: #ffffff;
}

.lang-globe-icon {
    font-size: 14px;
}

.lang-arrow {
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.lang-selector-wrap.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6), 0 8px 12px -6px rgba(0, 0, 0, 0.5);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.lang-selector-wrap.open .lang-dropdown-menu {
    display: flex;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: all 0.15s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.lang-option.active {
    background: rgba(16, 185, 129, 0.16);
    color: #10b981;
    font-weight: 700;
}

/* ボタン共通 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-primary);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.btn-outline {
    background: #ffffff;
    color: var(--text-primary);
    border: 1.5px solid #cbd5e1;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12.5px;
}

.btn-nav {
    padding: 8px 18px;
    font-size: 13.5px;
}

.btn-hero {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-plan {
    width: 100%;
    padding: 13px;
    margin-top: 24px;
    font-size: 15px;
}

.btn-pro-glow {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.45);
}

.chrome-icon {
    width: 19px;
    height: 19px;
}

.arrow-icon {
    width: 18px;
    height: 18px;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    padding: 130px 24px 80px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
}

.hero-glow-1 {
    top: -120px;
    left: 20%;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
}

.hero-glow-2 {
    top: 100px;
    right: 15%;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

.hero-glow-3 {
    top: 450px;
    left: 40%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #f59e0b 0%, transparent 75%);
    opacity: 0.08;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   Hero Section with Full-Width Mascot Backdrop
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 140px 24px 80px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #f0fdf4 0%, #f8fafc 50%, #ffffff 100%);
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ファーストビュー背景: 特大の真正面上半身レオン（白目＝白の公式アセット） */
.hero-mascot-backdrop {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 840px;
    max-width: 95vw;
    height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.backdrop-aura-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(52, 211, 153, 0.12) 45%, transparent 75%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.backdrop-mascot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    /* 周囲をソフトにぼかして白背景とエメラルドグラデーションに完全に溶け込ませる */
    mask-image: radial-gradient(ellipse at 50% 46%, rgba(0, 0, 0, 0.65) 25%, rgba(0, 0, 0, 0.25) 55%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 46%, rgba(0, 0, 0, 0.65) 25%, rgba(0, 0, 0, 0.25) 55%, transparent 78%);
    opacity: 0.42;
    animation: gentlePulse 6s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.42;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.48;
    }
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ヒーローメインコンテンツ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1.5px solid #a7f3d0;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary);
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -1.8px;
    color: #0f172a;
    margin-bottom: 24px;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.8);
}

.text-gradient {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18.5px;
    color: #334155;
    max-width: 820px;
    margin: 0 auto 36px;
    line-height: 1.68;
    text-wrap: pretty;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.desktop-break {
    display: block;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 48px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 24px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary);
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1.5px;
    color: #0f172a;
    margin-bottom: 24px;
    text-wrap: balance;
}

.text-gradient {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18.5px;
    color: #475569;
    max-width: 780px;
    margin: 0 auto 36px;
    line-height: 1.65;
    text-wrap: pretty;
}

.desktop-break {
    display: block;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 26px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.check-icon {
    color: var(--primary);
    font-weight: bold;
}

.trust-dot {
    color: #cbd5e1;
}

/* ==========================================================
   デモでの指差し案内 (Leon's Spotlight Guide)
   ========================================================== */
.demo-mascot-spotlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 36px;
    max-width: 920px;
    position: relative;
    z-index: 10;
}

.mascot-pointer-bubble {
    background: #ffffff;
    border: 2px solid #10b981;
    border-radius: 20px;
    padding: 18px 24px;
    text-align: left;
    box-shadow: 0 10px 30px -4px rgba(16, 185, 129, 0.18), 0 4px 10px rgba(0, 0, 0, 0.04);
    position: relative;
    flex: 1;
}

/* 吹き出しの三角（右向き） */
.mascot-pointer-bubble::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 12px;
    border-style: solid;
    border-color: transparent transparent transparent #10b981;
}

.mascot-pointer-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -9px;
    transform: translateY(-50%);
    border-width: 7px 0 7px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
    z-index: 1;
}

.bubble-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.bubble-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.bubble-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* 吹き出し内の体験アクションボックス */
.bubble-action-box {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(16, 185, 129, 0.3);
}

.action-box-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 8px;
}

.action-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.action-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
}

.action-chip:hover {
    background: #ecfdf5;
    border-color: #10b981;
    color: #047857;
    transform: translateY(-1px);
}

.chip-icon {
    font-size: 11px;
}

.mascot-pointer-figure {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-pointer-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(16, 185, 129, 0.18)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.mascot-pointer-img:hover {
    transform: scale(1.04) rotate(1.5deg);
}

@media (max-width: 768px) {
    .demo-mascot-spotlight {
        flex-direction: column-reverse;
        gap: 16px;
    }
    .mascot-pointer-bubble::after, .mascot-pointer-bubble::before {
        display: none;
    }
}

/* ==========================================================
   ヒーロー インタラクティブ プレビュー (Mock YouTube Player)
   ========================================================== */
.hero-preview-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    perspective: 1200px;
}

.mock-device-frame {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 40px rgba(16, 185, 129, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

/* 1. YouTube 実機トップバー (スクショ完全準拠) */
.mock-yt-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    background: #0f0f0f;
    border-bottom: 1px solid #272727;
    user-select: none;
}

.yt-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.yt-icon-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.15s ease;
}

.yt-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.yt-brand-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Roboto', 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.yt-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 20px;
    background: #ff0000;
    color: #ffffff;
    border-radius: 6px;
    font-size: 11px;
    padding-left: 2px;
}

.yt-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.yt-country-badge {
    font-size: 10px;
    font-weight: 500;
    color: #aaaaaa;
    margin-top: -8px;
}

.yt-topbar-center {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 580px;
    margin: 0 20px;
}

.yt-search-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    height: 38px;
    background: #121212;
    border: 1px solid #303030;
    border-radius: 40px 0 0 40px;
    padding-left: 16px;
}

.yt-search-placeholder {
    font-size: 14px;
    color: #888888;
}

.yt-search-btn {
    width: 58px;
    height: 38px;
    background: #222222;
    border: 1px solid #303030;
    border-left: none;
    border-radius: 0 40px 40px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.yt-search-btn:hover {
    background: #272727;
}

.yt-mic-btn {
    width: 38px;
    height: 38px;
    background: #181818;
    border-radius: 50%;
    margin-left: 10px;
}

.yt-mic-btn:hover {
    background: #272727;
}

.yt-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yt-create-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #272727;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.yt-create-btn:hover {
    background: #383838;
}

.yt-create-btn .plus-icon {
    font-size: 16px;
    font-weight: 400;
}

.yt-bell-wrap {
    position: relative;
}

.yt-bell-btn {
    width: 40px;
    height: 40px;
}

.yt-badge-count {
    position: absolute;
    top: 3px;
    right: 3px;
    background: #cc0000;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 10px;
    border: 2px solid #0f0f0f;
    line-height: 1;
}

.yt-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #7c3aed;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. メインレイアウト */
.mock-layout-main {
    display: flex;
    background: #0f0f0f;
    align-items: flex-start;
}

.mock-video-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
}

.mock-sidebar-column {
    width: 380px;
    background: #0f0f0f;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 14px 16px 14px 0;
}

/* 3. 動画プレイヤー（アニメ動画背景） */
.mock-video-player {
    position: relative;
    background-color: #000000;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 16 / 9;
    min-height: 360px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* オーバーレイ字幕（実機スクショ位置とスタイル完全準拠） */
.demo-sub-overlay {
    position: absolute;
    bottom: 22px;
    left: 28px;
    max-width: 78%;
    text-align: left;
    pointer-events: auto;
    z-index: 20;
}

.demo-overlay-primary {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.demo-word {
    cursor: default;
    transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    padding: 1px 5px;
    border-radius: 6px;
    border: 1.5px solid transparent;
}

/* カラオケ再生中の単語ハイライト（実機スクショのエメラルドグリーンピル枠を完全再現） */
.demo-word.active {
    background: rgba(16, 185, 129, 0.42);
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.55);
    font-weight: 700;
    transform: scale(1.05);
}

.demo-overlay-secondary {
    font-size: 16px;
    font-weight: 600;
    color: #34d399;
    margin-top: 6px;
    line-height: 1.35;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.95);
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.demo-overlay-secondary.blinded {
    filter: blur(5px);
    opacity: 0.25;
}

.demo-overlay-history {
    margin-top: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* AI解説モーダル */
.demo-ai-modal {
    position: absolute;
    inset: 12px;
    background: rgba(9, 14, 27, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-md);
    z-index: 60;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-ai-modal.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.ai-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-modal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-sparkle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.ai-modal-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.ai-modal-sub {
    font-size: 11px;
    color: #34d399;
}

.ai-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.ai-modal-body {
    padding: 14px 18px;
    overflow-y: auto;
    flex: 1;
    font-size: 13px;
    line-height: 1.55;
}

.ai-target-banner {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 12px;
}

.ai-target-phrase {
    font-size: 14px;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 2px;
}

.ai-target-trans {
    font-size: 12px;
    color: #94a3b8;
}

.ai-section {
    margin-bottom: 10px;
}

.ai-sec-title {
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 3px;
}

.ai-section p {
    color: #cbd5e1;
}

.ai-section code {
    background: rgba(255, 255, 255, 0.1);
    color: #a7f3d0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
}

.highlight-note {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

.highlight-note .ai-sec-title {
    color: #fbbf24;
}

.ai-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.ai-quota {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.quota-pill {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.quota-note {
    color: var(--text-muted);
}

/* 4. PairCap拡張機能バー（プレイヤー直下・実機スクショ完全準拠） */
.mock-paircap-toolbar {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-top: 10px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.paircap-tb-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.paircap-logo-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
    cursor: pointer;
}

.tb-mascot-avatar-wrap {
    position: relative;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-mascot-avatar {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 1.5px solid rgba(16, 185, 129, 0.6);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease;
}

.paircap-logo-wrap:hover .tb-mascot-avatar {
    transform: scale(1.14) rotate(-4deg);
    border-color: #34d399;
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
}

.tb-mascot-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 6.5px;
    height: 6.5px;
    background: #10b981;
    border: 1.5px solid #18181b;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.9);
}

.tb-logo-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.tb-logo-ai {
    font-size: 10.5px;
    font-weight: 700;
    color: #10b981;
    border: 1px solid #10b981;
    border-radius: 999px;
    padding: 0 6px;
    line-height: 1.5;
}

/* 実機完全準拠: デモプレイヤー上の二言語字幕トグルボタン */
.demo-player-btn-toggle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 15;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
    padding: 0;
}

.demo-player-btn-toggle:hover {
    transform: scale(1.08);
    border-color: rgba(52, 211, 153, 0.7);
}

.demo-player-btn-toggle.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.92) 0%, rgba(5, 150, 105, 0.92) 100%);
    border-color: rgba(167, 243, 208, 0.9);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.demo-toggle-mascot-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-toggle-mascot-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-player-btn-toggle:hover .demo-toggle-mascot-img {
    transform: scale(1.12) rotate(-3deg);
}

.demo-toggle-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: #047857;
    color: #ffffff;
    font-size: 7.5px;
    font-weight: 800;
    line-height: 1;
    padding: 1.5px 3px;
    border-radius: 3px;
    border: 1px solid #a7f3d0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.tb-pill {
    background: #27272a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e4e4e7;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.tb-pill:hover {
    background: #3f3f46;
}

.tb-pill.tb-sync {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.tb-sync-dot {
    font-size: 8px;
    color: #10b981;
}

.tb-arrow {
    color: #38bdf8;
    font-size: 10px;
}

.tb-caret {
    font-size: 8px;
    color: #a1a1aa;
}

.tb-star-icon {
    color: #fbbf24;
}

.tb-star-count {
    background: #f59e0b;
    color: #000000;
    font-size: 9.5px;
    font-weight: 800;
    border-radius: 999px;
    padding: 0 5px;
    line-height: 1.3;
}

.paircap-tb-right {
    display: flex;
    align-items: center;
}

.tb-clear-link {
    background: none;
    border: none;
    color: #71717a;
    font-size: 11.5px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.tb-clear-link:hover {
    color: #a1a1aa;
}

/* 5. 字幕トランスクリプト行（実機スクショ完全準拠） */
.mock-transcript-panel {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.panel-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.panel-item {
    background: #141720;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.15s ease;
}

.panel-item.active {
    background: #121824;
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.08);
}

.item-col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 44px;
    flex-shrink: 0;
}

.pill-time {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 600;
    font-family: var(--font-mono);
    border-radius: 4px;
    padding: 1px 5px;
    cursor: pointer;
}

.item-col-left .pill-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

.item-col-left .pill-btn:hover {
    color: #ffffff;
}

.item-col-center {
    flex: 1;
    min-width: 0;
}

.sentence-en {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
}

.row-brand-boxed {
    border: 1px solid #10b981;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    padding: 0 5px;
    display: inline-block;
}

.sentence-ja {
    font-size: 12.5px;
    color: #34d399;
    font-weight: 500;
    margin-top: 3px;
    line-height: 1.35;
}

.sentence-ja.blinded {
    filter: blur(5px);
    opacity: 0.25;
}

.item-col-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.pill-action {
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.pill-action.pill-ai {
    border: 1px solid #10b981;
    color: #10b981;
}

.pill-action.pill-ai:hover {
    background: rgba(16, 185, 129, 0.15);
}

.pill-action.pill-vocab {
    border: 1px solid #3b82f6;
    color: #60a5fa;
}

.pill-action.pill-vocab:hover {
    background: rgba(59, 130, 246, 0.15);
}

.pill-action.pill-vocab .action-svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 2px;
}

/* 6. 右側サイドバー: 単語一覧パネル (実機スクショ完全準拠) */
.yt-vocab-deck-widget {
    background: #141720;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 12px;
}

.yt-vocab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.vocab-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.vocab-book-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vocab-time-text {
    color: #94a3b8;
    font-size: 11.5px;
}

.vocab-badge-green {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 10.5px;
    font-weight: 700;
    padding: 0 6px;
    border-radius: 999px;
}

.vocab-star-filter-btn {
    background: #27272a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fbbf24;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}

.filter-caret {
    font-size: 8px;
    color: #a1a1aa;
}

.yt-vocab-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yt-vocab-card-row {
    background: #0f131c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 8px 10px;
    transition: all 0.15s ease;
}

.yt-vocab-card-row.active-highlight {
    border-color: rgba(16, 185, 129, 0.7);
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

.yt-vocab-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.head-word-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.v-word {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.v-time {
    font-size: 10.5px;
    color: #94a3b8;
    font-family: var(--font-mono);
}

.v-chip-detail {
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60a5fa;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 4px;
    cursor: pointer;
}

.head-action-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.v-btn-icon {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    padding: 2px;
}

.v-btn-icon.star.starred {
    color: #fbbf24;
}

.v-btn-ai {
    background: transparent;
    border: 1px solid #10b981;
    color: #10b981;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 6px;
    cursor: pointer;
    margin-left: 2px;
}

.yt-vocab-meaning-line {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 3px;
}

/* 単語カード詳細アコーディオン */
.yt-vocab-expand-details {
    margin-top: 8px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.5;
    animation: fadeIn 0.2s ease-in-out;
}

.expand-pos {
    color: #38bdf8;
    font-weight: 700;
    margin-bottom: 2px;
}

.expand-desc {
    color: #e2e8f0;
    margin-bottom: 4px;
}

.expand-sample {
    color: #94a3b8;
    font-style: italic;
    border-left: 2px solid rgba(59, 130, 246, 0.5);
    padding-left: 6px;
}

/* 単語ホバー辞書ツールチップ（実機スクショ完全準拠） */
.demo-hover-dict-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 45%;
    transform: translateX(-50%);
    background: #181b24;
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    width: 250px;
    z-index: 50;
    backdrop-filter: blur(12px);
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease;
    animation: tooltipFloat 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-hover-dict-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #181b24 transparent transparent transparent;
}

@keyframes tooltipFloat {
    from {
        opacity: 0;
        transform: translate(-50%, 6px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.dict-tt-head {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.tt-word {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.tt-phonetic {
    font-size: 11.5px;
    color: #60a5fa;
    font-family: var(--font-mono);
}

.tt-sound-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 12px;
    margin-left: auto;
    padding: 2px;
    transition: transform 0.1s ease;
}

.tt-sound-btn:hover {
    transform: scale(1.2);
}

.dict-tt-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tt-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.tt-pos {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 9.5px;
    font-weight: 700;
    padding: 0 4px;
    border-radius: 3px;
    white-space: nowrap;
}

.tt-def {
    font-size: 11.5px;
    color: #f1f5f9;
    line-height: 1.4;
}

.tt-meta {
    font-size: 9.5px;
    color: #94a3b8;
    margin-top: 4px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 4px;
}

/* ==========================================================
   ペインセクション
   ========================================================== */
.section {
    padding: 90px 24px;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 16px;
    text-wrap: balance;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    text-wrap: pretty;
}

.pain-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pain-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.pain-card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.pain-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pain-card:hover .pain-card-img {
    transform: scale(1.05);
}

.pain-card-content {
    padding: 24px 22px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pain-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ef4444;
    background: #fef2f2;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-bottom: 10px;
    border: 1px solid #fee2e2;
}

.pain-card-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #0f172a;
}

.pain-card-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.65;
}

/* ペインセクションのソリューションバナー */
.pain-solution-banner {
    margin-top: 48px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1.5px solid #a7f3d0;
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: var(--shadow-lg);
}

.solution-mascot-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.2));
}

.solution-content {
    flex: 1;
    text-align: left;
}

.solution-tag {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.solution-title {
    font-size: 22px;
    font-weight: 800;
    color: #064e3b;
    margin-bottom: 8px;
}

.solution-desc {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .pain-solution-banner {
        flex-direction: column;
        padding: 24px;
        text-align: center;
    }
    .solution-content {
        text-align: center;
    }
}

/* ==========================================================
   操作性・学習体験のこだわりセクション (section-experience)
   ========================================================== */
.section-experience {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.experience-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 32px 30px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.experience-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.25s ease;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.experience-card:hover::after {
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.exp-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.exp-icon-wrap .exp-num {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 2px;
}

.exp-icon-wrap.emerald {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.exp-icon-wrap.blue {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.exp-icon-wrap.purple {
    background: #f5f3ff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
}
.exp-icon-wrap.gold {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.exp-content {
    flex: 1;
}

.exp-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2.5px 9px;
    border-radius: var(--radius-full);
    background: #f1f5f9;
    color: #475569;
    margin-bottom: 8px;
}

.exp-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.exp-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .experience-card {
        padding: 24px 20px;
        gap: 16px;
    }
}

/* ==========================================================
   機能セクション（6大コア機能）
   ========================================================== */
.features-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card-v2 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-md);
}

.feature-card-v2:hover {
    transform: translateY(-4px);
    border-color: #a7f3d0;
    box-shadow: var(--shadow-xl);
}

.feature-card-v2.featured-ai {
    border-color: #a7f3d0;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.feat-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.feat-badge.emerald {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.feat-badge.blue {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.feat-badge.gold {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.feat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feat-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.35;
}

.feat-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.feat-preview-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 11.5px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.compare-row {
    display: flex;
    gap: 6px;
}

.compare-row.bad {
    color: #dc2626;
}

.compare-row.good {
    color: #059669;
    font-weight: 600;
}

/* 機能カード内のAI解説マスコット */
.feat-ai-mascot-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1.5px solid #a7f3d0;
    border-radius: 14px;
    padding: 14px;
    margin-top: 14px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.feat-ai-mascot-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.feat-ai-mascot-text {
    flex: 1;
    text-align: left;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.45;
}

.feat-ai-mascot-text strong {
    color: #059669;
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}
    color: #4ade80;
    font-weight: 600;
}

.tag-sub {
    font-weight: 700;
    flex-shrink: 0;
}

.feat-chips-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mini-chip {
    font-size: 12px;
    font-weight: 600;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.mini-chip:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.feat-ai-snippet {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.snippet-target {
    font-size: 13px;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 4px;
}

.snippet-text {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

.key-combo-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.kbd {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* ==========================================================
   他社比較セクション
   ========================================================== */
.comparison-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow-x: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 900px;
}

.comparison-table th, .comparison-table td {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    word-break: keep-all;
}

.comparison-table thead th {
    background: rgba(255, 255, 255, 0.02);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

.col-feature {
    width: 28%;
}

.col-paircap {
    width: 24%;
    background: #ecfdf5;
    border-left: 1.5px solid #a7f3d0;
    border-right: 1.5px solid #a7f3d0;
    text-align: center;
}

.col-other {
    width: 16%;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    white-space: normal;
}

.table-brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.table-brand-header .brand-name {
    font-size: 18px;
    font-weight: 800;
    color: #065f46;
}

.table-brand-header .brand-tag {
    font-size: 10.5px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.feature-name strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 3px;
}

.feature-help {
    font-size: 12.5px;
    color: var(--text-muted);
}

.check-circle.green {
    color: #059669;
    font-weight: 700;
    font-size: 15px;
}

.circle-icon {
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 600;
}

.cross-icon {
    color: #94a3b8;
    font-size: 13.5px;
}

.triangle-icon {
    color: #d97706;
    font-size: 13.5px;
}

.table-subtext {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.35;
    font-weight: 400;
}

.col-paircap .table-subtext {
    color: #047857;
    font-weight: 500;
}

/* ==========================================================
   料金プランセクション
   ========================================================== */
.pricing-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 40px auto 0;
}

.pricing-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid #10b981;
    box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.25), 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 料金プランのProカード枠内に収めたレオンのオススメ表示 */
.pro-card-mascot-wrap {
    position: absolute;
    top: 28px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.pro-mascot-speech {
    background: #059669;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
    position: relative;
}

.pro-mascot-speech::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #059669;
}

.pro-mascot-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #10b981;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.plan-badge-simple {
    display: inline-block;
    background: #f1f5f9;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.plan-badge-pro {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.plan-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-secondary);
    min-height: 42px;
    margin-bottom: 24px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.plan-price .amount {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.plan-price .period {
    font-size: 15px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.plan-subprice {
    font-size: 13px;
    color: #34d399;
    font-weight: 600;
    margin-bottom: 28px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-bottom: 28px;
}

.plan-features li {
    font-size: 14.5px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.plan-features li strong {
    color: #0f172a;
    font-weight: 700;
}

.p-check {
    color: var(--primary);
    font-weight: 800;
}

.p-check.pro {
    color: #059669;
}

/* ==========================================================
   FAQ セクション
   ========================================================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.faq-item.active {
    border-color: #a7f3d0;
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16.5px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    gap: 16px;
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 240px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================
   最終CTAセクション
   ========================================================== */
.section-cta {
    padding: 100px 24px 120px;
    background: #f8fafc;
}

.cta-box {
    position: relative;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #047857 100%);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(6, 78, 59, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.cta-box-content {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 2;
}

.cta-glow {
    position: absolute;
    top: -50%;
    right: 0;
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.cta-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 17px;
    color: #a7f3d0;
    max-width: 580px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-mascot-wrap {
    flex-shrink: 0;
    width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-mascot-img {
    width: 270px;
    height: auto;
    max-height: 290px;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 24px rgba(52, 211, 153, 0.35));
    border-radius: 0;
    background: transparent;
    border: none;
    padding: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-mascot-wrap:hover .cta-mascot-img {
    transform: scale(1.08) translateY(-4px) rotate(-2deg);
}

@media (max-width: 860px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
    .cta-box-content {
        text-align: center;
    }
    .cta-subtitle {
        margin: 0 auto 28px;
    }
    .cta-mascot-wrap {
        width: 220px;
        margin-top: 16px;
    }
    .cta-mascot-img {
        width: 210px;
    }
}

/* ==========================================================
   フッター
   ========================================================== */
.footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 64px 24px 36px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 380px;
}

.brand-text-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.footer-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.footer-desc {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 64px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
}

.copyright {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ==========================================================
   レスポンシブ対応
   ========================================================== */
@media (max-width: 1024px) {
    .mock-sidebar-column {
        display: none;
    }
    .pain-cards-grid, .features-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-cards-wrapper {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .desktop-break {
        display: none;
    }
    .pain-cards-grid, .features-grid-v2 {
        grid-template-columns: 1fr;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero {
        width: 100%;
    }
    .mock-video-player {
        height: 280px;
    }
    .section-title {
        font-size: 30px;
    }
    .cta-title {
        font-size: 30px;
    }
    .pro-card-mascot-wrap {
        top: 20px;
        right: 16px;
    }
    .pro-mascot-speech {
        display: none;
    }
    .pro-mascot-img {
        width: 38px;
        height: 38px;
    }
}
