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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.language-switch {
    margin-left: 2rem;
}

.language-switch a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.language-switch a:hover {
    background-color: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
}

.logo h1 {
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3b82f6;
}

.cta-button {
    background: #3b82f6;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #2563eb;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #ffffff;
    color: #3b82f6;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #3b82f6;
}

.hero-visual {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Data Samples Section */
.data-samples {
    padding: 80px 0;
    background: white;
}

.data-samples h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.chart-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.chart-item h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
}

.chart-item canvas {
    max-height: 300px;
}

.use-cases h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.use-case {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.use-case h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.use-case p {
    color: #64748b;
}

/* Data Stats Section */
.data-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #3b82f6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #64748b;
    font-size: 0.875rem;
}

/* Data Formats Section */
.data-formats h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.format-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.format-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.format-item p {
    color: #64748b;
}

/* Data Samples Preview */
.data-samples-preview {
    margin: 4rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.data-samples-preview h3 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.sample-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

.sample-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.sample-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sample-tab:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.sample-tab.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.sample-content {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.sample-item {
    display: none;
    padding: 2rem;
}

.sample-item.active {
    display: block;
}

.sample-item h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.sample-item pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.sample-item code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Pricing Section (Updated for Process Flow) */
.pricing {
    padding: 80px 0;
    background: #f8fafc;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.process-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
}

.process-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.process-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pricing-note {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-note h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.pricing-note p {
    color: #64748b;
    line-height: 1.6;
}

.price-highlight {
    font-size: 2.2rem;
    font-weight: 700;
    color: #3b82f6;
    margin: 1rem 0 1.5rem 0;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
    border-radius: 12px;
    border: 2px solid #3b82f6;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.pricing-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    justify-items: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    padding: 0.75rem 1.5rem;
    background: #10b981;
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.benefit-item-full {
    grid-column: 1 / -1;
}

.pricing-description {
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.pricing-description strong {
    color: #dc2626;
    font-size: 1.2rem;
}

.cta-urgency {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #059669;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid #10b981;
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
}

.contact-cta-enhanced {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.contact-cta-enhanced h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta-description {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8fafc;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    color: #475569;
}

.feature-icon {
    font-size: 1.25rem;
}

.btn-xl {
    padding: 1.5rem 4rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-xl:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.cta-note {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
    font-style: italic;
}

.contact-info {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #64748b;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #3b82f6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* ナビゲーション */
    .navbar {
        position: static;
    }
    
    .nav-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    /* ヒーローセクション */
    .hero {
        padding: 20px 0 60px;
    }
    
    .hero .container {
        display: block !important;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    /* ボタン */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 80%;
        max-width: 280px;
        text-align: center;
        padding: 1rem;
    }
    
    /* フィーチャーグリッド */
    .features-grid,
    .data-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* チャート */
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .chart-item canvas {
        max-height: 250px;
    }
    
    /* フォーム */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* 価格カード */
    .pricing-card.featured {
        transform: none;
    }
    
    /* プロセスグリッド */
    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features,
    .data-samples,
    .pricing,
    .contact {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .chart-item {
        padding: 1rem;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .chart-item canvas {
        max-height: 200px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.chart-item,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* 🎯 最適化用追加スタイル */

/* 緊急性バナーのアニメーション */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 最適化されたお問い合わせボタン */
.optimized-inquiry-btn {
    background: linear-gradient(45deg, #f59e0b, #f97316) !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.optimized-inquiry-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6) !important;
}

.optimized-inquiry-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.optimized-inquiry-btn:hover:before {
    left: 100%;
}

/* パルスアニメーション */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.optimized-inquiry-btn {
    animation: pulse 2s infinite;
}

/* 価値提案セクションのホバー効果 */
.value-proposition .container > div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-proposition .container > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* 数値のカウントアップアニメーション風 */
.value-proposition [style*="font-size: 1.5rem"] {
    display: inline-block;
    animation: countUp 1s ease-out 0.5s both;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* お問い合わせセクションの簡素化メッセージ */
.contact [style*="background: #f0fdf4"] {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* 最適化用モバイル対応 */
@media (max-width: 768px) {
    /* 価値提案セクション */
    .value-proposition {
        padding: 2rem 0 !important;
        margin: 1rem 0 !important;
    }
    
    .value-proposition .container > div {
        padding: 1.5rem !important;
    }
    
    .value-proposition h3 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .value-proposition [style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .value-proposition [style*="padding: 1rem"] {
        padding: 0.8rem !important;
    }
    
    .value-proposition [style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
    
    .value-proposition [style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }
    
    /* 緊急性バナー */
    .urgency-banner {
        font-size: 0.8rem !important;
        padding: 0.8rem !important;
        text-align: center !important;
    }
    
    .urgency-banner strong {
        display: block;
        margin-bottom: 0.3rem;
    }
    
    .urgency-banner button {
        margin-left: 0.5rem !important;
        font-size: 1rem !important;
    }
    
    /* 最適化ボタン */
    .optimized-inquiry-btn {
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        width: 100% !important;
        max-width: 280px !important;
    }
    
    /* お問い合わせセクション簡素化メッセージ */
    .contact [style*="background: #f0fdf4"] {
        padding: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .contact [style*="color: #10b981"] {
        font-size: 1rem !important;
    }
    
    .contact [style*="font-size: 0.9rem"] {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    /* 価値提案セクション - 1列表示 */
    .value-proposition [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* 緊急性バナー */
    .urgency-banner {
        font-size: 0.75rem !important;
        padding: 0.6rem !important;
    }
    
    .urgency-banner strong {
        font-size: 0.8rem;
    }
    
    /* 最適化ボタン */
    .optimized-inquiry-btn {
        padding: 0.9rem 1.2rem !important;
        font-size: 0.95rem !important;
    }
}

/* Hero button text color fix */
.hero .btn-primary {
    color: #3b82f6;
}