/* ================================================================
   かんたんお見積りウィジェット
   ================================================================ */

.se-wrap {
    text-align: center;
    margin-bottom: 20px;
}

/* トグルボタン */
.se-btn-wrap {
    text-align: center;
}

#se-toggle-btn {
    font-size: 18px;
    padding: 12px 36px;
    cursor: pointer;
}

#se-toggle-btn .se-arrow {
    display: inline-block;
    transition: transform 0.3s;
    margin-left: 8px;
}

#se-toggle-btn[aria-expanded="true"] .se-arrow {
    transform: rotate(180deg);
}

/* フォーム全体のラッパー */
.se-form-wrap {
    text-align: left;
    max-width: 720px;
    margin: 12px auto 0;
    background: #f9f9f9;
    border: 1px solid #c8dce8;
    border-radius: 6px;
    padding: 24px 28px;
    box-sizing: border-box;
}

/* 各入力フィールド */
.se-field {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e5e5;
}

.se-field:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.se-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}

.se-radios label {
    display: block;
    margin-bottom: 7px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.se-radios input[type="radio"],
.se-radios input[type="checkbox"] {
    margin-right: 6px;
    vertical-align: middle;
}

/* セット割チェックボックス */
#se-set-field label {
    font-size: 14px;
    cursor: pointer;
}

/* 結果表示エリア */
.se-result {
    margin: 18px 0 0;
    padding: 18px 20px;
    background: #fff;
    border: 2px solid #337ab7;
    border-radius: 4px;
}

.se-result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
}

.se-result-table th,
.se-result-table td {
    padding: 10px 14px;
    border: 1px solid #ddd;
    font-size: 15px;
    vertical-align: middle;
}

.se-result-table th {
    background: #f0f4f8;
    text-align: left;
    width: 45%;
    font-weight: normal;
    color: #555;
}

.se-result-table td {
    text-align: right;
    font-weight: bold;
}

/* 合計行 */
.se-total-row th,
.se-total-row td {
    background: #e3f0fa;
    font-weight: bold;
    font-size: 18px;
    color: #1a5f99;
    border-color: #337ab7;
}

/* 注意書き */
.se-notice {
    font-size: 13px;
    color: #777;
    margin: 5px 0;
    line-height: 1.5;
}

/* 場所の調査メモ */
.se-chousa-note {
    margin: 18px 0 0;
    padding: 12px 16px;
    background: #fffbe6;
    border: 1px solid #f0c040;
    border-radius: 4px;
}

.se-chousa-note .se-notice {
    color: #7a5a00;
    font-size: 14px;
}

/* CTA */
.se-cta {
    text-align: center;
    margin-top: 22px;
}

.se-contact-btn {
    font-size: 16px;
    padding: 12px 36px;
    text-decoration: none;
}

/* ================================================================
   レスポンシブ（スマホ）
   ================================================================ */
@media screen and (max-width: 767px) {
    #se-toggle-btn {
        font-size: 16px;
        padding: 10px 20px;
        width: 92%;
    }

    .se-form-wrap {
        padding: 16px 14px;
    }

    .se-radios label {
        font-size: 13px;
    }

    .se-result-table th,
    .se-result-table td {
        font-size: 13px;
        padding: 8px 10px;
    }

    .se-total-row th,
    .se-total-row td {
        font-size: 15px;
    }

    .se-contact-btn {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
}
