main {
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    position: relative;
    padding-bottom: 45.1rem;
}

.back_sp {
    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 {
    font-size: 1.5rem;
    width: 71rem;
    padding-top: 5rem;
    margin: 0 auto 0;
    font-weight: 500;
}

.contact_text span {
    display: block;
    margin-top: 1.6rem;
}

.contact_formtitle {
    margin: 3.5rem auto 0 15.5rem;
    font-size: 1.6rem;
    border-left: 0.5rem solid #DF778F;
}

.contact_formtitle h4 {
    padding-left: 0.5rem;
    font-weight: 500;
}

.contact_entry {
    font-size: 1.6rem;
    width: 70.2rem;
    margin: 0 auto;
    margin-left: 15.8rem;
    margin-top: 2.6rem;
}

.form_wrap {
    display: flex;
    flex-flow: column;
    gap: 4.5rem;
}

label span {
    color: #FF0000;
    font-size: 1.2rem;
    padding-top: 0.3rem;
}

.label {
    display: flex;
    text-wrap: nowrap;
}

.label:nth-child(1) div {
    margin-left: 8.8rem;
}

.label:nth-child(2) div {
    margin-left: 5.5rem;
}

.label:nth-child(3) div {
    margin-left: 15.2rem;
}

.label:nth-child(4) div {
    margin-left: 8.8rem;
}

.label:nth-child(5) div {
    margin-left: 14.9rem;
}

.label:nth-child(6) div {
    word-break: break-all;
    white-space: pre-wrap;
    margin-left: 7.2rem;
}

.button {
    display: flex;
    margin-top: 10.5rem;
    margin-bottom: 26.7rem;
    margin-left: 25rem;
    font-size: 1.8rem;
}

.re {
    border: 0.1rem solid #D67289;
    padding: 0.5rem 2.5rem;
    border-radius: 1.8rem;
}

.submit input {
    background-color: #DF778F;
    padding: 0.5rem 2.5rem;
    border-radius: 1.8rem;
    color: #FFFFFF;
}

.submit {
    margin-left: 3rem;
}

.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: 10rem;
    }

    .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 h2{
        font-size: 2rem;
        margin-bottom: 0;
    }
    .contact_title {
        display: flex;
        justify-content: center;
    }

    .contact_content {
        width: 35.5rem;
        overflow: hidden;
    }

    .contact_text {
        width: 33.5rem;
    }

    .contact_formtitle {
        margin-left: 1rem;
    }

    .contact_entry {
        margin-left: 1rem;
        width: 33.5rem;
    }

    .form_wrap {
        gap: 2.7rem;
    }

    .label {
        display: block;
    }

    .label div {
        margin-left: 1.5rem !important;
        margin-top: 2rem;
    }

    .button {
        margin-left: 7.6rem;
        margin-top: 10rem;
        margin-bottom: 3rem;
    }

    .re {
        border: 0;
        padding: 0;
    }

    .re input {
        border: 0.1rem solid #D67289;
        border-radius: 1.8rem;
        padding: 0.5rem 2.5rem;
    }

    .footer img {
        width: 37.5rem;
        height: 20rem;
    }


}