/* ==========================================
   共通リセット & 基本設定
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

body {
    background-color: #f0f4f8; /* 薄い青みがかった白 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* ==========================================
   ログインカード（中央配置）
   ========================================== */
.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* 研究同意・動画注意書き・エラー・完了画面の共通横長カード */
.login-container.content-card {
    width: calc(100% - 40px);
    max-width: 900px;
    padding: 40px 56px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 50, 100, 0.08);
}

.content-card .login-title {
    margin-bottom: 26px;
}

@media (max-width: 640px) {
    .login-container.content-card {
        width: calc(100% - 32px);
        padding: 32px 24px;
    }
}

/* タイトル（WEBシステム） */
.login-title {
    color: #0056b3; /* 深みのある青 */
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* ==========================================
   フォーム要素
   ========================================== */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
}

/* 入力入力欄（ID / パスワード共通） */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    outline: none;
}

/* フォーカス時の青色の発光エフェクト */
input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #007bff; /* 明るい青 */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* ==========================================
   ボタン
   ========================================== */
.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff; /* プライマリーブルー */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #0056b3; /* ホバー時に濃い青へ */
}

.login-help-text {
    margin-top: 16px;
    color: #495057;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

/* システム全画面のプレースホルダーを入力済み文字より薄く表示する。 */
input::placeholder,
textarea::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

/* 未選択のプルダウン案内もプレースホルダーと同じ色にする。 */
select:has(option[value=""]:checked) {
    color: #cbd5e1 !important;
}

select option:not([value=""]) {
    color: #495057;
}
