/* =========================================
   Variables & Theme
   ========================================= */
:root {
    --font-main: 'Inter', 'Noto Sans JP', sans-serif;

    /* Colors */
    --color-bg: #ffffff;
    --color-text: #333333;
    /* Darker/Warmer gray for text */
    --color-text-light: #666666;
    --color-primary: #0a192f;
    /* Deep Navy */
    --color-accent: #007c91;
    /* Dark Teal/Cyan for better contrast on white */
    --color-gray-bg: #f8f9fa;
    --color-border: #c0c4c9;
    /* Visible border gray */

    /* Spacing */
    --spacing-container: 1200px;
    --header-height: 80px;

    /* Animation */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Header & Navigation
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    /* Reduced from 40px */
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    z-index: 1001;
    transition: color 0.3s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header.scrolled .logo {
    color: var(--color-primary);
    text-shadow: none;
}

.logo span {
    color: var(--color-accent);
}

.nav-menu ul {
    display: flex;
    gap: 20px;
    /* Reduced from 32px */
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    /* Prevent breaking */
    display: inline-block;
}

header.scrolled .nav-menu a {
    color: var(--color-primary);
    text-shadow: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-contact {
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 10px 24px !important;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

header.scrolled .nav-contact {
    border-color: var(--color-primary);
    background: transparent;
    color: var(--color-primary) !important;
}

.nav-contact:hover {
    background-color: #fff;
    color: var(--color-primary) !important;
}

header.scrolled .nav-contact:hover {
    background-color: var(--color-primary);
    color: #fff !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Menu Overlay - Hidden by default on Desktop */
.mobile-menu {
    display: none;
    /* Ensure hidden on desktop */
    opacity: 0;
    pointer-events: none;
    /* Other mobile styles will be applied in media query */
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    color: #fff;
    background-color: #000;
    /* Fallback */
}

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

/* Slideshow Container */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
/* Individual Slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    /* Reset to 1 */
    transition: opacity 1.5s ease-in-out;
    /* Only animate opacity here */
    z-index: 1;
}

/* Keyframes removed */

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Video styles removed as requested */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0) 40%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 6%;
    z-index: 3;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    position: absolute;
    bottom: 80px;
    right: 6%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    transition: transform 0.4s ease, background 0.4s ease;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

.hero-cta:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.hero-cta-label {
    font-size: 13px;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-cta-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.hero-cta-arrow {
    font-size: 28px;
    align-self: flex-end;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =========================================
   Sections General
   ========================================= */
.section {
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.section-label {
    font-size: 1.5rem;
    /* Increased from 14px to match user request */
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 2rem;
    display: block;
    font-weight: 700;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -1px;
    color: var(--color-primary);
}

/* =========================================
   Vision Section
   ========================================= */
.vision {
    background-color: var(--color-gray-bg);
}

.vision-wrapper {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.vision-main-text {
    font-size: clamp(2rem, 3vw, 2rem);
    /* Increased size */
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 3.5rem;
    color: var(--color-primary);
}

.vision-sub-text {
    text-align: justify;
    text-align-last: center;
    font-size: 1rem;
    color: var(--color-text-light);
}

.vision-sub-text p+p {
    margin-top: 2rem;
}

/* =========================================
   Why Now Section
   ========================================= */
.why-now {
    background-color: var(--color-bg);
    /* Changed to White */
}

.why-now-text {
    font-size: 1rem;
    line-height: 2.2;
    text-align: justify;
    text-align-last: center;
    max-width: 840px;
    margin: 0 auto;
    color: var(--color-text-light);
}

/* =========================================
   Intro (Target Pain) Section - Added
   ========================================= */
.intro-section {
    background-color: #f0f4f8;
    padding: 20px 0;
}

.intro-header {
    text-align: center;
    margin-bottom: 20px;
}

.intro-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.intro-sub {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-top: 16px;
    font-weight: 500;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    /* Widened from 1000px */
    margin: 0 auto;
}

.intro-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
}

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

/* Service Checkbox Style */
.service-list .box-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 700;
    margin-top: 2px;
    background: #fff;
    border-radius: 4px;
}

/* Adjusted to look like separate rows per user request */
.service-sub-list {
    margin-top: 24px;
    margin-bottom: 0;
    padding-left: 0;
    border-top: 1px solid #eee;
    /* Start separation */
}

.service-sub-list li {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    /* Row style */
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    list-style-type: none;
    /* Remove bullet, use spacing */
    margin-left: 0;
}

/* Restore minimal indent or style if needed, but row style usually implies full width */

/* =========================================
   Challenges Section
   ========================================= */
.problem {
    background-color: var(--color-gray-bg);
    /* Added Gray BG to make cards pop */
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 4rem;
}

.problem-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    /* Explicit darker border */
    border: 1px solid #b0b5bb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: #eaebed;
    /* Soft gray for number */
    line-height: 1;
    margin-bottom: 24px;
    position: relative;
    z-index: 0;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.card-desc {
    color: var(--color-text-light);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.problem-summary {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    max-width: 760px;
    margin: 0 auto;
    color: var(--color-primary);
}

/* =========================================
   Founder's Message Section
   ========================================= */
.message {
    background-color: var(--color-primary);
    color: #fff;
}

.message-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.message-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.message-content {
    padding-right: 0;
}

.message .section-label {
    color: var(--color-accent);
}

.message-text p {
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    opacity: 0.95;
    text-align: justify;
    line-height: 2;
}

/* Founder Highlight - Removed Border/Box, just bold */
.message-highlight {
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    margin-top: 1rem;
    border: none !important;
    padding-left: 0 !important;
}

/* =========================================
   Our Service Section
   ========================================= */
.service-details {
    max-width: 900px;
    margin: 0 auto;
}

.service-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.service-intro {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--color-text-light);
}

.service-list {
    margin-bottom: 1rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}

.service-list .check {
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 20px;
    font-size: 1.4rem;
}

.list-content {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}

.list-content .note {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-top: 8px;
}

/* =========================================
   Partnership Section (Redesigned)
   ========================================= */
.partnership-section {
    margin-top: 3rem;
    margin-bottom: 5rem;
    width: 100%;
}

.partnership-header {
    text-align: left;
    margin-bottom: 10px;
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
}

.section-label-en {
    font-family: 'Oswald', sans-serif;
    /* Fallback to sans if not loaded, but preferred */
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.section-heading-jp {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

/* Stack Layout for Wide Banners */
/* Single Banner Layout */
.partnership-single {
    width: 100%;
    margin-bottom: 60px;
}

.partner-card.single-mode {
    width: 100%;
    aspect-ratio: 21 / 8;
    min-height: 400px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner-overlay-gradient-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(5, 10, 30, 0.95) 0%, rgba(5, 10, 30, 0.6) 40%, transparent 80%);
    z-index: 1;
}

.partner-content.single-layout {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8%;
    /* Left focus */
    max-width: 50%;
    /* Constrain text to left */
}

.partner-label-jp-large {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: 3rem;
    /* Larger impact */
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
}

.partner-meta-single {
    display: flex;
    align-items: center;
    gap: 16px;
}

.partner-category {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: #fff;
}

.partner-sub {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--color-accent);
    opacity: 0.9;
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .partner-card.single-mode {
        aspect-ratio: 16 / 9;
        min-height: 300px;
    }

    .partner-content.single-layout {
        max-width: 100%;
        padding: 30px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        justify-content: flex-end;
    }

    .partner-label-jp-large {
        font-size: 2rem;
    }
}

/* Demo Invite (Full Width) */
.demo-invite-container {
    width: 100%;
}

.demo-invite-card {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    padding: 60px;
    border-radius: 4px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-invite-card:hover {
    background: #0b1c30;
    /* Dark Navy hover */
    border-color: var(--color-accent);
}

.invite-label {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.invite-title {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    /* Elegant title */
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.invite-desc {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 30px;
}

.invite-arrow {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
    position: relative;
}

/* Responsive */
@media (max-width: 1024px) {
    .partnership-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .case-large,
    .case-medium,
    .case-vertical {
        grid-column: span 1;
        grid-row: span 1;
    }

    .partnership-grid>div {
        min-height: 300px;
    }

    .case-vertical {
        min-height: 500px;
    }
}

/* New text style for the moved paragraph */
.pricing-highlight-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Match 'message-highlight' style but for pricing context */
.pricing-highlight {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-primary);
    /* Primary instead of white */
    border: none;
    background: none;
    box-shadow: none;
    padding: 0;
}

.pricing-highlight .price-label {
    display: block;
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 400;
    margin-bottom: 8px;
}

.pricing-highlight .price-value {
    display: block;
    font-size: 2rem;
    /* Keep large */
    color: var(--color-primary);
    line-height: 1.2;
}

.pricing-highlight small {
    font-size: 1.2rem;
    margin-left: 5px;
    color: var(--color-text-light);
    font-weight: 400;
}

/*Highlighted Text Style for Pricing Text Paragraph if any*/
.pricing-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-top: 10px;
}


/* =========================================
   Business Overview (Company)
   ========================================= */
.company-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}

.company-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}

.company-item dt {
    font-weight: 700;
    color: var(--color-primary);
}

.profile-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    display: block;
    margin-top: 12px;
    line-height: 1.8;
}

.disclaimer {
    color: #888;
    font-size: 0.85rem;
    display: block;
    margin-top: 12px;
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    background-color: var(--color-gray-bg);
    /* Added Gray BG for separation */
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-form {
    text-align: left;
}

.form-row {
    margin-bottom: 24px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
}

input,
textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 139, 163, 0.1);
}

textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #1d2e4a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* =========================================
   Footer
   ========================================= */
footer {
    padding: 60px 0 30px;
    background: #fff;
    border-top: 1px solid var(--color-border);
    margin-top: 60px;
}

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

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

.footer-logo span {
    color: var(--color-accent);
}

.copyright {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* =========================================
   Media Queries (Mobile)
   ========================================= */
@media (max-width: 1024px) {

    /* Increased breakpoint for Nav safety (Tablet) */
    :root {
        --header-height: 60px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .hamburger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: 0.3s;
    }

    header.scrolled .hamburger span {
        background-color: var(--color-text);
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        bottom: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .hamburger.active span:nth-child(2) {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    header.scrolled .hamburger.active span {
        background-color: #fff;
    }

    /* Mobile Menu Overlay */
    /* Remove the duplicate definition here, just override display */
    /* Mobile Menu Overlay */
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-primary);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }

    .mobile-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-inner ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .mobile-menu-inner li {
        margin: 20px 0;
    }

    .mobile-menu-inner a {
        color: #fff;
        font-size: 1.5rem;
        font-weight: 700;
        text-decoration: none;
        display: block;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 2.8rem;
        width: 100%;
    }

    .hero-content {
        bottom: 15vh;
        left: 5%;
    }

    .hero-cta {
        display: none;
    }

    /* Message Section */
    .message-wrapper {
        grid-template-columns: 1fr;
    }

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

    /* Company List */
    .company-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section {
        padding: 30px 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }

    .problem-grid {
        gap: 20px;
    }

    .problem-card {
        padding: 30px;
    }
}

/* =========================================
   Image Modal
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-visual-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.modal-visual-container img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-accent);
    text-decoration: none;
    cursor: pointer;
}

.modal-nav {
    cursor: pointer;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    user-select: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 100%;
    }

    .modal-nav {
        display: none;
        /* Swipe usually preferred, but hide nav arrows for now on mobile */
    }
}

/* =========================================
   Demo Invitation Banner (Rich)
   ========================================= */
.demo-invite-banner {
    display: block;
    width: 100%;
    position: relative;
    border-radius: 8px;
    /* Slightly larger border radius */
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    height: 380px;
    /* Substantial height */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.demo-invite-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.demo-invite-banner:hover .banner-bg {
    transform: scale(1.03);
    /* Subtle zoom */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 100%);
    /* Deep Navy Gradient */
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Left aligned */
}

.banner-title {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-sub {
    font-family: var(--font-main);
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.banner-copy {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: auto;
    /* Push CTA to bottom roughly, or just spacer */
    display: block;
    position: absolute;
    bottom: 30px;
    right: 40px;
    letter-spacing: 2px;
}

.banner-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.cta-label {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-accent);
    /* Use brand accent for CTA text */
}

/* Mobile Adjustments for Banner */
@media (max-width: 768px) {
    .demo-invite-banner {
        height: auto;
        min-height: 300px;
    }

    .banner-content {
        padding: 30px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-copy {
        position: static;
        /* Stack naturally on mobile */
        margin-top: 20px;
        display: block;
        margin-bottom: 20px;
    }
}