/* ========================================
   SYNAPSE DEAL - Landing Page Styles
   Stripe-inspired Design System
   ======================================== */

/* ========================================
   Layer 0: 強制リセット（ダークモード対策）
   ======================================== */

html {
    color-scheme: light !important;
    background-color: #FFFFFF !important;
}

body {
    color-scheme: light !important;
}

/* ========================================
   Layer 1: リセットとベース設定
   ======================================== */

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

:root {
    /* カラーパレット（v4.0） */
    --color-yellow: #F4E79E;
    --color-yellow-light: #FFFBEB;
    --color-yellow-bright: #FFD60A;
    --color-yellow-dark: #D97706;
    
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-navy: #1E293B;
    
    --color-gray-text: #475569;
    --color-gray-caption: #94A3B8;
    --color-gray-border: #E8ECF0;
    --color-gray-bg: #FAFAFA;
    
    /* タイポグラフィ */
    --font-heading: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    --font-body: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'HG Mincho E', serif;
    --font-english: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    
    /* スペーシング */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
    --spacing-4xl: 128px;
    
    /* ブレークポイント */
    --breakpoint-mobile: 640px;
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
    --breakpoint-wide: 1280px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-gray-text);
    background-color: var(--color-white) !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color-scheme: light;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
}

/* ========================================
   Layer 2: タイポグラフィ
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(36px, 5vw, 48px);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: var(--spacing-sm);
}

p {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.8;
    color: var(--color-gray-text);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
}

/* ========================================
   Layer 3: レイアウトコンテナ
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

.section {
    padding: var(--spacing-4xl) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-3xl) 0;
    }
}

/* ========================================
   Layer 4: ヘッダーとナビゲーション
   ======================================== */

.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(--color-gray-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    gap: var(--spacing-lg);
}

.nav-logo .logo {
    height: 32px;
    max-height: 32px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 0;
}

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

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

@media (max-width: 768px) {
    .nav-cta {
        margin-left: auto;
    }
}

/* ========================================
   Layer 5: ボタンシステム
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Stripe風のシャイン効果 */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #F4E79E 0%, #FFD60A 100%);
    color: var(--color-black);
    box-shadow: 
        0 2px 8px rgba(244, 231, 158, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 214, 10, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFD60A 0%, #F59E0B 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(244, 231, 158, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-gray-border);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 231, 158, 0.1) 0%, rgba(255, 214, 10, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    z-index: -1;
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--color-yellow-bright);
    color: var(--color-navy);
}

.btn-secondary:hover::after {
    opacity: 1;
}

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

/* ========================================
   Layer 6: ラベルシステム
   ======================================== */

.section-label,
.hero-label {
    display: inline-block;
    background: linear-gradient(135deg, #F4E79E 0%, #FFD60A 100%);
    padding: 8px 16px;
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

/* Stripe風のパルス効果 */
.section-label::before,
.hero-label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
}

.section-label:hover::before,
.hero-label:hover::before {
    width: 300px;
    height: 300px;
}

.label-text {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================
   Layer 7: ヒーローセクション
   ======================================== */

.hero {
    padding-top: calc(var(--spacing-4xl) + 80px);
    padding-bottom: calc(var(--spacing-4xl) + var(--spacing-2xl));
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.97) 0%, 
            rgba(255, 249, 230, 0.95) 25%,
            rgba(255, 245, 214, 0.92) 50%,
            rgba(255, 239, 198, 0.9) 75%,
            rgba(255, 235, 180, 0.88) 100%
        ),
        url('../images/hero-bg-modern.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* 背景装飾レイヤー - トップ右の光源 */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, 
        rgba(255, 214, 10, 0.15) 0%, 
        rgba(255, 214, 10, 0.08) 40%,
        transparent 70%);
    z-index: 1;
    filter: blur(80px);
    pointer-events: none;
}

/* 背景装飾レイヤー - 左下の光源 */
.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
        rgba(255, 235, 180, 0.2) 0%, 
        rgba(244, 231, 158, 0.1) 50%,
        transparent 70%);
    z-index: 1;
    filter: blur(60px);
    pointer-events: none;
}

