/* LP04 送信前の確認画面 */
.lp04-confirm {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
}
.lp04-confirm[hidden] { display: none; }
body.lp04-confirm-open { overflow: hidden; }

.lp04-confirm__panel {
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px 24px 24px;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}
.lp04-confirm__ttl {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.lp04-confirm__lead {
  margin: 0 0 20px;
  font-size: 14px;
  text-align: center;
}
.lp04-confirm__list {
  display: grid;
  grid-template-columns: 11em 1fr;
  margin: 0;
  border-top: 1px solid #ddd;
}
.lp04-confirm__list dt,
.lp04-confirm__list dd {
  margin: 0;
  padding: 10px 8px;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}
.lp04-confirm__list dt { font-weight: bold; background: #f6f6f6; }
.lp04-confirm__list dd { white-space: pre-wrap; word-break: break-all; }
.lp04-confirm__list dd.is-empty { color: #888; }

.lp04-confirm__error {
  white-space: pre-line;
  margin: 16px 0 0;
  padding: 12px;
  border-radius: 4px;
  background: #fdecea;
  color: #b3261e;
  font-size: 15px;
  font-weight: bold;
}
/* 長い確認内容でもボタンが常に見えるよう、パネル下端に固定 */
.lp04-confirm__btns {
  position: sticky;
  bottom: -24px;
  display: flex;
  gap: 12px;
  margin: 24px -24px -24px;
  padding: 16px 24px 24px;
  background: #fff;
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.06);
}
.lp04-confirm__btns button {
  flex: 1;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.lp04-confirm__back { background: #e5e5e5; color: #333; }
.lp04-confirm__send { background-image: linear-gradient(to top, #df554f, #db3528); color: #fff; }
.lp04-confirm__send:disabled { opacity: 0.6; cursor: wait; }

.lp04-inline-error {
  margin: 8px 0 0;
  color: #b3261e;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}
.lp04-turnstile { display: flex; justify-content: center; margin-top: 20px; }
.lp04-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .lp04-confirm__panel { padding: 20px 16px 16px; }
  .lp04-confirm__list { grid-template-columns: 1fr; }
  .lp04-confirm__list dt { border-bottom: 0; padding-bottom: 2px; }
  .lp04-confirm__list dd { padding-top: 2px; }
  .lp04-confirm__btns { bottom: -16px; margin: 16px -16px -16px; padding: 12px 16px 16px; flex-direction: column-reverse; gap: 8px; }
  .lp04-confirm__btns button { min-height: 48px; }
}
