.bg-container .bg-item {
    width: 100%;
    height: 100lvh;
    display: none;
}
.bg-container .bg-item img {
    width: 100%;
    height: 100lvh;
    object-fit: cover;
}
.bg-container .bg-item.active {
    display: none;
}
.bg-container .bg-item.footer-bg {
    display: block;
}

.contact {
    position: relative;
    padding: 180px 0;
    width: 100%;
    min-height: 100lvh;
    background: url(../images/section-bg.png) no-repeat;
    background-size: 100% 100%;
    background-position: center;
    margin-top: 120px;
}
.section_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
}
.section_title .ttl-arrow-icon {
    display: block;
    width: 12px;
}
.section_title .title-txt {
    color: #1d2d3c;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
}
.contact .description {
    color: #1d2d3c;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    text-align: center;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.contact-form .row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    align-items: center;
}
.contact-form .row .th {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: #1d2d3c;
    width: 200px;
}
.contact-form .row .th .required {
    color: #fb6600;
    font-size: 1.2rem;
    margin-left: 10px;
}
.contact-form .row .td {
    width: calc(100% - 220px);
}
.contact-form .row .td input {
    width: 100%;
    background-color: #fff;
    border: solid 1px #ccc;
    padding: 12px;
    font-size: 1.4rem;
    font-family: YakuHanJP, "Noto Sans JP", sans-serif;
}
.contact-form .row .td textarea {
    font-family: YakuHanJP, "Noto Sans JP", sans-serif;
    width: 100%;
    height: 10em;
    background-color: #fff;
    border: solid 1px #ccc;
    padding: 15px;
    font-size: 1.4rem;
}
.contact-form .submit-wrap {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}
.contact-form .submit-wrap p {
    text-align: center;
}
.contact-form .submit-wrap input[type="submit"] {
    width: 200px;
    background-color: #fb6600;
    color: #fff;
    font-size: 1.4rem;
    padding: 15px 0;
    margin: 0 auto;
    border: none;
}
.contact-form .submit-wrap .wpcf7-spinner {
    display: block;
    margin: 10px auto 0;
}


@media screen and (max-width:640px) {
    .contact {
        padding: 80px 0;
        background: url(../images/section-bg-sp.png) no-repeat;
        background-size: 100% 100%;
        background-position: center;
        margin-top: 120px;
    }
    .contact-form .row {
        flex-direction: column;
        padding: 10px 0;
    }
    .contact-form .row .th {
        width: 100%;
        margin-bottom: 10px;
    }
    .contact-form .row .td {
        width: 100%;
    }
}