/* =========================================
   ARASAKI Inc. - Kinetic Theme (Production)
   ========================================= */
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --primary-color: #2c3eff;
    /* Electric Blue */
    --accent-color: #000000;
    --card-bg: #fff;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --container-width: 1100px;
    --header-height: 80px;
    --transition: 0.3s ease;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* =========================================
   Typography & Components
   ========================================= */
.section-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 60px;
    border-bottom: 5px solid var(--primary-color);
    display: inline-block;
    line-height: 1.2;
    text-transform: uppercase;
}

.btn-primary {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 20px 60px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.2rem;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* =========================================
   Header
   ========================================= */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 3px solid #000;
    backdrop-filter: blur(10px);
}

.header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 0;
    /* Hide any fallback text */
    line-height: 1;
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    /* Reduced from 54px for modest look */
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Mobile Logo Adjustment */
@media (max-width: 768px) {
    .logo img {
        height: 32px;
        /* Smaller on mobile to fit */
    }
}

.nav ul {
    display: flex;
    gap: 30px;
}

#contact .section-title {
    margin-bottom: 30px;
}

#contact p {
    margin-bottom: 40px;
    font-weight: 700;
}

.nav a {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 7rem;
    /* Massive */
    line-height: 0.85;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 40px;
}

.hero-title span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px #000;
}

.hero-subtitle {
    margin-left: 10px;
    font-weight: 700;
    background: #000;
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    transform: skewX(-10deg);
}

/* =========================================
   Services Section
   ========================================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
}

.service-card {
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 40px;
    transition: background 0.2s, color 0.2s;
    background: #fff;
}

.service-card:hover {
    background: var(--primary-color);
    color: #fff;
}

.service-card:hover h3,
.service-card:hover p {
    color: #fff;
}

.service-card h3 {
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}



/* =========================================
   Company Info
   ========================================= */
.company-info {
    border-top: 5px solid #000;
}

.company-info .row {
    display: flex;
    align-items: baseline;
    padding: 25px 0;
    border-bottom: 1px solid #000;
}

.company-info dt {
    width: 150px;
    font-weight: 900;
    font-size: 1.1rem;
}

.company-info dd {
    flex: 1;
    font-weight: 500;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 60px 0;
    text-align: center;
    font-size: 0.8rem;
    background: #000;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
    /* Above the menu overlay */
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
    background-color: #fff;
    /* White on dark overlay */
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
    background-color: #fff;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 12vw;
    }

    .section-title {
        font-size: 2.5rem;
    }

    /* Mobile Nav */
    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #000;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        opacity: 1;
        visibility: visible;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .nav a {
        color: #fff;
        font-size: 2rem;
        font-family: var(--font-en);
    }

    .company-info .row {
        flex-direction: column;
    }

    .company-info dt {
        margin-bottom: 5px;
        opacity: 0.6;
    }
}