.fix-cta-close-wrap {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 767px) {
  .fix-cta-close-wrap {
    display: none;
  }
}

.fix-cta-close {
  width: 30px;
  height: 30px;
  background: #000;
  position: relative;
  cursor: pointer;
}
.fix-cta-close.is-close:after{
  display: none;
}
.fix-cta-close.is-close:before{
  background: none;
  border-right: solid 2px #FFF;
  border-bottom: solid 2px #FFF;
  width: 10px;
  height: 10px;
  top: 12px;
  left: 9px;
  transform: rotate(-135deg);
}
.fix-cta-close:after,.fix-cta-close:before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background:#FFF;
  position: absolute;
  top: 15px;
  left: 5px;
}
.fix-cta-close:after {
  transform: rotate(45deg);
}
.fix-cta-close:before {
  transform: rotate(135deg);
}
div.fix-cta-close-slide {
  top: auto;
  bottom: 0;
  transition: 1s;
  height: auto;
}
@media screen and (max-width: 1047px) {
  div.fix-cta-close-slide {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  div.fix-cta-close-slide {
    display: block;
  }
  .js-lp-fix-banner {
    display: none;
  }
}


div.fix-cta-close-slide.is-close{
  top: calc(100vh - 60px);
  bottom: auto;
  animation: sideFormClose ease-in-out 1s;
}
@keyframes sideFormClose {
  0% {
    top: calc(100vh - 60px);
  }
  50% {
    top: calc(100vh - 80px);
  }
  100% {
    top: calc(100vh - 60px);
  }
}

.hbspt-form {
  padding: 0 0 40px 0;
}

.hbspt-form form {
  max-width: 640px;
  margin: auto;
}

.hs-form-required {
  color: transparent;
}

.hs-form-required::before {
  display: inline-block;
  width: 40px;
  margin-left: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  background: #c00;
  content: "必須";
}

.hs-form-field {
  margin-bottom: 25px;
  text-align: left;
}

.hs-form-field label {
  position: relative;
  font-size: 18px;
}

.hs-form-field .input {
  margin: 0;
}

.hs-form-field .input input {
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  margin-top: 5px;
  padding: 19px 29px;
  font-size: 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

.hs-form-radio {
  margin: 13px 0;
}

.hs-form-radio label {
  font-size: 16px;
}

.hs-form-radio-display input {
  display: none;
}

.hs-form-radio-display input + span::before {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: -2px 5px 0 0;
  vertical-align: middle;
  background-color: #f0f0f0;
  border: 2px solid #ddd;
  border-radius: 17px;
  transition: 0.1s;
  content: "";
}

.hs-form-radio-display input[type="radio"]:checked + span::before {
  background-color: #5482f7;
  border-color: #5482f7;
  box-shadow: inset 0 0 0 8px #fff;
}

.hs-fieldtype-select select,
.hs-fieldtype-textarea textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  height: 60px;
  padding: 0 29px;
  font-size: 15px;
  line-height: 57px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

.hs-fieldtype-textarea textarea {
  padding: 8px 15px;
  line-height: 1.5;
}

.hs-fieldtype-select select {
  margin-top: 15px;
}

.hs-fieldtype-textarea {
  display: flex;
  flex-direction: column;
}

.hs-fieldtype-textarea textarea {
  height: 259px;
}

.hs-fieldtype-textarea .hs-field-desc {
  order: 3;
  font-size: 13px;
}

.hs-fieldtype-textarea .input {
  margin: 10px 0 0;
}

.hs_privacypolicy {
  text-align: center;
}

.hs_privacypolicy .hs-form-required {
  display: none;
}

.hs_privacypolicy label {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hs-form-field.hs_privacypolicy label input {
  width: auto;
  height: auto;
  margin-top: 0;
  margin-right: 10px;
  transform: scale(1.7);
}

.hs_error_rollup {
  display: none;
}

.hs-error-msg {
  color: #b70000;
  font-size: 93% !important;
}

.hs_submit {
  text-align: center;
}

.hs_submit input[type="submit"] {
  width: 100%;
  max-width: 460px;
  height: 80px;
  margin: auto;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  line-height: 60px;
  text-align: center;
  background: linear-gradient(to right, #fa80d2 0, #fed757 100%);
  border: none;
  border-radius: 40px;
  transition: all 0.3s ease-in-out 0s;
  cursor: url("/wp_2309/wp-content/themes/nworks/cursor/pointer-active.cur")
      20 20,
    pointer;
}

.hs_submit .actions {
  position: relative;
  transition: all 0.3s ease-out;
}

.hs_submit .actions:hover {
  transform: scale(1.04);
  filter: brightness(1.05) contrast(1.05);
}

.hs_submit .actions:hover::before {
  position: absolute;
  bottom: -5px;
  left: 50%;
  z-index: -1;
  display: inline-block;
  width: 400px;
  height: 40px;
  background: linear-gradient(to right, #fa80d2 0, #fed757 100%);
  border-radius: 30em;
  transform: translateX(-50%);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-filter: blur(20px) brightness(0.95);
  filter: blur(20px) brightness(0.95);
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  content: "";
}

.hs-ex {
  margin-left: 15px;
  font-size: 15px;
  text-decoration: underline;
}

.hs-ex.arrow::after {
  transform: rotate(0deg);
}

.hs-ex.arrow::before {
  right: -33px;
  height: 0;
  transform: rotate(45deg);
}

.hs-form-field .input input:focus,
.hs-form-field .input textarea:focus {
  box-shadow: 0 0 0 2px rgba(42, 176, 214, 1);
}

label.hs-form-booleancheckbox-display span::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: block;
  width: 25px;
  height: 25px;
  border: 2px solid #ccc;
  border-radius: 4px;
  content: "";
}

.hs-form-field.hs_privacypolicy input[type="checkbox"]:checked + span::after {
  position: absolute;
  top: 4px;
  left: 9px;
  display: block;
  width: 7px;
  height: 16px;
  border-right: 3px solid #5482f7;
  border-bottom: 3px solid #5482f7;
  transform: rotate(40deg);
  content: "";
}

.hs-form-field.hs_privacypolicy input {
  display: none;
}

.hs-form-field.hs_privacypolicy span {
  position: relative;
  padding-left: 35px;
}

.hbspt--minoru {
  width: 100%;
  background: #fff;
  box-shadow: 0 0 0 2px transparent;
  -webkit-transition: box-shadow 0.3s;
  transition: box-shadow 01s;
}

.hbspt--minoru::after {
  position: absolute;
  top: 5px;
  left: 0;
  z-index: -1;
  width: calc(100% - 2px);
  max-width: 640px;
  height: 90%;
  color: rgba(42, 176, 214, 0.6);
  box-shadow: 0 0 0 0;
  -webkit-animation: anim-shadow 0.3s forwards;
  animation: anim-shadow 0.3s forwards;
  content: "";
}

.hbspt--minoru:focus {
  box-shadow: 0 0 0 2px rgba(42, 176, 214, 1);
}

@media screen and (max-width: 760px) {
  /* .hbspt--minoru::after {
    top: 8px;
  } */

  .hbspt-form {
    padding-right: 5%;
    padding-left: 5%;
  }

  .hs-form-field {
    padding-left: 0;
  }

  .hs-form-field label {
    display: flex;
    font-size: 16px;
  }

  .hs-form-field .input input,
  .hs-fieldtype-select select {
    padding: 13px;
    font-size: 14px;
  }

  .hs-fieldtype-select select {
    height: auto;
    line-height: unset;
  }

  .hs-form-field.hs_privacypolicy span {
    font-size: 12px;
  }

  .hs_submit input[type="submit"] {
    height: 60px;
  }

  .hs_submit .actions:hover::before {
    width: 80%;
  }
}
