.error .invalid {
    display: none;
}

.screen-reader-response {
    display: none;
}

.submit_btn:hover {
    cursor: pointer;
}

input[type="submit"].disabled {
    pointer-events: none;
    opacity: 0.5;
}

.form {
    margin-top: 84px;
    background: #D2E3F8;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 120px 0;
}

.form__block {
    width: 100%;
    max-width: 890px;
    margin: auto;
    margin-top: 60px;
}

.form__h2 {
    font-size: 32px;
    color: #222222;
    text-align: center;
    font-weight: bold;
}

.form__h2:after {
    content: "";
    display: block;
    width: 77px;
    height: 2px;
    background: #7FB904;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: 7px;
}

.form__inner {
    display: flex;
    width: 100%;
}

.form__right,
.form__left {
    width: 100%;
}

.form__right {
    margin-left: 25px;
}

.form__left {
    margin-right: 25px;
}

.form__title {
    font-size: 16px;
    font-weight: bold;
    background: #d2e3f8;
    padding-right: 13px;
    display: block;
    width: max-content;
}

.form__title-line {
    display: block;
    width: 100%;
    height: 6px;
    background: url(../img/form_line.svg);
    background-size: contain;
    position: relative;
    top: -13px;
    z-index: -1;
}

.form__input-name {
    display: flex;
}

.form__input-name>p {
    display: flex;
    line-height: 1.7;
}

.form__any,
.form__required {
    font-size: 11px;
    display: block;
    width: 47px;
    text-align: center;
    padding: 5px 0;
}

.form__any {
    background-color: #fff;
    color: #e84805;
    border: 1px solid #e84805;
}

.form__required {
    border: 1px solid #e84805;
    color: #e84805;
}

.form__input-name-text {
    font-size: 14px;
    margin-left: 16px;
    display: block;
    padding-top: 2px;
}

.form__input {
    height: 60px;
    margin-top: 13px;
    font-size: 16px;
    background-color: #fff;
    width: 100%;
    border: unset;
    padding: 0 16px;
    box-sizing: border-box;
    color: #757575;
}

.form__input-block {
    margin-top: 23px;
}

/* IE以外のブラウザ用の設定 */
select {
    -webkit-appearance: none;
    appearance: none;
    /* デフォルトの矢印を非表示 */
    /* background-image: url(../../images/kaitori/top/form_select_arrow.svg); */
    background-position: calc(100% - 20px) 25px;
    background-repeat: no-repeat;
}

/* IE用の設定 */
select::-ms-expand {
    display: none;
    /* デフォルトの矢印を非表示(IE用) */
}

.form__input-wrap {
    display: flex;
    width: 100%;
}

.form__input-wrap>.form__input-block {
    width: 50%;
}

.form__input-wrap>.form__input-block:first-of-type {
    margin-right: 10px;
}

.form__input-wrap>.form__input-block:last-of-type {
    margin-left: 10px;
}

.form__remarks {
    width: 100%;
    max-width: 600px;
    margin: auto;
    margin-top: 51px;
}

.form__remarks-text {
    font-size: 13px;
    width: 100%;
    border: none;
    height: 144px;
    padding: 15px 20px;
    box-sizing: border-box;
    color: #757575;
    background-color: #fff;
}

#charCount {
    font-size: 15px;
    display: block;
    width: max-content;
    margin: auto;
    margin-right: 0;
    line-height: 1.5;
}

.form__privacypolicy {
    text-align: center;
    margin-top: 32px;
}

.form__privacypolicy-text {
    font-size: 16px;
}

.form__privacypolicy-link {
    text-decoration: underline;
}

.form__privacypolicy-check {
    width: 20px;
    height: 20px;
    vertical-align: sub;
    margin-right: 9px;
}

.form__privacypolicy input[type="checkbox" i] {
    width: 20px;
    height: 20px;
    vertical-align: sub;
    margin-right: 9px;
}

.form__submit {
    text-align: center;
    margin-top: 30px;
}

.form__submit-btn {
    width: 315px;
    height: 60px;
    background: #7FB904;
    border: none;
    border-radius: 30px;
    box-shadow: 0px 3px 0px #507600;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s;
    color: #fff;
}

.form__submit-btn:hover {
    opacity: 0.8;
}

.form__explanation {
    font-size: 12px;
    margin-top: 32px;
}

.form__responsible {
    width: 150px;
    object-fit: contain;
    margin-top: 13px;
}

.form__submit-spinner {
    margin: 0 !important;
}

.wpcf7-spinner {
    display: block !important;
    margin: auto !important;
}

.screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    word-wrap: normal !important;
}

.form__response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
}

.form__submit-spinner {
    display: none;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 24px;
    position: relative;
}

.form__submit-spinner::before {
    content: "";
    position: absolute;
    background-color: #fbfbfc;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 100%;
    transform-origin: 8px 8px;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
    .form__submit-spinner::before {
        animation-name: blink;
        animation-duration: 2000ms;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    from {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
    direction: ltr;
}

.invalid-feedback {
    color: red;
}

input[type="submit"]:disabled {
    background: #b3b3b3;
    cursor: not-allowed;
    box-shadow: none;
    transition: 0.5s;
}

@media screen and (max-width: 630px) {
    .form {
        padding: 40px 22px;
        width: 100%;
        box-sizing: border-box;
    }

    .form__h2 {
        font-size: 24px;
    }

    .form__inner {
        display: block;
    }

    .form__block {
        margin-top: 40px;
    }

    .form__right {
        margin: 40px 0;
    }
}
.wpcf7-form-control-wrap > .wpcf7-not-valid-tip {
    display: none;
    margin-top: 10px;
}

.wpcf7-form-control-wrap.is-show > .wpcf7-not-valid-tip {
    display: block;
}