:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:#30271f;background:#f5f1e9;line-height:1.65;font-size:16px}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;height:auto;overflow-y:visible}body{padding-bottom:env(safe-area-inset-bottom)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:0;border-radius:8px;padding:.65rem 1rem;font-weight:600}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ba802b;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}.validation{background:#ddd5c5;text-align:center;padding:.5rem;font-size:.875rem;color:#3e362b}header{max-width:1050px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:24px 28px;gap:16px}.brand{color:#30271f;text-decoration:none;display:flex;flex-direction:column;line-height:1.4}.brand strong{font-family:Georgia,serif;letter-spacing:.13em;font-size:1.4rem}.brand span{font-size:.75rem;letter-spacing:.16em}.roles{display:flex;padding:4px;background:#e9e2d5;border-radius:10px;gap:3px}.roles button{background:transparent;font-size:.875rem;padding:.5rem .75rem}.roles .selected{background:#fff;box-shadow:0 1px 3px #0001}main{max-width:700px;padding:0 24px 50px;margin:auto}h1{font-size:1.65rem;margin:20px 0}h2{font-size:1.125rem;margin:0 0 12px}.page-title{display:flex;align-items:center;justify-content:space-between}.member-card{background:#fff;border:1px solid #d7cec0;border-radius:18px;overflow:hidden;box-shadow:0 6px 26px #2d21090b}.card-head{background:#183b32;color:#fff;padding:15px 22px;display:flex;justify-content:space-between;font-size:.875rem}.rank{font-size:.75rem;letter-spacing:.08em}.member-card h2{font-size:1.55rem;margin:22px 24px 0}.member-card h2 small{font-size:.875rem;margin-left:8px;font-weight:400}.number{font-family:ui-monospace,monospace;color:#665c4b;font-size:.875rem}.member-card>.number{margin:2px 24px}.qr-area{text-align:center;padding:12px 20px 20px}.qr-area img{display:block;max-width:100%;height:auto;margin:auto}.qr-area p{font-size:.875rem;margin:0}.quiet{background:transparent;color:#254b3f;padding:.3rem .6rem}.balance{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e9e2d5;background:#fcfaf6}.balance>div,.balance>button{display:flex;flex-direction:column;align-items:center;padding:18px;background:transparent;border-radius:0}.balance>button{border-right:1px solid #e9e2d5}.balance strong{font-size:2rem;line-height:1.2}.balance strong small{font-size:1rem;color:#77694f}.balance span{font-size:.875rem;margin-top:8px;color:#665c4b}.panel{background:#fff;border:1px solid #ded6c8;border-radius:14px;padding:22px;margin:20px 0}.panel p{margin:10px 0}.stamps{display:flex;gap:12px;justify-content:space-between;margin:20px 0}.stamps>div{width:54px;aspect-ratio:1;border:1px dashed #b6aa94;border-radius:50%;display:grid;place-items:center;color:#766951;font-size:1.2rem}.stamps .filled{background:#1d4a3d;color:#fff;border:1px solid #1d4a3d}.muted{color:#726754;font-size:.875rem}.primary{background:#1d4a3d;color:#fff}.secondary{background:#eee9df;color:#343026;border:1px solid #d8cebc}.button-row{display:flex;gap:12px;flex-wrap:wrap}.wide{width:100%}.pill{display:inline-block;background:#e8f0ea;color:#1c4a36;border-radius:5px;font-size:.875rem;padding:3px 9px;margin-bottom:14px}.used{background:#ece9e3;color:#756d61}.used .pill{background:#ddd9d0;color:#595348}.coupon-instruction{padding-top:14px;border-top:1px dashed #d8cebc}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fff;border-top:1px solid #d8cebc;padding:7px 12px calc(7px + env(safe-area-inset-bottom));z-index:20}.bottom-nav button{width:min(33%,180px);background:transparent;color:#6a6253}.bottom-nav .active{color:#194336;background:#edf1eb}.history{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #eee7db;padding:14px 0;overflow-wrap:anywhere}.history small{display:block;color:#786c58;font-size:.875rem}.large-number{font-size:2.5rem;font-weight:700}.large-number small{font-size:1rem}label{display:block;font-weight:600;margin:18px 0 8px}input,select{border:1px solid #b9af9d;border-radius:8px;min-height:48px;width:100%;padding:10px;background:#fff;color:#30271f}.money{display:flex;align-items:center;gap:12px;margin-top:8px}.money input{font-size:1.4rem}.estimate{color:#1b4b38;font-weight:600}.check{display:flex;gap:10px;align-items:center;font-weight:400}.check input{width:22px;height:22px;min-height:22px}.alert{border-radius:8px;padding:14px 16px;margin:12px 0;overflow-wrap:anywhere}.error{background:#ffeded;color:#882c25;border:1px solid #ebc1bd}.success{background:#e7f0e8;color:#225236}.stats{display:grid;grid-template-columns:1fr 1fr;gap:14px}.stats .panel{margin:0}.stats span{display:block;font-size:.875rem}.stats strong{font-size:1.8rem}details{margin-top:20px}summary{cursor:pointer;color:#4b5748}details input{margin:14px 0}video{display:block;width:100%;max-height:280px;background:#222;border-radius:10px;margin:16px 0}footer{text-align:center;color:#746958;font-size:.75rem;padding:20px 20px calc(105px + env(safe-area-inset-bottom))}footer span{display:block;margin-top:7px}dt{font-size:.875rem;color:#756951}dd{margin:0 0 18px;overflow-wrap:anywhere}@media(max-width:480px){header{padding:18px 16px;align-items:flex-start;flex-direction:column}.roles{width:100%}.roles button{flex:1}main{padding:0 16px 30px}.panel{padding:18px}.stamps{gap:8px}.stamps>div{width:46px}.member-card h2{font-size:1.3rem}.stats{gap:10px}.stats strong{font-size:1.5rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.member-result{display:block;text-align:left;background:#f5f1e9;margin-top:12px;overflow-wrap:anywhere}.member-result small{display:block;font-weight:400}.page-title{gap:12px;flex-wrap:wrap}.number{overflow-wrap:anywhere}form>.wide{margin-top:14px}button{touch-action:manipulation}

