:root {
    /* Colors */
    --color-primary: #003366;
    /* Intloop Blue */
    --color-secondary: #E13C3F;
    /* Brand Accent */
    --color-text-main: #333333;
    --color-text-sub: #666666;
    --color-bg-base: #FFFFFF;
    --color-bg-light: #F7F7F7;
    --color-bg-white: #FFFFFF;

    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Shadows - Minimal/Flat */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-base: "Noto Sans JP", sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
}

/* Reset & Base */
html {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.8;
    /* Increased line-height for readability */
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
}

/* ... (Reset/Base styles remain mostly same) ... */

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    font-weight: 700;
    border-radius: 4px;
    /* Sharper corners */
    color: white;
    background: var(--color-secondary);
    /* Accent color for CTA */
    box-shadow: none;
    /* Flat style */
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #c03335;
    transform: none;
    box-shadow: none;
}

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

.btn-line {
    border-radius: 4px;
}

/* Header */
.header {
    position: sticky;
    /* Sticky positioning for modern feel */
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    /* Slightly taller for new logo */
    background: white;
    /* Solid white background */
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    /* Subtle border line */
    backdrop-filter: none;
    z-index: 1000;
}

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

.header-logo img {
    height: 60px;
    /* Larger logo area */
    width: auto;
}

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

.nav-link {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--color-text-main);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    /* Intloop style hover */
}

/* Hero Section */
.hero {
    padding-top: 80px;
    background-color: var(--color-bg-light);
    /* Light gray background */
}

.hero-title {
    color: var(--color-primary);
    /* Corporate Blue */
    font-size: clamp(2rem, 5vw, 3rem);
}

.hero-subtitle {
    border-left: 4px solid var(--color-secondary);
    /* Accent line */
    padding-left: 1rem;
    margin-bottom: 3rem;
    color: var(--color-text-main);
}

.hero-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    border-radius: 20px;
    /* Soft modern corners */
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Stats Card Overlay */
.stats-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.stats-number {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

.stats-label {
    font-size: var(--text-sm);
    color: var(--color-text-sub);
}


/* Reasons Section */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.reason-card {
    background: white;
    padding: 2.5rem;
    border: 1px solid #e0e0e0;
    /* Border instead of shadow */
    border-radius: 4px;
    /* Sharp corners */
    box-shadow: none;
    transition: border-color 0.3s;
}

.reason-card:hover {
    border-color: var(--color-primary);
    transform: none;
    /* No movement on hover */
    box-shadow: none;
}

.reason-title {
    font-size: var(--text-xl);
    margin-bottom: 1rem;
    color: var(--color-primary);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
    display: inline-block;
}


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

.service-card {
    background: white;
    border-radius: 4px;
    /* Sharp corners */
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e0e0e0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: none;
    opacity: 0.9;
    box-shadow: none;
}

.service-image {
    width: 100%;
    height: 220px;
    background-color: #ddd;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
    text-align: left;
    /* Strict left align for corporate feel */
}


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

.testimonial-card {
    background: var(--color-bg-light);
    /* Light gray background */
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: none;
    border-left: 4px solid var(--color-primary)
}

.testimonial-text {
    font-style: normal;
    /* Remove italic */
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.testimonial-author {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-primary);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 0;
    /* Square avatar */
    background-color: #ddd;
}


/* CTA Section */
.cta-section {
    background-color: var(--color-primary);
    /* Solid Corporate Blue */
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section .btn {
    background: white;
    color: var(--color-primary);
    border-radius: 0;
}

.cta-section .btn:hover {
    background: #f0f0f0;
}

.cta-section .btn-line {
    background: #06C755;
    color: white;
}


/* Footer */
.footer {
    background: white;
    color: var(--color-text-main);
    padding: var(--space-lg) 0;
    font-size: var(--text-sm);
    border-top: 4px solid var(--color-primary);
}

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

.footer h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: var(--text-lg);
}


/* Mobile Responsive tweaks */
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
        /* Image top on mobile */
    }

    .hero-image-wrapper {
        order: 1;
        margin-bottom: 2rem;
    }

    .nav-menu {
        display: none;
        /* Hidden by default, JS toggles */
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
    }

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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