{"id":327,"date":"2025-05-30T18:37:48","date_gmt":"2025-05-30T09:37:48","guid":{"rendered":"https:\/\/tomato-made.com\/study\/?p=327"},"modified":"2025-10-23T17:50:06","modified_gmt":"2025-10-23T08:50:06","slug":"2-2","status":"publish","type":"post","link":"https:\/\/tomato-made.com\/study\/market-z\/2-2","title":{"rendered":"\u753b\u50cf\u4e00\u62ec\u3010\u6b63\u65b9\u5f62\u3011\u5909\u63db\u30c4\u30fc\u30eb"},"content":{"rendered":"\n<p><strong><span class=\"keiko_yellow_full\">\u753b\u50cf\u3092\u4e00\u62ec\u3067\u300c\u6b63\u65b9\u5f62\u300d<\/span><\/strong>\u306b\u3067\u304d\u308b\u3088\uff01\ud83e\udd70<\/p>\n\n\n\n<p>\u30d5\u30ea\u30de\u30a2\u30d7\u30ea\u30fb\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u30b5\u30a4\u30c8\u30fbInstagram\u306e\u6295\u7a3f\u7528\u306b\u4fbf\u5229\ud83d\ude06\ud83d\udc4d<\/p>\n\n\n\n<p>\u5199\u771f\u3084\u753b\u50cf\u306e<strong><span class=\"keiko_yellow_full\">\u753b\u8cea\u3092\u843d\u3068\u3055\u305a<\/span><\/strong>\u306b\u3001\u300c\u6b63\u65b9\u5f62\u300d\u306b\u5909\u66f4\u53ef\u80fd\ud83c\udf89<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div id=\"sgb-css-id-1\">\n<p><strong> \ud83c\udf45\u753b\u50cf\u3092\u9078\u3076\u524d\u306b\u8a2d\u5b9a<\/strong><\/p>\n<\/div>\n\n\n<div class=\"sango-image-tool\" style=\"max-width:100%; padding: initial; margin: initial;\">\n  <style>\n    .sango-image-tool * { box-sizing: border-box; }\n\n    .sango-image-tool .upload-controls {\n      display: flex;\n      gap: 10px;\n      margin: 10px 0;\n    }\n\n    .sango-image-tool .upload-btn,\n    .sango-image-tool .download-all {\n      border-radius: 10px;\n      font-size: 16px;\n      font-weight: bold;\n      cursor: pointer;\n      padding: 15px;\n      width: 100%;\n      flex: 1;\n    }\n\n    .sango-image-tool .upload-btn {\n      background-color: #f88080;\n      color: white;\n      border: 2px solid white;\n    }\n\n    .sango-image-tool .download-all {\n      background-color: white;\n      color: #f88080;\n      border: 2px solid #f88080;\n      display: none;\n    }\n\n    .sango-image-tool .settings {\n      background-color: #fff0f3;\n      border: 2px solid #f88080;\n      border-radius: 10px;\n      padding: 20px;\n      margin-top: 20px;\n      font-size: 16px;\n    }\n\n    .sango-image-tool .settings label {\n      display: inline-block;\n      margin-right: 30px;\n      font-size: 18px;\n      font-weight: bold;\n    }\n\n    .sango-image-tool .settings input[type=\"radio\"] {\n      transform: scale(1.3);\n      margin-right: 10px;\n      vertical-align: middle;\n    }\n\n    .sango-image-tool .settings input[type=\"range\"] {\n      vertical-align: middle;\n      margin-left: 10px;\n      width: 250px;\n    }\n\n    .sango-image-tool #sizeValue {\n      font-size: 18px;\n      font-weight: bold;\n      margin-left: 10px;\n      color: #f88080;\n    }\n\n    .sango-image-tool .image-container {\n      display: flex;\n      flex-wrap: wrap;\n      gap: 20px;\n      margin-top: 20px;\n    }\n\n    .sango-image-tool .image-box {\n      text-align: center;\n      max-width: 100%;\n    }\n\n    .sango-image-tool .image-box img {\n      max-width: 100%;\n      height: auto;\n      display: block;\n      margin-bottom: 5px;\n    }\n\n    .sango-image-tool .download-link {\n      font-size: 14px;\n      color: #d94c72;\n      text-decoration: underline;\n      display: inline-block;\n      margin-top: 5px;\n    }\n  <\/style>\n\n  <!-- \u8868\u793a\u65b9\u5f0f -->\n  <div class=\"settings\">\n    <label>\n      <input type=\"radio\" name=\"sizeMode\" value=\"original\" checked>\n      \u5143\u306e\u30b5\u30a4\u30ba\u3067\u8868\u793a\n    <\/label>\n    <label>\n      <input type=\"radio\" name=\"sizeMode\" value=\"resize\">\n      \u30ea\u30b5\u30a4\u30ba\n      <input type=\"range\" id=\"sizeRange\" min=\"240\" max=\"1200\" value=\"500\" disabled>\n      <span id=\"sizeValue\">500<\/span>px \n    <\/label>\n  <\/div>\n\n  <!-- \u30dc\u30bf\u30f3\u6a2a\u4e26\u3073 -->\n  <div class=\"upload-controls\">\n    <input type=\"file\" id=\"imageInput\" accept=\"image\/*\" multiple style=\"display: none;\">\n    <label for=\"imageInput\" class=\"upload-btn\">\u753b\u50cf\u3092\u9078\u3076<\/label>\n    <button id=\"downloadAll\" class=\"download-all\">\u4e00\u62ec\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/button>\n  <\/div>\n\n  <!-- \u753b\u50cf\u8868\u793a -->\n  <div id=\"imageContainer\" class=\"image-container\"><\/div>\n\n  <!-- \u30b9\u30af\u30ea\u30d7\u30c8 -->\n  <script>\n    const imagesData = [];\n    const sizeModeRadios = document.querySelectorAll('input[name=\"sizeMode\"]');\n    const sizeRange = document.getElementById('sizeRange');\n    const sizeValue = document.getElementById('sizeValue');\n\n    sizeModeRadios.forEach(r => {\n      r.addEventListener('change', () => {\n        sizeRange.disabled = (document.querySelector('input[name=\"sizeMode\"]:checked').value === 'original');\n      });\n    });\n\n    sizeRange.addEventListener('input', () => {\n      sizeValue.textContent = sizeRange.value;\n    });\n\n    document.getElementById('imageInput').addEventListener('change', function(event) {\n      const files = event.target.files;\n      const container = document.getElementById('imageContainer');\n      const downloadAllBtn = document.getElementById('downloadAll');\n      container.innerHTML = '';\n      imagesData.length = 0;\n\n      Array.from(files).forEach((file, index) => {\n        const img = new Image();\n        const reader = new FileReader();\n        const canvas = document.createElement('canvas');\n        const ctx = canvas.getContext('2d');\n\n        reader.onload = e => img.src = e.target.result;\n\n        img.onload = () => {\n          const originalSize = Math.min(img.width, img.height);\n          let targetSize;\n\n          if (document.querySelector('input[name=\"sizeMode\"]:checked').value === 'original') {\n            targetSize = originalSize;\n          } else {\n            const selected = parseInt(sizeRange.value, 10);\n            targetSize = Math.min(originalSize, selected);\n          }\n\n          const sx = (img.width - originalSize) \/ 2;\n          const sy = (img.height - originalSize) \/ 2;\n\n          canvas.width = targetSize;\n          canvas.height = targetSize;\n          ctx.drawImage(img, sx, sy, originalSize, originalSize, 0, 0, targetSize, targetSize);\n\n          const dataURL = canvas.toDataURL('image\/jpeg');\n          const fileName = `square-${index + 1}_${targetSize}px.jpg`;\n          imagesData.push({ name: fileName, data: dataURL });\n\n          const box = document.createElement('div');\n          box.className = 'image-box';\n\n          const squareImg = new Image();\n          squareImg.src = dataURL;\n          box.appendChild(squareImg);\n\n          const link = document.createElement('a');\n          link.href = dataURL;\n          link.download = fileName;\n          link.textContent = `\u753b\u50cf${index + 1}\uff08${targetSize}px\uff09\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9`;\n          link.className = 'download-link';\n          box.appendChild(link);\n\n          container.appendChild(box);\n\n          if (imagesData.length === files.length) {\n            downloadAllBtn.style.display = 'block';\n          }\n        };\n\n        reader.readAsDataURL(file);\n      });\n    });\n\n    document.getElementById('downloadAll').addEventListener('click', () => {\n      imagesData.forEach(img => {\n        const a = document.createElement('a');\n        a.href = img.data;\n        a.download = img.name;\n        document.body.appendChild(a);\n        a.click();\n        document.body.removeChild(a);\n      });\n    });\n  <\/script>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"toc\"><br \/>\n<b>Warning<\/b>:  Undefined array key \"is_admin\" in <b>\/home\/tomatosearch\/tomato-made.com\/public_html\/study\/wp-content\/themes\/sango-theme\/library\/gutenberg\/dist\/classes\/Toc.php<\/b> on line <b>113<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Undefined array key \"is_category_top\" in <b>\/home\/tomatosearch\/tomato-made.com\/public_html\/study\/wp-content\/themes\/sango-theme\/library\/gutenberg\/dist\/classes\/Toc.php<\/b> on line <b>118<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Undefined array key \"is_top\" in <b>\/home\/tomatosearch\/tomato-made.com\/public_html\/study\/wp-content\/themes\/sango-theme\/library\/gutenberg\/dist\/classes\/Toc.php<\/b> on line <b>124<\/b><br \/>\n<\/div><h2 class=\"wp-block-heading\" id=\"i-0\">\u5099\u8003<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"467\" height=\"234\" src=\"https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2024\/04\/\u753b\u50cf\u306e\u5bfe\u6bd4\u7387\u4e00\u62ec\u5909\u66f4\u3001\u4f59\u767d\u3001\u30d5\u30c1\u8272\u5909\u66f4\u3001\u30b5\u30a4\u30ba\u5909\u66f4-3.png\" alt=\"\" class=\"wp-image-464\" style=\"width:600px\" srcset=\"https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2024\/04\/\u753b\u50cf\u306e\u5bfe\u6bd4\u7387\u4e00\u62ec\u5909\u66f4\u3001\u4f59\u767d\u3001\u30d5\u30c1\u8272\u5909\u66f4\u3001\u30b5\u30a4\u30ba\u5909\u66f4-3.png 467w, https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2024\/04\/\u753b\u50cf\u306e\u5bfe\u6bd4\u7387\u4e00\u62ec\u5909\u66f4\u3001\u4f59\u767d\u3001\u30d5\u30c1\u8272\u5909\u66f4\u3001\u30b5\u30a4\u30ba\u5909\u66f4-3-300x150.png 300w\" sizes=\"(max-width: 467px) 100vw, 467px\"><\/figure>\n\n\n\n<p>\u2460 \u753b\u50cf\u306f\u4e2d\u592e\u304b\u3089\u3001\u6b63\u65b9\u5f62\u306b\u30ab\u30c3\u30c8\u3055\u308c\u308b\u3088\uff01<\/p>\n\n\n\n<p><strong>\u2461 <span class=\"keiko_yellow_full\">iPhone<\/span><\/strong>\u3068<strong><span class=\"keiko_yellow_full\">\u4e00\u90e8\u306eAndroid\u30b9\u30de\u30db<\/span><\/strong>\u3067\u306f\u3001\u4e00\u62ec\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u5236\u9650\u3055\u308c\u3066\u308b\u3088\u3002<\/p>\n\n\n\n<p>\u300c\u6b63\u65b9\u5f62\u300d\u306b\u5909\u63db\u3055\u308c\u305f\u753b\u50cf\u3092\u30011\u500b\u3065\u3064\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u306d\uff01<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div id=\"addToHomeBox\" style=\"margin: 30px 0;\">\n  <button onclick=\"showGuide()\" style=\"width: 100%; padding: 15px; font-weight: bold; background-color: #f781813d; color: #f28282; border: none; border-radius: 10px; font-size: 16px;\">\n    \u30db\u30fc\u30e0\u753b\u9762\u306b\u8ffd\u52a0\n  <\/button>\n  <p id=\"guideText\" style=\"margin-top: 15px; font-size: 15px; line-height: 1.8; display: none;\"><\/p>\n<\/div>\n\n<script>\n  function showGuide() {\n    const ua = window.navigator.userAgent.toLowerCase();\n    const guide = document.getElementById('guideText');\n    guide.style.display = 'block';\n\n    if (ua.includes('iphone') || ua.includes('ipad')) {\n      guide.innerHTML = `\n        Safari\u306e\u300c\u5171\u6709\u300d\u30dc\u30bf\u30f3\uff08\u25a1\u306b\u2191\uff09\u3092\u30bf\u30c3\u30d7\u3059\u308b\u3002<br>\n        \u3000\u3000\u21e9<br>\n        \u300c\u30db\u30fc\u30e0\u753b\u9762\u306b\u8ffd\u52a0\u300d\u3092\u9078\u3076\u3002\n      `;\n    } else if (ua.includes('android')) {\n      guide.innerHTML = `\n        \u53f3\u4e0a\u306e\u30e1\u30cb\u30e5\u30fc\uff08\ufe19\uff09\u3092\u30bf\u30c3\u30d7\u3059\u308b\u3002<br>\n        \u3000\u3000\u21e9<br>\n        \u300c\u30db\u30fc\u30e0\u753b\u9762\u306b\u8ffd\u52a0\u300d\u3092\u9078\u3076\u3002\n      `;\n    } else if (ua.includes('windows') || ua.includes('macintosh')) {\n      guide.innerHTML = `\n        Chrome\u3067\u8868\u793a\u3055\u308c\u308b\u53f3\u4e0a\u306e\u30e1\u30cb\u30e5\u30fc\uff08\ufe19\uff09\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<br>\n        \u3000\u3000\u21e9<br>\n        \u300c\u30ad\u30e3\u30b9\u30c8\u30fb\u5171\u6709\u30fb\u4fdd\u5b58\u300d\u27a1\u300c\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u4f5c\u6210\u2026\u300d\n      `;\n    } else {\n      guide.innerHTML = `\n        \u30d6\u30e9\u30a6\u30b6\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u30db\u30fc\u30e0\u753b\u9762\u306b\u8ffd\u52a0\u300d\u307e\u305f\u306f\u300c\u3053\u306e\u30b5\u30a4\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044\u3002\n      `;\n    }\n  }\n<\/script>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n<p><div id=\"sgb-css-id-3\" >\n<\/p><p><\/p>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div id=\"sgb-css-id-2\" style=\"--sgb--custom--bg-color: var(--sgb-main-color);--sgb--custom--text-color: #ffffff;--sgb--custom--text-after: '\u7d9a\u304d\u3092\u8aad\u3080';--sgb--custom--text-after-radius: 4;\"><a class=\"linkto table\" href=\"https:\/\/tomato-made.com\/study\/market-z\/5\"> <span class=\"tbcell tbimg\"><img decoding=\"async\" width=\"160\" height=\"160\" src=\"https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2025\/04\/\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u306b\u5f79\u7acb\u3064\u30c4\u30fc\u30eb\u307e\u3068\u3081-160x160.png\" class=\"attachment-thumb-160 size-thumb-160 wp-post-image\" alt=\"\" srcset=\"https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2025\/04\/\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u306b\u5f79\u7acb\u3064\u30c4\u30fc\u30eb\u307e\u3068\u3081-160x160.png 160w, https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2025\/04\/\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u306b\u5f79\u7acb\u3064\u30c4\u30fc\u30eb\u307e\u3068\u3081-150x150.png 150w\" sizes=\"(max-width: 160px) 100vw, 160px\"><\/span> <span class=\"tbcell tbtext\"> <time class=\"pubdate sng-link-time dfont\" itemprop=\"datePublished\" datetime=\"2025-01-20\">2025\u5e741\u670820\u65e5<\/time> \u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u306b\u5f79\u7acb\u3064\u30c4\u30fc\u30eb\u7d39\u4ecb <\/span> <\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>\u753b\u50cf\u3092\u4e00\u62ec\u3067\u300c\u6b63\u65b9\u5f62\u300d\u306b\u3067\u304d\u308b\u3088\uff01\ud83e\udd70 \u30d5\u30ea\u30de\u30a2\u30d7\u30ea\u30fb\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u30b5\u30a4\u30c8\u30fbInstagram\u306e\u6295\u7a3f\u7528\u306b\u4fbf\u5229\ud83d\ude06\ud83d\udc4d \u5199\u771f\u3084\u753b\u50cf\u306e\u753b\u8cea\u3092\u843d\u3068\u3055\u305a\u306b\u3001\u300c\u6b63\u65b9\u5f62\u300d\u306b\u5909\u66f4\u53ef\u80fd\ud83c\udf89 \ud83c\udf45\u753b\u50cf\u3092\u9078\u3076\u524d\u306b\u8a2d\u5b9a \u5143\u306e\u30b5\u30a4\u30ba\u3067\u8868\u793a \u30ea\u30b5\u30a4\u30ba 500 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":4016,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6,8],"tags":[],"class_list":{"0":"post-327","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-market-z","8":"category-tool","9":"category-image","10":"entry"},"_links":{"self":[{"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/posts\/327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/comments?post=327"}],"version-history":[{"count":0,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/posts\/327\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/media\/4016"}],"wp:attachment":[{"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/media?parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/categories?post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/tags?post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}