/* プライバシーポリシーページ専用CSS */

/* プライバシーマークセクション - デスクトップ */
.p-mark-wrapper {
  width: 80%;
  padding: 25px 40px;
  display: flex;
  justify-content: center;
  border: solid #999 1px;
  margin: 90px auto;
}

.p-mark-desc-wrapper {
  margin: 0px 20px;
}

/* プライバシーマークセクション - スマートフォン */
@media screen and (max-width: 767px) {
  .p-mark-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding: 15px;
    margin: 40px auto !important;
  }

  .p-mark-desc-wrapper {
    margin: 0 0 15px 0;
  }

  /* SP表示でのインデント・マージン調整 */
  main {
    padding: 0 15px 30px !important;
  }

  h1 {
    margin-top: 32px !important;
    margin-bottom: 0 !important;
  }

  h2 {
    font-size: 1.2rem !important;
    margin-top: 32px !important;
  }

  h3 {
    font-size: 1.2rem !important;
    margin: 1.5rem 0 0.8rem !important;
  }

  h4 {
    font-size: 1.1rem !important;
    margin: 1.2rem 0 0.8rem !important;
  }

  h5 {
    font-size: 1rem !important;
    margin: 1rem 0 0.5rem !important;
  }

  p {
    margin-bottom: 0.8rem !important;
  }

  ol, ul {
    padding-left: 15px !important;
  }

  ol li, ul li {
    margin-bottom: 0.3rem !important;
  }

  /* ネストしたリストのインデント調整 */
  ol ul, ul ul, ol ol, ul ol {
    margin-left: 10px !important;
    margin-top: 3px !important;
    padding-left: 10px !important;
  }

  /* テーブルの調整 */
  table {
    margin-bottom: 1.5rem !important;
  }

  table th, table td {
    padding: 8px !important;
    font-size: 0.9rem !important;
  }

  /* セクション間のマージン調整 */
  .p-mark-wrapper + h3 {
    margin-top: 2rem !important;
  }

  /* 問い合わせボックスの調整 */
  div[style*="border: 1px solid #ddd"] {
    padding: 15px !important;
    margin: 1.5rem 0 !important;
  }

  /* 最下部のボタンエリア調整 */
  div[style*="display: flex; justify-content: center"] {
    margin-top: 2rem !important;
  }

  /* 問い合わせ窓口のdt要素の幅調整 */
  dt[style*="width: 40%"] {
    width: 80% !important;
  }
}
