:root {
    --light__base: #fdfdfe;
    --base__color: #f7f8f8;
    --heavy__base: #dcdddd;
    --font__color: #1b2f44;
    --font__color2: #3e3a39;
    --visited: #9c9c9c;
    --red: #e83828;
    --yellow: #e8dc42;
    --blue: #036eb8;
    --pink: #fe9c9c;
    --white: #ffffff;
    --trans__bg: rgba(255, 255, 255, 0.2);
    --box__shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    --button__gradient: linear-gradient(130deg, #e39f32 1%, #e83327 100%);
    --clump1remTo2rem: clamp(1rem, 0.545rem + 1.94vw, 2rem);
}

hr {
    border: 1px solid var(--visited);
    width: 100%;
}

.user__page {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 0 var(--clump1remTo2rem) 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.user__form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--clump1remTo2rem) 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--base__color);
}

.user__form__label {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

/* 新規登録へのボタン */

.resister__button {
    width: fit-content;
    margin: var(--clump1remTo2rem) auto;
    padding: 0.2em 1em;
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--box__shadow);
    font-size: clamp(1.2rem, 1.127rem + 0.36vw, 1.4rem);
}

/* マイページ */

.logout__button__wrap {
    width: 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
}

.logout__button {
    width: fit-content;
    padding: 0.2em 1em;
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--box__shadow);
    border-radius: 0.5rem;
    font-size: clamp(1.1rem, 0.991rem + 0.55vw, 1.4rem);
    transition: all 0.3s;
}

.logout__button:hover {
    background: var(--red);
}

.user__information {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--clump1remTo2rem) 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
}

.user__information__inner {
    width: 100%;
    max-width: 700px;
    background: var(--base__color);
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--clump1remTo2rem);
}

.user__information__inner dl {
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user__information__inner dd {
    padding-left: 2rem;
    font-size: 1.1rem;
}

.user__newsletter__change {
    width: fit-content;
    background: var(--blue);
    color: var(--white);
    margin: 0 auto;
    padding: 0.2em 1em;
    border-radius: 0.5em;
}

.user__info__change {
    width: fit-content;
    padding: 0.2em 1em;
    background: var(--font__color);
    color: var(--white);
    font-size: 1.2rem;
    border-radius: 0.5em;
}

/* お気に入り物件 */

.mypage__section {
    width: 100%;
    max-width: 1200px;
    background: var(--white);
    box-shadow: var(--box__shadow);
    margin: 0 auto;
    padding: 0 0 var(--clump1remTo2rem) 0;
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
}

.mypage__section h3 {
    background: var(--font__color);
    color: var(--white);
    line-height: 1.5em;
    padding-left: 0.5em;
}

.mypage__section .property__items {
    padding: 0 1rem;
}

/* ページネーション */

.pagination {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.pagination .current {
    font-size: 1.1em;
    color: var(--blue);
}

/* ユーザー退会 */

.user__delete__modal {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--trans__bg);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    z-index: 9999;
    padding: 5% 1rem;
    display: none;
}

.user__delete__modal__display {
    display: flex;
}

.user__delete__modal__inner {
    width: 100%;
    height: auto;
    max-width: 1000px;
    background: var(--white);
    box-shadow: var(--box__shadow);
    margin: auto;
    padding: 1rem;
    border-radius: 1rem;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.user__delete__modal__inner .user__delete__modal__close {
    font-size: 2rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

.user__delete__button {
    width: fit-content;
    background: var(--font__color);
    color: var(--white);
    margin: 0 auto;
    padding: 0.5em 1em;
    border-radius: 0.5em;
}

.user__delete__form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.user__delete__form .checkbox__wrap {
    line-height: 1.6em;
}

.user__delete__form .button__wrap {
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.user__delete__form .submit,
.user__delete__form .cancel {
    width: fit-content;
    padding: 0.2em 0.5em;
    border-radius: 0.2em;
    font-size: 1.2rem;
    box-shadow: var(--box__shadow);
    text-shadow: var(--box__shadow);
}

.user__delete__form .submit {
    background: var(--red);
    color: var(--white);
}

.user__delete__form .cancel {
    background: var(--blue);
    color: var(--white);
}

/* お問い合わせ一覧 */

.contact__sended__items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.contact__sended__item {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--light__base);
    box-shadow: var(--box__shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.contact__sended__item.completed {
    background: var(--heavy__base);
}

/* パスワードを忘れた場合 */

.user__forget__password__text {
    width: fit-content;
    margin: 0 auto;
    padding: 1rem;
}