/* 確認・完了ページ専用。LP本体CSSのキャッシュに依存しない最小構成 */
html{box-sizing:border-box;max-width:100%;overflow-x:hidden}
*,*::before,*::after{box-sizing:inherit}
body.lpx-form-page{margin:0;min-height:100vh;max-width:100%;overflow-x:hidden;background:#f7f4ea;color:#14372d;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
.lpx-form-page a{color:inherit}
.lpx-form-page-header{min-height:76px;padding:12px max(20px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border-top:3px solid #c59c41;box-shadow:0 6px 22px rgba(19,55,45,.08)}
.lpx-form-page-brand{display:flex;align-items:center;min-width:0;gap:10px;text-decoration:none}
.lpx-form-page-brand>span:last-child{display:flex;min-width:0;flex-direction:column}
.lpx-form-page-header b{font-size:18px;line-height:1.2;white-space:nowrap}
.lpx-form-page-header small{font-size:9px;letter-spacing:.08em;color:#718078;white-space:nowrap}
.lpx-form-logo-img{display:block;flex:none;width:46px;height:46px;object-fit:contain}
.lpx-form-header-diagnosis{display:flex;flex:none;align-items:center;justify-content:center;min-width:142px;min-height:48px;padding:10px 18px;border-radius:2px;background:#d1a94f;color:#fff!important;font-size:14px;font-weight:800;text-decoration:none;box-shadow:0 7px 20px rgba(178,137,43,.18)}
.lpx-form-page-main{width:min(920px,calc(100% - 32px));margin:0 auto;padding:44px 0 64px}
.lpx-form-steps{list-style:none;margin:0 auto 24px;padding:0;display:flex;justify-content:center;max-width:620px}
.lpx-form-steps li{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;gap:6px;color:#809087;font-size:13px;font-weight:700}
.lpx-form-steps li:not(:last-child)::after{content:"";position:absolute;top:16px;left:62%;width:76%;height:2px;background:#d9ddd8}
.lpx-form-steps li b{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e3e7e3;color:#6d7e75;font-size:14px}
.lpx-form-steps li.is-current{color:#0d392d}.lpx-form-steps li.is-current b{background:#0d392d;color:#fff;box-shadow:0 0 0 4px rgba(197,156,65,.22)}
.lpx-form-steps li.is-done{color:#8a6a20}.lpx-form-steps li.is-done b{background:#c59c41;color:#fff}.lpx-form-steps li.is-done:not(:last-child)::after{background:#c59c41}
.lpx-confirm-card,.lpx-thanks-card{background:#fff;border-top:4px solid #0d392d;border-radius:5px;box-shadow:0 14px 42px rgba(20,55,45,.1);padding:40px 46px}
.lpx-confirm-card>.en,.lpx-thanks-card>.en{text-align:center;margin:0 0 8px;color:#b1872c;font-size:12px;font-weight:800;letter-spacing:.22em}
.lpx-confirm-card h1,.lpx-thanks-card h1{text-align:center;margin:0;color:#14372d;font-size:clamp(23px,5vw,33px);line-height:1.45;overflow-wrap:anywhere}
.lpx-confirm-lead,.lpx-thanks-lead{max-width:670px;margin:12px auto 28px;text-align:center;color:#5e6e66;font-size:15px;line-height:1.8;line-break:strict;word-break:auto-phrase;text-wrap:pretty}
.lpx-confirm-list{margin:0;border-top:1px solid #dce2de}
.lpx-confirm-list>div{display:grid;grid-template-columns:180px minmax(0,1fr);border-bottom:1px solid #dce2de}
.lpx-confirm-list dt{padding:15px 18px;background:#f1f5f2;font-weight:800;color:#24483e}
.lpx-confirm-list dd{min-width:0;margin:0;padding:15px 20px;line-height:1.75;overflow-wrap:anywhere}
.lpx-confirm-actions,.lpx-thanks-actions{display:flex;justify-content:center;gap:12px;margin-top:30px}
.lpx-confirm-actions .btn,.lpx-thanks-actions .btn{display:flex;align-items:center;justify-content:center;min-width:210px;min-height:50px;padding:12px 18px;border:2px solid #123f32;border-radius:3px;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}
.lpx-confirm-actions .btn-primary,.lpx-thanks-actions .btn-primary{background:#123f32;color:#fff}.lpx-confirm-actions .btn-ghost,.lpx-thanks-actions .btn-ghost{background:#fff;color:#123f32}
.lpx-submit-note{text-align:center;margin:14px 0 0;color:#718078;font-size:13px;line-height:1.6}
.lpx-form-page-hurry{text-align:center;margin:18px 0 0;padding:13px;border:1px solid #e0d3ad;border-radius:7px;background:#f2ead3;font-size:14px;font-weight:700;line-height:1.7;line-break:strict;word-break:auto-phrase;text-wrap:balance}.lpx-form-page-hurry a{color:#8a681c;white-space:nowrap}.lpx-no-wrap{white-space:nowrap}
.lpx-thanks-card{text-align:center}.lpx-thanks-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 18px;border-radius:50%;background:#0d392d;color:#fff;font-size:36px;font-weight:700}.lpx-thanks-card.is-error{border-color:#a44336}.lpx-thanks-card.is-error .lpx-thanks-icon{background:#a44336}
.lpx-thanks-reference{display:inline-block;margin:-10px auto 20px;padding:8px 13px;border-radius:4px;background:#f4ecd6;color:#66511f;font-size:13px}
.lpx-thanks-info{max-width:650px;margin:26px auto 0;padding:20px 22px;text-align:left;background:#f1f5f2;border-radius:6px;line-height:1.75}.lpx-thanks-info b{display:block;margin-bottom:5px}.lpx-thanks-info p{margin:0;color:#52655c;overflow-wrap:anywhere;line-break:strict;word-break:auto-phrase;text-wrap:pretty}.lpx-thanks-info span{font-weight:700;color:#14372d}

@media (max-width:640px){
  .lpx-form-page-header{min-height:62px;padding:8px 12px;gap:8px}
  .lpx-form-logo-img{width:40px;height:40px}
  .lpx-form-page-header b{font-size:14px}.lpx-form-page-header small{font-size:6px}
  .lpx-form-header-diagnosis{min-width:112px;min-height:42px;padding:8px 12px;font-size:12px}
  .lpx-form-page-main{width:calc(100% - 24px);padding:28px 0 44px}
  .lpx-form-steps{margin-bottom:18px}.lpx-form-steps li{font-size:11px}.lpx-form-steps li b{width:30px;height:30px;font-size:13px}.lpx-form-steps li:not(:last-child)::after{top:14px}
  .lpx-confirm-card,.lpx-thanks-card{padding:28px 16px}
  .lpx-confirm-card h1,.lpx-thanks-card h1{font-size:22px}
  .lpx-confirm-lead,.lpx-thanks-lead{margin-bottom:20px;font-size:14px;line-height:1.75}
  .lpx-confirm-list>div{display:block}.lpx-confirm-list dt{padding:9px 12px;font-size:13px}.lpx-confirm-list dd{padding:11px 12px;font-size:14px}
  .lpx-confirm-actions,.lpx-thanks-actions{flex-direction:column-reverse;gap:9px;margin-top:22px}.lpx-confirm-actions .btn,.lpx-thanks-actions .btn{width:100%;min-width:0;min-height:48px}
  .lpx-form-page-hurry{font-size:13px;padding:11px 10px}
  .lpx-thanks-info{padding:16px;font-size:14px}
}
@media (max-width:380px){
  .lpx-form-logo-img{width:34px;height:34px}.lpx-form-page-header b{font-size:12px}.lpx-form-page-header small{font-size:5.5px}.lpx-form-header-diagnosis{min-width:96px;min-height:38px;padding:7px 9px;font-size:11px}
  .lpx-form-page-main{width:calc(100% - 16px);padding-top:22px}
  .lpx-confirm-card,.lpx-thanks-card{padding:24px 12px}
  .lpx-confirm-card h1,.lpx-thanks-card h1{font-size:20px}
  .lpx-confirm-lead,.lpx-thanks-lead{font-size:13px}
}
@media (max-width:340px){
  .lpx-form-page-header{padding-inline:8px;gap:6px}
  .lpx-form-page-brand{gap:6px}
  .lpx-form-logo-img{width:30px;height:30px}
  .lpx-form-page-header b{font-size:11px;letter-spacing:-.04em}
  .lpx-form-page-header small{display:none}
  .lpx-form-header-diagnosis{min-width:88px;min-height:36px;padding:6px 7px;font-size:10.5px}
}
