PageSourceSearch

https://systemcreate-inc.co.jp/corporate/wp-content/cache/autoptim…a2120460aba9de8688c6d.js?ver=20261003101110

js systemcreate-inc.co.jp collected 2026-10-03 22:11:27 UTC 7,304 bytes, 7 lines download raw bytes

1$(function(){var pagetop=$('.pagetop');pagetop.hide();$(window).scroll(function(){if($(this).scrollTop()>500){pagetop.fadeIn();}else{pagetop.fadeOut();}});pagetop.click(function(){$('body, html').animate({scrollTop:0},500);return false;});});$(function(){$('.nav-company .sub-menu').hover(function(){$('.nav-company').addClass("action");},function(){$(".nav-company").removeClass("action");});});$(function(){$('.nav-products .sub-menu').hover(function(){$('.nav-products').addClass("action");},function(){$(".nav-products").removeClass("action");});});$(function(){$('.sp_menu_open').on('click',function(){$('.sp_menu').addClass("action");});$('.sp_menu_close').on('click',function(){$('.sp_menu').removeClass("action");});});$(function(){$('.sp_menu_body .nav-service-sp').on('click',function(){$('.nav-service-sp + .sub-menu').toggleClass("action");});$('.sp_menu_body .nav-company-sp').on('click',function(){$('.nav-company-sp + .sub-menu').toggleClass("action");});$('.sp_menu_body .nav-products-sp').on('click',function(){$('.nav-products-sp + .sub-menu').toggleClass("action");});});$(function(){$('.main .tab_all').on('click',function(){$('.news__item, .tab_btn').removeClass("action");$('.tab_all').addClass("action");$('.news_all').addClass("action");});$('.main .tab_product').on('click',function(){$('.news__item, .tab_btn').removeClass("action");$('.tab_product').addClass("action");$('.news_product').addClass("action");});$('.main .tab_release').on('click',function(){$('.news__item, .tab_btn').removeClass("action");$('.tab_release').addClass("action");$('.news_release').addClass("action");});$('.main .tab_event').on('click',function(){$('.news__item, .tab_btn').removeClass("action");$('.tab_event').addClass("action");$('.news_event').addClass("action");});});document.addEventListener("DOMContentLoaded",function(){const sections=document.querySelectorAll(".scroll-section");const timelineItems=document.querySelectorAll(".timeline-item");function updateTimeline(){let index=0;sections.forEach((section,i)=>{const rect=section.getBoundingClientRect();if(rect.top>=0&&rect.top<window.innerHeight/2){index=i;}});timelineItems.forEach((item,i)=>{if(i===index)item.classList.add("active");else item.classList.remove("active");});}
2document.querySelector(".scroll-content")?.addEventListener("scroll",updateTimeline);});$(function(){var w=$(window).width();if($('.slide-items').length){if($('.slide-items').hasClass('slick-initialized')){$('.slide-items').slick('unslick');}
3var totalSlides=$('.slide-items li').length;var maxShow=3;var slidesToShow=1;if(w<=600)slidesToShow=1;else if(w<=960)slidesToShow=2;else slidesToShow=maxShow;slidesToShow=Math.min(slidesToShow,totalSlides);$('.slide-items').slick({slidesToShow:slidesToShow,slidesToScroll:1,dots:true,dotsClass:"slide-dots",infinite:totalSlides>slidesToShow});if($('.contents_list').length){var contentsShow=(w<=600)?1:(w<=960)?2:3;contentsShow=Math.min(contentsShow,$('.contents_list li').length);$('.contents_list').slick({slidesToShow:contentsShow,slidesToScroll:1});}}});$(function(){$('.tab-form-wrapper .tab-header li').on('click',function(){var targetTab=$(this).data('tab');$(this).siblings().removeClass('active');$(this).addClass('active');$('.tab-form-wrapper .tab-pane').removeClass('active');$('.tab-form-wrapper .tab-pane#'+targetTab).addClass('active');$('html, body').animate({scrollTop:$('.tab-form-wrapper').offset().top},300);});});document.addEventListener('DOMContentLoaded',function(){document.querySelectorAll('.tab-menu li').forEach(tab=>{tab.addEventListener('click',()=>{const targetTabId=tab.dataset.tab;document.querySelectorAll('.tab-menu li').forEach(t=>t.classList.remove('active'));document.querySelectorAll('.tab-panel').forEach(p=>p.classList.remove('active'));tab.classList.add('active');document.getElementById(targetTabId)?.classList.add('active');});});
3document.querySelectorAll('.slider').forEach(slider=>{const track=slider.querySelector('.slide-track');const prev=slider.querySelector('.prev');const next=slider.querySelector('.next');let index=0;prev.addEventListener('click',()=>{index=Math.max(index-1,0);track.scrollTo({left:track.offsetWidth*index,behavior:'smooth'});});next.addEventListener('click',()=>{const total=track.children.length;index=Math.min(index+1,total-1);track.scrollTo({left:track.offsetWidth*index,behavior:'smooth'});});});document.querySelectorAll('.product_link').forEach(link=>{link.addEventListener('click',function(e){e.preventDefault();const targetTabId=this.dataset.tab;const slideIndex=parseInt(this.dataset.slide)||0;document.querySelectorAll('.tab-menu li').forEach(tab=>tab.classList.remove('active'));document.querySelectorAll('.tab-panel').forEach(panel=>panel.classList.remove('active'));document.querySelector(`.tab-menu li[data-tab="${targetTabId}"]`)?.classList.add('active');const activePanel=document.getElementById(targetTabId);activePanel?.classList.add('active');const slider=activePanel?.querySelector('.slider');const track=slider?.querySelector('.slide-track');if(track){const slideWidth=track.offsetWidth;track.scrollTo({left:slideWidth*slideIndex,behavior:'smooth'});}
4const offset=300;const y=activePanel.getBoundingClientRect().top+window.scrollY-offset;window.scrollTo({top:y,behavior:'smooth'});});});});document.addEventListener("DOMContentLoaded",function(){const serviceButtons=document.querySelectorAll(".services__button");const serviceContents=document.querySelectorAll(".services__content");serviceButtons.forEach(button=>{button.addEventListener("click",()=>{const target=button.dataset.target;serviceContents.forEach(content=>{if(content.id===target)content.classList.add("active");else content.classList.remove("active");});});});const detailButtons=document.querySelectorAll(".detail-btn");detailButtons.forEach(btn=>{btn.addEventListener("click",()=>{const targetId=btn.dataset.target;const target=document.getElementById(targetId);serviceContents.forEach(c=>{if(c.id!==targetId)c.style.display='none';});target.style.display=(target.style.display==='block')?'none':'block';if(target.style.display==='block'){target.scrollIntoView({behavior:'smooth',block:'start'});}});});});document.addEventListener('DOMContentLoaded',()=>{const canvas=document.getElementById('particles');if(!canvas)return;const ctx=canvas.getContext('2d');const particleCount=120;const particleMinSize=1;const particleMaxSize=4;const particleSpeed=0.5;let particles=[];function createParticles(){particles=[];for(let i=0;i<particleCount;i++){particles.push({x:Math.random()*canvas.width,y:Math.random()*canvas.height,size:Math.random()*(particleMaxSize-particleMinSize)+particleMinSize,speedX:(Math.random()-0.5)*particleSpeed,speedY:(Math.random()-0.5)*particleSpeed,alpha:Math.random()*0.7+0.3});}}
5function resizeCanvas(){canvas.width=window.innerWidth;canvas.height=window.innerHeight;createParticles();}
6window.addEventListener('resize',resizeCanvas);resizeCanvas();function animate(){ctx.clearRect(0,0,canvas.width,canvas.height);particles.forEach(p=>{ctx.fillStyle=`rgba(255,255,255,${p.alpha})`;ctx.beginPath();ctx.arc(p.x,p.y,p.size,0,Math.PI*2);ctx.fill();p.x+=p.speedX;p.y+=p.speedY;if(p.x<0)p.x=canvas.width;if(p.x>canvas.width)p.x=0;if(p.y<0)p.y=canvas.height;if(p.y>canvas.height)p.y=0;});requestAnimationFrame(animate);}
7animate();});

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.