/* グリッドレイアウト */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* タブレットサイズ（768px-1024px）- ビジュアルを非表示 */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        justify-items: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
}

/* Canvas背景（他セクション用） */
.issue-canvas,
.solution-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    text-align: left;
    max-width: 640px;
    position: relative;
    z-index: 2;
    padding: 0;
}

/* Hero Visual - Dashboard Design */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInScale 1s ease 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Hero Visual - Stacked Cards Design */
.hero-cards-stack {
    position: relative;
    width: 400px;
    height: 450px;
    margin: 0 auto;
}

.stack-card {
    position: absolute;
    background: #FFFFFF;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    cursor: pointer;
}

.stack-card-1 {
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(0deg) translateY(0);
}

.stack-card-2 {
    top: 30px;
    left: 20px;
    z-index: 2;
    transform: rotate(-2deg) translateY(0);
    opacity: 0.95;
}

.stack-card-3 {
    top: 60px;
    left: -20px;
    z-index: 1;
    transform: rotate(2deg) translateY(0);
    opacity: 0.9;
}

.stack-card:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.02);
    z-index: 10;
    opacity: 1;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.card-header-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid #F3F4F6;
}

.card-status {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
}

.card-number {
    font-size: 13px;
    font-weight: 600;
    color: #9CA3AF;
}

.card-title-simple {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: var(--spacing-md);
}

.card-progress-simple {
    margin-top: var(--spacing-md);
}

.progress-label-simple {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.progress-bar-simple {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill-simple {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* レスポンシブ対応 - スタックカード */
@media (max-width: 1024px) {
    .hero-cards-stack {
        width: 350px;
        height: 400px;
    }
    
    .stack-card {
        padding: var(--spacing-md);
    }
    
    .card-title-simple {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-cards-stack {
        display: none;
    }
}

/* AI Boosterブランディング */
.hero-brand {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease forwards;
}

.brand-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 16px;
    margin-bottom: var(--spacing-md);
    border-radius: 20px;
    border: 1px solid rgba(255, 214, 10, 0.3);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        0 1px 4px rgba(255, 214, 10, 0.1);
}

.brand-badge .badge-text {
    font-family: var(--font-english);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-service-name {
    font-family: var(--font-english);
    font-size: clamp(56px, 7vw, 80px);
    font-weight: 900;
    background: linear-gradient(135deg, #FFD60A 0%, #F59E0B 50%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
    text-shadow: 0 4px 12px rgba(255, 214, 10, 0.2);
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.25;
    margin-bottom: var(--spacing-md);
    color: var(--color-navy);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 1;
}

.hero-tagline {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-gray-text);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    line-height: 1.6;
    opacity: 1;
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--color-gray-text);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
    opacity: 1;
}

.hero-note {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--color-gray-caption);
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    margin-bottom: 0;
    flex-wrap: wrap;
    opacity: 1;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: calc(var(--spacing-4xl) * 2);
    padding: var(--spacing-xl);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(244, 231, 158, 0.2);
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        max-width: 400px;
    }
}

/* Stripe風のシャイン効果 */
.hero-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-stats:hover::before {
    transform: translateX(100%);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-english);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    background: linear-gradient(135deg, #FFD60A 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    line-height: 1;
    position: relative;
    white-space: nowrap;
}

/* Stripe風のアンダーライン */
.stat-value::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD60A, transparent);
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--color-gray-caption);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* ========================================
   Layer 8: セクションヘッダー
   ======================================== */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--color-gray-text);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
}

/* ========================================
   Layer 9: ISSUEセクション
   ======================================== */

.section-issue {
    background-color: var(--color-white);
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-top: var(--spacing-4xl);
}

