/* 仮審査申込フォーム（hubride-lp の hubride-lp.css から移植・コーポレートの白×明朝に合わせて配色を調整）2026-10-24 */
:root { --hb-blue: #1940a5; --hb-blue-soft: #eef3ff; --hb-accent: #009316; }
.hbForm { display: flex; flex-direction: column; gap: 2rem; text-align: left; margin-top: 2.4rem; }
.hbForm__row { display: flex; flex-direction: column; gap: 0.8rem; }
.hbForm__row--half { flex-direction: row; gap: 1.2rem; }
.hbForm__row--half > div { flex: 1; display: flex; flex-direction: column; gap: 0.8rem; }
.hbForm__label { font-size: 1.5rem; font-weight: 700; line-height: 1.4; display: flex; align-items: center; gap: 0.8rem; }
.hbForm__label .req { font-size: 1.1rem; color: #fff; background: #e5484d; border-radius: 0.4rem; padding: 0.1rem 0.6rem; font-weight: 700; }
.hbForm__pair { display: flex; gap: 1rem; }
.hbForm__pair input { flex: 1; min-width: 0; }
.hbForm input[type=text], .hbForm input[type=tel], .hbForm input[type=number], .hbForm select {
  width: 100%; font: inherit; font-size: 1.6rem; padding: 1.2rem 1.4rem; border: 1px solid #c9ced8; border-radius: 0.8rem; background: #fff; color: #111; box-sizing: border-box;
}
.hbForm select { appearance: none; -webkit-appearance: none; padding-right: 5.2rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2rem center; background-size: 1.2rem auto; } /* 矢印を内側に（2026-10-24） */
.hbForm input:focus, .hbForm select:focus { outline: 2px solid var(--hb-blue); border-color: var(--hb-blue); }
.hbForm .is-error { border-color: #e5484d !important; background: #fff5f5 !important; }
.hbForm input.is-warn { border-color: #e65c00 !important; background: #fff7f0; }
.hbForm__kanaHint { margin: 0.6rem 0 0; font-size: 1.1rem; line-height: 1.5; color: #e65c00; }
.hbForm__unit { display: flex; align-items: center; gap: 0.6rem; }
.hbForm__unit span { font-size: 1.4rem; font-weight: 700; flex: none; }
.hbForm__choices { display: flex; gap: 1rem; }
.hbForm__radio, .hbForm__check { display: flex; align-items: center; gap: 0.6rem; font-size: 1.5rem; cursor: pointer; }
.hbForm__radio { flex: 1; border: 1px solid #c9ced8; border-radius: 0.8rem; padding: 1.1rem 1.4rem; background: #fff; }
.hbForm__radio:has(input:checked) { border-color: var(--hb-blue); background: var(--hb-blue-soft); font-weight: 700; }
.hbForm__radio input, .hbForm__check input { width: 2rem; height: 2rem; accent-color: var(--hb-blue); margin: 0; }
.hbForm__consent { white-space: pre-wrap; font-size: 1.2rem; line-height: 1.6; height: 12rem; overflow-y: auto; border: 1px solid #d9d9d9; border-radius: 0.8rem; padding: 1rem 1.2rem; background: #fafafa; color: #444; }
.hbForm__check { font-weight: 700; justify-content: center; gap: 0.8rem; font-size: 1.6rem; width: max-content; margin: 0.4rem auto 0; padding: 0.8rem 2rem; border: 2px solid #111; border-radius: 100rem; background: #fff; }
.hbForm__check input { width: 2.2rem; height: 2.2rem; }
.hbForm__check:has(input:checked) { border-color: var(--hb-blue); background: var(--hb-blue-soft); }
.hbForm__check:has(input.is-error) { border-color: #e5484d; background: #fff5f5; color: #c62828; box-shadow: 0 0 0 0.3rem rgba(229,72,77,0.18); }
.hbForm__car { background: var(--hb-blue-soft); border-radius: 0.8rem; padding: 1.2rem 1.4rem; }
.hbForm__carName { font-size: 1.8rem; font-weight: 700; }
.hbForm__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hbForm__error { color: #c62828; background: #fff5f5; border: 1px solid #f3c1c1; border-radius: 0.8rem; padding: 1rem 1.2rem; font-size: 1.4rem; font-weight: 700; line-height: 1.5; }
/* 送信ボタン：青系（ロロ指定 2026-10-24。LPのオレンジは使わない） */
.hbForm__submit { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #fff; padding: 1.4rem 2rem; border-radius: 100rem; background: linear-gradient(90deg, #2457c5 0%, #1940a5 100%); box-shadow: 0 0.4rem 0 #122f7a; transition: transform .15s, box-shadow .15s; }
.hbForm__submit:hover { transform: translateY(0.2rem); box-shadow: 0 0.2rem 0 #122f7a; }
.hbForm__submit:disabled { opacity: .7; cursor: wait; }
.hbForm__submitSub { font-size: 1.2rem; font-weight: 700; line-height: 1.25; padding: 0.2rem 1rem; border-radius: 100rem; background: #fff; color: #1940a5; white-space: nowrap; }
.hbForm__submitText { font-size: 1.8rem; line-height: 1.3; }
.hbForm__submit.is-sending .hbForm__submitSub { visibility: hidden; }
.hbForm__note { font-size: 1.2rem; color: #707070; text-align: center; line-height: 1.7; }
/* 2ステップ */
.hbForm__progress { display: flex; gap: 0.8rem; list-style: none; padding: 0; margin: 0; }
.hbForm__progress li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 1rem 0.4rem; border-radius: 0.8rem; background: #eef0f4; color: #8a8f99; font-size: 1.3rem; font-weight: 700; }
.hbForm__progress li span { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #c9ced8; color: #fff; font-size: 1.2rem; }
.hbForm__progress li.is-current { background: #e8f6ec; color: var(--hb-accent); }
.hbForm__progress li.is-current span { background: var(--hb-accent); }
.hbForm__progress li.is-done { background: #eee; color: #555; }
.hbForm__progress li.is-done span { background: #111; }
.hbForm__step { display: flex; flex-direction: column; gap: 2rem; }
.hbForm__step[hidden] { display: none; }
.hbForm__stepLead { font-size: 1.5rem; font-weight: 700; text-align: center; line-height: 1.5; }
.hbForm__stepLead strong { color: var(--hb-accent); font-size: 1.9rem; }
.hbForm__contactNote { font-size: 1.2rem; line-height: 1.5; color: #444; }
.hbForm__contactNote a { color: var(--hb-blue); text-decoration: underline; }
.hbForm__back { border: 0; background: none; font: inherit; font-size: 1.3rem; color: #707070; text-decoration: underline; cursor: pointer; align-self: center; padding: 0.4rem; }
/* ページ枠 */
.applyWrap { max-width: 64rem; margin: 0 auto; }
.applyBox { padding: 3.2rem; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.applyBox__t { font-family: var(--f-serif); font-size: 2rem; font-weight: 600; text-align: center; }
.applyAlt { margin-top: 2.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.applyAlt a { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 1.6rem; border: 1px solid var(--c-line); border-radius: var(--radius); text-decoration: none; color: var(--c-text); font-weight: 700; font-size: 1.4rem; }
.applyAlt small { font-weight: 500; color: var(--c-muted); font-size: 1.1rem; }
@media (max-width: 767px) { .applyBox { padding: 2rem 1.6rem; } .applyAlt { grid-template-columns: 1fr; } .hbForm__choices { flex-direction: column; } }
