// i18n — ミセバ / Miseba. Japanese is default. EN toggle (family pattern).
const STRINGS = {
  ja: {
    title: 'ミセバ / Miseba — お店を、フィードの主役に｜大阪のSNSマーケ代行',
    nav: { cta: '相談する' },
    hero: {
      pill: '大阪のSNSマーケ代行',
      live: '新規受付中',
      h1: ['お店を、フィードの', { hl: '主役' }, 'に。'],
      scr: '映え',
      sub: 'インスタ運用からリール・広告まで。“映え”でファンと売上を増やす、大阪のSNSマーケチームです。',
      ctaDM: 'DMで相談', ctaLINE: 'LINEで相談',
      trust: [['平均', '+280%', 'フォロワー成長'], ['返信', '24h', '以内'], ['大阪発', '全国', '対応']],
    },
    keywords: ['Instagram運用代行', 'リール制作', '広告運用', 'ブランディング', 'LINE公式', '見せ場', '映え'],
    services: {
      tag: 'What we do — サービス',
      heading: 'お店の“映え”、ぜんぶ任せられる。',
      sub: '企画から運用、広告まで。バラバラに頼まなくていい、ワンストップのSNSチーム。',
      items: [
        { n: '01', en: 'Account', t: 'Instagram運用代行', d: '投稿企画から毎日の運用、コメント対応まで。“中の人”をまるごと代行します。', ic: 'grid' },
        { n: '02', en: 'Reels', t: 'リール制作', d: 'バズる構成・テロップ・音源選びまで。スクロールを止めるショート動画を量産。', ic: 'play' },
        { n: '03', en: 'Ads', t: '広告運用', d: 'Meta広告で狙ったお客様へ。少額から始める、費用対効果ファーストの設計。', ic: 'target' },
        { n: '04', en: 'Brand', t: 'ブランディング', d: '世界観・トンマナ・ハイライト設計で、お店の“らしさ”を可視化します。', ic: 'spark' },
        { n: '05', en: 'LINE', t: 'LINE公式運用', d: '来店後のリピートづくり。配信・クーポン・自動応答まで設計・運用。', ic: 'chat' },
      ],
    },
    why: {
      tag: 'Why Miseba — 名前の由来',
      heading: 'なぜ「ミセバ」なのか。',
      sub: 'ミセバという名前には、わたしたちの仕事そのものが込められています。',
      cards: [
        { kanji: ['見せ', { em: '場' }], romaji: 'Mise-ba', h: 'いちばんの見どころ', p: '舞台でいちばん盛り上がる瞬間が“見せ場”。どんなお店にも、思わず目が留まる見どころが必ずあります。' },
        { kanji: [{ em: '映' }, 'え'], romaji: 'Bae', h: '思わず撮りたくなる', p: 'スクロールする指を止める、写真映え・動画映え。その“映え”を、わたしたちが設計します。' },
      ],
      eq: '見せ場 ＋ 映え ＝ ミセバ',
      stepsTag: 'How it works — 進め方',
      steps: [
        { n: '01', t: '知る', s: '診断', d: 'アカウントと競合を分析し、勝てる切り口を設計します。' },
        { n: '02', t: '魅せる', s: '制作', d: 'デザイン・動画で“映え”をかたちにします。' },
        { n: '03', t: '届ける', s: '運用', d: '投稿と広告で、狙ったお客様へ毎日リーチします。' },
        { n: '04', t: '伸ばす', s: '改善', d: '数字を見て毎週チューニング。ファンを増やし続けます。' },
      ],
    },
    results: {
      tag: 'Results — 実績',
      heading: '数字で見る、“見せ場”の力。',
      sub: '映えは、かわいいだけじゃない。フォロワーも、保存も、来店も動きます。',
      case: { t: 'カフェ A', chip: '事例', sub: 'Instagram運用 6ヶ月 ／ 大阪市', metrics: [['+320%', 'フォロワー'], ['×5.2', '保存数'], ['+42%', '来店数']] },
      ba: { t: 'フィードの “ビフォーアフター”', before: 'Before', after: 'After', arrow: '映えへ' },
      stats: [['+280%', '平均フォロワー成長'], ['1.2M', 'リール最高再生'], ['96%', '継続率']],
      note: '※ 数値は過去事例にもとづくサンプルです。実際の数値は別途共有します。',
    },
    veska: { pre: 'ミセバは', name: 'Veska Venture Group', post: 'の一員です。', sub: '制作も運用も、グループの総合力で。', link: 'グループを見る' },
    cta: {
      tag: "Let's talk — お問い合わせ",
      h: ['さあ、', { scr: '見せ場' }, 'を つくろう。'],
      lead: 'DM・LINE・フォーム、どこからでもOK。まずは無料で、いまのアカウントを診断します。',
      channels: [
        { k: 'ig', t: 'Instagram DM', s: '@miseba.jp', a: '相談する', url: 'https://www.instagram.com/miseba.jp/' },
        { k: 'line', t: 'LINEで相談', s: '友だち追加', a: '追加する' },
      ],
      form: {
        name: 'お名前 / 店舗名', namePh: '例）ミセバ食堂',
        biz: '業種', bizOpts: ['飲食店・カフェ', '美容・サロン', '小売・物販', 'その他'],
        msg: 'ご相談内容', msgPh: 'いまの悩みや、やりたいことを自由にどうぞ。',
        submit: '無料で相談する', note: '通常24時間以内に返信します。',
      },
    },
    foot: {
      desc: 'お店を、フィードの主役に。大阪発、SNSマーケティング代行。',
      cols: [
        { h: 'Service', links: ['Instagram運用代行', 'リール制作', '広告運用', 'ブランディング'] },
        { h: 'Miseba', links: ['ミセバとは', '料金プラン', 'よくある質問', 'お問い合わせ'] },
        { h: 'Group', links: ['Veska Venture Group', 'Bridge Web Design'] },
      ],
      copyright: '© 2026 Miseba',
      group: 'part of Veska Venture Group',
    },
  },
  en: {
    title: 'Miseba — Make your shop the star of the feed｜Osaka SMMA',
    nav: { cta: 'Get in touch' },
    hero: {
      pill: 'Osaka social-media agency',
      live: 'Taking new clients',
      h1: ['Make your shop the ', { hl: 'star' }, ' of the feed.'],
      scr: '映え',
      sub: 'From Instagram management to Reels and ads — the Osaka team that grows your fans and sales with “映え” (scroll-stopping shine).',
      ctaDM: 'DM us', ctaLINE: 'Chat on LINE',
      trust: [['avg', '+280%', 'follower growth'], ['reply', '24h', 'or less'], ['Osaka', 'nationwide', 'service']],
    },
    keywords: ['Instagram management', 'Reels', 'Ad ops', 'Branding', 'LINE official', 'Miseba', '映え'],
    services: {
      tag: 'What we do — services',
      heading: 'Your whole feed, handled.',
      sub: 'Strategy, daily posting and ads — one social team instead of five vendors.',
      items: [
        { n: '01', en: 'Account', t: 'Instagram management', d: 'From content planning to daily posting and comment replies — we run the account end to end.', ic: 'grid' },
        { n: '02', en: 'Reels', t: 'Reels production', d: 'Hooks, captions, trending audio — short videos built to stop the scroll, made at volume.', ic: 'play' },
        { n: '03', en: 'Ads', t: 'Ad operations', d: 'Meta ads to reach exactly who you want. Start small, optimised for return first.', ic: 'target' },
        { n: '04', en: 'Brand', t: 'Branding', d: 'World, tone and highlight design that makes what’s uniquely you visible.', ic: 'spark' },
        { n: '05', en: 'LINE', t: 'LINE official', d: 'Turn first visits into regulars — broadcasts, coupons and auto-replies, set up and run.', ic: 'chat' },
      ],
    },
    why: {
      tag: 'Why Miseba — the name',
      heading: 'Why “Miseba”?',
      sub: 'The name carries exactly what we do for you.',
      cards: [
        { kanji: ['見せ', { em: '場' }], romaji: 'Mise-ba', h: 'The standout moment', p: 'The “見せ場” is the high point of a performance. Every shop has one — a detail that makes people stop and look.' },
        { kanji: [{ em: '映' }, 'え'], romaji: 'Bae', h: 'Worth a photo', p: '“映え” is that scroll-stopping shine in a photo or video. Designing it is our craft.' },
      ],
      eq: 'Mise-ba ＋ Bae ＝ Miseba',
      stepsTag: 'How it works',
      steps: [
        { n: '01', t: 'Learn', s: 'Audit', d: 'We analyse your account and rivals, then design an angle that wins.' },
        { n: '02', t: 'Shine', s: 'Create', d: 'Design and video turn that angle into “映え”.' },
        { n: '03', t: 'Reach', s: 'Run', d: 'Posts and ads put you in front of the right customers daily.' },
        { n: '04', t: 'Grow', s: 'Improve', d: 'We tune weekly on the numbers and keep growing your fans.' },
      ],
    },
    results: {
      tag: 'Results',
      heading: 'The numbers behind the shine.',
      sub: '“映え” isn’t just pretty — followers, saves and visits all move.',
      case: { t: 'Café A', chip: 'case', sub: 'Instagram, 6 months ／ Osaka', metrics: [['+320%', 'followers'], ['×5.2', 'saves'], ['+42%', 'visits']] },
      ba: { t: 'Feed “before & after”', before: 'Before', after: 'After', arrow: 'to 映え' },
      stats: [['+280%', 'avg follower growth'], ['1.2M', 'top Reel views'], ['96%', 'retention']],
      note: '* Figures are samples based on past work. Real numbers shared on request.',
    },
    veska: { pre: 'Miseba is part of', name: 'Veska Venture Group', post: '.', sub: 'Built and run with the full strength of the group.', link: 'See the group' },
    cta: {
      tag: 'Let’s talk',
      h: ['Let’s build your ', { scr: 'spotlight' }, '.'],
      lead: 'DM, LINE or the form — whatever’s easiest. We’ll audit your account for free first.',
      channels: [
        { k: 'ig', t: 'Instagram DM', s: '@miseba.jp', a: 'Message', url: 'https://www.instagram.com/miseba.jp/' },
        { k: 'line', t: 'Chat on LINE', s: 'Add friend', a: 'Add' },
      ],
      form: {
        name: 'Name / shop', namePh: 'e.g. Miseba Diner',
        biz: 'Industry', bizOpts: ['Restaurant / café', 'Beauty / salon', 'Retail / goods', 'Other'],
        msg: 'What’s on your mind', msgPh: 'Tell us your challenge or what you’d like to do.',
        submit: 'Get a free consult', note: 'We usually reply within 24 hours.',
      },
    },
    foot: {
      desc: 'Make your shop the star of the feed. Social-media marketing from Osaka.',
      cols: [
        { h: 'Service', links: ['Instagram management', 'Reels production', 'Ad operations', 'Branding'] },
        { h: 'Miseba', links: ['About', 'Pricing', 'FAQ', 'Contact'] },
        { h: 'Group', links: ['Veska Venture Group', 'Bridge Web Design'] },
      ],
      copyright: '© 2026 Miseba',
      group: 'part of Veska Venture Group',
    },
  },
};

const LangCtx = React.createContext({ lang: 'ja', setLang: () => {} });
function useI18n() {
  const { lang, setLang } = React.useContext(LangCtx);
  return { lang, setLang, t: STRINGS[lang] };
}
Object.assign(window, { STRINGS, LangCtx, useI18n });
