/* 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: #474747;
}

body, .btn {
    font-size: 14px;
}

label {
    margin-bottom: 0;
}

/* エラーメッセージエリア */
.template_err_msg {
    color: #dc3545 !important;
    text-align: left !important;
}

.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 {
    margin: 0;
    padding: 2em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login_form input {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .75em .85em;
    background-color: white;
    background: none;
    margin: 0 0 1em;
    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: #134485;
    line-height: normal;
    border-radius: 5px;
}

.btn-submit:hover {
    color: #fff;
    background-color: #1a66a5;
}

/* 戻るボタン */
.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;
}

@media (max-width: 575px) {
    .top {
        margin-top: 0%;
    }

    .logo_title img {
        width: 60%;
    }

    .btn-submit,
    .btn-return {
        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 {
        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="password"],
    .login_form input[type="email"] {
        width: 70%;
    }

    .btn-submit,
    .btn-return {
        width: 70%;
    }
}