.body{
    display: flexbox;
    background:  #f0f2f5;

    align-content: space-evenly;     /* 水平中央に配置を設定 */
    justify-content: space-evenly; /* 垂直中央に配置を設定 */
    align-items: center;     /* 水平中央に配置を設定 */
    justify-items: center; /* 垂直中央に配置を設定 */
}

/* 中央部分を可変にする */
.header, .main, .footer {
    padding: 0;
    background: transparent;
    border: none;
    flex-grow: 0;
    
    flex-direction: column;
}
.header{
    min-height: fit-content;
    padding: 10px 0;
    
    /* 画面の一番上に固定し、ログインフォームより手前に表示 */
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main, .footer{
    padding-bottom: 10px;
    overflow: visible;

    position: sticky;
    z-index: 1000;
}

/* ヘッダーを浮かせるデザイン */
/* ログインフォーム全体のカードデザイン */
.header-message, .login-form, .others-form {
    background-color: #ffffff;
    border-radius: 12px;/* 影をつけて立体感を出す */
    /* 線を消して影をつける */
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    
    /* 縁をさらに際立たせたい場合は、ごく薄いボーダーを併用します */
    border: 1px solid rgba(0, 0, 0, 0.03);
}
.header-message {
    padding: 10px 30px;
}

.login-form {
    padding: 30px;
    width: 350px;
}

.others-form {
    padding: 30px;
    width: 250px;
}

/* 各入力セットの配置 */
.item-set {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px; /* ラベルと入力欄の隙間 */
}

/* ラベルのデザイン */
.item-set label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #444;
}

/* 入力欄（input）のデザインを現代風に */
.item-set input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.item-set input:focus {
    border-color: #007bff; /* 入力中に青く光らせる */
}

/* ボタンをフッターではなくフォーム内に置く場合、あるいはフッター自体の装飾 */
.login-button, .others-button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover, .others-button:hover {
    background-color: #0056b3;
}

/* フッターを非表示にする */
.hidden {
    display: none;
}