/* お問い合わせフォーム(お問い合わせ・お見積りのページだけで読み込む) */

.kt-lead p { font-size: 1.6rem; line-height: 2; }
.kt-lead strong { font-weight: 700; }

.kt-formwrap { max-width: 78rem; margin: 0 auto; }

.kt-form { text-align: left; letter-spacing: 0.05em; }
.kt-form fieldset { border: 0; margin: 0 0 3.2rem; padding: 0; min-width: 0; }
.kt-form legend,
.kt-form .kt-label { display: block; width: 100%; padding: 0; margin: 0 0 0.9rem; font-size: 1.6rem; font-weight: 700; line-height: 1.6; }
.kt-field { margin: 0 0 3.2rem; }

.kt-req,
.kt-opt { display: inline-block; margin-left: 0.8em; padding: 0.35em 0.7em; font-size: 1.2rem; font-weight: 500; line-height: 1; letter-spacing: 0.05em; color: #fff; border-radius: 4px; vertical-align: middle; }
.kt-req { background: #b3261e; }
.kt-opt { background: #5b666d; }

.kt-help { margin: 0.6rem 0 0; font-size: 1.3rem; line-height: 1.8; color: #3d4349; }

.kt-form input[type="text"],
.kt-form input[type="tel"],
.kt-form input[type="email"],
.kt-form select,
.kt-form textarea { display: block; width: 100%; min-height: 5.2rem; padding: 1.3rem 1.6rem; font: inherit; font-size: 1.6rem; letter-spacing: 0.05em; color: #111; background: #fff; border: 2px solid transparent; border-radius: 10px; box-shadow: 0 1px 2px rgb(0 0 0 / 8%); }
.kt-form textarea { min-height: 18rem; line-height: 1.8; resize: vertical; }
.kt-form input::placeholder,
.kt-form textarea::placeholder { color: #6b7278; opacity: 1; }
.kt-form input:focus,
.kt-form select:focus,
.kt-form textarea:focus { outline: none; border-color: #1f6f6a; box-shadow: 0 0 0 3px rgb(31 111 106 / 25%); }

/* ご用件(選択肢をカード状に) */
.kt-form .wpcf7-radio,
.kt-form .wpcf7-checkbox { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.kt-form .wpcf7-list-item { display: block; margin: 0; }
.kt-form .wpcf7-list-item label { display: flex; align-items: center; gap: 1rem; min-height: 5.2rem; padding: 1rem 1.4rem; font-size: 1.5rem; line-height: 1.6; background: #fff; border: 2px solid transparent; border-radius: 10px; box-shadow: 0 1px 2px rgb(0 0 0 / 8%); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.kt-form .wpcf7-list-item label:hover { border-color: #b9d7d5; }
.kt-form .wpcf7-list-item label:has(input:checked) { border-color: #1f6f6a; background: #eef7f6; }
.kt-form .wpcf7-list-item input { flex: none; width: 2rem; height: 2rem; margin: 0; accent-color: #1f6f6a; }
.kt-form .wpcf7-list-item input:focus-visible { outline: 3px solid #e8b647; outline-offset: 2px; }
.kt-form .wpcf7-list-item-label { display: block; }

/* お見積り・修理のときだけ出す項目 */
.kt-more { margin: 0 0 3.2rem; padding: 0.4rem 0 0.4rem 1.8rem; border-left: 4px solid #69b0ac; }
.kt-more[hidden] { display: none; }
.kt-more__title { margin: 0 0 2rem; font-size: 1.5rem; font-weight: 700; color: #1f6f6a; }
.kt-more input[type="file"] { display: block; width: 100%; padding: 1rem; font: inherit; font-size: 1.4rem; background: #fff; border-radius: 10px; }
.kt-photos { display: grid; grid-template-columns: 1fr; gap: 1rem; }

/* 同意・ボット対策・送信 */
.kt-consent { margin: 0 0 2.4rem; padding: 1.6rem 1.8rem; font-size: 1.4rem; line-height: 1.9; background: #fff; border-radius: 10px; }
.kt-consent .wpcf7-list-item label { box-shadow: none; padding: 0; min-height: 0; background: transparent; border: 0; }
.kt-consent__text { margin: 0 0 1.2rem; }
.kt-consent a { color: #1f6f6a; text-decoration: underline; }
.kt-form .wpcf7-turnstile { display: flex; justify-content: center; margin: 0 0 1.2rem; }

.kt-submit { text-align: center; margin: 0; }
.kt-form .kt-btn,
.kt-form .wpcf7-submit { display: block; width: 100%; max-width: 36rem; margin: 0 auto; padding: 1.7rem 2rem; font: inherit; font-size: 1.8rem; font-weight: 700; letter-spacing: 0.2em; color: #fff; background: #1f6f6a; border: 0; border-radius: 50px; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.kt-form .kt-btn:hover:not(:disabled),
.kt-form .wpcf7-submit:hover:not(:disabled) { background: #17524e; box-shadow: 0 7px 8px rgb(0 0 0 / 20%); transform: translateY(-2px); }
.kt-form .kt-btn:focus-visible,
.kt-form .wpcf7-submit:focus-visible { outline: 3px solid #e8b647; outline-offset: 3px; }
.kt-form .kt-btn:disabled,
.kt-form .wpcf7-submit:disabled { background: #6f7c7b; cursor: not-allowed; }
.kt-status { display: block; min-height: 2.4rem; margin-top: 1rem; font-size: 1.3rem; text-align: center; color: #3d4349; }

/* 入力エラー・送信結果 */
.kt-form .wpcf7-not-valid { border-color: #b3261e; }
.kt-form .wpcf7-not-valid-tip { display: block; margin-top: 0.7rem; font-size: 1.4rem; font-weight: 700; line-height: 1.6; color: #b3261e; }
.kt-form .wpcf7-response-output { margin: 2.4rem 0 0; padding: 1.4rem 1.8rem; font-size: 1.5rem; line-height: 1.8; border: 2px solid #b3261e; border-radius: 10px; background: #fff; }
.kt-form.sent .wpcf7-response-output { border-color: #1f6f6a; }
.kt-form .wpcf7-spinner { display: none; }
.kt-form.submitting .kt-btn { opacity: 0.7; }

/* 電話のご案内 */
.kt-tel { max-width: 78rem; margin: 5rem auto 0; padding: 2.4rem 2rem; background: linear-gradient(210deg, rgb(147 150 80 / 25%), transparent 70%), linear-gradient(148deg, rgb(105 176 172 / 25%), transparent 70%), linear-gradient(350deg, rgb(232 182 71 / 25%), transparent 70%); border-radius: 10px; }
.kt-tel p { margin: 0; }
.kt-tel__lead { font-size: 1.5rem; font-weight: 700; }
.kt-tel__num { font-size: 3.2rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.08em; }
.kt-tel__num a { color: #111; }
.kt-tel__time,
.kt-tel__more { font-size: 1.4rem; line-height: 1.9; }
.kt-tel a { text-decoration: underline; }

/* お礼ページ */
.kt-thanks__title { margin: 0 0 2.4rem; font-size: 2.4rem; font-weight: 700; }
.kt-thanks__steps { max-width: 56rem; margin: 3rem auto; text-align: left; counter-reset: kt; }
.kt-thanks__steps li { position: relative; margin: 0 0 1.6rem; padding: 1.4rem 1.6rem 1.4rem 5.4rem; background: #fff; border-radius: 10px; line-height: 1.8; counter-increment: kt; }
.kt-thanks__steps li::before { content: counter(kt); position: absolute; left: 1.4rem; top: 1.4rem; width: 3rem; height: 3rem; line-height: 3rem; text-align: center; font-weight: 700; color: #fff; background: #1f6f6a; border-radius: 50%; }
.kt-thanks__steps strong { display: block; font-size: 1.5rem; }
.kt-thanks__steps span { font-size: 1.4rem; }
.kt-thanks__note { font-size: 1.4rem; line-height: 1.9; }
.kt-thanks__tel { margin: 2rem 0 3rem; font-size: 2.8rem; font-weight: 700; line-height: 1.5; }
.kt-thanks__tel span { display: block; font-size: 1.3rem; font-weight: 500; }
.kt-thanks__tel a { color: #111; }

@media screen and (min-width: 821px) {
    .kt-form .wpcf7-radio { grid-template-columns: 1fr 1fr; }
    .kt-form .wpcf7-checkbox { grid-template-columns: 1fr 1fr 1fr; }
    .kt-photos { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .kt-form * { transition: none !important; }
}

/* 画面には出さず、読み上げにだけ使う */
.kt-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
