body {
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.loaded {
    opacity: 1;
}

.contact__main {
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6em;
    color: #E56E07;
    margin: 0;
}

.contact__sub {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
    color: #3C3C3C;
}

.contents_line {
    border: none;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.5);
    margin: 0;
    width: 100%;
}


/* section.contact_heading {} */

.inner {
    padding: 8.2rem 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: #fff;
}

.card__img {
    width: 100%;
    max-width: 47.3rem;
}

.contact__contents {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.contact_contents__title {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    /* max-width: 53.3rem; */
}

.contact__detail {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

p.contact_detail__text {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 160%;
}

/* メイン */

/* .contact_code {} */

.inner_code {
    background-color: #fff;
}

.inner_flex {
    max-width: 108rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6.4rem;
    padding: 6.4rem 6.6rem 3.2rem;
}

.contact_heading__ {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.cotact_heading_parts {
    font-family: "Inter", "Montserrat", "Arial", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
    line-height: 160%;
    color: #3c3c3c;
    margin: 0;
}


.wpcf7-form.init {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 3rem;
}

.label_wrap span {
    display: inline-block;
    background-color: #E56E07;
    color: #fff;
    padding: 0.2rem 0.4rem;
    margin: 0.4rem;
    font-size: 1.2rem;
    border-radius: 0.2rem;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.label_wrap {
    flex-basis: 21.9rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.label_wrap label {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.04rem;
}

/* input[type="text"][type="email"] {
    border: 1px solid #000;
} */

.form-group .wpcf7-form-control-wrap {
    width: 64rem;
    font-size: 1.6rem;
}

input.contact_item[type="text"],
input.contact_item[type="email"],
input.contact_item[type="tel"],
select.contact_item,
textarea.contact_item {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    border: 0.1rem solid #999;
    background-color: #fff;
    /* font-size: 1.6rem; */
}

input.contact_item[type="text"],
input.contact_item[type="email"],
input.contact_item[type="tel"],
select.contact_item {
    height: 4.8rem;
    padding: 0 1.2rem;
}

.contact_item.conf {
    font-size: 1.3rem;
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    /* border: 0.1rem solid #999; */
    background-color: #fff;
    height: 4.8rem;
    padding: 0 1.2rem;
}

textarea.contact_item,
.contact_item.conf.textarea {
    display: block;
    min-height: 16rem;
    padding: 1.2rem;
    resize: none;
}

.required_wrap {
    margin-top: 6.4rem;
}


.required_text {
    text-align: center;
}

.check_in {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.wpcf7-list-item-label {
    width: auto;
    font-size: 1.5rem;
}


.contact_submit {
    margin-top: 3.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: .5rem;
}

.submit_text {
    background-color: #E56E07;
    color: #fff;
    width: 42.2rem;
    height: 6.8rem;
    border-radius: 0.8rem;
    border: none;
    font-size: 1.8rem;
}

.submit_text.prev {
    background-color: #d6a478;
}

.contact_description {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.04rem;
    line-height: 160%;
}

.required_wrap {
    margin-top: 3rem;
}

.required_text {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.04rem;
    margin: 1.6rem 0;
}

.required_text a {
    text-decoration: underline;
    color: #3C3C3C;
    text-align: center;
}

.wpcf7-spinner {
    display: none;
}



/* complete */
.inner.comp {
    padding: 6rem 0 6rem;
}

.contact_complete {
    width: 51rem;
}

.comp_head {
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6em;
    color: #E56E07;
    margin-bottom: 4rem;
}

.comp_text {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.6em;
    color: #3C3C3C;
    margin: 0;
}

.comp_movies {
    max-width: 48rem;
    width: 100%;
}

.comp_text.mov {
    font-weight: 700;
}

.comp_youtube {
    margin-top: 3.5rem;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.comp_movies {
    display: none;
}


/* 2026_05_19_修正 */
.complete_text_font,
.complete_text_movie,
.complete_youtube_link {
    display: none;
}

.contact_complete_wrapper {
    width: fit-content;
}

.comp_text_font {
    text-align: left;
}

@media (max-width: 767px) {
    .inner {
        width: 100%;
        flex-direction: column;
        padding-inline: 5vw;
        gap: 10vw;
    }

    h2.contact__main {
        font-size: 5.5vw;
    }

    h3.contact__sub {
        font-size: 4vw;
    }

    .contact__contents {
        gap: 4.5vw;
    }

    p.contact_detail__text {
        font-size: 3.3vw;
    }

    .cotact_heading_parts {
        font-size: 4vw;
    }

    p.contact_description {
        font-size: 4vw;
    }

    .form-group {
        flex-direction: column;
        gap: 1.2rem;
        align-items: stretch;
    }

    .inner_flex {
        gap: 4.8rem;
        padding: 4rem 2.4rem 3.2rem;
    }

    .submit_text {
        width: 100%;
        max-width: 42.2rem;
    }

    .contact_submit {
        width: 100%;
    }

    p.roma {
        font-size: 3rem;
    }

    h1.contact_jp__headline {
        font-size: 1.2rem;
    }

    .contact_head__line {
        height: 24rem;
    }

    .label_wrap {
        flex-basis: auto;
    }


    .form-group .wpcf7-form-control-wrap {
        width: 100%;
    }


    input.contact_item[type="text"],
    input.contact_item[type="email"],
    input.contact_item[type="tel"],
    select.contact_item,
    textarea.contact_item {
        flex: auto;
    }


    /* complete */
    .inner.comp {
        padding: 5.8rem 2rem 3rem;
        text-align: center;
    }

    .contact_complete {
        width: 100%;
    }

    .comp_head {
        font-size: 2rem;
        letter-spacing: 0.04em;
        line-height: 1.6em;
        margin-bottom: 2rem;
    }

    .comp_text {
        font-size: 1.27rem;
        letter-spacing: 0.04em;
        line-height: 1.6em;
        color: #3C3C3C;
        margin: 0;
    }

    .comp_movies {
        max-width: 48rem;
        width: 100%;
    }

    .comp_text.mov {
        font-weight: 700;
    }

    .comp_youtube {
        margin-top: 2.7rem;
        display: block;
        width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
    }

    .required_wrap {
        margin-top: 0rem;
    }

}