$(function() { entry = Array(); entry['cross-talk/2255'] = "cross-talk/まったく違う仕事から-竹内建設へ転職。女性が工事課で活躍するヒケツとは"; entry['cross-talk/9226'] = "cross-talk/ヘッドハンティングではなくお見合い!?転職して、より楽しい仕事をしよう"; entry['job-search/0224'] = "job-search/Recruiting"; entry['job-search/7954'] = "job-search/KURODA-MARIE"; entry['job-search/2123'] = "job-search/NISHIMURA-YUUKI"; entry['job-search/2603'] = "job-search/Recruiting"; entry['job-search/1916'] = "job-search/SYONAI-TAKAKO"; category = Array(); category['root'] = Array(); category['root']['title'] = "top"; category['root']['description'] = ""; category['root']['type'] = "page"; category['root']['pagenation'] = "0"; category['root']['format'] = "Part_Content_001"; category['root']['directory'] = "root"; category['about-us'] = Array(); category['about-us']['title'] = "top/ABOUT US - 私たちについて"; category['about-us']['description'] = ""; category['about-us']['type'] = "ground"; category['about-us']['pagenation'] = "1"; category['about-us']['format'] = "Part_Content_002"; category['about-us']['directory'] = "root"; category['project'] = Array(); category['project']['title'] = "top/PROJECT - 竹内建設の事業"; category['project']['description'] = ""; category['project']['type'] = "ground"; category['project']['pagenation'] = "2"; category['project']['format'] = "Part_Content_003"; category['project']['directory'] = "root"; category['cross-talk'] = Array(); category['cross-talk']['title'] = "top/CROSS TALK - クロストーク"; category['cross-talk']['description'] = ""; category['cross-talk']['type'] = "ground"; category['cross-talk']['pagenation'] = "3"; category['cross-talk']['format'] = "Part_Content_004"; category['cross-talk']['directory'] = "root"; category['job-search'] = Array(); category['job-search']['title'] = "top/JOB SEARCH - 募集職種"; category['job-search']['description'] = ""; category['job-search']['type'] = "ground"; category['job-search']['pagenation'] = "4"; category['job-search']['format'] = "Part_Content_005"; category['job-search']['directory'] = "root"; category['message'] = Array(); category['message']['title'] = "top/MESSAGE - メッセージ"; category['message']['description'] = ""; category['message']['type'] = "ground"; category['message']['pagenation'] = "5"; category['message']['format'] = "Part_Content_006"; category['message']['directory'] = "root"; category['job-entry'] = Array(); category['job-entry']['title'] = "top/JOB ENTRY - 募集職種&エントリー"; category['job-entry']['description'] = ""; category['job-entry']['type'] = "ground"; category['job-entry']['pagenation'] = "6"; category['job-entry']['format'] = "Part_Content_007"; category['job-entry']['directory'] = "root"; category['about-us/'] = Array(); category['about-us/']['title'] = "ABOUT US"; category['about-us/']['description'] = ""; category['about-us/']['type'] = "page"; category['about-us/']['pagenation'] = "7"; category['about-us/']['format'] = "Part_Content_010"; category['about-us/']['directory'] = "about-us/"; category['about-us/section-1'] = Array(); category['about-us/section-1']['title'] = "ABOUT US/私たちのこと"; category['about-us/section-1']['description'] = ""; category['about-us/section-1']['type'] = "ground"; category['about-us/section-1']['pagenation'] = "8"; category['about-us/section-1']['format'] = "Part_Content_011"; category['about-us/section-1']['directory'] = "about-us/"; category['about-us/section-2'] = Array(); category['about-us/section-2']['title'] = "ABOUT US/お客様のこと"; category['about-us/section-2']['description'] = ""; category['about-us/section-2']['type'] = "ground"; category['about-us/section-2']['pagenation'] = "9"; category['about-us/section-2']['format'] = "Part_Content_011"; category['about-us/section-2']['directory'] = "about-us/"; category['about-us/section-3'] = Array(); category['about-us/section-3']['title'] = "ABOUT US/商品のこと"; category['about-us/section-3']['description'] = ""; category['about-us/section-3']['type'] = "ground"; category['about-us/section-3']['pagenation'] = "10"; category['about-us/section-3']['format'] = "Part_Content_011"; category['about-us/section-3']['directory'] = "about-us/"; category['about-us/section-4'] = Array(); category['about-us/section-4']['title'] = "ABOUT US/タケウチのこと"; category['about-us/section-4']['description'] = ""; category['about-us/section-4']['type'] = "ground"; category['about-us/section-4']['pagenation'] = "11"; category['about-us/section-4']['format'] = "Part_Content_011"; category['about-us/section-4']['directory'] = "about-us/"; category['about-us/section-5'] = Array(); category['about-us/section-5']['title'] = "ABOUT US/北海道のこと"; category['about-us/section-5']['description'] = ""; category['about-us/section-5']['type'] = "ground"; category['about-us/section-5']['pagenation'] = "12"; category['about-us/section-5']['format'] = "Part_Content_011"; category['about-us/section-5']['directory'] = "about-us/"; category['cross-talk/'] = Array(); category['cross-talk/']['title'] = "CROSS TALK"; category['cross-talk/']['description'] = ""; category['cross-talk/']['type'] = "page"; category['cross-talk/']['pagenation'] = "13"; category['cross-talk/']['format'] = "Part_Content_020"; category['cross-talk/']['directory'] = "cross-talk/"; category['job-search/'] = Array(); category['job-search/']['title'] = "JOB SEARCH"; category['job-search/']['description'] = ""; category['job-search/']['type'] = "page"; category['job-search/']['pagenation'] = "14"; category['job-search/']['format'] = "Part_Content_030"; category['job-search/']['directory'] = "job-search/"; category['job-search/tech/'] = Array(); category['job-search/tech/']['title'] = "JOB SEARCH - 工事管理業務"; category['job-search/tech/']['description'] = ""; category['job-search/tech/']['type'] = "page"; category['job-search/tech/']['pagenation'] = "15"; category['job-search/tech/']['format'] = "Part_Content_030"; category['job-search/tech/']['directory'] = "job-search/tech/"; category['job-search/sales/'] = Array(); category['job-search/sales/']['title'] = "JOB SEARCH - 営業系"; category['job-search/sales/']['description'] = ""; category['job-search/sales/']['type'] = "page"; category['job-search/sales/']['pagenation'] = "16"; category['job-search/sales/']['format'] = "Part_Content_030"; category['job-search/sales/']['directory'] = "job-search/sales/"; category['job-search/engineer/'] = Array(); category['job-search/engineer/']['title'] = "JOB SEARCH - 設計系"; category['job-search/engineer/']['description'] = ""; category['job-search/engineer/']['type'] = "page"; category['job-search/engineer/']['pagenation'] = "17"; category['job-search/engineer/']['format'] = "Part_Content_030"; category['job-search/engineer/']['directory'] = "job-search/engineer/"; category['job-search/design/'] = Array(); category['job-search/design/']['title'] = "JOB SEARCH - デザイン系"; category['job-search/design/']['description'] = ""; category['job-search/design/']['type'] = "page"; category['job-search/design/']['pagenation'] = "18"; category['job-search/design/']['format'] = "Part_Content_030"; category['job-search/design/']['directory'] = "job-search/design/"; category['job-search/office/'] = Array(); category['job-search/office/']['title'] = "JOB SEARCH - 事務系"; category['job-search/office/']['description'] = ""; category['job-search/office/']['type'] = "page"; category['job-search/office/']['pagenation'] = "19"; category['job-search/office/']['format'] = "Part_Content_030"; category['job-search/office/']['directory'] = "job-search/office/"; category['job-search/planning/'] = Array(); category['job-search/planning/']['title'] = "JOB SEARCH - 企画系"; category['job-search/planning/']['description'] = ""; category['job-search/planning/']['type'] = "page"; category['job-search/planning/']['pagenation'] = "20"; category['job-search/planning/']['format'] = "Part_Content_030"; category['job-search/planning/']['directory'] = "job-search/planning/"; category['job-search/other/'] = Array(); category['job-search/other/']['title'] = "JOB SEARCH - その他"; category['job-search/other/']['description'] = ""; category['job-search/other/']['type'] = "page"; category['job-search/other/']['pagenation'] = "21"; category['job-search/other/']['format'] = "Part_Content_030"; category['job-search/other/']['directory'] = "job-search/other/"; category['president-message/'] = Array(); category['president-message/']['title'] = "MESSAGE - 社長メッセージ"; category['president-message/']['description'] = ""; category['president-message/']['type'] = "page"; category['president-message/']['pagenation'] = "22"; category['president-message/']['format'] = "Part_Content_040"; category['president-message/']['directory'] = "president-message/"; category['team-message/'] = Array(); category['team-message/']['title'] = "MESSAGE - 採用チームからのメッセージ"; category['team-message/']['description'] = ""; category['team-message/']['type'] = "page"; category['team-message/']['pagenation'] = "23"; category['team-message/']['format'] = "Part_Content_040"; category['team-message/']['directory'] = "team-message/"; category['job-entry/'] = Array(); category['job-entry/']['title'] = "JOB ENTRY"; category['job-entry/']['description'] = ""; category['job-entry/']['type'] = "page"; category['job-entry/']['pagenation'] = "24"; category['job-entry/']['format'] = "Part_Content_050"; category['job-entry/']['directory'] = "job-entry/"; category['job-entry/新築/'] = Array(); category['job-entry/新築/']['title'] = "JOB ENTRY - 新築"; category['job-entry/新築/']['description'] = ""; category['job-entry/新築/']['type'] = "page"; category['job-entry/新築/']['pagenation'] = "25"; category['job-entry/新築/']['format'] = "Part_Content_050"; category['job-entry/新築/']['directory'] = "job-entry/新築/"; category['job-entry/リノベーション/'] = Array(); category['job-entry/リノベーション/']['title'] = "JOB ENTRY - リノベーション"; category['job-entry/リノベーション/']['description'] = ""; category['job-entry/リノベーション/']['type'] = "page"; category['job-entry/リノベーション/']['pagenation'] = "26"; category['job-entry/リノベーション/']['format'] = "Part_Content_050"; category['job-entry/リノベーション/']['directory'] = "job-entry/リノベーション/"; category['job-entry/リフォーム/'] = Array(); category['job-entry/リフォーム/']['title'] = "JOB ENTRY - リフォーム"; category['job-entry/リフォーム/']['description'] = ""; category['job-entry/リフォーム/']['type'] = "page"; category['job-entry/リフォーム/']['pagenation'] = "27"; category['job-entry/リフォーム/']['format'] = "Part_Content_050"; category['job-entry/リフォーム/']['directory'] = "job-entry/リフォーム/"; category['job-entry/特建事業部/'] = Array(); category['job-entry/特建事業部/']['title'] = "JOB ENTRY - 特建事業部"; category['job-entry/特建事業部/']['description'] = ""; category['job-entry/特建事業部/']['type'] = "page"; category['job-entry/特建事業部/']['pagenation'] = "28"; category['job-entry/特建事業部/']['format'] = "Part_Content_050"; category['job-entry/特建事業部/']['directory'] = "job-entry/特建事業部/"; category['job-entry/プロジェクト推進室/'] = Array(); category['job-entry/プロジェクト推進室/']['title'] = "JOB ENTRY - プロジェクト推進室"; category['job-entry/プロジェクト推進室/']['description'] = ""; category['job-entry/プロジェクト推進室/']['type'] = "page"; category['job-entry/プロジェクト推進室/']['pagenation'] = "29"; category['job-entry/プロジェクト推進室/']['format'] = "Part_Content_050"; category['job-entry/プロジェクト推進室/']['directory'] = "job-entry/プロジェクト推進室/"; category['job-entry/カスタマーセンター/情報管理/'] = Array(); category['job-entry/カスタマーセンター/情報管理/']['title'] = "JOB ENTRY - カスタマーセンター/情報管理"; category['job-entry/カスタマーセンター/情報管理/']['description'] = ""; category['job-entry/カスタマーセンター/情報管理/']['type'] = "page"; category['job-entry/カスタマーセンター/情報管理/']['pagenation'] = "30"; category['job-entry/カスタマーセンター/情報管理/']['format'] = "Part_Content_050"; category['job-entry/カスタマーセンター/情報管理/']['directory'] = "job-entry/カスタマーセンター/情報管理/"; category['job-entry/era不動産事業部/'] = Array(); category['job-entry/era不動産事業部/']['title'] = "JOB ENTRY - ERA不動産事業部"; category['job-entry/era不動産事業部/']['description'] = ""; category['job-entry/era不動産事業部/']['type'] = "page"; category['job-entry/era不動産事業部/']['pagenation'] = "31"; category['job-entry/era不動産事業部/']['format'] = "Part_Content_050"; category['job-entry/era不動産事業部/']['directory'] = "job-entry/era不動産事業部/"; category['job-entry/監理部/'] = Array(); category['job-entry/監理部/']['title'] = "JOB ENTRY - 監理部"; category['job-entry/監理部/']['description'] = ""; category['job-entry/監理部/']['type'] = "page"; category['job-entry/監理部/']['pagenation'] = "32"; category['job-entry/監理部/']['format'] = "Part_Content_050"; category['job-entry/監理部/']['directory'] = "job-entry/監理部/"; category['job-entry/総務経理部/'] = Array(); category['job-entry/総務経理部/']['title'] = "JOB ENTRY - 総務経理部"; category['job-entry/総務経理部/']['description'] = ""; category['job-entry/総務経理部/']['type'] = "page"; category['job-entry/総務経理部/']['pagenation'] = "33"; category['job-entry/総務経理部/']['format'] = "Part_Content_050"; category['job-entry/総務経理部/']['directory'] = "job-entry/総務経理部/"; category['job-entry/その他/'] = Array(); category['job-entry/その他/']['title'] = "JOB ENTRY - その他"; category['job-entry/その他/']['description'] = ""; category['job-entry/その他/']['type'] = "page"; category['job-entry/その他/']['pagenation'] = "34"; category['job-entry/その他/']['format'] = "Part_Content_050"; category['job-entry/その他/']['directory'] = "job-entry/その他/"; category['favorites/'] = Array(); category['favorites/']['title'] = "お気に入り記事一覧"; category['favorites/']['description'] = ""; category['favorites/']['type'] = "page"; category['favorites/']['pagenation'] = "35"; category['favorites/']['format'] = "Part_Content_060"; category['favorites/']['directory'] = "favorites/"; category['favorites/guide/'] = Array(); category['favorites/guide/']['title'] = "お気に入り機能について"; category['favorites/guide/']['description'] = ""; category['favorites/guide/']['type'] = "page"; category['favorites/guide/']['pagenation'] = "36"; category['favorites/guide/']['format'] = "Part_Content_061"; category['favorites/guide/']['directory'] = "favorites/guide/"; category['privacy/'] = Array(); category['privacy/']['title'] = "プライバシーポリシー"; category['privacy/']['description'] = ""; category['privacy/']['type'] = "page"; category['privacy/']['pagenation'] = "37"; category['privacy/']['format'] = "Part_Content_070"; category['privacy/']['directory'] = "privacy/"; function htmlEncode(value){ return $('
').text(value).html(); } function htmlDecode(value){ return $('').html(value).text(); } window.hashchange_action = function(hash){ hash = decodeURIComponent(hash); if( $("[data-scrollto='"+hash+"']")[0] ){ var val = $("[data-scrollto='"+hash+"']").first().position().top - 120; scrollto(val); } if( $("section.job_entry[data-subcat='"+hash+"']")[0] ){ $("section.job_entry").removeClass("active"); $("div.navi.job_entry ul > li > ul > li").removeClass("active"); $("section.job_entry[data-subcat='"+hash+"']").addClass("active"); var href = decodeURIComponent(location.href); if(href.indexOf( "#/" ) != -1){ hash_arr = href.split("#/"); href = hash_arr[0]; hash = hash_arr[1]; } var dir = href.split("/"); var dir2 = dir[dir.length -2]; $("div.navi.job_entry").find("li.job-entry_"+dir2+"_"+hash).addClass("active"); } } $(window).hashchange( function(){ var hash = location.hash; if( hash.indexOf( "#!/" ) != -1 ){ var href = hash.replace( /^#!\//, '' ); if( href == "" ){ var href = "https://tk2430-recruit.jp/"; } PJAX_pjax( href, "", "" ); }else if(hash.indexOf( "#/" ) != -1){ hash_arr = hash.split("#/"); hash = decodeURIComponent(hash_arr[1]); hashchange_action( hash ); } }) var href = ""; var past_href = decodeURIComponent(location.href); var history_back_url = ""; var past_directory = $("body").attr("data-directory"); var past_index_num = $("body").attr("data-index_num"); var past_archive_year_dir = $("body").attr("data-archive_year_dir"); var past_modal_content_type = ""; var memo_scroll = 0; var id = past_href.replace( "https://tk2430-recruit.jp/", "" ).replace( "?mode=preview", "" ); var option = ""; class_active(past_directory); var hash = ""; if(past_href.indexOf( "#/" ) != -1){ hash_arr = past_href.split("#/"); past_href = hash_arr[0]; hash = hash_arr[1]; hashchange_action( hash ); } function PJAX_pjax( href, option, target ) { hash = ""; if(href.indexOf( "#/" ) != -1){ hash_arr = href.split("#/"); href = hash_arr[0]; hash = hash_arr[1]; // hashchange_action( hash ); } id = href.replace( "https://tk2430-recruit.jp/", "" ).replace( "?mode=preview", "" ); var scroll_id = href.replace( "https://tk2430-recruit.jp/", "" ).replace( "?mode=preview", "" ); if( scroll_id == "" ){ scroll_id = "root"; } var modal_remove_flg = 0 var modal_after_id = ""; if( id == "" ){ modal_after_id = "root"; }else{ modal_after_id = id; } if( typeof category[modal_after_id] != "undefined" ){ if( option == "by_onpop" || history_back_url == href ){ if( ($("body").hasClass("modal") || $("body").hasClass("entry")) && category[modal_after_id]['type'] != "modal" && category[modal_after_id]['type'] != "entry" ){ console.log("modal_remove") modal_remove_flg = 1; $("body").removeClass("modal entry"); float_elm_clear("modal"); setTimeout( function(){ if( $("body #entry").css("z-index") == -1 ){ $("body #entry").empty(); scroll_on(); } } , 1000); } } } var scroll_ground_flg = PJAX_scroll_ground( scroll_id, option ); if( href && past_href != href && href.indexOf( "#" ) == -1 ){ scroll_action_flag = false; if( typeof scroll_action_limiter != "undefined" ){ clearTimeout( scroll_action_limiter ); } if( typeof entry[id] != "undefined" ){ id = entry[id]; href = href.replace( id, entry[id] ); } history_back_url = past_href; past_href = href; console.log("──── pjax ────"); console.log("href: " + href); console.log("id: " + id); console.log("option: " + option); console.log("target: " + target); var data_directory = ""; if( typeof $("body").attr("data-directory") !== 'undefined' && $("body").attr("data-directory") !== false ){ var data_directory = String($("body").attr("data-directory")); } var data_archive_year_dir = ""; if( typeof $("body").attr("data-archive_year_dir") !== 'undefined' && $("body").attr("data-archive_year_dir") !== false ){ var data_archive_year_dir = String($("body").attr("data-archive_year_dir")); } var data_index_num = ""; if( typeof $("body").attr("data-index_num") !== 'undefined' && $("body").attr("data-index_num") !== false ){ var data_index_num = String($("body").attr("data-index_num")); } if( option != "by_scroll" && typeof category[scroll_id] != "undefined" && category[scroll_id]['type'] != "modal" && category[scroll_id]['directory'] == data_directory && data_archive_year_dir+data_index_num == "" ){ }else if( scroll_ground_flg != 1 && modal_remove_flg != 1 && option != "by_scroll" && option != "by_load_more" ){ $("body").append('