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

/* 基本設定 */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 6rem;
}

/* ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
}

/* ヒーローセクション */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* ヒーロービジュアル */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* 変換フロー */
.conversion-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 400px;
    height: 100%;
    padding: 0.5rem 0;
}

.conversion-step {
    text-align: center;
    background: white;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.conversion-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.step-header {
    margin-bottom: 0.5rem;
}

.step-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.step-header h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.step-header p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
}

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

.step-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.step-image img:hover {
    transform: scale(1.02);
}

.conversion-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #1e3a8a;
}

.triangle-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #1e3a8a;
    animation: bounce 2s infinite;
}

.conversion-arrow span {
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.visual-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.card-header {
    background-color: var(--bg-tertiary);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.card-dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--text-light);
}

.card-dots span:first-child {
    background-color: #ef4444;
}

.card-dots span:nth-child(2) {
    background-color: #f59e0b;
}

.card-dots span:last-child {
    background-color: #10b981;
}

.card-content {
    padding: 2rem;
}

.before-after {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.before, .after {
    flex: 1;
    text-align: center;
}

.before h4, .after h4 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.drawing-preview {
    background-color: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.dimension {
    background-color: white;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* セクション共通 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 課題セクション */
.problem {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

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

.problem-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .problem-grid-3 {
        grid-template-columns: 1fr;
    }
}

.problem-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    width: 4rem;
    height: 4rem;
    background-color: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ef4444;
    font-size: 1.5rem;
}

.problem-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.problem-title h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.problem-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 課題イメージ */
.problem-image {
    margin: 1rem 0;
}

.image-placeholder {
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 1rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    max-width: 200px;
}

/* 時間の視覚化 */
.time-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.clock-face {
    width: 40px;
    height: 40px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-hand {
    width: 2px;
    height: 15px;
    background-color: #ef4444;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    transform-origin: bottom;
}

.clock-numbers {
    font-size: 0.75rem;
    font-weight: bold;
    color: #ef4444;
}

.arrow-down {
    color: #ef4444;
    font-size: 1rem;
}

.frustrated-worker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #ef4444;
}

.frustrated-worker span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* エラーの視覚化 */
.error-visual .document-stack {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.document.error {
    background-color: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #ef4444;
}

.document.error i {
    font-size: 1rem;
}

.document.error span {
    font-size: 0.75rem;
    font-weight: 500;
}

.impact-arrow {
    color: #ef4444;
    font-weight: bold;
}

.factory-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #ef4444;
}

.factory-icon i {
    font-size: 1.25rem;
}

.factory-icon span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* グローバル規格の視覚化 */
.standards-circle {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.standard-item {
    position: absolute;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary-color);
    background-color: white;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.5rem;
}

.standard-item:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.standard-item:nth-child(2) { top: 50%; left: 0; transform: translateY(-50%); }
.standard-item:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.standard-item:nth-child(4) { top: 50%; right: 0; transform: translateY(-50%); }

.confusion-center {
    background-color: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* ソリューションセクション */
.solution {
    padding: 6rem 0;
    background: white;
}

.solution-title {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .solution-title {
        white-space: normal;
    }
}

.solution-content {
    max-width: 100%;
}

.solution-text {
    max-width: 100%;
}

.solution-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: center;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.asis-tobe-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--radius-lg);
}

.asis-section,
.tobe-section {
    flex: 1;
    background: white;
    border-radius: var(--radius-md);
    overflow: visible;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
}

.section-header {
    padding: 0.75rem 1rem;
    text-align: center;
}

.asis-header {
    background: #94a3b8;
    color: white;
}

.tobe-header {
    background: #1e40af;
    color: white;
}

.section-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.process-list {
    padding: 1rem;
}

.process-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    min-height: 5rem;
}

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

.invisible-item {
    visibility: hidden;
    border-bottom: none;
}

.step-number {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-left: 0.5rem;
}

.arrow-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.arrow-right {
    font-size: 2rem;
    color: #1e40af;
}

.time-saved-overlay {
    position: absolute;
    top: calc(5rem * 3 + 1rem);
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    margin-top: 5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px dashed #f59e0b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: 1;
}

