:root {
  --blue: #095bc5;
  --navy: #10294b;
  --muted: #62718a;
  --line: #dfe6ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--navy);
  background: #f6f8fc;
  font-family: "Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
.demo {
  background: #e8eff9;
  color: #37567a;
  text-align: center;
  font-size: 12px;
  padding: 6px 15px;
  letter-spacing: .04em;
}
.demo span {
  margin-left: 14px;
}
header {
  height: 100px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  font-family: Arial,sans-serif;
  font-size: 27px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
  color: #123b79;
  letter-spacing: -1.3px;
}
.brand span {
  color: var(--blue);
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 3.7px;
  font-style: normal;
  margin-top: 9px;
}
.header-label {
  font-size: 14px;
  font-weight: 600;
}
main {
  max-width: 1260px;
  margin: auto;
  display: grid;
  grid-template-columns: 340px minmax(0,1fr);
  gap: 76px;
  padding: 64px 40px 90px;
}
aside {
  align-self: start;
  position: sticky;
  top: 44px;
  padding-top: 18px;
}
.eyebrow {
  font: 700 12px Arial,sans-serif;
  letter-spacing: 2.2px;
  color: var(--blue);
}
h1 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .02em;
  margin: 20px 0;
}
h1 strong {
  font-size: 37px;
  font-weight: 700;
}
.intro {
  color: var(--muted);
  line-height: 2.1;
  font-size: 16px;
  margin: 24px 0 34px;
}
.aside-rule {
  height: 3px;
  width: 36px;
  background: var(--blue);
  margin-bottom: 30px;
}
.small-title {
  font-size: 14px;
  font-weight: 600;
}
.selection {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.selection li {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0 0 22px;
  font-size: 16px;
}
.selection b {
  font: 500 14px Arial;
  color: var(--blue);
  border: 1px solid #c7d6e9;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
}
.aside-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 285px;
}
.form-column {
  min-width: 0;
}
.steps {
  padding: 0;
  margin: 0 0 34px;
  display: flex;
  list-style: none;
  border-bottom: 1px solid #cfdae9;
  gap: 28px;
}
.steps li {
  padding: 0 6px 16px;
  flex: 1;
  color: #7d8a9d;
  font-size: 14px;
}
.steps li.active {
  color: var(--blue);
  border-bottom: 3px solid var(--blue);
  font-weight: 700;
}
.steps b {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e5eaf2;
  margin-right: 10px;
  font-size: 12px;
}
.steps .active b {
  background: var(--blue);
  color: #fff;
}
.form-heading h2 {
  font-size: 23px;
  margin: 0 0 10px;
}
.form-heading p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 26px;
  line-height: 2;
}
form,
section#review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 34px 36px;
  box-shadow: 0 8px 35px #193b6410;
}
form section+section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 32px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-heading>span {
  font: 600 13px Arial;
  color: var(--blue);
  letter-spacing: 1px;
}
h3 {
  font-size: 19px;
  margin: 0;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}
