vendor: 4,502 bytes, lines 1-18
1/* ---------------------------------------------------------------------- 2 object-fitç»åã®ãµã¤ãºã調æ´ããjs 3---------------------------------------------------------------------- */ 4/*! npm.im/object-fit-images 3.2.4 */ 5var objectFitImages = function () { "use strict"; function t(t, e) { return "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='" + t + "' height='" + e + "'%3E%3C/svg%3E" } function e(t) { if (t.srcset && !p && window.picturefill) { var e = window.picturefill._; t[e.ns] && t[e.ns].evaled || e.fillImg(t, { reselect: !0 }), t[e.ns].curSrc || (t[e.ns].supported = !1, e.fillImg(t, { reselect: !0 })), t.currentSrc = t[e.ns].curSrc || t.src } } function i(t) { for (var e, i = getComputedStyle(t).fontFamily, r = {}; null !== (e = u.exec(i));)r[e[1]] = e[2]; return r } function r(e, i, r) { var n = t(i || 1, r || 0); b.call(e, "src") !== n && h.call(e, "src", n) } function n(t, e) { t.naturalWidth ? e(t) : setTimeout(n, 100, t, e) } function c(t) { var c = i(t), o = t[l]; if (c["object-fit"] = c["object-fit"] || "fill", !o.img) { if ("fill" === c["object-fit"]) return; if (!o.skipTest && f && !c["object-position"]) return } if (!o.img) { o.img = new Image(t.width, t.height), o.img.srcset = b.call(t, "data-ofi-srcset") || t.srcset, o.img.src = b.call(t, "data-ofi-src") || t.src, h.call(t, "data-ofi-src", t.src), t.srcset && h.call(t, "data-ofi-srcset", t.srcset), r(t, t.naturalWidth || t.width, t.naturalHeight || t.height), t.srcset && (t.srcset = ""); try { s(t) } catch (t) { window.console && console.warn("https://bit.ly/ofi-old-browser") } } e(o.img), t.style.backgroundImage = 'url("' + (o.img.currentSrc || o.img.src).replace(/"/g, '\\"') + '")', t.style.backgroundPosition = c["object-position"] || "center", t.style.backgroundRepeat = "no-repeat", t.style.backgroundOrigin = "content-box", /scale-down/.test(c["object-fit"]) ? n(o.img, function () { o.img.naturalWidth > t.width || o.img.naturalHeight > t.height ? t.style.backgroundSize = "contain" : t.style.backgroundSize = "auto" }) : t.style.backgroundSize = c["object-fit"].replace("none", "auto").replace("fill", "100% 100%"), n(o.img, function (e) { r(t, e.naturalWidth, e.naturalHeight) }) } function s(t) { var e = { get: function (e) { return t[l].img[e ? e : "src"] }, set: function (e, i) { return t[l].img[i ? i : "src"] = e, h.call(t, "data-ofi-" + i, e), c(t), e } }; Object.defineProperty(t, "src", e), Object.defineProperty(t, "currentSrc", { get: function () { return e.get("currentSrc") } }), Object.defineProperty(t, "srcset", { get: function () { return e.get("srcset") }, set: function (t) { return e.set(t, "srcset") } }) } function o() { function t(t, e) { return t[l] && t[l].img && ("src" === e || "srcset" === e) ? t[l].img : t } d || (HTMLImageElement.prototype.getAttribute = function (e) { return b.call(t(this, e), e) }, HTMLImageElement.prototype.setAttribute = function (e, i) { return h.call(t(this, e), e, String(i)) }) } function a(t, e) { var i = !y && !t; if (e = e || {}, t = t || "img", d && !e.skipTest || !m) return !1; "img" === t ? t = document.getElementsByTagName("img") : "string" == typeof t ? t = document.querySelectorAll(t) : "length" in t || (t = [t]); for (var r = 0; r < t.length; r++)t[r][l] = t[r][l] || { skipTest: e.skipTest }, c(t[r]); i && (document.body.addEventListener("load", function (t) { "IMG" === t.target.tagName && a(t.target, { skipTest: e.skipTest }) }, !0), y = !0, t = "img"), e.watchMQ && window.addEventListener("resize", a.bind(null, t, { skipTest: e.skipTest })) } var l = "fregante:object-fit-images", u = /(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g, g = "undefined" == typeof Image ? { style: { "object-position": 1 } } : new Image, f = "object-fit" in g.style, d = "object-position" in g.style, m = "background-size" in g.style, p = "string" == typeof g.currentSrc, b = g.getAttribute, h = g.setAttribute, y = !1; return a.supportsObjectFit = f, a.supportsObjectPosition = d, o(), a }(); 6 7$(function () { 8 objectFitImages(); 9}); 10/* ---------------------------------------------------------------------- 11ã«ãã´ãªã¼ã®ç·¨éç»é¢ã§ç»åãã¢ãããã¼ãã§ããããã«ãã 12---------------------------------------------------------------------- */ 13(function ($) { 14 $(function () { 15 $('#upload_image_button').click(function () { 16 formfield = $('#upload_image').attr('name'); 17 tb_show('', 'media-upload.php?type=image&post_id=&TB_iframe=true'); 18 return false;
19 }); 20 window.send_to_editor = function (html) { 21 imgurl = $('img', html).attr('src'); 22 $('#upload_image').val(imgurl); 23 tb_remove(); 24 } 25 }); 26})(jQuery); 27/* ---------------------------------------------------------------------- 28ãSPç»é¢å¯¾çãç»é¢é«ãã®åå¾ããtop_fvã«ä»ä¸ 29---------------------------------------------------------------------- */ 30$(document).ready(function(){ 31 var hSize = $(window).height(); 32 $('.top_page , .sp_navi').height(hSize); // ã¢ãã¬ã¹ãã¼ãé¤ãããµã¤ãºãä»ä¸ 33 }); 34 $(window).resize(function(){ // ãã¼ã¸ããªãµã¤ãºããæã®å¦ç 35 var hSize = $(window).height(); 36 $('.top_page , .sp_navi').height(hSize); // ã¢ãã¬ã¹ãã¼ãé¤ãããµã¤ãºãä»ä¸ 37 }); 38/* ---------------------------------------------------------------------- 39ãã³ãã¬ã¼ã¡ãã¥ã¼ã®åã 40---------------------------------------------------------------------- */ 41$(function(){ 42 $(".ham_btn").on("click",function(){ 43 $(this).toggleClass("top_hdr_ham_btn_move"); 44 $(".sp_navi").toggleClass("top_hdr_sp_navi_move"); 45 }) 46}) 47$(document).on('click',function(e) { 48 if(!$(e.target).closest('.sp_navi , .ham_btn').length) { 49 // ã¿ã¼ã²ããè¦ç´ ã®å¤å´ãã¯ãªãã¯ããæã®æä½ 50 $(".sp_navi").removeClass("top_hdr_sp_navi_move"); 51 $(".ham_btn").removeClass("top_hdr_ham_btn_move"); 52 $(".screen_all").css({display: "none"}); 53 } else { 54 // ã¿ã¼ã²ããè¦ç´ ãã¯ãªãã¯ããæã®æä½ 55 } 56}); 57/* ---------------------------------------------------------------------- 58 ãã³ãã¬ã¼ã¡ãã¥ã¼ãéä¸ããé»ããªã 59---------------------------------------------------------------------- */ 60$(window).scroll(function () { 61 if($(window).scrollTop() > 600) { 62 $('.ham_btn').addClass('ham_btn_scroll_move'); 63 } else { 64 $('.ham_btn').removeClass('ham_btn_scroll_move'); 65 } 66}); 67/* ---------------------------------------------------------------------- 68 ãµã¤ããã¼ã«ãã´ãªã¼ã®ãã«ãã¦ã³ã®åã 69---------------------------------------------------------------------- */ 70$(function () { 71 const down = $("<div>").text("").addClass("down_box"); 72 $('.sidebar ul li ul li').parent().before(down); 73 $(".sidebar .down_box").on("click", function () { 74 $(this).next("ul").slideToggle(); 75 }); 76}); 77/* ---------------------------------------------------------------------- 78 ããã¹ãã¢ãã¡ã¼ã·ã§ã³ ï¼è¦ç´ ãåºç¾ãããï¼ 79---------------------------------------------------------------------- */ 80// 0.7ç§ 81$(window).on('scroll', function () { 82 83 var text_in_07s = $('.text_in_07s'); 84 var isAnimate = 'isAnimate'; 85 86 text_in_07s.each(function () { 87 88 var text_in_07sOffset = $(this).offset().top; 89 var scrollPos = $(window).scrollTop(); 90 var wh = $(window).height(); 91 92 if (scrollPos > text_in_07sOffset - wh + (wh / 5)) { 93 $(this).addClass(isAnimate); 94 } 95 }); 96 97}); 98// 1ç§ 99$(window).on('scroll', function () { 100 101 var text_in_1s = $('.text_in_1s'); 102 var isAnimate = 'isAnimate'; 103 104 text_in_1s.each(function () { 105 106 var text_in_1sOffset = $(this).offset().top; 107 var scrollPos = $(window).scrollTop(); 108 var wh = $(window).height(); 109 110 if (scrollPos > text_in_1sOffset - wh + (wh / 5)) { 111 $(this).addClass(isAnimate); 112 } 113 }); 114 115}); 116/* ---------------------------------------------------------------------- 117 ãã¼ã¿ãèªã¿è¾¼ã¾ããã 118---------------------------------------------------------------------- */ 119window.onload = function () { 120 // ãã¼ãã£ã³ã°ã¢ãã¡ã¼ã·ã§ã³ 121 const spinner = document.getElementById('loading'); 122 spinner.classList.add('loaded'); 123 setTimeout(function () {//ãã¼ãã£ã³ã°ãçµãã£ã¦ãã1.4ç§å¾ 124 $("main").css({ opacity: "1" }); 125 }, 500); 126 // ããã¹ããªã©ã®fade_up 127 setTimeout(function () {//ãã¼ãã£ã³ã°ãçµãã£ã¦ãã1.8ç§å¾ 128 $(".fade_up_5s,.fade_up_10s,.fade_up_15s,.fade_up_18s,.fade_up_20s").addClass("isAnimate_02"); 129 }, 800); 130 131}; 132/* ---------------------------------------------------------------------- 133 ãããã質å 134---------------------------------------------------------------------- */ 135$(function () { 136 $(".q-a_no_002 .conts dt").on("click", function () { 137 $(this).toggleClass("q-a_no_002_move"); 138 $("+dd", this).slideToggle(); 139 }); 140}); 141/* ---------------------------------------------------------------------- 142 ãããã«æ»ããã¿ã³ 143---------------------------------------------------------------------- */ 144$(function () { 145 $("#return_top").on("click", function () { 146 $('html, body').animate({ scrollTop: 0 }, 1500); 147 }); 148}); 149$(function () { 150 $(window).scroll(function () { 151 var doch = $(document).innerHeight(); //ãã¼ã¸å ¨ä½ã®é«ã 152 if ($(this).scrollTop() > 1000) { //600pxã¹ã¯ãã¼ã«ããã表示 153 $("#return_top").addClass("return_top_move"); 154 } else { 155 $("#return_top").removeClass("return_top_move"); 156 } 157 }); 158}); 159/* ---------------------------------------------------------------------- 160 SPã¹ã¯ãã¼ã«ãã¦ãã¤ãã¦ãããããã¿ã¼ã¢ã¯ã·ã§ã³ãã¿ã³ 161---------------------------------------------------------------------- */ 162$(function () { 163 $(window).scroll(function () { 164 var doch = $(document).innerHeight(); //ãã¼ã¸å ¨ä½ã®é«ã 165 if ($(this).scrollTop() > 600) { //600pxã¹ã¯ãã¼ã«ããã表示 166 $(".action_ftr_sp_001").addClass("action_ftr_sp_001_move"); 167 } else { 168 $(".action_ftr_sp_001").removeClass("action_ftr_sp_001_move"); 169 } 170 }); 171}); 172/* ---------------------------------------------------------------------- 173 ãã¤ãã³ãæ¶ã 174---------------------------------------------------------------------- */ 175$(function () { 176 var $slack = $(" #slack").text(); 177 var result = $slack.replace("-", " "); 178 $("#slack").text(result); 179}); 180 181 182/* ---------------------------------------------------------------------- 183ã¿ã°åãæ¿ãã¢ã¼ã«ã¤ã 184---------------------------------------------------------------------- */ 185$(document).ready(function () { 186 /** 187 * @param items 1ãã¼ã¸ãããã®æå¤§è¡¨ç¤ºæ°ï¼çç¥æã®åæå¤ã¯ 5 ï¼ 188 * @param contents ã¿ãã³ã³ãã³ãã®ã¯ã©ã¹åï¼çç¥æã®åæå¤ã¯ 'contents' ï¼
189 * @param time ãã¼ã¸åãæ¿ãæã®ãã§ã¼ãã¤ã³æéï¼çç¥æã®åæå¤ã¯ 800 ï¼ 190 * @param previous åã®ãã¼ã¸ã«1ã¤æ»ãããã²ã¼ã·ã§ã³ã®ããã¹ãï¼çç¥æã®åæå¤ã¯ 'Previous»' ï¼ 191 * @param next 次ã®ãã¼ã¸ã«1ã¤é²ãããã²ã¼ã·ã§ã³ã®ããã¹ãï¼çç¥æã®åæå¤ã¯ '«Next' ï¼ 192 * @param start åæãã¼ãæã®ã¿ãéå§ä½ç½®ï¼çç¥æã®åæå¤ã¯ 1 ï¼ 193 * @param position ãã¼ã¸ããã²ã¼ã·ã§ã³ã®è¡¨ç¤ºä½ç½®ï¼ 'top' ã¾ã㯠'bottom' ãæå®å¯è½ã§çç¥æã®åæå¤ã¯ 'bottom' ï¼ 194 * @param scroll ã¹ã¯ãã¼ã«ä½ç½®ãä¿æï¼ true ã¾ã㯠false ãæå®å¯è½ã§çç¥æã®åæå¤ã¯ true ï¼ 195 */ 196 $("#tab").tabpager({ 197 items: 6, 198 contents: 'contents', 199 //time: 300, 200 previous: '<i class="fas fa-chevron-left"></i>', 201 next: '<i class="fas fa-chevron-right"></i>', 202 //start: 1, 203 position: 'bottom', 204 //scroll: true 205 }); 206}); 207 208/* ---------------------------------------------------------------------- 209ååæ¡å ããã£ã¨è¦ããã¿ã³ 210---------------------------------------------------------------------- */ 211const defaultDispCnt = 15; // åæè¡¨ç¤ºä»¶æ° 212const addDispCnt = 3; // 追å è¡¨ç¤ºä»¶æ° 213 214(function ($) { 215 $(function () { 216 let maxDispCnt = 0; // æå¤§è¡¨ç¤ºä»¶æ° 217 let currentDispCnt = 0; // ç¾å¨ã®è¡¨ç¤ºä»¶æ° 218 let in_cont_01 = $('#in_cont_01').children('.item'); // ä¸è¦§ã®liåè¦ç´ ããã¹ã¦åå¾ 219 // ä¸è¦§ã®åæè¡¨ç¤º 220 $(in_cont_01).each(function (i, elem) { 221 // åæè¡¨ç¤ºä»¶æ°ã®ã¿è¡¨ç¤º 222 if (i < defaultDispCnt) { 223 $(this).show(); 224 currentDispCnt++; 225 } 226 maxDispCnt++; 227 // ãã£ã¨è¦ããã¿ã³ã表示 228 let displayed = 0; 229 if (maxDispCnt > currentDispCnt && !displayed) { 230 $('.readMoreBtn_01').show(); 231 displayed = 1; 232 } 233 }); 234 // ãã£ã¨è¦ããã¿ã³ã¯ãªãã¯ã¤ãã³ã 235 $('.readMoreBtn_01').click(function () { 236 let newCount = currentDispCnt + addDispCnt; // æ°ãã表示ããä»¶æ° 237 // æ°ãã表示ããä»¶æ°ã®ã¿è¡¨ç¤º 238 $(in_cont_01).each(function (i, elem) { 239 if (currentDispCnt <= i && i < newCount) { 240 $(this).show(); 241 currentDispCnt++; 242 } 243 }); 244 // ãã£ã¨è¦ããã¿ã³ãé表示 245 if (maxDispCnt <= newCount) { 246 $(this).hide(); 247 } 248 return false; 249 }); 250 }); 251}(jQuery)); 252 253// 2ã¤ç® 254(function ($) { 255 $(function () { 256 let maxDispCnt_02 = 0; // æå¤§è¡¨ç¤ºä»¶æ° 257 let currentDispCnt_02 = 0; // ç¾å¨ã®è¡¨ç¤ºä»¶æ° 258 let in_cont_02 = $('#in_cont_02').children('.item'); // ä¸è¦§ã®liåè¦ç´ ããã¹ã¦åå¾ 259 // ä¸è¦§ã®åæè¡¨ç¤º 260 $(in_cont_02).each(function (i, elem) { 261 // åæè¡¨ç¤ºä»¶æ°ã®ã¿è¡¨ç¤º 262 if (i < defaultDispCnt) { 263 $(this).show(); 264 currentDispCnt_02++; 265 } 266 maxDispCnt_02++; 267 // ãã£ã¨è¦ããã¿ã³ã表示 268 let displayed_02 = 0; 269 if (maxDispCnt_02 > currentDispCnt_02 && !displayed_02) { 270 $('.readMoreBtn_02').show(); 271 displayed_02 = 1; 272 } 273 }); 274 // ãã£ã¨è¦ããã¿ã³ã¯ãªãã¯ã¤ãã³ã 275 $('.readMoreBtn_02').click(function () { 276 let newCount_02 = currentDispCnt_02 + addDispCnt; // æ°ãã表示ããä»¶æ° 277 // æ°ãã表示ããä»¶æ°ã®ã¿è¡¨ç¤º 278 $(in_cont_02).each(function (i, elem) { 279 if (currentDispCnt_02 <= i && i < newCount_02) { 280 $(this).show(); 281 currentDispCnt_02++; 282 } 283 }); 284 // ãã£ã¨è¦ããã¿ã³ãé表示 285 if (maxDispCnt_02 <= newCount_02) { 286 $(this).hide(); 287 } 288 return false; 289 }); 290 }); 291}(jQuery)); 292 293// 3ã¤ç® 294(function ($) { 295 $(function () { 296 let maxDispCnt_03 = 0; // æå¤§è¡¨ç¤ºä»¶æ° 297 let currentDispCnt_03 = 0; // ç¾å¨ã®è¡¨ç¤ºä»¶æ° 298 let in_cont_03 = $('#in_cont_03').children('.item'); // ä¸è¦§ã®liåè¦ç´ ããã¹ã¦åå¾ 299 // ä¸è¦§ã®åæè¡¨ç¤º 300 $(in_cont_03).each(function (i, elem) { 301 // åæè¡¨ç¤ºä»¶æ°ã®ã¿è¡¨ç¤º 302 if (i < defaultDispCnt) { 303 $(this).show(); 304 currentDispCnt_03++; 305 } 306 maxDispCnt_03++; 307 // ãã£ã¨è¦ããã¿ã³ã表示 308 let displayed_03 = 0; 309 if (maxDispCnt_03 > currentDispCnt_03 && !displayed_03) { 310 $('.readMoreBtn_03').show(); 311 displayed_03 = 1; 312 } 313 }); 314 // ãã£ã¨è¦ããã¿ã³ã¯ãªãã¯ã¤ãã³ã 315 $('.readMoreBtn_03').click(function () { 316 let newCount_03 = currentDispCnt_03 + addDispCnt; // æ°ãã表示ããä»¶æ° 317 // æ°ãã表示ããä»¶æ°ã®ã¿è¡¨ç¤º 318 $(in_cont_03).each(function (i, elem) { 319 if (currentDispCnt_03 <= i && i < newCount_03) { 320 $(this).show(); 321 currentDispCnt_03++; 322 } 323 }); 324 // ãã£ã¨è¦ããã¿ã³ãé表示 325 if (maxDispCnt_03 <= newCount_03) { 326 $(this).hide(); 327 } 328 return false;
329 }); 330 }); 331}(jQuery)); 332 333 334// 4ã¤ç® 335(function ($) { 336 $(function () { 337 let maxDispCnt_04 = 0; // æå¤§è¡¨ç¤ºä»¶æ° 338 let currentDispCnt_04 = 0; // ç¾å¨ã®è¡¨ç¤ºä»¶æ° 339 let in_cont_04 = $('#in_cont_04').children('.item'); // ä¸è¦§ã®liåè¦ç´ ããã¹ã¦åå¾ 340 // ä¸è¦§ã®åæè¡¨ç¤º 341 $(in_cont_04).each(function (i, elem) { 342 // åæè¡¨ç¤ºä»¶æ°ã®ã¿è¡¨ç¤º 343 if (i < defaultDispCnt) { 344 $(this).show(); 345 currentDispCnt_04++; 346 } 347 maxDispCnt_04++; 348 // ãã£ã¨è¦ããã¿ã³ã表示 349 let displayed_04 = 0; 350 if (maxDispCnt_04 > currentDispCnt_04 && !displayed_04) { 351 $('.readMoreBtn_04').show(); 352 displayed_04 = 1; 353 } 354 }); 355 // ãã£ã¨è¦ããã¿ã³ã¯ãªãã¯ã¤ãã³ã 356 $('.readMoreBtn_04').click(function () { 357 let newCount_04 = currentDispCnt_04 + addDispCnt; // æ°ãã表示ããä»¶æ° 358 // æ°ãã表示ããä»¶æ°ã®ã¿è¡¨ç¤º 359 $(in_cont_04).each(function (i, elem) { 360 if (currentDispCnt_04 <= i && i < newCount_04) { 361 $(this).show(); 362 currentDispCnt_04++; 363 } 364 }); 365 // ãã£ã¨è¦ããã¿ã³ãé表示 366 if (maxDispCnt_04 <= newCount_04) { 367 $(this).hide(); 368 } 369 return false; 370 }); 371 }); 372}(jQuery)); 373 374// 5ã¤ç® 375(function ($) { 376 $(function () { 377 let maxDispCnt_05 = 0; // æå¤§è¡¨ç¤ºä»¶æ° 378 let currentDispCnt_05 = 0; // ç¾å¨ã®è¡¨ç¤ºä»¶æ° 379 let in_cont_05 = $('#in_cont_05').children('.item'); // ä¸è¦§ã®liåè¦ç´ ããã¹ã¦åå¾ 380 // ä¸è¦§ã®åæè¡¨ç¤º 381 $(in_cont_05).each(function (i, elem) { 382 // åæè¡¨ç¤ºä»¶æ°ã®ã¿è¡¨ç¤º 383 if (i < defaultDispCnt) { 384 $(this).show(); 385 currentDispCnt_05++; 386 } 387 maxDispCnt_05++; 388 // ãã£ã¨è¦ããã¿ã³ã表示 389 let displayed_05 = 0; 390 if (maxDispCnt_05 > currentDispCnt_05 && !displayed_05) { 391 $('.readMoreBtn_05').show(); 392 displayed_05 = 1; 393 } 394 }); 395 // ãã£ã¨è¦ããã¿ã³ã¯ãªãã¯ã¤ãã³ã 396 $('.readMoreBtn_05').click(function () { 397 let newCount_05 = currentDispCnt_05 + addDispCnt; // æ°ãã表示ããä»¶æ° 398 // æ°ãã表示ããä»¶æ°ã®ã¿è¡¨ç¤º 399 $(in_cont_05).each(function (i, elem) { 400 if (currentDispCnt_05 <= i && i < newCount_05) { 401 $(this).show(); 402 currentDispCnt_05++; 403 } 404 }); 405 // ãã£ã¨è¦ããã¿ã³ãé表示 406 if (maxDispCnt_05 <= newCount_05) { 407 $(this).hide(); 408 } 409 return false; 410 }); 411 }); 412}(jQuery)); 413 414// 6ã¤ç® 415(function ($) { 416 $(function () {
417 let maxDispCnt_06 = 0; // æå¤§è¡¨ç¤ºä»¶æ° 418 let currentDispCnt_06 = 0; // ç¾å¨ã®è¡¨ç¤ºä»¶æ° 419 let in_cont_06 = $('#in_cont_06').children('.item'); // ä¸è¦§ã®liåè¦ç´ ããã¹ã¦åå¾ 420 // ä¸è¦§ã®åæè¡¨ç¤º 421 $(in_cont_06).each(function (i, elem) { 422 // åæè¡¨ç¤ºä»¶æ°ã®ã¿è¡¨ç¤º 423 if (i < defaultDispCnt) { 424 $(this).show(); 425 currentDispCnt_06++; 426 } 427 maxDispCnt_06++; 428 // ãã£ã¨è¦ããã¿ã³ã表示 429 let displayed_06 = 0; 430 if (maxDispCnt_06 > currentDispCnt_06 && !displayed_06) { 431 $('.readMoreBtn_06').show(); 432 displayed_06 = 1; 433 } 434 }); 435 // ãã£ã¨è¦ããã¿ã³ã¯ãªãã¯ã¤ãã³ã 436 $('.readMoreBtn_06').click(function () { 437 let newCount_06 = currentDispCnt_06 + addDispCnt; // æ°ãã表示ããä»¶æ° 438 // æ°ãã表示ããä»¶æ°ã®ã¿è¡¨ç¤º 439 $(in_cont_06).each(function (i, elem) { 440 if (currentDispCnt_06 <= i && i < newCount_06) { 441 $(this).show(); 442 currentDispCnt_06++; 443 } 444 }); 445 // ãã£ã¨è¦ããã¿ã³ãé表示 446 if (maxDispCnt_06 <= newCount_06) { 447 $(this).hide(); 448 } 449 return false; 450 }); 451 }); 452}(jQuery)); 453 454// 7ã¤ç® 455(function ($) { 456 $(function () { 457 let maxDispCnt_07 = 0; // æå¤§è¡¨ç¤ºä»¶æ° 458 let currentDispCnt_07 = 0; // ç¾å¨ã®è¡¨ç¤ºä»¶æ° 459 let in_cont_07 = $('#in_cont_07').children('.item'); // ä¸è¦§ã®liåè¦ç´ ããã¹ã¦åå¾ 460 // ä¸è¦§ã®åæè¡¨ç¤º 461 $(in_cont_07).each(function (i, elem) { 462 // åæè¡¨ç¤ºä»¶æ°ã®ã¿è¡¨ç¤º 463 if (i < defaultDispCnt) { 464 $(this).show(); 465 currentDispCnt_07++; 466 } 467 maxDispCnt_07++; 468 // ãã£ã¨è¦ããã¿ã³ã表示 469 let displayed_07 = 0; 470 if (maxDispCnt_07 > currentDispCnt_07 && !displayed_07) { 471 $('.readMoreBtn_07').show(); 472 displayed_07 = 1; 473 } 474 }); 475 // ãã£ã¨è¦ããã¿ã³ã¯ãªãã¯ã¤ãã³ã 476 $('.readMoreBtn_07').click(function () { 477 let newCount_07 = currentDispCnt_07 + addDispCnt; // æ°ãã表示ããä»¶æ° 478 // æ°ãã表示ããä»¶æ°ã®ã¿è¡¨ç¤º 479 $(in_cont_07).each(function (i, elem) { 480 if (currentDispCnt_07 <= i && i < newCount_07) { 481 $(this).show(); 482 currentDispCnt_07++; 483 } 484 }); 485 // ãã£ã¨è¦ããã¿ã³ãé表示 486 if (maxDispCnt_07 <= newCount_07) { 487 $(this).hide(); 488 } 489 return false; 490 }); 491 }); 492}(jQuery)); 493 494// 8ã¤ç® 495(function ($) { 496 $(function () { 497 let maxDispCnt_08 = 0; // æå¤§è¡¨ç¤ºä»¶æ° 498 let currentDispCnt_08 = 0; // ç¾å¨ã®è¡¨ç¤ºä»¶æ° 499 let in_cont_08 = $('#in_cont_08').children('.item'); // ä¸è¦§ã®liåè¦ç´ ããã¹ã¦åå¾ 500 // ä¸è¦§ã®åæè¡¨ç¤º 501 $(in_cont_08).each(function (i, elem) { 502 // åæè¡¨ç¤ºä»¶æ°ã®ã¿è¡¨ç¤º 503 if (i < defaultDispCnt) { 504 $(this).show(); 505 currentDispCnt_08++; 506 } 507 maxDispCnt_08++; 508 // ãã£ã¨è¦ããã¿ã³ã表示 509 let displayed_08 = 0; 510 if (maxDispCnt_08 > currentDispCnt_08 && !displayed_08) { 511 $('.readMoreBtn_08').show(); 512 displayed_08 = 1; 513 } 514 }); 515 // ãã£ã¨è¦ããã¿ã³ã¯ãªãã¯ã¤ãã³ã 516 $('.readMoreBtn_08').click(function () { 517 let newCount_08 = currentDispCnt_08 + addDispCnt; // æ°ãã表示ããä»¶æ° 518 // æ°ãã表示ããä»¶æ°ã®ã¿è¡¨ç¤º 519 $(in_cont_08).each(function (i, elem) { 520 if (currentDispCnt_08 <= i && i < newCount_08) { 521 $(this).show(); 522 currentDispCnt_08++; 523 } 524 }); 525 // ãã£ã¨è¦ããã¿ã³ãé表示 526 if (maxDispCnt_08 <= newCount_08) { 527 $(this).hide(); 528 } 529 return false; 530 }); 531 }); 532}(jQuery)); 533 534/* ---------------------------------------------------------------------- 535ã¤ã¤ãã®æ¥½ãã¿æ¹ãã¼ã¸ãã¿ãåãæ¿ã 536---------------------------------------------------------------------- */ 537$(function() { 538 let tabs = $(".enjoying_page .tab"); // tabã®ã¯ã©ã¹ãå ¨ã¦åå¾ãã夿°tabsã«é åã§å®ç¾© 539 $(".enjoying_page .tab").on("click", function() { // tabãã¯ãªãã¯ãããã¤ãã³ãçºç« 540 $(".tab_active").removeClass("tab_active"); // activeã¯ã©ã¹ãæ¶ã 541 $(this).addClass("tab_active"); // ã¯ãªãã¯ããç®æã«activeã¯ã©ã¹ã追å 542 const index = tabs.index(this); // ã¯ãªãã¯ããç®æãã¿ãã®ä½çªç®ãå¤å®ãã宿°indexã¨ãã¦å®ç¾© 543 $(".content").removeClass("tab_show").eq(index).addClass("tab_show"); // showã¯ã©ã¹ãæ¶ãã¦ãcontentã¯ã©ã¹ã®indexçªç®ã«showã¯ã©ã¹ã追å 544 }) 545}) 546 547
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.