/* --- フォーム全体のレイアウト --- */
.contact_box_inner {
  max-width: 845px; /* 入力欄が広がりすぎないように制限 */
  margin: 0 auto 40px;
}

.form-item {
  margin-bottom: 25px; /* <p><br></p>の代わりの余白 */
}

/* --- 入力フィールドの統一 --- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100% !important;
  max-width: 100% !important;
  background: #fff;
  border: 1px solid #ddd; /* 枠線を薄く追加して清潔感を出す */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05); /* シャドウを柔らかく */
  border-radius: 8px; /* 角丸を少し抑えてモダンに */
  font-size: 16px;
  padding: 15px 20px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #117744; /* フォーカス時にPONPONグリーン */
  box-shadow: 0px 4px 12px rgba(17, 119, 68, 0.15);
}

/* --- プライバシーポリシーの見出し --- */
h4.contact_form_ttl {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700; /* 極太 */
  color: #333;
  margin: 60px 0 30px;
}

/* --- プライバシーポリシーのボックス --- */
.policy-box {
  border: 1px solid #ccc;
  height: 250px;
  overflow: auto;
  border-radius: 8px;
  background-color: #fff;
  color: #666;
  margin: 0 auto 30px;
  padding: 30px;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 800px;
}

.policy-box h5 {
  font-weight: 900;
  color: #333;
  margin: 25px 0 10px;
  font-size: 1rem;
}

.policy-date {
  margin-top: 30px;
  text-align: right;
}

/* --- 同意チェック項目 --- */
.acceptance-wrapper {
  margin: 30px auto;
  line-height: 2;
  text-align: left;
  display: table;
  width: fit-content;
  font-weight: bold;
  color: #333;
}

/* --- 送信ボタンの統合 --- */
.submit-wrapper {
  text-align: center;
  margin-top: 40px;
}

input.sub-btn {
  width: 320px;
  height: 70px;
  background: #117744; /* 緑に変更（サイトカラーに統一） */
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  border: none;
  border-radius: 50px; /* 丸いボタンで親しみやすさを */
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(17, 119, 68, 0.3);
}

@media (max-width: 400px) {
  input.sub-btn {
    width: 100%;
  }
}

input.sub-btn:hover {
  background: #0d5c35;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 119, 68, 0.4);
}

.wpcf7-spinner {
  display: none !important;
}
