/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 06 2025 | 10:33:37 */
.contact-section {
	max-width: 1000px;
	height: auto;
	margin: 0 auto;
}

.contact-text {
	font-family: "Noto Sans JP", sans-serif;
	font-size:16px;
	line-height: 1.5;
	margin-top: 70px;
}

.button-1 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 5px 20px 8px;
    border: 1px solid #C41515;
    border-radius: 25px;
    background-color: #C41515;
    color: #fff;
    font-size: 16px;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 500;
    text-decoration: none; 
    cursor: pointer; 
    box-sizing: border-box; 
	margin: 20px 0 50px;
}


.custom-form {
  margin: 0 auto;
　box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  max-width: 1000px;
  width: 100%;
}

/* ラベル */
.custom-form label {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 14px;
}

/* 必須マーク */
.custom-form .required {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 6px;
  font-size: 12px;
  color: #fff;
  background-color: #C41515;
  border-radius: 3px;
  font-weight: bold;
}

/* 入力フィールド */
.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 2px solid #C41515;
  border-radius: 5px;
  background: #fff;
  font-size: 16px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
  /* ←これで右にはみ出さない */
}

.custom-form input[type="text"]:focus,
.custom-form input[type="email"]:focus,
.custom-form input[type="tel"]:focus,
.custom-form textarea:focus {
  border-color: #C41515;
  outline: none;
  background: #fff;
}

/* 見本の文字色 */
.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #a3a3a3; /* 好きな色に変更 */
	font-family: "Noto Sans JP", sans-serif;
}

/* 送信ボタン */
.custom-form input[type="submit"] {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  background: #C41515;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
	margin-top:30px;
}

.custom-form input[type="submit"]:hover {
  background: #A51111;
}

/* 送信完了メッセージのカスタマイズ */
.wpcf7 form.sent .wpcf7-response-output {
  max-width: 800px;
  margin: 20px auto 0 auto;
  background-color: #fff;
  color: #C41515;
  border: 2px solid #C41515;
  font-family: "Noto Sans JP", sans-serif;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

/* メッセージの間に余白を追加 */
.wpcf7 form.sent .wpcf7-response-output p {
  font-size: 16px;
  line-height: 1.5;
}

/* メッセージが表示された時にアニメーション */
.wpcf7 form.sent .wpcf7-response-output {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

/* アニメーションの定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}