/* リセットと基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* 開発中通知バナー */
.dev-notice {
    background: #FEF3C7;
    border-bottom: 2px solid #F59E0B;
    padding: 12px 0;
    text-align: center;
}

.dev-notice p {
    color: #92400E;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

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

/* ヘッダー */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #4F46E5;
}

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

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

.nav-link:hover {
    color: #0056b3;
}

.nav-link.lang-switch {
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 10px;
}

.nav-link.lang-switch:before {
    content: '🌐';
    margin-right: 5px;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #4F46E5;
    color: white;
}

.btn-primary:hover {
    background: #4338CA;
}

.btn-secondary {
    background: #E5E7EB;
    color: #333;
}

.btn-secondary:hover {
    background: #D1D5DB;
}

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

.btn-outline:hover {
    background: #4F46E5;
    color: white;
}

.btn-large {
    padding: 14px 32px;
    font-size: 18px;
}

/* ヒーローセクション */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #6B7280;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* サンプルフォーム */
.sample-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 600px;
}

.sample-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #EF4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F46E5;
}

.form-note {
    margin-top: 20px;
    color: #6B7280;
    font-size: 14px;
}

/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 18px;
    margin-bottom: 60px;
}

/* 課題セクション */
.problems {
    background: #F9FAFB;
}

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

.problem-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.problem-card h3 {
    margin-bottom: 15px;
    color: #1F2937;
}

.problem-card p {
    margin-bottom: 20px;
    color: #6B7280;
}

.warning {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #FEF3C7;
    border-radius: 8px;
}

.warning-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F59E0B;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 24px;
    flex-shrink: 0;
}

.warning strong {
    display: block;
    margin-bottom: 5px;
    color: #92400E;
}

.warning p {
    margin: 0;
    color: #92400E;
    font-size: 14px;
}

/* 特長セクション */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: white;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #4F46E5;
}

/* クリエイティブセクション */
.creative {
    background: #F9FAFB;
}

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

.creative-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.creative-card h3 {
    margin-bottom: 15px;
    color: #1F2937;
}

.view-sample {
    color: #4F46E5;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

/* 機能セクション */
.function-feature {
    margin-bottom: 100px;
}

.function-feature:last-child {
    margin-bottom: 0;
}

.function-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.function-feature.reverse .function-content {
    direction: rtl;
}

.function-feature.reverse .function-text {
    direction: ltr;
}

.function-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1F2937;
}

.function-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #6B7280;
    margin-bottom: 30px;
}

.check-list {
    list-style: none;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-weight: 500;
}

.check-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 0;
}

.sub-text {
    display: block;
    font-weight: normal;
    color: #6B7280;
    font-size: 14px;
    margin-top: 4px;
}

.feature-points {
    display: grid;
    gap: 20px;
}

.feature-point {
    background: #F3F4F6;
    padding: 20px;
    border-radius: 8px;
}

.feature-point h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1F2937;
}

.feature-point p {
    margin: 0;
    font-size: 14px;
    color: #6B7280;
}

.function-images {
    position: relative;
}

.function-image-main {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.topping-note {
    display: inline-block;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 15px;
}

.trigger-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.trigger-item {
    padding: 8px 16px;
    background: #E0E7FF;
    color: #4338CA;
    border-radius: 20px;
    font-size: 14px;
}

.beta-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #10B981;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 10px;
}

.topping-tag {
    color: #6B7280;
    font-size: 14px;
    margin-left: 10px;
}

/* 料金セクション */
.pricing {
    background: #F9FAFB;
}

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

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: #4F46E5;
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.price-unit {
    font-size: 16px;
    font-weight: normal;
    color: #6B7280;
}

.pricing-card .btn {
    width: 100%;
    margin-bottom: 30px;
}

.pricing-card h4 {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
}

.pricing-features li.check::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}

.pricing-features li.cross::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #EF4444;
    font-weight: bold;
}

.pricing-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.pricing-change {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
    text-align: left;
}

.pricing-note {
    margin-top: 30px;
    color: #6B7280;
}

/* トッピングプラン */
.topping-plan {
    padding: 80px 0;
}

.topping-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #10B981;
    text-align: center;
}

.topping-header {
    margin-bottom: 30px;
}

.topping-price {
    margin-bottom: 20px;
}

.original-price {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: 24px;
}

.current-price {
    font-size: 36px;
    font-weight: bold;
    color: #10B981;
    margin: 0 10px;
}

.beta-note {
    background: #D1FAE5;
    color: #065F46;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* CTA */
.cta {
    background: #4F46E5;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.article-link {
    margin-bottom: 40px;
}

.article-link a {
    color: white;
    text-decoration: underline;
    margin: 0 10px;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* フッター */
.footer {
    background: #1F2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #9CA3AF;
    margin-bottom: 20px;
    max-width: 400px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9CA3AF;
}

/* 画像スタイル */
.creative-image,
.function-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.dashboard-preview {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ヒーローセクションのレイアウト調整 */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-image {
    position: relative;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-change {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .function-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .function-feature {
        margin-bottom: 60px;
    }
    
    .function-feature.reverse .function-content {
        direction: ltr;
    }
    
    .function-text {
        text-align: center;
    }
    
    .function-images {
        order: 2;
    }
}