@charset "UTF-8";


/* プレースホルダー */
::placeholder {
  color: #ccc;
}

/* テキストエリア */
textarea {
  resize: none;
  overflow: auto;
}

/* 入力フィールド */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  box-sizing: border-box;
  line-height: 1.4;
  font-size: 16px;
  display: block;
  width: 100%;
  border: solid 1px rgb(0 0 0 / 20%);
  background-color: #fff;
  box-shadow: 0px 32px 24px rgb(0 0 0 / 1%);
  border-radius: 6px;
  padding: 20px 12px;
}

/* 送信ボタン */
.button {
  margin: 40px 0 0 0;
}

input[type="submit"],
button[type="submit"],
[type="submit"],
button.submit,
[class*="submit-button"],
[data-submit] {
  max-width: 100%;
  background: #111;
  color: #fff;
  font-size: 19px;
  width: 100%;
  height: 80px;
  border: none;
  border-radius: 80px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
[type="submit"]:hover,
button.submit:hover,
[class*="submit-button"]:hover,
[data-submit]:hover {
  opacity: 0.6;
}

/* 必須項目のマーカー */
.required .field-label::after,
.required label::after,
[required]+label::after,
label[for*="required"]::after {
  content: " *";
  color: #bc2828;
}

/* フォームフィールド */
.form-field,
[class*="form-field"],
[class*="field-group"],
fieldset {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid #fff;
}

/* ラベル */
.form-field .field-label,
label,
.field-label,
[class*="label"] {
  width: 100%;
  height: auto;
  font-size: 19px;
  line-height: 1;
  border-right: 1px solid #fff;
  vertical-align: middle;
}

/* エラーメッセージ */
.errors,
.error,
[class*="error"],
[class*="validation"] {
  color: #bc2828;
  font-size: 13px;
}

.errors,
[class*="errors"] {
  background-color: #ffdada;
  padding: 28px 24px;
  border-radius: 6px;
}

.errors p {
  color: #bc2828;
  font-size: 17px;
}

.error.no-label,
[class*="error"][class*="no-label"] {
  margin: -2px 0 0 0;
}


@media screen and (max-width: 600px) {

  .form-field,
  [class*="form-field"],
  [class*="field-group"],
  fieldset {
    gap: 12px;
  }

  .form-field .field-label,
  label,
  .field-label,
  [class*="label"] {
    font-size: 13px;
  }

  .errors,
  [class*="errors"] {
    padding: 14px 12px;
  }

  .errors p {
    font-size: 13px;
    line-height: 1.4;
  }

  .error.no-label,
  [class*="error"][class*="no-label"] {
    font-size: 10px;
  }

  /* 送信ボタン */
  .button {
    margin: 20px 0 0 0;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 13px;
    padding: 16px 8px;
  }

  input[type="submit"],
  button[type="submit"],
  [type="submit"],
  button.submit,
  [class*="submit-button"],
  [data-submit] {
    font-size: 13px;
    height: 52px;
  }
}


/*---------------------------------------------------------------*\
$thanks
\*---------------------------------------------------------------*/

#thanks {
  height: 560px;
  gap: 40px;
  padding: 0 5%;
  border-bottom: solid 1px rgba(0, 0, 0, .1);
}

#thanks .subject {
  font-size: 26px;
}

#thanks .description {
  font-size: 15px;
}

#thanks .button {
  width: 320px;
  height: 72px;
}


@media screen and (max-width: 600px) {

  #thanks {
    height: 480px;
    gap: 20px;
  }

  #thanks .subject {
    font-size: 22px;
  }

  #thanks .description {
    font-size: 13px;
  }

  #thanks .button {
    width: 220px;
    height: 48px;
  }
}