.elementor-112 .elementor-element.elementor-element-7d1b5c3{--display:flex;--padding-top:100px;--padding-bottom:100px;--padding-left:100px;--padding-right:100px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-112 .elementor-element.elementor-element-c62d07e{text-align:center;}@media(max-width:767px){.elementor-112 .elementor-element.elementor-element-7d1b5c3{--padding-top:50px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}}/* Start custom CSS for shortcode, class: .elementor-element-a1e3d3f *//* --------------------------------------------------
   Contact Form 7 - Modern Scarlet Accent Style
   -------------------------------------------------- */

/* フォーム全体のスタイル */
.wpcf7 {
  background-color: #f9f9f9; /* やや明るい背景色 */
  padding: 30px;
  border-radius: 8px; /* 少し大きめの角丸 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* ソフトな影 */
  max-width: 600px; /* フォームの最大幅（必要に応じて調整） */
  margin-left: auto;
  margin-right: auto;
}

/* ラベルのスタイル */
.wpcf7 label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600; /* やや太めのフォント */
  color: #333;
  font-size: 0.95em;
}

/* テキスト入力、メールアドレス入力、テキストエリアなどの共通スタイル */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 input[type="password"], /* パスワード入力も考慮 */
.wpcf7 textarea,
.wpcf7 select { /* select要素もモダンに */
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd; /* 通常時は控えめな枠線 */
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1em;
  color: #555;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* スムーズな変化 */
}

/* 入力フィールドフォーカス時のスタイル (アクセントカラーを使用) */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 input[type="password"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #FF2400; /* スカーレットの枠線 */
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 36, 0, 0.15); /* スカーレットの薄い影 */
}

/* プレースホルダーのスタイル */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #aaa;
  opacity: 1; /* Firefoxで薄くなるのを防ぐ */
}

/* チェックボックス・ラジオボタンのモダンなスタイル (オプション) */
.wpcf7 .wpcf7-list-item { /* 各選択肢の間隔 */
  margin-bottom: 10px;
}
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  margin-right: 8px;
  vertical-align: middle;
  /* 必要であれば、より凝ったカスタムチェックボックス/ラジオボタンのCSSを追加 */
}
.wpcf7 .wpcf7-list-item-label {
  color: #555;
}

/* 承諾確認チェックボックスのラベル調整 */
.wpcf7 .wpcf7-acceptance label {
  display: inline-block;
  font-weight: normal;
  color: #555;
  font-size: 0.9em;
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  margin-right: 5px;
}


/* 送信ボタンのスタイル (アクセントカラーを使用) */
.wpcf7 input[type="submit"] {
  background-color: #E3292B; /* スカーレットの背景 */
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease; /* ホバー時のアニメーション */
  display: inline-block; /* 幅を内容に合わせる */
  text-transform: uppercase; /* 大文字にするなど（お好みで） */
  letter-spacing: 0.5px; /* 文字間隔 */
}

/* 送信ボタンマウスオーバー時のスタイル */
.wpcf7 input[type="submit"]:hover {
  background-color: #E3292B; /* 少し濃いスカーレット */
  transform: translateY(-2px); /* 少し浮き上がる効果 */
}
.wpcf7 input[type="submit"]:active {
  transform: translateY(0); /* クリック時に元に戻る */
}


/* 応答メッセージのスタイル */
.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.95em;
  border-width: 1px;
  border-style: solid;
}

/* 送信完了メッセージ */
.wpcf7 .wpcf7-mail-sent-ok {
  background-color: #e6f7f0; /* 優しい緑系の背景 */
  border-color: #5cb85c; /* 緑系の枠線 */
  color: #1c633d;
}

/* バリデーションエラーメッセージ（フォーム全体のエラー） */
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-spam-blocked, /* スパム判定 */
.wpcf7 .wpcf7-mail-sent-ng { /* 送信失敗 */
  background-color: #ffebee; /* 薄い赤系の背景 */
  border-color: #d32f2f; /* 少し濃い赤系の枠線 */
  color: #c62828;
}
/* バリデーションエラーメッセージでスカーレットをアクセントに使う場合 (代替案) */
/*
.wpcf7 .wpcf7-validation-errors {
  background-color: rgba(255, 36, 0, 0.05);
  border-color: #FF2400;
  color: #B71C1C;
}
*/


/* 個々のフィールドのエラーメッセージ（入力欄の下に表示されるもの） */
.wpcf7 span.wpcf7-not-valid-tip {
  color: #FF2400; /* スカーレットのテキスト */
  font-size: 0.9em;
  display: block;
  margin-top: -15px; /* フィールドとの間隔調整 */
  margin-bottom: 10px;
  font-weight: 500;
}

/* ローディングスピナーのスタイル */
.wpcf7 .ajax-loader {
  /* デフォルトはGIFアニメーションですが、CSSでカスタマイズも可能です */
  /* 例： filter: hue-rotate(150deg) brightness(1.5); などで色味を変更 */
}

/* レスポンシブ対応 (必要に応じて調整) */
@media (max-width: 768px) {
  .wpcf7 {
    padding: 20px;
  }
  .wpcf7 input[type="submit"] {
    width: 100%; /* スマホではボタン幅を100%にするなど */
    padding: 15px;
  }
}/* End custom CSS */