']}};b.Overlay={Open:function(){var e=this,c="className",d=e.overlayElement;d.style.height=b.F.E()+500+"px";e.keepPosition=window.pageYOffset;window.scrollTo(0,0);e.naviButtonParentElement[c]+=" none";if(e.is_exists){d[c]="ov"}else{document.body.appendChild(d);e.is_exists=1}},Close:function(){var f=this,d="className",c="keepPosition",e=this.contentElement;f.overlayElement[d]="ov none";e.removeChild(e.childNodes[1]);window.scrollTo(0,f[c]);f.naviButtonParentElement[d]="nv-ov";f[c]=0},Init:function(){var y=this,d=b,s=d.F,F=s.A,I=s.B,u="p",c="className",h="onclick",E=function(i){return d.SVG.Create(i)},r=function(i){return["","images","blog",""].join("/")+i.join(".")},t=function(K,p,L){var i=F("a");K[c]=p;i[c]="nv-a";L.setAttribute("class","nv-bt");I(i,L);I(K,i);return i},J=[],l,j,g,B,m,A,f,H,G,x,D,o,q,k='',e=v+k,n=F(),w=F(u),C=F("img");B=y.overlayElement=F();B[c]="ov";J[0]=l=F();H=t(l,"nv-cl",E("x"));I(l,H);J[1]=j=y.contentElement=F();j[c]="ov-in";n[c]="ov-cm";w[c]="ov-ct";f="messageElement",y[f]=_messageElement=F(u);_messageElement[c]="ov-tx";C.src=r(["character","png"]);C[c]="ov-im";I(w,C);I(n,w);I(n,_messageElement);I(j,n);J[2]=g=F();g[c]="ov-tp";G=F(u);x=F("a");x.href="#";x[c]="ov-ta";D=F("img");D.src=r(["logo-square","jpg"]);D[c]="ov-lg";d.Scroll.Attach(x);I(x,D);I(G,x);I(g,G);I(g,l);for(var z=J.length;z--;I(B,J[z])){}B[h]=H[h]=function(i){i.stopPropagation();y.Close()};J[1][h]=function(p){var i=p.target;i.href&&i.getAttribute("href").charAt(0)=="#"||p.stopPropagation()};y.defaultElement=A=F();I(A,d.Sitemap.modalElement);this.naviButtonParentElement=o=F(u);q=t(o,"nv-ov",E(["0 0 14 14",k+"3"+e+"6"+e+"9"+v]));q[h]=function(){y[f].textContent="ナビゲーション画面です。左下にあるボタンを押すと戻ります。上にあるロゴを押すと、ページの一番上に戻ります。";I(y.contentElement,y.defaultElement);y.Open()};I(document.body,o)},Create:function(i,j,g){var d=b,f=d.F,h=f.A,e=f.B,c=h(),k=h("h5");className="className",c[className]="ov-c";k[className]="hg-b ic "+i;k.textContent=j;e(c,k);e(c,g);return c},Convert:function(d,c){c.className=c.className.replace({sidebar:"sd-c"}[d],"ov-c")}};b.Sitemap={options:["開く","閉じる","none","","0","1","sm-bt ic ic-1"," ic-op"," ic-cl","sm-bt"],Init:function(){var t=this,p=t.options,f=b,e=p[6],h="onclick",j=meta.sitemap,q,r=document.getElementById("sitemap"),g=r.cloneNode(1),u=g.childNodes,n=u[0],d=u[1].childNodes,k=function(){t.Toggle(this)},s=function(){t.ToggleAll(this)};n.className+=p[7];for(var m,l,o,c,v=d.length;v--;){l=d[v];m=l.childNodes;if(m.length>1){c=(v==j)?1:0;m[1].className=p[c+2];o=document.createElement("a");o.className=e+p[c+4];o.textContent=p[c];o[h]=k;l.insertBefore(o,m[0].nextSibling)}}r.parentNode.replaceChild(g,r);t.modalElement=q=g.cloneNode(1);q.removeAttribute("id");f.Overlay.Convert("sidebar",q);n[h]=q.childNodes[0][h]=s;for(var w=f.F.C(p[9],q),v=w.length;v--;w[v][h]=k){}},ToggleAll:function(f){var j=this,c=j.options,h=f.className,d=b.F.C(c[9],f.nextSibling),g=(h.indexOf(c[7])!=-1)?1:0;f.className=h.replace(c[8-g],"")+c[g+7];for(var e=d.length;e--;j.Toggle(d[e],g)){}},Toggle:function(e,g){var c=this.options,d=c[6],f="className",h=(typeof g=="undefined")?((e[f]==d+c[4])?1:0):g;e[f]=d+c[h+4];e.textContent=c[h];e.nextSibling[f]=c[h+2]}};b.Lazyload={Init:function(){this.Crawl();a.addEventListener("scroll",this.Fire,false)},Fire:function(){var d=b.Lazyload,c="timeoutId";clearTimeout(d[c]);d[c]=setTimeout(function(){d.Crawl()},15)},Crawl:function(){var h,c="clientHeight",m=(a.innerHeight||document.documentElement[c])+200,f=document.querySelectorAll("["+(h="data-src")+"]"),l=f.length||a.removeEventListener("scroll",this.Fire)||0;for(var d,e,k,j,g=0;g9&&(m<(j=k.top)||1>(e=j+d[c])||d.offsetParent==null)){if(e>0){break}}else{d.src=d.getAttribute(h);d.removeAttribute(h)}}}};b.Scroll={Attach:function(c){c.onclick=function(s){s.preventDefault();var l=document.documentElement,m=document.body,n="Height",r="scroll"+n,h="offset"+n,j="client"+n,f="pageYOffset",g=a[f],q=a.innerHeight,d=Math.floor,k=a.scrollTo,i=-1*(startPosition=(b.Overlay.keepPosition||g)),o=m[r]||l[r]||m[h]||l[h]||m[j]||l[j],v,u=0,p=function(e,w){var x=a[f];(!e||!x||((q+x)>=o))&&clearInterval(w)},t=function(){u+=16;var w=(u/(i>2000?750:375)),x=2*(w=((w>1)?1:w))-2,e=startPosition+(i*(w<0.5?4*w*w*w:(w-1)*x*x+1));k(0,d(e));p(e,v)};(!g)&&k(0,0);v=setInterval(t,16)}}};b.Pager={Init:function(){var h=meta.page,k=h[1];if(3>k){return 0}var s=h[0],o=this,t=b.Overlay,c=document.getElementsByClassName("pg-nv"),p=function(i){return document.createElement(i)},e=function(i,l){i.appendChild(l)},n="textContent",q="className",g,d;g=p("ul");g[q]="ofh";for(var r,m,j=1,f=k+1;f>j;j++){r=p("li");r[q]="pg-i pg-c";if(j==s){r[q]+=" bk-a selected";r[n]=j}else{m=p("a");m.href="./page:"+j;m[n]=j;m[q]="bk-a";e(r,m)}e(g,r)}d=t.Create("ic-8","ページ一覧",g);for(var j=c.length;j--;){c[j].onclick=function(){t.messageElement[n]="現在、"+k+"ページ中の"+s+"ページです。移動したい番号をクリックしてね。";t.contentElement.appendChild(d);t.Open()}}}};b.Lazyload.Init();b.Sitemap.Init();b.Scroll.Attach(document.getElementsByClassName("tp-1")[0]);if(1130>a.innerWidth){b.Overlay.Init();b.Pager.Init()}});