.loginarea-wrapper.auth {
    background-color: #fff;
    width: 500px;
    margin: 0 auto;
}

.auth .button_orange {
    width: 312px;
    height: 63px;
    border: 2.5px solid #fff;
    border-radius: 31.5px;
    margin-top: 18px;
    font-size: 2.1rem;
    font-weight: 700;
}

.auth .login-dot-wrapper {
    display: flex;
    flex-flow: column;
    margin-top: 35px;
}

.auth .border_dot1 {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    opacity: 1;
}

.auth .login-dot-wrapper span {
    background-color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: -21px auto 0;
    padding: 0 18px;
    color: rgba(0, 0, 0, .6);
}

.auth .title_wrapper {
    margin-top: 2.8rem;
}

.auth .title_wrapper h2 {
    padding: 0;
    font-weight: 700;
}

.auth .message_sns {
    margin: 17px auto 0;
}

.auth .sns_login {
    margin: 0;
    width: 100%;
    display: flex;
    flex-flow: column;
}

.auth .btn_sns_login {
    margin: 5px 0;
}

.auth .message_sns img {
    width: auto;
    height: 20px;
    margin: 0 4rem 0 2rem;
}

.auth .btn_sns_login a {
    align-items: center;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    display: inline-flex;
    width: 100%;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    line-height: 40px;
}

.auth .message_sns .line_login_warning {
    margin-top: 18px;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    padding: 10px;
    background: #f7f7f7
}

.auth .message_sns .line_login_warning .line_login_warning_label {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3px;
}

.auth .message_sns .line_login_warning .line_login_warning_text {
    padding: 3px;
    font-size: 11px;
}

.auth .loginform_area {
    margin-top: 11px;
    width: 500px;
    align-items: center;
}

.auth .loginform_area label {
    font-size: 16px;
    font-weight: 700;
    line-height: 15px;
}

.auth .loginform_area .email-wrapper,
.auth .loginform_area .password-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.auth .loginform_area .password-wrapper {
    margin-top: 15px;
}

.auth .loginform_area .auth-input {
    margin-top: 15px;
}

.auth .loginform_area .auth-input input {
    width: 358px;
    height: 40px;
    margin: 0;
    border: 1px solid #d8d8d8;
    padding: 0 15px;
}

.auth .loginform_area .auth-input input::placeholder {
    font-size: 15px;
    font-weight: 500;
}

.auth .loginform_area a {
    text-decoration: underline;
}

.auth #toggleIcon {
    top: 50%;
    width: 22px;
}

.auth .password-wrapper p {
    width: fit-content;
    font-size: 13px;
    margin: 15px 0 33px;
    text-decoration: none;
}

.auth .password-wrapper p a {
    text-decoration: underline;
}

.auth .message_orange {
    width: fit-content;
    margin-left: 0;
    margin-top: 13px;
    text-decoration: none;
    font-size: 13px;
}

.auth .optioncheck_area {
    justify-content: center;
    align-items: center;
}

.auth .optioncheck_area input[type="checkbox"] {
    position: relative;
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    vertical-align: -5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.auth .optioncheck_area input[type="checkbox"]:checked {
    background-color: #FD790E;
    border: none;
}

.auth .optioncheck_area input[type="checkbox"]:checked:before {
    position: absolute;
    top: 0px;
    left: 5px;
    transform: rotate(42deg);
    width: 6px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
}

.auth .optioncheck_area label {
    font-size: 15px;
}

.auth .button_white_orangeline {
    width: 312px;
    height: 63px;
    border: 3px solid #fd7801;
    border-radius: 31.5px;
    box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.05);
    margin-top: 18px;
    letter-spacing: normal;
}

/* ログイン画面 */

.auth .loginform_newmember {
    padding: 6.2rem 0 0;
    text-align: center;
}

.auth .loginform_newmember h2 {
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: normal;
    margin: 0;
}

.login-page .title_wrapper h2 {
    font-size: 2rem;
}

.login-page .loginform_area form {
    width: 510px;
}

.login-page #toggleIcon {
    right: 10px;
    transform: translateY(-45%);
}

.login-page .optioncheck_area {
    justify-content: center;
}

.auth .loginform_area input:has(+.error-message),
.auth .loginform_area textarea:has(+.error-message),
.auth .loginform_area select:has(+.error-message) {
    border: 2px solid red;
    background-color: rgba(255, 0, 0, 0.2);
}

