@charset "UTF-8";
/**
 * 1ページ完結型 会員登録フォーム固有CSS
 * 共通部分は register-common.css を参照
 */

/* ============================================
   セクション区切り
============================================ */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.form-section:last-child {
    border-bottom: none;
}

/* ============================================
   バリデーションエラーメッセージ
============================================ */
.form-section > .error,
#facultySection > .error,
#departmentSection > .error {
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    background-color: #E3002D;
    position: relative;
    margin-top: 10px;
}
.form-section > .error::before,
#facultySection > .error::before,
#departmentSection > .error::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 15px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 8px 6px;
    border-color: transparent transparent #E3002D transparent;
}

/* ============================================
   レスポンシブ（1ページ型固有）
============================================ */
@media (max-width: 768px) {
    .form-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
}
