/* ログインページのスタイル */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #66abea 0%, #4b51a2 100%);
    height: 100vh;
    height: 100dvh; /* 動的ビューポート高さ（iOSのアドレスバー対応） */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 20px;
    overflow: auto;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

h1 {
    color: #5f5d5d;
    text-align: center;
    margin-bottom: 20px;
    font-size: 23px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.info {
    background-color: #d1e2f1;
    color: #0c5460;
    padding: 12px;
    border-radius: 5px;
    margin-top: 20px;
    border: 1px solid #bee5eb;
    font-size: 13px;
}

.login-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 200px;
    height: auto;
}

@media (max-width: 768px) {
.login-logo {
    display: block;
    margin: 0 auto 10px;
    max-width: 150px;
    height: auto;
}
.login-container
 {
    background: white;
    padding: 20px 35px;
 }
}
