/* =========================================================
   cont2.css（整理・統合版）
   ※ 影響は body.cont2 内のみ
========================================================= */

/* =========================================================
   SEO説明ブロック
========================================================= */
body.cont2 .cont2-seo{
  max-width: 720px;
  margin: 60px auto 60px;
  padding: 0 12px;
  box-sizing: border-box;
}
body.cont2 .cont2-seo h2{
  font-size: 1.3rem;
  margin-bottom: 12px;
}
body.cont2 .cont2-seo p{
  line-height: 1.9;
}
body.cont2 .cont2-target{
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =========================================================
   フォーム全体（.fm）
========================================================= */
body.cont2 .fm{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

/* =========================================================
   カード（共通）
========================================================= */
body.cont2 .form-card{
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  padding: 18px 20px;
  margin: 0 auto 26px;
  box-sizing: border-box;
}

body.cont2 .form-card h3{
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 700;
}

body.cont2 .required-note{
  font-size: 0.85rem;
  font-weight: normal;
  color: #666;
}

body.cont2 .req{
  color: #c00;
  font-size: 0.85rem;
  margin-left: 6px;
}

/* =========================================================
   行・補足
========================================================= */
body.cont2 .form-row{
  margin-bottom: 16px;
}
body.cont2 .form-row:last-child{
  margin-bottom: 0;
}

body.cont2 .form-help{
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* =========================================================
   入力欄（重要：ラジオには当てない）
   ※ 以前の「.form-row input{width:100%}」が崩れの原因でした
========================================================= */
body.cont2 .form-card input[type="text"],
body.cont2 .form-card input[type="tel"],
body.cont2 .form-card input[type="email"],
body.cont2 .form-card input[type="url"],
body.cont2 .form-card input[type="number"]{
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  height: 40px;
}

body.cont2 .msr_select_05{
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  background: #fff;
  height: 40px;
}

body.cont2 .msr_textarea_05{
  width: 100%;
  max-width: 100%;
  padding: 10px 10px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* textarea プレースホルダー（薄い字） */
body.cont2 .msr_textarea_05::placeholder{
  color: #9a9a9a;
}

/* =========================================================
   商品情報・数量：2列レイアウト
========================================================= */
body.cont2 .form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px){
  body.cont2 .form-grid{
    grid-template-columns: 1fr;
  }
}

/* 商品備考：縦に伸ばす */
body.cont2 textarea.product-note{
  min-height: 140px;
  resize: vertical;
}

/* =========================================================
   納期・支払い・個装：コンパクト（横並び）
========================================================= */
body.cont2 .form-subtitle{
  font-weight: 700;
  margin: 0 0 8px;
}

/* 横並びの親 */
body.cont2 .radio-inline{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
}

/* 1項目（ラベル）を “横並び” に（●と文字がバラけない） */
body.cont2 .radio-inline label{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  line-height: 1.6;
  white-space: nowrap;
}

/* radio自体は幅を持たせない（これが重要） */
body.cont2 .radio-inline input[type="radio"]{
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* 備考欄（縦を少し長く） */
body.cont2 textarea.option-note{
  min-height: 120px;
  resize: vertical;
}

/* =========================================================
   送信ボタン：見やすく・押しやすく
========================================================= */

/* 送信ボタンを置くエリア（form-card内想定） */
body.cont2 .submit-area,
body.cont2 .button-area,
body.cont2 .form-submit{
  margin-top: 18px;
  text-align: center;
}

/* input submit / button submit 両対応 */
body.cont2 input[type="submit"],
body.cont2 button[type="submit"]{
  width: min(420px, 100%);
  height: 52px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;

  background: #e84b4b;          /* サイトの赤系に合わせる */
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;

  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}

/* hover */
body.cont2 input[type="submit"]:hover,
body.cont2 button[type="submit"]:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

/* active（押した感） */
body.cont2 input[type="submit"]:active,
body.cont2 button[type="submit"]:active{
  transform: translateY(1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.14);
}

/* キーボード操作の見やすさ */
body.cont2 input[type="submit"]:focus-visible,
body.cont2 button[type="submit"]:focus-visible{
  outline: 3px solid rgba(232,75,75,0.35);
  outline-offset: 3px;
}



/* 送信先iframeは非表示 */
.send-iframe{ width:1px; height:1px; border:0; }

/* 送信中表示 */
.sending{
  margin: 16px auto;
  width: min(720px, 100%);
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7fa;
  border: 1px solid #ffd2de;
  text-align:center;
  font-weight:700;
}

/* サンクス（中央） */
.thanks{
  display:flex;
  justify-content:center;
  padding:48px 16px;
}
.thanks-card{
  width:min(720px, 100%);
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:14px;
  padding:22px 18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  text-align:center;
}
.thanks-card h2{
  margin:0 0 10px;
  font-size:22px;
}
.thanks-lead{
  margin:0 0 16px;
  line-height:1.8;
}
.thanks-actions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 8px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  padding:12px 16px;
  border-radius:10px;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  font-weight:700;
}
.btn-primary{
  background:#FB607F;
  color:#fff;
  border-color:#FB607F;
}
.btn-ghost{
  background:#fff;
  border-color:#d8d8d8;
  color:#333;
}
.thanks-note{
  margin:14px 0 0;
  font-size:13px;
  color:#666;
}


/* hidden属性は必ず非表示にする（thanks/sending など） */
[hidden]{ display:none !important; }





.thanks-preview{
  text-align:left;
  margin:16px 0 12px;
  padding:14px;
  border-radius:12px;
  background:#fafafa;
  border:1px solid #eee;
  font-size:14px;
  line-height:1.7;
}
.thanks-preview .row{ margin:6px 0; }
.thanks-preview .k{ font-weight:700; display:inline-block; min-width:10em; }
.thanks-preview .v{ }





/* ▼ 入力エラー表示 */
.input-error {
  border: 2px solid #e53935 !important;
  background: #fff5f5;
}

.input-error:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(229,57,53,0.2);
}
