body.login-page {
    background: #ffffff;
    font-family: 'Nunito', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    position: relative;
}

/* 背景パターンを削除 */

.login-logo {
    text-align: center;
    margin-bottom: 30px;
    padding: 10px;
}

.login-logo img {
    max-width: 400px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.login-logo img:hover {
    transform: scale(1.05);
}

.login-box {
    width: 480px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.login-logo a {
    color: #333333;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: block;
}

.login-logo a b {
    color: #0062ff;
}

.login-card-body {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.login-card-body:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,98,255,0.12);
}

.login-box-msg {
    font-size: 1.1rem;
    color: #0062ff;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
}

.input-group .form-control {
    border-radius: 10px;
    padding: 14px 18px;
    height: auto;
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 100%; /* 幅を100%に設定 */
    background-color: #f8f9ff; /* 薄い青色の背景 */
}

.input-group .form-control:focus {
    border-color: #0062ff;
    box-shadow: 0 0 0 3px rgba(0,98,255,0.15);
    outline: none;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #757575;
    border-radius: 0 8px 8px 0;
    padding: 12px 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #0062ff, #60a5fa);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,98,255,0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0051d3, #4a94f8);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,98,255,0.4);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0,98,255,0.4);
}

.icheck-primary input:checked + label::before {
    background-color: #0062ff;
    border-color: #0062ff;
}

.text-danger {
    color: #e74c3c !important;
    font-size: 0.9rem;
    margin-top: -15px;
    margin-bottom: 15px;
}

.icheck-primary label {
    font-size: 0.9rem;
    color: #546e7a;
    cursor: pointer;
}

/* アニメーション効果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-box {
    animation: fadeIn 0.8s ease-out forwards;
}

/* 追加スタイル */
.login-form {
    margin-bottom: 20px;
}

.remember-me {
    margin: 15px 0 20px;
    display: flex;
    align-items: center;
}

.login-btn-wrapper {
    margin-top: 10px;
}

.login-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 0.8rem;
    color: #0062ff;
}

.mr-2 {
    margin-right: 0.5rem;
}

.logo-img {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
