/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link i {
    font-size: 2.5rem;
    color: #94a3b8;
}

.cta-button {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.cta-button::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* デスクトップ用のナビゲーション調整 */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        height: auto;
        padding: 0;
        flex-direction: row;
        gap: 2rem;
    }
    
    .nav-toggle {
        display: none !important;
    }
}

/* ヒーローセクション */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* デスクトップ用のヒーローレイアウト調整 */
@media (min-width: 769px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
        flex-direction: row;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.hero-icon {
    font-size: 3rem;
    margin-right: 1rem;
    vertical-align: middle;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* ヒーロービジュアル */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.2s both;
}

.code-preview {
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.code-header {
    background: #334155;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-title {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
}

.code-content {
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.code-line {
    display: flex;
    margin-bottom: 5px;
}

.line-number {
    color: #64748b;
    margin-right: 15px;
    width: 20px;
    text-align: right;
}

.code-text {
    color: #e2e8f0;
}

.arrow-down {
    text-align: center;
    color: #2563eb;
    font-size: 2rem;
    margin: 1rem 0;
    animation: bounce 2s infinite;
}

.document-preview {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.document-header {
    background: #f8fafc;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.document-header i {
    color: #10b981;
    font-size: 1.2rem;
}

.document-header span {
    color: #374151;
    font-weight: 500;
}

.document-content {
    padding: 15px;
}

.excel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.excel-cell {
    background: white;
    padding: 8px 12px;
    font-size: 0.9rem;
    border: none;
}

.excel-cell.header {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
}

/* セクション共通スタイル */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-icon {
    font-size: 2.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* サービス概要 */
.service-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* ターゲットオーディエンス */
.target-audience {
    padding: 80px 0;
    background: #f8fafc;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.target-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.target-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.target-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.target-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.target-item p {
    color: #64748b;
    line-height: 1.6;
}

/* 対応ソースと出力ドキュメント */
.supported-sources {
    padding: 80px 0;
    background: white;
}

.sources-output {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subsection-icon {
    font-size: 1.8rem;
}

.sources-grid {
    display: grid;
    gap: 1.5rem;
}

.source-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.source-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.source-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.source-header i {
    font-size: 1.5rem;
    color: #2563eb;
}

.source-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
}

.file-types {
    font-family: 'Courier New', monospace;
    background: #e2e8f0;
    color: #374151;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.output-grid {
    display: grid;
    gap: 1.5rem;
}

.output-item {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.output-item:hover {
    background: #e0f2fe;
    transform: translateY(-2px);
}

.output-icon {
    width: 60px;
    height: 60px;
    background: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.output-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0c4a6e;
    margin-bottom: 0.5rem;
}

.output-item p {
    color: #0369a1;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 成果物のビジュアル例 */
.visual-examples {
    padding: 80px 0;
    background: #f8fafc;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.example-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.example-item:hover {
    transform: translateY(-5px);
}

.example-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.example-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.example-item p {
    color: #64748b;
    font-size: 0.95rem;
}

.features-highlight {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    font-weight: 600;
}

.feature-item i {
    font-size: 1.2rem;
}

/* 利用の流れ */
.process {
    padding: 80px 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 導入事例 */
.case-studies {
    padding: 80px 0;
    background: #f8fafc;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.case-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.case-item p {
    color: #64748b;
    line-height: 1.6;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.faq-question i {
    color: #64748b;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 特徴比較 */
.features-comparison {
    padding: 80px 0;
    background: #f8fafc;
}

/* 連携セクション */
.integration-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    border: 2px solid #0ea5e9;
}

.integration-content {
    max-width: 900px;
    margin: 0 auto;
}

.integration-description {
    font-size: 1.1rem;
    color: #0c4a6e;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.integration-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.integration-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.integration-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

.integration-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.integration-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0c4a6e;
    line-height: 1.5;
    margin: 0;
}

.integration-highlight {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.integration-highlight p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.integration-highlight strong {
    color: #60a5fa;
}

/* 特徴カードセクション */
.features-cards-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border: 2px solid #e2e8f0;
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #2563eb;
}

.feature-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-card p strong {
    color: #2563eb;
    font-weight: 600;
}

.comparison-section {
    margin-bottom: 4rem;
}

.comparison-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #1e293b;
    color: white;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
}

.table-cell {
    padding: 1rem;
    border-right: 1px solid #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.table-row:last-child .table-cell {
    border-bottom: none;
}

.table-cell:last-child {
    border-right: none;
}

.table-row:nth-child(even) {
    background: #f8fafc;
}

.table-cell.highlight {
    background: #f0f9ff;
    color: #0c4a6e;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
}

.benefit-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-icon {
    font-size: 2.5rem;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 1rem;
    white-space: nowrap;
}

.cta-feature i {
    color: #10b981;
    font-size: 1.1rem;
}

.cta-message {
    margin-bottom: 3rem;
}

.cta-message p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e2e8f0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* フッター */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e2e8f0;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* レスポンシブデザイン - モバイルファーストアプローチ */

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-container {
        gap: 3rem;
    }

    .sources-output {
        gap: 3rem;
    }

    .target-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .examples-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* タブレット（768px以下） */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* ナビゲーション */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-logo h1 {
        font-size: 1.5rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    /* ヒーローセクション */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-icon {
        font-size: 2.5rem;
        margin-right: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* コードプレビュー */
    .code-preview {
        margin: 0 auto 1.5rem;
        max-width: 100%;
    }

    .code-content {
        font-size: 0.8rem;
        padding: 10px;
    }

    .code-line {
        margin-bottom: 3px;
    }

    .line-number {
        width: 15px;
        margin-right: 10px;
        font-size: 0.7rem;
    }

    .code-text {
        font-size: 0.8rem;
    }

    /* ドキュメントプレビュー */
    .document-preview {
        margin: 0 auto;
        max-width: 100%;
    }

    .excel-grid {
        grid-template-columns: 1fr 1fr 1fr;
        font-size: 0.8rem;
    }

    .excel-cell {
        padding: 6px 8px;
    }

    /* セクションタイトル */
    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-icon {
        font-size: 2rem;
    }

    /* ターゲットグリッド */
    .target-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .target-item {
        padding: 1.5rem;
    }

    .target-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* ソースと出力 */
    .sources-output {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sources-grid,
    .output-grid {
        gap: 1rem;
    }

    .source-item,
    .output-item {
        padding: 1rem;
    }

    /* 例のグリッド */
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .example-item {
        padding: 1.5rem;
    }

    .example-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* プロセスステップ */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* ケーススタディ */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .case-item {
        padding: 1.5rem;
    }

    .case-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* FAQ */
    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem;
    }

    /* 比較テーブル */
    .comparison-table {
        font-size: 0.8rem;
        overflow-x: auto;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        min-width: 300px;
    }

    .table-cell {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 0.8rem;
    }

    .table-cell:last-child {
        border-bottom: none;
    }

    /* ベネフィット */
    .benefits-grid {
        gap: 1.5rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .benefit-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* 連携セクション */
    .integration-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .integration-feature {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .integration-icon {
        margin: 0 auto;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .integration-text h4 {
        font-size: 1rem;
    }

    /* サービス概要 */
    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* 特徴カード */
    .features-cards-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .features-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-card h4 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .cta-feature {
        font-size: 0.95rem;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-highlight {
        flex-direction: column;
        gap: 1rem;
    }
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }

    /* ヒーロー */
    .hero {
        padding: 90px 0 50px;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero-icon {
        font-size: 2rem;
        margin-right: 0.3rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* セクション */
    .section-title {
        font-size: 1.5rem;
    }

    .section-icon {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* ターゲットアイテム */
    .target-item {
        padding: 1rem;
    }

    .target-item h3 {
        font-size: 1.1rem;
    }

    .target-item p {
        font-size: 0.9rem;
    }

    /* ソースアイテム */
    .source-item,
    .output-item {
        padding: 0.8rem;
    }

    .source-header h4,
    .output-item h4 {
        font-size: 1rem;
    }

    .description,
    .output-item p {
        font-size: 0.85rem;
    }

    /* 例アイテム */
    .example-item {
        padding: 1rem;
    }

    .example-item h3 {
        font-size: 1rem;
    }

    .example-item p {
        font-size: 0.85rem;
    }

    /* プロセス */
    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    /* ケース */
    .case-item {
        padding: 1rem;
    }

    .case-item h3 {
        font-size: 1.1rem;
    }

    .case-item p {
        font-size: 0.9rem;
    }

    /* FAQ */
    .faq-question h3 {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    /* 比較テーブル */
    .comparison-table {
        font-size: 0.75rem;
    }

    .table-cell {
        padding: 0.6rem;
    }

    /* ベネフィット */
    .benefit-item {
        padding: 1rem;
    }

    .benefit-content h4 {
        font-size: 1rem;
    }

    .benefit-content p {
        font-size: 0.85rem;
    }

    /* 連携セクション */
    .integration-section {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
    }

    .integration-description {
        font-size: 1rem;
    }

    .integration-text h4 {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .integration-highlight {
        padding: 1.5rem;
    }

    .integration-highlight p {
        font-size: 1rem;
    }

    /* 特徴カード */
    .features-cards-section {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
    }

    .features-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* CTA */
    .cta-title {
        font-size: 1.8rem;
    }

    .cta-icon {
        font-size: 2rem;
    }

    .cta-feature {
        font-size: 0.9rem;
    }

    .cta-message p {
        font-size: 1rem;
    }

    /* フッター */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-logo h3 {
        font-size: 1.5rem;
    }

    .footer-logo p {
        font-size: 0.85rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section a {
        font-size: 0.9rem;
    }
}

/* 超小型デバイス（360px以下） */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .target-item,
    .source-item,
    .output-item,
    .example-item,
    .case-item {
        padding: 0.8rem;
    }

    .code-content {
        font-size: 0.7rem;
        padding: 8px;
    }

    .excel-grid {
        font-size: 0.7rem;
    }

    .excel-cell {
        padding: 4px 6px;
    }
}
