body {
    overflow-x: hidden;
    margin: 0;
    font-family: Roboto, sans-serif;
    height: 100vh;
    display: flex;
}


/* 新しく追加：全体ラッパー */
.main-container {
    display: flex;
    flex-direction: row;
    padding: 16px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.left-panel {
    background-image: url('../images/footer-bg.png');
    background-repeat: repeat;
    background-size: auto;
    color: white;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.6s ease-out;
}

.right-panel {
    flex: 1;
    background-color: #f5f5f5;
    position: relative;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s ease-out;
}

.left-panel.show,
.right-panel.show {
    opacity: 1;
    transform: translateX(0);
}

.left-panel.exit {
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.6s ease-in;
}

.right-panel.exit {
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.6s ease-in;
}

.left-panel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-title {
    font-size: 4.2rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.tagline {
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 2px;
}

.form-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 80px;
    width: 100%;
    max-width: 400px;
}

.logo-mobile {
    display: none;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 32px;
    color: #117766;
}

.mdc-text-field {
    width: 100%;
    margin-bottom: 20px;
}

.mdc-button {
    height: 48px;
    background-color: #117766;
    color: white;
}

.mdc-button:hover {
    background-color: #0e5e55;
}

.login-button {
    height: 56px !important;
    font-size: 16px;
    padding: 12px 0;
}

.login-button .mdc-button__label {
    font-weight: bold;
}

.signup-link {
    margin-top: 16px;
    text-align: center;
}

.signup-link a {
    text-decoration: none;
    color: #117766;
    font-size: 14px;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* モバイル用調整 */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        padding: 0;
    }

    .left-panel {
        display: none !important;
    }

    .right-panel {
        flex: none;
        width: 100%;
        padding: 0 24px;
        background-color: #ffffff;
    }

    .logo-mobile {
        display: block;
        margin: 60px 0;
        color: #333333;
    }

    .form-container {
        position: static;
        transform: none;
        margin: 0 auto;
        padding-bottom: 40px;
        max-width: 320px;
        width: 100%;
    }
}

#build-number {
    opacity: 0;
    transition: opacity 0.4s ease;
}