.time-saved-overlay i {
    font-size: 1.5rem;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.time-saved-overlay p {
    margin: 0;
    font-weight: 600;
    color: #92400e;
    font-size: 1.1rem;
}

@media (max-width: 968px) {
    .asis-tobe-container {
        padding: 1rem;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
    }

    .asis-tobe-container::-webkit-scrollbar {
        height: 6px;
    }

    .asis-tobe-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .asis-tobe-container::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }

    .asis-section,
    .tobe-section {
        font-size: 0.85rem;
        flex-shrink: 0;
        min-width: 280px;
        scroll-snap-align: start;
    }

    .section-header h4 {
        font-size: 1rem;
    }

    .process-list {
        padding: 0.75rem;
    }

    .process-item {
        padding: 0.5rem 0;
        min-height: 4.5rem;
    }

    .step-number {
        font-size: 0.8rem;
    }

    .step-desc {
        font-size: 0.75rem;
    }

    .arrow-container {
        flex-shrink: 0;
        min-width: 40px;
    }

    .arrow-right {
        font-size: 1.5rem;
    }

    .time-saved-overlay {
        top: calc(4.5rem * 3 + 0.75rem);
        bottom: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        margin-top: 4.5rem;
        padding: 1rem;
    }

    .time-saved-overlay i {
        font-size: 1.2rem;
    }

    .time-saved-overlay p {
        font-size: 0.85rem;
    }
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature i {
    color: #10b981;
    font-size: 1.25rem;
}

.feature span {
    color: var(--text-primary);
    font-weight: 500;
}

/* AIプロセス */
.ai-process {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.process-step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

.process-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.process-arrow {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

/* 機能セクション */
.features {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-note {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.feature-note small {
    color: var(--text-light);
    font-size: 0.75rem;
    font-style: italic;
}

.feature-examples {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.feature-examples h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-examples ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-examples li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.feature-examples li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.features-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-md);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.features-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.features-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* 効果セクション */
.benefits {
    padding: 6rem 0;
    background: white;
}

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

.benefits-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefits-text h3:not(:first-child) {
    margin-top: 2rem;
}

.benefits-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* チャート */
.chart-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chart-bar {
    height: 0.5rem;
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-sm);
    transition: width 1s ease;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
}

.chart-label span:first-child {
    color: var(--text-primary);
}

.chart-label span:last-child {
    color: var(--primary-color);
    font-weight: 700;
}

/* 料金セクション */
.pricing {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.special-price-banner {
    text-align: center;
    margin: 2rem 0 3rem;
}

.special-price-text {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: pulse-glow 2s infinite;
    margin: 0;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    }
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.pricing-recommendation {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 0 auto 3rem;
    max-width: 600px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.recommendation-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-bottom: 1rem;
}

.recommendation-badge i {
    margin-right: 0.5rem;
}

.pricing-recommendation p {
    color: var(--text-primary);
    margin: 0;
}

.pricing-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.pricing-table {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.pricing-table thead {
    background: var(--bg-tertiary);
}

.pricing-table th,
.pricing-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.pricing-table th:last-child,
.pricing-table td:last-child {
    border-right: none;
}

.pricing-table tbody tr {
    border-top: 1px solid var(--border-color);
}

.pricing-table tbody tr:hover {
    background-color: var(--bg-secondary);
}

.feature-col {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    width: 25%;
}

.plan-col {
    width: 25%;
    position: relative;
}

.plan-col.featured {
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.plan-header {
    padding-bottom: 1rem;
}

.plan-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.badge-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommended-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-header .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.plan-header .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-header .period {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.pricing-table tbody td {
    color: var(--text-primary);
    font-size: 0.875rem;
}

.pricing-table tbody td.featured {
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    font-weight: 500;
}

.pricing-table small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.text-primary {
    color: var(--primary-color);
}

.text-gray {
    color: var(--text-light);
}

.action-row td {
    padding: 2rem 1rem;
    background: var(--bg-tertiary);
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pricing-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* お客様の声セクション */
.testimonials {
    padding: 6rem 0;
    background: white;
}

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

.testimonial-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* CTAセクション */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* タブナビゲーション */
.form-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
}

.tab-button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-button:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

/* タブコンテンツ */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    width: 100%;
}

.cta-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
}

.cta-form-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.cta-form-container.featured {
    border: 3px solid var(--accent-color);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.form-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.info-item i {
    font-size: 1.25rem;
}

.info-item span {
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .cta-wrapper {
        grid-template-columns: 1fr;
    }

    .cta .container {
        padding: 0 1.5rem;
    }

    .cta-form-container {
        max-width: 100%;
        padding: 1.5rem;
    }

    .cta-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* フォーム */
.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
}

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

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* 会社情報セクション */
.company {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.company-content {
    max-width: 800px;
    margin: 0 auto;
}

.company-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.company-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.company-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.detail-item p {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.detail-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.detail-item a:hover {
    text-decoration: underline;
}

.ceo-message {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.ceo-photo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    width: 6rem;
    height: 6rem;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 2rem;
}

.ceo-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.ceo-text blockquote {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

/* フッター */
.footer {
    background-color: var(--text-primary);
    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.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.footer-logo p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.link-group a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .solution-content,
    .benefits-content,
    .company-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .nav-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .company-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .cta .container {
        padding: 0 1rem;
    }
    
    .cta-form-container {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .before-after {
        flex-direction: column;
        gap: 1rem;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-visual,
.problem-item,
.feature-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* スクロール時のヘッダー効果 */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

/* サンクスページ */
.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.thanks-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.thanks-content h1 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.thanks-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.thanks-info p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.thanks-info i {
    color: var(--primary-color);
}

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