/* Stripe風の微妙なグリッド背景 */
.section-issue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(244, 231, 158, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244, 231, 158, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   Layer 9.5: 経営インパクトセクション（新規追加）
   ======================================== */

/* 経営インパクトセクション - 3カラムレイアウト */
.section-impact {
    background: #F5F5F5;
    position: relative;
    overflow: hidden;
    padding-top: var(--spacing-4xl);
    padding-bottom: calc(var(--spacing-4xl) + var(--spacing-2xl));
}

.impact-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* イントロ */
.impact-intro {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.impact-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.5;
    margin: 0;
    letter-spacing: 0.02em;
}

/* 4カラムグリッド */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.impact-column {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: left;
}

.column-title {
    font-size: 18px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.5;
    margin: 0 0 var(--spacing-lg) 0;
    min-height: 54px;
}

.title-highlight {
    background: linear-gradient(transparent 60%, #FDE68A 60%);
    padding: 2px 0;
}

.column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.list-text {
    font-size: 15px;
    font-weight: 500;
    color: #1E293B;
    line-height: 1.6;
}

/* 結果エリア */
.impact-result {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.result-arrow-down {
    margin-bottom: var(--spacing-lg);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.result-content {
    background: #FFFFFF;
    border: 3px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: var(--spacing-2xl) var(--spacing-3xl);
    max-width: 900px;
    margin: 0 auto;
}

.result-text {
    font-size: 17px;
    color: #1E293B;
    line-height: 1.9;
    margin: 0;
    font-weight: 500;
}

.result-highlight {
    color: #DC2626;
    font-weight: 700;
}

.result-emphasis {
    color: #DC2626;
    font-weight: 700;
    font-size: 19px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    padding: 2px 8px;
    border-radius: 4px;
}

/* レスポンシブ: タブレット */
@media (max-width: 1024px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .column-title {
        min-height: auto;
    }
}

/* レスポンシブ: モバイル */
@media (max-width: 768px) {
    .impact-subtitle {
        font-size: 20px;
        text-align: center;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        justify-items: center;
    }
    
    .impact-column {
        padding: 0;
        margin-bottom: var(--spacing-lg);
        text-align: center;
        max-width: 500px;
    }
    
    .column-title {
        font-size: 18px;
        margin-bottom: var(--spacing-lg);
        text-align: center;
    }
    
    .list-item {
        justify-content: center;
    }
    
    .list-text {
        font-size: 14px;
        text-align: left;
    }
    
    .result-content {
        padding: var(--spacing-xl);
    }
    
    .result-text {
        font-size: 15px;
    }
    
    .result-emphasis {
        font-size: 17px;
    }
}

@media (max-width: 640px) {
    .impact-subtitle {
        font-size: 18px;
        text-align: center;
    }
    
    .impact-grid {
        gap: var(--spacing-xl);
    }
    
    .impact-column {
        padding: 0;
        margin-bottom: var(--spacing-md);
        max-width: 100%;
    }
    
    .column-title {
        font-size: 16px;
        margin-bottom: var(--spacing-md);
    }
    
    .list-text {
        font-size: 13px;
    }
    
    .column-list {
        gap: var(--spacing-md);
    }
    
    .result-content {
        padding: var(--spacing-lg);
    }
    
    .result-text {
        font-size: 14px;
    }
    
    .result-emphasis {
        font-size: 16px;
    }
}

/* ========================================
   Layer 9: ISSUEセクション（続き）
   ======================================== */

.issue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .issue-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

.issue-card {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(135deg, #FFFFFF 0%, #FEFEFE 100%);
    border: 1px solid rgba(244, 231, 158, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    text-align: center;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 2px 8px rgba(0, 0, 0, 0.02),
        0 1px 4px rgba(0, 0, 0, 0.01);
}

/* カード上部のアクセントライン */
.issue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-yellow-bright) 50%, 
        transparent 100%);
    border-radius: 2px 2px 0 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.issue-card:hover::before {
    width: 80%;
}

.issue-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 214, 10, 0.4);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFEF9 100%);
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.06),
        0 6px 12px rgba(0, 0, 0, 0.04),
        0 0 40px rgba(255, 214, 10, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.issue-number {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    font-family: var(--font-english);
    font-size: 64px;
    font-weight: 900;
    background: linear-gradient(135deg, 
        rgba(255, 214, 10, 0.95) 0%, 
        rgba(244, 231, 158, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.02em;
}

.issue-icon {
    margin: 0 auto var(--spacing-lg);
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, 
        rgba(255, 249, 230, 1) 0%, 
        rgba(255, 235, 180, 1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    box-shadow: 
        0 4px 16px rgba(255, 214, 10, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 -2px 8px rgba(255, 214, 10, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.issue-card:hover .issue-icon {
    background: linear-gradient(135deg, #FFD60A 0%, #F59E0B 100%);
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 
        0 8px 24px rgba(255, 214, 10, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 -2px 8px rgba(255, 214, 10, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.issue-icon svg {
    transition: all 0.3s ease;
}

.issue-card:hover .issue-icon svg {
    transform: scale(1.1);
}

.issue-card:hover .issue-icon svg path {
    stroke: #FFFFFF;
}

.issue-title {
    font-size: 22px;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.issue-description {
    font-size: 15px;
    color: var(--color-gray-text);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
    text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.01);
}

.issue-question {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--color-yellow-light);
    border-radius: 12px;
    margin-top: var(--spacing-xl);
}

.issue-question p {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    color: var(--color-navy);
}

/* ========================================
   Layer 10: SOLUTIONセクション
   ======================================== */

.section-solution {
    background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 50%, #FFFBEB 100%);
    position: relative;
    overflow: hidden;
}

/* Stripe風の装飾的な円 */
.section-solution::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.section-solution::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 231, 158, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .solution-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        max-width: 600px;
        margin: 0 auto;
    }
}

.solution-card {
    position: relative;
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Stripe風のトップボーダーグラデーション */
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD60A 0%, #F59E0B 50%, #FFD60A 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stripe風の背景グロー */
.solution-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
    animation: shimmer 2s infinite;
}

.solution-card:hover::after {
    opacity: 1;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.solution-card:hover {
    transform: translateY(-12px) scale(1.03);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 24px 64px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 214, 10, 0.2);
}

.solution-icon {
    margin: 0 auto var(--spacing-md);
    width: 64px;
    height: 64px;
}

.solution-badge {
    display: inline-block;
    background-color: var(--color-yellow);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: var(--spacing-md);
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 0.05em;
}

.solution-value {
    font-family: var(--font-english);
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    background: linear-gradient(135deg, #FFD60A 0%, #F59E0B 50%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(255, 214, 10, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 var(--spacing-xs);
}

.solution-description {
    font-size: 15px;
    color: var(--color-gray-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.solution-comparison {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background-color: var(--color-yellow-light);
    border-radius: 8px;
}

.comparison-label {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--color-gray-caption);
    font-weight: 500;
}

.comparison-value {
    font-family: var(--font-english);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
}

/* 品質保証セクション */
.quality-assurance {
    max-width: 800px;
    margin: var(--spacing-3xl) auto 0;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 251, 235, 0.95) 100%);
    border: 2px solid var(--color-yellow-bright);
    border-radius: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.qa-icon {
    margin: 0 auto var(--spacing-md);
    width: 48px;
    height: 48px;
}

.qa-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

.qa-description {
    font-size: 16px;
    color: var(--color-gray-text);
    line-height: 1.8;
}

.qa-description strong {
    color: var(--color-navy);
    font-weight: 700;
}

/* 納品プロセス */
.delivery-process {
    max-width: 1200px;
    margin: var(--spacing-3xl) auto 0;
    padding: var(--spacing-2xl) 0;
    position: relative;
    z-index: 1;
}

.process-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.process-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
}

.process-subtitle {
    font-size: 16px;
    color: #6B7280;
    font-weight: 500;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto var(--spacing-2xl);
    padding: 0 var(--spacing-lg);
}

.timeline-bar {
    height: 8px;
    background: linear-gradient(90deg, #F59E0B 0%, #F97316 70%, #E5E7EB 70%, #E5E7EB 100%);
    border-radius: 4px;
    position: relative;
}

.timeline-milestones {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-md);
}

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

.milestone-dot {
    width: 16px;
    height: 16px;
    background: #F59E0B;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.milestone-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.process-step {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: var(--spacing-md) var(--spacing-md);
    transition: all 0.3s ease;
}

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

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: var(--spacing-sm);
}

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

.step-items li {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 8px;
    padding-left: 0;
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-main-title {
        font-size: 24px;
    }
    
    .process-timeline {
        padding: 0;
    }
    
    .milestone-label {
        font-size: 11px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Layer 10.5: 関連サービスセクション
   ======================================== */

.section-related-services {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-bg) 100%);
    position: relative;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .related-services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.related-service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-gray-border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.related-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 214, 10, 0.4);
}

.service-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    font-family: var(--font-english);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    font-size: 14px;
    color: var(--color-gray-text);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.service-status {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 214, 10, 0.1);
    border: 1px solid rgba(255, 214, 10, 0.3);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-yellow-dark);
}

/* ========================================
   Layer 10.6: ネクストステップセクション
   ======================================== */

.section-next-step {
    background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%);
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.next-step-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.next-step-badge {
    display: inline-block;
    background: #FCD34D;
    color: #000000;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: var(--spacing-md);
}

.next-step-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.next-step-subtitle {
    font-size: 16px;
    color: #6B7280;
    font-weight: 500;
}

.next-step-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.flow-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    flex: 0 0 auto;
    width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.flow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.flow-badge {
    display: inline-block;
    background: #FEF3C7;
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
}

.flow-icon-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #FCD34D 0%, #FDE68A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    box-shadow: 0 4px 16px rgba(252, 211, 77, 0.4);
}

.flow-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: var(--spacing-sm);
}

.flow-card-text {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
}

.flow-arrow {
    font-size: 24px;
    color: #FCD34D;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .next-step-flow {
        gap: var(--spacing-sm);
    }
    
    .flow-card {
        width: 180px;
        padding: var(--spacing-md);
    }
    
    .flow-icon-circle {
        width: 56px;
        height: 56px;
    }
    
    .flow-card-title {
        font-size: 16px;
    }
    
    .flow-card-text {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .next-step-title {
        font-size: 28px;
    }
    
    .next-step-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .flow-card {
        width: 100%;
        max-width: 320px;
    }
}

/* ========================================
   Layer 11: CTAセクション
   ======================================== */

.section-cta {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Stripe風のアニメーション背景 */
.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 214, 10, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-label {
    display: inline-block;
    background: linear-gradient(135deg, #F4E79E 0%, #FFD60A 100%);
    padding: 6px 16px;
    margin-bottom: var(--spacing-md);
    border-radius: 4px;
}

.cta-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.cta-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--color-gray-text);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

/* トライアルステップ */
.trial-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: var(--spacing-md);
    margin: var(--spacing-3xl) 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.step-arrow {
    display: none;
}

/* タブレット対応 */
@media (max-width: 900px) {
    .trial-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        max-width: 700px;
    }
}

/* モバイル対応 */
@media (max-width: 600px) {
    .trial-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        max-width: 500px;
    }
}

.trial-step {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 214, 10, 0.3);
    border-radius: 12px;
    padding: var(--spacing-lg) var(--spacing-md);
    transition: all 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

@media (max-width: 900px) {
    .trial-step {
        min-height: 200px;
        padding: var(--spacing-lg);
    }
}

.trial-step:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 214, 10, 0.6);
    box-shadow: 0 8px 32px rgba(255, 214, 10, 0.2);
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-xs);
    background: rgba(255, 214, 10, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.step-label {
    font-family: var(--font-english);
    font-size: 10px;
    font-weight: 700;
    color: #FFD60A;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.step-title {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.step-description {
    font-size: clamp(13px, 1.4vw, 15px);
    color: var(--color-gray-text);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
    width: 100%;
}



/* トライアル連絡先 */
.trial-contact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
    border: 2px solid var(--color-gray-border);
    border-radius: 16px;
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.company-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-gray-border);
}

