/* CF7 確認画面 */
.cf7-confirm-area {
    width: 100%;
}

.cf7-confirm-box {
    background: #fff;
    border: 1px solid #111;
    padding: 40px;
}

.cf7-confirm-title {
    margin: 0 0 32px;
    color: #111;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.cf7-confirm-box dl {
    margin: 0;
}

.cf7-confirm-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid #ccc;
}

.cf7-confirm-row:first-child {
    border-top: 1px solid #ccc;
}

.cf7-confirm-row dt,
.cf7-confirm-row dd {
    margin: 0;
    padding: 18px 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.cf7-confirm-row dt {
    background: #f2f2f2;
    font-weight: 700;
    color: #111;
}

.cf7-confirm-row dd {
    background: #fff;
    color: #111;
    word-break: break-word;
}

.cf7-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.cf7-back-button,
.cf7-submit-button {
    min-width: 180px;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.cf7-back-button {
    background: #fff;
    color: #28197B;
    border: 1px solid #28197B;
}

.cf7-submit-button {
    background: #28197B;
    color: #fff;
}

.cf7-back-button:hover,
.cf7-submit-button:hover {
    opacity: 0.8;
}

@media screen and (max-width: 750px) {
    .cf7-confirm-box {
        padding: 24px 16px;
    }

    .cf7-confirm-title {
        font-size: 1.25rem;
        margin-bottom: 24px;
    }

    .cf7-confirm-row {
        display: block;
    }

    .cf7-confirm-row dt,
    .cf7-confirm-row dd {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .cf7-confirm-row dt {
        border-bottom: 1px solid #ddd;
    }

    .cf7-confirm-actions {
        flex-direction: column;
        gap: 12px;
    }

    .cf7-back-button,
    .cf7-submit-button {
        width: 100%;
    }
}