{"id":22131,"date":"2025-03-04T14:03:06","date_gmt":"2025-03-04T14:03:06","guid":{"rendered":"https:\/\/ourdemy.dev\/?page_id=22131"},"modified":"2025-12-09T01:02:28","modified_gmt":"2025-12-09T01:02:28","slug":"sign-up","status":"publish","type":"page","link":"https:\/\/ourdemy.com\/ja\/sign-up\/","title":{"rendered":"\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"22131\" class=\"elementor elementor-22131\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-608ad72d e-flex e-con-boxed e-con e-parent\" data-id=\"608ad72d\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-585ced24 e-flex e-con-boxed e-con e-child\" data-id=\"585ced24\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6884658 elementor-widget elementor-widget-heading\" data-id=\"6884658\" data-element_type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ece1c9b elementor-widget elementor-widget-shortcode\" data-id=\"ece1c9b\" data-element_type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<form style=\"max-width: 400px; margin: 0px auto\" class=\"account-signup-form\" action=\"\">\n  <div class=\"form-message\" style=\"margin-bottom: 20px; display: none\">\n    <div\n      class=\"message-content\"\n      style=\"padding: 10px; border-radius: var(--global-border-radius, 0px)\"\n    ><\/div>\n  <\/div>\n\n  <div style=\"margin-bottom: 20px\">\n    <label\n      for=\"subdomain\"\n      style=\"display: block; margin-bottom: 5px; font-weight: bold\"\n      >\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3<\/label\n>\n    <div style=\"display: flex; align-items: center\">\n      <input\n        type=\"text\"\n        id=\"subdomain\"\n        name=\"subdomain\"\n        required\n style=\"          flex: 1;          border: 1px solid #ddd;          border-radius: var(--global-border-radius, 0px);          border-top-right-radius: 0;          border-bottom-right-radius: 0;          border-right: none;        \"\n      \/>\n      <span\n        style=\"          padding: 8px 12px;          background-color: #f5f5f5;          border: 1px solid #ddd;          border-radius: var(--global-border-radius, 0px);          border-top-left-radius: 0;          border-bottom-left-radius: 0;          color: #666;          height: var(--component-height, 50px);          display: flex;          align-items: center;        \"\n        >.ourdemy.com<\/span\n>\n    <\/div>\n    <small style=\"color: #666; font-size: 12px; margin-top: 4px; display: block\"\n      >\u3053\u308c\u306f\u3042\u306a\u305f\u306e\u30a2\u30ab\u30c7\u30df\u30fc\u5c02\u7528URL\u306b\u306a\u308a\u307e\u3059\u3002<\/small\n>\n  <\/div>\n\n  <div style=\"margin-bottom: 20px\">\n    <label\n      for=\"email\"\n      style=\"display: block; margin-bottom: 5px; font-weight: bold\"\n      >\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9<\/label\n>\n    <input\n      type=\"email\"\n      id=\"email\"\n      name=\"email\"\n      required\n style=\"        width: 100%;        border: 1px solid #ddd;        border-radius: var(--global-border-radius, 0px);        box-sizing: border-box;      \"\n    \/>\n  <\/div>\n\n  <div style=\"margin-bottom: 20px\">\n    <label\n      for=\"password\"\n      style=\"display: block; margin-bottom: 5px; font-weight: bold\"\n      >\u30d1\u30b9\u30ef\u30fc\u30c9<\/label\n>\n    <input\n      type=\"password\"\n      id=\"password\"\n      name=\"password\"\n      required\n style=\"        width: 100%;        border: 1px solid #ddd;        border-radius: var(--global-border-radius, 0px);        box-sizing: border-box;      \"\n    \/>\n  <\/div>\n\t\n    <div style=\"margin-bottom: 20px\">\n  \t\t<div class=\"g-recaptcha\" data-sitekey=\"6LeXFX0sAAAAAAg8kNsGEUpXnlkjj0EMWYjx6YD6\"><\/div>\n  <\/div>\n\n  <button\n    type=\"submit\"\n    class=\"submit-button\"\n    style=\"      width: 100%;      padding: 10px;      background-color: var(--e-global-color-secondary);      color: white;      border: none;      border-radius: var(--global-border-radius, 0px);      cursor: pointer;      font-size: 16px;    \"\n  >\n    \u767b\u9332\u3059\u308b\n  <\/button>\n<input type=\"hidden\" name=\"trp-form-language\" value=\"ja\"\/><\/form>\n\n<script>\n  (function ($) {\n  function showMessage(form, message, isError = false) {\n    const messageEl = $('.form-message', form);\n    const messageContent = $('.message-content', form);\n\n    messageContent.text(message);\n    messageContent.css({\n      'background-color': isError ? '#fee' : '#e8f5e9',\n      color: isError ? '#c62828' : '#2e7d32',\n      border: `1px solid ${isError ? '#ffcdd2' : '#c8e6c9'}`,\n    });\n\n    messageEl.show();\n    messageEl[0]?.scrollIntoView({ behavior: 'smooth' });\n  }\n\n  $(document).on('submit', '.account-signup-form', function (e) {\n    e.preventDefault();\n\n    const form = $(this);\n    const submitButton = $('.submit-button', form);\n    const messageEl = $('.form-message', form);\n    messageEl.hide();\n\t  \n\tconst recaptchaResponse = grecaptcha.getResponse();\n\n    if (!recaptchaResponse) {\n\t\tshowMessage(form, 'Please verify that you are not a robot.', true);\n        return;\n    }\n\n    const formData = {\n      subdomain: $('[name=\"subdomain\"]', form).val(),\n      email: $('[name=\"email\"]', form).val(),\n      password: $('[name=\"password\"]', form).val(),\n      lang: $('html').attr('lang'),\n\t  recaptchaResponse: recaptchaResponse\n    };\n\n    submitButton.prop('disabled', true);\n\t  \n    $.ajax({\n      url: 'https:\/\/app.ourdemy.com\/api\/account\/signup',\n      method: 'POST',\n      contentType: 'application\/json',\n      data: JSON.stringify(formData),\n      success: function (response) {\n        showMessage(form, 'Account created successfully!', false);\n        submitButton.prop('disabled', false);\n      },\n      error: function (xhr) {\n        let errorMessage = 'An error occurred during signup';\n\n        switch (xhr.status) {\n          case 409:\n            errorMessage = 'This subdomain already exists';\n            break;\n          case 400:\n            errorMessage = 'Please check your input and try again';\n            break;\n        }\n\n        showMessage(form, errorMessage, true);\n        submitButton.prop('disabled', false);\n      },\n\t  complete: function () {\n\t\tif (typeof grecaptcha !== 'undefined') {\n\t\t  grecaptcha.reset();\n\t\t}\n  \t  },\n    });\n  });\n})(jQuery);\n<\/script>\n\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-732e525 elementor-widget elementor-widget-text-editor\" data-id=\"732e525\" data-element_type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"font-size: 14px; text-align: center;\" class=\"translation-block\">\u767b\u9332\u3059\u308b\u3053\u3068\u3067\u3001<a style=\"text-decoration: underline;\" href=\"https:\/\/ourdemy.com\/ja\/privacy-policy\/\" target=\"_self\">\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u30dd\u30ea\u30b7\u30fc<\/a>\u304a\u3088\u3073<a style=\"text-decoration: underline;\" href=\"https:\/\/ourdemy.com\/ja\/terms-and-conditions\/\" target=\"_self\">\u5229\u7528\u898f\u7d04<\/a>\u306b\u540c\u610f\u3057\u305f\u3082\u306e\u3068\u307f\u306a\u3055\u308c\u307e\u3059\u3002<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Create an account By signing up, you agree to our Privacy policy and Terms of Use.<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-22131","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/pages\/22131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/comments?post=22131"}],"version-history":[{"count":17,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/pages\/22131\/revisions"}],"predecessor-version":[{"id":25142,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/pages\/22131\/revisions\/25142"}],"wp:attachment":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/media?parent=22131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}