p.error-messege {
    margin-bottom: 0;
}

.login-page .message_sns {
    padding-bottom: 120px;
}

/* 新規会員登録 */

.registration {
    padding-top: 34px;
}

.registration .title_wrapper h2 {
    font-size: 24px;
}

.registration .loginform_area .auth-input {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 25px;
}

.registration .loginform_area form {
    width: 500px;
}

.registration .loginform_area .auth-input label span {
    font-size: 13px;
    font-weight: 400;
    margin-left: 13px;
}

.registration .loginform_area .auth-input input {
    width: 100%;
    margin-top: 13px;
}

.registration #toggleIcon {
    transform: translateY(15%);
    right: 21px;
}

.registration .optioncheck_area {
    justify-content: flex-start;
    margin-top: 25px;
}

.registration .optioncheck_area span {
    font-size: 15px;
}

.registration .optioncheck_text {
    margin: 40px auto 0;
    width: fit-content;
    font-size: 13px;
}

.registration .optioncheck_text a {
    color: #000;
}


.registration .button_orange {
    margin: 12px auto 0;
}

.registration .loginform_white {
    padding-top: 41px;
}

.registration .loginform_white h2 {
    font-size: 24px;
    letter-spacing: normal;
}

.google-error-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.google-error-modal-content {
    background-color: white;
    padding: 30px 18px 35px;
    border-radius: 15px;
    box-shadow: 0px 0px 9.81818px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.google-error-modal-content p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

.google-error-modal-content__title {
    display: flex;
    color: #FD790E;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.google-error-modal-content__title p {
    font-size: 20px;
    font-weight: 700;
}

.google-error-modal-content__text {
    margin-bottom: 25px;
}

.button_orange__plain {
    width: 205px;
    height: 45px;
    border-radius: 22px;
    font-size: 2rem;
    font-weight: 600;
    background-color: #FD790E;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width:768px) {
    .loginarea-wrapper.auth {
        width: 325px;
    }

    .auth .loginform_newmember h2 {
        font-size: 16px;
    }

    .auth .login-dot-wrapper span {
        font-size: 12px;
    }

    .auth .title_wrapper {
        margin-top: 2rem;
    }

    .auth .sns_login {
        width: 325px;
    }

    .auth .loginform_area .email-wrapper,
    .auth .loginform_area .password-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth .loginform_area {
        width: 100%;
    }

    .auth .loginform_area form {
        width: 100%;
    }

    .auth .loginform_area .email-wrapper input,
    .auth .loginform_area .password-wrapper input {
        margin-top: 10px;
        width: 325px;
    }

    .auth .loginform_area .auth-input input::placeholder {
        font-size: 14px;
    }

    .auth #toggleIcon {
        transform: translateY(20%);
        width: 19px;
        right: 12px;
    }

    .auth .password-wrapper p {
        font-size: 12px;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .auth .message_orange {
        font-size: 12px;
    }

    .auth .optioncheck_area label {
        font-size: 14px;
    }

    /* ログイン画面 */
    .login-page .title_wrapper h2 {
        font-size: 16px;
    }

    .login-page .loginform_area {
        margin-top: 10px;
    }

    .login-page .loginform_area label {
        font-size: 14px;
    }

    .registration .title_wrapper h2 {
        font-size: 18px;
    }

    .registration .login-dot-wrapper {
        margin-top: 30px;
    }



    .registration .loginform_area .auth-input {
        margin-top: 22px;
    }

    .registration .loginform_area label {
        font-size: 15px;
    }

    .registration .loginform_area .auth-input label span {
        font-size: 12px;
        font-weight: 700;
        margin-left: 6px;
    }

    .registration .optioncheck_area {
        margin-top: 22px;
    }

    .registration .loginform_area .auth-input input {
        margin-top: 8px;
    }

    .registration .optioncheck_area span {
        font-size: 14px;
    }

    .registration .optioncheck_area input[type="checkbox"] {
        margin-right: 10px;
    }

    .registration .optioncheck_text {
        font-size: 12px;
        margin-top: 31px;
    }

    .registration .loginform_white {
        padding-top: 32px;
    }

    .registration .loginform_white h2 {
        font-size: 18px;
    }

    .google-error-modal-content {
        max-width: 326px;
        width: 96%;
    }

    .google-error-modal-content__title {
        gap: 8px;
    }

    .google-error-modal-content__text {
        margin-bottom: 20px;
        text-align: left;
    }

}
