※旧SEメンバーシップ会員の方は、同じ登録情報(メールアドレス&パスワード)でログインいただけます
');
googletag.cmd.push(function() {
googletag.pubads().addEventListener('slotRenderEnded', function(e) {
var ad_id = e.slot.getSlotElementId();
if (ad_id == 'div-gpt-ad-1652255827456-0') {
var ad = $('#'+ad_id).find('iframe');
if ($(ad).width() == 728) {
var ww = $(window).width();
ww = ww*0.90;
var style = document.createElement("style");
document.head.appendChild( style );
var sheet = style.sheet;
sheet.insertRule( "#div-gpt-ad-1652255827456-0 iframe {-moz-transform: scale("+ww/728+","+ww/728+");-moz-transform-origin: 0 0;-webkit-transform: scale("+ww/728+","+ww/728+");-webkit-transform-origin: 0 0;-o-transform: scale("+ww/728+","+ww/728+");-o-transform-origin: 0 0;-ms-transform: scale("+ww/728+","+ww/728+");-ms-transform-origin: 0 0;}", 0 );
sheet.insertRule( "#div-gpt-ad-1652255827456-0 div{ height:"+(90*ww/728)+"px;width:"+728+"px;}", 0 );
} else {
if ($(window).width() < 340) {
var ww = $(window).width();
ww = ww*0.875;
var style = document.createElement("style");
document.head.appendChild( style );
var sheet = style.sheet;
sheet.insertRule( "#div-gpt-ad-1652255827456-0 iframe {-moz-transform: scale("+ww/320+","+ww/320+");-moz-transform-origin: 0 0;-webkit-transform: scale("+ww/320+","+ww/320+");-webkit-transform-origin: 0 0;-o-transform: scale("+ww/320+","+ww/320+");-o-transform-origin: 0 0;-ms-transform: scale("+ww/320+","+ww/320+");-ms-transform-origin: 0 0;}", 0 );
sheet.insertRule( "#div-gpt-ad-1652255827456-0 div{ height:"+(180*ww/320)+"px;width:"+320+"px;}", 0 );
}
}
}
});
});
} else {
document.write('
');
document.write('
');
}
' );
document.write('');
}
$(window).on('load', function() {
// 中身が無い広告でslotOnloadを通らない場合がある
var show_ad = 0;
dfp_job_board.map(function(ad_id) {
var ad = $('#'+ad_id[0]).find('iframe').last();
var contents = ad.contents();
if (contents.find('body').length === 0 || !contents.find('body').html()) {
$('#' + ad_id[0]).remove();
//$('#' + ad_id[0]).attr('class', 'noad');
} else {
show_ad++;
}
});
if (show_ad == 0) {
$('.ad-job-board-wrap').hide();
}
});
}