:root {
  --sts-ink: #102019;
  --sts-muted: #526158;
  --sts-green: #0b6d45;
  --sts-green-dark: #07472f;
  --sts-gold: #d7aa45;
  --sts-line: #dbe5de;
  --sts-paper: #f7faf7;
  --sts-danger: #9d1c1c;
}

.sts-ai-form-wrap,
.sts-trial-landing {
  color: var(--sts-ink);
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

.sts-trial-landing {
  margin-inline: auto;
  max-width: 960px;
}

.sts-trial-landing__eyebrow {
  color: var(--sts-green);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sts-trial-landing__points {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 2rem;
}

.sts-trial-landing__points section {
  background: var(--sts-paper);
  border-left: 5px solid var(--sts-green);
  padding: 1.25rem;
}

.sts-ai-form {
  background: #fff;
  border: 1px solid var(--sts-line);
  box-shadow: 0 18px 50px rgba(16, 32, 25, .08);
  padding: clamp(1rem, 4vw, 2rem);
}

.sts-ai-form fieldset {
  border: 0;
  margin: 0 0 1.5rem;
  padding: 0;
}

.sts-ai-form legend {
  border-bottom: 2px solid var(--sts-gold);
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: .35rem;
  width: 100%;
}

.sts-ai-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sts-ai-form label {
  display: grid;
  font-weight: 700;
  gap: .45rem;
  margin-bottom: 1rem;
}

.sts-ai-form input,
.sts-ai-form select,
.sts-ai-form textarea {
  background: #fff;
  border: 1px solid #9fac9f;
  border-radius: 3px;
  color: var(--sts-ink);
  font: inherit;
  min-height: 48px;
  padding: .7rem .8rem;
  width: 100%;
}

.sts-ai-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.sts-ai-form input:focus,
.sts-ai-form select:focus,
.sts-ai-form textarea:focus,
.sts-ai-submit:focus {
  outline: 3px solid rgba(11, 109, 69, .28);
  outline-offset: 2px;
}

.sts-ai-check {
  align-items: start;
  display: flex !important;
  font-weight: 500 !important;
  gap: .65rem !important;
}

.sts-ai-check input {
  flex: 0 0 auto;
  margin-top: .25rem;
  min-height: 1.25rem;
  width: 1.25rem;
}

.sts-ai-submit {
  background: var(--sts-gold);
  border: 0;
  border-radius: 3px;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 52px;
  padding: .8rem 1.4rem;
  width: 100%;
}

.sts-ai-submit:hover {
  filter: brightness(.96);
}

.sts-ai-submit:disabled {
  cursor: wait;
  opacity: .7;
}

.sts-ai-form__required {
  color: var(--sts-muted);
  font-size: .85rem;
}

.sts-ai-notice {
  border-left: 5px solid var(--sts-green);
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
}

.sts-ai-notice--success {
  background: #edf8f1;
}

.sts-ai-notice--error {
  background: #fff0f0;
  border-color: var(--sts-danger);
}

.sts-ai-hp {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

@media (max-width: 640px) {
  .sts-ai-grid,
  .sts-trial-landing__points {
    grid-template-columns: 1fr;
  }
}
