*,
.navbar,
.navbar a,
.hamburger,
.mobile-menu {
    font-family: 'Noto Sans JP', sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    height: 40px;
}

.navbar-links {
    display: flex;
    gap: 120px;
    margin-right: 100px;
    position: relative;
}

.navbar-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: #007bff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 2px;
    width: 20px;
    background: #333;
    margin-bottom: 4px;
    border-radius: 3px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: fixed;
    top: 60px; 
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-menu a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
}


.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.company-text {
    color: #7E7A7A;
    font-size: 13.5px;
    margin-top: -8px;
    margin-left: 5px;
}

.hamburger-menu {
    display: none;
}

@media (max-width: 600px) {
    .navbar {
        padding: 8px 10px;
        flex-wrap: wrap; 
    }
    .navbar-logo {
        height: 30px;
    }
    .navbar-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu.active {
        display: flex;
    }
    .hamburger-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 50vw; 
        height: 50vh;            
        background-color: #F15A22;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .hamburger-menu.active {
        transform: translateX(0);
    }
    
    .hamburger-menu .menu-header {
        position: relative;
        padding: 20px 10px 10px;
        font-size: 18px;
        color: white;
        text-align: center;
        border-bottom: 1px solid white;
    }
    
    .hamburger-menu .menu-items {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 10px;
    }
    
    .hamburger-menu .menu-items a {
        padding: 10px;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid white;
        font-size: 14px; 
    }
    
    .hamburger-menu .menu-items a:last-child {
        border-bottom: none;
    }

    /* 在媒体查询中也需要调整移动端样式 */
    .company-text {
        font-size: 12px;  /* 移动端字体稍微小一点 */
    }
} 