/* site25 の style.css に無い、CMS 化で増えた表示（お問い合わせの受付・入力エラー） */
.form-done { position: relative; z-index: 2; padding: 120px 0 0; }
.form-done p { padding: 20px 28px; border-radius: 16px; background: var(--g-pale); color: var(--g-text); font-weight: 700; line-height: 1.8; }
.form-done b { display: block; font-size: 18px; color: var(--ink); }
.form-errors { margin-bottom: 28px; padding: 18px 24px; border-radius: 12px; background: #fdecea; color: #b3261e; }
.form-errors p { font-weight: 700; }
.form-errors ul { margin-top: 6px; padding-left: 1.2em; list-style: disc; font-size: 14px; line-height: 1.9; }
@media (max-width: 1079.98px) { .form-done { padding-top: 96px; } .form-errors ul { font-size: 15px; } }

/* 査定依頼（/satei）：3 ステップのフォームとカメラ */
.appr { padding-top: calc(var(--hd) + 60px); }
.appr .h2m { margin: 8px 0 20px; }
.appr-done { margin-top: 28px; padding: 20px 28px; border-radius: 16px; background: var(--g-pale); color: var(--g-text); font-weight: 700; line-height: 1.8; }
.appr-done b { display: block; font-size: 18px; color: var(--ink); }
.appr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 36px; counter-reset: none; }
.appr-steps li { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px; background: #fff; color: var(--gray); font-size: 13px; font-weight: 700; line-height: 1.5; transition: background-color .3s var(--e3), color .3s var(--e3); }
.appr-steps li .en { font-size: 18px; }
.appr-steps li.is-current { background: var(--g); color: #fff; }
.appr-steps li.is-done { background: var(--g-pale); color: var(--g-text); }
.appr-form { margin-top: 20px; }
.appr-panel { margin: 0; padding: 0; border: 0; min-width: 0; }
.appr-legend { padding: 0; font-size: 18px; font-weight: 700; color: var(--g-text); }
.js-appr .appr-panel:not(.is-active) { display: none; }
.appr-panel + .appr-panel { margin-top: 48px; }
.js-appr .appr-panel + .appr-panel { margin-top: 0; }
.appr-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
.appr-nav .btn { min-width: 0; }
.appr-nav .btn:not(.btn--g) { background: var(--bg); justify-content: center; min-width: 120px; }
.appr-nav .btn--g { flex: 0 1 280px; }
.appr-alert { margin-bottom: 24px; padding: 16px 22px; border-radius: 12px; background: #fdecea; color: #b3261e; font-size: 14px; font-weight: 700; line-height: 1.8; }
.appr-alert ul { margin-top: 4px; padding-left: 1.2em; list-style: disc; font-weight: 400; }
.form .is-invalid { outline: 2px solid #d93025; outline-offset: 1px; }
.appr-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.appr-cal label { cursor: pointer; }
.appr-cal input { position: absolute; opacity: 0; }
.appr-cal span { display: grid; justify-items: center; padding: 6px 0; border-radius: 10px; background: var(--bg); line-height: 1.3; transition: background-color .3s var(--e3), color .3s var(--e3); }
.appr-cal small { font-size: 10px; }
.appr-cal b { font-size: 18px; }
.appr-cal .is-sun small:last-child { color: #d93025; }
.appr-cal .is-sat small:last-child { color: #1a73e8; }
.appr-cal input:checked + span { background: var(--g); color: #fff; }
.appr-cal input:checked + span small { color: #fff !important; }
.appr-cal input:disabled + span { opacity: .35; cursor: not-allowed; }
.appr-cal input:focus-visible + span { outline: 2px solid var(--g-text); }
.appr-clear { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--g-text); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.appr-cam { position: relative; margin-top: 20px; border-radius: 16px; overflow: hidden; background: #111; }
.appr-cam-video { display: block; width: 100%; max-height: 60vh; object-fit: contain; }
.appr-cam-btns { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; align-items: center; }
.appr-shutter { width: 68px; height: 68px; border-radius: 50%; border: 5px solid rgba(255,255,255,.6); background: #fff; background-clip: padding-box; cursor: pointer; transition: transform .15s; }
.appr-shutter:active { transform: scale(.9); }
.appr-cam-close { position: absolute; right: 16px; padding: 6px 12px; border: 0; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
/* 光る演出の層はボタンの上に重なるので、タップを通す（通さないと 2 枚目から撮れなくなる） */
.appr-cam.is-flash::after { content: ""; position: absolute; inset: 0; background: #fff; pointer-events: none; animation: appr-flash .3s ease-out forwards; }
@keyframes appr-flash { from { opacity: .8; } to { opacity: 0; } }
.appr-photo-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.appr-photo-btns .btn { min-width: 0; flex: 1 1 240px; }
.appr-file-btn { position: relative; justify-content: center; cursor: pointer; }
.appr-file-btn:not(.btn--g) { background: var(--bg); }
.appr-file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.appr-file-btn:focus-within { outline: 2px solid var(--g-text); }
.appr-photo-count { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--g-text); }
.appr-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.appr-thumbs li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg); }
.appr-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.appr-thumbs button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.appr-complete { margin-top: 20px; padding: 56px 40px; background: #fff; border-radius: 32px; text-align: center; }
.appr-complete .en { font-size: 13px; font-weight: 700; color: var(--g-text); }
.appr-complete h2 { margin: 8px 0 16px; font-size: clamp(20px, 2vw, 24px); }
.appr-complete .txt { margin: 0 auto; }
.appr-complete .center { margin-top: 32px; }
.appr-complete a:not(.btn) { color: var(--g-text); text-decoration: underline; }
.appr-contact-link { margin-top: 32px; font-size: 13px; text-align: center; }
.appr-contact-link a { color: var(--g-text); text-decoration: underline; }
.appr-form.is-sending { opacity: .6; pointer-events: none; }
/* JS が動かないと確認画面を出せないので、フォームごと隠す（<noscript> で案内） */
.appr-form:not(.js-appr) { display: none; }
.appr-alert a { color: inherit; text-decoration: underline; }
/* ステップ 4：入力内容の確認 */
.appr-confirm { display: grid; gap: 24px; margin-top: 24px; }
.appr-confirm-sec { border: 1px solid #eceee8; border-radius: 16px; padding: 20px 24px; }
.appr-confirm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.appr-confirm-head h3 { font-size: 15px; color: var(--g-text); }
.appr-confirm-edit { padding: 4px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.appr-confirm-edit:hover { background: var(--g-pale); }
.appr-confirm dl { display: grid; grid-template-columns: 180px 1fr; }
.appr-confirm dt, .appr-confirm dd { padding: 10px 0; border-top: 1px solid #eceee8; font-size: 14px; line-height: 1.8; }
.appr-confirm dt { font-weight: 700; }
.appr-confirm dd { white-space: pre-wrap; word-break: break-word; }
.appr-confirm dl > :nth-child(-n+2) { border-top: 0; }
.appr-confirm .appr-thumbs { margin-top: 4px; }
.appr-confirm-empty { color: var(--gray); }
@media (max-width: 1079.98px) {
  .appr { padding-top: calc(var(--hd) + 32px); }
  .appr-steps li { flex-direction: column; gap: 2px; padding: 10px 6px; font-size: 11px; text-align: center; }
  .appr-cal { gap: 4px; }
  .appr-confirm-sec { padding: 16px; }
  .appr-confirm dl { grid-template-columns: 1fr; }
  .appr-confirm dt { padding-bottom: 0; }
  .appr-confirm dd { padding-top: 2px; border-top: 0; }
  .appr-cal b { font-size: 16px; }
  .appr-complete { padding: 40px 22px; border-radius: 20px; }
}

/* ボット対策の罠の入力欄（FormBotGuard）。人には見せず、読み上げもしない */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* hidden 属性を .btn（display:inline-flex）などより強くする。カメラのボタン・完了後のステップ表示が消えないのを防ぐ */
.appr [hidden] { display: none !important; }
