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-position: 0 -29rem;
    object-fit: cover;
}

.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-top: 1.5rem;
}

.form_wrap div {
    display: flex;
    justify-content: space-between;
    text-align: left;
    position: relative;
}

.form_wrap {
    display: flex;
    gap: 2.3rem;
    flex-flow: column;
}

.wpcf7-form-control-wrap {
    width: 50.9rem;
    border: 0.1rem solid #000000;
    padding: 1rem 0 1rem 2rem;
}

.wpcf7-select {
    width: 100%;
}

.form_wrap label {
    align-items: center;
    display: flex;
}

.contact_triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-right: 0.8rem solid transparent;
    border-left: 0.8rem solid transparent;
    border-top: 1.4rem solid #000;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    pointer-events: none;
}

label span {
    color: #FF0000;
    font-size: 1.2rem;
}

.form_wrap div:nth-child(7) label {
    align-items: start;
    padding-top: 1rem;
}

.form_wrap div:nth-child(7) label span {
    padding-top: 0.4rem;
}

.wpcf7-textarea {
    width: 48.9rem;
    padding-right: 2rem;
}

.submit_position {
    margin: 3rem auto 10rem 30.8rem;
    text-align: center !important;
    display: block !important;
}

.submit_position input {
    background-color: #DF778F;
    width: 8.7rem;
    height: 3.6rem;
    color: #FFFFFF;
    font-size: 1.8rem;
    border-radius: 1.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: 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 {
        width: 33.5rem;
    }

    .form_wrap label {
        margin-bottom: 0.8rem;
    }

    .form_wrap label span {
        font-size: 1.2rem !important;
    }

    .form_wrap div {
        display: block;
    }

    .wpcf7-form-control-wrap {
        display: block;
        width: 33.5rem;
        padding: 1.2rem 0 1.2rem 1.5rem;
    }

    .form_wrap div span {
        font-size: 1.4rem;
    }

    .wpcf7-textarea {
        width: 33.5rem;
    }

    .submit_position {
        margin: 3.4rem auto;
    }

    .submit_position input {
        display: flex;
        justify-content: center;
    }

    .contact_triangle {
        top: 5rem;
    }

    .footer img {
        width: 37.5rem;
        height: 20rem;
    }


}