:root {
    --color-primary: #000000;
    --color-gold: #ffc400;
    /* ロゴの星の色に合わせました */
    --color-text: #333;
    --color-light: #f8f8f8;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo-img {
    height: 40px;
}

/* Logo text fallback style if img is missing */
.logo {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background-color: var(--color-gold);
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    margin-left: 30px;
    font-weight: 500;
    font-size: 14px;
}

.btn-header {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
}

/* Hero */
.hero {
    background: var(--color-primary);
    color: #fff;
    padding: 120px 0;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.text-gold {
    color: var(--color-gold);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    background: var(--color-gold);
    color: #000;
    padding: 18px 40px;
    font-weight: 700;
    border-radius: 4px;
}

/* Section Common */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background: var(--color-light);
}

.section-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.section-title span {
    display: block;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--color-gold);
    margin-top: 5px;
}

/* Service */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-card {
    border: 1px solid #eee;
    padding: 50px 40px;
    border-radius: 8px;
    transition: 0.3s;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-icon {
    color: var(--color-gold);
    font-family: var(--font-en);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border: 2px solid var(--color-gold);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
}

.service-name {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Table */
.company-table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.table-row:last-child {
    border-bottom: none;
}

.table-label {
    width: 250px;
    background: #fafafa;
    padding: 25px;
    font-weight: 700;
}

.table-value {
    padding: 25px;
    flex: 1;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-bottom {
    font-size: 13px;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--color-gold);
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------- */
/* Mobile Menu Essentials           */
/* -------------------------------- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    padding: 0;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
}

/* Inherently hidden on desktop */

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .table-row {
        flex-direction: column;
    }

    .table-label {
        width: 100%;
        padding: 15px 25px;
    }

    .nav-desktop {
        display: none;
    }

    /* Mobile Menu Active State */
    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 30px;
        transition: right 0.3s;
        z-index: 1001;
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-nav .nav-link {
        margin-left: 0;
        font-size: 16px;
    }
}/* -------------------------------- */
/* New Hero & Philosophy Styles     */
/* -------------------------------- */

/* Text Colors */
.white {
    color: #fff !important;
}

.text-gold {
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(255, 196, 0, 0.6);
}

/* Backgrounds */
.bg-dark {
    background: #050505;
    color: #fff;
    position: relative;
    /* Ensure it sits above any fixed elements if needed, though usually standard flow is fine */
}

/* Hero Section Updates */
.hero {
    background: #000;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    /* Ensures proper spacing */
    min-height: 80vh;
    /* Optional: make it taller */
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Morning Star / Venus theme */
    background: url('https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?q=80&w=2000&auto=format&fit=crop') top center/cover no-repeat;
    opacity: 0.6;
    filter: brightness(0.8) contrast(1.2);
    z-index: 1;
}

#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Let clicks pass through, but we might track mouse on window */
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 196, 0, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 3;
}

.hero-container {
    position: relative;
    z-index: 4;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 12px;
    letter-spacing: 0.2em;
    border-radius: 20px;
    margin-bottom: 24px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.hero-title {
    text-shadow: 0 0 20px rgba(255, 196, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn {
    box-shadow: 0 0 30px rgba(255, 196, 0, 0.2);
    transition: all 0.3s ease;
}

.btn:hover {
    box-shadow: 0 0 50px rgba(255, 196, 0, 0.5);
    transform: translateY(-2px);
}

/* Philosophy Section */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-left: 4px solid var(--color-gold);
    border-radius: 4px;
    /* Optional rounded corners */
}

.card-label {
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.card-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.card-text {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.8;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-item {
    text-align: center;
}

.value-pill {
    color: var(--color-gold);
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--color-gold);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.value-title {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.value-desc {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
        min-height: auto;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}
