@charset "UTF-8";
/* お問い合わせフォーム（Contact Form 7）
   入力欄・ボタンの基本スタイルは common.css の .form-area を利用 */

.cf-form .wpcf7-form-control-wrap {
    display: block;
}

.cf-form .wpcf7-radio .wpcf7-list-item {
    display: inline-block;
    margin: 0 20px 0 0;
}

.cf-form .wpcf7-radio label {
    cursor: pointer;
}

.form-area.cf-form table td .wpcf7-radio input {
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0 5px 0 0;
    vertical-align: middle;
}

.cf-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 5px;
    color: #BE0D23;
    font-size: 14px;
    line-height: 1.4;
}

.cf-form input.wpcf7-not-valid,
.cf-form textarea.wpcf7-not-valid {
    outline: 1px solid #BE0D23;
}

.form-area .btn input {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.form-area .btn input:hover {
    color: #B0866D;
    background: url("../images/icon_arrow_s3_on.svg") right 20px center no-repeat transparent;
    background-size: 8px auto;
}

/* 確認画面 */
.cf-form .cf-lead {
    text-align: center;
    margin-bottom: 20px;
}

.cf-form .cf-confirm td {
    word-break: break-all;
}

.cf-form .cf-send {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.form-area .cf-send input {
    margin: 0 10px;
}

.form-area .cf-send input.cf-btn-back {
    color: #B0866D;
    background: url("../images/icon_arrow_s3_on.svg") right 20px center no-repeat #fff;
    background-size: 8px auto;
}

.form-area .cf-send input.cf-btn-back:hover {
    color: #fff;
    background: url("../images/icon_arrow_s2_on.svg") right 20px center no-repeat #B0866D;
    background-size: 8px auto;
}

.cf-form .cf-send .wpcf7-spinner {
    position: absolute;
    right: 0;
    top: 50%;
    margin: -12px 0 0;
}

/* 送信完了 */
.cf-form .cf-complete {
    text-align: center;
    padding: 40px 0;
}

/* メッセージ */
.cf-form .wpcf7 form .wpcf7-response-output {
    margin: 30px 0 0;
    padding: 10px 15px;
    text-align: center;
}

.cf-form .wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

/* reCAPTCHA バッジ（ページトップボタンと重ならないよう上にずらす） */
.grecaptcha-badge {
    bottom: 90px !important;
    z-index: 10001;
}

@media (max-width:750px) {
    .cf-form .wpcf7-radio .wpcf7-list-item {
        display: block;
        margin: 0 0 2vw;
    }

    .form-area.cf-form table td .wpcf7-radio input {
        width: 5vw;
        height: 5vw;
    }

    .cf-form .wpcf7-not-valid-tip {
        font-size: 3.6vw;
    }

    .form-area .btn input:hover {
        background-position: right 5vw center;
        background-size: 2vw auto;
    }

    .cf-form .cf-send {
        flex-direction: column-reverse;
    }

    .form-area .cf-send input {
        margin: 0 auto 4vw;
    }

    .form-area .cf-send input.cf-btn-back,
    .form-area .cf-send input.cf-btn-back:hover {
        background-position: right 5vw center;
        background-size: 2vw auto;
    }

    .cf-form .cf-send .wpcf7-spinner {
        top: auto;
        bottom: -8vw;
        right: 50%;
        margin: 0 -12px 0 0;
    }

    /* スマホはフッターナビ（#fnav）が下に固定されるため、さらに上へ */
    .grecaptcha-badge {
        bottom: 25vw !important;
    }
}
