{"id":101,"date":"2026-08-25T13:00:52","date_gmt":"2026-08-25T13:00:52","guid":{"rendered":"https:\/\/kuzume-shinichirou.com\/?page_id=101"},"modified":"2026-09-02T10:24:27","modified_gmt":"2026-09-02T10:24:27","slug":"activity","status":"publish","type":"page","link":"https:\/\/kuzume-shinichirou.com\/index.php\/activity\/","title":{"rendered":"\u5730\u57df\u30fb\u65e5\u3005\u306e\u6d3b\u52d5"},"content":{"rendered":"\n<main class=\"kz-archive kz-activity-page\">\n  <section class=\"kz-archive-hero\" aria-labelledby=\"activity-page-title\">\n    <div class=\"kz-archive-inner\">\n      <p class=\"kz-archive-en\">ACTIVITY<\/p>\n      <h1 id=\"activity-page-title\">\u5730\u57df\u3067\u3001\u65e5\u3005\u52d5\u304f<\/h1>\n      <p class=\"kz-archive-lead\">\n        \u307e\u3061\u3092\u6b69\u304d\u3001\u4eba\u306b\u4f1a\u3044\u3001\u66ae\u3089\u3057\u306e\u5909\u5316\u3092\u78ba\u304b\u3081\u308b\u3002<br>\n        \u8b70\u4f1a\u3060\u3051\u3067\u306f\u898b\u3048\u306a\u3044\u5730\u57df\u306e\u58f0\u3068\u3001\u65e5\u3005\u306e\u6d3b\u52d5\u3092\u65b0\u3057\u3044\u9806\u306b\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002\n      <\/p>\n    <\/div>\n  <\/section>\n\n  <nav class=\"kz-archive-nav\" aria-label=\"\u6700\u65b0\u306e\u6d3b\u52d5\u30da\u30fc\u30b8\u5185\u30e1\u30cb\u30e5\u30fc\">\n    <a href=\"#activity-posts\">\u6700\u65b0\u306e\u8a18\u4e8b<\/a>\n    <a href=\"https:\/\/kuzume-shinichirou.com\/index.php\/council\/\">\u8b70\u54e1\u6d3b\u52d5<\/a>\n    <a href=\"https:\/\/kuzume-shinichirou.com\/index.php\/contact\/\">\u58f0\u3092\u5c4a\u3051\u308b<\/a>\n  <\/nav>\n\n  <section id=\"activity-posts\" class=\"kz-post-archive\" aria-labelledby=\"activity-posts-title\">\n    <div class=\"kz-archive-inner\">\n      <div class=\"kz-archive-heading\">\n        <p>NEWS &amp; REPORT<\/p>\n        <h2 id=\"activity-posts-title\">\u5730\u57df\u30fb\u65e5\u3005\u306e\u6d3b\u52d5<\/h2>\n      <\/div>\n\n      <div id=\"kz-activity-filters\" class=\"kz-post-filters\" aria-label=\"\u30ab\u30c6\u30b4\u30ea\u30fc\u3067\u7d5e\u308a\u8fbc\u3080\">\n        <button type=\"button\" class=\"is-active\" data-category=\"all\">\u3059\u3079\u3066<\/button>\n      <\/div>\n\n      <div id=\"kz-activity-post-list\" class=\"kz-post-grid\" aria-live=\"polite\" aria-busy=\"true\">\n        <p class=\"kz-post-status\">\u6700\u65b0\u306e\u6d3b\u52d5\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n      <\/div>\n\n      <div class=\"kz-loadmore-wrap\">\n        <button id=\"kz-activity-more\" class=\"kz-loadmore\" type=\"button\" hidden>\u3055\u3089\u306b\u898b\u308b<\/button>\n      <\/div>\n    <\/div>\n  <\/section>\n\n  <section class=\"kz-archive-contact\">\n    <div class=\"kz-archive-inner\">\n      <p>FOLLOW &amp; CONTACT<\/p>\n      <h2>\u8eab\u8fd1\u306a\u58f0\u3092\u3001\u6d3b\u52d5\u306b\u3064\u306a\u3052\u307e\u3059<\/h2>\n      <span>SNS\u3067\u3082\u6d3b\u52d5\u3092\u767a\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002\u3054\u610f\u898b\u30fb\u3054\u76f8\u8ac7\u3082\u304a\u6c17\u8efd\u306b\u304a\u5bc4\u305b\u304f\u3060\u3055\u3044\u3002<\/span>\n      <div class=\"kz-contact-buttons\">\n        <a href=\"https:\/\/x.com\/s_kuzume\" target=\"_blank\" rel=\"noopener\">X\u3092\u898b\u308b <b>\u2192<\/b><\/a>\n        <a href=\"https:\/\/kuzume-shinichirou.com\/index.php\/contact\/\">\u304a\u554f\u3044\u5408\u308f\u305b <b>\u2192<\/b><\/a>\n      <\/div>\n    <\/div>\n  <\/section>\n<\/main>\n\n<script>\n(function () {\n  const list = document.getElementById(\"kz-activity-post-list\");\n  const filters = document.getElementById(\"kz-activity-filters\");\n  const more = document.getElementById(\"kz-activity-more\");\n  if (!list || !filters || !more) return;\n\n  const api = \"https:\/\/kuzume-shinichirou.com\/wp-json\/wp\/v2\/posts?per_page=100&orderby=date&order=desc&_embed=1\";\n  const perView = 9;\n  let posts = [];\n  let selected = \"all\";\n  let visible = perView;\n\n  function textOnly(html) {\n    const element = document.createElement(\"div\");\n    element.innerHTML = html || \"\";\n    return (element.textContent || \"\").replace(\/\\s+\/g, \" \").trim();\n  }\n\n  function escapeHtml(value) {\n    return String(value || \"\").replace(\/[&<>\"']\/g, function (character) {\n      return {\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",\"\\\"\":\"&quot;\",\"'\":\"&#039;\"}[character];\n    });\n  }\n\n  function terms(post) {\n    return ((post._embedded || {})[\"wp:term\"] || []).reduce(function (all, group) {\n      return all.concat(group || []);\n    }, []).filter(function (term) { return term.taxonomy === \"category\"; });\n  }\n\n  function category(post) {\n    const item = terms(post).find(function (term) {\n      return term.name !== \"\u672a\u5206\u985e\" && term.name !== \"Uncategorized\";\n    });\n    return item ? item.name : \"\u6d3b\u52d5\u5831\u544a\";\n  }\n\n  function isMemberActivity(post) {\n    return terms(post).some(function (term) {\n      const name = String(term.name || \"\").toLowerCase();\n      const slug = String(term.slug || \"\").toLowerCase();\n\n      return (\n        name.indexOf(\"\u8b70\u54e1\") !== -1 ||\n        name.indexOf(\"\u8b70\u4f1a\") !== -1 ||\n        slug === \"member-activity\" ||\n        slug === \"council\" ||\n        slug.indexOf(\"council\") !== -1\n      );\n    });\n  }\n\n  function image(post) {\n    const media = (((post._embedded || {})[\"wp:featuredmedia\"] || [])[0] || null);\n    return media && media.source_url ? {url: media.source_url, alt: media.alt_text || textOnly(post.title.rendered)} : null;\n  }\n\n  function date(value) {\n    const item = new Date(value);\n    if (Number.isNaN(item.getTime())) return \"\";\n    return new Intl.DateTimeFormat(\"ja-JP\", {year:\"numeric\",month:\"2-digit\",day:\"2-digit\"}).format(item).replace(\/\\\/\/g, \".\");\n  }\n\n  function card(post) {\n    const title = textOnly(post.title ? post.title.rendered : \"\") || \"\u6d3b\u52d5\u5831\u544a\";\n    const excerpt = textOnly(post.excerpt ? post.excerpt.rendered : \"\").slice(0, 92);\n    const featured = image(post);\n    const visual = featured\n      ? '<img decoding=\"async\" src=\"' + escapeHtml(featured.url) + '\" alt=\"' + escapeHtml(featured.alt) + '\" loading=\"lazy\">'\n      : '<div class=\"kz-post-placeholder\" aria-hidden=\"true\">ACTIVITY<\/div>';\n\n    return '<article class=\"kz-post-card\"><a href=\"' + escapeHtml(post.link) + '\">' +\n      '<div class=\"kz-post-image\">' + visual + '<span>' + escapeHtml(category(post)) + '<\/span><\/div>' +\n      '<div class=\"kz-post-body\"><time>' + escapeHtml(date(post.date)) + '<\/time>' +\n      '<h3>' + escapeHtml(title) + '<\/h3><p>' + escapeHtml(excerpt || \"\u8a73\u3057\u3044\u5185\u5bb9\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\") + '<\/p>' +\n      '<b>\u8a73\u3057\u304f\u898b\u308b <i>\u203a<\/i><\/b><\/div><\/a><\/article>';\n  }\n\n  function currentPosts() {\n    return selected === \"all\" ? posts : posts.filter(function (post) { return category(post) === selected; });\n  }\n\n  function render() {\n    const items = currentPosts();\n    if (!items.length) {\n      list.innerHTML = '<div class=\"kz-post-empty\"><strong>\u3053\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u8a18\u4e8b\u306f\u6e96\u5099\u4e2d\u3067\u3059<\/strong><p>\u65b0\u3057\u3044\u6d3b\u52d5\u306f\u9806\u6b21\u304a\u77e5\u3089\u305b\u3057\u307e\u3059\u3002<\/p><\/div>';\n      more.hidden = true;\n    } else {\n      list.innerHTML = items.slice(0, visible).map(card).join(\"\");\n      more.hidden = visible >= items.length;\n    }\n    list.setAttribute(\"aria-busy\", \"false\");\n  }\n\n  function createFilters() {\n    const categories = [];\n    posts.forEach(function (post) {\n      const name = category(post);\n      if (categories.indexOf(name) === -1) categories.push(name);\n    });\n    filters.innerHTML = '<button type=\"button\" class=\"is-active\" data-category=\"all\">\u3059\u3079\u3066<\/button>' +\n      categories.map(function (name) {\n        return '<button type=\"button\" data-category=\"' + escapeHtml(name) + '\">' + escapeHtml(name) + '<\/button>';\n      }).join(\"\");\n  }\n\n  filters.addEventListener(\"click\", function (event) {\n    const button = event.target.closest(\"button[data-category]\");\n    if (!button) return;\n    selected = button.getAttribute(\"data-category\") || \"all\";\n    visible = perView;\n    filters.querySelectorAll(\"button\").forEach(function (item) { item.classList.toggle(\"is-active\", item === button); });\n    render();\n  });\n\n  more.addEventListener(\"click\", function () { visible += perView; render(); });\n\n  fetch(api, {credentials:\"same-origin\"})\n    .then(function (response) { if (!response.ok) throw new Error(); return response.json(); })\n    .then(function (items) {\n      posts = (Array.isArray(items) ? items : []).filter(function (post) {\n        return !isMemberActivity(post);\n      });\n      if (!posts.length) {\n        list.innerHTML = '<div class=\"kz-post-empty\"><strong>\u6d3b\u52d5\u5831\u544a\u3092\u6e96\u5099\u3057\u3066\u3044\u307e\u3059<\/strong><p>\u65b0\u3057\u3044\u6d3b\u52d5\u306f\u3001\u3053\u3061\u3089\u3067\u9806\u6b21\u304a\u77e5\u3089\u305b\u3057\u307e\u3059\u3002<\/p><\/div>';\n        list.setAttribute(\"aria-busy\", \"false\");\n        return;\n      }\n      createFilters();\n      render();\n    })\n    .catch(function () {\n      list.innerHTML = '<div class=\"kz-post-empty\"><strong>\u8a18\u4e8b\u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3067\u3057\u305f<\/strong><p>\u6642\u9593\u3092\u304a\u3044\u3066\u3001\u3082\u3046\u4e00\u5ea6\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p><\/div>';\n      list.setAttribute(\"aria-busy\", \"false\");\n    });\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>ACTIVITY \u5730\u57df\u3067\u3001\u65e5\u3005\u52d5\u304f \u307e\u3061\u3092\u6b69\u304d\u3001\u4eba\u306b\u4f1a\u3044\u3001\u66ae\u3089\u3057\u306e\u5909\u5316\u3092\u78ba\u304b\u3081\u308b\u3002 \u8b70\u4f1a\u3060\u3051\u3067\u306f\u898b\u3048\u306a\u3044\u5730\u57df\u306e\u58f0\u3068\u3001\u65e5\u3005\u306e\u6d3b\u52d5\u3092\u65b0\u3057\u3044\u9806\u306b\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002 \u6700\u65b0\u306e\u8a18\u4e8b \u8b70\u54e1\u6d3b\u52d5 \u58f0\u3092\u5c4a\u3051\u308b NEWS &amp; REPOR [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","footnotes":""},"class_list":["post-101","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kuzume-shinichirou.com\/index.php\/wp-json\/wp\/v2\/pages\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kuzume-shinichirou.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kuzume-shinichirou.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kuzume-shinichirou.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kuzume-shinichirou.com\/index.php\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":2,"href":"https:\/\/kuzume-shinichirou.com\/index.php\/wp-json\/wp\/v2\/pages\/101\/revisions"}],"predecessor-version":[{"id":177,"href":"https:\/\/kuzume-shinichirou.com\/index.php\/wp-json\/wp\/v2\/pages\/101\/revisions\/177"}],"wp:attachment":[{"href":"https:\/\/kuzume-shinichirou.com\/index.php\/wp-json\/wp\/v2\/media?parent=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}