@charset "UTF-8";
/* ============================================================
   MeringueHack お問い合わせフォーム 専用スタイル
   ベーステンプレート: tp_cute2 (Template-Party) に合わせた
   ふんわりパステル調のデザイン。既存のサイトカラー(白基調)を
   損なわないよう、控えめな色味で構成しています。
   ============================================================ */

/* ---- セクション全体 ---- */
.contact-section{
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  color: #555;
  line-height: 1.8;
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",
               Meiryo,メイリオ,sans-serif;
}

/* ---- タイトル ---- */
.contact-title{
  text-align: center;
  margin: 0 0 30px;
  padding-bottom: 18px;
  position: relative;
  font-weight: normal;
  letter-spacing: 0.05em;
}
.contact-title .en{
  display: block;
  font-size: 32px;
  color: #d29bb3;          /* メレハのイメージに合うやさしいピンク */
  letter-spacing: 0.15em;
  font-family: "Georgia","Times New Roman",serif;
}
.contact-title .ja{
  display: block;
  font-size: 13px;
  color: #999;
  margin-top: 4px;
  letter-spacing: 0.3em;
}
.contact-title::after{
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #f3d6e1;
  margin: 18px auto 0;
  border-radius: 2px;
}

/* ---- リード文 ---- */
.contact-lead{
  text-align: center;
  font-size: 14px;
  margin: 0 0 28px;
  color: #666;
}

/* ---- 注意書きボックス ---- */
.contact-note{
  background: #fdf6f9;
  border: 1px solid #f3d6e1;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 12.5px;
  color: #777;
  margin: 0 0 36px;
  line-height: 1.9;
}
.contact-note p{ margin: 0; }

/* ---- 必須マーク ---- */
.required-mark{
  color: #e08aa3;
  font-weight: bold;
  margin-left: 2px;
}

/* ---- フォーム本体 ---- */
.contact-form{
  margin: 0;
}

.form-list{
  margin: 0 0 28px;
}
.form-list dt{
  font-size: 14px;
  font-weight: bold;
  color: #555;
  margin: 22px 0 8px;
}
.form-list dt:first-child{ margin-top: 0; }
.form-list dd{
  margin: 0;
}

/* ---- 入力欄 共通 ---- */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  color: #444;
  background: #fff;
  border: 1px solid #e6d4dc;
  border-radius: 6px;
  font-family: inherit;
  line-height: 1.6;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form textarea{
  resize: vertical;
  min-height: 160px;
}

/* プレースホルダー */
.contact-form ::placeholder{
  color: #bbb;
}

/* フォーカス時 */
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: #d29bb3;
  background: #fffafc;
  box-shadow: 0 0 0 3px rgba(210,155,179,.15);
}

/* バリデーションエラー時(任意) */
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown){
  border-color: #e8b7c4;
}

/* ---- ハニーポット（スパム対策・非表示） ---- */
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- 送信ボタン ---- */
.form-submit{
  text-align: center;
  margin: 36px 0 0;
}
.btn-send{
  display: inline-block;
  min-width: 220px;
  padding: 14px 40px;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #e8a4bd 0%, #d29bb3 100%);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  letter-spacing: 0.15em;
  box-shadow: 0 4px 12px rgba(210,155,179,.25);
  transition: transform .15s, box-shadow .2s, opacity .2s;
  font-family: inherit;
}
.btn-send:hover{
  opacity: .92;
  box-shadow: 0 6px 16px rgba(210,155,179,.35);
  transform: translateY(-1px);
}
.btn-send:active{
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(210,155,179,.25);
}
.btn-send:disabled{
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* ---- reCAPTCHA v3 プライバシー表記 ---- */
.recaptcha-notice{
  margin: 24px 0 0;
  text-align: center;
  font-size: 11px;
  color: #999;
  line-height: 1.7;
}
.recaptcha-notice a{
  color: #b389a0;
  text-decoration: underline;
}
.recaptcha-notice a:hover{
  color: #d29bb3;
}

/* ---- reCAPTCHA v3 バッジ非表示 ---- */
/* デザインを損なわないように右下バッジを隠します。
   非表示にする場合は上記の「プライバシー表記」をフォーム内に
   明示する必要があります（Googleの利用規約） */
.grecaptcha-badge{
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ============================================================
   スマホ対応（幅640px以下）
   ============================================================ */
@media screen and (max-width: 640px){
  .contact-section{
    padding: 24px 16px 60px;
  }
  .contact-title .en{ font-size: 26px; }
  .contact-lead{ font-size: 13px; text-align: left; }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea{
    font-size: 16px;  /* iOSで自動ズームされない最低サイズ */
  }
  .btn-send{
    width: 100%;
    min-width: 0;
  }
}
