html, body {
    width: auto !important;
    overflow-x: hidden !important;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f6f8fa;
    margin: 0;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
    color: rgb(255, 255, 255);
    margin: 5px 20px;
    word-wrap: break-word;
}

h2.top-link a {
    font-size: 24px;
    color: white;
    text-decoration: none;
}

h3 {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.4;
}

.summary {
    font-size: 0.75rem;
    color: #626b76;
    margin: 0.5rem 0 0 1rem;
    line-height: 1.4;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
}

input {
    margin-bottom: 15px;
    padding: 5px;
}

input.pattern {
    padding: 4px 8px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    background-color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 8px 0;
}

button {
    cursor: pointer;
    padding: 5px;
    background-color: #3a95d3;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
}

.error-message {
    color: red;
    margin-bottom: 15px;
}

input.inputform {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border: 1px solid rgba(0, 10, 23, .1);
    border-radius: 4px;
    box-shadow: none;
    color: #141e2b;
    font-size: 1rem;
    padding: 4px 8px;
    height: 44px;
    width: 100%;
    box-sizing: border-box;
}

input#remember_me {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-right: 0.5em;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(0, 10, 23, .15);
    background: #fff;
    border-radius: 3px;
    vertical-align: top;
    position: relative;
}

input#remember_me:checked {

    background: #0fb9f5;
    border: none;
}


input#remember_me:after {
    content: '';
    display: block;
    position: absolute;
    width: 4px;
    height: 8px;
    border: 2px solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 6px;
    left: 9px;
}

.loginbutton {
    background-color: #0080de;
    appearance: none;
    border: none;
    border-radius: 0.45rem;
    box-shadow: none;
    display: block;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    max-width: 24rem;
    line-height: 1.4;
    padding: 1.25rem 2rem;
    text-align: center;
    width: 100%;
    position: relative;
    margin: 10px auto 30px;
}

/*リセットボタン*/
.reset-button {
    position: relative;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.reset-button:before,
.reset-button:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background-color: #333;
}

.reset-button:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.reset-button:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.container {
    max-width: calc(100% - 2rem);
    margin: 0 auto;
}

section {
    background-color: #ffffff;
    border-radius: 0.6rem;
    max-width: 45rem;
    margin: 3rem auto 3rem;
    overflow: hidden;
}

.username {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(35, 45, 58, 0.1);
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    border-top: 1px solid rgba(35, 45, 58, 0.1);
}

li:first-child {
    border-top: none;
}

.custom-link {
    display: block;
    padding: 1.5rem 2rem 1.5rem 1.5rem;
    text-decoration: none;
    position: relative;
    transition: background-color 0.1s ease-out 0s;
}

.custom-link::before {
    content: "";
    display: block;
    height: 0.4rem;
    width: 0.4rem;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 1rem;
    margin: auto 0px;
    transform: rotate(45deg);
    border-top: 2px solid rgb(35, 45, 58);
    border-right: 2px solid rgb(35, 45, 58);
}

.welcome {
    padding: 16px;
    border-bottom: 1px solid rgba(35, 45, 58, 0.1);
    background: #3a95d3;
    color: white !important;
}

a.custom-link,
.welcome {
    font-size: 1rem;
    font-weight: bold;
    color: rgb(35, 45, 58);
    line-height: 1.4;
    margin: 0;
}

a.custom-link:hover {
    background-color: rgba(35, 45, 58, 0.1);
    text-decoration: none;
}

.top-banner {
    margin-bottom: 15px;
}

td.required:after {
    content: " *";
    color: red;
    position: absolute;
    margin-left: 5px;
}

.top-banner,
.bottom-banner {
    min-height: 10rem;
    width: 100%;
    background-color: rgb(35, 45, 58);
    padding-top: 50px;
}

.bottom-banner {
    min-height: 2rem;
}

.top-banner p {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 2.4;
    color: rgb(255, 255, 255);
    word-break: keep-all;
    margin: 0px 10%;
    max-width: 45rem;
    width: calc(100% - 2rem);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border: 1px solid #ccc;
    padding: 4px;
    border-radius: 0;
}

#shiftSelectForm select {
    height: 40px;
    width: 100px;
    margin: 5px;
    font-size: 1rem;
}

form#shiftSelectForm {
    flex-direction: unset;
}

button#goToShift {
    width: 80px;
    padding: 0;
    height: 40px;
    margin: auto 0;
}