PageSourceSearch

https://systemcreate-inc.co.jp/corporate/wp-content/cache/autoptim…8499b8ec026e4f135cf7ad.js?ver=2026092571210

js systemcreate-inc.co.jp collected 2026-09-25 19:12:23 UTC 14,467 bytes, 34 lines download raw bytes

1$(function(){$('.tab_menu.top li').on('click',function(){var index=$('.tab_menu.top li').index(this);$('.tab_menu li').removeClass("active");$('.main_body > div').addClass("hidden");$('.main_body > div').removeClass("active");$('.head .tab_menu li').eq(index).addClass("active");$('.tab_menu.top li').eq(index).addClass("active");$('.main_body > div').eq(index).addClass("active");$(window).scrollTop(0);});});$(function(){$('.head .tab_menu li').on('click',function(){var index=$('.head .tab_menu li').index(this);$('.tab_menu li').removeClass("active");$('.main_body > div').addClass("hidden");$('.main_body > div').removeClass("active");$('.head .tab_menu li').eq(index).addClass("active");$('.tab_menu.top li').eq(index).addClass("active");$('.main_body > div').eq(index).addClass("active");$(window).scrollTop(0);});});$(window).scroll(function(){var pos=$('.article__body').offset();if($(this).scrollTop()>pos.top){$('.head').fadeIn();}else{$('.head').fadeOut();}});$(window).on('load hashchange',function(){var index=-1;if(location.hash==='#overview'){index=0;}else if(location.hash==='#data'){index=1;}else if(location.hash==='#constitution'){index=2;}else if(location.hash==='#catalog'){index=3;}
2if(index>=0){$('.tab_menu li').removeClass("active");$('.main_body > div').addClass("hidden");$('.main_body > div').removeClass("active");$('.head .tab_menu li').eq(index).addClass("active");$('.tab_menu.top li').eq(index).addClass("active");$('.main_body > div').eq(index).addClass("active");}});$(function(){$('.main_body > div').eq(0).addClass("active");setTimeout(function(){$('.slide.controls').slick({slidesToShow:1,slidesToScroll:1,dots:true,dotsClass:"slide-dots"});$('.slide.autoplay').slick({slidesToShow:1,slidesToScroll:1,dots:true,dotsClass:"slide-dots",autoplay:true,autoplaySpeed:3000,speed:400});},2000);});document.addEventListener('DOMContentLoaded',()=>{const btns=document.querySelectorAll('.floating-circle-btn');const footer=document.querySelector('footer');const handleScroll=()=>{const scrollY=window.scrollY;const footerRect=footer.getBoundingClientRect();btns.forEach(btn=>{if(footerRect.top<window.innerHeight){btn.classList.remove('show');return;}
3if(scrollY>200){btn.classList.add('show');}else{btn.classList.remove('show');}});};window.addEventListener('scroll',handleScroll);handleScroll();});document.addEventListener('DOMContentLoaded',()=>{const toggleButtons=document.querySelectorAll(".toggle-btn");toggleButtons.forEach(button=>{button.addEventListener("click",()=>{const card=button.closest(".review-card");const summary=card.querySelector(".review-summary");const isOpen=summary.classList.toggle("open");button.textContent=isOpen?"閉じる":"続きを見る";});});const prevBtn=document.querySelector('.carousel-btn.prev');const nextBtn=document.querySelector('.carousel-btn.next');const track=document.querySelector('.reviews-track');const slides=document.querySelectorAll('.reviews-slide');const dotsContainer=document.querySelector('.reviews-dots');let currentSlide=0;const totalSlides=slides.length;let autoSlideTimer;function updateSlide(){track.style.transform=`translateX(-${currentSlide * 100}%)`;updateDots();}
4function startAutoSlide(interval){stopAutoSlide();autoSlideTimer=setInterval(()=>{currentSlide=(currentSlide+1)%totalSlides;updateSlide();},interval);}
5function stopAutoSlide(){clearInterval(autoSlideTimer);}
6prevBtn.addEventListener('click',()=>{currentSlide=(currentSlide-1+totalSlides)%totalSlides;updateSlide();});nextBtn.addEventListener('click',()=>{currentSlide=(currentSlide+1)%totalSlides;updateSlide();});slides.forEach((_,index)=>{const dot=document.createElement('button');if(index===0)dot.classList.add('active');dot.addEventListener('click',()=>{currentSlide=index;updateSlide();});dotsContainer.appendChild(dot);});function updateDots(){const dots=dotsContainer.querySelectorAll('button');dots.forEach((dot,i)=>dot.classList.toggle('active',i===currentSlide));}
7function initCarousel(){const isMobile=window.innerWidth<=768;if(isMobile){prevBtn.style.display='none';nextBtn.style.display='none';startAutoSlide(3000);}else{prevBtn.style.display='block';nextBtn.style.display='block';startAutoSlide(10000);}}
8window.addEventListener('resize',initCarousel);initCarousel();const carousel=document.querySelector('.reviews-carousel');carousel.addEventListener('mouseenter',()=>{if(window.innerWidth>768)stopAutoSlide();});carousel.addEventListener('mouseleave',()=>{if(window.innerWidth>768)startAutoSlide(10000);});});document.addEventListener("DOMContentLoaded",function(){const faqItems=document.querySelectorAll(".product-faq .faq-item");
8faqItems.forEach(item=>{const question=item.querySelector(".faq-question");const answer=item.querySelector(".faq-answer");question.addEventListener("click",function(){const isActive=item.classList.contains("active");faqItems.forEach(i=>{i.classList.remove("active");i.querySelector(".faq-answer").style.display="none";});if(!isActive){item.classList.add("active");answer.style.display="block";}});});});document.addEventListener('DOMContentLoaded',function(){const moreBtn=document.querySelector('.wp2-more-btn');const closeBtn=document.querySelector('.wp2-close-btn');if(moreBtn){moreBtn.addEventListener('click',function(){const hiddenItems=document.querySelectorAll('.wp2-item.is-hidden');hiddenItems.forEach(function(item){item.classList.remove('is-hidden');item.classList.add('wp2-fadein');});moreBtn.style.display='none';if(closeBtn)closeBtn.style.display='inline-block';});}
9if(closeBtn){closeBtn.addEventListener('click',function(){const items=document.querySelectorAll('.wp2-item');items.forEach(function(item,index){if(index>=4){item.classList.add('is-hidden');item.classList.remove('wp2-fadein');}});closeBtn.style.display='none';if(moreBtn)moreBtn.style.display='inline-block';window.scrollTo({top:moreBtn.offsetTop-100,behavior:'smooth'});});}});document.addEventListener("DOMContentLoaded",function(){const catalogBtns=document.querySelectorAll('a[href="#catalog"]');catalogBtns.forEach(btn=>{btn.addEventListener('click',function(e){setTimeout(()=>{const target=document.getElementById('catalog');if(target){const headerOffset=0;const elementPosition=target.getBoundingClientRect().top;const offsetPosition=elementPosition+window.pageYOffset-headerOffset;window.scrollTo({top:offsetPosition,behavior:'smooth'});}},100);});});});window.addEventListener('load',function(){var script=document.createElement('script');script.src="https://form.systemcreate-inc.co.jp/web/mrcform.js";script.charset="utf-8";script.async=true;script.setAttribute("data-id","vobnf7");document.body.appendChild(script);});document.addEventListener("DOMContentLoaded",function(){const modal=document.getElementById("priceModal");const openBtn=document.getElementById("openModal");const closeBtn=document.getElementById("closeModal");const questions=document.querySelectorAll(".question");const resultArea=document.querySelector(".result");const showFormBtn=document.getElementById("showFormBtn");const caseLinks=document.querySelectorAll(".openCaseModal");const caseModal=document.getElementById("caseModal");const caseFrame=document.getElementById("caseFrame");const closeCaseModal=document.getElementById("closeCaseModal");let rhinoOwned=true;const basePrice=270000;const maintenance=150000;let campaignType="通常価格";let campaignInterest="";if(openBtn){openBtn.addEventListener("click",function(){if(resultArea)resultArea.classList.add("hidden");modal.classList.remove("hidden");resetState();nextStep(1);});}
10if(closeBtn){closeBtn.addEventListener("click",reset);}
11document.querySelectorAll('[data-rhino]').forEach(btn=>{btn.addEventListener("click",function(){rhinoOwned=this.dataset.rhino==="yes";nextStep(2);});});document.querySelectorAll('[data-know]').forEach(btn=>{btn.addEventListener("click",function(){if(this.dataset.know==="yes"){campaignInterest="キャンペーンについて知っている";}else{campaignInterest="キャンペーン詳細説明希望";}
12nextStep(3);});});document.querySelectorAll('[data-discount]').forEach(btn=>{btn.addEventListener("click",function(){const rate=parseFloat(this.dataset.rate);campaignType=this.innerText;let ezPriceTotal=basePrice*rate;let maintenanceTotal=maintenance;if(!rhinoOwned){ezPriceTotal+=200000;}
13const finalTotal=ezPriceTotal+maintenanceTotal;document.getElementById("ezPrice").innerText=Math.round(ezPriceTotal).toLocaleString()+" 円";document.getElementById("maintenanceCost").innerText=Math.round(maintenanceTotal).toLocaleString()+" 円";const totalEl=document.getElementById("totalPrice");if(totalEl){totalEl.innerText=Math.round(finalTotal).toLocaleString();}
14nextStep("result");});});if(showFormBtn){showFormBtn.addEventListener("click",function(e){e.preventDefault();const formArea=document.getElementById("modalFormArea");if(formArea){formArea.classList.remove("hidden");if(resultArea)resultArea.classList.add("hidden");}
15const data={rhino:rhinoOwned?"保有あり":"新規購入",campaign:campaignType,price:document.getElementById("ezPrice").innerText,maintenance:
15document.getElementById("maintenanceCost").innerText,total:document.getElementById("totalPrice")?document.getElementById("totalPrice").innerText+" 円":"---",interest:campaignInterest};setRadio("form1","具体的に検討中");setCheckbox("form2","お見積り希望");setRadio("form4","必要(PDF)");setRadio("form5","メール");setCheckbox("form3","成功事例へのご協力");injectToMRC(data);});}
16caseLinks.forEach(link=>{link.addEventListener("click",function(e){e.preventDefault();const url=this.dataset.url;if(caseFrame)caseFrame.src=url;if(caseModal)caseModal.classList.remove("hidden");});});if(closeCaseModal){closeCaseModal.addEventListener("click",function(){caseModal.classList.add("hidden");if(caseFrame)caseFrame.src="";});}
17if(caseModal){caseModal.addEventListener("click",function(e){if(e.target===caseModal){caseModal.classList.add("hidden");if(caseFrame)caseFrame.src="";}});}
18function setRadio(name,value){setTimeout(function(){const el=document.querySelector(`input[name="${name}"][value="${value}"]`);if(el&&!el.checked)el.click();},800);}
19function setCheckbox(name,value){setTimeout(function(){const el=document.querySelector(`input[name="${name}[]"][value="${value}"]`);if(el&&!el.checked)el.click();},800);}
20function injectToMRC(data){setTimeout(function(){const textarea=document.querySelector('textarea[name="form6"]');if(!textarea)return;textarea.value=`【シミュレーション結果】
21Rhino:${data.rhino}
22種別:${data.campaign}
23概算費用:${data.price}
24年間保守:${data.maintenance}
25合計:${data.total}
26状況:${data.interest}`;textarea.dispatchEvent(new Event("input",{bubbles:true}));textarea.dispatchEvent(new Event("change",{bubbles:true}));},1000);}
27function nextStep(step){const counterEl=document.getElementById("stepCounter");questions.forEach(q=>q.classList.add("hidden"));if(resultArea)resultArea.classList.add("hidden");if(step==="result"){if(counterEl)counterEl.classList.add("hidden-counter");if(resultArea)resultArea.classList.remove("hidden");return;}
28const current=document.querySelector(`.question[data-step="${step}"]`);if(current){current.classList.remove("hidden");if(counterEl){counterEl.classList.remove("hidden-counter");counterEl.innerText=`${step} / 3`;}}}
29function resetState(){rhinoOwned=true;campaignType="通常価格";campaignInterest="";document.querySelectorAll(".detail-content").forEach(el=>el.classList.add("hidden"));}
30function reset(){modal.classList.add("hidden");if(resultArea)resultArea.classList.add("hidden");const formArea=document.getElementById("modalFormArea");if(formArea)formArea.classList.add("hidden");resetState();nextStep(1);}});document.addEventListener('DOMContentLoaded',function(){const showFormBtn=document.getElementById('showFormBtn');if(showFormBtn){showFormBtn.addEventListener('click',function(e){e.preventDefault();const noticeElement=document.getElementById('formTopNotice');if(noticeElement){noticeElement.innerHTML="<strong>正式見積の依頼は、以下のフォームへご入力ください。</strong><br>シミュレーション結果を自動入力しております。必要に応じて追加や変更等を行ってください。";noticeElement.classList.remove('hidden');noticeElement.style.setProperty('display','block','important');}
31const resultArea=document.querySelector('.result');const formArea=document.getElementById('modalFormArea');if(resultArea)resultArea.classList.add('hidden');if(formArea){formArea.classList.remove('hidden');formArea.style.display='block';}
32this.style.display='none';console.log('正式見積ボタンが押されました');});}});document.addEventListener('DOMContentLoaded',function(){const contactContainer=document.querySelector('.side-contact-container');contactContainer.classList.add('is-open');setTimeout(function(){contactContainer.classList.remove('is-open');},5000);});document.addEventListener('DOMContentLoaded',function(){const contactContainer=document.querySelector('.side-contact-container');const menuTriggerBtn=document.querySelector('.btn-trigger');if(window.innerWidth>767){contactContainer.classList.add('is-open');setTimeout(function(){contactContainer.classList.remove('is-open');},3000);}
33if(menuTriggerBtn){menuTriggerBtn.addEventListener('click',function(e){if(window.innerWidth<=767){e.preventDefault();contactContainer.classList.toggle('active');}});}
34document.addEventListener('click',function(e){if(contactContainer&&!contactContainer.contains(e.target)){contactContainer.classList.remove('active');}});});document.addEventListener('DOMContentLoaded',function(){const triggers=document.querySelectorAll('#popup-estimate-trigger, #popup-inquiry-trigger');const overlay=document.getElementById('custom-popup-overlay');const closeBtn=document.getElementById('close-popup-btn');const wrapper=document.getElementById('popup-iframe-wrapper');if(triggers.length===0||!overlay||!closeBtn||!wrapper)return;
34triggers.forEach(function(trigger){trigger.addEventListener('click',function(e){e.preventDefault();const formUrl=this.getAttribute('href');wrapper.innerHTML=`<iframe src="${formUrl}" title="フォーム"></iframe>`;overlay.style.display='flex';document.body.style.overflow='hidden';});});closeBtn.addEventListener('click',function(){overlay.style.display='none';wrapper.innerHTML='';document.body.style.overflow='';});overlay.addEventListener('click',function(e){if(e.target===overlay){closeBtn.click();}});});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.