/* ベースの全体設定（背景画像を表示） */
body {
    font-family: Arial, sans-serif;
    background-image: url("login_1.e6951e749e03.png"); /* ←ここに背景画像のパスを指定 */
    background-size: cover;        /* 画面全体に表示 */
    background-position: center;   /* 中央に配置 */
    background-repeat: no-repeat;  /* 繰り返さない */
    margin: 0;
    padding: 0;
}

/* ログインフォーム全体の枠 */
.login-container {
    max-width: 40%;
    margin: 100px auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9); /* 半透明の白背景で可読性UP */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* 見出し（PDF準拠: SPIN TECHNOLOGY を青の主題、社内ポータルサイトを副題に） */
.login-container h2 {           /* SPIN TECHNOLOGY = ブランド主題 */
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #2f7de1;             /* ブランド青（全画面共通） */
    margin: 0 0 2px;
}

.login-container h1 {           /* 社内ポータルサイト = 副題 */
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    margin: 0 0 24px;
}

/* パスワード再設定リンク（PDF準拠） */
.login-container .forgot {
    margin-top: 16px;
    text-align: center;
}
.login-container .forgot a {
    color: #1f6fd0;
    font-size: 13px;
    text-decoration: none;
}
.login-container .forgot a:hover { text-decoration: underline; }
.login-container .forgot .note {
    color: #9ca3af;
    font-size: 12px;
    margin: 4px 0 0;
}

/* フォーム行（ラベルと入力を横並び） */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}

/* ラベル */
label {
    width: 120px;
    margin-right: 10px;
    text-align: left;
    font-weight: bold;
    color: #333;
}

/* 入力欄 */
input[type="email"],
input[type="password"] {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ボタン */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #2f7de1;   /* ブランド青（全画面共通） */
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #1f6fd0;
}