/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 24 2025 | 16:59:53 */
/* =========================
   CF7 お問い合わせフォーム
========================= */
.cf-turnstile {
	height: 0;
	opacity: 0;
}

.cf7-msf-hidden {
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.wpcf7-form input[type="submit"]:disabled,
.wpcf7-form button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.wpcf7-form input.wpcf7-submit.cf7-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}


.cf7-contact{
  max-width: 100%;
  margin: 0 auto;
}

/* 1行（ラベル + 入力） */
.cf7-contact .cf7-row{
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 22px 0;
}

/* テキストエリア行は上揃え */
.cf7-contact .cf7-row--textarea{
  align-items: flex-start;
}

/* 左ラベル */
.cf7-contact .cf7-label{
  position: relative;
  width: 240px;              /* ←左カラム幅。合わなければ調整 */
  padding-left: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #111;
}

/* 赤い縦バー */
.cf7-contact .cf7-label::before{
  content: "";
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 4px;
  height: 1.05em;
  background: #e60012;
}

/* ※必須 */
.cf7-contact .cf7-req{
  margin-left: 8px;
  font-weight: 700;
  color: #e60012;
  font-size: 0.9em;
}

/* 右入力側 */
.cf7-contact .cf7-field{
  flex: 1;
  max-width: 420px;          /* ←入力欄の見た目幅。合わなければ調整 */
}

/* CF7の生成する span を崩さない */
.cf7-contact .wpcf7-form-control-wrap{
  display: block;
}

/* input */
.cf7-contact .cf7-input{
  width: 100%;
  height: 44px;
  border: 1px solid #888;
  border-radius: 0;
  padding: 8px 12px;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

/* textarea */
.cf7-contact .cf7-textarea{
  width: 100%;
  min-height: 210px;         /* ←画像の大きめ欄に寄せ */
  border: 1px solid #888;
  border-radius: 0;
  padding: 12px;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
}

/* フォーカス */
.cf7-contact .cf7-input:focus,
.cf7-contact .cf7-textarea:focus{
  border-color: #e60012;
}

/* ボタン */
.cf7-contact .cf7-actions{
  text-align: center;
  margin-top: 34px;
}

.cf7-contact .cf7-submit,
.wpcf7-previous {
  margin: 0 10px;
  appearance: none;
  border: none;
  background: #e60012;
  color: #fff;
  font-weight: 700;
  padding: 16px 64px 16px 64px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  line-height: 1;
}

/* 右の矢印（画像の雰囲気） */
.cf7-contact .cf7-submit::after,
.wpcf7-previous::afte {
  content: "›";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
}

/* hover */
.cf7-contact .cf7-submit:hover{
  filter: brightness(0.95);
}

/* レスポンシブ：スマホは縦積み */
@media (max-width: 768px){
  .cf7-contact .cf7-row{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cf7-contact .cf7-label{
    width: auto;
  }
  .cf7-contact .cf7-field{
    max-width: none;
  }
}
