@charset "UTF-8";
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}
/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}
/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/*
  Additional styles
*/

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  color: #4D4D4D;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  display: flex;
  flex-direction: column;
}
main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-top: 10rem;
}
.main-form {
  flex-grow: 1;
  width: 100%;
  border-inline: 1px solid #D9D9D9;
}
@media (min-width: 600px) {
  body {
    line-height: 1.75;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1 {
  line-height: 1.1;
  font-weight: bold;
}
h1 .header-lead {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.4rem;
}
h1 .header-body {
  font-size: 2.4rem;
  display: block;
}

@keyframes fadeIn {
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  100% {
    opacity: 0;
  }
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

[x-cloak],
[v-cloak] {
  display: none !important;
}

header > div,
main > div {
  max-width: 900px;
  margin-inline: auto;
}
@media (min-width: 992px) {
  header > div,
  main > div {
    padding-right: initial;
    padding-left: initial;
  }
}

.main-form > div{
  padding: 4.8rem 2.56rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
@media (min-width: 992px) {
  .main-form > div{
    padding: 8.0rem 4.0rem;
  }
}

main a {
  color: #009DBF;
  text-decoration: underline;
}

.form-group-container {
  margin-top: 1.6rem;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 2.4rem;
}

.form-group-container > div {
  max-width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group-input {
  display: flex;
  gap: 0.8rem;
}

.form-group label {
  font-size: 1.4rem;
}

input[type="email"] {
  border: 1px solid #C2C2C2;
  border-radius: 0.4rem;
  padding: 0.8rem;
  width: 40ch;
}

.button {
  font-weight: bold;
  line-height: normal;
  cursor: pointer;
  border-radius: 100vmax;
  padding: 0.8rem 1.6rem;
  color: inherit;
  text-decoration: none;
  border: none;
  line-height: 1.75;
  font-size: 1.4rem;
  white-space: nowrap;
}

.button-sub {
  background-color: #FFF56A;
}

.button-unsub {
  background-color: #7e7e7e;
  color: #FFFFFF;
}

@media (hover: hover) {
  .button-sub:hover {
    background-color: #FFF56AB2;
  }
  .button-unsub:hover {
    background-color: #7e7e7eb2;
  }  
}

.description {
  font-feature-settings: "halt";
}
.description br {
  display: none;
}
.description p + p {
  margin-top: 1.6rem;
}
@media (min-width: 992px) {
  .description br {
    display: initial;
  }
}