/* ===== フィールドグループ間隔 ===== */
.fluentform .ff-el-group {
  margin-bottom: 24px !important;
}

/* ===== ラベル ===== */
.fluentform .ff-el-input--label label {
  color: #c4941d !important;
  font-size: 1.2rem !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* ===== テキスト入力・セレクト ===== */
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform input[type="number"],
.fluentform input[type="url"],
.fluentform select,
.fluentform textarea {
  width: 100% !important;
  padding: 10px 15px !important;
  outline: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f3f2ea !important;
  color: #555 !important;
  font-size: 16px !important;
  margin-bottom: 1px !important;
}
.fluentform input[type="checkbox"] {
  margin-right: 0.3em !important;
}

/* ===== テキストエリア ===== */
.fluentform textarea {
  height: calc(1.6rem * 6) !important;
  line-height: 1.6rem !important;
}

/* ===== フォーカス時 ===== */
.fluentform input[type="text"]:focus,
.fluentform input[type="email"]:focus,
.fluentform input[type="tel"]:focus,
.fluentform textarea:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ===== チェックボックス ===== */
.fluentform input[type="checkbox"] {
  -ms-transform: scale(1.5, 1.5);
  -webkit-transform: scale(1.5, 1.5);
  transform: scale(1.5, 1.5);
  margin-bottom: 20px;
  background: transparent !important;
  width: auto !important;
  padding: 0 !important;
}

/* ===== チェックボックスラベル ===== */
.fluentform .ff-el-form-check-label {
  color: #f3f2ea !important;
  font-size: 1rem !important;
}

/* ===== エラーメッセージ ===== */
.fluentform .error {
  background-color: #b70000 !important;
  color: rgba(243, 242, 234, 0.7) !important;
  font-size: 100% !important;
  display: inline-block !important;
  margin-top: 10px !important;
  padding: 5px 10px !important;
}

/* ラベル補足テキスト */
.fluentform .ff-label-note {
  display: block;
  font-size: 0.8rem;
  color: #f3f2ea;
  font-weight: normal;
  margin-top: 2px;
}

/* ===========================
   ボタン共通
=========================== */
.fluentform .ff-btn-next,
.fluentform .ff-btn-prev,
.fluentform .ff-btn-submit {
  border: none !important;
  border-radius: 0 !important;
  font-size: 20px !important;
  padding: 12px 30px !important;
  transition: all 0.4s ease !important;
  cursor: pointer !important;
  float: none !important;
}

/* 進む・送信ボタン */
.fluentform .ff-btn-next,
.fluentform .ff-btn-submit {
  background: #855b32 !important;
  color: #f3f2ea !important;
}
.fluentform .ff-btn-next:hover,
.fluentform .ff-btn-submit:hover {
  background: #c4941d !important;
}

/* 戻るボタン */
.fluentform .ff-btn-prev {
  background: rgba(243, 242, 234, 0.2) !important;
  color: #f3f2ea !important;
}
.fluentform .ff-btn-prev:hover {
  background: #855b32 !important;
}

/* ===========================
   ボタンエリア中央揃え
   （ステップ1：確認画面へ進む）
=========================== */
.fluentform .step-nav {
  display: flex !important;
  justify-content: center !important;
}

/* ===========================
   ボタンエリア中央揃え
   （ステップ2：戻る・送信する）
=========================== */
.fluentform .ff-inner_submit_container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
}

/* カラム幅リセット */
.fluentform .ff-inner_submit_container .ff-t-cell,
.fluentform .ff-inner_submit_container .ff-t-column-1,
.fluentform .ff-inner_submit_container .ff-t-column-2 {
  float: none !important;
  width: auto !important;
  flex: none !important;
  padding: 0 !important;
}

/* インラインstyle の float を強制リセット */
.fluentform .ff-inner_submit_container .ff-btn-prev,
.fluentform .ff-inner_submit_container .ff-btn-submit {
  float: none !important;
  margin: 0 !important;
}

.fluentform .ff-inner_submit_container .ff-el-group {
  margin-bottom: 0 !important;
}

/* ===========================
   確認画面テーブル
=========================== */
.hg-confirm {
  padding: 10px 0;
}
.hg-confirm-lead {
  text-align: center;
  margin-bottom: 20px;
  color: #c4941d;
  font-size: 1.1rem;
}
.hg-confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.hg-confirm-table th,
.hg-confirm-table td {
  padding: 8px 0;
  border-bottom: 1px solid #d6d4c8;
  vertical-align: top;
  text-align: left;
  display: block !important;
}
.hg-confirm-table th {
  color: #c4941d;
  font-weight: normal;
  border-bottom: none !important;
  padding-bottom: 4px;
}
.hg-confirm-table td {
  color: #f3f2ea;
  padding-top: 0;
  padding-bottom: 12px;
}
/* 確認画面 チェックボックス値を縦並び */
.hg-confirm-table td .hg-check-item {
  display: block;
}
//完了画面
.ff-message-success {
  border: none !important;
}

/* 商品お問い合わせ：商品情報表示 */
.hg-item-info {
  margin-bottom: 20px;
}
.hg-item-ttl {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 4px;
}
.hg-item-id,
.hg-item-url {
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.hg-item-url a {
  color: inherit;
  text-decoration: underline;
}
