/* 問い合わせフォーム 入力補助（2026-11-04） */
.s-entryTable input::placeholder,
.s-entryTable textarea::placeholder { color: #a8a8a8; opacity: 1; }
.s-entryTable .c-form-note { display: block; font-size: 12px; line-height: 1.6; color: #666; margin-top: 4px; }
.s-entryTable .c-form-note.is-ok { color: #1a7f37; }
.s-entryTable .c-form-note.is-ng { color: #c00; }
.s-entryTable tr.zip .zip-input-wrap { margin-bottom: 4px; }
.c-form-agreeHint { text-align: center; font-size: 13px; color: #666; margin: -18px 0 25px; }
.c-form-agreeHint[hidden] { display: none; }
@media (max-width: 767px) { .c-form-agreeHint { font-size: 12px; } }
.wpcf7-submit:disabled,
.wpcf7-submit:disabled:hover { background: #c4c4c4 !important; color: #fff; cursor: not-allowed; filter: none !important; }
.wpcf7 form .wpcf7-not-valid-tip { font-size: 13px; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 16px 20px; border-radius: 4px; line-height: 1.8; }
.wpcf7 form.sent .wpcf7-response-output { border: 2px solid #004190; background: #eef3fa; color: #222; font-size: 15px; }
.wpcf7 form.sent .s-entryTable-wrap,
.wpcf7 form.sent .c-form-privacyText,
.wpcf7 form.sent .c-form-privacyBox,
.wpcf7 form.sent .c-form-agree,
.wpcf7 form.sent .c-form-agreeHint,
.wpcf7 form.sent .entry_btnBox { display: none; }
/* 姓・名／セイ・メイを横並びに（CF7のラッパーspanで崩れていたのを補正） */
.s-entryTable tr.name td .flexbox { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: flex-start; }
.s-entryTable tr.name td .flexbox .wpcf7-form-control-wrap { display: block; width: calc(50% - 14px); max-width: 260px; }
.s-entryTable tr.name td .flexbox input[type=text] { width: 100%; max-width: none; margin-right: 0; }
@media (max-width: 767px) {
  .s-entryTable tr.name td .flexbox { gap: 0 10px; }
  .s-entryTable tr.name td .flexbox .wpcf7-form-control-wrap { width: calc(50% - 5px); max-width: none; }
}
/* STEP表示が2段階のときは幅を半分ずつに */
.s-entryTab-item:first-child:nth-last-child(2),
.s-entryTab-item:first-child:nth-last-child(2) ~ .s-entryTab-item { width: 50%; }
/* 郵便番号の欄：3桁・4桁の幅を固定し、ボタンと同じ行に並べる */
.s-entryTable tr.zip .zip-input-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 4px; }
.s-entryTable tr.zip .zip-input { margin-right: 0; }
.s-entryTable tr.zip .flexbox { display: flex; align-items: center; gap: 0 6px; }
.s-entryTable tr.zip .flexbox .wpcf7-form-control-wrap { display: block; width: 5.2em; }
.s-entryTable tr.zip .flexbox .wpcf7-form-control-wrap[data-name="f_ext_14"] { width: 6.2em; }
.s-entryTable tr.zip td input[type=text] { width: 100%; max-width: none; }
.s-entryTable tr.zip td .bar { width: auto; margin: 0 2px; }
.s-entryTable tr.zip td button { margin: 0; }
.s-entryTable tr.zip .wpcf7-not-valid-tip { display: none; } /* 郵便番号のエラーは欄の下の注記に出す（JS） */
/* エラー項目は赤枠で分かるように */
.s-entryTable .wpcf7-not-valid { border-color: #d33 !important; }
