/* お問い合わせフォーム全体のスタイル */
form {
  padding: 20px; /* 上下左右に20px余白 */
  max-width: 500px;
  margin: 100px auto 200px auto; /* 上100px、左右中央、下200px */
}

/* ラベル */
label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
}

/* テキスト、メール、テキストエリア、セレクト共通スタイル */
input, textarea, select {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 18px; /* padding統一 */
  margin-top: 10px;
  border: 5px solid #000000; /* 黒の枠線 */
  font-size: 17px;
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  transition: border-color 0.3s ease;
}

/* テキストエリアは縦のみリサイズ可能 */
textarea {
  resize: vertical;
}

/* セレクトボックスの背景矢印 */
select {
  padding: 15px 50px 15px 18px; /* 右側に余裕を持たせる */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("../img/toggle.svg") no-repeat right 20px center;
  background-color: #FFFFFF;
  background-size: 20px 20px;
}

/* 入力欄フォーカス時は枠線を黄色に */
input:focus,
textarea:focus,
select:focus {
  border-color: #f4a11a;
  outline: none;
}

/* 送信ボタン */
.submit-btn {
  flex: 0 0 23%;
  box-sizing: border-box;
  display: inline-block;
  text-decoration: none;
  padding: 18px 30px;
  background-color: #fbc71c;
  color: #000000;
  border: 5px solid #000000;
  border-radius: 9px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 3px 3px 0 #000000;
  transition: all 0.2s ease;
  outline: none;
  position: relative;
  transform: translate(0, 0);
  text-align: center;
  white-space: nowrap;
  word-break: break-word;
  margin-top: 80px;
}

/* 送信ボタンホバー時 */
.submit-btn:hover {
  background-color: #ec6d38;
  box-shadow: none;
  transform: translate(3px, 3px);
}

/* Contact Form 7 基本フォームスタイル */
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto 50px auto;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
}

/* Contact Form 7 入力欄共通 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 25px 15px;  /* 上下を20pxに増やして高さUP */
  border: 5px solid #000000; /* 黒の枠線 */
 
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

/* Contact Form 7 入力欄フォーカス時 */
.wpcf7-form input[type="submit"] {
  border: 6px solid #000; /* 普通の線は黒 */
  /* 他のスタイルはそのまま */
}

.wpcf7-form input[type="submit"]:hover {
  border-color: #000; /* ホバー時も線は黒 */
  background-color: #ec6d38; /* 背景だけオレンジ */
  box-shadow: none;
  transform: translate(6px, 6px);
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  color: red;
  font-weight: bold;
  margin-top: -0.8rem;
  margin-bottom: 1rem;
  display: block;
  font-size: 0.9rem;
}

/* 送信完了メッセージ */
.wpcf7-mail-sent-ok {
  color: #333;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 2px solid #f4a11a;
  padding: 10px 20px;
  border-radius: 6px;
  background-color: #fff8e1;
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
  .wpcf7-form {
    padding: 0 1rem;
  }

  .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 15px 0;
  }
}

/*個々から追加要素*/

.message-send {
  max-width: 800px; /* 幅調整 */
  margin: 0 auto;   /* 中央寄せ */
  padding: 20px;
  font-family: 'Yu Gothic', 'Hiragino Kaku Gothic Pro', Meiryo, sans-serif;
  color: #333;
}

.message-send .info-item {
  margin-bottom: 30px; /* 各セットの間隔 */
}

.message-send .big-title {
  font-size: 1.2rem;  /* 大きめ文字 */
  font-weight: bold;
  margin-bottom: 8px;
  color: #222;
}

.message-send .description {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  margin: 0;
}


