/* ============================================================
   inquiry.css — お問い合わせフォーム固有スタイル
   サイト共通CSS（common.css / pc.css / sp.css）で賄えないもののみ定義
   ============================================================ */

/* 注意書き */
.inquiry-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

/* reCAPTCHA 利用規約案内（バッジ非表示の場合は必須表示） */
.recaptcha-notice {
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
}

/* ============================================================
   エラーサマリー（フォーム上部のまとめ表示）
   ============================================================ */
.error-summary {
    background: #fff5f5;
    border: 1px solid #e74c3c;
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 20px;
    color: #c0392b;
}

.error-summary p {
    font-weight: bold;
    margin: 0 0 8px;
}

.error-summary ul {
    margin: 0;
    padding-left: 20px;
}

.error-summary li {
    margin-bottom: 4px;
    font-size: 14px;
}

/* ============================================================
   フィールド直下のエラーメッセージ
   ============================================================ */
.error-msg {
    display: block;
    margin-top: 4px;
    color: #e74c3c;
    font-size: 13px;
    font-weight: bold;
}

/* エラー行のハイライト */
.stdTable tr.has-error th,
.stdTable tr.has-error td {
    background-color: #fff8f8;
}

/* ============================================================
   フォーム入力要素（モダンスタイル）
   ============================================================ */
.stdTable input[type="text"],
.stdTable input[type="email"],
.stdTable input[type="tel"],
.stdTable select,
.stdTable textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.stdTable input[type="text"]:focus,
.stdTable input[type="email"]:focus,
.stdTable input[type="tel"]:focus,
.stdTable select:focus,
.stdTable textarea:focus {
    outline: none;
    border-color: #005bac;
    box-shadow: 0 0 0 3px rgba(0, 91, 172, 0.15);
}

.stdTable textarea {
    resize: vertical;
    min-height: 120px;
}

/* チェックボックス間隔 */
.stdTable input[type="checkbox"] {
    margin-right: 4px;
    accent-color: #005bac;
}

/* ============================================================
   改行保持（ご質問・ご希望条件など の確認表示用）
   ============================================================ */
.pre-wrap {
    white-space: pre-wrap;
    word-break: break-all;
}

/* ============================================================
   送信完了メッセージ
   ============================================================ */
.complete-message {
    background: #f0f7f0;
    border: 1px solid #7bc47b;
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 24px;
    line-height: 1.9;
}

.complete-message p {
    margin: 0 0 12px;
}

.complete-message p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   エラー画面メッセージ
   ============================================================ */
.error-box {
    background: #fff5f5;
    border: 1px solid #e74c3c;
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 24px;
    color: #c0392b;
    line-height: 1.9;
}

.error-box p {
    margin: 0;
}
