/* ログイン・ユーザー登録画面専用スタイル 2025-12-02 space */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f7f6;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

/* 白いカード部分 */
.auth-container {
    width: 100%;
    max-width: 400px;
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    /* アニメーション: ページを開いたときにふわっと出る */
    animation: fade-up 0.5s ease-out;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* タイトル */
.auth-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-text-main);
    font-size: 24px;
    margin-top: 0;
}

/* 認証画面のロゴ画像 */
.auth-logo {
    display: block;
    height: 32px;
    width: auto;
    margin: 0 auto 10px;
}

/* フッターリンクエリア */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}

.auth-footer a {
    font-weight: bold;
}

/* フォームグループの微調整 */
.form-group label {
    font-weight: bold;
    font-size: 0.9em;
}

/* 規約同意テキスト */
.legal-text {
    margin-top: 20px;
    font-size: 0.85em;
    color: #666;
    text-align: left;
    line-height: 1.5;
}

.legal-text a {
    text-decoration: underline;
}

/* 認証完了後の補足テキスト */
.auth-hint {
    text-align: center;
    margin-top: 12px;
    color: #aaa;
    font-size: 0.9em;
}

/* ボタンエリア */
.auth-btn-area {
    margin-top: 30px;
}

.btn-wide {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
}

/* レスポンシブ対応 (スマホ) */
@media (max-width: 480px) {
    .auth-container {
        padding: 20px; /* パディングを少し減らす */
        box-shadow: none;
        border: 1px solid var(--color-border-light);
    }

    .auth-title {
        font-size: 20px;
    }
}
