/* CF7入力内容確認モーダルウィンドウ */
.cf7-confirm-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
}
.cf7-confirm-modal__content {
    display: none;
    width: min(100%, 720px);
    max-height: min(90vh, 800px);
    overflow-y: auto;
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: #fff;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
            box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.cf7-confirm-modal__title {
    margin: 0;
    text-align: center;
}
.cf7-confirm-modal__list {
    margin: 2em 0 0 0;
    padding: 0 0.75em;
    font-size: 0.9em;
}
.cf7-confirm-modal__list dt {
    margin-top: 1em;
    font-weight: 700;
}
.cf7-confirm-modal__list dt:first-child {
    margin-top: 0;
}
.cf7-confirm-modal__list dd {
    margin: 0.25em 0 0;
    padding: 0.5em;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background: #f5f5f5;
}

/* 送信ボタン */
.wrap-btns-confirm {
    display: none;
}
.cf7-confirm-modal__content .wrap-btns-confirm {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1em;
    margin-top: 3em;
    
    & input,button {
        padding-left: 2em;
        padding-right: 2em;
    }
}
.cf7-confirm-modal__content .wrap-btns-confirm > * {
    margin: 0;
}

@media (min-width: 431px) {
    .cf7-confirm-modal__content .wrap-btns-confirm {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
            -ms-flex-direction: row-reverse;
                flex-direction: row-reverse;
        -ms-flex-pack: distribute;
            justify-content: space-around;
    }
}

/* 送信完了メッセージ */
.cf7-thanks-message__content {
    display: none;
    margin-top: 3em;
}

/* モーダルオープン時にbodyのスクロールロック */
body.cf7-confirm-modal-open {
    overflow: hidden;
}

/* 表示フラグ */
.is_show {
    display: revert;
}