body {
    /* フォントと背景色 */
    font-family: Arial, sans-serif;
    background-color: #fff5ee;
    color: #333;
    
    /* 画面全体の中央配置のための設定 */
    display: flex;
    justify-content: center; /* 水平方向の中央 */
    align-items: center;    /* 垂直方向の中央 */
    min-height: 100vh;      /* ビューポートの高さ全体を使う */
    margin: 0;
}

.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 380px; /* 最大幅を設定して見やすくする */
    text-align: center;
}

h2 {
    color:  #ff5722; /* ブランドカラー */
    margin-bottom: 30px;
    font-size: 1.8rem;
}


form input[type="text"],
form input[type="password"],
form button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    box-sizing: border-box; /* paddingとborderを幅に含める */
    border-radius: 4px;
    font-size: 1rem;
}

/* 入力フィールドの共通スタイル */
form input[type="text"],
form input[type="password"] {
    border: 1px solid #ccc;
    transition: border-color 0.3s;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
    border-color:  #ff5722;
    outline: none; /* デフォルトのフォーカス枠を消す */
}

/* 登録ボタンのスタイル */
form button {
    background-color: #ff5722;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #ff5722; /* ホバーで少し暗くする */
}

p {
    margin-top: 20px;
    font-size: 0.9rem;
}

p a {
    color: #007bff;
    text-decoration: none; /* 下線を消す */
    transition: color 0.3s;
}

p a:hover {
    text-decoration: underline; /* ホバーで下線を表示 */
}

/* エラー/成功メッセージ */
p[style] {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}
p[style="color:red;"] {
    background-color: #fdd;
    border: 1px solid #f00;
}
p[style="color:green;"] {
    background-color: #dfd;
    border: 1px solid #080;
}