/* ------------------
 contact
------------------ */
input:focus,
textarea:focus {
  outline: none;
}

.content-ttl:before {
  background: url("/en/img/contact/icon-pagettl.svg");
}

.fs48 {
  font-size: 48px;
  letter-spacing: 0;
}

.fs26 {
  font-size: 26px;
}

.fs20 {
  font-size: 20px;
}

.fs16 {
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .fs48 {
    font-size: calc((32 / var(--sp-best-view)) * var(--vw-base));
  }
  .fs26 {
    font-size: calc((18 / var(--sp-best-view)) * var(--vw-base));
  }
  .fs20 {
    font-size: calc((16 / var(--sp-best-view)) * var(--vw-base));
  }
  .fs16 {
    font-size: calc((16 / var(--sp-best-view)) * var(--vw-base));
  }
}

/*
contact
*/
.fs32 {
  font-size: 32px;
}

.innr {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
  width: min(
    calc((1072 / var(--pc-best-view)) * var(--vw-base)),
    calc((1072 / var(--pc-best-view)) * var(--max-width))
  );
  margin: 0 auto;
  -webkit-box-align: start;
  -ms-flex-align: start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
}

.message {
  font-size: min(
    calc((24 / var(--pc-best-view)) * var(--vw-base)),
    calc((24 / var(--pc-best-view)) * var(--max-width))
  );
}
@media screen and (max-width: 768px) {
  .message {
    font-size: calc((16 / var(--sp-best-view)) * var(--vw-base));
  }
}

.required-box {
  font-size: min(
    calc((14 / var(--pc-best-view)) * var(--vw-base)),
    calc((14 / var(--pc-best-view)) * var(--max-width))
  );
  font-weight: 300;
  color: #0d1927;
  text-align: right;
  margin-top: min(
    calc((32 / var(--pc-best-view)) * var(--vw-base)),
    calc((32 / var(--pc-best-view)) * var(--max-width))
  );
}
.required-box:before {
  display: inline-block;
  width: min(
    calc((14 / var(--pc-best-view)) * var(--vw-base)),
    calc((14 / var(--pc-best-view)) * var(--max-width))
  );
  height: min(
    calc((10 / var(--pc-best-view)) * var(--vw-base)),
    calc((10 / var(--pc-best-view)) * var(--max-width))
  );
  content: "";
  background: url("/en/img/contact/icon-required.svg") no-repeat 0 0;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  .required-box {
    font-size: calc((14 / var(--sp-best-view)) * var(--vw-base));
    margin-top: calc((32 / var(--sp-best-view)) * var(--vw-base));
  }
  .required-box:before {
    width: calc((14 / var(--sp-best-view)) * var(--vw-base));
    height: calc((10 / var(--sp-best-view)) * var(--vw-base));
  }
}

.hbspt-form {
  width: min(
    calc((736 / var(--pc-best-view)) * var(--vw-base)),
    calc((736 / var(--pc-best-view)) * var(--max-width))
  );
  margin-top: min(
    calc((24 / var(--pc-best-view)) * var(--vw-base)),
    calc((24 / var(--pc-best-view)) * var(--max-width))
  );
}
@media screen and (max-width: 768px) {
  .hbspt-form {
    margin-top: calc((16 / var(--sp-best-view)) * var(--vw-base));
  }
}

.hbspt-form > form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}
.hbspt-form .form-columns-2 {
  display: flex;
  justify-content: space-between;
}
.hbspt-form .hs-form-field {
  margin-bottom: min(
    calc((32 / var(--pc-best-view)) * var(--vw-base)),
    calc((32 / var(--pc-best-view)) * var(--max-width))
  );
}
.hbspt-form .hs-form-field label {
  position: relative;
  /*  font-weight: 700 */
  margin-bottom: min(
    calc((8 / var(--pc-best-view)) * var(--vw-base)),
    calc((8 / var(--pc-best-view)) * var(--max-width))
  );
  font-size: var(--font-size-base-clamp);
  font-weight: 300;
}
.form-columns-2 .hs-firstname,
.form-columns-2 .hs-lastname {
  float: none !important;
  width: min(
    calc((336 / var(--pc-best-view)) * var(--vw-base)),
    calc((336 / var(--pc-best-view)) * var(--max-width))
  ) !important;
}
.hs-lastname .input {
  margin: 0 !important;
}

