/* ===== Header ===== */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247,251,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-lab-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.logo-affiliation {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

/* Navigation */
.nav-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-container nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-container nav li {
    font-size: 15px;
    color: var(--text-mid);
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    white-space: nowrap;
    position: relative;
}

.nav-container nav li:hover {
    color: var(--text-dark);
}

.nav-container nav li.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-container nav li.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary);
}

/* ===== Main Content ===== */
.content {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 0 60px;
    flex: 1;
    width: 100%;
}

.page-content {
    animation: fadeIn 0.4s ease;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 60px;
    border-top: 1px solid var(--border);
    width: 100%;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-desc p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-light);
}

.footer-sns {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text-light);
    transition: var(--transition);
    background: var(--bg-white);
}

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

/* ===== Responsive — Layout ===== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        height: 64px;
    }

    .logo-text-group {
        display: none;
    }

    .nav-container nav li {
        padding: 8px 12px;
        font-size: 13px;
    }

    .content {
        margin-top: 64px;
        padding: 0 20px;
    }

    .footer {
        padding: 32px 20px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
