:root {
  --green: #138c43;
  --dark: #164d2a;
  --pale: #edf8f0;
  --yellow: #f5cf47;
  --text: #25352b;
  --line: #cee1d4;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans Japanese", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  background: #f7faf8;
  line-height: 1.75;
}
header {
  height: 82px;
  background: #fff;
  border-bottom: 1px solid #e7eee9;
  display: flex;
  align-items: center;
  padding: 0 max(24px, calc((100% - 1050px) / 2));
}
.brand {
  display: block;
  text-decoration: none;
  line-height: 0;
}
.brand img {
  display: block;
  width: auto;
  height: 52px;
}
main {
  max-width: 850px;
  margin: auto;
  padding: 0 22px 80px;
}
.hero {
  position: relative;
  text-align: center;
  padding: 65px 10px 45px;
}
.hero:after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--yellow);
  margin: 28px auto;
}
.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.hero h1 {
  font-size: clamp(29px, 5vw, 46px);
  line-height: 1.45;
  margin: 0.4em;
}
.hero em {
  font-style: normal;
  color: var(--green);
}
.intro,
form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 30px #1c5c3020;
  padding: clamp(24px, 5vw, 52px);
  margin-bottom: 28px;
}
.intro h2,
fieldset > legend {
  color: var(--dark);
  font-size: 24px;
  font-weight: 750;
}
.intro li::marker {
  color: var(--green);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 48px;
}
fieldset > legend {
  border-bottom: 2px solid var(--green);
  width: 100%;
  padding-bottom: 9px;
  margin-bottom: 26px;
}
.nested {
  margin: 26px 0;
}
.nested > legend {
  font-size: 16px;
  border: 0;
  margin: 0 0 11px;
  padding: 0;
  color: var(--text);
}
label {
  display: block;
  font-weight: 650;
  margin: 0 0 22px;
}
input,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #aebdb3;
  border-radius: 8px;
  padding: 13px;
  font: inherit;
  background: #fff;
}
input:focus,
textarea:focus {
  outline: 3px solid #bce8ca;
  border-color: var(--green);
}
b {
  font-size: 11px;
  background: #d93c3c;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: var(--pale);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 8px 0;
  font-weight: 500;
}
.choice input {
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--green);
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
}
.consent {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 10px;
}
.consent .choice {
  margin: 0;
  background: white;
}
.consent a {
  color: var(--green);
}
button {
  display: block;
  margin: 34px auto 0;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 16px 55px;
  font: 700 17px inherit;
  box-shadow: 0 5px 14px #138c4350;
  cursor: pointer;
}
button:hover {
  background: #0d7335;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.error {
  display: block;
  color: #b42318;
  font-size: 14px;
  font-weight: 600;
}
.form-error:not(:empty) {
  background: #fff1f0;
  border-left: 4px solid #b42318;
  padding: 12px;
}
.help {
  display: block;
  margin-top: 8px;
}
.summary {
  background: #fff1f0;
  border: 1px solid #e9908b;
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 28px;
}
.summary h2 {
  font-size: 17px;
  margin: 0;
}
.summary a {
  color: #9d1c14;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#status {
  text-align: center;
  font-weight: 700;
}
.success {
  padding: 50px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
}
.success h2 {
  color: var(--green);
  font-size: 28px;
}
.success h2:focus {
  outline: 3px solid #bce8ca;
  outline-offset: 6px;
}
.support {
  background: var(--pale);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 18px 24px;
  margin: 28px 0;
}
.support h2 {
  font-size: 17px;
  margin: 0;
}
.support a,
.noscript a {
  color: var(--dark);
  font-weight: 700;
}
footer {
  text-align: center;
  padding: 28px;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
}
.noscript {
  margin: 20px;
  padding: 20px;
  background: #fff4d2;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 650px) {
  header {
    height: 70px;
    padding: 0 18px;
  }
  .brand img {
    height: 42px;
  }
  .hero {
    padding-top: 42px;
  }
  .cols,
  .checks {
    grid-template-columns: 1fr;
  }
  form {
    padding: 25px 18px;
  }
  fieldset {
    margin-bottom: 38px;
  }
  .choice {
    font-size: 14px;
  }
}
