:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --font-family: "Helvetica Neue", "Helvetica", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    --base-font-size: 16px;
    --transition-duration: 1.8s;
    --transition-easing: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: var(--base-font-size);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: fixed;
    top: 5vh;
    left: 15vw;
    z-index: 100;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #000;
}

/* Scroll Container */
#scroll-container {
    width: 100vw;
}

/* Individual Screens */
.screen {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 15vw;
    padding-right: 35vw; /* Right large margin */
    padding-top: 10vh;
    padding-bottom: 10vh;
    position: relative;
}

.content-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Typography & Layout */
.en {
    color: #000;
    font-weight: 500;
    letter-spacing: 0.05em;
    /* By default English is larger */
}

h1.en {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

h2.en {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-title.en {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 4px;
}

.jp {
    color: #000;
    font-weight: 300;
    letter-spacing: 0.1em;
    font-size: 0.95rem; /* Smaller Japanese */
}

.sub-title.jp {
    color: #000;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
    width: 100%;
    display: block;
}

.description-block {
    margin-top: 20px;
}

.description.en {
    font-size: 1.3rem;
    margin-bottom: 24px;
    font-weight: 400;
}

.description.jp {
    line-height: 2;
}

/* Services */
.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.service-list h3.en {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

/* Footer / Ending Screen */
.footer-screen {
    min-height: 80vh;
}

/* Interaction States */
.init-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--transition-duration) var(--transition-easing), 
                transform var(--transition-duration) var(--transition-easing);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-header {
        left: 8vw;
    }
    .screen {
        padding-left: 8vw;
        padding-right: 15vw; /* Less extreme on mobile */
    }
    h1.en {
        font-size: 2rem;
    }
    h2.en {
        font-size: 1.8rem;
    }
    .description.en {
        font-size: 1.1rem;
    }
}
