/* ===== 申込フォーム（全画面） ===== */
.app{position:fixed;inset:0;z-index:40;background:#f4f7f6;display:none;flex-direction:column}
.app.on{display:flex;animation:appIn .28s cubic-bezier(.2,.8,.2,1)}
@keyframes appIn{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.app-hd{flex:none;background:#fff;border-bottom:1px solid #e3ebe8}
.app-hd .in{max-width:480px;margin:0 auto;display:flex;align-items:center;gap:8px;padding:10px 12px}
.app-hd .logo{font-weight:900;color:var(--g);letter-spacing:.02em;font-size:18px}
.app-hd .back,.app-hd .x{border:0;background:none;font-size:22px;line-height:1;color:#666;width:36px;height:36px;cursor:pointer}
.app-hd .back[hidden]{visibility:hidden;display:block}
.app-hd .ttl{flex:1;text-align:center;font-size:13px;font-weight:700;color:#333}
.prog{max-width:480px;margin:0 auto;padding:0 12px 10px}
.prog .bar{height:6px;border-radius:3px;background:#e3ebe8;overflow:hidden}
.prog .bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--g3),var(--g));border-radius:3px;transition:width .45s cubic-bezier(.2,.8,.2,1)}
.prog .lbl{display:flex;justify-content:space-between;font-size:10px;color:#888;margin-top:5px;font-weight:700}
.prog .lbl span.on{color:var(--g)}
.app-bd{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}
.app-bd .in{max-width:480px;margin:0 auto;padding:18px 16px 120px}
.app-ft{flex:none;background:#fff;border-top:1px solid #e3ebe8;box-shadow:0 -4px 14px rgba(0,0,0,.05)}
.app-ft .in{max-width:480px;margin:0 auto;padding:10px 16px calc(12px + env(safe-area-inset-bottom))}
.step{display:none}
.step.on{display:block;animation:stIn .3s ease}
@keyframes stIn{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
.step h2{font-size:20px;font-weight:900;line-height:1.4;margin-bottom:4px}
.step .sub{font-size:13px;color:#666;margin-bottom:16px}
.demo{background:#fff8d6;border:1px solid #f1d36b;color:#7a5a00;font-size:12px;font-weight:700;border-radius:8px;padding:8px 10px;margin-bottom:14px}
.done-badge{display:flex;align-items:center;gap:8px;background:#e6f6f0;color:var(--g2);font-weight:800;font-size:14px;border-radius:8px;padding:10px 12px;margin-bottom:16px}
.done-badge::before{content:"✓";display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--g);color:#fff;font-size:13px}

.q{background:#fff;border-radius:12px;padding:14px;margin-bottom:12px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.q > label,.q .lb{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:800;margin-bottom:8px}
.req{font-size:10px;background:#e64d32;color:#fff;border-radius:3px;padding:1px 5px;font-weight:800}
.opt-tag{font-size:10px;background:#e3ebe8;color:#555;border-radius:3px;padding:1px 5px;font-weight:800}
.hint{font-size:11px;color:#888;margin-top:6px;line-height:1.5}
.err{font-size:12px;color:#e64d32;font-weight:700;margin-top:6px;display:none}
.q.bad .err{display:block}
.q.bad input,.q.bad select,.q.bad textarea{border-color:#e64d32;background:#fff6f4}
.q.ok > label::after,.q.ok .lb::after{content:"✓";color:var(--g);font-weight:900;margin-left:auto}
input[type=text],input[type=tel],input[type=email],input[type=date],input[type=number],select,textarea{width:100%;font-size:16px;font-family:inherit;padding:12px;border:2px solid #dfe7e4;border-radius:8px;background:#fff;color:#111;appearance:none;-webkit-appearance:none}
textarea{min-height:84px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--g);box-shadow:0 0 0 3px rgba(0,149,109,.12)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.row3{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:6px}
.chips{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chips.one{grid-template-columns:1fr}
.chips button{font-family:inherit;text-align:left;padding:13px 12px;border:2px solid #dfe7e4;border-radius:10px;background:#fff;font-size:15px;font-weight:700;color:#111;cursor:pointer;transition:border-color .15s,background .15s,transform .1s;position:relative;line-height:1.3}
.chips button small{display:block;font-size:11px;color:#777;font-weight:600;margin-top:2px}
.chips button:active{transform:scale(.98)}
.chips button.sel{border-color:var(--g);background:#effaf6}
.chips button.sel::after{content:"✓";position:absolute;right:10px;top:50%;margin-top:-11px;width:22px;height:22px;border-radius:50%;background:var(--g);color:#fff;font-size:12px;display:grid;place-items:center}
.chips button.ngopt{color:#666}
.check{display:flex;gap:8px;align-items:flex-start;font-size:13px;cursor:pointer}
.check input{width:20px;height:20px;accent-color:var(--g);flex:none;margin-top:1px}
.check a{color:var(--g)}
.more{border:0;background:none;color:var(--g);font-size:12px;font-weight:700;padding:4px 0;cursor:pointer}
.ngbox{background:#fff;border:2px solid #e64d32;border-radius:12px;padding:16px;margin-top:4px}
.ngbox b{color:#c0392b}
.price-box{background:#fff;border:2px solid var(--g);border-radius:12px;padding:14px;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.price-box .nm{font-size:13px;font-weight:700}
.price-box .nm small{display:block;font-size:11px;color:#777;font-weight:600}
.price-box .yen{font-size:26px;font-weight:900;color:var(--g)}
.price-box .yen small{font-size:11px;color:#777}
.pay{display:grid;gap:8px}
.pay button{display:flex;align-items:center;gap:10px;font-family:inherit;text-align:left;padding:14px;border:2px solid #dfe7e4;border-radius:10px;background:#fff;font-size:15px;font-weight:800;cursor:pointer}
.pay button .ico{width:34px;height:24px;border-radius:4px;background:#eef3f1;display:grid;place-items:center;font-size:11px;font-weight:900;color:#555}
.pay button small{display:block;font-size:11px;color:#777;font-weight:600}
.pay button.sel{border-color:var(--g);background:#effaf6}
.paydetail{background:#fff;border-radius:12px;padding:14px;margin-top:10px;font-size:13px;color:#444}
.placeholder{border:2px dashed #c9d6d1;border-radius:8px;padding:14px;text-align:center;color:#8a9a94;font-size:12px;font-weight:700}
.secure{display:flex;gap:6px;justify-content:center;font-size:11px;color:#777;margin-top:8px}
.cta-next{display:flex;align-items:center;justify-content:center;width:100%;min-height:58px;border:0;border-radius:10px;font-family:inherit;font-size:18px;font-weight:900;color:#fff;cursor:pointer;background:linear-gradient(180deg,var(--g3),var(--g) 55%,#008a65);box-shadow:0 4px 0 var(--g2);transition:transform .1s,opacity .2s}
.cta-next:active{transform:translateY(3px);box-shadow:0 1px 0 var(--g2)}
.cta-next[disabled]{opacity:.45;box-shadow:0 4px 0 #9bb;cursor:default}
.cta-next small{font-size:11px;font-weight:700;margin-left:6px;opacity:.9}
.ft-note{text-align:center;font-size:11px;color:#888;margin-top:6px}
.fin{text-align:center}
.fin .no{display:inline-block;background:#fff;border:2px dashed var(--g);border-radius:10px;padding:10px 18px;margin:8px 0 16px;font-size:13px}
.fin .no b{display:block;font-size:24px;letter-spacing:.06em;color:var(--g)}
.linesteps{text-align:left;background:#fff;border-radius:12px;padding:14px;margin-bottom:12px}
.linesteps li{list-style:none;display:flex;gap:10px;align-items:flex-start;padding:8px 0;font-size:14px;font-weight:700}
.linesteps li i{flex:none;width:24px;height:24px;border-radius:50%;background:var(--line);color:#fff;font-style:normal;font-size:13px;display:grid;place-items:center}
.btn-linebig{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:58px;border-radius:10px;background:var(--line);color:#fff;font-weight:900;font-size:17px;text-decoration:none;box-shadow:0 4px 0 var(--line2);margin-bottom:10px}
.btn-linesub{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;border-radius:10px;border:2px solid var(--line);color:var(--line2);font-weight:800;font-size:15px;text-decoration:none;background:#fff}
.confirm{background:#fff;border:2px solid #dfe7e4;border-radius:12px;padding:14px;margin-bottom:12px;font-size:12px}
.confirm .ct{font-weight:900;font-size:14px;margin-bottom:8px}
.confirm dl{display:grid;grid-template-columns:84px 1fr;gap:6px 8px}
.confirm dt{color:#777;font-weight:700}
.confirm dd{color:#222;line-height:1.5}
.confirm dd small{color:#888}
.confirm a{color:var(--g)}
.ct-foot{margin-top:10px;font-size:11px;color:#777}
