:root{--paper:#fffdf9;--bg:#ead4a7;--gold:#c4a061;--gold-soft:#f4ead7;--brown:#3f2d23;--muted:#75685e;--rule:#e3d5c2;--red:#93483f;--line:#06c755;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic","Noto Sans JP",sans-serif;color:#382e28;background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;font-weight:500;line-height:1.7;background:linear-gradient(145deg,#dfc181,#f2e3c2 50%,#d2ad64)}button,select,input,textarea{font:inherit;color:inherit}.site-header{height:70px;background:var(--paper);border-bottom:1px solid var(--rule)}.brand{display:flex;align-items:center;gap:10px;width:min(920px,calc(100% - 36px));height:100%;margin:auto;color:var(--brown);text-decoration:none}.brand>span{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--gold);border-radius:50%;font-family:Georgia,serif;font-weight:700}.brand>b{font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.05}.brand small{display:block;margin-top:5px;color:#9a8059;font-family:Arial,sans-serif;font-size:7px;letter-spacing:.17em}.canvas{min-height:calc(100vh - 70px);padding:28px 16px 20px}.form-card{width:min(850px,100%);margin:auto;overflow:hidden;border:1px solid #cdb37c;border-radius:14px;background:var(--paper);box-shadow:0 18px 45px rgba(75,53,32,.13)}.hero{padding:34px 42px 22px;text-align:center}.hero h1{margin:0;color:var(--brown);font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:30px;font-weight:600;line-height:1.55;letter-spacing:.025em}.hero p{display:inline-block;margin:15px 0 0;padding:6px 18px;border:1px solid #eadbbe;border-radius:999px;background:var(--gold-soft);color:#685648;font-size:12px;font-weight:700}.progress{padding:0 42px 25px;border-bottom:1px solid var(--rule)}.progress>div{display:flex;align-items:baseline;justify-content:center;gap:7px;margin-bottom:13px}.progress strong{color:#b18b48;font-family:Georgia,serif;font-size:28px;font-weight:500}.progress span{color:#8f8175;font-size:12px}.progress b{margin-left:4px;color:var(--brown);font-size:15px}.progress>i{display:block;height:3px;overflow:hidden;background:#e8e0d5}.progress>i span{display:block;width:33.33%;height:100%;background:var(--gold);transition:width .25s}.step{display:none;padding:27px 42px 8px}.step.is-active{display:block}.intro{margin-bottom:25px}.intro>span{color:#a17e45;font-family:Georgia,serif;font-size:9px;letter-spacing:.15em}.intro h2{margin:3px 0 0;color:var(--brown);font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:21px;font-weight:600}.intro p{margin:4px 0 0;color:var(--muted);font-size:11px}fieldset{min-width:0;margin:0;padding:23px 0;border:0;border-bottom:1px solid var(--rule)}legend{display:block;width:100%;margin-bottom:12px;color:var(--brown);font-size:14px;font-weight:700}legend em{margin-left:5px;padding:2px 7px;border-radius:99px;background:#f7e5e1;color:var(--red);font-size:9px;font-style:normal}legend small{display:block;margin-top:2px;color:#887b72;font-size:10px;font-weight:500}.area-box{padding:18px;border:1px solid #deceb2;border-radius:10px;background:#fff}.area-box h3{display:flex;gap:10px;align-items:flex-start;margin:0 0 15px}.area-box h3>b{display:grid;flex:0 0 24px;height:24px;place-items:center;border-radius:50%;background:var(--brown);color:#fff;font-family:Georgia,serif;font-size:11px}.area-box h3 span{font-size:12px}.area-box h3 small{display:block;color:#8c7e73;font-size:9px;font-weight:500}.grid{display:grid;gap:12px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid label{display:block;color:#706159;font-size:10px;font-weight:700}.grid select,.select-wide select,.detail-input input,textarea{display:block;width:100%;margin-top:5px;border:1px solid #d8cdc5;border-radius:8px;background:#fff}.grid select,.select-wide select{height:50px;padding:0 13px}.or{display:flex;align-items:center;gap:10px;margin:10px 0;color:#987b4e;font-size:9px}.or:before,.or:after{content:"";height:1px;flex:1;background:#e6dac7}.add-area{width:100%;height:46px;margin-top:12px;border:1px dashed #c4a061;border-radius:8px;background:#fffdf9;color:#755b35;font-weight:700}.selected{margin-top:12px;padding:12px;border:1px solid #dbc494;border-radius:9px;background:#f8edd8}.selected>b{font-size:10px}.selected div{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.selected button{padding:5px 9px;border:1px solid #d1b77f;border-radius:999px;background:#f3e3c3;font-size:10px}.location-error,.error{color:#9a342d;font-size:11px}.chips,.check-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.chips button,.check-list button{min-height:47px;padding:8px;border:1px solid #ddd2ca;border-radius:9px;background:#fff;font-size:11px;font-weight:700}.chips button.is-on,.check-list button.is-on{border-color:#ad8b50;background:#f5e8d0;box-shadow:inset 0 0 0 1px #c5a66d}.detail-input{display:block;margin-top:11px;color:#75685e;font-size:10px;font-weight:700}.detail-input input{height:46px;padding:0 12px}.field-row>fieldset{border-bottom:1px solid var(--rule)}textarea{min-height:100px;padding:12px;resize:vertical}.summary{overflow:hidden;border:1px solid var(--rule);border-radius:10px}.summary header{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;background:var(--gold-soft)}.summary h3{margin:0;font-size:13px}.summary header button{border:0;background:none;color:#765d36;font-size:10px;font-weight:700}.summary dl{margin:0;padding:5px 15px}.summary dl div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:9px 0;border-bottom:1px solid #eee7dc}.summary dl div:last-child{border:0}.summary dt{color:#85786e;font-size:10px}.summary dd{margin:0;font-size:11px;font-weight:700}.line-card{margin-top:18px;padding:20px;border:1px solid #decbaa;border-radius:10px;background:#fff}.required{padding:11px 12px;border:1px solid #e5c9c2;border-radius:8px;background:#fff5f1;color:#80433c}.required b,.required span{display:block}.required b{font-size:11px}.required span{font-size:9px}.line-title{display:flex;gap:12px;align-items:center;margin:17px 0 12px}.line-title img,.line-open img,.success img{border-radius:11px}.line-title small{color:#8f6c52;font-size:9px}.line-title h3{margin:1px 0;color:var(--brown);font-size:17px}.line-title p{margin:0;color:#776a61;font-size:10px}.line-card ol{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 13px;padding:13px 0 0;border-top:1px solid #eee5dc;list-style:none}.line-card li{display:flex;gap:8px}.line-card li>b{display:grid;flex:0 0 23px;height:23px;place-items:center;border:1px solid #cbbcad;border-radius:50%;font-size:10px}.line-card li.active>b{border-color:var(--brown);background:var(--brown);color:#fff}.line-card li strong,.line-card li small{display:block}.line-card li strong{font-size:10px}.line-card li small{color:#84766c;font-size:8px}.line-open{display:flex;align-items:center;gap:10px;padding:10px 12px;border:2px solid var(--line);border-radius:8px;color:#057a36;text-decoration:none}.line-open span{flex:1}.line-open b,.line-open small{display:block}.line-open b{font-size:11px}.line-open small{font-size:9px}.line-open i{font-size:18px;font-style:normal}.return-guide{margin:10px 0;padding:10px;border:1px solid #ded1bb;border-radius:8px;background:#faf5ea;color:#6b5539}.return-guide b,.return-guide span{display:block;font-size:9px}.confirm-friend{display:flex;align-items:center;gap:10px;margin-top:10px;padding:12px;border:1px solid #dfd5ca;border-radius:8px;background:#faf8f5}.confirm-friend input{width:20px;height:20px;accent-color:var(--line)}.confirm-friend b,.confirm-friend small{display:block}.confirm-friend b{font-size:11px}.confirm-friend small{color:#81746a;font-size:9px}.restored{margin-bottom:14px;padding:11px;border:1px solid #bde1c8;border-radius:8px;background:#f0faf4;color:#256d43}.restored b,.restored span{display:block;font-size:10px}.actions{display:flex;justify-content:space-between;gap:12px;margin:20px -42px 0;padding:15px 42px;border-top:1px solid var(--rule);background:#fffdf9}.actions button{height:52px;border-radius:10px;font-weight:700}.back{border:0;background:transparent;color:#67574d}.next{min-width:220px;margin-left:auto;border:0;background:var(--brown);color:#fff;box-shadow:0 8px 20px rgba(63,45,35,.16)}.next:disabled{background:#d4d6d2;color:#8c938f;box-shadow:none}.error{margin:16px 42px 0;padding:10px;border:1px solid #efc8c2;border-radius:8px;background:#fff3f0}.success{padding:65px 30px;text-align:center}.success>div{display:grid;width:58px;height:58px;margin:auto;place-items:center;border-radius:50%;background:#edf8f1;color:#148447;font-size:28px}.success>small{display:block;margin-top:16px;color:#a17e45;font-family:Georgia,serif;letter-spacing:.15em}.success h2{margin:6px 0;color:var(--brown);font-family:"Yu Mincho",serif;font-size:23px}.success p{color:#6f6259}.success>span{display:inline-flex;align-items:center;gap:9px;margin-top:15px;padding:8px 13px;border:1px solid #ccebd7;border-radius:9px;background:#f1faf4;color:#147a42;font-size:11px;font-weight:700}.site-footer{padding:18px;text-align:center;color:#715f52;font-size:9px}.site-footer a{color:inherit}
@media(max-width:680px){body{background:var(--paper);font-size:13px}.site-header{height:62px}.brand{width:calc(100% - 36px)}.brand>span{width:32px;height:32px;font-size:12px}.brand>b{font-size:18px}.canvas{min-height:calc(100vh - 62px);padding:0 0 100px;background:var(--paper)}.form-card{width:100%;overflow:visible;border:0;border-radius:0;box-shadow:none}.hero{padding:27px 20px 21px}.hero h1{font-size:23px;line-height:1.55}.hero p{margin-top:14px;font-size:11px}.progress{padding:7px 24px 22px}.step{padding:20px 18px 4px}.intro h2{font-size:18px}.area-box{padding:14px}.grid.two,.grid.three{grid-template-columns:1fr}.grid select,.select-wide select{height:52px;font-size:14px}.chips,.check-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.chips button,.check-list button{width:100%;min-height:49px}.field-row{grid-template-columns:1fr}.summary dl div{grid-template-columns:105px 1fr}.line-card{padding:14px}.line-card ol{grid-template-columns:1fr}.actions{position:fixed;z-index:20;right:0;bottom:0;left:0;margin:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--rule);box-shadow:0 -7px 22px rgba(63,45,35,.08)}.actions .next{min-width:0;flex:1}.error{position:fixed;z-index:21;right:16px;bottom:77px;left:16px;margin:0}.site-footer{display:none}.success{padding:55px 22px}.step[data-step="1"] .intro{display:none}}

