/* global React, ReactDOM */ /* global Header, Footer, MobileStickyCTA, Hero, TrustBadges, Promises, Services, Compare, Price, Area, Flow, Faq, Company, ContactCta */ /* global useTweaks, TweaksPanel, TweakSection, TweakRadio, TweakToggle, TweakColor */ const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{ "accent": "#C9A86A", "brand": "#0B2545", "headingFont": "Shippori Mincho", "density": "standard", "dark": false }/*EDITMODE-END*/; function App() { const [t, setTweak] = useTweaks(TWEAK_DEFAULTS); React.useEffect(() => { const body = document.body; body.style.setProperty("--color-accent", t.accent); body.style.setProperty("--color-brand", t.brand); body.style.setProperty("--color-brand-ink", shade(t.brand, -0.35)); const fontMap = { "Shippori Mincho": `"Shippori Mincho", "Yu Mincho", "ヒラギノ明朝 ProN", serif`, "Noto Serif JP": `"Noto Serif JP", "Yu Mincho", serif`, "Noto Sans JP": `"Noto Sans JP", system-ui, sans-serif`, }; body.style.setProperty("--font-heading", fontMap[t.headingFont] || fontMap["Shippori Mincho"]); body.setAttribute("data-density", t.density); body.setAttribute("data-dark", String(t.dark)); }, [t]); return (