/*
Theme Name: akarikunimi-child
Version: 1.0
Template: akarikunimi
*/

/*----------------------------
    コンタクトページ
----------------------------*/

.contact_cont {
    width: 100%;
    height: 100%;
    margin-bottom: -300px;
}
.contact_bg {
    width: 100%;
    height: 450px;
}
.contact_bg_over {
    background-color: black;
    opacity: 0.3;
    width: 100%;
    height: 450px;
    z-index: 2;
    position: absolute;
}
.contact_bg video {
    width: 100%;
    height: 450px;
    object-fit : cover;
    object-position: center;
    z-index: 1;
    position: absolute;
}
.contact_head_par {
    position: relative;
    height: 500px;
    z-index: 3;
    top: -250px;
}
.contact_head {
    background-color: #FFF;
    height: 500px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact_head img {
    width: min(350px, 60vw);
}
.contact_footer {
    border-top: solid 1px #2318153d;
}

.contact_form {
    max-width: 840px;
    margin: 0 auto;
    z-index: 50;
    position: relative;
}

#tayoriForm {
    height: 1500px;
}

@media screen and (max-width: 768px) {
    #tayoriForm {
        height: 1580px;
    }
}

@media screen and (max-width: 680px) {
    .contact_bg {
        height: 275px;
    }
    .contact_bg_over {
        height: 275px;
    }
    .contact_bg video {
        height: 275px;
    }
    .contact_head {
        height: 400px;
    }
    .contact_head_par {
        top: -200px;
    }
    .contact_cont {
        margin-bottom: -380px;
    }
    .contact_head img {
        width: min(280px, 60vw);
    }
}