.p-contact {
    padding-top: 180px;
    padding-bottom: 150px;
}

.p-contact__inner {
    display: flex;
    justify-content: space-between;
}

.p-contact__side {
    width: 27%;
    padding-right: 20px;
    min-width: 280px;
}

.p-contact__side--txt {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: .02em;
}

.p-contact__side--contents {
    margin-top: 40px;
}

.p-contact__side--txt01 {
    font-size: 14px;
    line-height: 1.45;
    letter-spacing: .03em;
}

.p-contact__side--nums a {
    display: flex;
    align-items: center;
    gap: 11px;
}

.p-contact__side--nums figure {
    width: 25px;
}

.p-contact__side--nums p {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .05em;
}

.p-contact__side--txt02 {
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: .03em;
}

.p-contact__contents {
    position: relative;
    width: 68%;
}

.p-contact__contents::after {
    background-color: #3685CF;
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    top: 0;
    width: 88px;
}

.p-contact__contents::before {
    background-color: #D0D6D9;
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.p-contact__contents--heads {
    margin-top: 60px;
    display: flex;
    gap: 24px;
    align-items: end;
}

.p-contact__contents--head {
    font-size: 35px;
    line-height: 1.45;
    letter-spacing: .03em;
}

.p-contact__contents--subHead {
    transform: translateY(-8px);
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: .03em;
}

.p-contact__contents--form {
    margin-top: 65px;
}

.p-contact__contents--table {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.p-contact__contents--table dl {
    display: flex;
    justify-content: space-between;
}

.p-contact__contents--table dl.--checkbox {
    margin-bottom: 17px;
    align-items: center;
}

.p-contact__contents--table dl dt {
    width: 23%;
    min-width: 200px;
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: .03em;
    padding-top: 16px;
}
.confirm_area .p-contact__contents--table dl dt{
    padding-top: 0;
}

.p-contact__contents--table dl.--checkbox dt {
    padding-top: 0;
}

.p-contact__contents--table dl dt span.--required {
    color: #DA6567;
    font-size: 12px;
    padding-left: 8px;
    transform: translateY(-5px);
}

.wpcf7-form-control.wpcf7-radio {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.wpcf7-form-control.wpcf7-radio span.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-form-control.wpcf7-radio span.wpcf7-list-item .wpcf7-list-item-label {
    padding-left: 29px;
    position: relative;
}

.p-contact__contents--table dl.--checkbox dd label input {
    display: none;
}

.wpcf7-form-control.wpcf7-radio span.wpcf7-list-item .wpcf7-list-item-label::before {
    background-color: #fff;
    content: '';
    height: 20px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    border-radius: 5px;
    border: solid 1px #D0D6D9;
}

.p-contact__contents--table dl.--checkbox dd label input:checked + .wpcf7-list-item-label::after {
    background: url(../img/common/check.webp) no-repeat center center/contain;
    content: '';
    height: 20px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    border-radius: 5px;
    opacity: 0;
}

.p-contact__contents--table dl.--checkbox dd label input:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}

.p-contact__contents--table dl dd {
    width: 70%;
}

.p-contact__contents--table .wpcf7-form-control-wrap {
    width: 100%;
}

.p-contact__contents--table input[type="text"],
.p-contact__contents--table input[type="email"],
.p-contact__contents--table input[type="tel"],
.p-contact__contents--table textarea {
    padding: 17px;
    border-radius: 5px;
    border: 1px solid #D0D6D9;
    background: #fff;
    width: 100%;
}

.p-contact__contents--table textarea {
    resize: vertical;
    min-height: 216px;
}

.p-contact__agreement {
    margin-top: 60px;
    padding-top: 60px;
    border-top: dotted 1px #D0D6D9;
}

.p-contact__agreement .wpcf7-list-item-label a {
    color: #3685CF;
    text-decoration: underline;
}

.p-contact__agreement .wpcf7-list-item-label {
    position: relative;
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: .03em;
    padding-left: 36px;
}

.p-contact__agreement label input {
    display: none;
}

.p-contact__agreement .wpcf7-list-item-label::before {
    background-color: #fff;
    content: '';
    height: 20px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    border-radius: 5px;
    border: solid 1px #D0D6D9;
    transition: all 0.2s;
}

.p-contact__agreement .wpcf7-list-item-label::after {
    background: url(../img/common/check.webp) no-repeat center center/contain;
    content: '';
    height: 20px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    border-radius: 5px;
    opacity: 0;
}

.p-contact__agreement label input:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}

.p-contact__btn input {
    padding: 22px;
    width: 100%;
    margin-top: 62px;
    text-align: center;
    background-color: #3685CF;
    color: #fff;
    border-radius: 7px;
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: .03em;
    transition: all .5s 0s cubic-bezier(.44,.14,.09,1.02)
}
.p-contact__btn.inactive input {
    background-color: #cbcbcb;
}

@media screen and (min-width: 901px) {
    .p-contact__btn input:hover {
        background-color: #123e67;
    }
}

@media screen and (max-width: 900px) {
    .p-contact {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .p-contact__inner {
        justify-content: unset;
        flex-direction: column;
    }

    .p-contact__side {
        width: 100%;
    }

    .p-contact__side--txt {
        font-size: 14px;
    }

    .p-contact__side--contents {
        margin-top: 25px;
    }

    .p-contact__contents {
        width: 100%;
        margin-top: 60px;
    }

    .p-contact__contents::after {
        width: 29px;
    }

    .p-contact__contents--heads {
        margin-top: 40px;
        gap: 13px;
    }

    .p-contact__contents--head {
        font-size: 24px;
    }

    .p-contact__contents--subHead {
        transform: translateY(-5px);
    }

    .p-contact__contents--form {
        margin-top: 40px;
    }

    .p-contact__contents--table {
        gap: 25px;
    }

    .p-contact__contents--table dl {
        justify-content: unset;
        flex-direction: column;
        row-gap: 8px;
    }

    .p-contact__contents--table dl.--checkbox {
        margin-bottom: 0px;
        align-items: flex-start;
    }

    .p-contact__contents--table dl dt {
        width: 100%;
        font-size: 16px;
        padding-top: 0;
    }

    .wpcf7-form-control.wpcf7-radio {
        flex-direction: column;
        margin-top: 12px;
        row-gap: 15px;
    }

    .wpcf7-form-control.wpcf7-radio span.wpcf7-list-item .wpcf7-list-item-label {
        padding-left: 29px;
    }

    .wpcf7-form-control.wpcf7-radio span.wpcf7-list-item .wpcf7-list-item-label::before {
        height: 18px;
        width: 18px;
    }

    .p-contact__contents--table dl.--checkbox dd label input:checked + .wpcf7-list-item-label::after {
        height: 18px;
        width: 18px;
    }

    .p-contact__contents--table dl dd {
        width: 100%;
    }

    .p-contact__contents--table .wpcf7-form-control-wrap {
        width: 100%;
    }

    .p-contact__contents--table input[type="text"],
    .p-contact__contents--table input[type="email"],
    .p-contact__contents--table input[type="tel"],
    .p-contact__contents--table textarea {
        padding: 13px;
    }

    .p-contact__contents--table textarea {
        min-height: 223px;
    }

    .p-contact__agreement {
        margin-top: 45px;
        padding-top: 30px;
        text-align: center;
    }

    .p-contact__agreement .wpcf7-list-item-label {
        font-size: 15px;
        padding-left: 29px;
    }

    .p-contact__agreement .wpcf7-list-item-label::before {
        height: 18px;
        width: 18px;
    }

    .p-contact__btn input {
        margin-top: 30px;
        padding: 15px;
        font-size: 16px;
    }
}

/*===========================================================================*/
/*  confirm  */
/*===========================================================================*/
#confirm .p-contact__contents--table {
    gap: 44px;
}

#confirm .p-contact__contents--table dl.--checkbox {
    margin-bottom: 0;
}