/* R2: approved demo footer geometry and interaction hierarchy. */
.site-header{height:92px}
.brand{justify-content:center}
.brand>img{display:block;width:166px;height:78px;object-fit:contain}
.form-footer-shell{margin-top:20px;border-top:1px solid var(--rule);background:var(--paper)}
.form-footer-shell .error{margin:10px 42px 0}
.form-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:82px;margin:0;padding:15px 42px 22px;background:var(--paper)}
.form-footer>span{display:block;flex:1}
.form-footer .back{flex:0 0 auto}
.form-footer .next{display:flex;align-items:center;justify-content:center;gap:11px;min-width:190px;margin:0}
.form-footer .next i{font-size:16px;font-style:normal}
.form-footer.is-first>span{display:none}
.form-footer.is-first .next{width:100%;max-width:100%;margin:0}
.form-footer .line-button{display:flex;flex:1;min-width:300px;min-height:56px;padding:6px 12px;border-radius:10px;background:#06c755;color:#fff;box-shadow:0 9px 22px rgba(6,199,85,.2)}
.form-footer .line-button img{flex:0 0 auto;border-radius:9px}
.form-footer .line-button span{flex:1;text-align:center;font-size:11px}
.form-footer .line-button i{margin-left:auto}
.form-footer .line-button:disabled{background:#d4d6d2;color:#8c938f;box-shadow:none}
@media(max-width:680px){
  .site-header{height:82px}
  .brand{width:100%;justify-content:center}
  .brand>img{width:142px;height:72px}
  .canvas{padding-bottom:112px}
  .form-footer-shell{position:fixed;z-index:45;right:0;bottom:0;left:0;margin:0;border-top:1px solid var(--rule);box-shadow:0 -8px 24px rgba(63,45,35,.08)}
  .form-footer-shell .error{position:static;width:calc(100% - 32px);max-width:430px;margin:8px auto 0;padding:8px 10px;font-size:10px}
  .form-footer{position:static;width:100%;max-width:430px;min-height:76px;margin:0 auto;padding:11px 16px calc(11px + env(safe-area-inset-bottom));border:0;box-shadow:none;background:transparent}
  .form-footer.is-first{display:block}
  .form-footer.is-first .next{width:100%;height:55px}
  .form-footer:not(.is-first) .next{min-width:0;flex:1}
  .form-footer .back{padding-right:7px;padding-left:7px;font-size:10px}
  .form-footer .line-button{min-width:0;width:auto;height:56px;padding:6px 9px}
  .form-footer .line-button span{font-size:10px;line-height:1.45}
}

/* Completion state: show only the confirmed receipt message. */
.form-card.is-complete .hero,
.form-card.is-complete .progress,
.form-card.is-complete .step,
.form-card.is-complete .form-footer-shell{display:none!important}
.form-card.is-complete{min-height:min(620px,calc(100vh - 145px));display:grid;place-items:center}
.form-card.is-complete #rentalForm{width:100%}
.form-card.is-complete .success{display:block!important;width:100%;padding:72px 30px}
.request-complete .canvas{display:grid;align-content:center}
.request-complete .site-footer{display:none!important}
@media(max-width:680px){
  .request-complete .canvas{min-height:calc(100vh - 82px);padding:0}
  .form-card.is-complete{min-height:calc(100vh - 82px)}
  .form-card.is-complete .success{padding:48px 22px 72px}
}
