    /*確認画面と完了画面を非表示*/
    .confirm_area,
    .thanks_area {
        display: none;
    }


.confirm_area h2{
    color: #303030;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin-bottom: 24px;
}
.confirm_item{
    color: #303030;
    text-align: center;
    /* Noto Sans JP_H3 */
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    display: flex;
    gap: 10px;
}
.confirm_item span{
    color: #303030;
    text-align: center;
    /* Noto Sans JP_H3 */
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    display: flex;
    gap: 10px;
}
.confirm_company-name{
    color: #303030;
    text-align: center;
    /* Noto Sans JP_H3 */
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-weight: 700;
}
.confirm_client-name{
    color: #303030;
    text-align: center;
    /* Noto Sans JP_H3 */
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-weight: 700;
}
.confirm_tel{
    color: #303030;
    text-align: center;
    /* Noto Sans JP_H3 */
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-weight: 700;
}
.confirm_content{
    color: #303030;
    text-align: center;
    /* Noto Sans JP_H3 */
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-weight: 700;
}
.confirm_text{
    display: block;
    margin-top: 16px;
}
.botton-flex{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
}
.wpcf7 .botton-flex .back_button{
    width: 100%;
    background-color: #929292;
}
    /*デフォルトのサンクスメッセージを非表示*/
    .wpcf7-response-output{
        display: none;
    }
    /* フォーム全体のスタイル */
    section.contact {
        padding: 180px 0 120px;
        color: #303030;
    }
    section.contact h2{
        text-align: center;
        font-size: clamp(2rem, 1.879rem + 0.52vw, 2.5rem);
        font-weight: bold;
        
    }
div.wpcf7 {
    width: 80%;
    padding: 20px;
    border-radius: 5px;
    max-width: 1280px;
    margin: 0 auto;
}
p.contact-title{
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin-bottom: 80px;
}

/* ラベルと入力フィールドのスタイル */
.wpcf7 label {
    display: block;
    margin-bottom: 10px;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}
.required{
    color: #FFF !important;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    padding: 0 8px ;
    background: #F4AB1A;
    margin: 0 !important;
}
.optional{
    color: #FFF !important;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    padding: 0 8px ;
    background: #929292;
    margin: 0 !important;
}
label .required,label .optional{
    padding: 4px 8px ;
}
.wpcf7 label .wpcf7-form-control-wrap{
    padding: 0;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px;
    margin-top: 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /* Noto Sans JP_H3 */
    color: #303030;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}
.wpcf7-list-item{
    position: relative;
}
.wpcf7-form-control.wpcf7-checkbox{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0;
    margin-top: 10px;
}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item{
    margin-left: 0;
    display: flex;
    align-items: center;
    z-index: 100;
}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label{
    padding-left: 30px;
}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item:has(input[type="checkbox"]:checked)::after {
    content: '';
    display: block;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    left: 0;
    width: 15px;
    height: 15px;
    background: url(../img/icon-check.svg) no-repeat center;
    background-size: contain;
    background-position: center;
    z-index: 101;

}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]{
    position: absolute;
    opacity: 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item::before{
    content: '';
    border: 1px solid #e7e7e7;
    background: #FFF;
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    position: absolute;
    top: 43%;
    transform: translateY(-50%);
    left: 0px;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item:has(input[type="checkbox"]:checked)::before{
    background: #F4AB1A;
}
/* ボタンのスタイル */
.wpcf7 input[type="button"],
.wpcf7 input[type="submit"] {
    width: 100%;
    background-color: #2370C4;
    padding: 16px 24px;
    white-space: nowrap;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    border: none;
    cursor: pointer;
}
.wpcf7 input[type="button"]:disabled,
.wpcf7 input[type="submit"]:disabled{
    background-color: #ccc;
}
.wpcf7 input[type="button"]:hover,
.wpcf7 input[type="submit"]:hover {
    background-color: #005bb5;
}
.wpcf7 input[type="button"]:disabled:hover,
.wpcf7 input[type="submit"]:disabled:hover {
    background-color: #ccc;
}
/* 確認画面のスタイル */
.confirm_area {
    display: none; /* 初期状態では非表示 */
}

.confirm_area.active {
    display: block; /* 確認画面を表示 */
}

.confirm_item {
    margin-bottom: 15px;
}

.under-line {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
footer{
    background: #fff;
    height: auto;
    padding: 0;
}
.footer-inner{
    display: flex;
    justify-content:center;
    align-items: center;
    gap: 76px;
    padding-bottom: 120px;
}
.footer-inner a{
    color: #303030;
}
.copyright{
    background: #2370C4;
    color: #fff;
    text-align: center;
    padding: 16px 0;
}

section.thanks{
    padding-bottom: 227px;
}
.thanks p{
    margin-top: 16px;
    text-align: center;
    /* Noto Sans JP_p */
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}
.thanks-footer{
    width: 100%;
    position: absolute;/*←絶対位置*/
    bottom: 0; /*下に固定*/
}
.sp-only{
    display: none;
}
@media (max-width: 768px) {
    .sp-only{
        display: block;
    }
    section.contact{
        padding: 100px 0 80px;
    }
    div.wpcf7{
        width: 90%;
    }
    .botton-flex{
        flex-direction: column;
        row-gap: 16px;
    }
    .thanks p{
        font-size: 24px;
    }
}