/* お問合せフォーム（inquiry.html）2026-11-17 追加 */
#ue-form {
  position: relative;
  float: left;
  clear: left;
  box-sizing: border-box;
  z-index: 20;
  margin-top: 64px;
  padding: 40px 48px 48px;
  background-color: #F7F7F7;
  font-family: ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, メイリオ, Meiryo, ＭＳ Ｐゴシック, MS PGothic, sans-serif;
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
}
#ue-form *,
#ue-form *::before,
#ue-form *::after { box-sizing: border-box; }

.ue-form__title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  color: #000000;
}
.ue-form__lead {
  margin: 0 0 32px;
  text-align: center;
  font-size: 15px;
}
.ue-form__row { margin-bottom: 24px; }
.ue-form__row label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}
.ue-form__req,
.ue-form__opt {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 20px;
  font-weight: normal;
  color: #FFFFFF;
  border-radius: 2px;
  vertical-align: 2px;
}
.ue-form__req { background-color: #DA0C00; }
.ue-form__opt { background-color: #8C8C8C; }

#ue-form input[type="text"],
#ue-form input[type="email"],
#ue-form input[type="tel"],
#ue-form textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  color: #333333;
  background-color: #FFFFFF;
  border: 1px solid #BFBFBF;
  border-radius: 4px;
}
#ue-form textarea { resize: vertical; min-height: 180px; }
#ue-form input:focus,
#ue-form textarea:focus {
  outline: 2px solid #F15A24;
  outline-offset: 1px;
  border-color: #F15A24;
}

.ue-form__row--agree { text-align: center; }
.ue-form__check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-weight: normal !important;
  cursor: pointer;
}
.ue-form__check input { width: 18px; height: 18px; margin: 0; }
.ue-form__check a { color: #F15A24; text-decoration: underline; }

.ue-form__row--captcha { text-align: center; }

.ue-form__hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ue-form__error {
  margin: 0 0 24px;
  padding: 12px 16px;
  color: #DA0C00;
  background-color: #FFF0EF;
  border: 1px solid #DA0C00;
  border-radius: 4px;
  font-size: 15px;
}
.ue-form__error[hidden] { display: none; }

.ue-form__row--submit { margin: 8px 0 0; text-align: center; }
.ue-form__submit {
  display: inline-block;
  min-width: 260px;
  padding: 14px 32px;
  font: inherit;
  font-size: 18px;
  font-weight: bold;
  color: #FFFFFF;
  background-color: #F15A24;
  border: 0;
  border-radius: 40px;
  cursor: pointer;
  transition: opacity .2s;
}
.ue-form__submit:hover { opacity: .85; }
.ue-form__submit:disabled { opacity: .5; cursor: default; }

/* ブレークポイントごとの幅・位置（Museのレイアウトに合わせる） */
@media (min-width: 1281px), print {
  #ue-form { width: 760px; margin-left: 260px; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  #ue-form { width: 760px; margin-left: 132px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  #ue-form { width: 82.23%; margin-left: 8.89%; }
}
@media (min-width: 429px) and (max-width: 768px) {
  #ue-form { width: 82.3%; margin-left: 8.86%; margin-top: 48px; padding: 32px 24px 40px; }
}
@media (max-width: 428px) {
  #ue-form { width: 92%; margin-left: 4%; margin-top: 40px; padding: 28px 16px 32px; font-size: 15px; }
  .ue-form__title { font-size: 22px; }
  .ue-form__lead { text-align: left; }
  .ue-form__submit { min-width: 0; width: 100%; }
}
