/* ユーザー登録ページ専用スタイル */

.register-page-bg {
    display: block !important;
}

/* フォームの調整 */
.register-form {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 重要なお知らせ */
.notice-section {
    background: #fff9db;
    border: 2px solid #ffec99;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.notice-important {
    color: #e67700;
    font-weight: 700;
    margin-bottom: 5px;
}

.notice-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.required {
    color: #e03131;
    font-weight: 700;
}

.form-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
    display: block;
}

/* 利用規約セクション */
.agreement-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.agreement-section .checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.checkbox-label input {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.checkbox-text a {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 700;
}

/* 送信ボタン：全幅指定 */
.register-submit-btn {
    width: 100%;
}

/* SNS登録セクション：Loginと同期 */
.sns-register-section {
    margin-bottom: 40px;
}

.sns-title {
    text-align: center;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
    font-weight: 700;
}

.sns-register-buttons .the_champ_login_ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.sns-register-buttons .the_champ_login_ul li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sns-register-buttons .theChampLogin,
.sns-register-buttons i.theChampLogin {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border: none !important;
    text-decoration: none !important;
    position: relative !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    white-space: nowrap !important;
}

/* Facebookカラー */
.theChampFacebookLogin {
    background-color: #1877f2 !important;
    color: #fff !important;
}

.theChampFacebookLogin::after {
    content: "Facebookで登録" !important;
}

/* Googleカラー */
.theChampGoogleLogin {
    background-color: #ffffff !important;
    color: #3c4043 !important;
    border: 1px solid #dadce0 !important;
}

.theChampGoogleLogin::after {
    content: "Googleで登録" !important;
}

/* 登録方法の区切り線 */
.register-divider {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.register-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.register-divider span {
    position: relative;
    background: #fff;
    padding: 0 20px;
    color: #999;
    font-size: 0.9rem;
    z-index: 2;
}

/* ログインへのリンク */
.login-link-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 1rem;
    color: #333;
}

.login-redirect-btn {
    background: #f7e030;
    color: #1a1a00;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 800;
    margin: 0 5px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #e5cf2b;
}

/* エラー表示 */
.register-error {
    background: #fff5f5;
    color: #c92a2a;
    border: 1px solid #ffa8a8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

/* リンクボタン */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}