/* subtitle */
.subtitle {
  font-weight: 300;
  font-size: var(--font-size-sm);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  position: relative;
}

.subtitle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  margin-left: -116px;
  width: 100px;
  height: 1px;
  background-color: var(--color-primary-blue);
}

/* button */
.button,
#form .hs-button {
  font-size: var(--font-size-sm);
  margin-top: 48px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: 0.1em;
  padding: 24px 0;
  border-radius: 8px;
  background: linear-gradient(to right, #0098CB, #0283C1) border-box border-box;
  width: calc((100vw / 12) * 4);
  box-shadow: 0px 4px 20px 5px rgba(0, 152, 203, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background-position: 100% 0;
  box-shadow: 0px 4px 30px 5px rgba(0, 152, 203, 0.4);
  filter: brightness(1.10);
}

/* download */
.download {
  padding-top: 180px;
  padding-bottom: 180px;
  background: var(--gradient-primary);
}

.form_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(100vw / 24);
}

.form_wrapper .title,
.form_wrapper .image {
  flex: 1;
}

.form_wrapper .title p {
  margin: 48px 0;
}

.form_wrapper .button {
  margin-top: 0;
}

.form_wrapper .title .image {
  display: none;
}

#form {
  width: calc(100vw / 12 * 4);
  background-color: var(--color-white);
  box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1);
  padding: 48px calc(100vw / 24);
  line-height: 1.5;
}

#form .hs-button {
  border: none;
  width: 100%;
}

#form .hs-button:hover {
  background-position: 100% 0;
  box-shadow: 0px 4px 30px 5px rgba(0, 152, 203, 0.4);
  filter: brightness(1.10);
}

#form input[type=text],
#form select,
#form input[type=email],
#form input[type=tel] {
  border: var(--color-light-blue) 1px solid;
  padding: 0 8px;
  width: 100%;
  border-radius: 4px;
  height: 40px;
}

#form .hs-field-desc {
  font-size: 12px;
  margin-top: 8px;
}

#form .hs-form-field {
  margin-bottom: 32px;
}

#form select {
  color: var(--color-charcoal-grey);
}

#form .inputs-list {
  margin-top: 16px;
}

#form .inputs-list li {
  margin-top: 12px;
}

#form .input {
  margin-top: 8px;
}

#form .grecaptcha-badge {
  margin: 0 auto;
}

#form .hs-form-required {
  font-size: 0;
  width: 80px;
}

#form .hs-form-required::before {
  content: "必須";
  font-size: 10px;
  background-color: var(--color-primary-blue);
  color: var(--color-white);
  border-radius: 2px;
  padding: 2px 8px 3px;
  margin-left: 8px;
}

#form a {
  color: var(--color-primary-blue-dark);
}

#form .hs_agree_privacy_policy {
  margin-top: 16px;
}

.hs-form-field>label {
  display: flex;
  align-items: center;
}

#form ::placeholder {
  color: #d9d9d9;
}

#form .hs-error-msgs {
  color: #ff3f00;
}

/* radio */
#form input[type=radio] {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}

#form .hs-form-radio-display {
  position: relative;
  cursor: pointer;
  padding-left: 34px;
}

#form .hs-form-radio span::before,
#form .hs-form-radio span::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}

#form .hs-form-radio span::before {
  background-color: var(--color-white);
  border: 1px solid var(--color-light-blue);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  left: 4px;
}

#form .hs-form-radio span::after {
  opacity: 0;
  background-color: var(--color-primary-blue);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  left: 10px
}

#form .hs-form-radio input:checked+span::after {
  opacity: 1;
}

/* checkbox */
#form input[type=checkbox] {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}

#form .hs-form-booleancheckbox-display,
#form .hs-form-checkbox-display {
  position: relative;
  cursor: pointer;
  padding-left: 0px;
}

#form .hs-form-booleancheckbox-display,
#form .hs-form-checkbox-display span {
  padding-left: 34px;
  display: block;
  line-height: 1.5;
}

#form .hs-form-booleancheckbox-display>span::before,
#form .hs-form-booleancheckbox-display>span::after,
#form .hs-form-checkbox-display>span::before,
#form .hs-form-checkbox-display>span::after {
  content: "";
  display: block;
  position: absolute;
}

#form .hs-form-booleancheckbox-display>span::before,
#form .hs-form-checkbox-display>span::before {
  background-color: var(--color-white);
  border: 1px solid var(--color-light-blue);
  border-radius: 4px;
  width: 20px;
  height: 20px;
  left: 2px;
  transform: translateY(-50%);
  top: 50%;
}

#form .hs-form-booleancheckbox-display>span::after,
#form .hs-form-checkbox-display>span::after {
  opacity: 0;
  border-bottom: 2px solid var(--color-primary-blue);
  border-left: 2px solid var(--color-primary-blue);
  height: 6px;
  width: 12px;
  transform: rotate(-45deg);
  top: calc(50% - 4px);
  left: 6px;
}

#form .hs-form-booleancheckbox-display>input:checked+span::after,
#form .hs-form-checkbox-display>input:checked+span::after {
  opacity: 1;
}

/* footer */
footer {
  background-color: var(--color-charcoal-grey);
  color: var(--color-white);
  height: 120px;
}

footer .container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .copyright {
  color: rgba(255, 255, 255, 0.6);
  margin-left: 48px;
  position: relative;
  font-size: 12px;
}

footer .copyright::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 6px);
  margin-left: -24px;
  width: 1px;
  height: 12px;
  background-color: #d9d9d9;
}

footer .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer a {
  text-decoration: none;
  position: relative;
}

footer a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-white);
  transition: all 0.3s ease;
  transform: scale(0, 1);
  transform-origin: left top;
}

footer a[target="_blank"] {
  padding-left: 22px;
  background-image: url(../images/square.svg);
  background-size: 14px auto;
  background-repeat: no-repeat;
  background-position: left 50%;
}

footer a:hover {
  text-decoration: none;
}

footer a:hover::after {
  transform: scale(1, 1);
}