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

html {
    scroll-behavior: smooth;
}

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

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

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

.btn-secondary {
    background-color: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-secondary:hover {
    background-color: #1a1a1a;
    color: white;
}

.btn-white {
    background-color: white;
    color: #1a1a1a;
    border-color: white;
}

.btn-white:hover {
    background-color: #f5f5f5;
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 12px 24px;
    font-size: 14px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0px;
}

.logo-image {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

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

.nav-link:hover {
    color: #1a1a1a;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background-color: white;
    border-top: 1px solid #e5e5e5;
    padding: 16px 0;
}

.mobile-nav.show {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav-link:hover {
    color: #1a1a1a;
}

/* ヒーローセクション */
.hero {
    padding: 120px 0 80px;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    color: black;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 24px;
    line-height: 1.3;
}

.title-small {
    font-size: clamp(24px, 4vw, 48px);
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: #666;
    margin-bottom: 32px;
    max-width: 800px;
}

.subtitle-small {
    font-size: clamp(14px, 1.8vw, 18px);
}

.hero-support {
    font-size: 18px;
    color: #888;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 600px;
    margin-top: 48px;
}

.feature-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    border-radius: 12px 12px 0 0;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.feature-icon-hero {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon-hero {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.feature-number {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.hero-image {
    text-align: center;
    position: relative;
}

.chat-mockup {
    width: 100%;
    max-width: 300px;
    height: auto;
    transition: transform 0.3s ease;
}

.chat-mockup:hover {
    transform: translateY(-5px);
}

/* セクション共通 */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(28px, 4vw, 32px);
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 導入フローセクション */
.implementation-flow {
    padding: 80px 0;
    background-color: #fff;
}

.flow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.flow-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-content {
    text-align: left;
}

.step-title {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.free-badge {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.step-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-arrow svg {
    opacity: 0.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .flow-container {
        flex-direction: column;
        gap: 24px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .flow-step {
        max-width: 100%;
    }
    
    .step-title {
        justify-content: center;
        text-align: center;
    }
    
    .free-badge {
        margin-left: 0;
    }
}

/* 問題提起セクション */
.problems {
    padding: 80px 0;
    background-color: white;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.problem-card {
    background-color: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6b7280 0%, #4b5563 50%, #374151 100%);
    border-radius: 12px 12px 0 0;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #9ca3af;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 2px solid #d1d5db;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    color: #4b5563;
    transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    border-color: #4b5563;
    color: white;
    transform: scale(1.1);
}

.problem-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    text-align: center;
}

.problem-card h3 .highlight {
    color: #f87171;
    font-weight: 700;
}

.problem-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    text-align: center;
}

.problems-cta {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
}

.problems-cta h3 {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.problems-cta p {
    color: #666;
    margin-bottom: 24px;
    font-size: 16px;
}

.problems-arrow {
    text-align: center;
    margin-bottom: 32px;
    font-size: 32px;
    color: #6b7280;
    animation: bounce 2s infinite;
}

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

.fast-rag-highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    display: inline-block;
    transform: skewX(-5deg);
    margin: 0 4px;
    transition: all 0.3s ease;
}

.fast-rag-highlight:hover {
    transform: skewX(-5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-yellow {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
    border-color: #f59e0b;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
    transition: all 0.3s ease;
}

.btn-yellow:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #d97706;
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    transform: translateY(-2px);
}

/* 1ステップ構築セクション */
.simple-construction {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.benefit-item {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    border-radius: 16px 16px 0 0;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.benefit-item h3 {
    font-size: 22px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* プロセスフロー */
.process-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 64px;
    padding: 48px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
}

.process-step {
    text-align: center;
}

.process-icons {
    position: relative;
    height: 80px;
    margin-bottom: 32px;
}

.process-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 24px;
}

.pdf-icon {
    background-color: #fef3f2;
    color: #dc2626;
    transform: rotate(12deg);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(12deg);
}

.text-icon {
    background-color: #f0fdf4;
    color: #16a34a;
    transform: rotate(-6deg);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%) rotate(-6deg);
}

.url-icon {
    background-color: #faf5ff;
    color: #9333ea;
    transform: rotate(6deg);
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) rotate(6deg);
}

.ai-icon {
    background-color: #1a1a1a;
    color: white;
}

.chatbot-icon {
    background-color: #3b82f6;
    color: white;
}

.process-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.process-description {
    font-size: 12px;
    color: #666;
}

.process-arrow {
    font-size: 24px;
    color: #ccc;
}

/* Fast RAG機能説明セクション */
.fastrag-features {
    padding: 80px 0;
    /* background-color: white; */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.fastrag-features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.fastrag-features-image {
    text-align: center;
    position: relative;
}

.features-mockup {
    width: 100%;
    /* max-width: 280px; */
    /* height: auto; */
    /* border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);  */
    transition: transform 0.3s ease;
    border-radius: 16px;
}

.features-mockup:hover {
    transform: translateY(-5px) scale(1.02);
}

.fastrag-features-text {
    padding-left: 32px;
}

.fastrag-features-title {
    font-size: clamp(28px, 4vw, 32px);
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.fastrag-features-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.fastrag-feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.fastrag-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fastrag-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    border-radius: 16px 16px 0 0;
}

.fastrag-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.fastrag-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.fastrag-feature-item:hover .fastrag-feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.fastrag-feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.fastrag-feature-content p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.fastrag-features-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 特徴セクション */
.features {
    padding: 80px 0;
    background-color: white;
}

/* コア業務説明セクション */
.core-business-section {
    margin-top: 60px;
}

.core-business-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.core-business-text {
    flex: 1;
}

.core-business-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.core-highlight {
    color: #4f46e5;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.core-business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.business-category {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.business-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.business-category:nth-child(1)::before {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

.business-category:nth-child(2)::before {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
}

.business-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-reduce {
    color: #dc2626;
}

.category-expand {
    color: #059669;
}

.category-title i {
    font-size: 1.5rem;
}

.business-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-list li {
    margin-bottom: 8px;
    padding: 8px 0;
    padding-left: 12px;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
}

.list-reduce li {
    border-left: 3px solid #dc2626;
}

.list-expand li {
    border-left: 3px solid #059669;
}

.core-subcategory {
    margin-bottom: 20px;
}

.core-subcategory:last-child {
    margin-bottom: 0;
}

.subcategory-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 1rem;
}

.core-business-image {
    flex: 0 0 400px;
}

.core-graph-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.core-graph-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* コア業務セクション レスポンシブ対応 */
@media (max-width: 768px) {
    .core-business-content {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .core-business-text {
        order: 2;
    }
    
    .core-business-image {
        order: 1;
        flex: none !important;
        width: 100% !important;
    }
    
    .core-business-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .core-business-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .business-category {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .business-list li {
        font-size: 0.85rem;
    }
}

/* 比較表 */
.comparison-table-wrapper {
    margin-bottom: 64px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    display: grid;
    grid-template-columns: 150px repeat(2, 1fr);
    min-width: 600px;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.comparison-header {
    display: contents;
}

.comparison-row {
    display: contents;
}

.comparison-item {
    padding: 24px 20px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comparison-item:last-child {
    border-right: none;
}

.header-item {
    background: #e5e7eb;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 2px solid #d1d5db;
}

.header-item.our-service {
    background: #3b82f6;
    color: white;
    position: relative;
}

.service-name {
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}


.feature-label {
    background: #d1d5db;
    font-weight: 600;
    color: #1a1a1a;
    justify-content: flex-start;
    text-align: center;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
}

.comparison-item.our-service {
    background: #3b82f6;
    border-left: 3px solid #2563eb;
    border-right: 3px solid #2563eb;
    color: white;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.check-icon {
    color: #16a34a;
    background-color: #dcfce7;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.comparison-item.our-service .check-icon {
    background-color: white;
    border: 2px solid #16a34a;
}

.cross-icon {
    color: #dc2626;
    background-color: #fef2f2;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.minus-icon {
    color: #f59e0b;
    background-color: #fefbeb;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.feature-content span {
    font-size: 14px;
    line-height: 1.4;
    color: #4b5563;
    font-weight: 500;
}

.comparison-item.our-service .feature-content span {
    color: white;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    background-color: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
    color: #374151;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

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

.small-text {
    font-size: 14px;
}

.mid-cta {
    background-color: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.mid-cta h3 {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.mid-cta p {
    color: #666;
    margin-bottom: 24px;
}

.mid-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 活用事例セクション */
.usecase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.main-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.case-card {
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.case-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 24px;
}

.customer-icon {
    background-color: #dbeafe;
    color: #2563eb;
}

.store-icon {
    background-color: #e5e7eb;
    color: #374151;
}

.case-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
}

.case-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-item {
    padding-left: 16px;
    border-left: 4px solid;
}

.case-item.problem {
    border-color: #6b7280;
}

.case-item.solution {
    border-color: #9ca3af;
}

.case-item.result {
    border-color: #3b82f6;
}

.case-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-item.problem h4 {
    color: #374151;
}

.case-item.solution h4 {
    color: #4b5563;
}

.case-item.result h4 {
    color: #2563eb;
}

.case-item p {
    color: #666;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

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

.small-case {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.small-case-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.small-case-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
    background-color: #e5e7eb;
    color: #374151;
}

.small-case-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.small-case-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.small-case-content div {
    font-size: 14px;
}

.label {
    font-weight: 600;
    margin-right: 8px;
}

.label.problem {
    color: #374151;
}

.label.solution {
    color: #4b5563;
}

.label.result {
    color: #2563eb;
}

/* 料金セクション */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.pricing-card {
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    max-width: 400px;
    width: 100%;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.price-item {
    margin-bottom: 12px;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.price-title {
    font-size: 24px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 12px;
}

.price-value {
    font-size: 36px;
    font-weight: bold;
    color: #1a1a1a;
}

.price-value-main {
    font-size: 48px;
    font-weight: bold;
    color: #1a1a1a;
}

.price-unit {
    font-size: 18px;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    justify-content: center;
    padding-right: 26px;
}

.pricing-features i {
    margin-right: 12px;
    color: #374151;
}

.pricing-notes {
    text-align: center;
    margin-top: 20px;
}

.pricing-notes p {
    color: #666;
}

.pricing-guarantee {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.pricing-guarantee p {
    color: #1a1a1a;
    font-weight: 600;
    margin: 0;
}

/* FAQセクション */
.faq {
    padding: 80px 0;
    background-color: white;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #e5e7eb;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* デモCTAセクション */
.demo-cta {
    padding: 64px 0;
    background-color: #1a1a1a;
    color: white;
    text-align: center;
}

.demo-cta h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: bold;
    margin-bottom: 16px;
}

.demo-cta p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 32px;
}

/* CTAセクション */
.cta {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: bold;
    margin-bottom: 24px;
}

.cta p {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 32px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto 32px;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    color: #1a1a1a;
}

.form-row input::placeholder {
    color: #999;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 24px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    color: #1a1a1a;
    background-color: white;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    border-radius: 24px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.5;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-select option {
    padding: 8px;
}

.form-status {
    margin-top: 16px;
    font-size: 14px;
    color: #ccc;
    min-height: 20px;
}

.form-status.success {
    color: #4ade80;
}

.form-status.error {
    color: #f87171;
}

/* 運営企業情報セクション */
.company-info {
    padding: 60px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.company-info-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.company-info-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 32px;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.company-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.company-item:last-child {
    border-bottom: none;
}

.company-label {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
    text-align: left;
}

.company-value {
    color: #1a1a1a;
    text-align: left;
    flex: 1;
}

/* フッター */
.footer {
    background-color: #f3f4f6;
    color: #1a1a1a;
    padding: 64px 0;
    border-top: 1px solid #e5e7eb;
}

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

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    transform: skewX(-12deg);
}

.footer-brand p {
    margin-top: 16px;
    color: #666;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1a1a1a;
}

.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.footer-contact p {
    color: #666;
    margin-bottom: 16px;
}

.footer-copyright {
    text-align: center;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.footer-copyright p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-layout {
        display: flex;
        flex-direction: column;
        gap: 48px;
    }

    .hero-image {
        order: -1; /* 動画を一番上に表示 */
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 auto;
        max-width: 300px;
    }

    .feature-item {
        text-align: center;
        padding: 24px 20px;
    }

    .feature-icon-hero {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .chat-mockup {
        max-width: 300px;
    }

    .fastrag-features-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .fastrag-features-text {
        padding-left: 0;
    }

    .fastrag-features-cta {
        justify-content: center;
    }

    .process-flow {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .main-cases {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .mid-cta-buttons {
        flex-direction: column;
    }

    .result-stats {
        grid-template-columns: 1fr;
    }

    .construction-benefits {
        grid-template-columns: 1fr;
    }

    .problems-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .problem-card {
        padding: 20px;
    }

    .problems-cta {
        padding: 20px;
    }

    .construction-benefits {
        gap: 24px;
        max-width: 320px;
    }

    .benefit-item {
        padding: 28px 20px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .benefit-item h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .benefit-item p {
        font-size: 14px;
    }

    .feature-card,
    .case-card,
    .pricing-card {
        padding: 24px;
    }

    .company-details {
        padding: 24px;
    }

    .company-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .company-label {
        min-width: auto;
        font-size: 14px;
    }

    .company-value {
        text-align: left;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .features,
    .usecase,
    .target,
    .pricing,
    .faq,
    .cta {
        padding: 60px 0;
    }

    .problems {
        padding: 60px 0;
    }

    .simple-construction {
        padding: 60px 0;
    }

    .fastrag-features {
        padding: 60px 0;
    }

    .fastrag-features-content {
        gap: 32px;
    }

    .fastrag-feature-item {
        padding: 20px;
        gap: 16px;
    }

    .fastrag-feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .fastrag-feature-content h3 {
        font-size: 18px;
    }

    .fastrag-feature-content p {
        font-size: 14px;
    }

    .fastrag-features-cta {
        flex-direction: column;
    }

    .problems-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .problem-card {
        padding: 20px;
    }

    .problems-cta {
        padding: 20px;
    }

    .construction-benefits {
        gap: 24px;
        max-width: 320px;
    }

    .benefit-item {
        padding: 28px 20px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .benefit-item h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .benefit-item p {
        font-size: 14px;
    }

    .feature-card,
    .case-card,
    .pricing-card {
        padding: 24px;
    }
}

/* コア業務セクションのスタイル */
.fastrag-core-business-section {
    margin-top: 60px;
}

.fastrag-core-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.core-business-text {
    flex: 1;
}

.core-business-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.core-business-highlight {
    color: #4f46e5;
}

.core-business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.core-business-column-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.core-business-column-title i {
    margin-right: 8px;
}

.core-business-column-title.decrease {
    color: #dc2626;
}

.core-business-column-title.increase {
    color: #1e40af;
}

.core-business-list {
    list-style: none;
    padding: 0;
}

.core-business-list-item {
    margin-bottom: 8px;
    padding: 8px 0;
    padding-left: 12px;
    color: #4b5563;
}

.core-business-list-item.decrease {
    border-left: 3px solid #dc2626;
}

.core-business-list-item.increase {
    border-left: 3px solid #1e40af;
    margin-bottom: 4px;
    padding: 4px 0 4px 12px;
    font-size: 0.9rem;
}

.core-business-subcategory {
    margin-bottom: 20px;
}

.core-business-subcategory:last-child {
    margin-bottom: 0;
}

.core-business-subcategory h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.core-business-image {
    flex: 0 0 400px;
}

.core-business-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .fastrag-core-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .core-business-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .core-business-image {
        flex: none;
    }
    
    .core-business-title {
        font-size: 1.5rem;
    }
} 