@charset "UTF-8";

.wpcf7-form-control::placeholder,
.wpcf7-text::placeholder,
.wpcf7-validates-as-required::placeholder,
.form_input::placeholder{
    color: #707070;
}

.pc_none {
    display: none !important;
}

.tel_box {
    display: block;
    width: 48.8rem;
    background-color: #83468B;
    padding:2.2rem 2rem 2rem 2rem;
    border-radius: 1rem;
}

.anchor_buttom {
    pointer-events: auto;
    margin-bottom: 6.5rem;
    display: block;
}

.tel_box_text,
.tel_box_sentence_text,
.tel_box_time_text,
.tel_box_tel_text {
    font-weight: 500;
    color: #FFFFFF;
}

.tel_box_tel_text {
    font-size: 2.5rem;
    letter-spacing:0.01em ;
}

.tel_box_sentence_text {
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
}

.tel_box_time_text {
    font-size: 1.7rem;
}

.tel_item_flex {
    pointer-events: none;
    display: flex;
    gap:0.8rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tel_img {
    width: 3.6rem;
    height: 3.6rem
}


.img_leaf {
    width: 58.1rem;
    height: 45.3rem;
    object-fit: cover;
    position: absolute;
    transform: rotate(45deg) scale(0.8);
    object-position: 33% 50%;
    right: -17.2rem;
    top: -13.3rem;
    z-index: 1;
}

.form_box_relative {
    position: relative;
    overflow-x: hidden;
}

.contact_title_item {
    width: fit-content;
    padding: 0 4.6rem 2.7rem;
}

.contact_title_english {
    display: block;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: #83468B;
}

.contact_main_title {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.9;
    color: #000000;
    width: 100%;
}

.form_required_text {
    font-size: 1.6rem;
    font-weight: 500;
    color: #3A3333;
}

.form_color_red {
    color: #D55167;
}

.form_span_text {
    margin-left: -0.3rem;
}

/* ///////////////////////////////////////////////////////
/////////////////////////////////////////////////////// */

.wpcf7-list-item-label {
    font-weight: 600;
}

.wpcf7-response-output {
    display: none;
}

.form_con_img {
    width: 48.8rem;
    height: 14rem;
}

main {
    font-family: Zen Maru Gothic, sans-serif;
    font-size: 1.6rem;
    /* 基本のフォントサイズを16pxに */
    line-height: 1.4;
    position: relative;
}

input,
textarea,
select,
button {
    appearance: auto !important;
}

input::placeholder,
textarea::placeholder {
    color: transparent;
}

.contact_title_item,
.contact_main_title {
    font-family: Zen Maru Gothic, sans-serif;
}

.wpcf7-list-item {
    margin: 0 4.9rem 0 0 !important;
}

.form_con_tel_item {
    padding-bottom: 2.2rem;
}

.form_con_tel_button {
    display: block;
}

/*////////////////////////////////////////
--- 3. フォーム全体 --- 
////////////////////////////////////////*/

.form_tel_img {
    width: 3.6rem;
    height: 3.6rem;
}

.form_con_box {
    border-radius: 1rem;
    background-color: #FCF7E7;
    width: 98rem;
    margin-left: 2.5rem;
    position: relative;
}

.form_container {
    width: 85rem;
    margin: 1.8rem auto 16rem;
    padding:5.1rem 0 5rem;
}

.form_con_inside_box {
    padding: 5rem 4.5rem 5rem;
    background-color: #FFFFFF;
    border-radius: 1rem;
}

.form_intro_text {
    margin-bottom: 2.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.44;
    color: #3A3333;
}

.form_item,
.form_tel_item_flex {
    display: flex;
}

.form_item {
    justify-content: space-between;
    margin-left: 0.2rem;
}

/* ////////////////////////////////////
 --- フォームメイン --- 
/////////////////////////////////////*/

.form_con_form_con_inside_box {
    background-color: #FFFFFF;
    border-radius: 1rem;
    padding:5.1rem 4.5rem 2.5rem;
}

.form_input {
    display: block;
    min-height: 5rem;
}

.form_main {
    width: 100%;
}

.form_item {
    margin-bottom: 2rem;
}

.form_label,
.form_label_textarea,
.form_label span {
    font-weight: 700;
    font-size: 1.6rem;
}

.form_label,
.form_label_textarea {
    display: flex;
    gap: 0.5rem;
}

.form_label_textarea {
    padding-top: 1.4rem;
}

.form_label {
    align-items: center;
}

.form_label_span_cl {
    color: #FFFFFF;
    background-color: #D55167;
    border-radius: 1.2rem;
    padding: 0 1.3rem 0;
}

.form_tel_item_flex {
    gap: 1rem;
    align-items: center;
    padding: 1rem 0 0.5rem;
}

.form_input,
.form_textarea {
    width: 52.9rem;
    border: 1px solid #ccc;
    border-radius: 1rem;
    font-size: 1.6rem;
    background-color: #FFFFFF;
    box-sizing: border-box;
    padding-left: 1.4rem !important;
    padding-right: 1.4rem !important;
}

.form_textarea {
    padding: 1.4rem;
    height: 34.9rem;
    resize: none;
}

/* --- 送信ボタン --- */
.submit_button_wrapper {
    width: auto;
    margin: 3.7rem 0 0 auto;
}

.submit_button {
    background-color: #D55167;
    border-radius: 0.5rem;
    text-align: center;
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 400;
    display: block;
    min-width: 16.2rem;
    height: fit-content;
    margin: 0 0 0 auto;
    padding: 0.5rem;
}

.form_layout {
    position: relative;
}


.sp_br,
.sp_mainvisual {
    display: none;
}

.wpcf7-spinner {
    display: none;
}


/* --- レスポンシブ対応 (スマートフォンなど) --- */
@media screen and (max-width:699.98px) {
    .form_con_box {
        width: 33.5rem;
        margin: 0 auto;
    }

    .img_leaf {
        width: 41.2rem;
        height: 33.4rem;
        object-fit: cover;
        position: absolute;
        transform: rotate(45deg) scale(0.8);
        object-position: 33% 50%;
        right: -11rem;
        top: -8.5rem;
    }

    .form_con_form_con_inside_box {
        padding:3rem 1.5rem 0.7rem;
    }

    .form_container {
        width: 31.5rem;
        padding: 10.9rem 0 5rem;
    }

    .form_input,
    .form_textarea,
    .form_con_img {
        width: 28.5rem;
    }

    .form_textarea{
        height: 30rem;
    }

    .form_item_textarea_sp{
        margin-bottom:0rem !important;
    }

    .form_con_img {
        height: 13.3rem;
    }

    .form_item {
        flex-flow: column;
        margin-bottom: 3.2rem;
        margin-left: 0rem;
    }

    .form_con_tel_button {
        margin-bottom: 5rem;
    }

    .form_con_tel_item{
        padding-bottom: 2.6rem;
    }

    .form_label,
    .form_label_textarea {
        margin-bottom: 1rem;
        gap: 0.6rem;
    }

    .form_label_textarea {
        padding-top: 0;
    }

    .submit_button_wrapper {
        width: fit-content;
        margin: 2.7rem auto 0;
    }

    /* テキスト */

    .contact_title_item {
        padding: 0 0rem 2.3rem;
    }

    .contact_main_title {
        font-size: 3rem;
    }

    .form_intro_text {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .form_required_text {
        font-size: 1.4rem;
    }

    .submit_button {
        font-size: 1.8rem;
    }

    /* 切り替えCSS */

    .sp_none {
        display: none   !important;
    }

    .pc_none {
        display: block !important;
    }

    /* tel */

    .tel_box {
        pointer-events: none;
        width: 28.5rem;
        padding:1.2rem 1rem 1rem;
        margin-bottom: 5.3rem;
    }

    .tel_box_text,
    .tel_box_sentence_text,
    .tel_box_time_text,
    .tel_box_tel_text {
        font-weight: 500;
        letter-spacing: 0;
        color: #FFFFFF;
    }

    .tel_box_tel_text {
        font-size: 2.4rem;
    }

    .tel_box_sentence_text {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .tel_box_time_text {
        font-size: 1.5rem;
    }

    .tel_item_flex {
        pointer-events: auto;
        margin-bottom: 0.4rem;
    }

}