/* 全体のスタイル */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #ADD8E6 0%, #BFE8FF 100%);
    color: #444;
    margin: 0;
    min-height: 100vh; /* 画面全体を覆う */
    display: flex;
    justify-content: center;
    align-items: center; /* フォームを中央に配置 */
    padding: 20px;
}

/* ログインフォームのコンテナ */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 6px 6px rgba(0, 0, 0, 0.1);
    /* 影を強くして、より浮き出ているように見せる */
}

/* タイトル */
h1 {
    text-align: center;
    font-size: 2.2em;
    color: #2D5477;
    margin-bottom: 30px;
}

/* フォームのグループ */
.form-group {
    margin-bottom: 20px;
}

/* ラベル */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

/* 入力フィールド */
input {
    width: 100%;
    padding: 12px;
    border: 1px solid #c8dcf6;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
    border-color: #87CEFA;
    box-shadow: 0 0 0 3px rgba(135, 206, 250, 0.25);
    outline: none;
}

/* ログイン画像 */
.login-image {
    max-width: 160px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

/* ログインボタン */
.login-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background-color: #64B5F6;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-button:hover {
    background-color: #42A5F5;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* エラーメッセージ */
.error-message {
    color: #d9534f;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

/* PC向けのスタイル（768px以上の画面） */
@media (min-width: 768px) {
    .login-container {
        padding: 50px;
    }
}