/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #E2E8F0;
    background-color: #0F172A;
    overflow-x: hidden;
}

.container {
    margin: 0 auto;
    padding: 0 24px;
}

/* Design System Variables */
:root {
    /* Primary Colors */
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --accent-color: #EC4899;
    --success: #10B981;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #A855F7 25%, #EC4899 50%, #F97316 100%);
    --gradient-dark: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #581C87 100%);
    --gradient: var(--gradient-primary);
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    
    /* Spacing Scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 80px;
    
    /* Border Radius Scale */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 50px;
    
    /* Shadow Scale */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px rgba(139, 92, 246, 0.2);
    --shadow-lg: 0 20px 60px rgba(139, 92, 246, 0.15);
    --shadow-purple: rgba(139, 92, 246, 0.25);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-light: rgba(0, 0, 0, 0.1);
    
    /* Text Colors */
    --text-white: #FFFFFF;
    --text-light: #F1F5F9;
    --text-gray-light: #CBD5E1;
    --text-gray: #94A3B8;
    --text-dark: #1E293B;
    --text-muted-dark: #64748B;
    
    /* Background Colors */
    --bg-black: #000000;
    --bg-dark-slate: #0F172A;
    --bg-slate: #1E293B;
    --bg-gray: #374151;
    --bg-light-gray: #6B7280;
    --bg-white: #FFFFFF;
    
    /* Card Backgrounds */
    --card-dark: rgba(30, 41, 59, 0.95);
    --card-gray: rgba(55, 65, 81, 0.95);
    --card-light: rgba(255, 255, 255, 0.95);
    --card-glass-dark: rgba(15, 23, 42, 0.8);
    --card-glass-light: rgba(241, 245, 249, 0.9);
    
    /* Borders */
    --border-dark: rgba(139, 92, 246, 0.3);
    --border-gray: rgba(203, 213, 225, 0.2);
    --border-light: rgba(203, 213, 225, 0.4);
}

/* ========================================
   UTILITY CLASSES 
   ======================================== */

