.registration-form-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
}

.registration-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
}

.registration-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.registration-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 90%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.department-dropdown-container {
    position: relative;
    width: 100%;
}

.department-dropdown-button {
    width: 100%;
    padding: 10px;
    text-align: left;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.department-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.department-dropdown-content.show {
    display: block;
}

.department-option {
    padding: 10px;
    cursor: pointer;
}

.department-option:hover {
    background-color: #f5f5f5;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #0056b3;
}
/* パスワード入力 */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    width: 100%;
    padding-right: 40px; /* アイコンの場所を確保 */
}
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #666;
    transition: color 0.2s ease;
}

.password-toggle input[type="checkbox"] {
    margin: 0;
}

.password-toggle label {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.password-toggle:hover {
    color: #333;
}

/* アイコンのサイズ調整 */
.password-toggle i {
    font-size: 16px;
}

/* フォーカス時のスタイル */
.password-input-container input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* アイコンがクリックされた時のエフェクト */
.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

/* パスワード注意書きのスタイル */
.password-note {
    display: block;
    font-size: 0.85em;
    color: #666;
    font-weight: normal;
    margin-top: 4px;
    font-style: italic;
}