/* ========== LP専用スタイル（template-lp.php 用） ========== */

/* ベース（全体） */
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

section {
  padding: 40px 20px;
}

.center-text { text-align: center; }
.gray-bg { background: #f5f5f5; }
.white-bg { background: #fff; }

h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

ul { padding-left: 20px; }
li { margin-bottom: 6px; }

/* ボタン */
.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 8px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}
.btn.green { background: #4CAF50; color: #fff; }
.btn.blue  { background: #2196F3; color: #fff; }

/* フォーム */
form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
form button {
  display: inline-block;
  padding: 12px 24px;
  background: #2196F3;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}
form button:hover { opacity: 0.9; }


/* ========== LPテンプレート専用（ヘッダー/フッター無しの固定ページ） ========== */
/* すべて LP テンプレート（page-template-template-lp）にスコープしています */

/* レイアウトのリセット（親テーマ幅の制約を無効化） */
body.page-template-template-lp .l-container,
body.page-template-template-lp .c-entry {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}

/* LP内の中心カラム */
body.page-template-template-lp .lp-container {
  max-width: 1200px;       /* ← ここだけで幅を管理（1000px指定は削除） */
  margin: 0 auto;
  padding: 0 16px;
  text-align: left;
}

/* タイポグラフィ（PC基準） */
body.page-template-template-lp {
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.8;
  font-family: "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif; /* ベースと合わせた */
  color: #333;
}

/* 見出し（PC） */
body.page-template-template-lp h2 {
  font-size: 28px;
  margin-bottom: 1em;
}
body.page-template-template-lp h3 {
  font-size: 22px;
  margin-bottom: 0.5em;
}

/* 任意中央寄せユーティリティ */
body.page-template-template-lp .center-text { text-align: center; }

/* ========== スマホ（768px以下）はこの1本だけに統一 ========== */
@media screen and (max-width: 768px) {
  body.page-template-template-lp {
    font-size: 14px;
    line-height: 1.5;
  }

  body.page-template-template-lp h2 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 0.8em;
  }

  body.page-template-template-lp h3 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 0.6em;
  }

  body.page-template-template-lp p {
    margin-bottom: 1em;
  }

  /* 左右の詰まり防止 */
  body.page-template-template-lp .lp-container,
  body.page-template-template-lp section {
    padding-left: 14px;
    padding-right: 14px;
  }
}