.custom-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  padding:0 20px;
}
.custom-images img {
  display: block;
  width: min(100%,1140px);
  height: auto;
}

.message {
  display: flex;
  justify-content: center;
  padding:0 20px 40px 20px;
}
.message img {
  display: block;
  width: min(100%,1041px);
  height: auto;
}
.contact {
  display: flex;
  justify-content: center;
  justify-content: center;
  padding:0 20px 40px 20px;
}
.contact img {
  display: block;
  width: min(100%,1008px);
  height: auto;
}

.contact iframe {
  display: block;
  width: min(100%,1008px);
  border-radius: 20px;
}

/* フォーム全体 */
#customform {
  max-width:1008px;
  margin-inline: auto;
  padding: 64px !important;
  background: #fff;
  border-radius: 20px;
}

/* 各入力項目の間隔 */
#customform > .form > .w-full {
  margin-bottom: 20px;
}

/* 項目名 */
#customform .font-bold {
  margin-bottom: 8px;
  font-weight: 700;
}

/* 入力欄を強めに上書き */
html body form#customform input.form-control.form_input,
html body form#customform textarea {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  padding: 14px 16px !important;
  border: 1px solid #C2CEC6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #222 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  appearance: none !important;
}


/* 入力中 */
#customform input.form_input:focus,
#customform textarea:focus {
  border-color: #333 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgb(0 0 0 / 10%);
}

/* フォーカス時 */
html body form#customform input.form-control.form_input:focus,
html body form#customform textarea:focus {
  border-color: #222 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12) !important;
}
/* 項目名 */
html body form#customform .font-bold {
  display: block !important;
  margin-bottom: 8px !important;
  color: #222 !important;
  font-weight: 700 !important;
}

/* 送信ボタン */
#customform .btn-customform-submit {
  min-width: 240px;
  padding: 14px 32px !important;
  border: none !important;
  border-radius: 999px !important;
  background: #E7716E !important;
  color: #fff !important;
  cursor: pointer;
}
html body form#customform button.btn.btn--square.btn-customform-submit {
  border-radius: 999px !important;
  overflow: hidden !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-clip: padding-box !important;
}

/* ボタンにマウスを載せたとき */
#customform .btn-customform-submit:hover {
  background: #2E3247 !important;
}

/* 利用規約の文章 */
#customform .terms-conditions {
  margin-top: 12px;
  text-align: center;
  font-size: 14px !important;
  line-height: 1.7;
}