body {
    color: #151514;
    font-size: 16px;
    border: solid 1px #C0C0C0;
    border-radius: 5px;
    padding: 28px;
    margin-bottom: 80px;
    line-height: 1.5;
}

.container {
      padding: 44px 40px;
    background-color: #F5F4F2;
    background-image: url(https://blog.sixapart.jp/assets/images/tophmail-240.png);
    background-repeat: no-repeat;
    background-position: 93% 20px;
    background-size: 125px 125px;
  max-width: 100%;
  border: 0;
}

a {
  color: #a59aca;
}

.form-page-1 {
    display: grid;
    grid-template-columns: 74% 26%;
    grid-template-rows: auto;
}
/* Six Apart のメールマガジンを購読しませんか？ */
 .form-column-heading  {
 	grid-column: 1 / 2;
 	grid-row: 1 / 2;
 	margin-bottom: 15px;
    font-size: 114%;
    font-weight: bold;
}
/* テキスト表示エリア */
.form-column-note {
 	grid-column: 1 / 2;
 	grid-row: 2 / 3;
 	margin-bottom: 10px;
}
/* メールフォーム */
.form-column-12b99f0f-8b87-4c88-ae50-c7698f3252ea label {
    margin-bottom: 8px;
}

.form-column-12b99f0f-8b87-4c88-ae50-c7698f3252ea {
    grid-column: 1 / 2;
grid-row: 3 / 4;
}
/* ボタン */
.button-group {
    grid-column: 2 / 3;
grid-row: 3 / 4;
    width: 100%;
    display: block;
    margin-top: 30px;
}

.form-column-recaptcha {
    grid-row: 4 / 5;
    margin-top: 15px;
}


.form-column {
  padding-bottom:0;
  margin-bottom: 12px;
}

input,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  font-size: 1em;
}

.form-column-heading h2 {
font-size: 24px;
  margin: 0;
  font-weight: bold;
    padding-bottom: 12px;
    border-bottom: 1px solid #000000;
}

label h3 {
  font-size: 1em;
  display: inline-block;
  margin: 0 0 0.5em;
  font-weight: bold;
}
label .badge-required {
  display: none;
}

.description-block {
  color: #151514;
  margin-top: 0.5em;
}

.button-group .help-block {
display: none;
}

button {
  display: inline-block;
  padding: 0.5em 1em;
  text-align: center;
  cursor: pointer;
  border: 1px solid #6a767d;
  border-radius: 4px;
  margin: 0 0.5em 0 0;
  background-color: #fff;
}


.button[disabled] {
    background-color: #eee;
}


button.button-submit {
   position:relative;
   width: 100%;
   height: 45px;
    padding: 10px 0.5em;
    background: #4A4A4A;
    font-size: 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
   margin-right: 0;
}

button.button-submit:before {
    content: "購読する";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    color: #fff;
    font-size: 15px;
    line-height: 45px;
    top: 0;
    left: 0;
    text-align: center;
}
}

button.button-submit span.fa {
  display: none !important;
}

input[type="email"] {
    width: 100%;
    max-width: 98%;
    margin-right: 2%;
    padding: 0.65em;
    font-size: 100%;
    border: solid 1px #C0C0C0;
    border-radius: 5px;
}

input[type="text"],
input[type="tel"],
input[type="url"],
textarea {
  height: 1.75em;
  width: 60%;
  min-width: 500px;
  max-width: 100%;
  outline: none;
  line-height: 1.75em;
  padding: 2px 4px;
  border: 1px solid #6a767d;
  transition: all 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus {
  box-shadow: 0 0 2px #88c6ea;
  border: 1px solid #88c6ea;
}

textarea {
  width: 100%;
  height: 10em;
}

input[type="file"] {
  display: block;
  line-height: 1.75;
}

input[type="password"] {
  height: 1.75em;
  width: 100%;
  outline: none;
  border: 1px solid #6a767d;
  transition: all 0.3s;
}

.form-column-date .input-group select {
  width: auto;
  display: inline-block;
}

.form-column-calendar input {
  width: auto;
}

.form-column-zip-code-jp .input-group input {
  width: auto;
  min-width: auto;
  display: inline-block;
}

.form-column-zip-code-autofill.form-column {
  border-bottom: 0;
  margin-bottom: 0;
}

.form-column-checkbox label,
.form-column-radio label {
  margin-right: 1em;
}

select {
  width: auto;
  height: 1.75em;
  display: block;
  border: 1px solid #6a767d;
}

.message-block-complete {
  border: 2px solid #316a8b;
  padding: 20px;
  text-align: center;
}

@media (max-width: 640px) {
.container {
  background-image: none;
}
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  textarea {
    width: 100%;
    min-width: 100%;
  }
  select {
    width: 100%;
  }
  .form-column-calendar input {
    width: auto;
    min-width: auto;
  }
  .form-column-heading h2 {
    font-size: 1.25em;
  }
.form-page-1 {
    display: block;
}
.button-group {
    margin-top:0;
}
}
