@import url("style.css");

.login-page {
    display: flex;
    height: 100%;
    color: #808080;
}

.form-wrapper {
    margin:3em auto;
    padding: 2em;
    width: 600px;
    height: fit-content;
    border-radius: 10px;
    background-color: #f3f3f3;
}

.form-header {
    text-align: center;
    padding: 0.5em 0 0.8em;
    font-size: 2.5em;
    border-bottom: 2px solid #cccccc;
}

.form-container {
    padding: 1.5em 3em;
}

.form-item {
    position: relative;
    margin-top: 1.5em;
    font-size: 1.5em;
}

.form-item label {
    display: flex;
    flex-direction: column;
}

.form-item input {
    padding: 0.3em;
    width: 100%;
    font-size: 1.2em;
    color: #555555;
    border: none;
    outline: none;
}

.switch_pass_icon {
    position: absolute;
    top:2em;
    right:0.5em;
    width: 1.5em;
    height: auto;
}

.error-msg {
    padding-top: 1em;
    font-size: 0.8em;
    color: #bf1e33;
}

.link-msg {
    text-align: center;
    font-size: 0.7em;
}

.link-msg a {
    color: #165e83;
}

a.header-title{
    text-decoration: none;
    color: #666666;
}

.button-area {
    text-align: center;
    margin: 2em 0;
}

.button-area button {
    width: 70%;
    height: 3em;
    font-size: 1.7em;
    color: #fff;
    border: none;
    border-radius: 50px;
    background: linear-gradient(120deg, #6a85b6 0%, #bac8e0 100%);
    background-size: 200% 200%;
    background-position: left top;
    transition: background-position 0.5s ease-in-out;
}

.button-area button:hover {
    background-position: right bottom;
}

/* パスワード変更 */
.msg {
    padding-top: 0.5em;
    font-size: 0.7em;
}

/* メール送信 */
.mail-header {
    font-size: 2em;
}

.mail-msg {
    padding-top: 1.5em;
    font-size: 1.2em;
}

@media (max-width: 540px) {
    .login-page {
        font-size: 0.5em;
    }

    .form-wrapper {
        width: 300px;
    }

    .form-container {
        padding: 1.5em 2em;
    }
}

@media (min-width: 1200px) {
    .login-page {
        font-size: 0.7em;
    }

    .form-wrapper {
        width: 450px;
    }

    .form-mail {
        width: 550px !important;
    }
}