.hbspt-form .form-columns-2 .input {
  width: min(
    calc((336 / var(--pc-best-view)) * var(--vw-base)),
    calc((336 / var(--pc-best-view)) * var(--max-width))
  ) !important;
  margin: 0 !important;
  margin-top: min(
    calc((8 / var(--pc-best-view)) * var(--vw-base)),
    calc((8 / var(--pc-best-view)) * var(--max-width))
  ) !important;
}
.hbspt-form .form-columns-1 .input {
  margin: 0 !important;
  margin-top: min(
    calc((8 / var(--pc-best-view)) * var(--vw-base)),
    calc((8 / var(--pc-best-view)) * var(--max-width))
  ) !important;
}
.hbspt-form .hs-form-field input:not([type="submit"], [type="checkbox"]),
.hbspt-form .hs-form-field textarea {
  width: 100% !important;
  padding: min(
    calc((12 / var(--pc-best-view)) * var(--vw-base)),
    calc((12 / var(--pc-best-view)) * var(--max-width))
  );
  margin-right: 0;
  border: 1px solid #0d0f1d;
  border-radius: 3px;
}
.hbspt-form .hs-form-field input:not([type="submit"], [type="checkbox"]) {
  height: 48px;
}
.hbspt-form .hs-form-field textarea {
  height: 179px;
}
.hbspt-form .hs-form-field input[type="checkbox"] {
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  width: auto;
  padding-left: 30px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .hs_firstname .input {
    margin: 0 !important;
  }

  .hs_email .input {
    margin: 0 !important;
  }

  .hs_company .input {
    margin: 0 !important;
  }

  .hs_jobtitle .input {
    margin: 0 !important;
  }

  .hs_phone .input {
    margin: 0 !important;
  }

  .hs_content_of_inquiry .input {
    margin: 0 !important;
  }
  .hbspt-form .form-columns-2 {
    flex-direction: column;
  }
  .hbspt-form .form-columns-2 .input {
    width: 100% !important;
  }
  .hbspt-form .hs-form-field {
    margin-bottom: 0;
  }
  .hbspt-form .hs-form-field .hs-form-checkbox-display:after {
    bottom: 0;
  }
}

.hbspt-form .hs-form-field input[type="checkbox"]:before {
  position: absolute;
  top: 50%;
  left: 5px;
  display: block;
  width: min(
    calc((16 / var(--pc-best-view)) * var(--vw-base)),
    calc((16 / var(--pc-best-view)) * var(--max-width))
  );
  height: min(
    calc((16 / var(--pc-best-view)) * var(--vw-base)),
    calc((16 / var(--pc-best-view)) * var(--max-width))
  );
  margin-top: min(
    calc((-8 / var(--pc-best-view)) * var(--vw-base)),
    calc((-8 / var(--pc-best-view)) * var(--max-width))
  );
  content: "";
  background: #fff;
  border: 1px solid #0d0f1d;
  border-radius: 1px;
}

.hbspt-form .hs-form-field .hs-form-checkbox-display:after {
  position: absolute;
  top: initial;
  bottom: min(
    calc((7 / var(--pc-best-view)) * var(--vw-base)),
    calc((5 / var(--pc-best-view)) * var(--max-width))
  );
  left: -4px;
  display: block;
  width: min(
    calc((10 / var(--pc-best-view)) * var(--vw-base)),
    calc((10 / var(--pc-best-view)) * var(--max-width))
  );
  height: min(
    calc((20 / var(--pc-best-view)) * var(--vw-base)),
    calc((20 / var(--pc-best-view)) * var(--max-width))
  );
  content: "";
  background: none;
  border-right: 2px solid #3a4479;
  border-bottom: 2px solid #3a4479;
  opacity: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  .hbspt-form .hs-form-field .hs-form-checkbox-display:after {
    bottom: 0;
  }
}

label.hs-form-checkbox-display:has(input[type="checkbox"]:checked):after {
  opacity: 1;
}

.hbspt-form fieldset.form-columns-1,
.hbspt-form fieldset.form-columns-2 {
  max-width: 100%;
}

.hbspt-form fieldset.form-columns-1 .hs-fieldtype-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: min(
    calc((10 / var(--pc-best-view)) * var(--vw-base)),
    calc((10 / var(--pc-best-view)) * var(--max-width))
  );
}
.hbspt-form .hs-form-field .hs-error-msgs {
  position: relative !important;
  margin-top: 5px !important;
  margin-right: min(
    calc((8 / var(--pc-best-view)) * var(--vw-base)),
    calc((8 / var(--pc-best-view)) * var(--max-width))
  ) !important;
  font-size: var(--font-size-xs-clamp) !important;
  color: red !important;
}
@media screen and (max-width: 768px) {
  .hbspt-form .hs-error-msgs {
    font-size: calc((12 / var(--sp-best-view)) * var(--vw-base)) !important;
  }
}

