body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff; /* 背景は白 */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.login-container {
    background: white;
    padding: 2rem 2.5rem; /* 横の余白を少し広げ、縦の余白を減らす */
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px; /* 幅を少し調整 */
    width: 90%;
    border-top: 6px solid #a2d93b; /* ブランドカラー */
}

.login-container h2 {
    margin-bottom: 1rem;
    color: #4a7c29;
    font-weight: bold;
    font-size: 1.5rem; /* 少しサイズを小さく */
}

.error-message {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.input-group {
    width: 100%;
    margin-bottom: 1.2rem; /* 余白を少し詰める */
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group label {
    width: 100%;
    font-size: 1rem;
    margin-bottom: 0.3rem; /* ラベルと入力欄の間を狭く */
    color: #555;
    font-weight: bold;
    text-align: left; /* 左揃え */
}

.input-group input {
    width: 90%; /* 幅を調整して中央に寄せる */
    padding: 12px;
    border: 2px solid #a2d93b;
    border-radius: 25px; /* 角を丸く */
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    background: #f9fff5;
    text-align: left;
}

.input-group input:focus {
    border-color: #8bc34a;
    box-shadow: 0 0 6px rgba(162, 217, 59, 0.3);
}

.login-btn {
    width: 90%; /* ボタンのサイズも入力欄に合わせる */
    background: linear-gradient(135deg, #a2d93b, #8bc34a);
    color: white;
    border: none;
    padding: 12px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(162, 217, 59, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #8bc34a, #7caf35);
    box-shadow: 0 5px 12px rgba(162, 217, 59, 0.4);
}

p {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #333;
}

p a {
    color: #4a7c29;
    font-weight: bold;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
    color: #3a6b20;
}
