body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
    overflow: hidden; /* スクロールを初期状態で無効にする */
}

/* ログイン画面のスタイル */
.login-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.login-container h2 {
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #0056b3;
}

/* 疑似ウィンドウのスタイル */
.pseudo-window {
    position: absolute;
    width: 300px;
    height: 150px;
    border: 2px solid #333;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    display: none; /* 初期状態では非表示 */
    overflow: hidden; /* 内容がはみ出さないように */
    border-radius: 5px;
    font-size: 0.9em;
    box-sizing: border-box;
}

.pseudo-window .title-bar {
    background-color: #000080; /* Windowsのタイトルバー風 */
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default; /* ドラッグできないように */
}

.pseudo-window .close-button {
    background-color: #c0c0c0;
    color: black;
    border: 1px solid #808080;
    padding: 1px 5px;
    cursor: pointer;
    font-size: 0.8em;
    line-height: 1;
    border-radius: 2px;
}

.pseudo-window .close-button:hover {
    background-color: #ff0000;
    color: white;
}

.pseudo-window .content {
    padding: 15px;
    background-color: #f0f0f0;
    color: #333;
    height: calc(100% - 30px); /* タイトルバーの高さ分を引く */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .login-container {
        padding: 20px;
        margin: 0 10px;
    }

    .pseudo-window {
        width: 80%; /* スマホでは幅を広げる */
        height: 120px;
        /* スマホでも斜めに重なるように、leftとtopはJSで設定された値を優先 */
        /* bottomやtransformは削除し、leftとtopの!importantも削除 */
    }
}
