* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family:
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        sans-serif;
    color: #111;
    background: #fff;
}

.login-page {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
}

/* 左側 */

.login-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-content {
    width: 100%;
    max-width: 480px;
}

.catch-copy {
    margin: 0 0 20px;
    font-size: clamp(38px, 4vw, 65px);
    line-height: 1.25;
}

.description {
    margin: 0 0 35px;
    color: #555;
    font-size: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #c9cfd6;
    border-radius: 7px;
    font-size: 16px;
}

.form-group input:focus {
    border-color: dodgerblue;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}

.login-content button {
    width: 100%;
}

/* または */

.divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 28px 0;
    color: #777;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

/* 新規登録 */

.register-button {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1px solid #c9cfd6;
    border-radius: 7px;
    color: #111;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.register-button:hover {
    background: #f3f5f7;
}

/* 右側 */

.brand-area {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 30px;
    overflow: hidden;
    background: #fff;
}

.brand-image {
    display: block;
    width: 100%;
    max-width: 850px;
    height: auto;
    object-fit: contain;
}

/* スマートフォン */

@media (max-width: 850px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .brand-area {
        display: none;
    }

    .login-area {
        min-height: 100vh;
        padding: 25px;
    }

    .catch-copy {
        font-size: 40px;
    }
}