* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans SC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: #555;
    background-color: #ffffff;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    border-bottom: 1px solid #dceef6;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    gap: 1rem;
    line-height: 1.1;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.logo img {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

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

.company-name {
    font-size: 1.8rem;
    font-weight: 800;
    font-variation-settings: "wdth" 100;
}

.tagline {
    font-size: 0.9rem;
    font-weight: 400;
    font-variation-settings: "wdth" 85;
    margin-top: 0.4rem;
}

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

.nav-links a {
    text-decoration: none;
    color: #1c2b55;
    font-weight: 700;
}

.nav-links a:hover {
    color: #000;
}

.nav-links .language-switcher a {
    text-decoration: none;
    color: #555;
    font-weight: 400;
}

/* Hero Section */
.hero {
    background-image: url('img/web/factory.jpeg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 80vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin-top: 100px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 2px solid white;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #5c92e0;
}

/* Section Styling */
section {
    padding: 3rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 6rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 800;
    color: #1c2b55;
}

#contact h2 {
    color: #fff;
}

/* About Us */
#about {
    background-color: #fffef5;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Products */
#products {
    background-color: #dceef6;
}

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

.product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #000;
}

.product-card h4 {
    font-weight: 600;
    font-size: 1rem;
    color: #000;
}

.product-card p {
    margin-bottom: 1.5rem;
}

/* Contact */
#contact {
    background-color: #1c2b55;
    color: #fff;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-item p {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    color: #555;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    section {
        padding: 80px 1.5rem;
    }
}

.noto-sans-jp-tuna {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.noto-sans-sc-tuna {
  font-family: "Noto Sans SC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}