.tatame-rules-open{overflow:hidden}.tatame-rules-dialog{box-sizing:border-box;width:min(860px,calc(100% - 24px));max-width:none;max-height:92dvh;margin:auto;padding:0;border:1px solid #dde4ec;border-radius:18px;background:#fff;color:#192c44;font-family:Segoe UI,Arial,sans-serif;box-shadow:0 20px 90px #0004;overflow:hidden}.tatame-rules-dialog[open]{display:flex;flex-direction:column}.tatame-rules-dialog::backdrop{background:#102238ba}.tatame-rules-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px 16px;flex-shrink:0}.tatame-rules-head small{font-size:9px;letter-spacing:1.5px;color:#728096;font-weight:700}.tatame-rules-head h2{font-size:24px;line-height:1.3;margin:7px 0 0;letter-spacing:-.5px}.tatame-rules-close{width:42px;height:42px;flex-shrink:0;border:1px solid #e0e6ef;border-radius:50%;background:#f4f6fa;color:#192c44;font-size:25px;cursor:pointer}.tatame-rules-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 24px;border-top:1px solid #e5eaf1;border-bottom:1px solid #e5eaf1;flex-wrap:wrap;flex-shrink:0}.tatame-rules-views{display:flex;gap:4px;padding:4px;background:#edf2f8;border-radius:9px}.tatame-rules-views button{border:0;border-radius:7px;background:transparent;font:inherit;font-size:12px;font-weight:700;padding:9px 12px;color:#61728a;cursor:pointer}.tatame-rules-views button[aria-pressed=true]{background:#29558b;color:#fff}.tatame-rules-download{font-size:12px;color:#29558b;font-weight:600;text-decoration:underline}.tatame-rules-body{padding:18px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}.tatame-rules-image-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tatame-rules-image-tools button{border:1px solid #ccd8e7;border-radius:8px;background:#fff;padding:10px 13px;color:#29558b;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.tatame-rules-image-tools a{font-size:11px;color:#61728a}.tatame-rules-dialog .tatame-rules-hint{font-size:11px;color:#728096;line-height:1.6;margin:12px 0}.tatame-rules-image-viewport{overflow:auto;border:1px solid #e0e6ef;border-radius:8px;background:#f8f8f5}.tatame-rules-image-viewport img{width:100%;height:auto;display:block}.tatame-rules-image-viewport.is-zoomed{max-height:60dvh}.tatame-rules-image-viewport.is-zoomed img{width:1200px;max-width:none}.tatame-rules-text h3{font-size:19px;border-bottom:2px solid #cfb63b;padding-bottom:12px;margin:8px 0 22px}.tatame-rules-text ol{padding-left:27px;margin:0 0 32px;list-style-type:decimal-leading-zero}.tatame-rules-text li{padding-left:7px;margin-bottom:22px;font-size:15px;line-height:1.7}.tatame-rules-text li::marker{color:#927718;font-weight:800}.tatame-rules-text li strong{font-weight:700;color:#192c44}.tatame-rules-dialog .tatame-rules-text li p{font-size:14px;line-height:1.8;color:#61728a;margin:6px 0 0}.tatame-rules-dialog .tatame-rules-motto{padding-top:16px;border-top:1px solid #e0e6ef;font-size:13px;line-height:1.7;font-weight:600;color:#29558b;margin:0}.tatame-rules-footer{padding:14px 24px;border-top:1px solid #e5eaf1;display:flex;justify-content:flex-end;flex-shrink:0}.tatame-rules-footer button{border:0;border-radius:9px;background:#29558b;color:#fff;padding:12px 18px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.tatame-rules-dialog .tatame-booking-notice{margin:0 24px 16px;padding:12px 14px;background:#eef7f2;border-left:3px solid #258164;color:#23664f;font-size:12px;line-height:1.7;flex-shrink:0}.tatame-rules-dialog :focus-visible{outline:3px solid #86a9d5;outline-offset:2px}@media(max-width:600px){.tatame-rules-dialog{max-height:94dvh;width:calc(100% - 20px);border-radius:14px}.tatame-rules-head{padding:16px}.tatame-rules-head h2{font-size:21px}.tatame-rules-toolbar{padding:10px 16px}.tatame-rules-views button{font-size:11px;padding:9px 10px}.tatame-rules-download{font-size:11px}.tatame-rules-body{padding:15px 16px}.tatame-rules-dialog .tatame-booking-notice{margin:0 16px 14px;font-size:11px}.tatame-rules-image-tools{gap:10px}.tatame-rules-image-tools a{font-size:10px}.tatame-rules-footer{padding:12px 16px}.tatame-rules-text li{font-size:14px}.tatame-rules-dialog .tatame-rules-text li p{font-size:14px}}
