.container {
    background: none;
    max-width: 960px;
    padding: 0px 0px;
    border-radius: 0px;
    border: none;
}

.label {
font-weight: 500;
}

fieldset {
    margin: 0 0px;
    padding: 0.75em 0.75em 1.75em 0.75em;
    width: 960px;
}

.form-column-textarea {
align-items: flex-start !important;
}

.form__privacy-policy {
    color: #006cb7;
    text-decoration: underline;
    transition: .3s opacity ease-in-out;
    text-align: center;
}

.form-column-note {
    display: inline-block !important;
    text-align: center;
    width: 100%;
}

[data-tf-type="recaptcha"] {
  margin: 0 auto;
  display: block;
}

.form-column-recaptcha {
place-self: center;
margin-right: 6rem;
}

.separator {
margin: 0 0.5rem;
}

legend .badge-required {
  background-color: #ff5f25;
}

.input-group {
display: flex;
}





body {
  color: #151514;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: #a59aca;
}

.container-fluid {
  max-width: 100%;
  border: 0;
}

.form-text {
  font-size: 0.75em;
}

.form-column {
  padding-bottom: 0px;
  margin-bottom: 0px;
  border-bottom: none;
display: grid;
grid-template-columns: 23rem 1fr;
padding-top: 3.5rem;
align-items: center;
}

fieldset .form-column {
padding-top: 1.5rem;}

input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 1em;
}

.form-column-heading h2 {
  font-size: 1.5em;
  margin: 0;
  font-weight: bold;
}

label h3 {
  font-size: 1em;
  display: inline-block;
  margin: 0 0 0.5em;
  font-weight: bold;
}

label .badge-optional {
  display: none;
}

label .badge-required {
  visibility: hidden;
  position: relative;
}

label .badge-required::after {
  content: "Required";
  visibility: visible;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: auto;
  display: inline-block;
  margin-left: 0.25em;
  padding: 4px 8px;
  line-height: 1;
  font-size: 0.75em;
  color: #fff;
  background-color: #ff5f25;
  border-radius: 4px;
}

.badge {
  margin-left: 0em;
}

.description-block {
  color: #151514;
  margin-top: 0.5em;
}

.button-group {
  margin-top: 2em;
  width: 100%;
  display: inline-block;
  text-align: center;
}
.button-group .form-text {
  margin-top: 0.5em;
  font-size: 0.75em;
}

.button  {
margin-right: 0em;
}

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.button-submit {
  background-color: #316a8b;
  border: 1px solid #316a8b;
  color: #fff;
}
button.button-submit span.fa {
  margin-right: 4px;
}

/* 「送信する」を変更 */
/* 初期状態：文字色グレー */
.button-submit {
  color: transparent !important;
  position: relative;
}

/* アイコンはそのまま残す */
.button-submit .icon {
  color: #aaa; /* 初期カラー */
  margin-right: 0.5em;
}

/* 擬似要素で「Send」を表示 */
.button-submit::after {
  content: "Send";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #aaa; /* チェック前はグレー */
  pointer-events: none;
}

/* reCAPTCHAチェック後（ボタン有効化時） */
.button-submit:not([disabled])::after {
  color: #fff; /* チェック後は白 */
}
.button-submit:not([disabled]) .icon {
  color: #fff; /* チェック後は白 */
}


/* 「戻る」を変更 */
.button-back {
  color: transparent !important;
  position: relative;
}
.button-back::after {
  content: "Back";
  color: #333;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 「入力内容は暗号化されて送信されます。」を変更 */
.help-block {
  color: transparent !important;
  position: relative;
}
.help-block::after {
  content: "Your input will be encrypted and sent securely.";
  color: #333;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 「リキャプチャv3」の位置を変更 */
#recaptcha-v3-badge {
  text-align: center;
  text-align: -webkit-center;
}

/* 同意するチェック */
.form-column.form-column-checkbox {
  text-align: center;
}

/* 枠線を消す */
.form-column.form-column-checkbox fieldset {
  border: none;
}

/* チェックボックスと「同意する」を中央寄せ */
.form-column.form-column-checkbox .input-group {
  display: flex;            /* flexbox化 */
  justify-content: center;  /* 水平中央寄せ */
  align-items: center;      /* 垂直方向も揃える */
}

/* SubmitをSendへ変更 */
.message-block.message-block-confirmation {
  color: transparent !important;
  position: relative;
}

.message-block.message-block-confirmation::after {
  content: "Please confirm the entry and click the 'Send' button.";
  color: #333;
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translateY(-50%);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  height: 2.8em;
  width: 100%;
  min-width: 500px;
  max-width: 100%;
  line-height: 1.75em;
  padding: 0.5em;
  border: 1px solid #a5cbe5;
  transition: all 0.3s;
}

textarea {
  width: 100%;
  height: 10em;
}

input[type="file"] {
  display: block;
  line-height: 1.75;
}

input[type="password"] {
  height: 1.75em;
  width: 100%;
  border: 1px solid #6a767d;
  transition: all 0.3s;
}

input[readonly],
textarea[readonly] {
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.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: 2.8em;
  display: block;
  border: 1px solid #a5cbe5;
  padding: 0.5em;
}

.message-block-complete {
  border: 2px solid #316a8b;
  padding: 20px;
  text-align: center;
}

@media (max-width: 640px) {
  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-column {
grid-template-columns: 1fr;
padding-top: 1.5rem;
}

fieldset {
    margin: 0 0px;
    padding: 0.75em 0.75em 1.75em 0.75em;
    width: 100%;
}

.form-column-recaptcha {
place-self: center;
margin-right: 0rem;
}

}