/* Extra small None	   ～575px */
/* Small       sm   576～767px */
/* Medium      md   768～991px */
/* Large       lg   992～1199px */
/* Extra large xl   1200px～ */
body {
    font-family: 'Mukta', sans-serif;
    height: 100vh;
    min-height: 550px;
    position: relative;
    overflow-y: hidden;
    color: #666666;
}

body, .btn {
    font-size: .9rem;
}

.font_mini {
    font-size: .85rem;
}

label {
    margin-bottom: 0;
}

/* エラーメッセージエリア */
.template_err_msg {
    color: #dc3545 !important;
    text-align: left !important;
    padding: 0 .5rem;
}

.template_err_msg ul {
    list-style: none;
    padding-left: 0;
}

.login-bg-color {
    background: white;
}

.contents {
    width: 100%;
    padding-top: 0;
    background: white;
}

.wrap {
    max-width: 630px;
    margin: 0 auto;
    width: 100%;
}

.top {
    background: #fff;
    padding: .75em .25em;
    box-sizing: border-box;
    width: 100%;
}

.top label {
    display: inline-block;
    font-weight: bold;
}

/* ロゴ */
.logo_title {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.logo_title img {
    /* width: 100%; */
    height: auto;
    max-width: 250px;
}

.login_form {
    text-align: center;
    margin: 0;
    margin-top: 1rem;
}

.login_form input {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .75em .85em;
    background-color: white;
    background: none;
    margin: 0 0 0.65em;
    line-height: normal;
    width: 90%;
    font-size: inherit;
}


/* 青いボタン */
.btn-submit {
    padding: 0.75em 1.25em;
    border-radius: 0;
    border: 0;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: #004196;
    line-height: normal;
}

.btn-submit:hover {
    background-color: #4f7a9e;
    color: white;
}

/* 戻るボタン */
.btn-return {
    padding: 0.75em;
    border-radius: 0;
    border: 0;
    font-weight: bold;
    cursor: pointer;
    color: #004196;
    background: #fff;
    border: 1px solid #004196;
    line-height: normal;
    margin-top: 0.65em;
}

.btn-return:hover {
    color: #004196;
    background-color: #e5f2ff;
}

.w-fit {
    width: fit-content !important;
}

.save_login_info {
    width: 70%;
    display: inline-flex;
    align-items: center;
}

.lbl_save_login_info {
    font-weight: normal !important;
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

@media (max-width: 575px) {
    .top {
        margin-top: 3%;
    }

    .logo_title img {
        width: 60%;
    }

    .btn-submit,
    .btn-return,
    .save_login_info {
        width: 90%;
        min-width: 240px;
    }
}

@media (min-width: 576px) {
    .top {
        margin-top: 0%;
        padding: 1.75em 1.25em;
    }

    .logo_title img {
        width: 40%
    }

    .login_form input,
    .btn-submit,
    .btn-return,
    .save_login_info {
        width: 55%;
    }
}

@media (min-width: 992px) {

    .login-bg-color,
    .contents {
        background: #eff0f5;
    }

    .wrap {
        max-width: 500px;
    }

    .top {
        margin: 1.25em 0 0 0;
        box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
        padding: 1.75em 2.25em;
    }

    .logo_title img {
        width: 50%
    }

    .login_form input[type="text"],
    .login_form input[type="email"],
    .save_login_info {
        width: 70%;
    }

    .btn-submit,
    .btn-return {
        width: 70%;
    }
}

/* パスワード　目のマーク */
.pass_box {
    position: relative;
    border-radius: 4px;
    border: 1px solid #ced4da;
    background-color: white;
    background: none;
    margin: 0 0 0.65em;
    line-height: normal;
    font-size: inherit;
    height: 45px;
    display: flex;
    justify-content: space-between;
}

.pass_box input {
    border-style: none;
}

.pass_box i {
    cursor: pointer;
    color: #999;
    width: 25px;
    height: 25px;
    text-align: center;
    display: inline-block;
}

.pass_box:active, .pass_box:focus-visible, .pass_box:focus, .pass_box:focus-within {
    outline: 1px auto -webkit-focus-ring-color;
}

.fa-solid {
    cursor: pointer;
    margin-top: 14px;
    outline: none;
    position: absolute;
    right: 10px;

}

.fa-solid.fa-eye :active :focus {
    outline: none;
}

/* デフォルトの目のマークを削除 */
::-ms-reveal {
    display: none;
}

input[name='password'] {
    width: 100%;
    margin: 0;
    display: flex;
    outline: none;
    padding: 10px 35px 10px 10px;
}

input[name='new_password1'], input[name='new_password2'] {
    padding-bottom: 0px;
    width: 100%;
    margin-right: 35px;
    outline: 0px auto -webkit-focus-ring-color;
}

.pass_box i {
    cursor: pointer;
    color: #999;
    width: 25px;
    height: 25px;
    text-align: center;
    display: inline-block;
}

@media (min-width: 992px) {
    .pass_box {
        width: 70%;
    }
}

@media (max-width: 991px) {
    .pass_box {
        width: 55%;
    }
}

@media (max-width: 575px) {
    .pass_box {
        width: 90%;
    }
}

#id_password, #id_new_password1, #id_new_password2 {
    width: 100%;
}