:root {
    --forest-green:    #2d6a4f;
    --forest-mid:      #40916c;
    --forest-light:    #52b788;
    --forest-pale:     #d8f3dc;
    --white:           #ffffff;
    --text:            #1e2e1e;
    --text-body:       #3a4a3a;
    --text-muted:      #6a7a6a;
    --section-white:   rgba(255, 255, 255, 0.90);
    --section-green:   rgba(236, 247, 240, 0.91);
    --section-contact: rgba(220, 242, 229, 0.92);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background: url('forest.jpg') center / cover scroll;
    color: var(--text-body);
    line-height: 1.9;
    font-size: 16px;
}

/* ── Header ── */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(8, 16, 8, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(82, 183, 136, 0.18);
    z-index: 100;
    padding: 0 2rem;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--white);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--forest-light);
}

/* ── Layout ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 2rem;
}

.container--narrow {
    max-width: 760px;
}

section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    color: var(--text);
    margin-bottom: 0.65rem;
}

section h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--forest-green), var(--forest-light));
    margin: 0.7rem auto 3.5rem;
}

/* ── Message ── */
#message {
    background: var(--section-white);
    padding-top: 64px;
}

.message-body p {
    font-size: 1rem;
    line-height: 2.1;
    color: var(--text-body);
    margin-bottom: 1.75rem;
    letter-spacing: 0.04em;
}

.message-sign {
    margin-top: 2.5rem !important;
    text-align: right;
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    letter-spacing: 0.08em;
}

/* ── Services ── */
#services {
    background: var(--section-green);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(45, 106, 79, 0.18);
    border-top: 2px solid var(--forest-green);
    padding: 2.25rem 2rem;
    transition: background 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 20px rgba(45, 106, 79, 0.12);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-number {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--forest-mid);
}

.product-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    border: 1px solid rgba(45, 106, 79, 0.25);
    padding: 0.15rem 0.65rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.product-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.04em;
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.9;
}

/* ── About ── */
#about {
    background: var(--section-white);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(45, 106, 79, 0.12);
    font-size: 0.93rem;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 30%;
    color: var(--forest-green);
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding-right: 2rem;
}

.company-table td {
    color: var(--text-body);
}

/* ── Contact ── */
#contact {
    background: var(--section-contact);
    text-align: center;
}

.contact-lead {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 2;
    margin-bottom: 2.5rem;
}

.email-link {
    display: inline-block;
    color: var(--forest-green);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(45, 106, 79, 0.4);
    padding-bottom: 4px;
    transition: color 0.2s, border-color 0.2s;
}

.email-link:hover {
    color: var(--forest-mid);
    border-color: var(--forest-mid);
}

/* ── Footer ── */
footer {
    background: rgba(8, 16, 8, 0.97);
    border-top: 1px solid rgba(82, 183, 136, 0.15);
    padding: 2.5rem 2rem;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.78rem;
    }

    .container {
        padding: 5rem 1.5rem;
    }

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

    .company-table th {
        width: 35%;
    }
}

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

    .logo {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.9rem;
    }

    .nav-links a {
        font-size: 0.72rem;
    }

    .product-tag {
        display: none;
    }
}
