main {
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    position: relative;
    padding-bottom: 45.1rem;
}

.back_sp {
    display: none;
}

.sp_br {
    display: none;
}

.contact_blue {
    position: absolute;
    top: 0rem;
    left: 0rem;
    z-index: -2;
}

.contact_pink {
    position: absolute;
    bottom: -35rem;
    left: 0rem;
    z-index: -3;
}

.contact_main_sc {
    width: 114rem;
    padding-top: 5rem;
    margin: 0 auto 0;
}

.contact_main_sc img {
    border-radius: 2.1rem;
    box-shadow: 0.7rem 0.7rem 0rem #525252;
    height: 24.4rem;
    object-fit: cover;
    object-position: 0 -29rem;
}

.contact_title {
    margin: 4rem auto 0;
    width: 21.5rem;
}

.contact_title h2 {
    font-size: 2.8rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 2.1;
    color: #FFFFFF;
    width: fit-content;
    text-align: center;
    padding: 0 2rem 0 1.8rem;
    margin-bottom: 10rem;
    background-color: #DF778F;
    border-radius: 1rem;
    position: relative;
    left: 0.2rem;
}

.contact_content {
    border-radius: 1rem;
    border: 0.1rem solid #000000;
    width: 102rem;
    margin: 10rem auto 0;
    background-color: #FFFFFF;
}

.contact_text {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 5rem;
}

.thanks_rebutton {
    color: #FFFFFF;
    display: block;
    font-size: 1.8rem;
    background-color: #DF778F;
    margin: 7.5rem auto 5.8rem;
    width: 13.2rem;
    border-radius: 1.8rem;
    padding: 0.5rem 3.8rem;
}

.footer img {
    display: block;
}

.footer {
    background-color: #FCEEF5;
}

.footer div {
    display: none;
}

@media screen and (max-width: 699.98px) {
    html {
        font-size: calc(10 / 375 * 100vw);
        /* 画面幅375pxで10px*/
    }

    main {
        padding-bottom: 16.5rem;
    }

    .back_sp {
        display: block;
    }

    .back_pc {
        display: none;
    }

    .contact_pink {
        bottom: 0;
    }

    .contact_main_sc {
        width: 35.5rem;
    }

    .contact_main_sc img {
        box-shadow: 0.3rem 0.3rem 0rem #525252;
        object-position: center;
    }

    .contact_title {
        display: flex;
        justify-content: center;
    }

    .sp_br {
        display: block;
    }

    .contact_title h2 {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .contact_content {
        width: 35.5rem;
        overflow: hidden;
    }

    .contact_text {
        width: 33.5rem;
        font-weight: 500;
        margin-top: 3rem;
        margin-left: auto;
    }
    .thanks_rebutton{
        margin: 5rem auto 3rem;
    }

    .footer {
        background: transparent linear-gradient(180deg, #CEE9FF 0%, var(--unnamed-color-ffffff) 100%) 0% 0% no-repeat padding-box;
    }

    .footer img {
        width: 37.5rem;
        height: 20rem;
    }


}