.page_contact .under_kv{
    background: url(../images/contact/kv.jpg) center / cover no-repeat;
}

.left_list{
    padding-top: 8rem;
    top: 0;
}

.right_content section{
    padding-top: 8rem;
}

.form_top{
    text-align: center;
    line-height: 1.8;
    margin-bottom: 8rem;
}

.form_content{
    display: flex;
    flex-flow: column;
    gap: 4rem;
}

.form_item{
    display: flex;
    flex-flow: column;
    gap: 2rem;
}

.form_item label{
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.required{
    color: #fff;
    background: #BA0000;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]), 
textarea{
    border: solid 0.1rem #E7E7E7;
    padding: 0.5rem 1.5rem;
    font-size: 1.6rem;
    width: 100%;
    border-radius: 0;
}

.wpcf7-checkbox{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.wpcf7-checkbox .wpcf7-list-item{
    width: 27rem;
    margin: 0;
}

.wpcf7-not-valid-tip{
    margin-top: 0.5rem;
}

textarea{
    height: 14rem;
    line-height: 1.7;
}

::placeholder{
    color: #999;
}

.policy{
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 2rem;
    background: #fff;
    border: solid 0.1rem #E7E7E7;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: solid 0.1rem #E7E7E7;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    display: inline-block;
    border-radius: 0.2rem;
    vertical-align: sub;
}

input[type="checkbox"]:checked {
    background-color: var(--blue);
    position: relative;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 0.1rem;
    left: 0.5rem;
    width: 0.8rem;
    height: 1.2rem;
    border: solid #fff;
    border-width: 0 0.3rem 0.3rem 0;
    transform: rotate(45deg);
}

.wpcf7-acceptance{
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.wpcf7-acceptance span{
    margin: 0;
}

input[type="submit"]{
    color: #fff;
    background: var(--blue);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    width: 22rem;
    height: 5rem;
    border: solid 0.1rem var(--blue);
    border-radius: 0;
    margin: 2rem auto 0;
    transition: 0.3s;
}

input[type="submit"]:hover{
    color: var(--blue);
    background: #fff;
}


/* faq ---------------------------------------------------*/

.faq_content{
    display: flex;
    flex-flow: column;
    gap: 4rem;
    margin-top: 6rem;
}

.faq_item{
    display: flex;
    flex-flow: column;
    gap: 2rem;
    padding-bottom: 4rem;
    border-bottom: solid 0.1rem #bbb;
}

.faq_item h3{
    display: flex;
    align-items: end;
    gap: 1rem;
    font-size: 2.4rem;
    font-weight: 700;
}

.faq_item h3 span{
    color: var(--blue);
    font-size: 3.2rem;
}

.faq_item p{
    line-height: 1.8;
    text-align: justify;
}

.faq_item p span{
    font-size: 2rem;
}

@media (max-width: 1024px) {
    .left_list{
        top: 4rem;
    }
}

@media (max-width: 767px) {
    .page_contact .under_kv{
        background: url(../images/contact/sp/kv.jpg) center / cover no-repeat;
    }

    .left_list{
        display: none;
    }

    .right_content{
        gap: 0;
    }

    .form_top{
        text-align: left;
    }

    .faq_content{
        margin-top: 4rem;
    }

    .form_item{
        gap: 1.5rem;
    }

    .faq_item h3{
        font-size: 1.8rem;
    }

    .faq_item h3 span{
        font-size: 2.4rem;
    }

    .faq_item p span{
        font-size: 1.8rem;
    }

    .policy{
        padding: 1.5rem 2rem;
    }
}