{"id":1405,"date":"2025-05-15T08:21:01","date_gmt":"2025-05-14T23:21:01","guid":{"rendered":"https:\/\/tomato-made.com\/study\/?p=1405"},"modified":"2025-10-12T13:38:16","modified_gmt":"2025-10-12T04:38:16","slug":"t13","status":"publish","type":"post","link":"https:\/\/tomato-made.com\/study\/market-z\/t13","title":{"rendered":"\u8907\u6570\u306e\u753b\u50cf\u30921\u679a\u306b\u307e\u3068\u3081\u308b\u7121\u6599\u30c4\u30fc\u30eb"},"content":{"rendered":"\n<p>\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u306b\u5f79\u7acb\u3064\u4fbf\u5229\u30c4\u30fc\u30eb\uff01<\/p>\n\n\n\n<p><strong><span class=\"keiko_yellow_full\">\u3010\u8907\u6570\u306e\u753b\u50cf\u3011<\/span><\/strong>\u3092<strong><span class=\"keiko_yellow_full\">\u3010\u6b63\u65b9\u5f62\u306e\u753b\u50cf\u3011<\/span><\/strong>\u306b\u307e\u3068\u3081\u308b\ud83d\udc4c<\/p>\n\n\n\n<p>\u53ef\u611b\u3044\u898b\u305f\u76ee\u3092\u4f5c\u308c\u308b<span class=\"keiko_yellow_full\"><strong>\u300e\u89d2\u4e38\u300f<\/strong><\/span>\u3082\u5bfe\u5fdc\u3057\u3066\u308b\u3088\ud83e\udd70<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"collage-flex-tool\" style=\"text-align:center; max-width:100%;\">\n\n  <style>\n    .collage-flex-tool button, .collage-flex-tool label {\n      background-color: #f36f6f;\n      color: white;\n      font-weight: bold;\n      padding: 12px 20px;\n      border: none;\n      border-radius: 6px;\n      cursor: pointer;\n      margin: 10px;\n      display: inline-block;\n    }\n\n    .collage-flex-tool canvas {\n      margin-top: 20px;\n      max-width: 100%;\n      border: 1px solid #ccc;\n    }\n\n    .collage-flex-tool input[type=range] {\n      width: 60%;\n      margin-top: 10px;\n    }\n  <\/style>\n\n  <input type=\"file\" id=\"flexImageInput\" accept=\"image\/*\" multiple style=\"display: none;\">\n  <label for=\"flexImageInput\">\u753b\u50cf\u3092\u9078\u3076\uff08\u6700\u59274\u679a\uff09<\/label>\n\n  <div>\n    <label for=\"radiusRange\">\u89d2\u4e38\uff080\uff5e50px\uff09:<\/label>\n    <input type=\"range\" id=\"radiusRange\" min=\"0\" max=\"50\" value=\"10\">\n  <\/div>\n\n  <button id=\"flexDownloadBtn\" style=\"display:none;\">\u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/button>\n\n  <canvas id=\"flexCanvas\"><\/canvas>\n\n  <script>\n    const input = document.getElementById('flexImageInput');\n    const canvas = document.getElementById('flexCanvas');\n    const ctx = canvas.getContext('2d');\n    const downloadBtn = document.getElementById('flexDownloadBtn');\n    const radiusInput = document.getElementById('radiusRange');\n\n    function drawRoundedImage(img, x, y, w, h, radius) {\n      ctx.save();\n      ctx.beginPath();\n      ctx.moveTo(x + radius, y);\n      ctx.arcTo(x + w, y, x + w, y + h, radius);\n      ctx.arcTo(x + w, y + h, x, y + h, radius);\n      ctx.arcTo(x, y + h, x, y, radius);\n      ctx.arcTo(x, y, x + w, y, radius);\n      ctx.closePath();\n      ctx.clip();\n      ctx.drawImage(img, x, y, w, h);\n      ctx.restore();\n    }\n\n    input.addEventListener('change', async function () {\n      const files = Array.from(this.files).slice(0, 4);\n      if (!files.length) return;\n\n      const images = await Promise.all(files.map(file => {\n        return new Promise(resolve => {\n          const reader = new FileReader();\n          reader.onload = e => {\n            const img = new Image();\n            img.onload = () => resolve(img);\n            img.src = e.target.result;\n          };\n          reader.readAsDataURL(file);\n        });\n      }));\n\n      const size = 1000;\n      const gap = 10;\n      canvas.width = size;\n      canvas.height = size;\n      ctx.fillStyle = \"#fff\";\n      ctx.fillRect(0, 0, size, size);\n\n      const radius = parseInt(radiusInput.value, 10);\n\n      const drawCentered = (img, x, y, w, h) => {\n        const scale = Math.min(w \/ img.width, h \/ img.height);\n        const iw = img.width * scale;\n        const ih = img.height * scale;\n        const ix = x + (w - iw) \/ 2;\n        const iy = y + (h - ih) \/ 2;\n        drawRoundedImage(img, ix, iy, iw, ih, radius);\n      };\n\n      const half = (size - gap) \/ 2;\n\n      if (images.length === 1) {\n        drawCentered(images[0], 0, 0, size, size);\n      } else if (images.length === 2) {\n        drawCentered(images[0], 0, 0, half, size);\n        drawCentered(images[1], half + gap, 0, half, size);\n      } else if (images.length === 3) {\n        drawCentered(images[0], 0, 0, half, half);\n        drawCentered(images[1], half + gap, 0, half, half);\n        drawCentered(images[2], half \/ 2 + gap \/ 2, half + gap, half, half);\n      } else {\n        drawCentered(images[0], 0, 0, half, half);\n        drawCentered(images[1], half + gap, 0, half, half);\n        drawCentered(images[2], 0, half + gap, half, half);\n        drawCentered(images[3], half + gap, half + gap, half, half);\n      }\n\n      downloadBtn.style.display = 'inline-block';\n    });\n\n    downloadBtn.addEventListener('click', () => {\n      const link = document.createElement('a');\n      link.href = canvas.toDataURL('image\/jpeg');\n      link.download = 'collage-rounded.jpg';\n      link.click();\n    });\n  <\/script>\n<\/div>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"800\" height=\"248\" src=\"https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2025\/05\/\u8907\u6570\u306e\u753b\u50cf\u3092\u307e\u3068\u3081\u308b\u3002\u6b63\u65b9\u5f62\u306b\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u89d2\u4e38\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u4fbf\u5229\u30c4\u30fc\u30eb.png\" alt=\"\" class=\"wp-image-1450\" style=\"width:500px\" srcset=\"https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2025\/05\/\u8907\u6570\u306e\u753b\u50cf\u3092\u307e\u3068\u3081\u308b\u3002\u6b63\u65b9\u5f62\u306b\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u89d2\u4e38\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u4fbf\u5229\u30c4\u30fc\u30eb.png 800w, https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2025\/05\/\u8907\u6570\u306e\u753b\u50cf\u3092\u307e\u3068\u3081\u308b\u3002\u6b63\u65b9\u5f62\u306b\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u89d2\u4e38\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u4fbf\u5229\u30c4\u30fc\u30eb-300x93.png 300w, https:\/\/tomato-made.com\/study\/wp-content\/uploads\/2025\/05\/\u8907\u6570\u306e\u753b\u50cf\u3092\u307e\u3068\u3081\u308b\u3002\u6b63\u65b9\u5f62\u306b\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u89d2\u4e38\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u4fbf\u5229\u30c4\u30fc\u30eb-768x238.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\"><\/figure>\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\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-2\" >\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-1\" 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>\u30cf\u30f3\u30c9\u30e1\u30a4\u30c9\u306b\u5f79\u7acb\u3064\u4fbf\u5229\u30c4\u30fc\u30eb\uff01 \u3010\u8907\u6570\u306e\u753b\u50cf\u3011\u3092\u3010\u6b63\u65b9\u5f62\u306e\u753b\u50cf\u3011\u306b\u307e\u3068\u3081\u308b\ud83d\udc4c \u53ef\u611b\u3044\u898b\u305f\u76ee\u3092\u4f5c\u308c\u308b\u300e\u89d2\u4e38\u300f\u3082\u5bfe\u5fdc\u3057\u3066\u308b\u3088\ud83e\udd70 \u753b\u50cf\u3092\u9078\u3076\uff08\u6700\u59274\u679a\uff09 \u89d2\u4e38\uff080\uff5e50px\uff09: \u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 \u30db\u30fc\u30e0\u753b\u9762\u306b\u8ffd\u52a0<\/p>\n","protected":false},"author":1,"featured_media":4027,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6,8],"tags":[],"class_list":{"0":"post-1405","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\/1405","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=1405"}],"version-history":[{"count":0,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/posts\/1405\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/media\/4027"}],"wp:attachment":[{"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/media?parent=1405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/categories?post=1405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomato-made.com\/study\/wp-json\/wp\/v2\/tags?post=1405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}