(function(html){var s=document.createElement("script");if(s.async!==true){extractLegacy(html);return}if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",function(){append(html)})}else{append(html)}function extractLegacy(html){var div=document.createElement("div");div.innerHTML=html;var len=div.childNodes.length;for(var i=0;i<len;i++){var elem=div.childNodes[i];if(elem.nodeType===Node.ELEMENT_NODE){if(elem.nodeName!=="SCRIPT"){document.write(elem.outerHTML)}else if(elem.src){document.write(elem.outerHTML)}else{var fname="inlinecallback"+i;window[fname]=Function(elem.innerHTML);document.write('<script src="data:text/javascript,'+fname+'()"><\/script>')}}}}function append(html){var div=document.createElement("div");div.style.display="none";div.innerHTML=html;var s;var scripts=document.createDocumentFragment();while(s=div.querySelector("script")){var s2=document.createElement("script");s2.async=false;if(s.src){s2.src=s.src}else{var blob=new Blob([s.innerHTML]);var url=URL.createObjectURL(blob);s2.onload=s2.onerror=function(){URL.revokeObjectURL(url)};s2.src=url}if(s.charset){s2.charset=s.charset}if(s.type){s2.type=s.type}div.removeChild(s);scripts.appendChild(s2)}div.appendChild(scripts);appendBody(div)}function appendBody(element){if(document.body){document.body.appendChild(element)}else{setTimeout(function(){appendBody(element)},0)}}})("<script type=\"text/javascript\" src=\"//3838-f-s.snva.jp/js/search/v1.0.0/suggest.js\" charset=\"utf-8\"></script>\n<script type=\"text/javascript\" src=\"//3838-f-s.snva.jp/js/search/v1.0.0/search.js\" charset=\"utf-8\"></script>\n<script type=\"text/javascript\" src=\"//3838-f-s.snva.jp/js/search/v1.0.0/beacon.js\" charset=\"utf-8\"></script>\n\n<script>\n/* ==================ヘッダー検索ボックス===============*/\n/* === === === PC用のサジェストタグ === === === */\nNpSuggestV3.main({\n\tserver: \"3838-f-s.snva.jp\", // アクセス先サーバー名\n\taid: \"3838\", // アカウント名\n\tminWidth: 768, // タグが適用される画面幅の最小値(排他)。-1は制限なし\n\tmaxWidth: -1, // タグが適用される画面幅の最大値(包含)。-1は制限なし\n\tsuggestContainerClass: \"bl_npSuggestContainer\", // サジェスト描画領域のクラス\n\tformSelector: \"#js_form\", // 検索ボックスのform要素のセレクタ\n\tsearchboxSelector: \"#gnav_q1\", // 検索ボックス(input要素)のセレクタ\n\tsubmitSelector: \"#js_submit\", // サブミットボタン(input要素)のセレクタ\n\t// categorySelector: \"#js_category\", // カテゴリ選択セレクトボックス(select要素)のセレクタ\n\t// categoryParam: \"s1\", // カテゴリで絞り込みを行うパラメータ\n\tcolumnParamMap: {\"\": \"keyword\", \"query\": \"keyword\", \"title\": \"keyword\", \"path\": \"path\"}, // カラムのキーワード検索するときのパラメータを定義\n\tcalcPositionAuto: true, // サジェストの表示位置を自動計算する\n\tsendKeywordlogger: false, // サジェストのみ利用する場合に true にする\n\tsubmitMobileMode: false, // true なら2回キーワードをクリックしたときにsubmitされる\n\tsearchboxComponent: [ // 検索ボックス入力時に発火する実行を定義\n\t\t// new NpSuggestV3.searchboxComponents.RankingComponent({\"limit\": 3, \"type\": \"hot\"}),\n\t\tnew NpSuggestV3.searchboxComponents.SuggestComponent({\"limit\": 5, \"matchMode\":\"partial\", \"template\": \"suggest_v3_keyword\",  \"columnOrder\":\"query,title,path\"}),\n\t\t// new NpSuggestV3.searchboxComponents.SearchComponent({ \"additional\": {\"fmt\": \"suggest_v3_item_media\", \"limit\": \"30\"}}), // サジェストベースのインクリメンタルサーチ\n\t],\n\tsearchboxComponentIfEmpty:[ // 検索ボックスが空の場合に実行する処理を定義\n\t\t// new NpSuggestV3.searchboxComponents.RankingComponent({\"limit\": 5, \"type\": \"hot\"}),\n\t\tnew NpSuggestV3.searchboxComponents.HistoryComponent({\"limit\": 5}),\n\t],\n\tevents: [ // SearchboxComponent で生成されたエリアに設定する EventComponent を定義\n\t\t{\n\t\t\t\ttype: \"mouseenter\", // イベント名\n\t\t\t\t//selectors: [\".bl_npSuggestKeywordList_item\" ,\".bl_npSuggestHistoryList_item\"], // イベントを設定するセレクタ\n                                selectors: [\".bl_npSuggestContainer .bl_npSuggestKeywordList_item\" ,\".bl_npSuggestContainer .bl_npSuggestHistoryList_item\"], \n\t\t\t\texecInstantly: true, // SearchboxComponent描画時、イベントが発生しなくても初回だけ実行する場合は true\n\t\t\t\tresetOtherArea: true, // 描画時に他の EventComponent で描画された要素をリセットする場合は true\n\t\t\t\teventComponent: [ // イベントが発生したときに発火する処理を定義\n\t\t\t\t\tnew NpSuggestV3.eventComponents.ItemListComponent({ \"additional\": { \"fmt\": \"suggest_v3_item_media\",\"limit\":\"4\"} }),\n\t\t\t\t],\n\t\t}\n\t],\n});\n\n/* === === === モバイル用のサジェストタグ === === === */\nNpSuggestV3.main({\n\tserver: \"3838-f-s.snva.jp\",\n\taid: \"3838\",\n\tminWidth: -1,\n\tmaxWidth: 767,\n\tsuggestContainerClass: \"bl_npSuggestContainer\",\n\tformSelector: \"#js_form\",\n\tsearchboxSelector: \"#gnav_q1\",\n\tsubmitSelector: \"#js_submit\",\n\t// categorySelector: \"#js_category\",\n\t// categoryParam: \"s1\",\n\tcolumnParamMap: {\"\": \"keyword\", \"query\": \"keyword\", \"title\": \"keyword\", \"path\": \"path\"},\n\tcalcPositionAuto: true,\n\tsendKeywordlogger: false,\n\tsubmitMobileMode: false,\n\tsearchboxComponent: [\n\t\t// new NpSuggestV3.searchboxComponents.RankingComponent({\"type\": \"hot\"}),\n\t\tnew NpSuggestV3.searchboxComponents.SuggestComponent({\"limit\": 2, \"matchMode\":\"partial\", \"template\": \"suggest_v3_keyword\",  \"columnOrder\":\"query,title,path\"}),\n\t\t// new NpSuggestV3.searchboxComponents.SearchComponent({ \"additional\": {\"fmt\": \"suggest_v3_item_card\", \"limit\": \"30\"}}), // サジェストベースのインクリメンタルサーチ\n\t],\n\tsearchboxComponentIfEmpty:[\n\t\t// new NpSuggestV3.searchboxComponents.RankingComponent({\"type\": \"hot\"}),\n\t\tnew NpSuggestV3.searchboxComponents.HistoryComponent({\"limit\":2}),\n\t],\n\t// events: [\n\t// \t{\n\t// \t\t\ttype: \"click\",\n\t// \t\t\tselectors: [\".bl_npSuggestKeywordList_item\", \".bl_npSuggestRankingList_item\", \".bl_npSuggestHistoryList_keyword\", \".bl_npSuggestHistoryList_label__left\"],\n\t// \t\t\texecInstantly: false,\n\t// \t\t\tresetOtherArea: true,\n\t// \t\t\teventComponent: [\n\t// \t\t\t\tnew NpSuggestV3.eventComponents.ItemListComponent({\"additional\": {\"fmt\": \"suggest_v3_item_card\"}}),\n\t// \t\t\t],\n\t// \t},\n\t// ],\n});\n\n/* ==================検索結果エリア内検索ボックス===============*/\n/* === === === PC用のサジェストタグ === === === */\nNpSuggestV3.main({\n\tserver: \"3838-f-s.snva.jp\", // アクセス先サーバー名\n\taid: \"3838\", // アカウント名\n\tminWidth: 768, // タグが適用される画面幅の最小値(排他)。-1は制限なし\n\tmaxWidth: -1, // タグが適用される画面幅の最大値(包含)。-1は制限なし\n\tsuggestContainerClass: \"bl_npSuggestContainerUnder\", // サジェスト描画領域のクラス\n\tformSelector: \"#js_form_under\", // 検索ボックスのform要素のセレクタ\n\tsearchboxSelector: \"#main_q1\", // 検索ボックス(input要素)のセレクタ\n\tsubmitSelector: \"#js_submit_under\", // サブミットボタン(input要素)のセレクタ\n\t// categorySelector: \"#js_category\", // カテゴリ選択セレクトボックス(select要素)のセレクタ\n\t// categoryParam: \"s1\", // カテゴリで絞り込みを行うパラメータ\n\tcolumnParamMap: {\"\": \"keyword\", \"query\": \"keyword\", \"title\": \"keyword\", \"path\": \"path\"}, // カラムのキーワード検索するときのパラメータを定義\n\tcalcPositionAuto: true, // サジェストの表示位置を自動計算する\n\tsendKeywordlogger: false, // サジェストのみ利用する場合に true にする\n\tsubmitMobileMode: false, // true なら2回キーワードをクリックしたときにsubmitされる\n\tsearchboxComponent: [ // 検索ボックス入力時に発火する実行を定義\n\t\t// new NpSuggestV3.searchboxComponents.RankingComponent({\"limit\": 3, \"type\": \"hot\"}),\n\t\tnew NpSuggestV3.searchboxComponents.SuggestComponent({\"limit\": 5, \"matchMode\":\"partial\", \"template\": \"suggest_v3_keyword\",  \"columnOrder\":\"query,title,path\"}),\n\t\t// new NpSuggestV3.searchboxComponents.SearchComponent({ \"additional\": {\"fmt\": \"suggest_v3_item_media\", \"limit\": \"30\"}}), // サジェストベースのインクリメンタルサーチ\n\t],\n\tsearchboxComponentIfEmpty:[ // 検索ボックスが空の場合に実行する処理を定義\n\t\t// new NpSuggestV3.searchboxComponents.RankingComponent({\"limit\": 5, \"type\": \"hot\"}),\n\t\tnew NpSuggestV3.searchboxComponents.HistoryComponent({\"limit\": 5}),\n\t],\n\tevents: [ // SearchboxComponent で生成されたエリアに設定する EventComponent を定義\n\t\t{\n\t\t\t\ttype: \"mouseenter\", // イベント名\n\t\t\t\t//selectors: [\".bl_npSuggestKeywordList_item\", \".bl_npSuggestHistoryList_item\"], // イベントを設定するセレクタ\n                                selectors: [\".bl_npSuggestContainerUnder .bl_npSuggestKeywordList_item\" ,\".bl_npSuggestContainerUnder .bl_npSuggestHistoryList_item\"],\n\t\t\t\texecInstantly: true, // SearchboxComponent描画時、イベントが発生しなくても初回だけ実行する場合は true\n\t\t\t\tresetOtherArea: true, // 描画時に他の EventComponent で描画された要素をリセットする場合は true\n\t\t\t\teventComponent: [ // イベントが発生したときに発火する処理を定義\n\t\t\t\t\tnew NpSuggestV3.eventComponents.ItemListComponent({ \"additional\": { \"fmt\": \"suggest_v3_item_media\", \"limit\":\"4\"} }),\n\t\t\t\t],\n\t\t}\n\t],\n});\n\n/* === === === モバイル用のサジェストタグ === === === */\nNpSuggestV3.main({\n\tserver: \"3838-f-s.snva.jp\",\n\taid: \"3838\",\n\tminWidth: -1,\n\tmaxWidth: 767,\n\tsuggestContainerClass: \"bl_npSuggestContainerUnder\",\n\tformSelector: \"#js_form_under\",\n\tsearchboxSelector: \"#main_q1\",\n\tsubmitSelector: \"#js_submit_under\",\n\t// categorySelector: \"#js_category\",\n\t// categoryParam: \"s1\",\n\tcolumnParamMap: {\"\": \"keyword\", \"query\": \"keyword\", \"title\": \"keyword\", \"path\": \"path\"},\n\tcalcPositionAuto: true,\n\tsendKeywordlogger: false,\n\tsubmitMobileMode: false,\n\tsearchboxComponent: [\n\t\t// new NpSuggestV3.searchboxComponents.RankingComponent({\"type\": \"hot\"}),\n\t\tnew NpSuggestV3.searchboxComponents.SuggestComponent({\"limit\": 2, \"matchMode\":\"partial\", \"template\": \"suggest_v3_keyword\",  \"columnOrder\":\"query,title,path\"}),\n\t\t// new NpSuggestV3.searchboxComponents.SearchComponent({ \"additional\": {\"fmt\": \"suggest_v3_item_card\", \"limit\": \"30\"}}), // サジェストベースのインクリメンタルサーチ\n\t],\n\tsearchboxComponentIfEmpty:[\n\t\t// new NpSuggestV3.searchboxComponents.RankingComponent({\"type\": \"hot\"}),\n\t\tnew NpSuggestV3.searchboxComponents.HistoryComponent({\"limit\":2}),\n\t],\n\t// events: [\n\t// \t{\n\t// \t\t\ttype: \"click\",\n\t// \t\t\tselectors: [\".bl_npSuggestKeywordList_item\", \".bl_npSuggestRankingList_item\", \".bl_npSuggestHistoryList_keyword\", \".bl_npSuggestHistoryList_label__left\"],\n\t// \t\t\texecInstantly: false,\n\t// \t\t\tresetOtherArea: true,\n\t// \t\t\teventComponent: [\n\t// \t\t\t\tnew NpSuggestV3.eventComponents.ItemListComponent({\"additional\": {\"fmt\": \"suggest_v3_item_card\"}}),\n\t// \t\t\t],\n\t// \t},\n\t// ],\n});\n\n(function Beacon() {\n\tNpBeacon.pvBeacon(\n\t\t{\n\t\t\t\"server\": \"3838-f-s.snva.jp\", // アクセス先サーバ(必須)\n\t\t\t\"aid\": \"3838\", // アカウントID(必須)\n\t\t\t\"parameters\": {\n\t\t\t\t\"k_uid\": NpBeacon.util.ParameterUtil.getUid(),\n\t\t\t\t\"itemid\": NpBeacon.util.ParameterUtil.searchAttributeAll(\"[data-np-itemid]\", \"data-np-itemid\"),\n\t\t\t\t\"qid\": NpBeacon.util.ParameterUtil.searchAttribute(\"[data-np-queryid]\", \"data-np-queryid\"),\n\t\t\t\t\"querystring\": NpBeacon.util.ParameterUtil.searchAttribute(\"[data-np-querystring]\", \"data-np-querystring\"),\n\t\t\t\t\"page_url\": NpBeacon.util.ParameterUtil.getUrl(),\n\t\t\t\t\"date\": NpBeacon.util.ParameterUtil.getDate()\n\t\t\t}\n\t\t}\n\t);\n\n\tNpBeacon.clickBeacon(\n\t\t{\n\t\t\t\"server\": \"3838-f-s.snva.jp\", // アクセス先サーバ(必須)\n\t\t\t\"aid\": \"3838\", // アカウントID(必須)\n\t\t\t\"selector\": [\"[data-np-beacon]\"],\n\t\t\t\"parameters\": {\n\t\t\t\t\"k_uid\": NpBeacon.util.ParameterUtil.getUid(),\n\t\t\t\t\"itemid\": NpBeacon.util.ParameterUtil.searchParentAttribute(\"data-np-itemid\"),\n\t\t\t\t\"item_index\": NpBeacon.util.ParameterUtil.searchParentAttribute(\"data-np-index\"),\n\t\t\t\t\"item_group_index\": NpBeacon.util.ParameterUtil.searchParentAttribute(\"data-np-groupindex\"),\n\t\t\t\t\"qid\": NpBeacon.util.ParameterUtil.searchAttribute(\"[data-np-queryid]\", \"data-np-queryid\"),\n\t\t\t\t\"querystring\": NpBeacon.util.ParameterUtil.searchAttribute(\"[data-np-querystring]\", \"data-np-querystring\"),\n\t\t\t\t\"page_url\": NpBeacon.util.ParameterUtil.getUrl(),\n\t\t\t\t\"date\": NpBeacon.util.ParameterUtil.getDate()\n\t\t\t}\n\t\t}\n\t);\n}());\n</script>\n\n<!--\n<script>\nNpsearchV2.main({\n\t\"server\": \"3838-f-s.snva.jp\", // アクセス先サーバ\n\t\"aid\": \"3838\",    // アカウントID\n\t\"timeout\": 10000,                            // アクセス時のタイムアウト\n\t\"onload\": { // 初回ページ表示時の設定\n\t\t\"additionalParam\": \"view=ranking_items\",            // アクセスURLに追加するパラメータ(基本はコントローラのパラメータ)\n\t\t\"replaceSelectors\": [                      // 差し替えるコンポーネントのセレクタ\n\t\t\t\"#js_rankingItems\",\n\t\t],\n\t},\n\t\"events\": {\n\t}\n});\n</script>\n-->\n");