PageSourceSearch

https://netshop.shimachu.co.jp/js/user.js?20220405_

js shimachu.co.jp collected 2026-10-02 04:23:38 UTC 35,748 bytes, 1,002 lines download raw bytes

1jQuery(window).scroll(function () {
2  if (jQuery("#block_of_top_slide").length > 0) {
3    gnav_wrap = jQuery("#block_of_top_slide");
4  } else if (jQuery("#contents").length > 0) {
5    gnav_wrap = jQuery("#contents");
6  } else if (jQuery(".container_").length > 0) {
7    gnav_wrap = jQuery(".container_");
8  } else {
9    gnav_wrap = "0";
10  }
11  if (gnav_wrap !== "0") {
12    offsetTop = gnav_wrap.offset().top;
13    if (jQuery(window).scrollTop() > offsetTop) {
14      jQuery(".gnav_wrap_").addClass("fixed_");
15      jQuery(".container_").css("padding-top", "66px");
16    } else if (jQuery(window).scrollTop() < offsetTop) {
17      jQuery(".gnav_wrap_").removeClass("fixed_");
18      jQuery(".container_").css("padding-top", "0");
19    }
20  }
21});
22jQuery(window).load(function () {
23  jQuery("#header a,#header area,.container_ a,.container_ area").click(
24    function () {
25      anchor = jQuery(this).attr("href").split("#");
26      if (anchor[1] !== undefined) {
27        if (jQuery("#fixedbanner").length === 1) {
28          headerHight = 60 * 2 + 10 + 90 * 2 + 25;
29        } else {
30          headerHight = 60 * 2 + 10;
31        }
32        var href = "#" + anchor[1];
33        var target = jQuery(href == "#" || href == "" ? "html" : href);
34        var position = target.offset().top - headerHight; //ƒwƒbƒ_‚̍‚‚³•ªˆÊ’u‚ð‚¸‚ç‚·
35        if (anchor[1] !== "childcategory_goods") {
36          jQuery("html, body").animate({ scrollTop: position }, 250, "swing");
37        }
38      }
39    }
40  );
41  if (location.hash) {
42    if (jQuery("#fixedbanner").length === 1) {
43      jQuery("html, body").animate(
44        { scrollTop: jQuery(location.hash).offset().top - (65 * 2 + 103 * 2) },
45        250,
46        "swing"
47      );
48    } else {
49      jQuery("html, body").animate(
50        { scrollTop: jQuery(location.hash).offset().top - 65 * 2 },
51        250,
52        "swing"
53      );
54    }
55  }
56
57  // jQuery('#footer a,#footer area').click(function() {
58  // 	if(location.hash){
59  // 		if(jQuery('#fixedbanner').length===1){
60  // 			jQuery("html, body").animate({scrollTop:jQuery(location.hash).offset().top-((32.5*2)+(103*2))}, 250, "swing")
61  // 		}else{
62  // 			jQuery("html, body").animate({scrollTop:jQuery(location.hash).offset().top-(32.5*2)}, 250, "swing")
63  // 		}
64
65  // 	}
66
67  // 	anchor = jQuery(this).attr('href').split('#')
68  // 	if(anchor[1] !== undefined){
69  // 		if(jQuery('#fixedbanner').length===1){
70  // 			headerHight = (65)+(105)
71  // 		}else{
72  // 			headerHight = (65);
73  // 		}
74  //     var href= '#'+anchor[1];
75  //     var target = jQuery(href == "#" || href == "" ? 'html' : href);
76  //     var position = target.offset().top-headerHight; //ƒwƒbƒ_‚̍‚‚³•ªˆÊ’u‚ð‚¸‚ç‚·
77  //     jQuery("html, body").animate({scrollTop:position}, 250, "swing");
78  //     return false;
79  // 	}else{
80  // 		return false;
81  // 	}
82
83  // });
84
85  function anchorFun() {
86    anchor = jQuery(this).attr("href").split("#");
87    if (anchor[1] !== undefined) {
88      var href = "#" + anchor[1];
89      var target = jQuery(href == "#" || href == "" ? "html" : href);
90      var position = target.offset().top - headerHight; //ƒwƒbƒ_‚̍‚‚³•ªˆÊ’u‚ð‚¸‚ç‚·
91      jQuery("html, body").animate({ scrollTop: position }, 250, "swing");
92      return false;
93    } else {
94      return false;
95    }
96  }
97  //--- “ÁW‚ð‚à‚Á‚ÆŒ©‚é
98  jQuery("div.top_event_pickup_ ul li:lt(4)").show();
99  jQuery(".btn_more_").click(function () {
100    jQuery("div.event_pickup_banner_ ul li:gt(3)").show();
101    jQuery(this).hide();
102  });
103
104  /*ƒJƒeƒSƒŠƒcƒŠ[‰Šú•\ަˆ—*/
105  jQuery(".category_tree1_open_")
106    .children("span.parent_")
107    .children("span.toggle_")
108    .addClass("active_");
109  jQuery(".category_tree1_open_").children("ul").show();
110  jQuery(".category_tree2_open_")
111    .children("span.parent_")
112    .children("span.toggle_")
113    .addClass("active_");
114  jQuery(".category_tree2_open_").children("ul").show();
115  jQuery(".category_tree3_open_")
116    .children("span.parent_")
117    .children("span.toggle_")
118    .addClass("active_");
119  jQuery(".category_tree3_open_").children("ul").show();
120  jQuery(".category_tree4_open_")
121    .children("span.parent_")
122    .children("span.toggle_")
123    .addClass("active_");
124  jQuery(".category_tree4_open_").children("ul").show();
125
126  jQuery("h1.optimaizedH1").wrapInner("<span></span>");
127  /*ƒJƒeƒSƒŠƒcƒŠ[ŠJ•ˆ—*/
128  jQuery("ul.category_tree_ li span.parent_ span.toggle_").click(function () {
129    jQuery(this).parent("span.parent_").next("ul").toggle();
130    if (
131      jQuery(this).parent("span.parent_").next("ul").css("display") == "block"
132    ) {
133      jQuery(this).addClass("active_");
134    } else if (
135      jQuery(this).parent("span.parent_").next("ul").css("display") == "none"
136    ) {
137      jQuery(this).removeClass("active_");
138    }
139  });
140
141  /*ƒOƒ[ƒoƒ‹ƒƒjƒ…[ƒJƒeƒSƒŠƒcƒŠ[ŠJ•ˆ—*/
142  jQuery("ul.category_ li span.parent_ span.toggle_").click(function () {
143    jQuery(this)
144      .parent("span.parent_")
145      .next("ul")
146      .css("top", jQuery(this).parent("span.parent_").height() + 18 + "px");
147    if (
148      jQuery(this).parent("span.parent_").parent("li").attr("class") ==
149      "category_tree1_"
150    ) {
151      if (jQuery(this).attr("class") == "toggle_ active_") {
152        jQuery(this).parent("span.parent_").next("ul").hide();
153        jQuery(this).removeClass("active_");
154      } else {
155        jQuery("ul.category_ ul").hide();
156        jQuery(this).parent("span.parent_").next("ul").show();
157        jQuery("ul.category_ span.toggle_").removeClass("active_");
158        jQuery(this).addClass("active_");
159      }
160    } else {
161      jQuery(this).parent("span.parent_").next("ul").toggle();
162      if (jQuery(this).attr("class") == "toggle_ active_") {
163        jQuery(this).removeClass("active_");
164      } else {
165        jQuery(this).addClass("active_");
166      }
167    }
168  });
169
170  /*ƒTƒuƒJƒeƒSƒŠƒcƒŠ[ŠJ•ˆ—*/
171  jQuery("div.CategoryStyleG_Item_ h3.name_").tile(6);
172  jQuery("div.CategoryStyleG_Item_ h3.name_ span.toggle_").click(function () {
173    jQuery(this)
174      .parent("h3.name_")
175      .next("ul")
176      .css(
177        "top",
178        jQuery(this).parent("h3.name_").prev("div.img_").height() +
179          jQuery(this).parent("h3.name_").height() +
180          6 +
181          "px"
182      );
183    if (jQuery(this).attr("class") == "toggle_ active_") {
184      jQuery(this).removeClass("active_");
185      jQuery(this).parent("h3.name_").next("ul").hide();
186    } else {
187      jQuery("div.CategoryStyleG_Item_ ul").hide();
188      jQuery("div.CategoryStyleG_Item_ h3")
189        .children("span")
190        .removeClass("active_");
191      jQuery(this).addClass("active_");
192      jQuery(this).parent("h3.name_").next("ul").show();
193    }
194  });
195
196  jQuery("div.goods_").each(function (a) {
197    jQuery(this).attr("id", "goods_box" + (a + 1));
198    idname = "#goods_box" + (a + 1) + " ";
199
200    //--- ‚‚³’²®Fƒ‰ƒ“ƒLƒ“ƒO•\ަ
201    jQuery("div.contents_ " + idname + "div.StyleR_Item_ div.icon_").tile(5);
202    jQuery(
203      "div.contents_ " + idname + "div.StyleR_Item_ div.img_ div.icon_"
204    ).tile(5);
205    jQuery("div.contents_ " + idname + "div.StyleR_Item_ div.price_pop_").tile(
206      5
207    );
208
209    jQuery("div.contents_ " + idname + "div.StyleR_Item_ div.img_").tile(5);
210    jQuery("div.contents_ " + idname + "div.StyleR_Item_ div.brand_").tile(5);
211    jQuery("div.contents_ " + idname + "div.StyleR_Item_ div.name_").tile(5);
212    jQuery("div.contents_ " + idname + "div.StyleR_Item_ div.comment_").tile(5);
213    jQuery("div.contents_ " + idname + "div.StyleR_Item_ div.list_tpoint").tile(
214      5
215    );
216    jQuery("div.contents_ " + idname + "div.StyleR_Item_ div.list_nitoripoint").tile(5);
217
218    //--- ‚‚³’²®FƒsƒbƒNƒAƒbƒv•\ަ
219    jQuery(idname + "div.StyleP_Item_ div.img_").tile(2);
220    jQuery(idname + "div.StyleP_Item_ div.price_").tile(2);
221    jQuery(idname + "div.StyleP_Item_ div.comment_").tile(2);
222    jQuery(idname + "div.StyleP_Item_").tile(2);
223
224    //--- ‚‚³’²®FƒTƒ€ƒlƒCƒ‹•\ަ
225    jQuery("div.contents_ " + idname + "div.StyleI_Item_ div.desc_").tile(4);
226    jQuery("div.contents_ " + idname + "div.StyleI_Item_ div.icon_").tile(4);
227    jQuery(
228      "div.contents_ " + idname + "div.StyleI_Item_ div.img_ div.icon_"
229    ).tile(4);
230    jQuery("div.contents_ " + idname + "div.StyleI_Item_ div.img_").tile(4);
231    jQuery("div.contents_ " + idname + "div.StyleI_Item_ div.brand_").tile(4);
232    jQuery("div.contents_ " + idname + "div.StyleI_Item_ div.name_").tile(4);
233    jQuery("div.contents_ " + idname + "div.StyleI_Item_ div.price_").tile(4);
234    jQuery("div.contents_ " + idname + "div.StyleI_Item_ div.comment_").tile(4);
235    jQuery("div.contents_ " + idname + "div.StyleI_Item_ div.list_tpoint").tile(
236      4
237    );
238    jQuery("div.contents_ " + idname + "div.StyleI_Item_ div.list_nitoripoint").tile(4);
239
240    //--- ‚‚³’²®FƒTƒ€ƒlƒCƒ‹•\ަ
241
242    jQuery("div.contents_ " + idname + "div.StyleT_Item_ div.icon_").tile(4);
243    jQuery(
244      "div.contents_ " + idname + "div.StyleT_Item_ div.img_ div.icon_"
245    ).tile(4);
246    jQuery("div.contents_ " + idname + "div.StyleT_Item_ span.price_pop_").tile(
247      4
248    );
249    jQuery("div.contents_ " + idname + "div.StyleT_Item_ div.img_").tile(4);
250    jQuery("div.contents_ " + idname + "div.StyleT_Item_ div.brand_").tile(4);
251    jQuery("div.contents_ " + idname + "div.StyleT_Item_ div.name_").tile(4);
252    jQuery("div.contents_ " + idname + "div.StyleT_Item_ div.comment_").tile(4);
253    jQuery("div.contents_ " + idname + "div.StyleT_Item_ div.price_").tile(4);
254    jQuery("div.contents_ " + idname + "div.StyleT_Item_ div.list_tpoint").tile(
255      4
256    );
257    jQuery("div.contents_ " + idname + "div.StyleT_Item_ div.list_nitoripoint").tile(4);
258
259    jQuery(
260      "div.customer_.col1_ .accessory_list_ div.StyleT_Line_ div.StyleT_Item_ div.icon_"
261    ).tile();
262    jQuery(
263      "div.customer_.col1_ .accessory_list_ div.StyleT_Line_ div.StyleT_Item_ div.name_"
264    ).tile();
265    jQuery(
266      "div.customer_.col1_ .accessory_list_ div.StyleT_Line_ div.StyleT_Item_ div.comment_"
267    ).tile();
268    jQuery(
269      "div.customer_.col1_ .accessory_list_ div.StyleT_Line_ div.StyleT_Item_ div.price_pop_"
270    ).tile();
271    //--- ‚‚³’²®FƒTƒ€ƒlƒCƒ‹•\ަ
272    /*
273  jQuery(".accessory_list_ div.StyleT_Item_ div.desc_").tile(5);
274  jQuery(".accessory_list_ div.StyleT_Item_ div.icon_").tile(5);
275  jQuery(".accessory_list_ div.StyleT_Item_ div.img_ div.icon_").tile(5);
276  jQuery(".accessory_list_ div.StyleT_Item_ div.price_pop_").tile(5);
277
278  jQuery(".accessory_list_ div.StyleT_Item_ div.img_").tile(5);
279  jQuery(".accessory_list_ div.StyleT_Item_ div.name_").tile(5);
280  jQuery(".accessory_list_ div.StyleT_Item_ div.price_").tile(5);
281
282  //--- ‚‚³’²®FƒTƒ€ƒlƒCƒ‹•\ަ
283  /*
284  jQuery(".col1_ div.StyleT_Item_ div.desc_").tile(5);
285  jQuery(".col1_ div.StyleT_Item_ div.icon_").tile(5);
286  jQuery(".col1_ div.StyleT_Item_ div.img_ div.icon_").tile(5);
287  jQuery(".col1_ div.StyleT_Item_ span.price_pop_").tile(5);
288
289  jQuery(".col1_ div.StyleT_Item_ div.img_").tile(5);
290  jQuery(".col1_ div.StyleT_Item_ div.name_").tile(5);
291  jQuery(".col1_ div.StyleT_Item_ div.price_").tile(5);
292  jQuery(".col1_ div.StyleT_Item_ div.comment_").tile(5);
293  */
294    //--- ‚‚³’²®FƒŒƒRƒƒ“ƒh•\ަ
295    jQuery(idname + "div.StyleW_Item_ div.icon_").tile(5);
296    jQuery(idname + "div.StyleW_Item_ div.img_").tile(5);
297    jQuery(idname + "div.StyleW_Item_ div.name_").tile(5);
298    jQuery(idname + "div.StyleW_Item_ div.price_").tile(5);
299    jQuery(idname + "div.StyleW_Item_ div.comment_").tile(5);
300    jQuery(idname + "div.StyleW_Item_").tile(5);
301    jQuery(idname + "div.StyleW_Item_ div.list_tpoint").tile(5);
302    jQuery(idname + "div.StyleW_Item_ div.list_nitoripoint").tile(5);
303  });
304
305  //‚‚³’²®Fƒpƒ‚ƒEƒi‰Æ‹ï“ÁW
306  /*jQuery("ul.pamouna_furn_list").each(function () {
307    jQuery(this).find("li p.desc_read").tile(2);
308    jQuery(this).find("li .desc_ p.btnlistttl").tile(4);
309    jQuery(this).find("li .desc_").tile(2);
310  });*/
311
312  //Pamouna“ÁWƒy[ƒWƒXƒNƒ[ƒ‹
313  /*
314jQuery('ul.pamouna_navlist a[href^=#]').click(function() {
315  var speed = 400; // ƒ~ƒŠ•b
316  var href= jQuery(this).attr("href");
317  var target = jQuery(href == "#" || href == "" ? 'html' : href);
318  var position = target.offset().top - 1000;
319  jQuery('body,html').animate({scrollTop:position}, speed, 'swing');
320  return false;
321});
322*/
323});
324
325(function ($) {
326  $(function () {
327    $("#mainvisual #slider").imagesLoaded(function () {
328      var firstSlider = $("#mainvisual #slider .mainslider_ ul").bxSlider({
329        auto: true,
330        // slideWidth: 840,
331        pagerCustom: "#bx-pager",
332        minSlides: 3,
333        maxSlides: 3,
334        moveSlides: 1,
335        slideMargin: 0,
336        controls: false,
337        onSliderLoad: function (currentIndex) {
338          $("#mainvisual #slider").fadeTo(200, 1);
339        },
340      });
341      var timer;
342      $("#bx-pager a").click(function () {
343        firstSlider.stopAuto();
344        clearTimeout(timer);
345        timer = setTimeout(function () {
346          firstSlider.startAuto();
347        }, 5000);
348      });
349    });
350
351    var entertimer = false;
352    var leavetimer = false;
353    var closenav = function () {
354      if (leavetimer !== false) {
355        clearTimeout(leavetimer);
356      }
357      leavetimer = setTimeout(function () {
358        var $bg = $(".bg_");
359        $bg.stop(true, true).fadeOut(200, function () {
360          $bg.remove();
361        });
362      }, 100);
363    };
364
365    if (jQuery("#globalnav li").length) {
366      jQuery("#gnavcategory,#gnavbrand,#gnavrecommend").hover(
367        function () {
368          var $this = jQuery(this);
369          sethover = setTimeout(function () {
370            $this.css("background", "#FEF3EE");
371            $this.css("border-bottom", "1px solid #F96D43");
372            $this.children("div").show();
373            if (!$(".bg_")[0]) {
374              $("#header").after('<div class="bg_"></div>');
375              $(".bg_")
376                .stop(true, true)
377                .fadeIn(200, function () {});
378            }
379          }, 150);
380        },
381        function () {
382          var $this = jQuery(this);
383          $this.css("background", "");
384          $this.css("border-bottom", "");
385          $this.children("div").hide();
386          clearTimeout(sethover);
387        }
388      );
389    }
390
391    // $('#globalnav').on('mouseenter', '#gnavcategory,#gnavbrand,#gnavrecommend', function(e) {
392    //     if (entertimer !== false) {
393    //         clearTimeout(entertimer);
394    //     }
395    //     entertimer = setTimeout(function() {
396    //         if (!$('.bg_')[0]) {
397    //             $('#header').after('<div class="bg_"></div>')
398    //             $('.bg_').stop(true, true).fadeIn(200, function() {});
399    //         }
400    //     }, 150);
401    // });
402
403    $("#header").on("mouseleave", "#globalnav", function (e) {
404      closenav();
405    });
406    $("#header").on(
407      "mouseenter",
408      "#globalnav>li,.header_cont_,.bg_",
409      function (e) {
410        if (!$(this).attr("id")) {
411          closenav();
412        }
413      }
414    );
415    if ($("div.cartlist_.order_col1_ div.info_").length) {
416      $("div.back_").css("float", "none").css("margin", "0 auto");
417    }
418    if ($(".etc_goodsimg_item_ .comment_").length) {
419      $(".etc_goodsimg_item_ .comment_:empty").each(function () {
420        $(this).css("visibility", "hidden");
421      });
422    }
423  });
424})(jQuery);
425
426jQuery(document).on("mouseenter", ".slide_body", function () {
427  jQuery(this).parent().parent().addClass("now");
428});
429jQuery(document).on("mouseleave", ".slide_body", function () {
430  jQuery(this).parent().parent().removeClass("now");
431});
432jQuery(document).on("mouseenter", ".bx-controls-direction a", function () {
433  jQuery(this).parent().parent().parent().addClass("now");
434});
435jQuery(document).on("mouseleave", ".bx-controls-direction a", function () {
436  jQuery(this).parent().parent().parent().removeClass("now");
437});
438function chgImg(fileName, img) {
439  if (typeof img == "object") {
440    img.src = fileName;
441  } else {
442    document.images[img].src = fileName;
443  }
444}
445
446function chgImgImageSubmit(fileName, imgObj) {
447  imgObj.src = fileName;
448}
449
450//Pamouna“ÁWƒy[ƒW’²®
451// jQuery(function () {
452  // if (jQuery("#pamouna").length > 0) {
453  //   jQuery("div.mainframe_").css("float", "none");
454  //   jQuery("#footer #footer_pagetop").remove();
455  //   jQuery(".leftmenuframe_").remove();
456  //   jQuery("#footer").before(
457  //     '<div id="footer_pagetop" class="gotop"><a href="#header"><img src="' +
458  //       EC_WWW_ROOT +
459  //       '/img/usr/fb/freepage/pamouna_new/gotop.png" alt="top" /></a></div>'
460  //   );
461  //   jQuery(".pamouna_furn_mv").each(function () {
462  //     jQuery(this).wrap('<div class="pamouna_furn_mv-wrap"></div>');
463  //   });
464  // }
465
466  // //ƒXƒ‰ƒCƒ_[
467  // jQuery("#pamounaSLider ul").bxSlider({
468  //   auto: true,
469  //   mode: "fade",
470  //   pager: false,
471  //   controls: false,
472  //   speed: 3000,
473  //   pause: 1200,
474  // });
475
476  //ƒXƒNƒ[ƒ‹ƒAƒjƒ[ƒVƒ‡ƒ“
477  /*var setElm = jQuery(".pamouna_furn_mv,.pamouna_furn_list li"),
478    delayHeight = 200;
479
480  setElm.css({
481    position: "relative",
482    display: "block",
483    left: "0",
484    opacity: "0",
485  });
486  jQuery("html,body").animate({ scrollTop: 0 }, 1);
487
488  jQuery("#footer_pagetop.gotop").hide();
489
490  // var nav = jQuery("ul.pamouna_navlist").offset();*/
491  // var footer = jQuery("#footer").offset().top - 30 - 55;
492  // var Windowh = jQuery(window).height() - 30 - 55;
493
494   //ƒXƒNƒ[ƒ‹‚̃Aƒjƒ[ƒVƒ‡ƒ“
495//    if(jQuery('.pamouna_furn_mv,.pamouna_furn_list > li').length) {
496//     var setElm = jQuery('.pamouna_furn_mv,.pamouna_furn_list > li'),
497//         delayHeight = 200;
498
499//     setElm.css({ position: 'relative', display: 'block', left: '0', opacity: '0' });
500//     jQuery('html,body').animate({ scrollTop: 0 }, 1);
501//     jQuery(window).on('load scroll resize', function() {
502//         setElm.each(function() {
503//             var setThis = jQuery(this),
504//                 elmTop = setThis.offset().top,
505//                 elmHeight = setThis.height(),
506//                 scrTop = jQuery(window).scrollTop(),
507//                 winHeight = jQuery(window).height();
508//             if (scrTop > elmTop - winHeight + delayHeight) {
509//                 setThis.stop().animate({ left: '0', top: '-10px', opacity: '1' }, 200),
510//                     setThis.addClass('spread');
511//             } else if (scrTop < elmTop - winHeight + delayHeight) {
512//                 setThis.stop().animate({ left: '0', top: '0', opacity: '0' }, 200),
513//                     setThis.removeClass('spread');
514//             }
515//         });
516//         if (jQuery('.btnlistttl').length) {
517//             jQuery('.btnlistttl').tile(2);
518//             jQuery('ul.pamouna_furn_list li .btnlist-wrap').find('p.btnlistttl').tile(2);
519//         }
520//     });
521// }
522
523  // if (jQuery("#fixedbanner").length === 1) {
524  //   jQuery("#pamouna ul.pamouna_navlist").css("top", 0 + "px");
525  // } else {
526  //   jQuery("#pamouna ul.pamouna_navlist").css("top", 65 + "px");
527  // }
528
529  // jQuery(window).scroll(function () {
530  //   var now = jQuery(window).scrollTop();
531
532  //   if (jQuery("ul.pamouna_navlist").length > 0) {
533  //     if (jQuery("#fixedbanner").length === 1) {
534  //       if (nav.top <= now) {
535  //         jQuery("ul.pamouna_navlist").addClass("fix");
536  //       } else {
537  //         jQuery("ul.pamouna_navlist").removeClass("fix");
538  //       }
539  //     } else {
540  //       if (nav.top + 405 <= now) {
541  //         jQuery("ul.pamouna_navlist").addClass("fix");
542  //       } else {
543  //         jQuery("ul.pamouna_navlist").removeClass("fix");
544  //       }
545  //     }
546  //   }
547
548  //   if (footer <= Windowh + now) {
549  //     jQuery("#footer_pagetop.gotop").addClass("nofix");
550  //   } else {
551  //     jQuery("#footer_pagetop.gotop").removeClass("nofix");
552  //   }
553  //   var TargetPos = 300;
554  //   var ScrollPos = jQuery(window).scrollTop();
555  //   if (ScrollPos >= TargetPos) {
556  //     jQuery("#footer_pagetop.gotop").fadeIn("slow");
557  //   } else {
558  //     jQuery("#footer_pagetop.gotop").fadeOut("slow");
559  //   }
560
561    //ƒXƒNƒ[ƒ‹ƒAƒjƒ[ƒVƒ‡ƒ“
562    /*.each(function () {
563      var setThis = jQuery(this),
564        elmTop = setThis.offset().top,
565        elmHeight = setThis.height(),
566        scrTop = jQuery(window).scrollTop(),
567        winHeight = jQuery(window).height();
568      if (scrTop > elmTop - winHeight + delayHeight) {
569        setThis.stop().animate({ left: "0", top: "-10px", opacity: "1" }, 500),
570          setThis.addClass("spread");
571      } else if (scrTop < elmTop - winHeight + delayHeight) {
572        setThis.stop().animate({ left: "0", top: "0", opacity: "0" }, 500),
573          setThis.removeClass("spread");
574      }
575    });*/
576//   });
577// });
578jQuery(window).load(function () {
579  //¤•iÚ×‚‚³’²®
580  jQuery(".goods_column2 h3").tile(2);
581  jQuery(".goods_column2 .goods_img").tile(2);
582  if (jQuery("div.toggle_box_auto_ h2").is(":contains('‹@”\')")) {
583    jQuery("div.toggle_box_auto_ h2").parent().eq(1).addClass("kinou_");
584    jQuery(".kinou_ a.goods_col3").tile(3);
585    jQuery(".kinou_ h3").tile(3);
586    jQuery(".kinou_ .goods_img").wrap(
587      '<div class="inner_"><div class="innerIn_"></div></div>'
588    );
589    jQuery(".kinou_ a.swipe div.inner_")
590      .tile(3)
591      .css({ display: "table-cell", "vertical-align": "middle" });
592    jQuery(".kinou_ a.swipe div.inner_ div.innerIn_").css({
593      position: "relative",
594    });
595  }
596  if (jQuery("div.toggle_box_auto_ h2").is(":contains('‘fÞEƒTƒCƒYEÚ×')")) {
597    jQuery("div.toggle_box_auto_ h2").parent().eq(2).addClass("size-detail_");
598    jQuery(".size-detail_ a.goods_col3").tile(3);
599    jQuery(".size-detail_ .goods_column3 h3").tile(3);
600    jQuery(".size-detail_ .goods_column3 .goods_img").wrap(
601      '<div class="inner_"><div class="innerIn_"></div></div>'
602    );
603    jQuery(".size-detail_ .goods_column3 a.swipe div.inner_")
604      .tile(3)
605      .css({ display: "table-cell", "vertical-align": "middle" });
606    jQuery(".size-detail_ .goods_column3 a.swipe div.inner_ div.innerIn_").css({
607      position: "relative",
608    });
609  }
610  jQuery(".CategoryStyleP_Item_ h3").tile(5);
611  //“Á’胊ƒ“ƒN‚ª•t‚¢‚½Žž‚ÉŽ©“®ƒXƒNƒ[ƒ‹
612  if (~location.search.indexOf("?productDirectLINK")) {
613    if (jQuery(".autopagerize_page_element").length > 0) {
614      var headerHightAuto = jQuery(".gnav_wrap_").outerHeight() + 140;
615      var p =
616        jQuery(".autopagerize_page_element").eq(0).offset().top -
617        headerHightAuto;
618      jQuery("html,body").animate({ scrollTop: p }, "slow");
619      return false;
620    }
621  } else if (~location.search.indexOf("?productkumitateDirectLINK")) {
622    var headerHightAuto = jQuery(".gnav_wrap_").outerHeight() + 420;
623    var p =
624      jQuery(".autopagerize_page_element").eq(0).offset().top - headerHightAuto;
625    jQuery("html,body").animate({ scrollTop: p }, "slow");
626    return false;
627  }
628});
629
630//Å‹ßŒ©‚½¤•iˆÚ“®
631//jQuery(window).load(function() {
632//if(jQuery('#block_of_itemhistory .goods_').length){
633//    jQuery('#block_of_itemhistory').insertAfter(jQuery('#block_of_top_slide_A'));
634//    //jQuery('#block_of_itemhistory').addClass('move');
635//}
636//});
637
638// ƒTƒCƒhƒiƒrFƒAƒR[ƒfƒBƒIƒ“
639jQuery(function () {
640  if (jQuery("#side").length) {
641    var spd = 0;
642    jQuery("#side .navBox_ h3").click(function () {
643      jQuery(this).toggleClass("open_");
644      jQuery(this).next("ul").slideToggle(spd);
645    });
646    jQuery("#side .ac_ span").click(function () {
647      jQuery(this).parents("li").toggleClass("open_");
648      jQuery(this).parent(".ac_").next("ul").slideToggle(spd);
649    });
650  }
651});
652
653// ‚²—˜—pƒKƒCƒhFƒAƒR[ƒfƒBƒIƒ“
654jQuery(function () {
655  if (jQuery("#guide_new").length) {
656    var spd = 150;
657    jQuery(".columnBox_ .ac_ a").click(function () {
658      jQuery(this).parents("li").toggleClass("open_");
659      jQuery(this).parent(".ac_").next("ul").slideToggle(spd);
660    });
661    jQuery(".columnBox_ .ac_ span").click(function () {
662      jQuery(this).parents("li").toggleClass("open_");
663      jQuery(this).parent(".ac_").next("ul").slideToggle(spd);
664    });
665  }
666});
667
668// ‚²—˜—pƒKƒCƒhFƒAƒ“ƒJ[ƒŠƒ“ƒN
669/*jQuery(function() {
670jQuery('div.AnchorMenu_ a[href^=#]').click(function() {
671  event.preventDefault();
672  jQuery('html,body').animate({ scrollTop:jQuery(this.hash).offset().top }, "fast");
673});
674});*/
675jQuery(function () {
676  if (jQuery("a.is-modal-postage").length) {
677    jQuery("a.is-modal-postage").click(function () {
678      jQuery("#modal-postage,#modal-overlay").show();
679    });
680    jQuery("#modal-overlay")
681      .unbind()
682      .click(function () {
683        jQuery("#modal-postage,#modal-overlay").fadeOut("fast", function () {
684          jQuery("#modal-overlay").hide();
685        });
686      });
687  }
688});
689
690/* 2019.10.28 [yuogawa] “y“új‘——¿‘Ήž ‘——¿ãŒÀ‚̃Jƒ“ƒ}•\ަ */
691///* ƒJ[ƒg‰æ–ʁFƒJƒ“ƒ}‘Ήž */
692//jQuery(function () {
693//    if (jQuery('table.cartlist_total .note_ span.red_').length) {
694//        var defoPrice = jQuery('table.cartlist_total .note_ span.red_').html();
695//        defoPrice = defoPrice.replace(/[^0-9]/g, "");
696//        var henPrice = parseInt(defoPrice, 10);
697//        henPrice = String(henPrice).replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,');
698//        jQuery('table.cartlist_total .note_ span.red_').html('ãŒÀ‚Í' + henPrice + '‰~');
699//    }
700//});
701jQuery(function () {
702  if (jQuery("table.cartlist_total .note_ span.red_").length) {
703    var defoPrice_weekdays = jQuery(".upperlimitweekdays").html();
704    var defoPrice_holidays = jQuery(".upperlimitholidays").html();
705    defoPrice_weekdays = defoPrice_weekdays.replace(/[^0-9]/g, "");
706    defoPrice_holidays = defoPrice_holidays.replace(/[^0-9]/g, "");
707    var henPrice_weekdays = parseInt(defoPrice_weekdays, 10);
708    var henPrice_holidays = parseInt(defoPrice_holidays, 10);
709    henPrice_weekdays = String(henPrice_weekdays).replace(
710      /(\d)(?=(\d\d\d)+(?!\d))/g,
711      "$1,"
712    );
713    henPrice_holidays = String(henPrice_holidays).replace(
714      /(\d)(?=(\d\d\d)+(?!\d))/g,
715      "$1,"
716    );
717    jQuery(".upperlimitweekdays").html("•½“ú" + henPrice_weekdays + "‰~");
718    jQuery(".upperlimitholidays").html("“y“új“ú" + henPrice_holidays + "‰~");
719  }
720});
721
722/* ¡2019.04.24 */
723/* Žæˆµ“X•܃‚[ƒ_ƒ‹•\ަ */
724(function ($) {
725  // ƒ^ƒuØ‚è‘Ö‚¦ƒ‚ƒWƒ…[ƒ‹
726  var tabChange = function (targetTab, targetBlock) {
727    // ƒ^ƒu‚̏€”õ
728    $(targetTab).click(function (e) {
729      var i = $(targetTab).index(this);
730      $(targetBlock).removeClass("active");
731      $(targetTab).removeClass("active");
732      $(targetBlock).eq(i).addClass("active");
733      $(this).addClass("active");
734    });
735    jQuery(window).load(function () {
736      jQuery(targetBlock).each(function (i, e) {
737        if (jQuery(this).children("li").length > 4) {
738          $(this).after("<div class='tabBlock_more is_close'>‚à‚Á‚ÆŒ©‚é</div>");
739        }
740      });
741    });
742  };
743  /* ¡2021.03.09 ‚à‚Á‚ÆŒ©‚éƒ{ƒ^ƒ“’ljÁ*/
744
745  // ‚à‚Á‚ÆŒ©‚éƒ{ƒ^ƒ“‚Ì‹@”\
746  jQuery(window).load(function () {
747    setTimeout(function () {
748      $(".tabBlock_more").click(function () {
749        if ($(this).hasClass("is_close")) {
750          // ƒ{ƒ^ƒ“‚Éis_closeƒNƒ‰ƒX‚ª‚ ‚éê‡
751          $(this).addClass("is_show").removeClass("is_close");
752          $(this)
753            .prev()
754            .children("li:nth-of-type(n+5)")
755            .css("display", "inline-block");
756          $(this).text("‚Æ‚¶‚é");
757          console.log("open");
758          return false;
759        } else if ($(this).hasClass("is_show")) {
760          // ƒ{ƒ^ƒ“‚Éis_showƒNƒ‰ƒX‚ª‚ ‚éê‡
761          $(this).addClass("is_close").removeClass("is_show");
762          console.log("close");
763          $(this).prev().children("li:nth-of-type(n+5)").css("display", "none");
764          $(this).text("‚à‚Á‚ÆŒ©‚é");
765          return false;
766        }
767      });
768    }, 500);
769  });
770
771  $(function () {
772    $(".js-shopCheckModal-open, .js-shopCheckModal").click(function (e) {
773      $(".js-shopCheckModal").toggleClass("active");
774      // ŠJ‚¢‚½Žž“_‚̍‚‚³‚É•\ަ‚³‚¹‚é
775      var wid = $(".shopCheckModal").width();
776      var shopPos = $(".shopCheckModal").offset();
777      var sc = $(document).scrollTop();
778      // $('.shopCheckModal, .closeBtn').css('margin-top', sc + 'px')
779      $("body").toggleClass("js-hidden");
780      // x‚Í”÷’²®
781      var x = 30;
782      $(".closeBtn").css("left", shopPos.left + wid + x + "px");
783    });
784    // ‘I‘ðƒ{ƒ^ƒ“ƒNƒŠƒbƒNŒã ”wŒiŒÅ’è‰ðœ
785    $(" .selectShopBtn").click(function () {
786      $("body").removeClass("js-hidden");
787    });
788
789    $(".js-stopProp").click(function (e) {
790      // ƒRƒ“ƒeƒ“ƒc‚Ì’†‚̃NƒŠƒbƒN‚ł͕‚¶‚³‚¹‚È‚¢
791      e.stopPropagation();
792    });
793    tabChange(".js-tabModalBtn", ".js-tabBlock");
794    tabChange(".js-tabModalBtn2", ".js-tabBlock2");
795
796    $(".js-acord").click(function () {
797      $(this).toggleClass(".is-open");
798      $(this).next(".js-acord-target").stop().slideToggle();
799    });
800  });
801})(jQuery);
802// ZŠ2—“‚É“ü—͉”\‚È•¶Žš”‚ðŽæ“¾ 2019/8/9
803function countChar() {
804  var count = 40;
805  var enterable = "";
806  // “s“¹•{Œ§—“‚Ì•¶Žš”‚ðŽæ“¾
807  var prefCount = jQuery("#pref").val().length;
808
809  // ZŠiŽs‹æ’¬‘º–¼j—“‚Ì•¶Žš”‚ðŽæ“¾
810  var addrCount = jQuery("#addr").val().length;
811
812  // “ü—͉”\‰Â”\•¶Žš”‚ð•\ަ
813  count = count - (prefCount + addrCount);
814  enterable = "y‘SŠp" + count + "•¶ŽšˆÈ“àz";
815  jQuery("#enterable_char").text(enterable);
816
817  // ZŠ2—“‚Ö‚Ì“ü—͉”\•¶Žš”‚ð“®“I‚ɕύX
818  //jQuery("#addr2").attr("maxlength", count);
819
820  // ƒGƒ‰[•\ަ—p‚É“ü—͉”\•¶Žš”‚ðŽæ“¾
821  jQuery('input[name="addr2_maxnum"]').val(count);
822}
823
824// ATOJ_SHIMAHONET-169
825jQuery(function () {
826  jQuery(document).ready(function () {
827    // ƒjƒgƒŠƒ|ƒCƒ“ƒg‚݂̂̏ꍇ
828    if (!jQuery('input[name="welcome_T"]').val()) {
829      jQuery('p.welcome_T').closest('tr.logo').hide()
830    }
831    // Tƒ|ƒCƒ“ƒg‚݂̂̏ꍇ
832    if (!jQuery('input[name="welcome_Nitori"]').val()) {
833      jQuery('p.welcome_Nitori').closest('tr.logo').hide()
834    }
835  });
836});
837// /ATOJ_SHIMAHONET-169
838
839/* ¡2019.08.21 */
840function enableUsePointCheck(p, tp) {
841  var point = Number(p);
842  var target_price = Number(tp);
843  var usepoint = jQuery("#pointpay_num").val();
844  var usepointmax = 0;
845  
846  jQuery('.tpoint_err_msg1').css('display', 'none');
847  jQuery('.tpoint_err_msg2').css('display', 'none');
848  
849  if (point <= target_price) {
850    usepointmax = point;
851    if (usepointmax < usepoint) {
852      jQuery("#pointpay_num").val(usepointmax);
853      jQuery(".tpoint_err_msg1").css("display", "block");
854    } else {
855      jQuery(".tpoint_err_msg1").css("display", "none");
856    }
857  } else {
858    usepointmax = target_price;
859    if (usepointmax < usepoint) {
860      jQuery("#pointpay_num").val(usepointmax);
861      jQuery(".tpoint_err_msg2").css("display", "block");
862    } else {
863      jQuery(".tpoint_err_msg2").css("display", "none");
864    }
865  }
866  
867}
868
869function enableUseNitoriNetPointCheck(p, tp) {
870    var point = Number(p);
871    var target_price = Number(tp);
872    var usepoint = jQuery('#nitori_net_pointpay_num').val();
873    var usepointmax = 0;
874
875    jQuery('.nitori_net_point_err_msg1').css('display', 'none');
876    jQuery('.nitori_net_point_err_msg2').css('display', 'none');
877
878    if (point <= target_price) {
879        usepointmax = point;
880        if (usepointmax < usepoint) {
881            jQuery('#nitori_net_pointpay_num').val(usepointmax);
882            jQuery('.nitori_net_point_err_msg1').css('display', 'block');
883        } else {
884            jQuery('.nitori_net_point_err_msg1').css('display', 'none');
885        }
886    }
887    else {
888        usepointmax = target_price;
889        if (usepointmax < usepoint) {
890            jQuery('#nitori_net_pointpay_num').val(usepointmax);
891            jQuery('.nitori_net_point_err_msg2').css('display', 'block');
892        } else {
893            jQuery('.nitori_net_point_err_msg2').css('display', 'none');
894        }
895    }
896}
897
898/* ¡2019.11.07 */
899function guestCountChar(frame) {
900  var count = 40;
901  var enterable = "";
902  var pref_id = "#" + frame + "_pref";
903  var addr_id = "#" + frame + "_addr";
904  var addr2_id = "#" + frame + "_addr2";
905  var enterable_char_id = "#" + frame + "_enterable_char";
906  // “s“¹•{Œ§—“‚Ì•¶Žš”‚ðŽæ“¾
907  if (jQuery(pref_id)[0]) {
908    var prefCount = jQuery(pref_id).val().length;
909  }
910  // ZŠiŽs‹æ’¬‘º–¼j—“‚Ì•¶Žš”‚ðŽæ“¾
911  if (jQuery(addr_id)[0]) {
912    var addrCount = jQuery(addr_id).val().length;
913  }
914  // “ü—͉”\‰Â”\•¶Žš”‚ð•\ަ
915  count = count - (prefCount + addrCount);
916  enterable = "y‘SŠp" + count + "•¶ŽšˆÈ“àz";
917  jQuery(enterable_char_id).text(enterable);
918
919  // ZŠ2—“‚Ö‚Ì“ü—͉”\•¶Žš”‚ð“®“I‚ɕύX
920  //jQuery(addr2_id).attr("maxlength", count);
921
922  // ƒGƒ‰[•\ަ—p‚É“ü—͉”\•¶Žš”‚ðŽæ“¾
923  jQuery('input[name="' + frame + '_addr2_maxnum"]').val(count);
924}
925
926// 2020/09/15
927// webp‰æ‘œ‚ɏ‘‚«Š·‚¦—p
928jQuery(document).ready(function () {
929  // webp”»’è
930  var Webp_flag = false;
931  jQuery(".img_L_inner_")
932    .find(".info")
933    .each(function (i, e) {
934      var webp_img = jQuery(this).find("picture img")[0].currentSrc;
935      if (webp_img != null) {
936        Webp_flag = true;
937      }
938    });
939  // lightbox—p‚Ìaƒ^ƒO‚Ìhref‘‚«Š·‚¦js
940  jQuery(".img_L_inner_")
941    .find(".info")
942    .each(function (i, e) {
943      var webp_img = jQuery(this).find("source").attr("srcset");
944      var img_src = "";
945      if (Webp_flag) {
946        img_src = webp_img;
947      } else {
948        var img_not_extension = jQuery(this)
949          .find("source")
950          .attr("srcset")
951          .substr(
952            0,
953            jQuery(this).find("source").attr("srcset").lastIndexOf(".")
954          );
955        img_src = img_not_extension + ".jpg";
956      }
957
958      jQuery(this).attr("href", img_src);
959    });
960});
961
962jQuery(function () {
963  jQuery('label[for="estimate_agree"] #estimate_agree').on(
964    "click",
965    function () {
966      if (false == jQuery(this).prop("checked")) {
967        jQuery("#order_purchase").prop("disabled", true);
968        // jQuery('#order_purchase').attr('src', jQuery('#order_purchase').attr('src').replace('_b', '_p'));
969        jQuery("#overlay_button").addClass("passive_");
970      } else {
971        jQuery("#order_purchase").prop("disabled", false);
972        // jQuery('#order_purchase').attr('src', jQuery('#order_purchase').attr('src').replace('_p', '_b'));
973        jQuery("#overlay_button").removeClass("passive_");
974      }
975    }
976  );
977  jQuery("#checkOrderPurchase #order_purchase").on("click", function () {
978    if (false == jQuery('input[name="estimate_agree"]').prop("checked")) {
979      alert("‹K–ñ‚É“¯ˆÓ‚µ‚Ä‚­‚¾‚³‚¢B");
980      jQuery(this).off("submit");
981      jQuery(this).submit();
982    }
983  });
984});
985// tile.js tabBlock li‚‚³‘µ‚¦
986jQuery(function () {
987  jQuery("ul.tabBlock.active li").tile(2);
988});
989//ATOJ_SHIMAHONET-215
990document.addEventListener('DOMContentLoaded', function(){
991  // Œ³‚Ì<input>—v‘f‚Ìvalue‚ðŽæ“¾
992  const originalInputElement = jQuery('#search_keyword');
993  const newInputElement = jQuery('#keyword');
994  if (originalInputElement.length && newInputElement.length) {
995    // Œ³‚Ì<input>—v‘f‚©‚ç’l‚ðŽæ“¾
996    const valueToSet = originalInputElement.val();
997    // V‚µ‚¢<input>—v‘f‚É’l‚ðƒZƒbƒg
998    newInputElement.val(valueToSet);
999  } else {
1000    console.log('Žw’肳‚ꂽ<input>—v‘f‚ªŒ©‚‚©‚è‚Ü‚¹‚ñ');
1001  }
1002});

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.