/* =========================
   基本設定
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #333;
  background: #f7f8fb;
  line-height: 1.9;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* =========================
   メインエリア
========================= */
.policy-wrapper {
  width: 100%;
  padding: 40px 16px 60px;
}

.policy-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* =========================
   見出し
========================= */
.policy-title {
  margin: 0 0 32px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #222;
}

.policy-section + .policy-section {
  margin-top: 40px;
}

.policy-heading {
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 5px solid #4a6cf7;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
}

.policy-subheading {
  margin: 32px 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #2f3a56;
}

/* =========================
   本文
========================= */
.policy-container p {
  margin: 0 0 16px;
  font-size: 15px;
  color: #444;
  word-break: break-word;
  overflow-wrap: break-word;
}

.policy-list {
  margin: 0 0 20px 1.2em;
  padding: 0;
}

.policy-list li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #444;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* =========================
   リンク
========================= */
a {
  color: #4a6cf7;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: break-word;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   site-footer
========================= */
.site-footer {
  width: 100%;
  padding: 28px 16px 36px;
  background: #fff;
  border-top: 1px solid #e5e7ee;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 14px;
  font-size: 12px;
  color: #999;
  word-break: break-word;
}

/* =========================
   footer
========================= */
.footer {
  width: 100%;
  text-align: center;
  padding: 20px 10px 40px;
  font-size: 12px;
  color: #666;
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-inner a {
  color: #666;
  text-decoration: none;
  margin: 0 5px;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* =========================
   スマホ対応
========================= */
@media (max-width: 767px) {
  .policy-wrapper {
    padding: 24px 12px 40px;
  }

  .policy-container {
    width: 100%;
    padding: 24px 16px;
    border-radius: 12px;
  }

  .policy-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .policy-heading {
    font-size: 20px;
    margin-bottom: 16px;
    padding-left: 10px;
  }

  .policy-subheading {
    font-size: 16px;
    margin-top: 24px;
  }

  .policy-container p,
  .policy-list li {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }

  .footer-inner span {
    display: none;
  }
}