.hbspt-form .hs-error-msgs .hs-error-msg {
  font-weight: 400 !important;
}

.hbspt-form .hs-form-required {
  display: none;
}
.hbspt-form label:has(.hs-form-required):after {
  position: absolute;
  top: -1px;
  display: inline-block;
  width: min(
    calc((14 / var(--pc-best-view)) * var(--vw-base)),
    calc((14 / var(--pc-best-view)) * var(--max-width))
  );
  height: 10px;
  margin-left: min(
    calc((12 / var(--pc-best-view)) * var(--vw-base)),
    calc((12 / var(--pc-best-view)) * var(--max-width))
  );
  content: "";
  background: url("/en/img/contact/icon-required.svg") no-repeat 0 0;
  background-size: contain;
}
.hbspt-form .hs-form-checkbox:after {
  margin-left: 0;
}
.hbspt-form .hs-form-checkbox {
  font-size: var(--font-size-base-clamp);
}

.hbspt-form .hs-richtext a > span {
  color: #0077ff !important;
  text-decoration: underline;
}

.hbspt-form .hs-button {
  position: relative;
  width: min(
    calc((288 / var(--pc-best-view)) * var(--vw-base)),
    calc((288 / var(--pc-best-view)) * var(--max-width))
  );
  height: 48px;
  font-size: var(--font-size-base-clamp);
  color: #fff;
  text-align: center;
  background: var(--color-blue);
  border: 1px solid var(--color-blue);
  border-radius: 4px;
  transition: all 0.5s ease-in;
}

.hbspt-form .actions {
  position: relative;
  width: min(
    calc((288 / var(--pc-best-view)) * var(--vw-base)),
    calc((288 / var(--pc-best-view)) * var(--max-width))
  );
  height: 48px;
  margin-top: min(
    calc((78 / var(--pc-best-view)) * var(--vw-base)),
    calc((78 / var(--pc-best-view)) * var(--max-width))
  );
}
.hbspt-form .actions:after {
  position: absolute;
  top: 0;
  right: min(calc((24 / 1440) * 100vw), calc((24 / 1440) * 1920px));
  bottom: 0;
  display: block;
  width: min(calc((27 / 1440) * 100vw), calc((27 / 1440) * 1920px));
  height: min(calc((6 / 1440) * 100vw), calc((6 / 1440) * 1920px));
  margin: auto;
  content: "";
  background: url("/en/common/img/btn-deco-01.svg") 0 0 / contain no-repeat;
  transition: all 0.5s ease-in;
}
.hbspt-form .actions:hover .hs-button {
  color: var(--color-blue);
  background-color: transparent;
}
.hbspt-form .actions:hover::after {
  background: url("/en/common/img/btn-deco-02.svg") 0 0 / contain no-repeat;
}

