@charset "utf-8";

:root{
    --error-color: rgb(255,0,0);
    --active-color: rgb(255,237,86);
    --font-color:rgb(18,18,18);
    --border-color: rgb(228, 228, 228);
}

body {
    margin: 0;
    overflow: hidden;
    font: 300 21px 'Noto Sans Japanese';
}

button {
    font: bold 100% 'Noto Sans Japanese';
    height: 50px;
}

input {
    border: solid 1px var(--border-color);
    font: 300 100% 'Noto Sans Japanese';
}

.login_wrap {
    background-color: #ffffff;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login_container {
    width: 320px;
    padding: 40px 30px;
    text-align: center;
}

.logo {
    display: block;
    margin: 0 auto 32px;
    width: 120px;
}

h1 {
    font-size: 24px;
    margin-bottom: 32px;
    color: #333;
}

form {
    text-align: left;
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

.form_element {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

form button {
    background-color: var(--active-color);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.5s;
}

form button:hover {
    background-color: rgb(247 227 54);
    transition: 0.5s;
}

.link {
    margin-top: 20px;
    text-align: center;
}

.link a {
    text-decoration: underline;
    transition: 0.5s;
    color: var(--font-color);
}

.link a:hover {
    text-decoration: underline;
    transition: 0.5s;
    opacity: 0.7;
}

/* エラーメッセージ */
.login_error {
    display: flex;
    margin: 10px auto;
    align-items: center;
    justify-content: center;
}

.login_error_message {
    font-size: 14px;
    color: var(--error-color);
}
