/* ============================================================
   サイトポリシー（policy）専用スタイル  /css/policy.css
   ============================================================ */

/* 共通main.cssの干渉をリセットし、
   文字の中央揃えと左右の適切なマージン（余白）を確実に両立させる 
*/
.policy-page-root {
  display: block !important;
  width: auto !important;         /* 横幅を自動計算にしてマージンを有効化 */
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-top: 80px !important;   /* 共通ヘッダー（44px〜）の下に配置するための上部余白 */
  padding-left: 2em !important;   /* 左側のマージンを強制確保 */
  padding-right: 2em !important;  /* 右側のマージンを強制確保 */
  text-align: center !important; 
  box-sizing: border-box !important;
}

/* タイトルを完全に中央へ */
.policy-page-root h1 {
  display: block !important;
  text-align: center !important;
  margin-top: 0 !important;
  margin-bottom: 1.5em !important;
  width: 100% !important;
}

/* 規約文章を囲む白いボックス */
.policy-box {
  width: 90%;
  max-width: 600px;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 2em;
  margin-left: auto;
  padding: 0.8em;
  background: #fff;
  border-radius: 8px;
  text-align: left;
  line-height: 1.6;
  font-size: 1em;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

/* 各項目の見出し */
.policy-box h3 {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  color: #121212;
}

/* 各項目のテキスト */
.policy-box p {
  margin-top: 0;
  margin-bottom: 1em;
}