/* Image utilities */
.img-responsive {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.img-card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-article-header {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-top: 48px;
    margin-bottom: 2px;
}

/* Article layout utilities */
.article-white-bg {
    background-color: var(--bg-white);
    color: #333333;
}

.article-content-no-padding {
    padding-top: 0 !important;
}


.article-title-large {
    margin-top: 0;
    margin-bottom: var(--space-xs);
    font-size: var(--text-4xl);
    font-weight: 700;
}

.article-date-meta {
    color: #666;
    font-size: var(--text-sm);
    margin-bottom: 8px;
}

/* ========================================
   BLOG STYLES - Minimal Note/Notion Design
   ======================================== */

/* Blog Header */
.blog-header {
    background: #ffffff;
    padding: 0px 0;
    border-bottom: 1px solid #e5e5e5;
}

/* Article Header Image */
.article-header-image {
    margin: 40px 0 30px 0;
    text-align: center;
}

.article-header-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Article Title Section */
.article-title-section {
    margin-bottom: 50px;
    text-align: left;
}

.article-title-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-title-section .article-description {
    font-size: 1.1rem;
    color: #666;
    margin: 15px 0;
    line-height: 1.6;
}

.article-title-section p {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.article-title-section .article-meta-inline {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.article-title-section .article-tags {
    margin-top: 25px;
}

.blog-header-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-nav .back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Breadcrumb Navigation */
.breadcrumb {
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: var(--space-xs);
    margin-bottom: var(--space-xs);
    font-weight: 400;
}

.breadcrumb a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #9CA3AF;
}

.blog-title-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 10px;
}

.blog-title-section p {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    margin: 0;
}

/* Article meta inline styling */
.article-meta-inline {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.blog-home-link {
    color: var(--text-muted-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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


/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    padding: 80px 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1" fill="rgba(139,92,246,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(139,92,246,0.1)"/><circle cx="25" cy="75" r="1" fill="rgba(236,72,153,0.1)"/><circle cx="75" cy="25" r="1" fill="rgba(236,72,153,0.1)"/></svg>');
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-muted-dark);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Legacy article styles removed - using unified minimal design */

/* Old summary-box and conflicting article styles removed - using unified minimal blog format */

/* Old gradient-based content boxes removed - using minimal design */

/* Old table and list styles removed - using minimal design */

/* Old grid layouts, author info, and related articles removed - using minimal design */

/* Old blog responsive styles removed - using minimal design */

/* ヘッダー */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 4px 20px var(--shadow-dark);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    font-family: "Meiryo", "メイリオ", sans-serif;
}

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

.nav a {
    text-decoration: none;
    color: var(--text-gray-light);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.cta-btn-small {
    background: rgba(255, 255, 255, 0.9);
    color: #374151 !important;
    padding: 10px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.cta-btn-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-btn-small:hover::before {
    width: 100%;
}

.cta-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
    color: #ffffff;
}

/* メインビジュアル */
.hero {
    background: url('hero.png') center/cover;
    color: var(--white);
    padding: 140px 0 100px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('hero.png') center/cover;
    filter: grayscale(1) contrast(1.2) blur(4px) brightness(0.3);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.4;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


.highlight {
    background: var(--gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 3s ease-in-out infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FDE047, transparent);
    border-radius: 2px;
} */

.hero-sub {
    font-size: 1.8rem;
    margin-bottom: 16px;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 48px;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: -0.3px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(20px);
    color: var(--primary-dark);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-btn-primary:hover::before {
    width: 100%;
}

.cta-btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 64px rgba(255, 0, 150, 0.4), 0 8px 32px rgba(0, 204, 255, 0.3);
    background: rgba(248, 250, 252, 1);
}

.cta-btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(20px);
    color: var(--white);
    padding: 16px 40px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-btn-secondary:hover::before {
    width: 100%;
}

.cta-btn-secondary:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: transparent;
    box-shadow: 0 16px 64px rgba(139, 92, 246, 0.4);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.feature-item {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.95;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

/* セクション共通 */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 120px;
    letter-spacing: -1px;
    position: relative;
}

/* ダーク背景用 */
.solution .section-title,
.features .section-title,
.plans .section-title,
.testimonials .section-title {
    color: var(--text-white);
}

/* ホワイト背景用 */
.problem .section-title,
.demo .section-title,
.contact-form .section-title {
    color: var(--text-dark);
}

/* .section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    transform: translateX(-50%);
} */

section {
    padding: 100px 0;
    position: relative;
}

/* section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 60px;
    background: var(--gradient);
    transform: translateX(-50%);
    opacity: 0.3;
} */

/* 開発ストーリーセクション - ダークグレー */
.development-story {
    background: #374151;
    color: var(--text-white);
    position: relative;
}

.story-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.story-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 60px;
    color: var(--text-light);
    font-weight: 400;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* 課題提起セクション - ライトカラー */
.problem {
    background: var(--bg-white);
    color: var(--text-dark);
    position: relative;
}

.problem::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.problem-item {
    background: transparent;
    padding: 32px 24px;
    border-radius: 0;
    text-align: center;
    border: none;
    transition: none;
    position: relative;
    overflow: visible;
}

.problem-item::before {
    display: none;
}

.problem-item:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.problem-item:hover::before {
    opacity: 0;
}

.problem-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    filter: none;
}

.problem-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.problem-icon svg {
    transition: none;
}

.problem-item:hover .problem-icon svg {
    transform: none;
}

.problem-item h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.problem-item p {
    color: var(--text-muted-dark);
    line-height: 1.7;
    font-size: 1rem;
}

/* 解決策セクション - スレート */
.solution {
    background: var(--bg-slate);
    color: var(--text-light);
    position: relative;
}

.solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.solution-content {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-text h3 {
    font-size: 2.4rem;
    margin-bottom: 48px;
    color: var(--text-light);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.solution-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
    font-weight: 400;
}

.solution-text p:last-child {
    margin-bottom: 0;
}

.solution-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shap-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* 左右を入れ替えるための逆レイアウト */
.solution-content-reverse {
    grid-template-columns: 1fr 50%;
    gap: 60px;
    padding: 0 80px;
    max-width: 1200px;
    margin: 0 auto;
}



/* 製品特徴セクション - グレー */
.features {
    background: var(--bg-gray);
    color: var(--text-white);
    position: relative;
}

.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-gray);
    backdrop-filter: blur(20px);
    padding: 48px 36px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-gray);
    box-shadow: 0 8px 32px var(--shadow-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 24px 64px rgba(139, 92, 246, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    width: 300px;
    height: 300px;
}

.feature-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 4px 20px rgba(139, 92, 246, 0.4));
}

.feature-icon svg {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.15) translateY(-4px);
    filter: brightness(1.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--text-gray-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* 料金プラン - ブラック */
.plans {
    background: var(--bg-black);
    color: var(--text-white);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.plan-card {
    background: var(--card-dark);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-dark);
    box-shadow: 0 10px 30px var(--shadow-purple);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--border-dark);
    box-shadow: 0 24px 64px var(--shadow-dark);
}

.plan-card.recommended {
    border: 3px solid var(--primary-color);
}

.plan-badge {
    background: var(--gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
    font-weight: 700;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 8px 0;
    color: var(--text-gray-light);
}

.plan-btn {
    background: var(--gradient);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.3);
}


/* デモセクション - ホワイト */
.demo {
    background: var(--bg-white);
    color: var(--text-dark);
}

.demo-content {
    display: grid;
    gap: 60px;
}

.demo-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    background: var(--gradient);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}



/* 技術ブログセクション - ホワイト */
.knowledge-hub {
    background: #FEFEFE;
    color: #1A1A1A;
    padding: 80px 0;
    border-top: 1px solid #e5e5e5;
}

.knowledge-hub .section-title {
    font-weight: 500;
    color: #4B5563;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    margin-bottom: 60px;
    margin-top: -40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.featured-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 横スクロールレイアウト（メインページ用） */
.featured-articles.horizontal-scroll {
    display: flex;
    gap: 24px;
    overflow: hidden;
    padding: 0 20px;
    margin-bottom: 40px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    position: relative;
}

.featured-articles.horizontal-scroll .scroll-container {
    display: flex;
    gap: 24px;
    animation: autoScroll 30s linear infinite;
}

.featured-articles.horizontal-scroll .article-card {
    flex: 0 0 400px;
    width: 400px;
}

.featured-articles.horizontal-scroll:hover .scroll-container {
    animation-play-state: paused;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}


.article-card {
    background: #FEFEFE;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.2s ease;
    padding: 0;
    height: 320px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #9CA3AF;
}


.article-image {
    position: relative;
    overflow: hidden;
}

.article-card.featured .article-image {
    height: 300px;
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card.featured .article-image img {
    height: 100%;
}

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

.article-category {
    display: none;
}

.article-thumbnail {
    width: 100%;
    height: 200px;
    background: #F3F4F6;
    flex-shrink: 0;
}

.card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-content h3 {
    margin-bottom: auto;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    color: #1A1A1A;
}

.card-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.card-content h3 a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 0.9rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.article-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #9CA3AF;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.view-all-container {
    text-align: center;
    margin-top: 60px;
}

.view-all-btn {
    display: inline-block;
    background: transparent;
    color: #4B5563;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: none;
    border: 1px solid #D1D5DB;
}

.view-all-btn:hover {
    background: #F9FAFB;
    color: #1F2937;
    border-color: #9CA3AF;
}

.blog-description {
    margin-top: 16px;
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}


/* お問い合わせフォーム - ライトグレー */
.contact-form {
    background: #F1F5F9;
    color: var(--text-dark);
}

.form-description {
    text-align: center;
    font-size: 1.3rem;
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 40px;
    margin-top: -60px;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--card-light);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px var(--shadow-light);
}

.contact-form-element {
    display: grid;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(248, 250, 252, 0.5);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* プライバシー同意チェックボックス */
.form-group.privacy-consent {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.privacy-consent .checkbox-label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #374151;
    gap: 12px;
    display: inline-flex;
    align-items: center;
}

.privacy-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.privacy-link:hover {
    border-bottom-color: var(--primary-color);
}

.privacy-consent .required {
    color: #dc2626;
    font-weight: 600;
}

.form-submit {
    text-align: center;
    margin-top: 8px;
}

.submit-btn {
    background: #4a5568;
    color: var(--white);
    padding: 12px 32px;
    border: 1px solid #718096;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.submit-btn:hover {
    background: #2d3748;
    border-color: #4a5568;
    transform: none;
    box-shadow: none;
}

/* フッター - ブラック */
.footer {
    background: var(--bg-black);
    color: var(--text-light);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 20px;
}

.footer-info h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    color: var(--primary-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: var(--text-gray-light);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    color: var(--text-gray);
}

/* ========================================
   MINIMAL BLOG ARTICLE STYLES 
   Note/Notion Inspired Design
   ======================================== */

/* Main Article Container */
.article-main {
    background: #ffffff;
    min-height: 100vh;
}

/* Article Content Wrapper */
.article-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 24px 60px 24px;
    line-height: 1.8;
    color: #333333;
    font-size: 20px;
}

/* Content Sections */
.content-section {
    margin-bottom: 0px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section:first-child {
    margin-top: 0;
}

/* Headings */
.content-section h2,
.article-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: #111111;
    margin: 0px 0 16px 0;
    border-bottom: 1px solid #d1d1d1;
    padding-bottom: 12px;
}

.content-section h3,
.article-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #222222;
    margin: 32px 0 16px 0;
}

