/* ==============================
   ★ サイトごとに変更する箇所
   ============================== */
:root {
    --cf7-primary-color: #337ab7;       /* ボタンの背景色 */
    --cf7-primary-color-dark: #296292;  /* ボタンホバー時の背景色 */
}

/* ===== お問い合わせフォーム ===== */
/* 必須ラベル */
.required-label {
    color: #e00;
    font-size: 12px;
    font-weight: bold;
    margin-left: 6px;
}

/* 項目と入力スペースの余白 */
.cf-field {
    margin-bottom: 24px;
}

.cf-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.cf-field input[type="text"],
.cf-field input[type="email"],
.cf-field input[type="tel"],
.cf-field select,
.cf-field textarea {
    width: 100%;
    margin-top: 4px;
}

/* ===== 確認画面・完了画面 共通 ===== */
.page-confirm .confirm-wrapper,
.page-thanks .thanks-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* タイトル */
.page-confirm h1,
.page-thanks h1 {
    font-weight: bold;
}

/* リード文 */
.page-confirm p,
.page-thanks p {
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ===== 確認テーブル ===== */
.page-confirm .confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 48px;
    border: none;
}

.page-confirm .confirm-table th,
.page-confirm .confirm-table td {
    padding: 20px 16px;
    text-align: left;
    vertical-align: top;
    line-height: 1.8;
    border: none;
}

.page-confirm .confirm-table tr {
    border-bottom: 1px solid #ddd;
}

.page-confirm .confirm-table th {
    font-weight: bold;
    width: 200px;
    white-space: nowrap;
    color: #333;
}

.page-confirm .confirm-table td {
    color: #555;
}

/* ===== ボタンエリア ===== */
.page-confirm form {
    display: flex;
    gap: 16px;
    align-items: center;
}

.page-confirm .btn-back,
.page-confirm .btn-send {
    display: inline-block;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease;
    border: none;
    line-height: 1.5;
}

/* 戻るボタン */
.page-confirm .btn-back {
    background-color: #aaa;
    color: #fff !important;
}

.page-confirm .btn-back:hover {
    background-color: #888;
    text-decoration: none;
    color: #fff !important;
}

/* 送信するボタン */
.page-confirm .btn-send {
    background-color: var(--cf7-primary-color);
    color: #fff !important;
}

.page-confirm .btn-send:hover {
    background-color: var(--cf7-primary-color-dark);
    color: #fff !important;
}

/* ===== 完了画面 ===== */
.page-thanks .btn-top {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--cf7-primary-color);
    color: #fff !important;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.page-thanks .text-center {
    text-align: center;
}

.page-thanks .btn-top:hover {
    background-color: var(--cf7-primary-color-dark);
    text-decoration: none;
    color: #fff !important;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .page-confirm .confirm-table th {
        width: 120px;
        font-size: 13px;
    }

    .page-confirm .confirm-table th,
    .page-confirm .confirm-table td {
        padding: 14px 10px;
    }

    .page-confirm form {
        flex-direction: column;
    }

    .page-confirm .btn-back,
    .page-confirm .btn-send {
        display: block;
        width: 100%;
        text-align: center;
    }
}