/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    /* Colors */
    --color-bg-dark: #0A1128;
    --color-bg-dark-elem: #151e35;
    --color-bg-light: #F8FAFC;
    --color-bg-white: #FFFFFF;
    
    --color-primary: #2563EB;
    --color-primary-hover: #1D4ED8;
    --color-gradient-start: #3B82F6;
    --color-gradient-end: #14B8A6;
    --color-accent: #10B981;
    
    --color-text-main: #1E293B;
    --color-text-muted: #64748B;
    --color-text-white: #FFFFFF;
    --color-text-white-muted: #CBD5E1;
    
    --color-border: #E2E8F0;
    --color-border-dark: #334155;

    /* Typography */
    --font-family: 'Noto Sans JP', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);

    /* Layout */
    --container-width: 1140px;
    --container-sm-width: 800px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.text-gradient {
    background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-gray { color: var(--color-text-muted); }
.strong { font-weight: 700; }
.small-text { font-size: 0.875rem; }

/* ==========================================================================
   Layout Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: var(--container-sm-width);
}

.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
}

.section-light {
    background-color: var(--color-bg-light);
}

.section-white {
    background-color: var(--color-bg-white);
}

.pt-0 { padding-top: 0; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }

.d-block { display: block; }

.pc-only { display: block; }
@media (max-width: 768px) {
    .pc-only { display: none; }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-label {
    text-align: center;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.section-dark .section-label {
    color: var(--color-gradient-end);
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.section-title-left {
    text-align: left;
}

.section-title-left::after {
    left: 0;
    transform: none;
}

.section-dark .section-title::after,
.section-dark .section-title-left::after {
    background-color: var(--color-gradient-end);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-top: -24px;
    margin-bottom: 48px;
}

/* ==========================================================================
   Components: Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--color-text-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.arrow {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 700;
}
.text-link:hover .arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Components: Cards
   ========================================================================== */
.card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

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

.card-dark {
    background-color: var(--color-bg-dark-elem);
    border-color: var(--color-border-dark);
    color: var(--color-text-white);
}

.card-desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.card-dark .card-desc {
    color: var(--color-text-white-muted);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    padding: 24px 0;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(8px);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

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

.header-logo img {
    height: 32px;
}

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

.header-nav a {
    color: var(--color-text-white);
    font-weight: 500;
    opacity: 0.9;
}

.header-nav a:hover {
    opacity: 1;
    color: var(--color-gradient-end);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-white);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: calc(140px + env(safe-area-inset-top));
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-bg picture {
    width: 100%;
    height: 100%;
}

.hero-bg-img {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
    animation: slowPan 15s ease-in-out infinite alternate;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(10,17,40,0.3) 0%,
        rgba(10,17,40,0.6) 50%,
        rgba(10,17,40,0.95) 100%
    );
}

@keyframes slowPan {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.08) translate(-1.5%, -1%);
    }
    100% {
        transform: scale(1.15) translate(-3%, -2%);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.sp-only {
    display: none;
}

.hero-label {
    display: inline-block;
    color: var(--color-gradient-start);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 32px;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.cta-microcopy {
    margin-top: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ==========================================================================
   Hero Scroll Down
   ========================================================================== */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 1;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.scroll-down:hover {
    color: rgba(255,255,255,0.8);
}

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

/* ==========================================================================
   2. Pain Points
   ========================================================================== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card-pain {
    position: relative;
    overflow: hidden;
}

.pain-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.pain-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #E2E8F0;
    line-height: 1;
}

.pain-icon-right {
    width: 44px;
    height: 44px;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-icon-right svg {
    width: 22px;
    height: 22px;
}

.pain-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* ==========================================================================
   6. Market Trends (Visually below Pain Points)
   ========================================================================== */
.market-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.market-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

.market-header-center {
    justify-content: center;
    font-size: 1.25rem;
}

.market-stats {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 24px;
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

.stat-number .unit {
    font-size: 1.5rem;
    margin-left: 4px;
}

.stat-label {
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.stat-source {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: auto;
}

.link-source {
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* ==========================================================================
   3. Why Us
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.card-why {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.why-img-wrap {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.why-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    opacity: 0.7;
}

.card-why:hover .why-img-wrap img {
    transform: scale(1.08);
    opacity: 0.9;
}

.card-why .why-number,
.card-why .why-tag,
.card-why .why-title,
.card-why .card-desc {
    padding-left: 32px;
    padding-right: 32px;
}

.card-why .card-desc {
    padding-bottom: 32px;
}

.why-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 176px;
    right: 24px;
    line-height: 1;
}

.why-tag {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.2);
    color: #60A5FA;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    margin-top: 24px;
    margin-bottom: 16px;
}

.why-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.why-banner {
    background: linear-gradient(135deg, #1a2744 0%, #0d1a33 50%, #0a1128 100%);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--border-radius-lg);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.why-banner .large-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
}

/* ==========================================================================
   4. Solutions
   ========================================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-solution {
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 48px;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 12px;
    text-align: left;
}

.solution-group-title:first-of-type {
    margin-top: 0;
}

.solution-group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.solutions-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: all var(--transition-base);
}

.card-link:hover {
    transform: translateY(-8px);
}

.card-link:hover .card-solution {
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
    background-color: #f0f7ff;
}

.card-solution img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card-solution:hover img {
    transform: scale(1.05);
}

.card-solution .card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-solution .text-link {
    margin-top: auto;
}

.solution-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* ==========================================================================
   5. Case Studies
   ========================================================================== */
.case-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 20px;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    color: var(--color-text-main);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    border-color: var(--color-bg-dark);
}

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

.card-case {
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.case-icon {
    width: 48px;
    height: 48px;
    background-color: #EFF6FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.badge {
    background-color: #F1F5F9;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
}
.badge-outline {
    background-color: transparent;
    border: 1px solid var(--color-border);
}

.case-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.case-meta {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.case-meta .highlight {
    color: var(--color-primary);
    font-weight: 900;
    font-size: clamp(1.5rem, 6vw, 2rem);
    display: block;
    margin-top: 4px;
}

.case-detail {
    margin-bottom: 12px;
}

.case-detail .label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.case-detail .text {
    font-size: 0.875rem;
}

.tags {
    margin-top: auto;
    padding-top: 24px;
}

.tag {
    display: inline-block;
    color: var(--color-accent);
    background-color: rgba(16, 185, 129, 0.1);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
}

.case-more-link {
    grid-column: 1 / -1;
    border: 2px dashed var(--color-border);
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text-main);
    transition: all var(--transition-base);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.case-more-link:hover {
    border-color: var(--color-primary);
    border-style: solid;
    background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-more-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 48px;
    gap: 32px;
}

.case-more-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.case-more-text {
    flex: 1;
    text-align: left;
}

.case-more-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

.case-more-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.case-more-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 30px;
    transition: all var(--transition-fast);
}

.case-more-link:hover .case-more-btn {
    background-color: #1d4ed8;
    transform: translateX(4px);
}

/* ==========================================================================
   7. Development Process
   ========================================================================== */
.process-flow {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 64px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

.step-num {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px var(--color-bg-light);
}

.step-title {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   8. Company Info
   ========================================================================== */
.company-hero-card {
    display: flex;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 48px;
}

.company-logo-area {
    flex: 0 0 320px;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #1a2a4a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    text-align: center;
}

.company-logo-img {
    height: 40px;
    margin-bottom: 20px;
}

.company-tagline {
    color: var(--color-text-white-muted);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.company-desc-area {
    flex: 1;
    padding: 48px 40px;
    background-color: var(--color-bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-desc-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-text-main);
    margin-bottom: 24px;
}

.company-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.company-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: #EFF6FF;
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 20px;
}

.company-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.company-stat-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.company-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.company-stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-bg-dark);
    line-height: 1.2;
    margin-bottom: 8px;
}

.company-stat-unit {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.company-stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   9. CTA Section (Form-free)
   ========================================================================== */
.section-cta-new {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #112240 50%, #0d1f3c 100%);
    padding: 120px 0;
}

.cta-inner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-eyecatch {
    color: var(--color-gradient-end);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.cta-headline {
    color: var(--color-text-white);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 24px;
}

.cta-lead {
    color: var(--color-text-white-muted);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 48px;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.25rem;
    border-radius: 14px;
}

.cta-main-btn {
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.4);
    animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(37, 99, 235, 0.65); }
}

.cta-trust-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-white-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.cta-note {
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8125rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white-muted);
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 24px;
}

.footer-company-name {
    color: var(--color-text-white);
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-address {
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 80px;
}

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

.footer-links a {
    color: var(--color-text-white-muted);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--color-text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.75rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .card-why .card-desc { font-size: clamp(0.875rem, 1.4vw, 1rem); }
    .solutions-grid, .solutions-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .company-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    
    .header-nav { display: none; }
    .header-action { display: none; }
    .menu-toggle { display: flex; }
    
    .sp-only { display: inline-block; }
    
    .hero-cta-group { flex-direction: column; width: 100%; }
    .hero-cta-group .btn { width: 100%; min-height: 48px; padding-left: 16px; padding-right: 16px; justify-content: center; }
    .hero-badges { flex-direction: column; width: 100%; gap: 12px; }
    .hero-badge { justify-content: center; }
    .pain-grid { grid-template-columns: 1fr; }
    
    .market-stats { flex-direction: column; gap: 12px; }
    
    .case-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin: 0 -20px 32px -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    .case-tabs::-webkit-scrollbar { display: none; }
    .tab-btn { flex-shrink: 0; white-space: nowrap; }
    
    .why-grid { grid-template-columns: 1fr; }
    .why-banner { flex-direction: column; gap: 24px; text-align: center; }
    .why-banner .large-text { word-break: keep-all; line-height: 1.6; }
    
    .solutions-grid, .solutions-grid.cols-4 { grid-template-columns: 1fr; }
    
    .case-grid { grid-template-columns: 1fr; }
    
    .case-more-content {
        flex-direction: column;
        padding: 40px 24px;
        text-align: center;
        gap: 20px;
    }
    .case-more-text { text-align: center; }
    .case-more-btn { width: 100%; justify-content: center; }

    .company-hero-card { flex-direction: column; }
    .company-logo-area { padding: 40px; }
    .company-desc-area { padding: 32px 24px; }
    .company-badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    .company-badges::-webkit-scrollbar { display: none; }
    .company-badge { flex-shrink: 0; white-space: nowrap; }

    .company-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .company-stat-card { padding: 20px 12px; }
    .company-stat-value { font-size: clamp(1.5rem, 5vw, 2.25rem); }
    .company-stat-unit { font-size: clamp(0.75rem, 2.5vw, 1rem); }
    .company-stat-label { font-size: 0.75rem; word-break: keep-all; line-height: 1.4; }
    
    .process-flow { 
        flex-direction: column; 
        padding-top: 0;
        gap: 32px;
    }
    .process-flow::before {
        top: 0;
        bottom: 0;
        left: 36px;
        width: 2px;
        height: auto;
    }
    .process-step {
        display: flex;
        text-align: left;
        align-items: center;
        gap: 24px;
    }
    .step-num { margin: 0; flex-shrink: 0; }
    
    .cta-form-container { padding: 24px; }
    .grid-3 { grid-template-columns: 1fr; }
    
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 40px; }
}
