:root{--brand:#800b16;--brand-strong:#590909;--brand-tint:#fff7f8;--brand-soft:#fbedef;--canvas:#f4f4f4;--surface:#fff;--ink:#232323;--ink-2:#676767;--line:#bfbfbf;--line-soft:#dedede;--ok:#0041c2;--error:#a20d1a;--error-bg:#fff0f1;--header-bg:#161616;--header-ink:#fff;--radius-card:12px;--radius-control:8px;--radius-input:6px;--radius-chip:4px;--font-sans:Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "BIZ UDPGothic", Meiryo, sans-serif;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--content-width:1180px}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--canvas);color:var(--ink);font-family:var(--font-sans);margin:0;font-size:16px;line-height:1.7}h1{font-size:2rem;font-weight:750;line-height:1.5}h2{font-size:1.5rem;font-weight:700}a{color:inherit}a:hover{text-decoration:underline}button,a,input,textarea,select{touch-action:manipulation}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.site-header{background:var(--header-bg);color:var(--header-ink)}.site-header__inner{align-items:center;gap:var(--space-5);height:96px;padding:0 4vw;display:flex}.site-header__logo{flex-shrink:0;line-height:0;display:block}.site-header__logo img{width:auto;height:52px}.site-header__title{padding-left:var(--space-5);color:var(--header-ink);border-left:1px solid #555;line-height:1.5;text-decoration:none}.site-header__title:hover{text-decoration:none}.site-header__title strong{font-size:1.1rem;display:block}.site-header__title span{color:#ccc;font-size:.8rem;display:block}.site-header__nav{gap:var(--space-4);margin-left:auto;font-size:.9rem;display:flex}.site-header__nav a{color:var(--header-ink);text-decoration:underline}@media (max-width:700px){.site-header__inner{gap:var(--space-3);height:72px}.site-header__logo img{height:34px}.site-header__title span{display:none}.site-header__title{padding-left:var(--space-3)}}@media (max-width:420px){.site-header__logo img{height:26px}}.page{max-width:var(--content-width);padding:var(--space-6) var(--space-4);margin:0 auto}.eyebrow{color:var(--brand);letter-spacing:.12em;margin:0 0 .6rem;font-size:.8rem;font-weight:700}.card{background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius-card);padding:2rem}.card--accent,.auth-card{border-top:5px solid var(--brand)}.card+.card{margin-top:var(--space-5)}.card h1,.card h2{margin-top:0;line-height:1.4}@media (max-width:600px){.card{padding:1.25rem}}.muted{color:var(--ink-2)}.notice{border-left:4px solid var(--brand);padding:var(--space-3) var(--space-4);color:var(--ink);background:#f5f5f5}.guide{border-left:4px solid var(--brand);margin:0 0 var(--space-5);background:#f5f5f5;align-items:center;gap:1.3rem;padding:1rem 1.5rem;display:flex}.guide img{object-fit:contain;flex-shrink:0;width:85px;height:100px}.guide p{margin:0;font-size:.95rem}.guide strong{color:var(--brand);margin-bottom:.4rem;font-size:.8rem;display:block}.field{margin-bottom:var(--space-4);display:block}.field__label{margin-bottom:var(--space-1);font-weight:600;display:block}.field__hint{color:var(--ink-2);font-size:13px;display:block}.input{width:100%;font:inherit;border:1px solid var(--line);border-radius:var(--radius-input);background:var(--surface);color:var(--ink);padding:.7rem .9rem}.input:focus{outline:2px solid var(--brand);outline-offset:2px}input[type=checkbox],input[type=radio]{accent-color:var(--brand)}.button{justify-content:center;align-items:center;gap:var(--space-2);font:inherit;border:1px solid var(--brand);border-radius:var(--radius-control);background:var(--brand);color:#fff;cursor:pointer;padding:.7rem 1.25rem;font-weight:600;text-decoration:none;transition:background-color .15s;display:inline-flex}.button:hover{background:var(--brand-strong);border-color:var(--brand-strong);text-decoration:none}.button:disabled{opacity:.5;cursor:not-allowed}.button:disabled:hover{background:var(--brand);border-color:var(--brand)}.button--secondary{background:var(--surface);color:#222;border-color:#ccc}.button--secondary:hover{background:#eee;border-color:#ccc}.button--secondary:disabled:hover{background:var(--surface);border-color:#ccc}.stack{gap:var(--space-3);flex-wrap:wrap;display:flex}.site-footer{text-align:center;color:var(--ink-2);padding:2rem;font-size:.8rem}.auth-card{max-width:520px;margin-left:auto;margin-right:auto}.small{font-size:13px}.button--block{width:100%;margin-top:var(--space-2);display:block}.button--small{padding:.35rem .8rem;font-size:14px}.password-input{display:flex}.password-input .input{flex:1;min-width:0}.password-input__toggle{font:inherit;padding:0 var(--space-3);border:1px solid var(--line);background:var(--canvas);color:var(--ink);cursor:pointer;white-space:nowrap;border-left:none;font-size:14px}.input--code{letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.field__error{color:var(--brand);font-size:13px;font-weight:700;display:block}.field__ok{color:var(--ok);font-size:13px;display:block}.form-error{background:var(--error-bg);color:var(--error);padding:var(--space-3) var(--space-4);border-radius:5px;margin-top:0;font-weight:700}.link-list{margin:var(--space-5) 0 var(--space-4);padding:0;list-style:none}.link-list li+li{margin-top:var(--space-2)}.recovery-code{letter-spacing:.06em;white-space:nowrap;text-align:center;padding:var(--space-4);border:2px dashed var(--brand);background:var(--canvas);-webkit-user-select:all;user-select:all;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:clamp(17px,5vw,26px);font-weight:700;overflow-x:auto}.copy-status{align-self:center;font-size:14px}.checkbox{gap:var(--space-2);margin:var(--space-4) 0;align-items:center;font-weight:700;display:flex}.checkbox input{width:20px;height:20px}.account-bar{background:var(--surface);border-bottom:1px solid var(--line-soft)}.account-bar__inner{max-width:var(--content-width);padding:var(--space-2) var(--space-4);justify-content:flex-end;align-items:center;gap:var(--space-3);margin:0 auto;font-size:14px;display:flex}.account-bar__inner form{margin:0}.page--wide{max-width:1200px}.page--narrow{max-width:640px}.card__head{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.card__head h1,.card__head h2{margin:0}.h-small{font-size:16px}.input--narrow{width:6em}.input--medium{width:12em}.editor-panel{border:1px solid var(--line-soft);padding:var(--space-3) var(--space-4);margin:0 0 var(--space-4)}.editor-panel legend{padding:0 var(--space-2);font-weight:700}.editor-panel label{align-items:center;gap:var(--space-1);display:inline-flex}.radio{margin:var(--space-2) 0;display:flex!important}.table{border-collapse:collapse;width:100%;font-size:15px}.table th,.table td{text-align:left;padding:var(--space-2);border-bottom:1px solid var(--line-soft);vertical-align:middle}.table th{color:var(--ink-2);font-size:13px}.table form{margin:0}.state{padding:0 var(--space-2);white-space:nowrap;border:1px solid;font-size:13px;font-weight:700;display:inline-block}.state--before{color:var(--ink-2)}.state--open{color:#fff;background:var(--ok);border-color:var(--ok)}.state--closed{color:var(--brand)}.state--large{padding:var(--space-1) var(--space-3);font-size:18px}.lecture-top{gap:var(--space-5);flex-wrap:wrap;justify-content:space-between;display:flex}.lecture-top .stack form{margin:0}.big-count{margin:0 0 var(--space-3);font-size:20px}.big-count strong{color:var(--brand);font-size:32px}.qr-small{flex-shrink:0;width:160px}.qr-small svg,.screen__qr svg{width:100%;height:auto;display:block}.seat-map{overflow-x:auto}.seat-map__svg{width:100%;max-height:80vh;margin:0 auto;display:block}.seat-map--small .seat-map__svg{max-height:70vh}.desk{fill:#f1ebe4;stroke:#6d5d52;stroke-width:1.5px}.desk--selected{fill:var(--brand-tint);stroke:var(--brand);stroke-width:3px}.desk-front{fill:#6d5d52;pointer-events:none}.fixture{stroke:#333;stroke-width:1px;opacity:.9}.fixture--selected{stroke:var(--brand);stroke-width:3px}.fixture-label{fill:#fff;pointer-events:none;font-size:15px;font-weight:700}.fixture-label--outside{fill:var(--ink-2)}.seat-dot circle{fill:#fff;stroke:var(--line);stroke-width:2.5px}.seat-dot text{fill:var(--ink);pointer-events:none;font-size:17px;font-weight:700}.seat-dot--spare circle{stroke-dasharray:4 3;fill:#fafafa}.seat-dot--spare text{fill:var(--ink-2)}.seat-dot--taken circle{fill:var(--brand-tint)}.seat-dot--dim{opacity:.45}.seat-dot--mine circle{fill:var(--brand);stroke:var(--brand-strong)}.seat-dot--mine text{fill:#fff}.seat-dot--mine .seat-dot__ring{fill:none;stroke:var(--brand);stroke-width:4px}.seat-dot--edit{cursor:grab}.editor__top{gap:var(--space-4);flex-wrap:wrap;align-items:flex-end;display:flex}.editor__top .field{flex:280px}.editor__room{gap:var(--space-3);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.editor__room label,.arrange label,.props-fields label,.palette-details label{align-items:center;gap:var(--space-1);font-size:14px;display:flex}.editor__body{gap:var(--space-4);grid-template-columns:220px minmax(0,1fr) 220px;align-items:start;display:grid}@media (max-width:1000px){.editor__body{grid-template-columns:minmax(0,1fr)}}.editor__palette h3,.editor__props h3{margin:var(--space-3) 0 var(--space-2);border-left:4px solid var(--brand);padding-left:var(--space-2);font-size:15px}.editor__palette h3:first-child,.editor__props h3:first-child{margin-top:0}.palette-grid{gap:var(--space-1);grid-template-columns:1fr 1fr;display:grid}.palette-button{font:inherit;padding:var(--space-2) var(--space-1);border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;font-size:13px;line-height:1.3}.palette-button:hover{background:var(--brand-tint);border-color:var(--brand)}.palette-button--fixture{background:var(--canvas)}.palette-details{margin-top:var(--space-2);font-size:14px}.palette-details label{margin-top:var(--space-1)}.arrange{gap:var(--space-2);display:grid}.arrange select{padding:2px var(--space-2)}.editor__toolbar{gap:var(--space-2);margin-bottom:var(--space-2);flex-wrap:wrap;align-items:center;display:flex}.editor__summary{margin-left:auto;font-size:14px}.editor__svg{background:var(--canvas);border:1px solid var(--line-soft);touch-action:none;-webkit-user-select:none;user-select:none;width:100%;max-height:75vh;display:block}.editor__svg:focus-visible{outline:3px solid var(--ok)}.room{fill:#fff;stroke:var(--ink);stroke-width:3px}.room-grid line{stroke:#eeeae8;stroke-width:1px}.draggable{cursor:grab}.rotation{gap:var(--space-2);margin-bottom:var(--space-2);display:grid}.props-fields{gap:var(--space-2);margin-top:var(--space-3);display:grid}.legend{gap:var(--space-3);flex-wrap:wrap;padding:0;font-size:14px;list-style:none;display:flex}.legend li{align-items:center;gap:var(--space-1);display:flex}.legend__swatch{width:14px;height:14px;display:inline-block}.draw-area{text-align:center;padding:var(--space-4) 0}.button--draw{padding:var(--space-4) var(--space-6);min-width:60%;font-size:28px}.result{text-align:center;padding:var(--space-3) 0}.result__lead{margin:0;font-size:18px}.result__seat{margin:var(--space-2) 0;font-size:24px;font-weight:700}.result__seat strong{color:var(--brand);font-size:72px;line-height:1.1}.result__group{border-bottom:4px solid var(--brand);width:fit-content;margin:var(--space-1) auto 0;font-size:22px;display:block}.message{white-space:pre-wrap;margin-top:var(--space-4);border-left:4px solid var(--line-soft);padding-left:var(--space-3)}.screen{z-index:100;border-top:8px solid var(--brand);background:#fff;grid-template-columns:minmax(260px,30vw) minmax(0,1fr);gap:3vw;padding:3vh 3vw;display:grid;position:fixed;inset:0;overflow:auto}.screen__side{flex-direction:column;justify-content:center;align-items:flex-start;display:flex}.screen__qr{width:min(28vw,46vh)}.screen__title{margin:0 0 1.5vh;font-size:clamp(18px,2.2vw,34px);font-weight:700}.screen__lead span{display:inline-block}.screen__lead{margin:2vh 0;font-size:clamp(16px,1.8vw,30px);font-weight:700;line-height:1.4}.screen__count{margin:1.5vh 0;font-size:clamp(16px,1.8vw,28px)}.screen__count strong{color:var(--brand);font-size:1.6em}.screen__remaining{color:var(--ink-2);font-size:.8em;display:block}.screen__url{color:var(--ink-2);word-break:break-all;font-size:clamp(11px,.9vw,16px)}.screen__map{flex-direction:column;justify-content:center;min-width:0;display:flex}.seat-map--screen .seat-map__svg{max-height:84vh}.screen__legend{gap:var(--space-4);flex-wrap:wrap;justify-content:center;margin:1vh 0 0;font-size:clamp(13px,1.2vw,20px);display:flex}.screen__legend-item{align-items:center;gap:var(--space-1);display:inline-flex}.legend-dot{border:3px solid var(--line);background:#fff;border-radius:50%;width:1em;height:1em;display:inline-block}.legend-dot--grey{background:#9e9e9e;border-color:#9e9e9e}@media (max-width:800px){.screen{grid-template-columns:minmax(0,1fr)}.screen__qr{width:70vw}}.seat-dot--grey circle{fill:#9e9e9e;stroke:#9e9e9e!important}.seat-dot--grey text{fill:#fff}.seat-dot--clickable{cursor:pointer}.seat-dot--clickable:hover circle{stroke-width:5px}.seat-dot--clickable:focus-visible{outline:none}.seat-dot--clickable:focus-visible circle{stroke-width:5px;stroke:var(--ok)!important}.move-form{gap:var(--space-1);align-items:center;display:flex}.input--select-small{width:auto;padding:2px var(--space-1);font-size:14px}.lang-switch{margin-bottom:var(--space-3);justify-content:flex-end;gap:0;display:flex}.lang-switch__button{font:inherit;padding:var(--space-2) var(--space-3);border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;min-height:44px;font-size:14px}.lang-switch__button+.lang-switch__button{border-left:none}.lang-switch__button--active{background:var(--ink);border-color:var(--ink);color:#fff}.lang-switch__button rt{font-size:9px}rt{font-size:.55em}.message__from{margin:0}.message__body{margin:var(--space-1) 0 0;line-height:2.1}.result__prefix{font-size:.8em}.ruby-preview{border:1px dashed var(--line-soft);padding:var(--space-2) var(--space-3);margin:var(--space-2) 0 0;line-height:2.2}.tt-code{letter-spacing:.1em;padding:var(--space-2) var(--space-4);border:2px dashed var(--brand);background:var(--canvas);-webkit-user-select:all;user-select:all;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:28px;font-weight:700;display:inline-block}.print-toolbar{margin-bottom:var(--space-5)}.print-header h1{margin:0;font-size:22px}.print-header p{margin:0 0 var(--space-3);color:var(--ink-2)}.print-table{margin-top:var(--space-4)}.labels{grid-template-columns:repeat(4,1fr);gap:6mm;display:grid}.label{break-inside:avoid;background:#fff;border:1px solid #333;border-top:8mm solid #1f1f1f;flex-direction:column;justify-content:center;align-items:center;height:42mm;display:flex}.label__number{font-size:64px;font-weight:700;line-height:1}.label__group{margin-top:2mm;font-size:18px;font-weight:700}.label__meta{color:var(--ink-2);margin-top:1mm;font-size:11px}.qr-poster{text-align:center;padding:var(--space-5);background:#fff}.qr-poster__title{margin:0;font-size:32px;font-weight:700}.qr-poster__lead{font-size:22px;font-weight:700}.qr-poster__qr{width:min(140mm,90%);margin:0 auto}.qr-poster__qr svg{width:100%;height:auto;display:block}.qr-poster__url{word-break:break-all;font-size:14px}.qr-poster__meta{color:var(--ink-2)}@media print{@page{size:A4;margin:12mm}body{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff}.site-header,.site-footer,.account-bar,.no-print{display:none!important}.page{max-width:none;padding:0}.seat-map__svg{max-height:170mm}.print-table{font-size:11px}.print-table td,.print-table th{padding:1mm 2mm}}.filter-bar{gap:var(--space-2);margin-bottom:var(--space-4);padding:var(--space-3);background:var(--canvas);flex-wrap:wrap;align-items:center;display:flex}.filter-bar .input{padding:4px var(--space-2)}.tag-line{gap:var(--space-1);margin:var(--space-1) 0 var(--space-2);flex-wrap:wrap;display:flex}.tag-line--small{margin:2px 0 0}.tag-chip,.folder-chip{padding:0 var(--space-2);border:1px solid var(--line-soft);background:var(--canvas);color:var(--ink-2);font-size:12px;text-decoration:none}.folder-chip{background:var(--surface)}.memo{white-space:pre-wrap;padding:var(--space-2) var(--space-3);background:#fffbe6;border-left:4px solid #d4a800}.inline-form{gap:var(--space-2);margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;display:flex}.password-input .input{border-top-right-radius:0;border-bottom-right-radius:0}.password-input__toggle{border-radius:0 var(--radius-input) var(--radius-input) 0}.state,.tag-chip,.folder-chip{border-radius:var(--radius-chip)}.palette-button{border-radius:var(--radius-input);border-color:#ccc}.palette-button:hover{background:var(--brand-tint)}.editor-panel,.filter-bar,.memo,.ruby-preview,.recovery-code,.tt-code{border-radius:var(--radius-control)}.lang-switch__button:first-child{border-radius:var(--radius-control) 0 0 var(--radius-control)}.lang-switch__button:last-child{border-radius:0 var(--radius-control) var(--radius-control) 0}.lang-switch__button--active{background:var(--brand);border-color:var(--brand)}.editor__svg,.qr-small,.qr-poster{border-radius:var(--radius-control)}.label{border-radius:6px;overflow:hidden}.legend__swatch{border-radius:3px}.table th{background:#f6f6f6;font-size:12px}.big-count strong,.screen__count strong,.result__seat strong{font-weight:800}.home{max-width:var(--content-width);grid-template-columns:1.3fr 1fr;gap:2rem 5rem;margin:0 auto;padding:4.5rem 2rem 1rem;display:grid}.home h1{letter-spacing:.02em;margin:0 0 1rem;font-size:2.7rem;line-height:1.5}.home em{color:var(--brand);font-style:normal}.home .intro{color:#555;font-size:1.1rem}.home-guide{align-items:center;gap:1.5rem;display:flex}.home-guide img{object-fit:contain;width:130px;height:145px}.home-guide p{font-weight:700}.home-guide small{color:#777;margin-top:.5rem;font-size:.8rem;font-weight:400;display:block}.home-card{align-self:start;margin-top:1.5rem}.home-card h2{margin:0 0 1rem}.journey{border-top:1px solid #ccc;grid-column:1/-1;justify-content:space-between;gap:1rem;margin:0;padding:1.5rem 0;font-size:.75rem;font-weight:700;list-style:none;display:flex}.journey b{color:var(--brand);font-size:1.2rem;display:block}@media (max-width:900px){.home{gap:2rem;padding:2rem}.home h1{font-size:2rem}}@media (max-width:600px){.home{grid-template-columns:1fr;padding:2rem 1rem}.home-guide{display:none}.home-card{margin:0}.journey{flex-wrap:wrap}}.page-heading{margin-bottom:var(--space-5)}.page-heading h1{margin:0}.result-guide{margin-bottom:var(--space-2);justify-content:center;display:flex}.result-guide img{object-fit:contain;width:96px;height:96px}.waiting-guide{align-items:center;gap:var(--space-4);display:flex}.waiting-guide img{object-fit:contain;flex-shrink:0;width:72px;height:80px}.waiting-guide p{margin:0}.screen__brand{align-items:center;gap:var(--space-3);color:var(--ink-2);letter-spacing:.12em;margin:0 0 2vh;font-size:clamp(12px,1vw,16px);font-weight:700;display:flex}.screen__brand img{width:auto;height:clamp(28px,3vw,44px)}