em,
.req {
  font-size: 11px;
  background: #eaf2ff;
  color: var(--blue);
  border-radius: 3px;
  font-style: normal;
  padding: 2px 5px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 7px;
  font-weight: 500;
  line-height: 1.5;
}
.optional {
  font-size: 11px;
  color: #788394;
  margin-left: 7px;
  font-weight: 400;
}
input:not([type=radio]):not([type=checkbox]):not([type=file]),
select,
textarea {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #cbd5e3;
  border-radius: 5px;
  margin-top: 9px;
  padding: 12px 13px;
  font: 400 16px/1.5 inherit;
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  min-height: 48px;
  transition: .15s;
}
textarea {
  resize: vertical;
  line-height: 1.75!important;
}
input::placeholder,
textarea::placeholder {
  color: #94a0b2;
  font-size: 14px;
  font-weight: 400;
}
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #d9eaff;
  border-color: var(--blue)!important;
}
small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 6px;
}
fieldset {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
  min-width: 0;
}
legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
legend small {
  display: inline;
  margin-left: 8px;
}
.positions {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.position {
  border: 1px solid #cfdae9;
  border-radius: 5px;
  padding: 13px 10px;
  margin: 0;
  display: flex;
  gap: 7px;
  align-items: flex-start;
  cursor: pointer;
}
.position:has(input:checked) {
  border-color: var(--blue);
  background: #f0f6ff;
  box-shadow: 0 0 0 1px var(--blue);
}
input[type=radio],
input[type=checkbox] {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 5px 0 0;
}
.position>span {
  font-size: 14px;
}
.position small {
  font-size: 11px;
  white-space: nowrap;
  margin-top: 3px;
}
.position small b {
  font-size: 16px;
  color: var(--navy);
}
.consult {
  grid-column: 1/-1;
  padding: 10px 13px;
  border-style: dashed;
  align-items: center;
}
.consult input {
  margin: 0;
}
.expertise {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.expertise label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  background: #f5f7fa;
  border: 1px solid #e5eaf1;
  border-radius: 4px;
  padding: 8px 10px;
  margin: 0;
  font-weight: 400;
}
.expertise input {
  margin: 0;
}
.section-description {
  font-size: 12px;
  color: var(--muted);
  margin: -15px 0 18px;
}
.upload {
  position: relative;
  border: 1px dashed #b2c5de;
  background: #f8faff;
  text-align: center;
  border-radius: 6px;
  padding: 18px 10px;
  cursor: pointer;
  overflow: hidden;
}
.upload:focus-within {
  outline: 3px solid #d9eaff;
}
.file-icon {
  display: block;
  font-size: 28px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.2;
  margin: 15px 0 8px;
}
.file-prompt {
  font-size: 13px;
  color: var(--blue);
}
.upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.filename {
  overflow-wrap: anywhere;
  position: relative;
  pointer-events: none;
}
.privacy {
  padding: 18px;
  background: #f4f7fb;
  border-radius: 5px;
  margin: 8px 0 24px;
}
.privacy b {
  font-size: 13px;
}
.privacy p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 7px 0 0;
}
.primary {
  border: 0;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  width: 100%;
  padding: 18px 24px;
  font: 600 16px inherit;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: background .2s;
}
.primary:hover {
  background: #0348a6;
}
.primary:focus-visible {
  outline: 3px solid #7cb0ef;
  outline-offset: 3px;
}
.primary:disabled {
  opacity: .6;
  cursor: default;
}
.secondary {
  border: 1px solid #cbd5e3;
  border-radius: 5px;
  background: #fff;
  color: var(--navy);
  width: 100%;
  padding: 16px 24px;
  font: 600 15px inherit;
  font-family: inherit;
  cursor: pointer;
  margin-top: 12px;
}
.secondary:hover {
  background: #f4f7fb;
}
.bottom-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
footer>span {
  font: 800 14px Arial;
  color: #284c7a;
  letter-spacing: .5px;
}
footer small {
  font: 12px Arial;
}
#review>p {
  font-size: 14px;
  color: var(--muted);
}
#summary {
  margin: 24px 0;
}
#summary dt {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}
#summary dd {
  margin: 4px 0 0;
  font-size: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.error {
  color: #b32b2b;
  font-size: 13px;
}
[hidden] {
  display: none!important;
}
@media(min-width:1200px) {
  .positions {
    gap: 8px;
  }
  .position {
    padding: 13px 8px;
  }
}
@media(max-width:1000px) {
  main {
    grid-template-columns: 270px minmax(0,1fr);
    gap: 30px;
    padding: 40px 24px;
  }
  .positions {
    grid-template-columns: 1fr;
  }
  .position {
    align-items: center;
    padding: 12px;
  }
  .position span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }
  .position small {
    margin: 0;
  }
  .consult {
    grid-column: auto;
  }
  h1 {
    font-size: 24px;
  }
  h1 strong {
    font-size: 32px;
  }
  form,
  section#review {
    padding: 28px 24px;
  }
}
@media(max-width:720px) {
  .demo {
    font-size: 11px;
  }
  .demo span {
    display: block;
    margin: 0;
  }
  header {
    height: 78px;
    padding: 0 22px;
  }
  .brand {
    font-size: 23px;
  }
  .header-label {
    font-size: 12px;
  }
  main {
    display: block;
    padding: 26px 18px 50px;
  }
  aside {
    position: static;
    padding: 0;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.8px;
  }
  h1 {
    font-size: 19px;
    line-height: 1.6;
    margin: 12px 0 22px;
  }
  h1 strong {
    font-size: 29px;
  }
  .intro,
  .aside-rule,
  .small-title,
  .selection,
  .aside-note {
    display: none;
  }
  .steps {
    margin: 0 0 23px;
  }
  .form-heading h2 {
    font-size: 20px;
  }
  .form-heading p {
    font-size: 13px;
  }
  form,
  section#review {
    padding: 24px 18px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .positions {
    grid-template-columns: 1fr;
  }
  .upload {
    padding: 18px;
  }
  .grid:has(.upload) {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .upload .file-prompt {
    font-size: 12px;
  }
  .section-heading h3 {
    font-size: 18px;
  }
  .primary {
    font-size: 15px;
  }
  footer {
    padding: 23px;
  }
  .privacy {
    padding: 14px;
  }
}
