/* お問い合わせフォーム（2026-10-15 トビラ）：MovableType.net フォームの見た目（custom.css）に合わせる */
.tb-form { max-width: 800px; margin: 0 auto; color: #44403A; }
.tb-form .tb-row { margin-bottom: 30px; }
.tb-form label { display: block; font-weight: normal; font-size: 15px; line-height: 2; }
.tb-form .badge { display: inline-block; margin-left: 20px; padding: 2px 8px; border-radius: 3px; font-size: 11px; line-height: 1.6; color: #fff; background: #999; vertical-align: middle; }
.tb-form .badge-required { background: #d9534f; }
.tb-form input[type="text"], .tb-form input[type="tel"], .tb-form input[type="email"], .tb-form textarea {
  width: 100%; box-sizing: border-box; font-size: 15px; line-height: 1.5; padding: 8px 20px;
  border: 1px solid rgba(68,64,58,0.5); border-radius: 4px; font-family: inherit; color: inherit; background: #fff; }
.tb-form textarea { height: 300px; resize: vertical; }
.tb-form select { font-size: 15px; line-height: 1.5; padding: 8px 15px; border: 1px solid rgba(68,64,58,0.5); border-radius: 4px; background: #fff; color: inherit; }
.tb-form .tb-row:nth-last-of-type(1), .tb-form .tb-row:nth-last-of-type(2) { margin-bottom: 60px; }
.tb-form .tb-row:last-of-type > label { display: none; }
.tb-form .wpcf7-acceptance { display: block; text-align: center; color: #4089C9; }
.tb-form .wpcf7-acceptance label { display: inline; }
.tb-form .tb-submit { text-align: center; }
.tb-form input[type="submit"] {
  color: #44403A; background: #fff; box-shadow: 0 3px 6px rgba(0,0,0,0.29); border: 1px solid #44403A; border-radius: 5px;
  width: 260px; height: 40px; font-size: 12px; letter-spacing: 1.2px; cursor: pointer; transition: all .5s; }
.tb-form input[type="submit"]:hover { border-color: #4089C9; color: #4089C9; }
.tb-form .wpcf7-not-valid-tip { color: #d9534f; font-size: 13px; }
.wpcf7 .wpcf7-response-output { max-width: 800px; margin: 20px auto 0; padding: 10px 20px; font-size: 15px; line-height: 1.8; }
.wpcf7-spinner { display: block; margin: 10px auto 0; }
@media screen and (max-width: 767px) {
  .tb-form label, .tb-form input, .tb-form select, .tb-form textarea { font-size: 14px; }
  .tb-form .badge { margin-left: 10px; }
}
