:root {
  color-scheme: light;
  --navy: #101f49;
  --yellow: #ffe432;
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--navy);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.85;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
.form-card {
  background: #fff;
  border: 3px solid var(--yellow);
  border-radius: 6px;
  padding: 30px;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 27px;
  line-height: 1.55;
  margin: 0 0 15px;
  font-weight: 900;
}
h3 {
  font-size: 25px;
  line-height: 1.6;
  margin: 0 0 15px;
}
.intro {
  margin: 0 0 12px;
}
#form-status {
  font-size: 14px;
  margin: 0 0 20px;
  color: #526079;
}
form > label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  margin: 21px 0 8px;
}
small {
  font-size: 12px;
  font-weight: 500;
  color: #526079;
}
input:not([type='checkbox']),
select,
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #f3f6fc;
  border: 1px solid #b7c3d8;
  border-radius: 3px;
  padding: 12px;
  font-size: 16px;
  line-height: 1.7;
}
textarea {
  resize: vertical;
  min-height: 145px;
}
.consent {
  align-items: flex-start !important;
  font-size: 14px;
  font-weight: 500 !important;
  line-height: 1.85;
}
.consent input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 4px 0 0;
  accent-color: var(--navy);
}
.note {
  font-size: 13px;
  color: #526079;
  line-height: 1.9;
  margin: 18px 0;
}
.primary,
.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: calc(100% - 5px);
  min-height: 68px;
  padding: 15px;
  border: 2px solid var(--navy);
  border-radius: 5px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 4px 5px 0 var(--navy);
  line-height: 1.7;
}
.primary:not(:disabled):hover {
  background: #ffed72;
}
.secondary {
  background: white;
  box-shadow: none;
  font-size: 15px;
  min-height: 52px;
  margin-top: 20px;
}
.primary:focus-visible,
.secondary:focus-visible,
a:focus-visible {
  outline: 3px solid #2456df;
  outline-offset: 4px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #2456df;
  outline-offset: 2px;
}
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
[hidden] {
  display: none !important;
}
dl {
  margin: 25px 0;
  white-space: pre-wrap;
}
dt {
  font-weight: 800;
  font-size: 14px;
  margin: 18px 0 5px;
}
dd {
  margin: 0;
  padding: 10px;
  background: #f3f6fc;
  border-radius: 3px;
  font-size: 16px;
  word-break: break-word;
}
#form-error:empty,
#form-result:empty {
  display: none;
}
#form-error {
  color: #a71930;
  background: #fff0f2;
  padding: 14px;
  border: 1px solid #e3aab4;
  font-size: 15px;
}
#form-result {
  background: #e9f6f4;
  color: #124d46;
  padding: 17px;
  font-size: 17px;
  font-weight: 700;
}
#turnstile {
  margin: 20px 0;
  min-width: 0;
  max-width: 100%;
}
.footer-note {
  margin-bottom: 0;
}
.actions {
  margin-top: 22px;
}
@media (max-width: 400px) {
  .form-card {
    padding: 23px 17px;
  }
  h2 {
    font-size: 24px;
  }
  .primary {
    font-size: 16px;
    min-height: 64px;
  }
  .consent {
    font-size: 13px;
  }
  .note {
    font-size: 12px;
  }
}
