:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
  color: #203b35;
  background: #f4f7f4;
  font-synthesis: none;
  line-height: 1.7;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.topbar {
  height: 82px;
  max-width: 1160px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dce5df;
}
.brand {
  color: #1e5041;
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.brand span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: #65786f;
  margin-left: 20px;
}
.tag {
  font-size: 12px;
  border: 1px solid #cadbd1;
  border-radius: 20px;
  padding: 4px 12px;
  color: #536c60;
}
main {
  max-width: 820px;
  margin: auto;
  padding: 48px 28px 24px;
}
.intro {
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  color: #688475;
  font-weight: 700;
  margin: 0 0 8px;
}
h1 {
  font-size: 37px;
  line-height: 1.5;
  letter-spacing: 0.025em;
  margin: 10px 0 15px;
  font-weight: 700;
}
.intro > p:last-child {
  color: #62736c;
  font-size: 15px;
}
h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
}
.panel {
  background: white;
  border: 1px solid #dce5df;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px #254c3605;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-heading .eyebrow {
  margin-bottom: 3px;
}
.step {
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #edf4ef;
  color: #2b7152;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.muted {
  font-size: 12px;
  color: #65766f;
  line-height: 1.8;
}
.providers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.provider {
  display: flex;
  align-items: center;
  gap: 11px;
  position: relative;
  border: 1px solid #dbe3dd;
  border-radius: 12px;
  padding: 18px 13px;
  cursor: pointer;
}
.provider:has(input:checked) {
  border-color: #36775c;
  background: #f5faf6;
  box-shadow: 0 0 0 1px #36775c;
}
.provider:has(input:disabled) {
  opacity: 0.55;
  cursor: default;
}
.provider input {
  position: absolute;
  right: 11px;
  top: 11px;
}
.provider strong {
  font-size: 15px;
}
.provider small {
  display: block;
  font-size: 10px;
  color: #65766f;
}
.provider-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #fff;
  font-size: 21px;
  font-weight: 700;
  border: 1px solid #e7e9e7;
  flex-shrink: 0;
}
.google {
  color: #4285f4;
}
.microsoft {
  color: #1874b8;
}
.second {
  margin-top: 30px;
  margin-bottom: 17px;
}
.modes {
  display: grid;
  gap: 13px;
}
.mode {
  display: flex;
  gap: 12px;
  cursor: pointer;
  align-items: flex-start;
}
.mode input {
  margin-top: 6px;
}
.mode strong {
  font-size: 14px;
  font-weight: 600;
}
.mode small {
  display: block;
  font-size: 12px;
  color: #63756a;
  line-height: 1.7;
  margin-top: 3px;
}
.pill {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #edf4ef;
  color: #397157;
  margin-left: 5px;
  white-space: nowrap;
}
input {
  accent-color: #216b4b;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.note {
  background: #f3f6f3;
  border-radius: 10px;
  padding: 15px 18px;
  margin: 22px 0 17px;
  font-size: 12px;
}
.note p {
  margin: 4px 0;
}
.note details {
  margin-top: 9px;
  color: #61746a;
}
.note summary {
  cursor: pointer;
}
.note ul {
  padding-left: 20px;
  overflow-wrap: anywhere;
}
.ack {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  margin: 20px 0;
}
.ack input {
  margin-top: 4px;
}
.form-footer {
  border-top: 1px solid #edf0ed;
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
button {
  font: inherit;
  font-size: 13px;
  border: 0;
  border-radius: 9px;
  padding: 12px 18px;
  cursor: pointer;
  background: #246a4c;
  color: white;
  font-weight: 600;
}
button:hover:not(:disabled) {
  background: #195639;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid #73b596;
  outline-offset: 4px;
}
.secondary {
  color: #2e654b;
  background: #edf4ef;
  border: 1px solid #d8e5dc;
}
.secondary:hover:not(:disabled) {
  background: #e0ede4;
}
.text-button {
  color: #67786f;
  background: transparent;
  font-weight: 400;
}
.text-button:hover:not(:disabled) {
  background: #f2f4f2;
}
.privacy {
  padding: 8px 12px;
}
.privacy h2 {
  font-size: 13px;
}
.privacy p {
  font-size: 12px;
  color: #748078;
  line-height: 1.9;
}
footer {
  font-size: 10px;
  text-align: center;
  color: #8a9990;
  padding: 28px 0 4px;
  letter-spacing: 0.05em;
}
#notice,
#form-error {
  padding: 12px 15px;
  background: #fff3df;
  color: #815316;
  border-radius: 8px;
  font-size: 13px;
}
.result-summary {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.checks {
  margin: 24px 0;
}
.check-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #e9efea;
  font-size: 13px;
}
.check-row dt {
  color: #607168;
}
.check-row dd {
  margin: 0;
  font-weight: 600;
}
.passed {
  color: #24734b;
}
.failed,
.incomplete {
  color: #9c6517;
}
.not_tested {
  color: #89988e;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .brand {
    font-size: 20px;
  }
  .brand span {
    margin-left: 10px;
    font-size: 10px;
  }
  .tag {
    display: none;
  }
  main {
    padding: 30px 16px 18px;
  }
  h1 {
    font-size: 29px;
  }
  .panel {
    padding: 22px 18px;
    border-radius: 15px;
  }
  .providers {
    grid-template-columns: 1fr;
  }
  .provider {
    padding: 16px;
  }
  .provider small {
    font-size: 11px;
  }
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .form-footer button {
    width: 100%;
  }
  .desktop {
    display: none;
  }
  .pill {
    display: inline-block;
  }
  .result-summary {
    font-size: 18px;
  }
  .check-row {
    font-size: 12px;
  }
}

.login-page {
  max-width: 540px;
}
.login-page h1 {
  font-size: 26px;
}
.login-description {
  color: #62736c;
  margin-bottom: 28px;
}
.login-field {
  display: block;
  margin: 16px 0 7px;
  font-weight: 600;
}
.login-field:first-child {
  margin-top: 0;
}
.login-page input {
  width: 100%;
  height: 46px;
  font: inherit;
  border: 1px solid #bbc9bf;
  border-radius: 6px;
  padding: 10px 12px;
}
.login-page button {
  width: 100%;
  margin-top: 24px;
}
#login-error {
  color: #9d392d;
  font-size: 13px;
}

.mail-field {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  font-weight: 600;
}
.mail-field input,
.mail-field select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  font: inherit;
  color: inherit;
  background: white;
  border: 1px solid #cadbd1;
  border-radius: 6px;
}
.mail-questions {
  border: 0;
  padding: 0;
  margin: 24px 0;
}
.mail-check dd,
.mail-check .muted {
  overflow-wrap: anywhere;
}
.mail-check .panel {
  border-radius: 10px;
  box-shadow: none;
}
.mail-check h1 {
  font-size: 30px;
}
