{"id":45031,"date":"2026-03-21T15:25:33","date_gmt":"2026-03-21T06:25:33","guid":{"rendered":"https:\/\/smartphone-kaitorisatei.com\/en\/?page_id=45031"},"modified":"2026-08-14T11:31:19","modified_gmt":"2026-08-14T02:31:19","slug":"iphone17pro","status":"publish","type":"page","link":"https:\/\/smartphone-kaitorisatei.com\/en\/iphone\/iphone17\/iphone17pro\/","title":{"rendered":"iPhone 17 Pro"},"content":{"rendered":"\r\n<section class=\"buying_category\">\r\n  <div class=\"category_title\" id=\"maker_title\">\n    <div class=\"category_title_icon\">\n        <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_icon.png 2x\" alt=\"iphone\u30da\u30fc\u30b8\">\n    <\/div>\n    <div class=\"category_title_text\">iPhone17 Series<\/div>\n<\/div>\n<div class=\"category_layout\">\n\n    <a href=\"https:\/\/smartphone-kaitorisatei.com\/en\/iphone\/iphone17\/iphone17pro\/\">\n        <div class=\"category_box\">\n            <div class=\"category_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_img13.png 4x\" alt=\"iPhone17Pro\"\n                    decoding=\"async\">\n            <\/div>\n            <div class=\"category_right\">\n                <div class=\"category_text\">\n                    iPhone17 Pro\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/a>\n\n    <a href=\"https:\/\/smartphone-kaitorisatei.com\/en\/iphone\/iphone17\/iphone17promax\/\">\n        <div class=\"category_box\">\n            <div class=\"category_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_img14.png 4x\" alt=\"iPhone17ProMax\"\n                    decoding=\"async\">\n            <\/div>\n            <div class=\"category_right\">\n                <div class=\"category_text\">\n                    iPhone17 Pro Max\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/a>\n\n    <a href=\"https:\/\/smartphone-kaitorisatei.com\/en\/iphone\/iphone17\/iphone17e\/\">\n        <div class=\"category_box\">\n            <div class=\"category_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_img12.png 4x\" alt=\"iPhone17e\"\n                    decoding=\"async\">\n            <\/div>\n            <div class=\"category_right\">\n                <div class=\"category_text\">\n                    iPhone17e\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/a>\n<\/div>\r\n<\/section>\r\n<section class=\"buying_results\" id=\"buying_results\">\r\n  <div class=\"section_title\">\r\n    <div><\/div>\r\n    <h2>iPhone 17 Pro Buyback Record<\/h2>\r\n    <div><\/div>\r\n  <\/div>\r\n  <div class=\"buying_results_layout\">\r\n        <div class=\"buying_results_box\">\n        <div class=\"buying_results_top\">\n            <div class=\"buying_results_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/ip17pro01-240x160-1.png 720w,\n                            https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/ip17pro01.png 1200w\"\n                     src=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/ip17pro01-180x120-1.png\"\n                     alt=\"iPhone 17 Pro 256GB\" decoding=\"async\">\n            <\/div>\n            <p class=\"buying_results_name\">iPhone 17 Pro 256GB<\/p>\n        <\/div>\n        <div class=\"buying_results_bottom\">\n            <p class=\"buying_results_k_price\">Company A\uff1a\u00a5143,000<\/p>\n            <p class=\"buying_results_m_price\">Company B\uff1a\u00a5114,000<\/p>\n            <p class=\"buying_results_text\">With YTH Smartphone Buyback<\/p>\n            <p class=\"buying_results_price\">\u00a5161,800<\/p>\n            <p class=\"buying_results_deal\"><span>Get up to<\/span>\u00a547,800<span>more!<\/span><\/p>\n        <\/div>\n    <\/div>\r\n        <div class=\"buying_results_box\">\n        <div class=\"buying_results_top\">\n            <div class=\"buying_results_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/ip17pro02-240x160-1.png 720w,\n                            https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/ip17pro02.png 1200w\"\n                     src=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/ip17pro02-180x120-1.png\"\n                     alt=\"iPhone 17 Pro 512GB\" decoding=\"async\">\n            <\/div>\n            <p class=\"buying_results_name\">iPhone 17 Pro 512GB<\/p>\n        <\/div>\n        <div class=\"buying_results_bottom\">\n            <p class=\"buying_results_k_price\">Company A\uff1a\u00a5171,000<\/p>\n            <p class=\"buying_results_m_price\">Company B\uff1a\u00a5136,000<\/p>\n            <p class=\"buying_results_text\">With YTH Smartphone Buyback<\/p>\n            <p class=\"buying_results_price\">\u00a5193,300<\/p>\n            <p class=\"buying_results_deal\"><span>Get up to<\/span>\u00a557,300<span>more!<\/span><\/p>\n        <\/div>\n    <\/div>\r\n        <div class=\"buying_results_box\">\n        <div class=\"buying_results_top\">\n            <div class=\"buying_results_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/ip17pro03-240x160-1.png 720w,\n                            https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/ip17pro03.png 1200w\"\n                     src=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/ip17pro03-180x120-1.png\"\n                     alt=\"iPhone 17 Pro 1TB\" decoding=\"async\">\n            <\/div>\n            <p class=\"buying_results_name\">iPhone 17 Pro 1TB<\/p>\n        <\/div>\n        <div class=\"buying_results_bottom\">\n            <p class=\"buying_results_k_price\">Company A\uff1a\u00a5199,000<\/p>\n            <p class=\"buying_results_m_price\">Company B\uff1a\u00a5159,000<\/p>\n            <p class=\"buying_results_text\">With YTH Smartphone Buyback<\/p>\n            <p class=\"buying_results_price\">\u00a5224,800<\/p>\n            <p class=\"buying_results_deal\"><span>Get up to<\/span>\u00a565,800<span>more!<\/span><\/p>\n        <\/div>\n    <\/div>\r\n  <\/div>\r\n\r\n\r\n<!--\u8cb7\u53d6\u4fa1\u683c\u76f8\u5834\u63a8\u79fb\u3053\u3053\u304b\u3089-->\r\n\r\n<style>  @media screen and (max-width: 767px) {    .chart-container { padding-top: 0px !important; margin-top: 10px !important; }  }  .series-select-wrap { margin-top: 25px; text-align: center; border-top: 1px dashed #ccc; padding-top: 20px; }  .series-select-label { margin-bottom: 10px; display: block; font-weight: bold; color: #555; }<\/style><div class=\"product-detail\">  <div id=\"dynamic-history-area\"><\/div><\/div>\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/chart.js\"><\/script>\r\n<script>(function(){\r\n  var dataset = [{\"id\":\"M0000001162\",\"name\":\"iPhone 17 Pro 512GB\",\"chartData\":{\"labels\":[\"2025\/11\",\"2025\/12\",\"2026\/01\",\"2026\/02\",\"2026\/03\",\"2026\/04\",\"2026\/05\"],\"p1\":[197500,198610,215765,216200,216200,216247,219805],\"p2\":[197500,198919,217158,216200,216200,216200,219790],\"p3\":[165971,163161,167806,162900,162900,162947,162971],\"p4\":[147529,145032,149161,144800,144800,144800,144800],\"p5\":[73765,73471,78877,72400,72400,72400,72400]},\"tableRowsHtml\":\"<tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/05<\/td><td class=\\\"bg-p1-cell\\\">219,805 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+3,558 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">219,790 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+3,590 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">162,971 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-up\\\">+24 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">144,800 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">72,400 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/04<\/td><td class=\\\"bg-p1-cell\\\">216,247 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+47 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">216,200 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">162,947 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-up\\\">+47 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">144,800 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">72,400 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/03<\/td><td class=\\\"bg-p1-cell\\\">216,200 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">216,200 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">162,900 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">144,800 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">72,400 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/02<\/td><td class=\\\"bg-p1-cell\\\">216,200 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+435 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">216,200 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-down\\\">-958 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">162,900 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-down\\\">-4,906 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">144,800 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-down\\\">-4,361 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">72,400 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-down\\\">-6,477 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/01<\/td><td class=\\\"bg-p1-cell\\\">215,765 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+17,155 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">217,158 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+18,239 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">167,806 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-up\\\">+4,645 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">149,161 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-up\\\">+4,129 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">78,877 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-up\\\">+5,406 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2025\/12<\/td><td class=\\\"bg-p1-cell\\\">198,610 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+1,110 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">198,919 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+1,419 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">163,161 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-down\\\">-2,810 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">145,032 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-down\\\">-2,497 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">73,471 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-down\\\">-294 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2025\/11<\/td><td class=\\\"bg-p1-cell\\\">197,500 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p2-cell\\\">197,500 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p3-cell\\\">165,971 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p4-cell\\\">147,529 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p5-cell\\\">73,765 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><\/tr>\"},{\"id\":\"M0000001162\",\"name\":\"iPhone 17 Pro 256GB\",\"chartData\":{\"labels\":[\"2025\/11\",\"2025\/12\",\"2026\/01\",\"2026\/02\",\"2026\/03\",\"2026\/04\",\"2026\/05\"],\"p1\":[162500,163626,181813,183700,183700,183747,191019],\"p2\":[162500,163668,182800,183700,183700,183700,191005],\"p3\":[141882,140500,144581,140400,140400,140447,140471],\"p4\":[126118,124890,128523,124800,124800,124800,124800],\"p5\":[63059,63252,67890,62400,62400,62400,62400]},\"tableRowsHtml\":\"<tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/05<\/td><td class=\\\"bg-p1-cell\\\">191,019 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+7,272 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">191,005 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+7,305 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">140,471 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-up\\\">+24 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">124,800 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">62,400 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/04<\/td><td class=\\\"bg-p1-cell\\\">183,747 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+47 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">183,700 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">140,447 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-up\\\">+47 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">124,800 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">62,400 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/03<\/td><td class=\\\"bg-p1-cell\\\">183,700 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">183,700 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">140,400 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">124,800 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">62,400 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/02<\/td><td class=\\\"bg-p1-cell\\\">183,700 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+1,887 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">183,700 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+900 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">140,400 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-down\\\">-4,181 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">124,800 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-down\\\">-3,723 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">62,400 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-down\\\">-5,490 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/01<\/td><td class=\\\"bg-p1-cell\\\">181,813 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+18,187 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">182,800 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+19,132 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">144,581 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-up\\\">+4,081 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">128,523 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-up\\\">+3,633 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">67,890 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-up\\\">+4,638 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2025\/12<\/td><td class=\\\"bg-p1-cell\\\">163,626 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+1,126 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">163,668 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+1,168 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">140,500 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-down\\\">-1,382 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">124,890 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-down\\\">-1,228 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">63,252 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-up\\\">+193 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2025\/11<\/td><td class=\\\"bg-p1-cell\\\">162,500 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p2-cell\\\">162,500 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p3-cell\\\">141,882 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p4-cell\\\">126,118 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p5-cell\\\">63,059 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><\/tr>\"},{\"id\":\"M0000001162\",\"name\":\"iPhone 17 Pro 1024GB\",\"chartData\":{\"labels\":[\"2025\/11\",\"2025\/12\",\"2026\/01\",\"2026\/02\",\"2026\/03\",\"2026\/04\",\"2026\/05\"],\"p1\":[230500,231797,247477,246200,246200,246247,249186],\"p2\":[230500,232158,249103,246200,246200,246200,249171],\"p3\":[189000,185142,189703,185400,183310,182827,183371],\"p4\":[167176,161503,168265,164800,162942,161600,161600],\"p5\":[83529,81819,89735,82400,81471,80800,80800]},\"tableRowsHtml\":\"<tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/05<\/td><td class=\\\"bg-p1-cell\\\">249,186 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+2,939 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">249,171 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+2,971 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">183,371 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-up\\\">+544 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">161,600 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">80,800 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/04<\/td><td class=\\\"bg-p1-cell\\\">246,247 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+47 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">246,200 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">182,827 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-down\\\">-483 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">161,600 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-down\\\">-1,342 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">80,800 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-down\\\">-671 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/03<\/td><td class=\\\"bg-p1-cell\\\">246,200 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">246,200 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-stay\\\">\u00b10 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">183,310 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-down\\\">-2,090 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">162,942 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-down\\\">-1,858 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">81,471 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-down\\\">-929 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/02<\/td><td class=\\\"bg-p1-cell\\\">246,200 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-down\\\">-1,277 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">246,200 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-down\\\">-2,903 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">185,400 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-down\\\">-4,303 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">164,800 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-down\\\">-3,465 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">82,400 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-down\\\">-7,335 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2026\/01<\/td><td class=\\\"bg-p1-cell\\\">247,477 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+15,680 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">249,103 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+16,945 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">189,703 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-up\\\">+4,561 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">168,265 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-up\\\">+6,762 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">89,735 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-up\\\">+7,916 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2025\/12<\/td><td class=\\\"bg-p1-cell\\\">231,797 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-up\\\">+1,297 JPY<\/span><\/td><td class=\\\"bg-p2-cell\\\">232,158 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-up\\\">+1,658 JPY<\/span><\/td><td class=\\\"bg-p3-cell\\\">185,142 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-down\\\">-3,858 JPY<\/span><\/td><td class=\\\"bg-p4-cell\\\">161,503 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-down\\\">-5,673 JPY<\/span><\/td><td class=\\\"bg-p5-cell\\\">81,819 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-down\\\">-1,710 JPY<\/span><\/td><\/tr><tr><td style=\\\"font-weight:bold; background:#fafafa; border-color:#b2bec3 !important;\\\">2025\/11<\/td><td class=\\\"bg-p1-cell\\\">230,500 JPY<\/td><td class=\\\"bg-p1-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p2-cell\\\">230,500 JPY<\/td><td class=\\\"bg-p2-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p3-cell\\\">189,000 JPY<\/td><td class=\\\"bg-p3-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p4-cell\\\">167,176 JPY<\/td><td class=\\\"bg-p4-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><td class=\\\"bg-p5-cell\\\">83,529 JPY<\/td><td class=\\\"bg-p5-cell\\\"><span class=\\\"diff-stay\\\">-<\/span><\/td><\/tr>\"}];\r\n  var imgBase = \"https:\/\/smartphone-kaitorisatei.com\/en\/wp-content\/uploads\/common\";\r\n  var currentChart = null; var uridokiImg = new Image(); uridokiImg.src = imgBase + \"\/uridoki.png\";\r\n  \r\n  function updateView(idx, isInitial) {\r\n    var p = dataset[idx]; if(!p) return;\r\n    var histArea = document.getElementById(\"dynamic-history-area\"); if(currentChart) { currentChart.destroy(); currentChart = null; }\r\n    \r\n    \/* \u898b\u51fa\u3057\u3092\u82f1\u8a9e\u5316 *\/\r\n    var histHeader = '<h2 class=\"tran-ttl\"><div><span>' + p.name + '<\/span><br class=\"br-sp\">Trade-in Price History<\/div><\/h2>';\r\n    \r\n    var chartId = \"canvas_chart_\" + idx; var wrapId = \"wrap_table_\" + idx; var btnId = \"btn_more_\" + idx;\r\n    \r\n    var dynamicOptions = dataset.map(function(item, dIdx){\r\n      return '<option value=\"' + dIdx + '\"' + (dIdx === idx ? ' selected' : '') + '>' + item.name + '<\/option>';\r\n    }).join(\"\");\r\n    \r\n    \/* \u6ce8\u8a18\u30fb\u30c6\u30fc\u30d6\u30eb\u30d8\u30c3\u30c0\u30fc\u30fb\u30dc\u30bf\u30f3\u30fb\u30d7\u30eb\u30c0\u30a6\u30f3\u6848\u5185\u3092\u82f1\u8a9e\u5316 *\/\r\n    histArea.innerHTML = [\r\n      '<div class=\"price-history-section\" style=\"margin-top:30px; border-top:2px solid #eee; padding-top:20px;\">',\r\n      histHeader,\r\n      '  <div class=\"chart-container\" style=\"position:relative; width:100%; height:450px; margin:0 auto; background:#fff;\"><canvas id=\"' + chartId + '\"><\/canvas><\/div>',\r\n      '  <p class=\"price-notice\">&#x1f4a1; Actual trade-in value may vary based on condition.<br>Scroll horizontally to view monthly price changes.<\/p>',\r\n      '  <div id=\"' + wrapId + '\" class=\"hist-table-wrap collapsed\"><table class=\"hist-table\">',\r\n      '    <tr><th rowspan=\"2\" style=\"width:9%; background:#f5f6fa; border-color:#b2bec3 !important; color:#2d3436;\">Date<\/th><th colspan=\"2\" class=\"th-state bg-p1-head\">Unused<\/th><th colspan=\"2\" class=\"th-state bg-p2-head\">Mint<\/th><th colspan=\"2\" class=\"th-state bg-p3-head\">Minor Scratches<\/th><th colspan=\"2\" class=\"th-state bg-p4-head\">Noticeable Scratches<\/th><th colspan=\"2\" class=\"th-state bg-p5-head\">Damaged<\/th><\/tr>',\r\n      '    <tr><th class=\"th-sub-label\">Price<\/th><th class=\"th-sub-label\">MoM Change<\/th><th class=\"th-sub-label\">Price<\/th><th class=\"th-sub-label\">MoM Change<\/th><th class=\"th-sub-label\">Price<\/th><th class=\"th-sub-label\">MoM Change<\/th><th class=\"th-sub-label\">Price<\/th><th class=\"th-sub-label\">MoM Change<\/th><th class=\"th-sub-label\">Price<\/th><th class=\"th-sub-label\">MoM Change<\/th><\/tr>',\r\n      p.tableRowsHtml,\r\n      '  <\/table><\/div>',\r\n      '  <button id=\"' + btnId + '\" class=\"hist-more-btn\">View Full History<\/button>',\r\n      '  <div class=\"series-select-wrap\">',\r\n      '    <label class=\"series-select-label\">\u25b2 Select a specific model to switch the chart and history table.<\/label>',\r\n      '    <select id=\"series-switcher\" class=\"series-dropdown\">' + dynamicOptions + '<\/select>',\r\n      '  <\/div>',\r\n      '<\/div>'\r\n    ].join(\"\");\r\n    \r\n    var drawChart = function() {\r\n      if(typeof Chart === \"undefined\" || !uridokiImg.complete){ setTimeout(drawChart, 100); return; }\r\n      var ctx = document.getElementById(chartId).getContext(\"2d\");\r\n      currentChart = new Chart(ctx, {\r\n        type: \"line\",\r\n        data: {\r\n          labels: p.chartData.labels,\r\n          datasets: [\r\n            \/* \u30b0\u30e9\u30d5\u306e\u51e1\u4f8b\uff08\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u540d\uff09\u3092\u82f1\u8a9e\u5316 *\/\r\n            {label:\"Unused\",data:p.chartData.p1,borderColor:\"rgb(224,94,103)\",tension:0.3,fill:false,borderWidth:2,pointRadius:5,pointStyle:\"circle\",pointBackgroundColor:\"rgb(224,94,103)\"},\r\n            {label:\"Mint\",data:p.chartData.p2,borderColor:\"rgb(235,146,85)\",tension:0.3,fill:false,borderWidth:2,pointRadius:4,pointStyle:\"circle\",pointBackgroundColor:\"rgb(235,146,85)\"},\r\n            {label:\"Minor Scratches\",data:p.chartData.p3,borderColor:\"rgb(222,185,91)\",tension:0.3,fill:false,borderWidth:2,pointRadius:4,pointStyle:\"circle\",pointBackgroundColor:\"rgb(222,185,91)\"},\r\n            {label:\"Noticeable Scratches\",data:p.chartData.p4,borderColor:\"rgb(99,166,124)\",tension:0.3,fill:false,borderWidth:2,pointRadius:4,pointStyle:\"circle\",pointBackgroundColor:\"rgb(99,166,124)\"},\r\n            {label:\"Damaged\",data:p.chartData.p5,borderColor:\"rgb(100,147,212)\",tension:0.3,fill:false,borderWidth:2,pointRadius:4,pointStyle:\"circle\",pointBackgroundColor:\"rgb(100,147,212)\"}\r\n          ]\r\n        },\r\n        options: { \r\n          responsive:true,maintainAspectRatio:false,animation:false,\r\n          layout:{padding:{top:10}},\r\n          plugins:{\r\n            legend:{\r\n              display:true,\r\n              position:\"top\",\r\n              labels:{\r\n                font:{size:12,weight:\"bold\"},\r\n                boxWidth:30,\r\n                usePointStyle:true,\r\n                pointStyle:\"line\"\r\n              }\r\n            }\r\n          },\r\n          scales:{ x:{type:\"category\",ticks:{autoSkip:true,maxTicksLimit:12},grid:{color:\"#f5f5f5\"}},y:{beginAtZero:false,grace:\"10%\",grid:{color:\"#f5f5f5\"}} } \r\n        },\r\n        plugins:[{ id:\"uBadge\", afterDraw:function(c){ var s=c.scales, last=c.data.datasets[0].data.length-1; var xP=s.x.getPixelForValue(last), yP=s.y.getPixelForValue(c.data.datasets[0].data[last]); var iw=48, ih=uridokiImg.height*(iw\/uridokiImg.width); var t=Date.now()\/2000, ph=t%1, sc=1, ro=0; if(ph>0.85){var pD=(ph-0.85)\/0.15; sc=1+Math.sin(pD*Math.PI)*0.1; ro=Math.sin(pD*Math.PI*4)*0.1;} c.ctx.save(); c.ctx.translate(xP-iw\/2+5,yP-ih\/2-5); c.ctx.scale(sc,sc); c.ctx.rotate(ro); c.ctx.drawImage(uridokiImg,-iw\/2,-ih\/2,iw,ih); c.ctx.restore(); } }]\r\n      });\r\n    }; drawChart();\r\n    \r\n    var newSwitcher = document.getElementById(\"series-switcher\");\r\n    if(newSwitcher) {\r\n      newSwitcher.addEventListener(\"change\", function(){ updateView(Number(this.value), false); });\r\n    }\r\n    \r\n    var btnEl = document.getElementById(btnId);\r\n    if(btnEl) {\r\n      btnEl.onclick = function(){\r\n        var wrapEl = document.getElementById(wrapId);\r\n        if(wrapEl) wrapEl.classList.remove(\"collapsed\");\r\n        this.style.display = \"none\";\r\n      };\r\n    }\r\n    \r\n    if(!isInitial) {\r\n      histArea.scrollIntoView({ behavior: \"smooth\", block: \"start\" });\r\n    }\r\n  }\r\n  \r\n  updateView(0, true);\r\n})();<\/script>\r\n\r\n<!--\u8cb7\u53d6\u4fa1\u683c\u76f8\u5834\u63a8\u79fb\u3053\u3053\u307e\u3067-->\r\n  \r\n\r\n  <!--\u8cb7\u53d6\u4fa1\u683c\u3053\u3053\u304b\u3089-->\r\n<script>\r\n(() => {\r\n  document.documentElement.classList.remove('is-safari');\r\n  const isSafari =\r\n    typeof window.safari !== 'undefined' &&\r\n    Object.prototype.toString.call(window.safari) === '[object SafariRemoteNotification]';\r\n  if (isSafari) document.documentElement.classList.add('is-safari');\r\n})();\r\n<\/script>\r\n\r\n<div class=\"kakaku-list\">\r\n  <style>\r\n    .table-title {\r\n      background: #7abfcd;\r\n      color: #fff;\r\n      padding: 10px;\r\n      font-weight: bold;\r\n      margin: 30px 0 15px;\r\n      text-align: center;\r\n      font-size: 18px;\r\n    }\r\n    .loading { text-align: center; }\r\n    .spinner {\r\n      border: 4px solid #ddd;\r\n      border-top: 4px solid #4cc9f0;\r\n      border-radius: 50%;\r\n      width: 40px;\r\n      height: 40px;\r\n      animation: spin 0.8s linear infinite;\r\n      margin: 0 auto 10px;\r\n    }\r\n    @keyframes spin { to { transform: rotate(360deg); } }\r\n    .kakaku-list {\r\n      font-family:\r\n        -apple-system, BlinkMacSystemFont,\r\n        \"Hiragino Kaku Gothic ProN\",\r\n        \"Hiragino Sans\",\r\n        \"Yu Gothic\", \"Meiryo\",\r\n        \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", Arial,\r\n        sans-serif;\r\n    }\r\n    .table-wrapper {\r\n      overflow-x: auto;\r\n      -webkit-overflow-scrolling: touch;\r\n      margin-bottom: 30px;\r\n    }\r\n    .price-table {\r\n      width: 100%;\r\n      min-width: 600px;\r\n      border-collapse: collapse;\r\n      background: #fff;\r\n      box-shadow: 0 2px 5px rgba(0,0,0,0.05);\r\n    }\r\n    .price-table th,\r\n    .price-table td {\r\n      padding: 6px 6px;\r\n      border-bottom: 1px solid #ddd;\r\n      border-right: 1px solid #ddd;\r\n      text-align: center;\r\n      font-size: 13px;\r\n      white-space: nowrap;\r\n      font-weight: 400;\r\n      color: #333;\r\n    }\r\n    .price-table th {\r\n      background: #555555;\r\n      font-size: 14px;\r\n      font-weight: 500;\r\n      color: #fff;\r\n    }\r\n    td.yth-price {\r\n      color: #ff6666;\r\n      font-size: 15px;\r\n      font-weight: 400;\r\n    }\r\n    .saidai { font-size: 10px; }\r\n    .state-unused { background: #ffe6ea; font-weight: normal !important; font-size: 10px !important;}\r\n    .state-noscratch { background: #fff1dc; font-weight: normal !important; font-size: 10px !important;}\r\n    .state-smallscratch { background: #fff9d6; font-weight: normal !important; font-size: 10px !important;}\r\n    .state-bigscratch { background: #e9f6e3; font-weight: normal !important; font-size: 10px !important; }\r\n    .state-broken { background: #e6f2ff; font-weight: normal !important; font-size: 10px !important; }\r\n    .toggle-btn {\r\n      margin: 16px auto 0;\r\n      display: block;\r\n      background: #7abfcd;\r\n      color: #fff;\r\n      border: none;\r\n      padding: 10px 24px;\r\n      border-radius: 6px;\r\n      cursor: pointer;\r\n      font-size: 14px;\r\n      transition: background 0.3s ease;\r\n      font-weight: bold;\r\n    }\r\n    .search-wrap { margin: 10px 0 16px; }\r\n    .search-row { gap: 8px; align-items: center; display: flex; flex-direction: column; }\r\n    .search-input {\r\n      flex: 1;\r\n      padding: 10px 12px;\r\n      border: 1px solid #ddd;\r\n      border-radius: 8px;\r\n      font-size: 14px;\r\n      width: 100%;\r\n    }\r\n    .search-clear {\r\n      padding: 10px 12px;\r\n      font-weight: bold;\r\n      background: #eee;\r\n      color: #333;\r\n      border-radius: 8px;\r\n      cursor: pointer;\r\n      white-space: nowrap;\r\n      width: 100%;\r\n      border: none;\r\n    }\r\n    .search-submit {\r\n      padding: 10px 14px;\r\n      border: none;\r\n      background: #f4b648;\r\n      color: #fff;\r\n      border-radius: 8px;\r\n      font-size: 14px;\r\n      cursor: pointer;\r\n      white-space: nowrap;\r\n      width: 100%;\r\n      font-weight: bold;\r\n    }\r\n    .select-wrap { margin: 10px 0 10px; }\r\n    .product-select {\r\n      width: 100%;\r\n      padding: 10px 12px;\r\n      border: 1px solid #ddd;\r\n      border-radius: 8px;\r\n      font-size: 14px;\r\n      background: #fff;\r\n      color: #333;\r\n    }\r\n  <\/style>\r\n\r\n  <section id=\"item-container\" class=\"item-box kakaku-list\">\r\n    <div class=\"loading\">\r\n      <div class=\"spinner\"><\/div>\r\n      <p>Loading&#8230;<\/p>\r\n    <\/div>\r\n  <\/section>\r\n\r\n  <div id=\"price-table\"><\/div>\r\n\r\n  \r\n\r\n  <script>\r\n    const API_URL = 'https:\/\/script.google.com\/macros\/s\/AKfycbw5znWpfgoXQhTQ7GUFxuuQFdNv4r2nrYfzLJSZ9S9RBg0fZ5u4L0R22GySgBh8Wysh-g\/exec';\r\n\r\n    \/\/ \u3053\u306e TARGET_BRAND \u306e\u5024\u304c\u3001\u6700\u521d\u306e\u898b\u51fa\u3057\u3084\u691c\u7d22\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u306b\u81ea\u52d5\u3067\u5165\u308a\u307e\u3059\r\n    const TARGET_BRAND = 'iPhone 17 Pro'; \r\n\r\n    const CHUNK_SIZE = 3;\r\n    const OTHER_LIMIT = 2;\r\n    const YTH_NAME = '\u30b9\u30de\u30db\u8cb7\u53d6\u306eYTH';\r\n\r\n    const container = document.getElementById('item-container');\r\n    const loading = container?.querySelector('.loading');\r\n\r\n    let allItems = [];\r\n    let brandItems = [];\r\n    let ythBrandItems = [];\r\n    let filteredItems = [];\r\n    let index = 0;\r\n\r\n    const uiWrap = document.createElement('div');\r\n    uiWrap.id = 'kakaku-ui';\r\n    container.appendChild(uiWrap);\r\n\r\n    \/\/ &#x1f31f; \u3054\u5e0c\u671b\u306eHTML\u69cb\u9020\u3067\u898b\u51fa\u3057\u30a8\u30ea\u30a2\u3092\u751f\u6210 &#x1f31f;\r\n    const sectionTitleWrap = document.createElement('div');\r\n    sectionTitleWrap.className = 'section_title';\r\n    sectionTitleWrap.innerHTML = `\r\n      <div><\/div>\r\n      <h2>Check ${TARGET_BRAND} Buyback Prices All at Once!<\/h2>\r\n      <div><\/div>\r\n    `;\r\n    uiWrap.appendChild(sectionTitleWrap);\r\n\r\n    \/\/ \u52d5\u7684\u306b\u6587\u5b57\u3092\u66f8\u304d\u63db\u3048\u308b\u305f\u3081\u306b\u3001\u4e2d\u8eab\u306e <h2> \u8981\u7d20\u3092\u53d6\u5f97\u3057\u3066\u304a\u304f\r\n    const sectionTitle = sectionTitleWrap.querySelector('h2');\r\n    \/\/ &#x1f31f; \u5909\u66f4\u3053\u3053\u307e\u3067 &#x1f31f;\r\n\r\n    const selectWrap = document.createElement('div');\r\n    selectWrap.className = 'select-wrap';\r\n    selectWrap.innerHTML = `\r\n      <div class=\"select-row\">\r\n        <select id=\"kakaku-product\" class=\"product-select\">\r\n          <option value=\"\">Loading...<\/option>\r\n        <\/select>\r\n      <\/div>\r\n    `;\r\n    uiWrap.appendChild(selectWrap);\r\n\r\n    const productSelect = selectWrap.querySelector('#kakaku-product');\r\n\r\n    const searchWrap = document.createElement('div');\r\n    searchWrap.className = 'search-wrap';\r\n    searchWrap.innerHTML = `\r\n      <div class=\"search-row\">\r\n        <input id=\"kakaku-search\" class=\"search-input\" type=\"search\"\r\n          placeholder=\"Search by ${TARGET_BRAND} (e.g.,128GB)\" \/>\r\n        <button id=\"kakaku-submit\" class=\"search-submit\" type=\"button\">Search<\/button>\r\n        <button id=\"kakaku-clear\" class=\"search-clear\" type=\"button\">Clear<\/button>\r\n      <\/div>\r\n    `;\r\n    uiWrap.appendChild(searchWrap);\r\n\r\n    const searchInput = searchWrap.querySelector('#kakaku-search');\r\n    const submitBtn  = searchWrap.querySelector('#kakaku-submit');\r\n    const clearBtn   = searchWrap.querySelector('#kakaku-clear');\r\n\r\n    if (loading) {\r\n      searchWrap.insertAdjacentElement('afterend', loading);\r\n      loading.style.display = 'block';\r\n    }\r\n\r\n    const itemsWrap = document.createElement('div');\r\n    itemsWrap.id = 'items';\r\n    uiWrap.appendChild(itemsWrap);\r\n\r\n    const moreWrap = document.createElement('div');\r\n    moreWrap.id = 'more-wrap';\r\n    uiWrap.appendChild(moreWrap);\r\n\r\n    const moreBtn = document.createElement('button');\r\n    moreBtn.type = 'button';\r\n    moreBtn.className = 'toggle-btn more-btn';\r\n    moreBtn.textContent = 'View More';\r\n    moreBtn.style.display = 'none';\r\n    moreWrap.appendChild(moreBtn);\r\n\r\n    moreBtn.addEventListener('click', () => {\r\n      renderChunk();\r\n      updateMoreBtn();\r\n    });\r\n\r\n    submitBtn.addEventListener('click', applyFilters);\r\n    searchInput.addEventListener('keydown', (e) => {\r\n      if (e.key === 'Enter') {\r\n        e.preventDefault();\r\n        applyFilters();\r\n      }\r\n    });\r\n    clearBtn.addEventListener('click', () => {\r\n      searchInput.value = '';\r\n      productSelect.value = '';\r\n      applyFilters();\r\n      searchInput.focus();\r\n    });\r\n    productSelect.addEventListener('change', applyFilters);\r\n\r\n    fetch(API_URL)\r\n      .then(res => res.json())\r\n      .then(data => {\r\n        allItems = Array.isArray(data) ? data.slice().reverse() : [];\r\n        brandItems = allItems.filter(item =>\r\n        item && typeof item.productName === 'string' && item.productName.startsWith(TARGET_BRAND));\r\n        ythBrandItems = brandItems.filter(hasYTH);\r\n\r\n        buildProductSelect(ythBrandItems);\r\n\r\n        if (ythBrandItems.length === 0) {\r\n          itemsWrap.insertAdjacentHTML('beforeend',\r\n            '<p style=\"text-align:center; padding:16px;\">Failed to retrieve data.<\/p>'\r\n          );\r\n          if (loading) loading.style.display = 'none';\r\n          return;\r\n        }\r\n\r\n        filteredItems = ythBrandItems.slice();\r\n        resetAndRender();\r\n\r\n        if (loading) loading.style.display = 'none';\r\n      })\r\n      .catch(err => {\r\n        if (loading) loading.innerHTML = '<p>Failed to retrieve data.<\/p>';\r\n        console.error(err);\r\n      });\r\n\r\n    function buildProductSelect(items) {\r\n      productSelect.innerHTML = '';\r\n      const optAll = document.createElement('option');\r\n      optAll.value = '';\r\n      optAll.textContent = 'View All';\r\n      productSelect.appendChild(optAll);\r\n\r\n      const seen = new Set();\r\n      const names = [];\r\n      for (const item of items) {\r\n        const name = item?.productName;\r\n        if (!name) continue;\r\n        if (seen.has(name)) continue;\r\n        seen.add(name);\r\n        names.push(name);\r\n      }\r\n\r\n      if (names.length === 0) {\r\n        const opt = document.createElement('option');\r\n        opt.value = '';\r\n        opt.textContent = '\uff08No products with YTH data found.\uff09';\r\n        productSelect.appendChild(opt);\r\n        return;\r\n      }\r\n\r\n      names.forEach(name => {\r\n        const opt = document.createElement('option');\r\n        opt.value = name;\r\n        opt.textContent = name;\r\n        productSelect.appendChild(opt);\r\n      });\r\n    }\r\n\r\n    function applyFilters() {\r\n      if (loading) loading.style.display = 'block';\r\n      moreBtn.style.display = 'none';\r\n\r\n      requestAnimationFrame(() => {\r\n        const selected = productSelect.value;\r\n        const query = normalize(searchInput.value);\r\n\r\n        \/\/ &#x1f31f; \u30d7\u30eb\u30c0\u30a6\u30f3\u5909\u66f4\u6642\u306b\u898b\u51fa\u3057\uff08h2\uff09\u3092\u52d5\u7684\u306b\u66f8\u304d\u63db\u3048\u308b\r\n        const displayName = selected ? selected : TARGET_BRAND;\r\n        sectionTitle.textContent = `Check ${displayName} Buyback Prices All at Once!`;\r\n\r\n        let base = ythBrandItems;\r\n\r\n        if (selected) {\r\n          base = ythBrandItems.filter(item => item.productName === selected);\r\n        }\r\n\r\n        filteredItems = query\r\n          ? base.filter(item => normalize(item.productName).includes(query))\r\n          : base.slice();\r\n\r\n        resetAndRender();\r\n\r\n        requestAnimationFrame(() => {\r\n          if (loading) loading.style.display = 'none';\r\n        });\r\n      });\r\n    }\r\n\r\n    function resetAndRender() {\r\n      index = 0;\r\n      itemsWrap.innerHTML = '';\r\n\r\n      if (filteredItems.length === 0) {\r\n        itemsWrap.insertAdjacentHTML(\r\n          'beforeend',\r\n          '<p style=\"text-align:center; padding:16px;\">No matching products found.<\/p>'\r\n        );\r\n        moreBtn.style.display = 'none';\r\n        moreBtn.disabled = true;\r\n        return;\r\n      }\r\n\r\n      renderChunk();\r\n      updateMoreBtn();\r\n    }\r\n\r\n    function renderChunk() {\r\n      const slice = filteredItems.slice(index, index + CHUNK_SIZE);\r\n      if (slice.length === 0) return;\r\n\r\n      slice.forEach(item => {\r\n        itemsWrap.insertAdjacentHTML('beforeend', createProductBlock(item));\r\n      });\r\n\r\n      index += slice.length;\r\n    }\r\n\r\n    function updateMoreBtn() {\r\n      const hasMore = index < filteredItems.length;\r\n      moreBtn.style.display = hasMore ? 'block' : 'none';\r\n      moreBtn.disabled = !hasMore;\r\n    }\r\n\r\n    function createProductBlock(item) {\r\n      const picked = pickShops(item.shops || []);\r\n      const shops = picked.shopsForPrices;\r\n      const headers = picked.headers;\r\n\r\n      return `\r\n        <div class=\"table-title\">${escapeHtml(item.productName)} Buyback Prices<\/div>\r\n        <div class=\"table-wrapper\">\r\n          <table class=\"price-table\">\r\n            <tbody>\r\n              <tr>\r\n                <th>Condition<\/th>\r\n                ${headers.map(h => `<th>${escapeHtml(h)}<\/th>`).join('')}\r\n              <\/tr>\r\n              ${row('Unused', 'unused', shops, headers, 'state-unused')}\r\n              ${row('No Scratches', 'noScratch', shops, headers, 'state-noscratch')}\r\n              ${row('Minor Scratches', 'smallScratch', shops, headers, 'state-smallscratch')}\r\n              ${row('Noticeable Scratches', 'bigScratch', shops, headers, 'state-bigscratch')}\r\n              ${row('Damaged \/ Broken', 'broken', shops, headers, 'state-broken')}\r\n            <\/tbody>\r\n          <\/table>\r\n        <\/div>\r\n      `;\r\n    }\r\n\r\n    function pickShops(shops) {\r\n      if (!Array.isArray(shops)) shops = [];\r\n      \r\n      const idx = shops.findIndex(s => (s?.name || '') === YTH_NAME);\r\n      \r\n      let ythShop = null;\r\n      let others = [];\r\n\r\n      if (idx >= 0) {\r\n        ythShop = shops[idx];\r\n        const startIdx = Math.max(0, idx - OTHER_LIMIT);\r\n        others = shops.slice(startIdx, idx);\r\n        others.reverse();\r\n\r\n        if (others.length < OTHER_LIMIT) {\r\n          const remaining = shops.filter((s, i) => i !== idx && !others.includes(s));\r\n          others = others.concat(remaining).slice(0, OTHER_LIMIT);\r\n        }\r\n      } else {\r\n        ythShop = shops[0] || null;\r\n        others = shops.slice(1, 1 + OTHER_LIMIT);\r\n      }\r\n\r\n      const shopsForPrices = [\r\n        ythShop || null,\r\n        others[0] || null,\r\n        others[1] || null\r\n      ];\r\n      \r\n      const headers = ['Smartphone Buyback YTH', 'Company A', 'Company B'];\r\n\r\n      return { shopsForPrices, headers };\r\n    }\r\n\r\n    function row(label, key, shopsForPrices, headers, stateClass) {\r\n      return `\r\n        <tr>\r\n          <td class=\"${stateClass}\">${escapeHtml(label)}<\/td>\r\n          ${headers.map((_, i) => {\r\n            const s = shopsForPrices[i];\r\n            const isYTH = (i === 0);\r\n            if (!s) return `<td>Not Eligible for Buyback<\/td>`;\r\n\r\n            const raw = s?.prices?.[key];\r\n            if (raw == null || raw === '') {\r\n              return isYTH\r\n                ? `<td class=\"yth-price\">ASK<\/td>`\r\n                : `<td>Not Eligible for Buyback<\/td>`;\r\n            }\r\n\r\n            const price = toNumber(raw);\r\n            if (price == null) {\r\n              return isYTH\r\n                ? `<td class=\"yth-price\">ASK<\/td>`\r\n                : `<td>Not Eligible for Buyback<\/td>`;\r\n            }\r\n\r\n            return `\r\n              <td class=\"${isYTH ? 'yth-price' : ''}\">\r\n                <span class=\"saidai\">Up to<\/span>\r\n                <span>\u00a5<\/span>${formatYen(price)}\r\n              <\/td>\r\n            `;\r\n          }).join('')}\r\n        <\/tr>\r\n      `;\r\n    }\r\n\r\n    function hasYTH(item) {\r\n      const shops = item?.shops;\r\n      if (!Array.isArray(shops)) return false;\r\n      return shops.some(s => (s?.name || '') === YTH_NAME);\r\n    }\r\n\r\n    function toNumber(val) {\r\n      if (val == null) return null;\r\n      const n = Number(String(val).replace(\/,\/g, ''));\r\n      return Number.isFinite(n) ? n : null;\r\n    }\r\n\r\n    function formatYen(num) {\r\n      if (num == null) return 'Not Eligible for Buyback';\r\n      return num.toLocaleString() + '';\r\n    }\r\n\r\n    function escapeHtml(str) {\r\n      return String(str).replace(\/[&<>\"']\/g, s => ({\r\n        '&':'&amp;',\r\n        '<':'&lt;',\r\n        '>':'&gt;',\r\n        '\"':'&quot;',\r\n        \"'\":'&#39;'\r\n      }[s]));\r\n    }\r\n\r\n    function normalize(str) {\r\n      return String(str)\r\n        .toLowerCase()\r\n        .trim()\r\n        .replace(\/\\s+\/g, '');\r\n    }\r\n  <\/script>\r\n<\/div>\r\n<!--\u8cb7\u53d6\u4fa1\u683c\u3053\u3053\u307e\u3067-->\r\n\r\n\r\n     <div class=\"buying_results_banner\">\r\n\t\t\t\t\t<p class=\"buying_results_banner_text\">Guaranteed highest buyback rates in the industry!!<br>\r\n\t\t\t\t\t\tIf our price is even 1 yen lower than another shop, please let us know!<\/p>\r\n\t\t\t\t\t<img srcset=\"https:\/\/smartphone-kaitorisatei.com\/en\/wp-content\/uploads\/common\/results_banner.png 2x\" alt=\"?\" decoding=\"async\">\r\n\t\t\t\t<\/div>\r\n<\/section>\r\n<section class=\"point\">\r\n  <h2 class=\"point_title\">Tips for a Higher iPhone 17 Pro Buyback Price<\/h2>\r\n  <div class=\"point_layout point_layout01\">\r\n    <div class=\"point_left\">\r\n      <div class=\"point_icon\"><img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/point01.png 2x\" alt=\"point01\"><\/div>\r\n      <h3 class=\"point_left_title\">Complete accessories<\/h3>\r\n      <p class=\"point_left_text\">Having all the accessories included, such as the charger and original box, will lead to a higher appraisal value!<\/p>\r\n    <\/div>\r\n    <div class=\"point_img\">\r\n      <picture>\r\n        <source media=\"(min-width:768px)\" srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone17pro_point01.png 2x\">\r\n        <source media=\"(max-width:767px)\" srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone17pro_point01.png 2x\">\r\n        <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone17pro_point01.png 2x\" alt=\"point01\">\r\n      <\/picture>\r\n    <\/div>\r\n  <\/div>\r\n  <div class=\"point_layout point_layout02\">\r\n    <div class=\"point_left\">\r\n      <div class=\"point_icon\"><img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/point02.png 2x\" alt=\"point01\"><\/div>\r\n      <h3 class=\"point_left_title\">If the battery life is good, the appraisal value will increase even further.<\/h3>\r\n      <p class=\"point_left_text\">The battery is crucial for iPhones! The longer the battery life, the higher the price!<\/p>\r\n    <\/div>\r\n    <div class=\"point_img\">\r\n      <picture>\r\n        <source media=\"(min-width:768px)\" srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone17pro_point02.png 2x\">\r\n        <source media=\"(max-width:767px)\" srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone17pro_point02.png 2x\">\r\n        <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone17pro_point02.png 2x\" alt=\"point02\">\r\n      <\/picture>\r\n    <\/div>\r\n  <\/div>\r\n  <div class=\"point_layout point_layout03\">\r\n    <div class=\"point_left\">\r\n      <div class=\"point_icon\"><img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/point03.png 2x\" alt=\"point01\"><\/div>\r\n      <h3 class=\"point_left_title\">The better the condition, the higher the buyback price.<\/h3>\r\n      <p class=\"point_left_text\">We assess the condition of items based on their appearance and the performance of their parts. Items that show minimal signs of use and are in near-mint condition will receive a high-value buyout.<\/p>\r\n    <\/div>\r\n    <div class=\"point_img\">\r\n      <picture>\r\n        <source media=\"(min-width:768px)\" srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone17pro_point03.png 2x\">\r\n        <source media=\"(max-width:767px)\" srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone17pro_point03.png 2x\">\r\n        <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone17pro_point03.png 2x\" alt=\"point03\">\r\n      <\/picture>\r\n    <\/div>\r\n  <\/div>\r\n<\/section>\r\n<section class=\"buying_category\">\r\n  <div class=\"category_title\" id=\"maker_title\">\n    <div class=\"category_title_icon\">\n        <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_icon.png 2x\" alt=\"iphone\">\n    <\/div>\n    <div class=\"category_title_text\">iPhone-Specific Page<\/div>\n<\/div>\n<div class=\"category_layout\">\n    <a href=\"https:\/\/smartphone-kaitorisatei.com\/en\/iphone\/\">\n        <div class=\"category_box\">\n            <div class=\"category_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_img_all.jpg 4x\" alt=\"iPhone ALL\"\n                    decoding=\"async\">\n            <\/div>\n            <div class=\"category_right\">\n                <div class=\"category_text\">\n                    iPhone ALL\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/a>\n    <a href=\"https:\/\/smartphone-kaitorisatei.com\/en\/iphone\/iphoneair\/\">\n        <div class=\"category_box\">\n            <div class=\"category_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_img15.png 4x\" alt=\"iPhone Air\"\n                    decoding=\"async\">\n            <\/div>\n            <div class=\"category_right\">\n                <div class=\"category_text\">\n                    iPhone Air\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/a>\n    <a href=\"https:\/\/smartphone-kaitorisatei.com\/en\/iphone\/iphone17\/\">\n        <div class=\"category_box\">\n            <div class=\"category_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_img11.png 4x\" alt=\"iPhone17\"\n                    decoding=\"async\">\n            <\/div>\n            <div class=\"category_right\">\n                <div class=\"category_text\">\n                    iPhone17\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/a>\n    <a href=\"https:\/\/smartphone-kaitorisatei.com\/en\/iphone\/iphone16\/\">\n        <div class=\"category_box\">\n            <div class=\"category_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_img10.png 4x\" alt=\"iPhone16\"\n                    decoding=\"async\">\n            <\/div>\n            <div class=\"category_right\">\n                <div class=\"category_text\">\n                    iPhone16\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/a>\n    <a href=\"https:\/\/smartphone-kaitorisatei.com\/en\/iphone\/iphone15\/\">\n        <div class=\"category_box\">\n            <div class=\"category_img\">\n                <img srcset=\"https:\/\/smartphone-kaitorisatei.com\/wp\/wp-content\/uploads\/iphone_img08.png 4x\" alt=\"iPhone15\"\n                    decoding=\"async\">\n            <\/div>\n            <div class=\"category_right\">\n                <div class=\"category_text\">\n                    iPhone15\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/a>\n<\/div>\r\n<\/section>\r\n\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>iPhone 17 Pro Buyback Record Loading&#8230; Guaranteed highest buyback rates in the industry!! If our price is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":31982,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-45031","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/smartphone-kaitorisatei.com\/en\/wp-json\/wp\/v2\/pages\/45031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartphone-kaitorisatei.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/smartphone-kaitorisatei.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/smartphone-kaitorisatei.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/smartphone-kaitorisatei.com\/en\/wp-json\/wp\/v2\/comments?post=45031"}],"version-history":[{"count":3,"href":"https:\/\/smartphone-kaitorisatei.com\/en\/wp-json\/wp\/v2\/pages\/45031\/revisions"}],"predecessor-version":[{"id":49416,"href":"https:\/\/smartphone-kaitorisatei.com\/en\/wp-json\/wp\/v2\/pages\/45031\/revisions\/49416"}],"up":[{"embeddable":true,"href":"https:\/\/smartphone-kaitorisatei.com\/en\/wp-json\/wp\/v2\/pages\/31982"}],"wp:attachment":[{"href":"https:\/\/smartphone-kaitorisatei.com\/en\/wp-json\/wp\/v2\/media?parent=45031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}