import { useState } from "react"; import { CenteredShell, Flex, LegalDocumentShell, Topbar } from "@godxjp/ui/layout"; import { Button, Logo, Text } from "@godxjp/ui/general"; import { TERMS_JA } from "../_data"; /** * Viewport fixture — 390×844 (mobile). * * Below the 56rem container threshold the shell collapses to ONE column and the DOM order is what * you read: document header → contents → sections → footer actions. * * The contents rail is deliberately **static** here — not sticky and not height-capped — so a phone * never loses vertical space to pinned chrome. The entries are still real anchors with the same * scroll offset and focus handoff, so tapping one jumps to (and focuses) the section. */ export default function Demo() { const [activeSection, setActiveSection] = useState("acceptance"); return ( GodX ID } /> } footer={ 2026 GodX 株式会社 } > ({ id: section.id, title: section.title, content: ( {section.paragraphs.map((paragraph) => ( {paragraph} ))} ), }))} footerAction={ } /> ); }