.contact-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.contact-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray-text);
    font-family: var(--font-english);
    letter-spacing: 0.05em;
}

.contact-description {
    font-size: 14px;
    color: var(--color-gray-text);
    margin-bottom: var(--spacing-md);
}

.contact-info {
    text-align: center;
    background: rgba(255, 251, 235, 0.3);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.contact-company,
.contact-text {
    font-size: 15px;
    color: var(--color-gray-text);
    line-height: 1.8;
}

.contact-company strong {
    color: var(--color-navy);
    font-weight: 700;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-gray-border);
}

.company-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
    font-size: 14px;
}

.detail-label {
    font-weight: 600;
    color: var(--color-gray-caption);
    min-width: 100px;
}

.detail-value {
    color: var(--color-navy);
    font-weight: 500;
    text-align: right;
}

@media (max-width: 768px) {
    .company-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .detail-value {
        text-align: left;
    }
}

.cta-note {
    margin-top: var(--spacing-xl);
}

.confidential {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--color-gray-caption);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 600px;
    margin: var(--spacing-3xl) auto var(--spacing-xl);
    background: #FFFFFF;
    padding: var(--spacing-2xl);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: var(--spacing-sm);
}

.required-badge {
    display: inline-block;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    font-size: 15px;
    font-family: var(--font-body);
    color: #1E293B;
    background: #FAFAFA;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #FFD60A;
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9CA3AF;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-submit {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

.btn-submit {
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 214, 10, 0.3);
}

/* レスポンシブ: タブレット */
@media (max-width: 768px) {
    .contact-form {
        padding: var(--spacing-xl);
        margin: var(--spacing-2xl) auto var(--spacing-lg);
    }
    
    .form-label {
        font-size: 15px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 14px;
    }
    
    .btn-submit {
        width: 100%;
        min-width: auto;
    }
}

/* レスポンシブ: モバイル */
@media (max-width: 640px) {
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .form-label {
        font-size: 14px;
        flex-wrap: wrap;
    }
    
    .form-input,
    .form-textarea {
        font-size: 13px;
        padding: 12px;
    }
    
    .form-textarea {
        min-height: 100px;
    }
}

/* ========================================
   Layer 12: フッター
   ======================================== */

.footer {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F4E79E 0%, #FFD60A 100%);
    color: var(--color-navy);
    border-top: 2px solid rgba(255, 214, 10, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

.footer-logo .logo {
    height: 28px;
    max-height: 28px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
    /* フィルターを削除してオリジナルの色を使用 */
}

.footer-text p {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--color-navy);
    font-weight: 600;
    opacity: 0.8;
}

/* ========================================
   Layer 13: アニメーション（Stripe風に改善）
   ======================================== */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stripe風のスケールフェードイン */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stripe風のフローティングアニメーション */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   Layer 14: ユーティリティクラス
   ======================================== */

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

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* ========================================
   Layer 15: レスポンシブ調整
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    .hero {
        padding-top: calc(var(--spacing-3xl) + 60px);
        padding-bottom: var(--spacing-3xl);
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    /* ヒーローセクションのビジュアルを非表示 */
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-tagline {
        font-size: 16px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
        justify-content: center;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* セクション共通 */
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    /* ISSUEカード */
    .issue-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .issue-card {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .issue-number {
        font-size: 48px;
    }
    
    .issue-icon {
        width: 64px;
        height: 64px;
    }
    
    .issue-title {
        font-size: 18px;
    }
    
    .issue-description {
        font-size: 13px;
    }
    
    /* ソリューションカード */
    .solution-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .solution-card {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .solution-value {
        font-size: 20px;
    }
    
    /* 経営インパクトセクション */
    .flow-diagram {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .stage-title {
        font-size: 16px;
    }
    
    /* 納品プロセス */
    .process-main-title {
        font-size: 24px;
    }
    
    .process-timeline {
        padding: 0;
    }
    
    .milestone-label {
        font-size: 11px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .process-step {
        padding: var(--spacing-md);
    }
    
    .step-title {
        font-size: 16px;
    }
    
    .step-items li {
        font-size: 13px;
    }
    
    /* ネクストステップ */
    .next-step-title {
        font-size: 28px;
    }
    
    .next-step-flow {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .flow-card {
        width: 100%;
        max-width: 100%;
    }
    
    /* CTA */
    .cta-title {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
    }
    
    /* 関連サービス */
    .related-services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   追加のレスポンシブ対応（640px以下）
   ======================================== */

/* 640px以下 - スマートフォン */
@media (max-width: 640px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    /* ヒーロー */
    .hero-service-name {
        font-size: 48px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-tagline {
        font-size: 14px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .brand-badge {
        font-size: 10px;
        padding: 4px 12px;
    }
    
    /* セクション */
    .section {
        padding: 48px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 13px;
    }
    
    .section-label {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    /* ISSUEカード */
    .issue-card {
        padding: 24px 16px;
    }
    
    .issue-number {
        font-size: 40px;
    }
    
    .issue-icon {
        width: 56px;
        height: 56px;
    }
    
    .issue-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .issue-title {
        font-size: 16px;
    }
    
    .issue-description {
        font-size: 12px;
    }
    
    /* ソリューションカード */
    .solution-card {
        padding: 24px 16px;
    }
    
    .solution-icon {
        width: 56px;
        height: 56px;
    }
    
    .solution-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .solution-badge {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .solution-value {
        font-size: 18px;
    }
    
    .solution-description {
        font-size: 12px;
    }
    
    /* 経営インパクト */
    .flow-diagram {
        padding: 16px;
    }
    
    .stage-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .stage-icon {
        width: 40px;
        height: 40px;
    }
    
    .stage-title {
        font-size: 15px;
    }
    
    /* 経営インパクト - タイムライン */
    /* 納品プロセス */
    .process-main-title {
        font-size: 22px;
    }
    
    .process-subtitle {
        font-size: 13px;
    }
    
    .timeline-bar {
        height: 6px;
    }
    
    .milestone-dot {
        width: 12px;
        height: 12px;
    }
    
    .milestone-label {
        font-size: 10px;
    }
    
    .process-step {
        padding: 16px;
    }
    
    .step-title {
        font-size: 15px;
    }
    
    .step-items li {
        font-size: 12px;
    }
    
    /* ネクストステップ */
    .next-step-badge {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .next-step-title {
        font-size: 24px;
    }
    
    .next-step-subtitle {
        font-size: 13px;
    }
    
    .flow-card {
        padding: 24px 16px;
    }
    
    .flow-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .flow-icon-circle {
        width: 64px;
        height: 64px;
    }
    
    .flow-icon-circle svg {
        width: 24px;
        height: 24px;
    }
    
    .flow-card-title {
        font-size: 18px;
    }
    
    .flow-card-text {
        font-size: 12px;
    }
    
    /* 品質保証 */
    .quality-assurance {
        padding: 24px 16px;
    }
    
    .qa-title {
        font-size: 20px;
    }
    
    .qa-description {
        font-size: 13px;
    }
    
    /* 関連サービス */
    .related-service-card {
        padding: 24px 16px;
    }
    
    .service-name {
        font-size: 18px;
    }
    
    .service-description {
        font-size: 12px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 24px;
    }
    
    .cta-description {
        font-size: 13px;
    }
    
    /* ボタン */
    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 16px 28px;
        font-size: 15px;
    }
}

/* さらに小さいデバイス（480px以下） */
@media (max-width: 480px) {
    .hero-service-name {
        font-size: 40px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .issue-number {
        font-size: 36px;
    }
    
    .process-main-title {
        font-size: 20px;
    }
    
    .next-step-title {
        font-size: 22px;
    }
    
    .cta-title {
        font-size: 22px;
    }
}