﻿/* ログイン画面のスタイル */
.login-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: calc(100vh - 120px);
    padding: 30px 20px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .login-hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(30, 20, 10, 0.7) 0%, rgba(50, 40, 30, 0.5) 100%);
        z-index: 0;
    }

.login-container {
    background: rgba(25, 25, 35, 0.85);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    border-top: 4px solid #6a82fb;
    position: relative;
    z-index: 2;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.login-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.07);
    color: white;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

    .login-form .form-control:focus {
        border-color: #6a82fb;
        outline: none;
        box-shadow: 0 0 0 2px rgba(106, 130, 251, 0.25);
        background-color: rgba(255, 255, 255, 0.1);
    }

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: flex-start;
    text-align: left;
}

.form-check-input {
    margin-right: 10px;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background-color: #6a82fb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(106, 130, 251, 0.3);
}

    .btn-login:hover {
        background-color: #7b90ff;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(106, 130, 251, 0.4);
    }

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;
}

    .links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.2s;
    }

        .links a:hover {
            color: #fff;
            text-decoration: underline;
        }

.login-boya {
    margin-top: 25px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .login-container {
        padding: 20px;
    }

    .links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 550px) {
    .login-hero h1 {
        font-size: 1.8rem;
    }

    .login-hero p {
        font-size: 1rem;
    }

    .btn-login {
        padding: 10px;
    }
}
