/* --- 共通設定 --- */
body {
  margin: 0px;
  font-family: "Noto Serif JP", sans-serif;
  background-color: rgb(221, 223, 236);
  color: #111;
}

main {
  margin: 0px 0px;
}

a {
  text-decoration: none;   /* アンダーバーを消す */
  color: inherit;          /* 文字色を親要素に合わせる */
}

/* PCでは非表示、スマホでだけ改行を有効に */
.sp-only {
  display: none;
}

@media screen and (max-width: 600px) {
  .sp-only {
    display: inline;
  }
}

/* --- お問い合わせリンク（青系シンプル）--- */
.contact-link {
  color: #0073e6; /* 標準的な青 */
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}

.contact-link:hover {
  text-decoration: underline;
  color: #0056b3; /* 濃い青に変化してアクセント */
}

/* --- Contact Form 7 送信完了メッセージの装飾をリセット --- */
.wpcf7 form.sent .wpcf7-response-output {
  border: none !important;      /* 緑枠を消す */
  background: none !important;  /* 背景色も消す */
  color: #333 !important;       /* 文字色を通常に */
  padding: 0 !important;
  margin: 10px 0 !important;
  font-size: 15px;
  text-align: left;
}

/* --- Contact Form 7 エラーメッセージの枠を削除 --- */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border: none !important;        /* 枠線を消す */
  background: none !important;    /* 背景を消す */
  color: #c62828 !important;      /* 文字を赤系にして視認性を確保（お好みで） */
  padding: 0 !important;
  margin: 10px 0 !important;
  font-size: 15px;
  text-align: left;
}

/* --- 送信ボタン --- */
.wpcf7-submit {
  display: inline-block;
  padding: 7px 14px;
  background: #ff5792;
  color: #fffbf9;
  border: none;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.wpcf7-submit:hover {
  background: #fca2c1;
  transform: translateY(-2px);
}