import{w as c,q as i,p as e,M as d,L as x,t as m,v as r,S as p,x as h,O as u,i as f}from"./chunk-EPOLDU6W-DaMhR40e.js";import{s as o}from"./site-Bpc5KNUu.js";const g=()=>[{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap"}];function N({children:t}){return e.jsxs("html",{lang:"ja",children:[e.jsxs("head",{children:[e.jsx("meta",{charSet:"utf-8"}),e.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),e.jsx("meta",{name:"theme-color",content:"#f4efe4"}),e.jsx(d,{}),e.jsx(x,{})]}),e.jsxs("body",{className:"min-h-screen bg-[var(--color-sand)] text-slate-950 antialiased",children:[e.jsxs("div",{className:"mx-auto flex min-h-screen max-w-6xl flex-col px-4 sm:px-6 lg:px-8",children:[e.jsxs("header",{className:"flex items-center justify-between border-b border-black/10 py-5",children:[e.jsx(m,{className:"text-lg font-semibold tracking-[0.2em] uppercase",to:"/",children:o.brand}),e.jsxs("nav",{className:"flex items-center gap-5 text-sm",children:[e.jsx(r,{className:"nav-link",to:"/",children:"Top"}),e.jsx(r,{className:"nav-link",to:"/products",children:"Products"}),e.jsx(r,{className:"nav-link",to:"/help",children:"Help"})]})]}),e.jsx("main",{className:"flex-1 py-10",children:t}),e.jsx("footer",{className:"border-t border-black/10 py-6 text-sm text-slate-600",children:e.jsxs("p",{children:[o.brand," is pre-rendered for R2 + CDN deployment."]})})]}),e.jsx(p,{}),e.jsx(h,{})]})]})}const y=c(function(){return e.jsx(u,{})}),k=i(function({error:s}){let n="Oops!",a="An unexpected error occurred.",l;return f(s)&&(n=s.status===404?"404":"Error",a=s.status===404?"The requested page could not be found.":s.statusText||a),e.jsxs("main",{className:"mx-auto max-w-3xl rounded-3xl border border-black/10 bg-white/80 p-8 shadow-sm backdrop-blur",children:[e.jsx("h1",{className:"text-3xl font-semibold",children:n}),e.jsx("p",{className:"mt-3 text-slate-600",children:a}),l]})});export{k as ErrorBoundary,N as Layout,y as default,g as links};
