/* Main LP thank-you design: completed steps, white boxes, orange callout. */
:root { color-scheme: light; font-family: "Noto Sans JP", sans-serif; --ink: #333; --muted: #666; --accent: #FF8C00; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { color: var(--ink); background: #777579; line-height: 1.6; overflow: hidden; }
.thanks-shell { display: flex; flex-direction: column; width: 100%; max-width: 480px; height: 100vh; height: 100dvh; margin-inline: auto; background: #E6F3F8; box-shadow: 0 0 40px #17121924; }
p, h1, h2, ul, ol { margin: 0; }
.preview-notice { flex-shrink: 0; background: #8d626a; color: #fff; text-align: center; font-size: 10px; padding: 4px 6px; }
.thanks-header { display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 8px 16px; background: #fff; box-shadow: 0 1px 3px #0002; }
.thanks-header img { display: block; width: 214px; max-width: 75%; height: auto; }
.thanks-main { display: flex; align-items: flex-start; justify-content: center; flex: 1; min-height: 0; padding: 12px; }
.thanks-container { width: 100%; max-width: 400px; max-height: 100%; }
.thanks-steps { display: flex; justify-content: center; gap: 10px; list-style: none; padding: 0; margin-bottom: 12px; }
.thanks-steps li { position: relative; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; }
.thanks-steps li:not(:last-child)::after { content: ""; position: absolute; top: calc(50% - 1px); left: 100%; width: 10px; height: 2px; background: var(--accent); }
.thanks-card { padding: 18px; border-radius: 8px; background: #fff; box-shadow: 0 1px 5px #0002; }
.thanks-heading { text-align: center; }
h1 { color: #555; font-size: 19px; line-height: 1.5; font-weight: 700; }
h1::before { content: "■"; color: var(--accent); margin-right: 4px; }
.thanks-lead { margin-top: 12px; font-size: 14px; color: #555; line-height: 1.8; }
.thanks-lead strong { color: #333; font-weight: 700; }
.thanks-guide { display: grid; gap: 12px; margin-top: 18px; }
.guide-section { padding: 12px; border: 1px solid #e0e0e0; border-radius: 8px; text-align: left; }
.guide-section h2 { margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px dashed #ddd; font-size: 15px; font-weight: 700; line-height: 1.6; }
.guide-section h2::before { content: "■"; color: var(--accent); margin-right: 4px; }
.guide-section p, .guide-section ul { font-size: 13px; line-height: 1.75; color: #555; }
.guide-section ul { padding: 0; list-style: none; }
.guide-section li { position: relative; padding-left: 14px; }
.guide-section li::before { content: "・"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.guide-section li + li { border-top: 1px dotted #e5e5e5; margin-top: 4px; padding-top: 4px; }
.guide-call { border: 2px solid var(--accent); background: #FFFBF5; }
.guide-call h2 { color: var(--accent); border-bottom-color: #FFD9A0; }
.multiple-note { margin-top: 12px; color: #888; font-size: 11px; line-height: 1.6; }
.thanks-footer { flex-shrink: 0; padding: 3px 12px max(5px, env(safe-area-inset-bottom)); text-align: center; background: #fff; }
.thanks-footer a { display: inline-flex; align-items: center; min-height: 32px; padding: 3px 10px; color: var(--muted); font-size: 12px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #1764ae; outline-offset: 3px; }
@media (max-height: 740px) {
  .thanks-main { padding: 10px 12px; }
  .thanks-card { padding: 12px; }
  .thanks-steps { margin-bottom: 10px; gap: 8px; }
  .thanks-steps li { width: 32px; height: 32px; font-size: 9px; }
  .thanks-steps li:not(:last-child)::after { width: 8px; }
  h1 { font-size: 18px; }
  .thanks-lead { font-size: 13px; margin-top: 10px; line-height: 1.6; }
  .thanks-guide { margin-top: 12px; gap: 8px; }
  .guide-section { padding: 8px 10px; }
  .guide-section h2 { font-size: 13px; margin-bottom: 5px; padding-bottom: 4px; }
  .guide-section p, .guide-section ul { font-size: 12px; line-height: 1.5; }
  .guide-section li + li { margin-top: 2px; padding-top: 2px; }
  .multiple-note { margin-top: 8px; font-size: 10px; }
}
@media (max-height: 590px) {
  .preview-notice { padding-block: 2px; }
  .thanks-header { padding: 6px 12px; }
  .thanks-header img { width: auto; height: 32px; max-width: 75%; }
  .thanks-main { padding: 8px 12px; }
  .thanks-card { padding: 10px; }
  .thanks-steps { margin-bottom: 8px; }
  .thanks-steps li { width: 30px; height: 30px; }
  h1 { font-size: 16px; }
  .thanks-lead { font-size: 12px; margin-top: 8px; }
  .thanks-guide { margin-top: 10px; gap: 7px; }
  .guide-section { padding: 7px 8px; }
  .guide-section h2 { line-height: 1.45; margin-bottom: 4px; }
  .thanks-footer { padding-block: 0; }
  .thanks-footer a { min-height: 28px; font-size: 11px; }
}