.hbspt-form .hs-button:after {
  position: absolute;
  top: 50%;
  right: 24px;
  display: block;
  width: min(
    calc((27 / var(--pc-best-view)) * var(--vw-base)),
    calc((27 / var(--pc-best-view)) * var(--max-width))
  );
  height: 6px;
  content: "";
  background: url("/en/img/contact/icon-deco.svg") 0 0 no-repeat;
  background-size: contain;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.hbspt-form .hs-error-msgs:not([role="alert"]) {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .innr {
    display: block;
    width: calc((336 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form {
    width: calc((336 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .hs-form-field {
    width: calc((336 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .hs-form-field + .hs-form-field {
    margin-top: calc((32 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .form-columns-2 .hs-form-field {
    display: block;
    float: none;
    width: calc((336 / var(--sp-best-view)) * var(--vw-base)) !important;
  }
  .hbspt-form fieldset + fieldset {
    margin-top: calc((32 / var(--sp-best-view)) * var(--vw-base));
  }
  .form-columns-2 .hs-firstname {
    margin-left: 0 !important;
  }
  .hbspt-form .hs-form-field label {
    margin-bottom: calc((8 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form label:has(.hs-form-required):after {
    position: static;
    width: calc((14 / var(--sp-best-view)) * var(--vw-base));
    height: calc((10 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .hs-form-field input:not([type="submit"], [type="checkbox"]),
  .hbspt-form .hs-form-field textarea {
    height: calc((48 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .hs-form-field input:not([type="submit"], [type="checkbox"]) {
    border-radius: calc((3 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .hs-form-field textarea {
    height: calc((159 / var(--sp-best-view)) * var(--vw-base));
    border-radius: calc((3 / var(--sp-best-view)) * var(--vw-base));
  }

  .hbspt-form .hs-form-field input[type="checkbox"]:before {
    width: calc((16 / var(--sp-best-view)) * var(--vw-base));
    height: calc((16 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .hs-form-field .hs-form-checkbox-display:after {
    /* top: 84.5%; */
    bottom: calc((5 / var(--sp-best-view)) * var(--vw-base));
    width: calc((10 / var(--sp-best-view)) * var(--vw-base));
    height: calc((20 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .hs-form-field .hs-form-checkbox-display > span {
    margin-left: calc((6 / var(--sp-best-view)) * var(--vw-base));
  }

  .innr .hbspt-form .agree-box .checkbox {
    padding-left: calc((30 / var(--sp-best-view)) * var(--vw-base));
  }
  .innr .hbspt-form .agree-box .checkbox:before {
    top: calc((7 / var(--sp-best-view)) * var(--vw-base));
    left: 0;
    width: calc((16 / var(--sp-best-view)) * var(--vw-base));
    height: calc((16 / var(--sp-best-view)) * var(--vw-base));
    margin-top: 0;
  }
  .hbspt-form .agree-box .checkbox:after {
    top: calc((3 / var(--sp-best-view)) * var(--vw-base));
    left: calc((2 / var(--sp-best-view)) * var(--vw-base));
    width: calc((10 / var(--sp-best-view)) * var(--vw-base));
    height: calc((16 / var(--sp-best-view)) * var(--vw-base));
    margin-top: 0;
  }
  .hbspt-form .actions {
    width: calc((239 / var(--sp-best-view)) * var(--vw-base));
    height: calc((48 / var(--sp-best-view)) * var(--vw-base));
    margin-top: calc((54 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .actions:after {
    right: calc((24 / 388) * 100vw);
    width: calc((27 / 388) * 100vw);
    height: calc((6 / 388) * 100vw);
    transition: none;
  }
  .hbspt-form .hs-button {
    width: calc((239 / var(--sp-best-view)) * var(--vw-base));
    height: calc((48 / var(--sp-best-view)) * var(--vw-base));
    font-size: calc((16 / var(--sp-best-view)) * var(--vw-base));
    border-radius: calc((4 / var(--sp-best-view)) * var(--vw-base));
    transition: none;
  }
  .hbspt-form .hs-button:after {
    right: calc((24 / var(--sp-best-view)) * var(--vw-base));
    width: calc((25 / var(--sp-best-view)) * var(--vw-base));
    height: calc((6 / var(--sp-best-view)) * var(--vw-base));
  }
  .hbspt-form .actions:hover .hs-button {
    color: #fff;
    background-color: var(--color-blue);
  }
  .hbspt-form .actions:hover::after {
    background: url("/en/common/img/btn-deco-01.svg") 0 0 / contain no-repeat;
  }
}

.innr .corp-overview {
  color: #0d1927;
}

.innr .corp-overview .fs32 {
  margin-bottom: min(
    calc((42 / var(--pc-best-view)) * var(--vw-base)),
    calc((42 / var(--pc-best-view)) * var(--max-width))
  );
  font-weight: 300;
}

.innr .corp-overview p {
  font-size: var(--font-size-sm-clamp);
  font-weight: 300;
}

.innr .corp-overview p.email {
  margin-top: min(
    calc((30 / var(--pc-best-view)) * var(--vw-base)),
    calc((30 / var(--pc-best-view)) * var(--max-width))
  );
}

.innr .corp-overview p.email a {
  color: #0d1927;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .fs32 {
    font-size: var(--font-size-xl-clamp);
  }
  .innr .corp-overview {
    margin-top: calc((64 / var(--sp-best-view)) * var(--vw-base));
  }
  .innr .corp-overview .fs32 {
    margin-bottom: calc((18 / var(--sp-best-view)) * var(--vw-base));
  }
  .innr .corp-overview p {
    font-size: calc((14 / var(--sp-best-view)) * var(--vw-base));
  }
  .innr .corp-overview p.email {
    margin-top: 0;
  }
}

.innr:has(.submitted-message) > .required-box {
  display: none;
}
