@charset "utf-8";
/* お問い合わせフォーム（agipro-parts contact-form-php）の見た目。表の基本の形は form.css。 */

.agipro-cf-testmode {
  margin: 0 0 20px; padding: 10px 15px;
  background: #fff3cd; border: 1px solid #e0c36c; text-align: center;
}
.agipro-cf-notice {
  margin: 0 0 20px; padding: 10px 15px;
  background: #fbeaec; border: 1px solid #ca0e1d; color: #a50b17; font-weight: bold;
}
.agipro-cf-error { display: block; margin-top: 6px; color: #ca0e1d; font-size: 0.9rem; font-weight: bold; }
.agipro-cf-confirm-value { white-space: pre-wrap; word-break: break-all; }

.agipro-cf input[type="text"],
.agipro-cf input[type="email"],
.agipro-cf input[type="tel"],
.agipro-cf textarea {
  width: 100%; box-sizing: border-box;
  padding: 8px 10px; border: 1px solid #767676; border-radius: 4px;
  font-size: 1rem; background: #fff;
}
.agipro-cf input:focus,
.agipro-cf textarea:focus { outline: 3px solid rgba(50, 118, 60, 0.35); border-color: #32763c; }
.agipro-cf textarea { min-height: 12em; resize: vertical; }

.agipro-cf span.any {
  background: #767676; color: #fff; font-size: 0.85rem;
  padding: 2px 4px; margin-right: 0.3rem; border-radius: 4px;
}

.agipro-cf-agree { margin: 0 0 20px; padding: 12px 15px; background: #EDF5FA; border: 1px solid #ccc; }
.agipro-cf-agree label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; font-weight: bold; }
.agipro-cf-agree input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.agipro-cf-agree a { color: #1a6fb0; text-decoration: underline; }
.agipro-cf-agree-link { margin: 10px 0 0 28px; font-size: 14px; }
.agipro-cf-agree-note { margin: 4px 0 0 28px; font-size: 14px; color: #555; }

.agipro-cf-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 60px; }  /* ボタンの下にゆとり（フッターとの間） */
@media (max-width: 767px) { .agipro-cf-buttons { margin-bottom: 40px; } }
.agipro-cf-buttons button { margin: 0; cursor: pointer; }
.agipro-cf-buttons .agipro-cf-back { background: #fff; color: #333; border: 1px solid #767676; }
