:root {
    /* Swiss Design Palette */
    --bg-canvas: #ffffff;
    --bg-secondary: #f4f4f5;
    --text-primary: #111827;
    --text-secondary: #4b5563;

    /* Accents - "NMS Nexus" Blue & Cyan */
    --brand-blue: #002b64;
    --brand-blue-hover: #003a88;
    --accent-cyan: #00d4ff;
    --glass-bg: rgba(255, 255, 255, 0.7);

    /* Borders */
    --border-color: #e5e7eb;
    --border-strong: #000000;

    /* Layout */
    --sidebar-width: 280px;
    --grid-gap: 2px;
    /* Small gap for border effect */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Noto Sans JP', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
}

/* Sidebar Styling */
.sidebar {
    width: 280px;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid #f3f4f6;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

.sidebar-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin-bottom: 8px;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.4;
}

nav.main-nav {
    flex: 1;
}

nav.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

nav.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

nav.main-nav a:hover,
nav.main-nav a.active {
    color: var(--brand-blue);
}

.nav-icon {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.sidebar-footer {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Main Content Area */
main.content-area {
    margin-left: var(--sidebar-width);
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    background: var(--bg-secondary);
    scroll-behavior: smooth;
}

/* Bento Grid System */
.bento-container {
    max-width: 1400px;
    /* Wide layout */
    margin: 0 auto;
    padding: 40px;
}

/* Section Layouts */
.section-padding {
    padding: 80px 40px;
    margin-top: 24px;
    scroll-margin-top: 40px;
}

.section-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--brand-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 40px;
}

/* Hero UI Refinement */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.cta-note {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Significance Section */
.significance-section {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.significance-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.significance-card {
    padding: 40px;
    border-radius: 16px;
}

.significance-card.main {
    background: #f8fafc;
}

.significance-card.secondary {
    border: 1px solid #e5e7eb;
}

.card-heading {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
    color: var(--brand-blue);
}

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

.card-subheading {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.significance-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.significance-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.significance-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 800;
}

.significance-list li strong {
    color: var(--text-primary);
}

/* Objective Section */
.objective-section {
    background: #111827;
    color: #ffffff;
    border-radius: 20px;
}

.objective-section .section-title {
    color: #ffffff;
}

.objective-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--accent-cyan);
}

.objective-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.objective-section .objective-desc {
    color: #9ca3af;
    font-size: 1.05rem;
    line-height: 1.8;
}

.objective-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.point-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    transform: translateX(8px);
}

.point-num {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
    opacity: 0.8;
    line-height: 1;
}

.point-text {
    color: #e5e7eb;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Metrics Variation */
.metric-box.dark {
    background: #111827;
}

.metric-box.light {
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.metric-val {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Hospital Network */
.hospitals-section {
    background: #f9fafb;
    border-radius: 20px;
}

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

.hospital-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s;
}

.hospital-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.h-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: #111827;
}

.h-loc {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Refined Footer Area */
.footer-area {
    margin-top: 60px;
    padding: 80px 40px;
    background: #111827;
    color: #ffffff;
    border-radius: 20px;
    /* Fully rounded corners as requested */
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
}

.footer-link-wrap {
    margin-top: 16px;
}

.footer-official-link {
    display: inline-block;
    color: #ffffff;
    /* Explicitly white */
    text-decoration: none;
    font-size: 0.85rem;
    /* Smaller text */
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.footer-official-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.nav-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3b82f6;
    margin-bottom: 20px;
}

.nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-col a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 40px;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Official Heavy Banner */
.official-heavy-banner {
    background: var(--brand-blue);
    background: linear-gradient(135deg, var(--brand-blue) 0%, #001a3d 100%);
    color: #ffffff;
    padding: 32px 40px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 43, 100, 0.2);
    backdrop-filter: blur(10px);
}

.banner-icon {
    font-size: 2.5rem;
}

.banner-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-align: center;
}

.hero-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.3;
    margin-bottom: 24px;
    margin-top: 32px;
    white-space: nowrap;
}

/* Restored CTA Section Styles */
.cta-section {
    background: #ffffff;
    border-radius: 24px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    /* Added border for card look */
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
}

.btn-large {
    padding: 24px 48px;
    font-size: 1.2rem;
}

.cta-note-standard {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 16px;
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 48px;
}

.video-block {
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.video-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.video-overlay-text {
    position: absolute;
    bottom: 32px;
    left: 32px;
    color: white;
    font-weight: 600;
    z-index: 10;
}

/* Buttons */
.btn-primary {
    background: var(--text-primary);
    color: white;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    align-self: flex-start;
}

.btn-primary:hover {
    background: var(--brand-blue);
    transform: translateY(-2px);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
    margin-bottom: 24px;
}

.bento-box {
    background: var(--bg-canvas);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-box:hover {
    border-color: var(--text-secondary);
    transform: translateY(-4px);
}

.box-lg {
    grid-column: span 2;
}

.box-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 32px auto;
}

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

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

/* Metrics Section (Horizontal Strip) */
.metrics-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.metric-box {
    background: var(--brand-blue);
    color: white;
    padding: 32px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
}

.metric-val {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Status Cards */
.status-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.status-header {
    background: var(--bg-canvas);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.card-status {
    background: var(--bg-canvas);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.card-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--text-secondary);
}

.card-status:nth-child(1)::before {
    background: var(--brand-blue);
}

.card-status:nth-child(2)::before {
    background: #10b981;
}

.card-status:nth-child(3)::before {
    background: #f59e0b;
}

.status-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: block;
}

/* Responsive Layout Enhancements */
body {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Noto Sans JP', sans-serif;
    min-height: 100vh;
    display: flex;
}

main.content-area {
    margin-left: 280px;
    flex: 1;
    min-height: 100vh;
}

.bento-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Sidebar Logo Fix */
.sidebar-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Metrics Fix */
.metrics-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.metric-box {
    padding: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
    /* Use min-height */
}

/* Hero Fixes */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
    }

    .logo-area {
        flex-direction: row;
        align-items: center;
        margin-bottom: 0;
    }

    .main-nav,
    .sidebar-footer {
        display: none;
    }

    main.content-area {
        margin-left: 0;
    }

    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-text-block {
        padding: 40px 20px;
    }

    .video-block {
        height: 300px;
    }

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

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

    .box-lg {
        grid-column: auto;
    }

    .metrics-strip {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 40px 20px;
    }

    /* Mobile Official Banner Fix */
    .official-heavy-banner {
        white-space: normal;
        /* Allow wrapping */
        flex-direction: column;
        /* Stack icon and text */
        text-align: center;
        padding: 24px 20px;
        gap: 12px;
        height: auto;
        /* Allow height to grow */
    }

    .banner-text {
        font-size: 1.3rem;
        /* Slightly smaller for mobile readability */
        line-height: 1.4;
    }

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

/* Footer Logo Fix */
.footer-nms-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 12px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}