{"product_id":"95900066","title":"【新発売記念】［幅80cm］背面タップ収納付き デスク 省スペース 木目調 机 作業デスク ワークデスク 在宅〔95900066〕","description":"\u003cdiv class=\"tg-coupon\"\u003e\n  \u003cimg class=\"tg-coupon-banner\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0425\/2005\/1878\/files\/7fec66ef822d5baad83789d3101ce40e_63df0b62-4985-4689-b578-5164ba60756e.jpg\" alt=\"クーポン\" style=\"display:block;width:100%;max-width:100%;height:auto;margin:0;\"\u003e\n\n  \u003cdiv class=\"tg-coupon-code-box\"\u003e\n    \u003cp class=\"tg-coupon-label\"\u003eクーポンコード\u003c\/p\u003e\n\n    \u003cbutton type=\"button\" class=\"tg-coupon-copy\"\u003e\n      \u003cspan class=\"tg-coupon-code\"\u003e6EKDCPRGQDX9\u003c\/span\u003e\n      \u003cspan class=\"tg-coupon-action\"\u003eクリック・タップでコピー\u003c\/span\u003e\n    \u003c\/button\u003e\n\n    \u003cp class=\"tg-coupon-status\" role=\"status\" aria-live=\"polite\"\u003e\n      コピーできない場合は、コードを選択してコピーしてください。\n    \u003c\/p\u003e\n  \u003c\/div\u003e\n\n  \u003cp class=\"tg-coupon-help\"\u003e\n    \u003ca href=\"\/pages\/coupon\" target=\"_blank\" rel=\"noopener\"\u003e\n      クーポンの使い方を見る ›\n    \u003c\/a\u003e\n  \u003c\/p\u003e\n\u003c\/div\u003e\n\n\u003cstyle\u003e\n  .tg-coupon,\n  .tg-coupon * {\n    box-sizing: border-box;\n  }\n\n  .tg-coupon {\n    width: 100%;\n    max-width: 100%;\n    min-width: 0;\n    margin: 20px auto;\n    color: #222;\n    line-height: 1.6;\n  }\n\n  .tg-coupon .tg-coupon-banner {\n    display: block;\n    width: 100%;\n    max-width: 100%;\n    height: auto;\n    margin: 0;\n    border: 0;\n  }\n\n  .tg-coupon .tg-coupon-code-box {\n    margin: 12px 0 0;\n    padding: 16px 12px;\n    background: #f7f5f1;\n    border: 1px solid #e7dfd2;\n    border-radius: 8px;\n    text-align: center;\n  }\n\n  .tg-coupon .tg-coupon-label {\n    margin: 0 0 8px;\n    color: #555;\n    font-size: 13px;\n    font-weight: 700;\n  }\n\n  .tg-coupon .tg-coupon-copy {\n    appearance: none;\n    -webkit-appearance: none;\n    display: block;\n    width: 100%;\n    max-width: 360px;\n    min-width: 0;\n    min-height: 60px;\n    height: auto;\n    margin: 0 auto;\n    padding: 12px;\n    border: 2px solid #9b7848;\n    border-radius: 8px;\n    background: #fff;\n    color: #222;\n    font-family: inherit;\n    line-height: 1.5;\n    text-align: center;\n    text-transform: none;\n    letter-spacing: normal;\n    white-space: normal;\n    box-shadow: none;\n    cursor: pointer;\n    touch-action: manipulation;\n  }\n\n  .tg-coupon .tg-coupon-copy::before,\n  .tg-coupon .tg-coupon-copy::after {\n    content: none;\n  }\n\n  .tg-coupon .tg-coupon-copy:hover {\n    background: #fcfaf6;\n  }\n\n  .tg-coupon .tg-coupon-copy:focus-visible {\n    outline: 3px solid #333;\n    outline-offset: 3px;\n  }\n\n  .tg-coupon .tg-coupon-code {\n    display: block;\n    max-width: 100%;\n    padding: 0;\n    border: 0;\n    background: transparent;\n    color: #222;\n    font-size: 20px;\n    font-weight: 700;\n    letter-spacing: 0.06em;\n    overflow-wrap: anywhere;\n    user-select: all;\n    -webkit-user-select: all;\n  }\n\n  .tg-coupon .tg-coupon-action {\n    display: block;\n    margin-top: 4px;\n    color: #705632;\n    font-size: 12px;\n    font-weight: 400;\n  }\n\n  .tg-coupon .tg-coupon-status {\n    margin: 8px 0 0;\n    color: #555;\n    font-size: 12px;\n    overflow-wrap: anywhere;\n  }\n\n  .tg-coupon .tg-coupon-help {\n    margin: 8px 0 0;\n    text-align: right;\n    font-size: 13px;\n  }\n\n  .tg-coupon .tg-coupon-help a {\n    color: #333;\n    text-decoration: underline;\n    text-underline-offset: 3px;\n    overflow-wrap: anywhere;\n  }\n\n  @media screen and (max-width: 480px) {\n    .tg-coupon .tg-coupon-code-box {\n      padding: 14px 10px;\n    }\n\n    .tg-coupon .tg-coupon-code {\n      font-size: 18px;\n      letter-spacing: 0.04em;\n    }\n  }\n\u003c\/style\u003e\n\n\u003cscript\u003e\n(function () {\n  'use strict';\n\n  \/* 誤って複数回設置しても、イベントを重複登録しない *\/\n  if (window.tgCouponCopyInitialized) return;\n  window.tgCouponCopyInitialized = true;\n\n  function legacyCopy(text) {\n    var textarea = document.createElement('textarea');\n    var activeElement = document.activeElement;\n\n    textarea.value = text;\n    textarea.setAttribute('readonly', '');\n    textarea.style.cssText =\n      'position:fixed;top:0;left:-9999px;font-size:16px;';\n\n    document.body.appendChild(textarea);\n\n    var copied = false;\n\n    try {\n      textarea.focus();\n      textarea.select();\n      textarea.setSelectionRange(0, textarea.value.length);\n      copied = document.execCommand('copy');\n    } catch (error) {\n      copied = false;\n    } finally {\n      textarea.remove();\n\n      if (activeElement \u0026\u0026 typeof activeElement.focus === 'function') {\n        try {\n          activeElement.focus({ preventScroll: true });\n        } catch (error) {\n          activeElement.focus();\n        }\n      }\n    }\n\n    return copied;\n  }\n\n  function selectCode(element) {\n    try {\n      var selection = window.getSelection();\n      if (!selection) return;\n\n      var range = document.createRange();\n      range.selectNodeContents(element);\n      selection.removeAllRanges();\n      selection.addRange(range);\n    } catch (error) {\n      \/* 選択が制限されても、コード表示は残す *\/\n    }\n  }\n\n  document.addEventListener('click', async function (event) {\n    if (!(event.target instanceof Element)) return;\n\n    var button = event.target.closest('.tg-coupon-copy');\n    if (!button) return;\n\n    var container = button.closest('.tg-coupon');\n    if (!container) return;\n\n    var codeElement = button.querySelector('.tg-coupon-code');\n    var status = container.querySelector('.tg-coupon-status');\n    if (!codeElement || !status) return;\n\n    var code = codeElement.textContent.trim();\n    if (!code || button.dataset.copying === 'true') return;\n\n    button.dataset.copying = 'true';\n    status.textContent = 'コピーしています…';\n\n    var copied = false;\n\n    try {\n      if (navigator.clipboard \u0026\u0026 window.isSecureContext) {\n        try {\n          await navigator.clipboard.writeText(code);\n          copied = true;\n        } catch (error) {\n          copied = legacyCopy(code);\n        }\n      } else {\n        copied = legacyCopy(code);\n      }\n\n      if (copied) {\n        status.textContent = 'クーポンコードをコピーしました。';\n      } else {\n        selectCode(codeElement);\n        status.textContent =\n          '自動コピーできませんでした。コードを長押し、または選択してコピーしてください。';\n      }\n    } catch (error) {\n      selectCode(codeElement);\n      status.textContent =\n        'コードを長押し、または選択してコピーしてください。';\n    } finally {\n      delete button.dataset.copying;\n    }\n  });\n})();\n\u003c\/script\u003e","brand":"タンスのゲン","offers":[{"title":"ウォールナット","offer_id":58754703949990,"sku":"9590006602","price":9999.0,"currency_code":"JPY","in_stock":true},{"title":"シャビーナチュラル","offer_id":58754703982758,"sku":"9590006601","price":9999.0,"currency_code":"JPY","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0425\/2005\/1878\/files\/95900066_10d.png?v=1796288867","url":"https:\/\/www.tansu-gen.jp\/products\/95900066","provider":"【公式】タンスのゲン本店 - 家具・インテリアのネット通販","version":"1.0","type":"link"}