')});const n=document.getElementsByClassName("c-comparison__mover");let i=n.length;for(;i--;){let r,o=0;const l=n[i].getBoundingClientRect().width,a=n[i].nextElementSibling,u=a.getBoundingClientRect().width;n[i].style.left=`${u/2-l/2}px`,a.style.clip=`rect(0px, ${u/2}px, 999px, 0px)`,n[i].addEventListener("mousedown",s=>{r=s.clientX,o=1}),n[i].addEventListener("mouseup",()=>o=0),n[i].addEventListener("touchstart",s=>{r=s.touches[0].clientX,o=1}),n[i].addEventListener("touchend",()=>o=0),n[i].addEventListener("mousemove",s=>{if(o){const d=parseInt(s.target.style.left),m=s.target.getBoundingClientRect(),p=s.clientX;s.target.style.left=`${d+(p-r)}px`,r=p,s.target.nextElementSibling.style.clip=`rect(0px, ${m.width/2+d}px, ${m.height}px, 0px)`}}),n[i].addEventListener("touchmove",s=>{if(o){const d=parseInt(s.target.style.left),m=s.target.getBoundingClientRect(),p=s.touches[0].clientX;s.target.style.left=d+(p-r)+"px",r=p,s.target.nextElementSibling.style.clip=`rect(0px, ${m.width/2+d}px, ${m.height}px, 0px)`}})}}})();(function(){const t=document.getElementsByClassName("gallery");let n,i,r,o,l;Array.prototype.slice.call(t).forEach(a=>{a.classList.add("c-single_gallery__inner"),l=a.querySelector("dl").clientWidth,n=document.createElement("div"),n.className="c-single_gallery",a.parentNode.insertBefore(n,a),n.appendChild(a),o=document.createElement("h2"),o.className="c-single_gallery__heading",o.textContent="ギャラリー",n.insertBefore(o,a),i=document.createElement("button"),i.className="c-single_gallery__prev",i.textContent="←",n.appendChild(i),r=document.createElement("button"),r.className="c-single_gallery__next",r.textContent="→",n.appendChild(r),i.addEventListener("click",()=>{a.scrollBy({behavior:"smooth",left:-l,top:0})}),r.addEventListener("click",()=>{a.scrollBy({behavior:"smooth",left:l,top:0})})}),Array.prototype.slice.call(document.getElementsByClassName("gallery-item")).forEach(a=>{a.classList.add("c-single_gallery__dl"),Array.prototype.slice.call(a.getElementsByTagName("img")).forEach(u=>{u.classList.add("c-single_gallery__img")})})})();const rt=()=>{const t=document.getElementById("hamburger");t&&t.addEventListener("click",()=>t.classList.toggle("open"))};rt();(()=>{const t=document.getElementsByClassName("share"),n=(screen.width-600)/2,i=(screen.height-500)/2;t[0]&&Array.prototype.slice.call(t).forEach(r=>r.addEventListener("click",o=>{o.preventDefault(),window.open(r.href,"SNS_window",`width=600, height=500, menubar=no, toolbar=no, scrollbars=yes, left=${n}, top=${i}`)}))})();(function(){(function(t,n,i,r,o,l,a){t.fbq||(o=t.fbq=function(){o.callMethod?o.callMethod.apply(o,arguments):o.queue.push(arguments)},t._fbq||(t._fbq=o),o.push=o,o.loaded=!0,o.version="2.0",o.queue=[],l=n.createElement(i),l.async=!0,l.src=r,a=n.getElementsByTagName(i)[0],a.parentNode.insertBefore(l,a))})(window,document,"script","https://connect.facebook.net/en_US/fbevents.js"),fbq("init","646575252122194"),fbq("track","PageView")})();(function(){let t=document.createElement("script");t.charset="utf-8",t.async=!0,t.src=window.location.protocol+"//api.popin.cc/searchbox/danshihack.js";let n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)})();const O=(t,n)=>{if(document.getElementsByClassName(n)[0]){const r=document.getElementById(n),o=()=>{let a=1;window.addEventListener("scroll",()=>{if(a===1){const u=document.createElement("script");u.src=t,u.setAttribute("async","async"),u.setAttribute("id",n),document.body.appendChild(u),a=0}})};return r?(()=>{r.parentNode.removeChild(r),o()})():o()}};tt(".c-balloon__name");O("https://platform.twitter.com/widgets.js","twitter-tweet");O("https://platform.instagram.com/en_US/embeds.js","instagram-media");