body.shinwa-login-screen {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: #ffffff;
    color: #222222;
    font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

body.shinwa-login-screen > header,
body.shinwa-login-screen > footer {
    display: none;
}

.shinwa-login-page {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #ffffff;
}

.shinwa-login-panel {
    width: 100%;
    max-width: 468px;
    margin-top: -20px;
}

.shinwa-login-alert:empty {
    display: none;
}

.shinwa-login-alert:not(:empty) {
    margin-bottom: 20px;
}

.shinwa-login-logo {
    display: flex;
    min-height: 106px;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
}

.shinwa-login-logo img {
    display: block;
    width: auto;
    max-width: 290px;
    max-height: 106px;
    object-fit: contain;
}

.shinwa-login-form {
    width: 100%;
}

.shinwa-login-field {
    margin-bottom: 23px;
}

.shinwa-login-field label {
    display: block;
    margin-bottom: 7px;
    color: #222222;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
}

.shinwa-login-field input {
    display: block;
    width: 100%;
    height: 56px;
    padding: 10px 20px;
    border: 1px solid #cccccc;
    border-radius: 0;
    outline: none;
    background: #fafbfb;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
    color: #222222;
    font-size: 18px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.shinwa-login-field input::placeholder {
    color: #d5d5d5;
}

.shinwa-login-field input:focus {
    border-color: #eaaa00;
    box-shadow: 0 0 0 2px rgba(234, 170, 0, .14);
}

.shinwa-login-field .invalid-feedback {
    display: block;
    margin-top: 5px;
}

.shinwa-login-submit {
    display: block;
    width: 100%;
    height: 55px;
    margin: 2px 0 35px;
    border: 0;
    border-radius: 0;
    background: #ecaa00;
    color: #ffffff;
    font: inherit;
    font-size: 20px;
    cursor: pointer;
    transition: background-color .15s ease;
}

.shinwa-login-submit:hover,
.shinwa-login-submit:focus-visible {
    background: #d99c00;
}

.shinwa-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 29px;
    color: #222222;
    font-size: 19px;
    cursor: pointer;
}

.shinwa-login-remember input {
    width: 19px;
    height: 19px;
    margin: 0;
    accent-color: #ecaa00;
}

.shinwa-login-forgot {
    margin: 0;
    text-align: center;
}

.shinwa-login-forgot a {
    color: #1fa7e1;
    font-size: 16px;
    text-decoration: none;
}

.shinwa-login-forgot a:hover,
.shinwa-login-forgot a:focus-visible {
    color: #1687b8;
    text-decoration: underline;
}

@media (max-width: 560px) {
    .shinwa-login-page {
        align-items: flex-start;
        padding-top: 70px;
    }

    .shinwa-login-panel {
        max-width: 420px;
        margin-top: 0;
    }

    .shinwa-login-logo img {
        max-width: 240px;
        max-height: 88px;
    }

    .shinwa-login-field label,
    .shinwa-login-submit {
        font-size: 18px;
    }

    .shinwa-login-remember {
        font-size: 16px;
    }
}
