@charset "UTF-8";

/* page-title-area ----------------------- */
#page-title-area.contact .backimage-wrap{
    left: auto;
    right: 0;
}
#page-title-area.contact .backimage-wrap img{
    width: 100%;
    object-position: top right;
}

#page-title-area.contact .main-wrap{
    padding: 180px 0 45px 0;
    margin: 0 auto 0 0;
}
#page-title-area.contact .main-wrap .page-title span{
    margin: 0 auto 0 0;
}

/* contact ------------------------------- */
#contact{
    width: 100%;
    background-color: #F3E6DE;
    padding: 120px 0;
}
#contact .introduction{
    width: 80%;
    text-align: center;
    margin: 0 auto 40px auto;
}
#contact .tel-container{
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 80px auto;
}
#contact .tel-container .tel-number{
    width: fit-content;
    display: block;
    color: #A36637;
    font-family: "Montserrat", san-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1em;
    pointer-events: none;
    cursor: default;
    margin-left: 28px;
    position: relative;
}
#contact .tel-container .tel-number::before{
    content: "";
    width: 28px;
    height: 28px;
    background-image: url(../img/icon-phone.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 4px;
    left: -25px;
}
#contact .tel-container p{
    line-height: 1em;
}

/* Formエリア */
#contact .Form{
    width: 65%;
    margin: 0 auto;
}
#contact .Form .Form-Item{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}
#contact .Form .Form-Item:nth-child(5){
    flex-direction: column;
}
#contact .Form .Form-Item .Form-Item-Label{
    width: 210px;
    flex-shrink: 0;
}
#contact .Form .Form-Item:nth-child(5) .Form-Item-Label{
    width: 100%;
    flex-shrink: 1;
}
#contact .Form .Form-Item .Form-Item-Label .Form-Item-Label-Required{
    display: inline-block;
    color: #fff;
    font-size: 14px;
    line-height: 1em;
    background-color: #A36637;
    border-radius: 20px;
    padding: 5px;
}

#contact .Form .Form-Item .wpcf7-form-control-wrap{
    width: calc(100% - 200px);
}
#contact .Form .Form-Item:nth-child(5) .wpcf7-form-control-wrap{
    width: 100%;
}
#contact .Form .Form-Item .wpcf7-form-control-wrap input[type="text"],
#contact .Form .Form-Item .wpcf7-form-control-wrap input[type="email"],
#contact .Form .Form-Item .wpcf7-form-control-wrap input[type="tel"]{
    width: 100%;
    background-color: #fff;
    padding: 10px;
}
#contact .Form .Form-Item .wpcf7-form-control-wrap textarea{
    width: 100%;
    height: 300px;
    background-color: #fff;
    padding: 10px;
}
#contact .Form .Form-Item .wpcf7-form-control-wrap .wpcf7-radio{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

#contact .Form .button-wrap{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
#contact .Form .button-wrap input[type="submit"]{
    width: 350px;
    height: 70px;
    color: #fff;
    background-color: #5D2E0A;
}

/* thanks -------------------------------- */
#thanks-main{
    width: 100%;
    padding: 180px 0 0 0;
}
#thanks-main .title{
    width: 65%;
    color: #A36637;
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto 60px auto;
}
#thanks-main .text{
    width: 65%;
    margin: 0 auto 20px auto;
}
#thanks-main .btn{
    margin: 120px auto;
}

/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* page-title-area ----------------------- */
    #page-title-area.contact .main-wrap{
        padding: 396px 0 20px 0;
        margin: 0 auto 0 0;
    }
    #page-title-area.contact .main-wrap .page-title{
        margin: 0 0 0 auto;
    }

    /* contact ------------------------------- */
    #contact .introduction{
        text-align: left;
    }

    /* Formエリア */
    #contact .Form{
        width: 80%;
    }

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* page-title-area ----------------------- */
    #page-title-area.contact .main-wrap{
        padding: 260px 0 20px 0;
    }

    /* contact ------------------------------- */
    #contact{
        padding: 80px 0;
    }
    #contact .introduction{
        width: 90%;
    }
    #contact .tel-container{
        width: 90%;
        flex-direction: column;
        margin: 0 auto 60px auto;
    }
    #contact .tel-container .tel-number{
        pointer-events: auto;
        cursor: pointer;
        margin: 0 auto;
    }
    #contact .tel-container .first{
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
    #contact .tel-container .last{
        width: 100%;
        text-align: right;
        margin-top: -5px;
    }

    /* Formエリア */
    #contact .Form{
        width: 90%;
    }
    #contact .Form .Form-Item{
        flex-direction: column;
        margin-bottom: 40px;
    }
    #contact .Form .Form-Item .Form-Item-Label{
        width: 100%;
        flex-shrink: 1;
    }

    #contact .Form .Form-Item .wpcf7-form-control-wrap{
        width: 100%;
    }
    #contact .Form .Form-Item .wpcf7-form-control-wrap .wpcf7-radio{
        grid-template-columns: repeat(1, 1fr);
    }

    #contact .Form .button-wrap input[type="submit"]{
        width: 300px;
    }

    /* thanks -------------------------------- */
    #thanks-main{
        padding: 100px 0 0 0;
    }
    #thanks-main .title{
        width: 90%;
        font-size: 24px;
    }
    #thanks-main .text{
        width: 90%;
    }
    #thanks-main .btn{
        margin: 80px auto;
    }

}