/* ------------------------------------------------------------------------------------------------------------------ */
/* すでにログイン済み */

.custom-register-logged-in-message {
    font-size: 1rem;
    color: var(--custom-text-color);
    text-align: center;
    margin: 2.5rem 0 0px 0;
}

.custom-register-mypage-button {
    position: relative;
    text-align: center;
    background-color: var(--custom-purple);
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 2.5rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: var(--custom-white);
    width: 280px;
    height: 45px;
    box-sizing: border-box;
}

.custom-register-mypage-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid var(--custom-white);
    border-left: 1px solid var(--custom-white);
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-register-logout-button {
    position: relative;
    text-align: center;
    background-color: var(--custom-white);
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 2.5rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: var(--custom-purple);
    width: 280px;
    height: 45px;
    box-sizing: border-box;
    border: solid 1px var(--custom-purple);
}

.custom-register-logout-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid var(--custom-purple);
    border-left: 1px solid var(--custom-purple);
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 未ログイン */

.custom-register-message {
    font-size: 1rem;
    color: var(--custom-text-color);
    text-align: center;
    margin: 2.5rem 0 1.25rem 0;
}

.custom-register-form-group label {
    font-size: 1rem;
    color: var(--custom-text-color);
    display: block;
    margin-bottom: 0.625rem;
}

.custom-register-form-group input {
    font-size: 0.875rem;
    padding: 0.9375rem;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background-color: var(--custom-bg-gray);
    width: 100%;
    color: var(--custom-text-color);
    box-sizing: border-box;
    margin-bottom: 1.25rem;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.custom-register-form-group input:focus {
    border-color: var(--custom-purple);
    background-color: var(--custom-white);
}

/* チェックボックス */
.custom-register-form-group-checkbox {
    font-size: 0.875rem;
    color: var(--custom-text-color);
    text-align: center;
}

.custom-register-form-group-checkbox a {
    text-decoration: underline;
}

.custom-register-form-group-checkbox #custom-register-agree {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 5px;
    background-color: var(--custom-bg-gray);
    border: solid 1px var(--custom-gray-dark);
    box-sizing: border-box;
    display: inline-grid;
    place-content: center;
    vertical-align: middle;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.custom-register-form-group-checkbox #custom-register-agree::before {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--custom-white);
    border-bottom: 2px solid var(--custom-white);
    transform: rotate(-45deg) scale(0);
    transition: transform 0.15s ease-in-out;
}

.custom-register-form-group-checkbox #custom-register-agree:checked {
    background-color: var(--custom-purple);
    border-color: var(--custom-purple);
}

.custom-register-form-group-checkbox #custom-register-agree:checked::before {
    transform: rotate(-45deg) scale(1);
}

/* 認証コードを送信ボタン */
#custom-register-send-code {
    position: relative;
    text-align: center;
    background-color: var(--custom-purple);
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 2.5rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: var(--custom-white);
    width: 280px;
    height: 45px;
    box-sizing: border-box;
    cursor: pointer;
}

#custom-register-send-code::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid var(--custom-white);
    border-left: 1px solid var(--custom-white);
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

/* 認証するボタン */
#custom-register-complete-button {
    position: relative;
    text-align: center;
    background-color: var(--custom-purple);
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 2.5rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: var(--custom-white);
    width: 280px;
    height: 45px;
    box-sizing: border-box;
    cursor: pointer;
}

#custom-register-complete-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid var(--custom-white);
    border-left: 1px solid var(--custom-white);
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

/* 初めからやり直すボタン */
.custom-register-restart-button {
    margin: 1.25rem auto 2.5rem auto;
    display: block;
    font-size: 0.875rem;
    color: var(--custom-gray-dark);
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

/* ログインはこちらボタン */
.custom-register-login-button {
    position: relative;
    text-align: center;
    background-color: var(--custom-white);
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 1.25rem auto 2.5rem auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: var(--custom-purple);
    width: 280px;
    height: 45px;
    box-sizing: border-box;
    border: solid 1px var(--custom-purple);
}

.custom-register-login-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid var(--custom-purple);
    border-left: 1px solid var(--custom-purple);
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

/* 店舗・キャスト向け案内 */
.custom-register-store-and-cast-guide {
    margin-bottom: 2.5rem;
    font-size: 0.875rem;
    color: var(--custom-gray-dark);
    text-align: center;
}

.custom-register-store-and-cast-guide a {
    color: var(--custom-purple);
    text-decoration: underline;
}
