{"id":2931,"date":"2025-06-16T00:54:06","date_gmt":"2025-06-15T15:54:06","guid":{"rendered":"https:\/\/salamasa.com\/?page_id=2931"},"modified":"2026-08-30T22:00:21","modified_gmt":"2026-08-30T13:00:21","slug":"2931-2","status":"publish","type":"page","link":"https:\/\/salamasa.com\/?page_id=2931","title":{"rendered":"\u30ea\u30b5\u30fc\u30c1\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9"},"content":{"rendered":"\n<style>\n  \/* \u5168\u4f53\u306e\u30b9\u30bf\u30a4\u30eb *\/\n  .research-dashboard {\n    font-family: 'Helvetica Neue', Arial, sans-serif;\n    max-width: 700px;\n    margin: 0 auto;\n    padding: 20px;\n    background: #ffffff;\n    border: 1px solid #e0e0e0;\n    border-radius: 8px;\n    box-shadow: 0 4px 12px rgba(0,0,0,0.05);\n  }\n  .research-header {\n    text-align: center;\n    margin-bottom: 20px;\n  }\n  .research-header h2 {\n    font-size: 22px;\n    color: #333;\n    margin-bottom: 5px;\n  }\n  .research-header p {\n    font-size: 14px;\n    color: #666;\n    margin: 0;\n  }\n\n  \/* \u691c\u7d22\u30dc\u30c3\u30af\u30b9 *\/\n  .search-area {\n    display: flex;\n    gap: 10px;\n    margin-bottom: 20px;\n  }\n  .search-area input {\n    flex: 1;\n    padding: 12px;\n    font-size: 16px;\n    border: 1px solid #ccc;\n    border-radius: 4px;\n  }\n  .search-area button {\n    padding: 12px 24px;\n    font-size: 16px;\n    font-weight: bold;\n    color: #fff;\n    background: #0056b3;\n    border: none;\n    border-radius: 4px;\n    cursor: pointer;\n    transition: background 0.2s;\n  }\n  .search-area button:hover {\n    background: #004494;\n  }\n\n  \/* \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u8868\u793a *\/\n  #loading-msg {\n    text-align: center;\n    font-size: 14px;\n    color: #0056b3;\n    font-weight: bold;\n    display: none;\n    margin-bottom: 20px;\n  }\n\n  \/* \u7d50\u679c\u30a8\u30ea\u30a2 *\/\n  #results-area {\n    display: none;\n  }\n  .action-bar {\n    background: #f8f9fa;\n    padding: 15px;\n    border-radius: 4px;\n    border: 1px solid #ddd;\n    margin-bottom: 20px;\n    text-align: center;\n  }\n  .btn-copy {\n    background: #28a745;\n    color: white;\n    font-size: 16px;\n    font-weight: bold;\n    padding: 12px 24px;\n    border: none;\n    border-radius: 4px;\n    cursor: pointer;\n    width: 100%;\n    margin-bottom: 10px;\n  }\n  .btn-copy:hover {\n    background: #218838;\n  }\n  #copy-success {\n    color: #28a745;\n    font-size: 14px;\n    font-weight: bold;\n    display: none;\n  }\n\n  \/* \u30cb\u30e5\u30fc\u30b9\u4e00\u89a7 *\/\n  .news-list {\n    list-style: none;\n    padding: 0;\n    margin: 0;\n  }\n  .news-item {\n    padding: 15px 0;\n    border-bottom: 1px solid #eee;\n  }\n  .news-item:last-child {\n    border-bottom: none;\n  }\n  .news-title {\n    font-size: 16px;\n    font-weight: bold;\n    color: #0056b3;\n    text-decoration: none;\n    display: block;\n    margin-bottom: 5px;\n    line-height: 1.4;\n  }\n  .news-title:hover {\n    text-decoration: underline;\n  }\n  .news-meta {\n    font-size: 12px;\n    color: #777;\n  }\n<\/style>\n\n<div class=\"research-dashboard\">\n  <div class=\"research-header\">\n    <h2 id=\"i-0\">\ud83d\udd0d \u51fa\u6240\u78ba\u5b9f\uff01AI\u30ea\u30b5\u30fc\u30c1\uff06\u30d7\u30ed\u30f3\u30d7\u30c8\u751f\u6210\u6a5f<\/h2>\n    <p>\u4e8b\u5b9f\u306b\u57fa\u3065\u3044\u305f\u6700\u65b0\u30cb\u30e5\u30fc\u30b9\u3092\u53d6\u5f97\u3057\u3001ChatGPT\u7528\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u4e00\u767a\u751f\u6210<\/p>\n  <\/div>\n\n  <div class=\"search-area\">\n    <input type=\"text\" id=\"search-keyword\" placeholder=\"\u4f8b\uff1aAI \u8457\u4f5c\u6a29, \u50cd\u304d\u65b9\u6539\u9769, \u6700\u4f4e\u8cc3\u91d1\" onkeydown=\"if(event.key === 'Enter') fetchNewsData()\">\n    <button onclick=\"fetchNewsData()\">\u30ea\u30b5\u30fc\u30c1\u958b\u59cb<\/button>\n  <\/div>\n\n  <div id=\"loading-msg\">\ud83c\udf10 \u6700\u65b0\u306e\u30cb\u30e5\u30fc\u30b9\u30bd\u30fc\u30b9\u3092\u53ce\u96c6\u4e2d\u2026<\/div>\n\n  <div id=\"results-area\">\n    <div class=\"action-bar\">\n      <button class=\"btn-copy\" onclick=\"copyPromptForAI()\">\ud83d\udcdd AI\u6307\u793a\u6587\u3068\u30bd\u30fc\u30b9\u3092\u307e\u3068\u3081\u3066\u30b3\u30d4\u30fc<\/button>\n      <div id=\"copy-success\">\u2705 \u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\uff01ChatGPT\u3084Claude\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n      <p style=\"font-size: 12px; color: #666; margin-top: 10px; text-align: left;\">\n        \u203b\u4ee5\u4e0b\u306e\u30cb\u30e5\u30fc\u30b9\u4e00\u89a7\uff08\u6700\u592715\u4ef6\uff09\u3092\u8aad\u307f\u8fbc\u307e\u305b\u3066\u3001\u8981\u7d04\u30fb\u5206\u6790\u3055\u305b\u308b\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002\n      <\/p>\n    <\/div>\n\n    <ul class=\"news-list\" id=\"news-container\">\n      <!-- \u30cb\u30e5\u30fc\u30b9\u30ea\u30b9\u30c8\u304c\u3053\u3053\u306b\u8868\u793a\u3055\u308c\u307e\u3059 -->\n    <\/ul>\n  <\/div>\n<\/div>\n\n<script>\n  let currentNewsItems = [];\n  let currentKeyword = \"\";\n\n  async function fetchNewsData() {\n    const keywordInput = document.getElementById('search-keyword').value.trim();\n    if (!keywordInput) {\n      alert(\"\u691c\u7d22\u3057\u305f\u3044\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\");\n      return;\n    }\n    \n    currentKeyword = keywordInput;\n    document.getElementById('loading-msg').style.display = 'block';\n    document.getElementById('results-area').style.display = 'none';\n    document.getElementById('news-container').innerHTML = '';\n\n    \/\/ Google\u30cb\u30e5\u30fc\u30b9\u306e\u691c\u7d22RSS\u3092\u53d6\u5f97\n    const rssUrl = `https:\/\/news.google.com\/rss\/search?q=${encodeURIComponent(currentKeyword)}&hl=ja&gl=JP&ceid=JP:ja`;\n    const apiUrl = `https:\/\/api.rss2json.com\/v1\/api.json?rss_url=${encodeURIComponent(rssUrl)}&api_key=`; \/\/ api_key\u306a\u3057\u3067\u3082\u52d5\u4f5c\u3057\u307e\u3059\n    \n    try {\n      const response = await fetch(apiUrl);\n      const data = await response.json();\n      \n      if (data.status === 'ok' && data.items.length > 0) {\n        \/\/ \u4e0a\u4f4d15\u4ef6\u3092\u53d6\u5f97\n        currentNewsItems = data.items.slice(0, 15);\n        renderNewsList(currentNewsItems);\n      } else {\n        alert(\"\u95a2\u9023\u3059\u308b\u30cb\u30e5\u30fc\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u5225\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002\");\n      }\n    } catch (error) {\n      console.error(\"\u30cb\u30e5\u30fc\u30b9\u53d6\u5f97\u30a8\u30e9\u30fc\", error);\n      alert(\"\u30cb\u30e5\u30fc\u30b9\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u6642\u9593\u3092\u304a\u3044\u3066\u518d\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002\");\n    } finally {\n      document.getElementById('loading-msg').style.display = 'none';\n    }\n  }\n\n  function renderNewsList(items) {\n    const container = document.getElementById('news-container');\n    let html = '';\n    \n    items.forEach(item => {\n      \/\/ \u65e5\u4ed8\u306e\u6574\u5f62\n      const pubDate = new Date(item.pubDate);\n      const dateString = isNaN(pubDate) ? \"\" : `${pubDate.getFullYear()}\/${pubDate.getMonth()+1}\/${pubDate.getDate()} ${pubDate.getHours()}:${String(pubDate.getMinutes()).padStart(2, '0')}`;\n      \n      html += `\n        <li class=\"news-item\">\n          <a href=\"${item.link}\" target=\"_blank\" class=\"news-title\">${item.title}<\/a>\n          <div class=\"news-meta\">&#x1f4c5; \u914d\u4fe1\u65e5\u6642: ${dateString}<\/div>\n        <\/li>\n      `;\n    });\n    \n    container.innerHTML = html;\n    document.getElementById('results-area').style.display = 'block';\n  }\n\n  function copyPromptForAI() {\n    if (currentNewsItems.length === 0) return;\n\n    \/\/ AI\u306b\u6e21\u3059\u305f\u3081\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u30c6\u30ad\u30b9\u30c8\u3092\u7d44\u307f\u7acb\u3066\u308b\n    let promptText = `\u3042\u306a\u305f\u306f\u30d7\u30ed\u306e\u30d3\u30b8\u30cd\u30b9\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u3067\u3059\u3002\\n\u4ee5\u4e0b\u306e\u6700\u65b0\u30cb\u30e5\u30fc\u30b9\u4e00\u89a7\uff08\u4e8b\u5b9f\u60c5\u5831\uff09\u3092\u8aad\u307f\u8fbc\u307f\u3001\u73fe\u5728\u306e\u300c${currentKeyword}\u300d\u306b\u95a2\u3059\u308b\u52d5\u5411\u306b\u3064\u3044\u3066\u3001\u4ee5\u4e0b\u306e3\u70b9\u306b\u6574\u7406\u3057\u3066\u8a73\u7d30\u306b\u30ec\u30dd\u30fc\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002\\n\\n`;\n    promptText += `1. \u5168\u4f53\u7684\u306a\u30c8\u30ec\u30f3\u30c9\u3068\u50be\u5411\\n2. \u6ce8\u76ee\u3059\u3079\u304d\u5177\u4f53\u7684\u306a\u52d5\u304d\u3084\u4f01\u696d\\n3. \u4eca\u5f8c\u306e\u4e88\u6e2c\u3084\u8ab2\u984c\\n\\n`;\n    promptText += `\u3010\u60c5\u5831\u30bd\u30fc\u30b9\u4e00\u89a7\u3011\\n`;\n    promptText += `-----------------------------------\\n`;\n\n    currentNewsItems.forEach(item => {\n      promptText += `\u25a0 ${item.title}\\n`;\n      promptText += `URL: ${item.link}\\n\\n`;\n    });\n\n    promptText += `-----------------------------------\\n`;\n    promptText += `\u203b\u4e0a\u8a18\u306e\u30cb\u30e5\u30fc\u30b9\u60c5\u5831\u3092\u57fa\u306b\u3001\u4e8b\u5b9f\u304b\u3089\u9038\u8131\u3057\u306a\u3044\u3088\u3046\u306b\u8981\u7d04\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002`;\n\n    \/\/ \u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\n    navigator.clipboard.writeText(promptText).then(() => {\n      const successMsg = document.getElementById('copy-success');\n      successMsg.style.display = 'block';\n      setTimeout(() => {\n        successMsg.style.display = 'none';\n      }, 3000);\n    }).catch(err => {\n      alert(\"\u30b3\u30d4\u30fc\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u30d6\u30e9\u30a6\u30b6\u306e\u8a2d\u5b9a\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002\");\n    });\n  }\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udd0d \u51fa\u6240\u78ba\u5b9f\uff01AI\u30ea\u30b5\u30fc\u30c1\uff06\u30d7\u30ed\u30f3\u30d7\u30c8\u751f\u6210\u6a5f \u4e8b\u5b9f\u306b\u57fa\u3065\u3044\u305f\u6700\u65b0\u30cb\u30e5\u30fc\u30b9\u3092\u53d6\u5f97\u3057\u3001ChatGPT\u7528\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u4e00\u767a\u751f\u6210 \u30ea\u30b5\u30fc\u30c1\u958b\u59cb \ud83c\udf10 \u6700\u65b0\u306e\u30cb\u30e5\u30fc\u30b9\u30bd\u30fc\u30b9\u3092\u53ce\u96c6\u4e2d\u2026 \ud83d\udcdd AI\u6307\u793a\u6587\u3068\u30bd\u30fc\u30b9\u3092\u307e\u3068\u3081\u3066\u30b3\u30d4\u30fc \u2705 \u30b3\u30d4\u30fc &#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-forfront.php","meta":{"footnotes":""},"class_list":["post-2931","page","type-page","status-publish","entry","nothumb"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/salamasa.com\/index.php?rest_route=\/wp\/v2\/pages\/2931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/salamasa.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/salamasa.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/salamasa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salamasa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2931"}],"version-history":[{"count":6,"href":"https:\/\/salamasa.com\/index.php?rest_route=\/wp\/v2\/pages\/2931\/revisions"}],"predecessor-version":[{"id":2958,"href":"https:\/\/salamasa.com\/index.php?rest_route=\/wp\/v2\/pages\/2931\/revisions\/2958"}],"wp:attachment":[{"href":"https:\/\/salamasa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}