fieldset{border:0;padding:0;margin:0;min-width:0}fieldset>.wide{margin-top:14px}textarea{font:inherit;border:1px solid #b9af9d;border-radius:8px;width:100%;max-width:100%;min-height:100px;padding:10px;resize:vertical;background:#fff;color:#30271f}.order-product{border-bottom:1px solid #eee7db;padding:12px 0}.order-product h3{font-size:1.1rem;margin:8px 0}.order-product select{max-width:150px}.panel,.order-product{overflow-wrap:anywhere}.bottom-nav button{flex:1;min-width:0;max-width:180px;width:auto}input[type=datetime-local]{min-width:0;max-width:100%}

/* 商品単位では税抜を主表示、税込を読みやすい補助表示にする。 */
.product-price{display:flex;flex-direction:column;gap:4px;margin:12px 0;min-width:0;line-height:1.4}
.product-price-net{font-size:26px;font-weight:750;color:var(--green,#234c36);overflow-wrap:anywhere}
.product-price-basis{font-size:13px;font-weight:500;margin-left:8px;color:#65584a}
.product-price-gross{display:block;font-size:14px;color:#65584a;overflow-wrap:anywhere}
.menu-header,.menu-main{max-width:1000px;margin:0 auto;padding:24px 20px}
.menu-header{display:block;padding-top:24px;padding-bottom:4px}.menu-header h1{font-size:26px;margin:12px 0}.menu-header p{margin:8px 0}.menu-main label{display:block;margin-top:0;margin-bottom:8px}
.menu-main select{margin-bottom:24px}.menu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.menu-product{border-radius:16px;background:#fffdf8;overflow:hidden;box-shadow:0 3px 12px #4436290d;min-width:0}
.menu-product>img,.menu-no-image{width:100%;aspect-ratio:4/3;object-fit:contain;background:#f5efdf;display:block}
.menu-no-image{display:grid;place-items:center;color:#665a49}.menu-product-body{padding:20px}.menu-product h2{font-size:20px;line-height:1.55;overflow-wrap:anywhere;margin:8px 0}
.menu-product-body>small,.menu-muted{font-size:13px;color:#6b6156}.menu-muted{line-height:1.7;margin-top:24px}

.reservation-alerts.has-new{border:2px solid #285747;background:#f1f7ee}.reservation-alerts small{display:block;line-height:1.6;margin-top:12px}

/* 店舗管理はスマホ・タブレット・PCで同じ操作と権限を使う。文書全体でスクロールする。 */
.staff-portal-header,.staff-portal{max-width:1320px}
.staff-workspace,.staff-content,.staff-section,.staff-member-workspace{min-width:0}
.staff-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px;background:#ebe5da;border-radius:14px;margin:12px 0 20px}
.staff-navigation-title{grid-column:1/-1;margin:0 0 4px;font-size:.875rem;font-weight:700;color:#5c5040}
.staff-navigation button{min-width:0;text-align:left;line-height:1.5;min-height:48px}
.staff-navigation button[aria-current=page]{box-shadow:inset 0 0 0 2px #14392d}
.staff-member-list .member-result[aria-pressed=true]{background:#e8f1e8;box-shadow:inset 0 0 0 2px #285747}
.staff-member-detail{scroll-margin-top:20px}
.staff-member-detail:focus{outline:2px solid #ba802b;outline-offset:3px}
.staff-member-empty{color:#706450}
.staff-content .page-title h1{margin-top:0}
.staff-content .stats{margin-top:20px}
.staff-order-list{display:grid;gap:16px;margin-top:20px}
.staff-order-list>.panel{margin:0}
@media(min-width:1100px){
 .staff-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start;margin-top:20px}
 .staff-navigation{grid-template-columns:minmax(0,1fr);position:sticky;top:20px;margin:0;padding:16px}
 .staff-member-workspace{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(0,1.1fr);gap:22px;align-items:start}
 .staff-member-workspace>.panel{margin-top:20px}
 .staff-content .stats{grid-template-columns:repeat(4,minmax(0,1fr))}
 .staff-content .stats .panel{padding:16px}
 .staff-order-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .staff-content>.staff-section>.panel,.staff-content>.staff-section>form{max-width:820px}
}
@media(max-width:480px){
 header.staff-portal-header{flex-direction:row;align-items:center;padding:18px 16px}
 .staff-portal-header .brand strong{font-size:1.2rem}
 .staff-navigation{padding:12px;gap:8px}
 .staff-navigation button{font-size:.875rem;padding:10px 12px}
 .staff-content .page-title{align-items:flex-start}
 .staff-content .page-title h1{font-size:1.5rem}
}

/* 店舗の受注確認はタブレット中心。縦向きでも横向きでもタッチ操作できる。 */
.staff-content .order-pickup{display:flex;flex-direction:column;background:#f5f1e9;border-radius:8px;padding:12px;margin:0 0 16px}
.staff-content .order-pickup span{font-size:.875rem;color:#706450}
.staff-content .order-pickup strong{font-size:1.25rem;color:#183b32}
.order-status-filters{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.order-status-filters button{min-height:52px;display:flex;align-items:center;gap:12px}
.order-status-filters strong{border-radius:5px;background:#ffffff40;min-width:24px;padding:2px 6px;text-align:center}
.staff-order-card>.primary{min-height:56px;margin-top:16px}
.staff-order-card[data-status=submitted]{border:2px solid #b07823}
.staff-order-card[data-status=ready]{border:2px solid #285747}
.order-confirmation{scroll-margin-top:20px}
.order-confirmation:focus{outline:2px solid #ba802b;outline-offset:3px}
.staff-content summary{min-height:44px;padding:8px 0}
@media(min-width:600px) and (max-width:1099px){
 .staff-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}
 .staff-navigation button{min-height:52px}
 .staff-content .stats{grid-template-columns:repeat(4,minmax(0,1fr))}
 .staff-content .stats .panel{padding:14px}
}
@media(min-width:700px) and (max-width:1099px){
 .staff-order-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}

.reservation-alerts.compact{padding:14px 18px}.reservation-alerts.compact h2{margin-bottom:4px;font-size:1rem}.reservation-alerts.compact p{margin:4px 0}.reservation-alerts.compact details{margin-top:6px}.reservation-alert-controls[open]>.button-row{margin-top:12px}

.staff-content label.check{min-height:48px;cursor:pointer;padding:8px 0}
.loyalty-summary small{display:block;color:#706450}.loyalty-summary strong{color:#1d4a3d}.staff-member-detail>.loyalty-summary{border-top:1px solid #ded6c8;margin-top:18px;padding-top:18px}

/* 特典は文書全体のスクロールで読める。独立したスクロール枠を設けない。 */
.coupon-detail{border-top:1px solid var(--line,#dfd6c8);padding:20px 0;overflow-wrap:anywhere}.coupon-detail h3{font-size:1.2rem;margin:12px 0}.coupon-detail p{line-height:1.7}.coupon-detail strong{display:inline-block}.coupon-list{min-width:0}
.legacy-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
.legacy-review,.legacy-review .panel{min-width:0}.legacy-review p,.legacy-review h4{overflow-wrap:anywhere}
.legacy-heading{display:flex;gap:16px;flex-wrap:wrap;align-items:start}.legacy-heading>div{flex:1;min-width:220px}.legacy-heading .secondary{min-height:48px}
.legacy-member-list .member-result{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:12px;padding:16px}.legacy-member-list .member-result[aria-pressed=true]{border:2px solid #214f42;background:#edf2eb}
.legacy-member-detail{scroll-margin-top:16px}.legacy-member-detail:focus{outline:2px solid #ba802b;outline-offset:3px}.legacy-member-detail .rank-face{margin:20px 0}
.legacy-hold{background:#eee6d8;border-radius:8px;padding:12px 16px;font-weight:700;color:#5b4935}
.legacy-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.legacy-balances>div{border:1px solid #e1d8c9;border-radius:12px;padding:16px}.legacy-balances dt{font-size:14px;line-height:1.5}.legacy-balances dd{margin:8px 0 0;font-size:26px;font-weight:700;color:#214f42;overflow-wrap:anywhere}
.legacy-coupon-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.legacy-coupon-filters button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;padding:12px}.legacy-coupon-filters strong{font-size:14px}
.legacy-history{padding:18px 0;border-top:1px solid #e1d8c9;overflow-wrap:anywhere}.legacy-history>span{float:right;margin-left:12px}.legacy-history p{margin:8px 0}.legacy-history small{color:#706450}
@media(min-width:1100px){.legacy-workspace{grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr)}}

.settlement-financial{background:#f7f2e8;border:1px solid #dacfc0;border-radius:12px;padding:16px;margin:16px 0}.settlement-financial p{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.settlement-payable{font-size:1.25rem;color:#214e40}.settlement-tax-row{display:block;margin:8px 0;line-height:1.7}

/* 原本ロゴとランクカード。色に加えて日本語のステータス名を表示する。 */
.brand-logo{display:block;object-fit:contain;width:auto;height:64px;flex:none}
.brand.brand-lockup{flex-direction:row;align-items:center;gap:14px;min-width:0}
.brand-copy{display:flex;flex-direction:column;min-width:0}.brand .brand-copy{font-size:inherit;letter-spacing:normal}
.brand-copy strong{font-family:Georgia,serif;letter-spacing:.1em;line-height:1.2}.brand-copy>span{font-size:.72rem;letter-spacing:.08em;margin-top:6px}
.brand-footer .brand-logo{height:64px;margin:0 auto 16px;opacity:.65}.brand-footer>span{margin-top:4px}
.auth-brand{display:flex;justify-content:center;margin:8px 0 26px}.auth-brand .brand-logo{height:104px}
.rank-face{--rank-ink:#fff9ef;--rank-soft:#f3e9d5;--rank-line:#ffffff35;position:relative;isolation:isolate;overflow:hidden;border-radius:18px;padding:22px 24px;background:linear-gradient(125deg,#204d40,#153b32);color:var(--rank-ink);box-shadow:0 8px 24px #30271f14;min-width:0}
.rank-face::before{content:"";position:absolute;inset:9px;border:1px solid var(--rank-line);border-radius:11px;pointer-events:none;z-index:-1}
.rank-face[data-rank=BRONZE]{background:linear-gradient(120deg,#754932,#995e3e 58%,#6c432f)}
.rank-face[data-rank=SILVER]{--rank-ink:#293332;--rank-soft:#414e4c;--rank-line:#737d7b50;background:linear-gradient(120deg,#e3e7e5,#c4cecc 60%,#f0f2ef)}
.rank-face[data-rank=GOLD]{--rank-ink:#493513;--rank-soft:#60451a;--rank-line:#8f6b2e50;background:linear-gradient(120deg,#eddaa4,#d9b66b 60%,#f2e3b8)}
.rank-face[data-rank=WHITE]{--rank-ink:#4b453c;--rank-soft:#615a4d;--rank-line:#aa9b7c60;background:linear-gradient(120deg,#fffdf5,#eee9db 65%,#fffef8)}
.rank-face[data-rank=PLATINUM]{--rank-ink:#263f42;--rank-soft:#3f575a;--rank-line:#5f8d9250;background:linear-gradient(120deg,#e0eded,#b8cfd2 60%,#e8eeeb)}
.rank-face[data-rank=BLACK]{--rank-ink:#f5e6c0;--rank-soft:#e0d7c4;--rank-line:#ccb57b70;background:linear-gradient(120deg,#303733,#131a17 65%,#29322b)}
.rank-face-top{display:flex;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:.13em;line-height:1.4;color:var(--rank-soft)}
.rank-face-logo.brand-logo{position:absolute;right:27px;top:62px;height:104px;width:auto;opacity:.88}
.rank-face[data-rank=BLACK] .rank-face-logo,.rank-face[data-rank=BRONZE] .rank-face-logo,.rank-face[data-rank=MEMBER] .rank-face-logo{filter:invert(1)}
.rank-identity{margin:22px 74px 12px 0;min-width:0}.rank-eyebrow{font-size:11px;letter-spacing:.05em;color:var(--rank-soft)}
.rank-face .rank-identity h2{font-family:Georgia,serif;font-weight:400;letter-spacing:.055em;font-size:clamp(25px,6.8vw,34px);line-height:1.2;margin:7px 0 4px;color:var(--rank-ink)}
.rank-identity p{font-size:14px;letter-spacing:.06em;margin:0;color:var(--rank-ink)}
.rank-owner{display:flex;flex-direction:column;gap:3px;min-width:0;margin-top:18px}.rank-owner strong{font-size:15px;font-weight:500;overflow-wrap:anywhere;color:var(--rank-ink)}.rank-owner small{font-size:11px;margin-left:8px}.rank-member-number{font-family:ui-monospace,monospace;font-size:11px;letter-spacing:.07em;overflow-wrap:anywhere;color:var(--rank-soft)}
.rank-points{display:flex;gap:12px;align-items:baseline;margin-top:18px}.rank-points strong{font-family:Georgia,serif;font-weight:400;font-size:29px;line-height:1.25;color:var(--rank-ink)}.rank-points strong small{display:inline;margin-left:6px;font-family:inherit;font-size:14px;color:var(--rank-ink)}.rank-points>span{font-size:11px;color:var(--rank-soft)}
.rank-progress{margin-top:18px;padding-top:13px;border-top:1px solid var(--rank-line)}.rank-progress>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:11px;flex-wrap:wrap}.rank-progress strong{color:var(--rank-ink);font-weight:600}.rank-progress>small{display:block;font-size:10px;color:var(--rank-soft);margin-top:5px}.rank-track{height:3px;border-radius:4px;background:var(--rank-line);margin-top:9px;overflow:hidden}.rank-track>span{height:100%;display:block;background:var(--rank-ink);border-radius:4px}
.loyalty-summary{margin:22px 0;min-width:0}.loyalty-notes{padding:20px 22px;background:#fffcf6;border:1px solid #e4dacb;border-radius:14px;margin-top:16px;font-size:.875rem}.loyalty-notes p{margin:8px 0}.loyalty-notes h2{font-size:1rem}.loyalty-notes strong{color:#1d4a3d}.loyalty-notes small{color:#706450}
.membership-card .rank-face{border-radius:0;box-shadow:none}.membership-card .qr-area{background:#fff;padding:16px 20px 12px}.membership-card .qr-area img{width:216px;height:auto}.membership-card .qr-area .quiet{min-height:44px}.membership-card .balance strong{font-size:1.7rem}
.rank-design-selector{margin:0 0 18px}.rank-design-selector label{font-size:.875rem;margin-top:0}.rank-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}.rank-gallery .rank-face{margin:0}.rank-gallery-main{max-width:1080px}
@media(max-width:480px){.brand-logo{height:52px}.brand.brand-lockup{gap:12px}.brand-copy strong{font-size:1.2rem}.brand-copy>span{font-size:.65rem}.rank-face{padding:22px}.rank-face-top{font-size:8px;letter-spacing:.1em}.rank-face-logo.brand-logo{height:94px;right:24px;top:60px}.rank-identity{margin-top:18px;margin-right:70px}.rank-gallery{grid-template-columns:minmax(0,1fr)}.loyalty-notes{padding:18px}.staff-portal-header .brand-logo{height:48px}.staff-portal-header .brand-copy>span{letter-spacing:0}}
@media(min-width:700px){.rank-gallery .rank-face .rank-identity h2{font-size:34px}}
.loyalty-progress{margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid #dfd6c8}.loyalty-progress p{font-size:14px;margin:0 0 10px}.loyalty-track{height:5px;background:#e1dfd2;border-radius:4px;overflow:hidden}.loyalty-track>span{display:block;height:100%;background:#254d40;border-radius:4px}.menu-no-image .brand-logo{height:110px;opacity:.45}
.member-registration h1{margin-top:6px}.registration-legal{display:flex;flex-wrap:wrap;gap:8px 20px;margin:22px 0!important}.registration-legal a{display:flex;align-items:center;min-height:44px;color:#234d3e;text-underline-offset:4px}.registration-legal small{width:100%;font-size:.8rem;color:#706450}.member-registration .check{min-height:52px;align-items:flex-start}.member-registration .check input{flex:none;margin-top:3px}
.migration-preview{max-width:1160px}.migration-tabs{display:flex;gap:12px;margin:22px 0}.migration-tabs button{flex:1;min-height:48px}.migration-metrics,.migration-concerns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.migration-concerns{grid-template-columns:repeat(2,minmax(0,1fr))}.migration-review .panel{min-width:0}.migration-metrics h2{font-size:17px}.migration-metrics strong,.migration-concerns strong{font-size:28px;color:#214f42}.migration-review h1{font-size:28px;padding-inline:8px;overflow-wrap:anywhere}.migration-review p{overflow-wrap:anywhere}.migration-review h3{margin-top:0}@media(max-width:640px){.migration-metrics,.migration-concerns{grid-template-columns:1fr}.migration-tabs{gap:8px}.migration-tabs button{padding:12px 8px}}

.legacy-history-section{margin-top:24px;border-top:1px solid #e1d8c9;padding-top:12px}.legacy-history-section summary{font-weight:700;font-size:18px;min-height:48px;padding:12px 0}

/* 引き継ぎ確認。短い段階表示・端末横幅・通常の1つのページスクロールを維持。 */
.identity-panel{min-width:0;overflow-wrap:anywhere}.identity-panel ol{padding-left:1.5rem;line-height:1.8}.identity-panel button{margin-top:.65rem}.identity-qr{text-align:center;margin:1.2rem 0}.identity-qr img{display:block;width:240px;max-width:100%;height:auto;margin:0 auto;background:#fff;border-radius:12px}.identity-countdown{font-weight:700;color:#1d4a3d}.identity-camera video{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:12px;background:#222}.identity-comparison{display:grid;gap:1rem;margin:1rem 0}.identity-comparison>div{display:flex;flex-direction:column;background:#f5f1e9;padding:1rem;border-radius:12px;min-width:0}.identity-comparison strong{font-size:1.15rem;overflow-wrap:anywhere}.identity-admin{border-top:1px solid #ded6c8;margin-top:1rem;padding-top:1rem}.identity-admin summary{font-weight:700;color:#1d4a3d;cursor:pointer}.identity-panel .alert p:last-child{margin-bottom:0}@media(min-width:760px){.identity-comparison{grid-template-columns:1fr 1fr}}

.identity-fixture-token{display:block;overflow-wrap:anywhere;font-size:.85rem}

.legacy-readiness{margin:1.5rem 0;padding:1.2rem;border:1px solid #d9d0c4;border-radius:18px;background:#faf8f2}
.legacy-readiness h3{margin:0}.legacy-readiness-list{list-style:none;margin:0;padding:0}.legacy-readiness-list li{padding:1rem 0;border-top:1px solid #e3ddd3}.legacy-readiness-list p{margin:.65rem 0 0}.legacy-readiness-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.legacy-readiness-heading strong{min-width:0;overflow-wrap:anywhere}.legacy-check-state{padding:.25rem .65rem;border-radius:20px;background:#eee7da;color:#58422a;font-size:.85rem;max-width:100%;overflow-wrap:anywhere}.legacy-check-state.warning{background:#f9e9d2;color:#6f4319}.legacy-check-state.recorded,.legacy-check-state.matched{background:#e4eee5;color:#214838}.legacy-check-state.not_required{background:#eee;color:#555}
@media(max-width:480px){.legacy-readiness{padding:.85rem}.legacy-readiness .legacy-heading{align-items:stretch}.legacy-readiness .legacy-heading button{width:100%}}

.notice-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}.notice-heading{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.notice-heading h2{margin:0}.notice-list .member-result{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:12px 0;overflow-wrap:anywhere}.notice-editor{min-width:0;outline:none}.notice-editor textarea{display:block;width:100%;font:inherit;line-height:1.65;border:1px solid #cdbfae;border-radius:12px;padding:14px;resize:vertical;background:#fff;min-height:180px}.notice-editor label{display:block;margin-top:18px}.notice-editor .check{display:flex}.notice-body{white-space:pre-wrap;overflow-wrap:anywhere}.notice-card{margin:18px 0}.notice-preview{margin-top:20px;padding:16px;background:#f1f4ef;border-radius:16px}.notice-preview-label{color:#214838;font-weight:700}.notice-management,.notice-history{margin-top:24px}.notice-editor .alert button{margin:8px 8px 0 0}.notice-list .member-result[aria-pressed=true]{border:2px solid #214f42;background:#edf2eb}@media(min-width:1100px){.notice-workspace{grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr)}}

.coupon-editor{min-width:0;outline:none}.coupon-editor label{display:block;margin-top:18px}.coupon-editor .check{display:flex}.coupon-editor textarea{display:block;width:100%;font:inherit;line-height:1.65;border:1px solid #cdbfae;border-radius:12px;padding:14px;resize:vertical;background:#fff}.coupon-editor details{margin-top:20px}.coupon-stats strong{font-size:1.5rem}

.stamp-history{padding:18px 0;border-top:1px solid var(--border,#ded5c5);overflow-wrap:anywhere}.stamp-history p{margin:8px 0}.stamp-history strong{line-height:1.6}
.password-help{margin:6px 0 10px;color:#4b4237;font-size:.875rem;line-height:1.65;overflow-wrap:anywhere}
.auth-progress{list-style:none;padding:0;margin:6px 0 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.auth-progress li{display:flex;align-items:center;flex-direction:column;text-align:center;gap:6px;padding:12px 4px;border:1px solid #d8d0c2;border-radius:12px;background:#f1ede4;color:#625747;min-width:0}.auth-progress li>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#e2d9ca;font-weight:700}.auth-progress strong{font-size:.875rem;line-height:1.45;overflow-wrap:anywhere}.auth-progress small{font-size:.75rem;line-height:1.4}.auth-progress .current{background:#fff;border:2px solid #295747;padding:11px 3px;color:#163f32}.auth-progress .current>span{background:#244d3e;color:#fff}.auth-progress .done{color:#174534;background:#e7efe8;border-color:#c3d5c8}.auth-progress .done>span{background:#d0e1d1;color:#174534}.auth-flow-panel{padding:24px}.auth-flow-panel h1{font-size:1.6rem;line-height:1.5;margin:4px 0 16px;overflow-wrap:anywhere}.auth-step-label{color:#345846;font-size:.875rem;font-weight:700;margin:0!important}.auth-account{padding:12px 16px;border-radius:10px;background:#f1ede5;font-size:.8rem;color:#5d5345}.auth-account span{display:block;overflow-wrap:anywhere;color:#30271f;font-size:1rem;font-weight:600}.auth-result{border-radius:12px;padding:16px;margin:20px 0;background:#f2eee7;border:1px solid #d8cfbf}.auth-result strong{display:block;font-size:1.1rem;line-height:1.5}.auth-result p{margin:8px 0 0!important}.auth-result.success{color:#174e37;background:#e7f1e8;border-color:#bbd2be}.auth-result.error{color:#8c3025;background:#fff0ec;border-color:#e5bfb5}.auth-next{margin:24px 0 12px;padding:20px 0 0;border-top:1px solid #d9d2c5}.auth-next h2{font-size:1.125rem;color:#183e31}.auth-next ol{padding-left:24px;margin:12px 0 24px}.auth-next li{margin:12px 0;line-height:1.7}.auth-flow-panel .primary{font-size:1rem;line-height:1.6;min-height:52px;white-space:normal}.auth-other-actions{margin:24px 0 0;padding:12px 0 0;border-top:1px solid #e1dacd}.auth-other-actions>p{font-size:.875rem;color:#625747;margin:8px 0}.auth-help{margin:16px 0;color:#4b4439}.auth-help summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:.875rem}.auth-help button{margin:8px 0}.auth-check-about{margin:0 12px}.auth-confirmed-at{font-size:.8rem;color:#625747}.auth-flow-complete .auth-next{background:#f5f2e9;border:0;border-radius:12px;padding:20px}.auth-flow-panel input{margin-bottom:16px}@media(max-width:360px){.auth-flow-panel{padding:20px 16px}.auth-progress strong{font-size:.8rem}.auth-progress small{font-size:.7rem}.auth-flow-panel h1{font-size:1.4rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

.lifecycle-check-consent{display:flex;align-items:flex-start;gap:12px;margin:20px 0;font-weight:400;line-height:1.7}.lifecycle-check-consent input[type=checkbox]{width:24px;height:24px;min-width:24px;margin-top:2px;accent-color:#204d40}.auth-flow-panel .auth-result p{overflow-wrap:anywhere}

.portal-auth-flow{width:100%;max-width:760px;margin-inline:auto}.portal-auth-flow fieldset{min-width:0;border:0;padding:0;margin:0}.portal-auth-flow .auth-account:empty{display:none}

.password-input-row{display:flex;align-items:stretch;gap:8px}.password-input-row input{flex:1;min-width:0;width:100%;margin:0}.password-input-row .password-visibility{flex:0 0 auto;width:auto;white-space:nowrap;margin:0;padding:10px 14px;min-height:48px;background:#fffdf8;color:#204f42;border:1px solid #bdb29e}
/* 販促・アンケート・期間集計。画面全体をスクロールし、内側に固定スクロールを作らない。 */
.crm-workspace{display:grid;gap:20px;align-items:start;min-width:0}.crm-workspace>*{min-width:0}.crm-editor{scroll-margin-top:24px}.crm-editor textarea{width:100%;resize:vertical;min-height:110px}.crm-question-editor{padding:16px 0;border-bottom:1px solid #d8d0c3}.crm-banner{position:relative;isolation:isolate;padding:26px;border-radius:22px;margin:18px 0;overflow-wrap:anywhere}.crm-banner h2{padding-right:54px}.crm-banner p{white-space:pre-line;line-height:1.8}.crm-banner .brand-logo{position:absolute;right:22px;top:22px;width:38px;height:76px;object-fit:contain;opacity:.28;pointer-events:none}.crm-theme-green{background:#1c483b;color:#fffaf0}.crm-theme-green .brand-logo,.crm-theme-brown .brand-logo{filter:invert(1)}.crm-theme-cream{background:#eee5d4;color:#3d3027;border:1px solid #d7c7ad}.crm-theme-brown{background:#654b38;color:#fffaf0}.crm-shortcuts{margin:20px 0}.crm-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.crm-date-range>*{min-width:0}.crm-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.crm-totals div{padding:16px;background:#f5f1e8;border-radius:12px;min-width:0}.crm-totals dt{font-size:14px}.crm-totals dd{margin:8px 0 0;font-size:25px;font-weight:700;color:#1c483b;overflow-wrap:anywhere}.crm-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:18px 0}.crm-calendar button{min-width:0;min-height:56px;padding:5px 1px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.crm-calendar button strong{font-size:16px}.crm-calendar button small{font-size:11px}.crm-weekday{text-align:center;font-size:13px;padding:6px 0}.pre-line{white-space:pre-line;overflow-wrap:anywhere}.crm-editor form fieldset{min-width:0}.crm-editor .button-row>*{flex:1 1 150px}.crm-editor input,.crm-editor select{max-width:100%;min-width:0}
@media(min-width:1100px){.crm-workspace{grid-template-columns:minmax(230px,1fr) minmax(0,2fr)}}
@media(max-width:500px){.crm-date-range,.crm-totals{grid-template-columns:minmax(0,1fr)}.crm-banner{padding:22px}.crm-banner .brand-logo{right:15px;top:18px;width:30px;height:60px}.crm-calendar{gap:3px}.crm-calendar button{min-height:48px}.crm-banner h2{padding-right:32px}}

/* 会員メニューはスマホでも1行で読める余白にする。 */
.bottom-nav button{padding:.65rem .25rem;font-size:14px;white-space:nowrap}

/* 回数券・期間特典：画面自体をスクロールし、内側のスクロールを作らない。 */
.pass-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px;margin:18px 0}.pass-card{min-width:0;padding:20px;border:1px solid #cdbb96;border-radius:20px;background:linear-gradient(135deg,#fffdf8,#eee3ca);color:#34291f;overflow-wrap:anywhere}.pass-card h3{font-size:1.2rem;margin:12px 0}.pass-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.85rem}.pass-card-head img{width:76px;height:44px;object-fit:contain}.pass-count{margin:16px 0 8px;font-size:1rem}.pass-count strong{font-size:2.8rem;font-variant-numeric:tabular-nums}.pass-state{font-weight:700;color:#1d493d}.pass-closed,.pass-expired,.pass-used{background:#eeede9;border-color:#d1cfca}.pass-conditions{white-space:pre-wrap}.pass-card button{margin-top:10px}.pass-card small{display:block;margin-top:8px}.pass-review,.pass-history{margin:20px 0;padding:20px;border:2px solid #b8c9bf;border-radius:16px;min-width:0}.pass-review label{display:block;margin:14px 0}.pass-review label.check{display:flex}.pass-dates{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}.pass-panel{min-width:0}.pass-panel input,.pass-panel select{min-width:0;width:100%;box-sizing:border-box}.pass-panel input[type=checkbox]{width:auto;flex:0 0 auto}.pass-panel .page-title{flex-wrap:wrap}.pass-panel .history{flex-wrap:wrap;gap:12px}.pass-panel .history span{min-width:0;overflow-wrap:anywhere}.pass-panel .history small{white-space:normal}@media(max-width:480px){.pass-card,.pass-review,.pass-history{padding:16px}.pass-panel{padding:16px}.pass-dates{grid-template-columns:1fr}.pass-panel h2{font-size:1.25rem}}

.launch-readiness{min-width:0}.launch-readiness .page-title{flex-wrap:wrap}.launch-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin:20px 0}.launch-check{min-width:0;padding:20px;border:1px solid #d6cdc0;border-radius:16px;overflow-wrap:anywhere;background:#fcfaf5}.launch-check h3{font-size:1.1rem;margin:12px 0}.launch-check p{margin-bottom:0}.launch-state{display:inline-block;padding:5px 10px;border-radius:999px;font-size:.85rem;font-weight:700;background:#ece7dc}.launch-ok .launch-state{background:#deede3;color:#24503d}.launch-blocked .launch-state{background:#f3e0d6;color:#713d2b}.launch-manual .launch-state{background:#f2e9c9;color:#5e512c}@media(max-width:480px){.launch-check{padding:16px}.launch-readiness{padding:16px}}

/* メニューをスマホ/タブレット/PCで探し、内容を確認して準備する。 */
.menu-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:18px 0}.menu-filters>*{min-width:0}.menu-filters input,.menu-filters select{width:100%;min-width:0;max-width:100%}.menu-source{border:1px solid #d9d0bd;background:#faf8f2;border-radius:14px;padding:16px;margin:20px 0;min-width:0}.menu-source h3{margin-top:0}.menu-candidate-grid,.order-menu-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.menu-candidate{min-width:0;background:#fff;border:1px solid #e6dece;border-radius:12px;padding:14px;overflow-wrap:anywhere}.menu-candidate h4{margin:10px 0;font-size:1rem}.menu-candidate .product-price-net{font-size:23px}.order-product-photo{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#eee7db}.order-product-editor{scroll-margin-top:24px;outline-offset:5px;border-top:2px solid #d9d0bd;padding-top:20px;margin-top:24px}.order-product-editor>.order-product-photo,.order-product-editor fieldset>.order-product-photo{max-width:320px;margin-bottom:16px}.selected-menu-summary{background:#edf2e9;border-radius:12px;padding:16px;margin:18px 0;overflow-wrap:anywhere}.selected-menu-summary p{margin:8px 0}.order-tax-settings{margin-top:20px;padding-top:12px;border-top:1px solid #ded7c9}.order-tax-settings summary{font-weight:700;color:var(--green);cursor:pointer;min-height:44px;padding:10px 0}.order-menu-grid .order-product{border:1px solid #e6dece;border-radius:12px;padding:14px;min-width:0}
@media(min-width:700px){.menu-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.menu-candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1150px){.menu-candidate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.order-operation-summary{border:1px solid #d6c9b8;border-radius:12px;background:#fbf8f2;padding:16px;margin:16px 0}.order-operation-summary h3{overflow-wrap:anywhere}.order-operation-summary ul{padding-left:20px;line-height:1.8}.order-operation-summary li{overflow-wrap:anywhere}.order-reversal{margin-top:16px;border-top:1px solid #ded4c6;padding-top:12px}.order-reversal summary{font-weight:700;min-height:44px;cursor:pointer}

.menu-choice-preview{margin:1rem 0;text-align:left;min-width:0}.menu-choice-preview summary{cursor:pointer;font-weight:700;padding:.75rem 0}.menu-choice-preview fieldset{min-width:0;margin:1rem 0;padding:.75rem;border:1px solid #d9d0c2;border-radius:12px}.menu-choice-preview legend,.menu-choice-preview label span{overflow-wrap:anywhere}.menu-choice-preview .check{align-items:flex-start;gap:.6rem}.menu-choice-preview input[type=checkbox]{flex:0 0 auto}.menu-choice-total{padding:1rem;border-radius:12px;background:#f5f0e4}.menu-choice-total small{display:block;line-height:1.7}

/* Expanding choices uses the whole available panel on tablets and PCs. */
.menu-candidate:has(.menu-choice-preview[open]){grid-column:1/-1}
.menu-choice-preview .product-price-net{font-size:28px}

.order-item-choices{font-size:.9rem;line-height:1.6;margin:.5rem 0;padding-left:1.1rem;overflow-wrap:anywhere}.customer-choice-group,.admin-choice-group{min-width:0;border:1px solid #ded5c4;border-radius:12px;padding:12px;margin:14px 0}.choice-cart-line{border-bottom:1px solid #ded5c4;padding:14px 0;overflow-wrap:anywhere}.admin-choice-item{display:grid;gap:12px;margin:12px 0}.admin-choice-group input{min-width:0;max-width:100%}@media(min-width:768px){.admin-choice-item{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}
/* Long choice descriptions need the full order card width on store tablets. */
.staff-order-card:has(.order-item-choices){grid-column:1/-1}
.history:has(.order-item-choices){display:block}
.history:has(.order-item-choices)>strong{display:block;margin-top:.5rem;white-space:nowrap}
