@charset "utf-8";

/* ===============================================
 * Main
 * ============================================ */

.forgotPassword {
    margin-bottom: 120px;
}

.forgotPassword__container {
    margin: 0 auto;
    padding: 30px;
    max-width: 1280px;
    width: 100%;
}

.forgotPassword__title {
    margin-top: 50px;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 4rem;
    text-align: center;
    color: var(--picky-orange-light);
    font-weight: 700;
}

.forgotPassword__lead {
    max-width: 952px;
    margin: 40px auto 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
}

.forgotPassword__lead--short {
    max-width: 560px;
}

/* ===============================================
 * Alert
 * ============================================ */

.forgotPasswordAlert {
    border: 1px solid #ffd0c8;
    background: #fff4f2;
    border-radius: 14px;
    padding: 12px 14px;
    margin: 20px auto 18px;
    max-width: 560px;
}

.forgotPasswordAlert__item {
    color: #b9382b;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
}

/* ===============================================
 * Form
 * ============================================ */

.forgotPasswordForm {
    max-width: 952px;
    margin: 28px auto 0;
}

.forgotPasswordForm__row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 70px;
    margin-bottom: 24px;
}

.forgotPasswordForm__label {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-form-label);
}

.forgotPasswordForm__required {
    color: #FF4D4D;
    margin-left: 2px;
}

.forgotPasswordForm__field {
    width: 100%;
}

.forgotPasswordForm__input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 30px;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 1.6rem;
    outline: none;
    background: var(--bg-color);
}

.forgotPasswordForm__input:focus {
    border-color: rgba(244, 117, 84, 0.8);
}

.forgotPasswordForm__input--error {
    border-color: rgba(217, 48, 37, 0.7);
}

.forgotPasswordForm__error {
    margin: 6px 0 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 1.4rem;
    color: #D93025;
}

.forgotPasswordForm__actions {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.forgotPasswordForm__submit {
    appearance: none;
    min-width: 300px;
    padding: 16px 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(244, 117, 84, 0.8);
    color: var(--text-color-inverse);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.forgotPasswordForm__submit:hover {
    background: var(--picky-orange-light);
}

.forgotPasswordForm__submit:active {
    transform: translateY(1px);
}

.forgotPasswordForm__footer {
    margin-top: 20px;
    text-align: center;
}

.forgotPasswordForm__backLink {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 1.4rem;
    color: var(--color-link);
    text-decoration: none;
}

.forgotPasswordForm__backLink:hover {
    text-decoration: underline;
}

/* ===============================================
 * メディアクエリ 小型PC,タブレット横 (1024px ~ 1279px)
 * ============================================ */

@media (max-width: 1279px) {
    .forgotPassword__title {
        margin-top: 30px;
        font-size: 3.2rem;
    }

    .forgotPassword__lead {
        max-width: 600px;
    }

    .forgotPasswordForm {
        max-width: 600px;
        width: 100%;
    }

    .forgotPasswordForm__row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
        margin-bottom: 20px;
    }

    .forgotPasswordForm__label {
        font-size: 1.8rem;
    }

    .forgotPasswordForm__actions {
        margin-top: 60px;
    }
}

/* ===============================================
 * メディアクエリ SP標準 (480px ~ 767px)
 * ============================================ */

@media (max-width: 767px) {
    .forgotPassword {
        margin-bottom: 80px;
    }
}

/* ===============================================
 * メディアクエリ SP ( ~ 479px)
 * ============================================ */

@media (max-width: 479px) {
    .forgotPassword__container {
        padding: 15px;
    }

    .forgotPassword__title {
        margin-top: 25px;
        font-size: 2.4rem;
    }

    .forgotPassword__lead {
        margin-top: 16px;
        font-size: 1.3rem;
        line-height: 1.7;
    }

    .forgotPasswordForm__row {
        margin-bottom: 16px;
    }

    .forgotPasswordForm__label {
        font-size: 1.6rem;
        font-weight: 600;
    }

    .forgotPasswordForm__input {
        padding: 8px 20px;
        font-size: 1.4rem;
    }

    .forgotPasswordForm__error {
        font-size: 1.2rem;
    }

    .forgotPasswordForm__submit {
        min-width: 0;
        width: 100%;
        font-size: 1.6rem;
    }

    .forgotPasswordForm__backLink {
        font-size: 1.2rem;
    }
}