/* Shared site CSS */
:root {
  --primary: #1B4D3E;
  --accent: #C5A059;
  --bg-body: #F8F9FA;
  --bg-card: #FFFFFF;
  --text-main: #2C3E50;
  --text-light: #6C757D;
  --border: #E5E5E5;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --header-h: 140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER --- */
header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h);
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.45));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000; display: flex; align-items: center;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo img { height: 120px; width: auto; display: block; }

/* Navigation Menu (Desktop Default) */
.nav-menu { display: flex; gap: 30px; }
.nav-link { font-weight: 500; cursor: pointer; position: relative; font-size: 0.95rem; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: 0.3s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--accent); }

/* Tools (Theme, Cart) */
.nav-tools { display: flex; gap: 15px; align-items: center; }
.icon-btn { font-size: 1.1rem; cursor: pointer; border: none; background: transparent; }

/* --- HAMBURGER MENU TOGGLE --- */
/* Important: Hidden by default on Desktop */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

/* --- COMPONENTS --- */
.product-card, .blog-card, .team-card, .stat-box, .content {
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.25));
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 30px rgba(11,22,18,0.12);
  backdrop-filter: blur(8px) saturate(120%);
}

.partners-grid { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 22px; padding: 18px; }
.partner { flex: 0 0 160px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.partner-icon { font-size: 2.2rem; color: var(--primary); background: rgba(255,255,255,0.3); padding: 14px; border-radius: 12px; }

/* --- RESPONSIVE / MOBILE STYLES --- */

@media (max-width: 768px) {
    :root { --header-h: 80px; }

    /* Show hamburger button */
    .mobile-toggle { display: block; }

    /* Mobile Navigation Drawer */
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        right: -100%; /* Hide off-screen */
        width: 80%;
        max-width: 320px;
        height: calc(100vh - var(--header-h));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 30px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        z-index: 1001;
        border-left: 1px solid rgba(0,0,0,0.05);
    }

    /* Active State for Menu */
    .nav-menu.active { right: 0; }

    /* Adjust Links for Mobile */
    .nav-link { font-size: 1.2rem; width: 100%; text-align: center; padding: 10px 0; }
    .nav-link::after { display: none; }

    .logo img { height: 60px; }
}

@media (max-width: 992px) {
    .about-grid, .contact-wrapper { grid-template-columns: 1fr; }
}