.content-section h4,
.article-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    margin: 24px 0 12px 0;
}

/* Text Elements */
.content-section p,
.article-content p {
    margin-bottom: 8px;
    line-height: 1.8;
    color: #333333;
    font-size: 20px;
}

.content-section ul, 
.content-section ol,
.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.content-section li,
.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-section strong,
.article-content strong {
    font-weight: 600;
    color: #111111;
}

/* Blockquotes */
.content-section blockquote {
    border-left: 3px solid #e5e5e5;
    margin: 24px 0;
    padding: 16px 24px;
    background: #fafafa;
    font-style: italic;
    color: #555555;
}

.content-section blockquote p {
    margin-bottom: 0;
}

/* Highlight Text */
.highlight-text {
    background: #f9f9f9;
    padding: 20px;
    margin: 24px 0;
    border-left: 2px solid #333333;
    font-weight: 500;
}

/* Article CTA */
.cta-section-article {
    border-top: 1px solid #e5e5e5;
    margin-top: 64px;
    padding-top: 48px;
    text-align: center;
}

.article-cta h3 {
    color: #111111;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
}

.article-cta p {
    color: #555555;
    margin-bottom: 16px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.cta-buttons a {
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid #333333;
}

.cta-buttons .cta-btn-primary {
    background: #333333;
    color: #ffffff;
}

.cta-buttons .cta-btn-secondary {
    background: #ffffff;
    color: #333333;
}

.cta-buttons .cta-btn-primary:hover {
    background: #111111;
}

.cta-buttons .cta-btn-secondary:hover {
    background: #f5f5f5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .solution-content-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .demo-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .plan-card.recommended {
        transform: none;
    }
}

/* Simple Table */
.simple-table {
    width: auto;
    margin: 16px 0 16px 24px;
    border-collapse: collapse;
    font-size: 20px;
    color: #333333;
}

.simple-table td {
    padding: 8px 16px;
    border: 1px solid #e8e8e8;
    text-align: left;
    background: #fafafa;
}

.simple-table tr:first-child td {
    font-weight: 500;
}

/* Wide Table - コンテナからはみ出して表示 */
.wide-table-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: auto;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 0 20px;
    box-sizing: border-box;
}

.wide-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 16px;
    color: #333333;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.wide-table td {
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    text-align: left;
    background: #fafafa;
    vertical-align: top;
}

.wide-table tr:first-child td {
    background: #f0f0f0;
    font-weight: 600;
    text-align: center;
}

.wide-table tr:not(:first-child) td:first-child {
    font-weight: 500;
    background: #f8f8f8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wide-table-container {
        padding: 0 10px;
    }
    
    .wide-table {
        font-size: 14px;
    }
    
    .wide-table td {
        padding: 8px 10px;
    }
}
    .form-container {
        padding: 30px 20px;
    }
}