@charset "utf-8";

.contact__explanation {
    padding: 25px 5%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;

}

.contact__txtBox {
    background-color: var(--primary-white);
    padding: 25px;
}

.contact__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.contact__tf {
    width: 100%;
    height: 200px;
    display: flex;
    padding: 30px 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 7px;
    background: var(--primary-white);
}

.tf__txt {
    color: var(--primary-blue);
    font-size: 1.8rem;
    text-align: center;
}

.tf__txt--tel {
    margin-bottom: 1em;
}

.tf__wrap {
    display: flex;
    padding: 15px 0;
    /* justify-content: space-between;
    align-items: center; */
    /* width: 300px; */
    gap: 10px;
    margin: 0 auto;
}

.tel__btn {
    position: relative;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px 15px 34px;
    border-radius: 50px;
    background: var(--primary-white);
    backdrop-filter: blur(3.5px);
    box-shadow: 2px 8px 14px 0px rgba(0, 48, 87, 0.05);
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(.165, .84, .44, 1);
}

.tf__num {
    font-size: 2rem;
    font-weight: 500;
}

.tf__num img,
.tf__wrap img {
    width: 30px;
    height: 30px;

}

.tf__num--tel {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tf__time {
    line-height: 1.2;
}

.section--form {
    padding-top: 50px;
    padding-bottom: 100px;
    background-color: var(--primary-paleLightblue);
}

.form__txt {
    width: fit-content;
    margin: 50px auto;
}

/*  form */
.c-form,
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
}

.c-form__item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.c-form__input {
    padding: 10px;
}

.c-form__label {
    width: 90%;
    color: #616161;
    padding: 10px 10px 10px 0;
}

.c-form__input {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #A1A1A1;
    background: var(--primary-white);
}

.c-form__input:focus-visible {
    outline: var(--primary-orange) auto 1px;
}

.c-form__required {
    color: var(--primary-orange);
    background-color: var(--primary-white);
    border-radius: 4px;
    border: 1px solid var(--primary-orange);
    padding: 0 5px;
    margin: 0 20px 0 0;
}

.c-form__optional {
    color: var(--primary-blue);
    background-color: var(--primary-white);
    border-radius: 4px;
    border: 1px solid var(--primary-blue);
    padding: 0 5px;
    margin: 0 20px 0 0;
}

textarea.c-form__input {
    height: 160px;
}

.c-form__submit {
    margin: 50px auto 0;
    position: relative;
    width: 180px;
    color: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px 15px 34px;
    border-radius: 50px;
    background: var(--primary-blue);
    backdrop-filter: blur(3.5px);
    box-shadow: 2px 8px 14px 0px rgba(0, 48, 87, 0.05);
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(.165, .84, .44, 1)
}

.c-form__submit::after {
    display: inline-block;
    position: relative;
    width: 55px;
    height: 25px;
    overflow: hidden;
    border-radius: 14px;
    background-color: #F7F8FA;
    transition-property: background-color;
}

.btnArrow--f-contact {
    background-color: var(--primary-white);
}

.c-form__submit:hover {
    background-color: rgba(0, 48, 87, 0.5);
    box-shadow: 8px 8px 14px 0px rgba(0, 48, 87, 0.03);
}

.c-form__submit .btnArrow--f-contact {
    transition: 0.4s;
}

.c-form__submit:hover .btnArrow--f-contact {
    transform: translateX(-5px);
}

.c-form__submit:active {
    background-color: #CDD9E3;
}

.wpcf7-spinner {
    margin: 0;
}

/* c-form__note */
.c-form__note {
    font-size: 1.4rem;
}

/*------640px------*/
@media (min-width: 640px) {
    .c-form__item {
        flex-wrap: nowrap;
    }

    .c-form__label {
        width: 40%;
    }

    .wpcf7-form-control-wrap {
        width: 55%;
    }

    .c-form__file-wrap {
        width: 55%;
    }
}

/*------800px------*/
@media (min-width: 800px) {
    .contact__container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/*------pc 1100------*/
@media screen and (min-width: 1100px) {
    .section--contactTF {
        padding-bottom: 100px;
    }

    .contact__explanation {
        padding: 50px 9% 0;
        margin: 0 auto;
    }

    .contact__txtBox {
        padding: 50px 7%;
        width: 100%;
        max-width: 1100px;
    }

    .contact__txt {
        margin: 0 auto;
        max-width: 1160px;
    }

    .contact__tf {
        max-width: 515px;
        height: 250px;
        justify-content: space-between;
    }

    .tf__txt {
        font-size: 2.4rem;
    }

    .tf__num {
        font-size: 2.4rem;
    }

    .tf__num img,
    .tf__wrap img {
        width: 40px;
        height: 40px;

    }

    /* .tf__num--tel::before,
    .tf__num--fax::before {
        width: 40px;
        height: 40px;
    } */

    .tel__btn {
        box-shadow: none;
        background-color: none;
        width: auto;
        padding: 15px 0;
        pointer-events: none;
    }

    .btnArrow--contact {
        display: none;
    }
}