.p-contact__contents--back {
    margin-top: 60px;
    padding-top: 60px;
    border-top: dotted 1px #D0D6D9;
    text-align: center;
}

.p-contact__contents--back span {
    font-size: 18px;
    line-height: 1.45;
    color: #3685CF;
    text-decoration: underline;
}

.p-contact__contents--btn {
    position: relative;
    cursor: pointer;
    padding: 22px;
    width: 100%;
    margin-top: 62px;
    text-align: center;
    background-color: #3685CF;
    color: #fff;
    border-radius: 7px;
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: .03em;
    transition: all .5s 0s cubic-bezier(.44,.14,.09,1.02)
}

.p-contact__contents--btn:hover {
    background-color: #123e67;
}

.p-contact__contents--btn input {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
}

.p-contact__contents--table dl dt {
    width: 28%;
    min-width: 220px;
}

.wpcf7-spinner {
    display: none !important;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.back_button {
    cursor: pointer;
}

@media screen and (max-width: 900px) {
    #confirm .p-contact__contents--table {
        gap: 30px;
    }

    .p-contact__contents--table dl {
        align-items: unset;
    }

    .p-contact__contents--back {
        margin-top: 40px;
        padding-top: 30px;
    }

    .p-contact__contents--back span {
        font-size: 15px
    }

    .p-contact__contents--btn {
        margin-top: 30px;
        padding: 15px;
        font-size: 16px;
    }
}