/* swell */

/* --- 1. Variables & Reset --- */
:root {
    --bg: #ffffff;
    --text: #111111;
    --accent: #0066ff;
    --sub: #888888;
    --glass: rgba(255, 255, 255, 0.2);
}

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

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- 2. Utility & General --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 120px 0;
    position: relative;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.eyecatch {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 20px;
}

.section-ttl {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 40px;
}

/* --- 3. Header --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    position: absolute;
    left: 0;
    transition: 0.3s;
}

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

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

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

.hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.is-active span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        z-index: 100;
    }

    .nav.is-active {
        right: 0;
    }

    .nav a {
        margin: 20px 0;
        font-size: 1.2rem;
    }
}


/* --- 8. About Us & Footer & Modal --- */

.footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--sub);
}

/* --- Footer Nav Update --- */
.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: var(--sub);
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--accent);
}

/* --- 9. Responsive --- */
@media (max-width: 900px) {

    .remotto-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-message {
        order: 1;
    }

    .about-data {
        order: 2;
    }

    .hero h1 {
        white-space: normal;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 20px;
    }
}
