/* =========================================
   プライバシーポリシー専用CSS
   privacy.html
   ========================================= */

/* =========================================
   ページタイトル
   ========================================= */
.privacy-title-tag {
  writing-mode: horizontal-tb;
  padding: 4px 15px;
  font-size: 13px;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 15px;
}

.privacy-title-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  border-top: 1px solid var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
}

/* =========================================================
   1〜7条：ひとつの大きな枠
   ========================================================= */
.privacy-policy-card {
  width: 100%;
  padding: 30px 20px;
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #e0ded7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  box-sizing: border-box;
}

/* 各条文の区切り＋表示アニメーション
   js-scroll に依存せず、本文が消えない構成 */
.privacy-article {
  position: relative;
  padding: 0 0 25px;
  margin: 0 0 25px;
  border-bottom: 1px solid #ebe8e1;
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(24px);
  animation: privacyArticleIn 0.75s ease forwards;
}

.privacy-article:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.privacy-article:nth-child(1) { animation-delay: 0.10s; }
.privacy-article:nth-child(2) { animation-delay: 0.20s; }
.privacy-article:nth-child(3) { animation-delay: 0.30s; }
.privacy-article:nth-child(4) { animation-delay: 0.40s; }
.privacy-article:nth-child(5) { animation-delay: 0.50s; }
.privacy-article:nth-child(6) { animation-delay: 0.60s; }
.privacy-article:nth-child(7) { animation-delay: 0.70s; }

@keyframes privacyArticleIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   お問い合わせ：1〜7条とは別枠
   ========================================================= */
.privacy-contact-wrap {
  width: 100%;
  margin-top: 30px;
}

.privacy-contact {
  width: 100%;
  padding: 30px 20px;
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #e0ded7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(24px);
  animation: privacyContactIn 0.8s ease 0.85s forwards;
}

@keyframes privacyContactIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   スクロール動作を減らす設定の端末には配慮
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .privacy-article,
  .privacy-contact {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* =========================================================
   スマートフォン
   ========================================================= */
@media (max-width: 768px) {
  .privacy-policy-card {
    padding: 25px 15px;
  }

  .privacy-article {
    padding-bottom: 22px;
    margin-bottom: 22px;
  }

  .privacy-article h4,
  .privacy-contact h4 {
    font-size: 17px !important;
    margin-bottom: 18px !important;
  }

  .privacy-article p,
  .privacy-contact p,
  .privacy-list li {
    font-size: 14px;
    line-height: 1.9;
  }

  .privacy-contact-wrap {
    margin-top: 25px;
  }

  .privacy-contact {
    padding: 25px 15px;
  }
}

/* =========================================================
   リスト項目：点（マーカー）のみオレンジ
   ========================================================= */
.privacy-list {
  list-style: disc !important;
  padding-left: 1.5em !important;
}

.privacy-list li {
  color: inherit !important;
  padding-left: 0 !important;
}

/* page-common.css の疑似要素ドットを停止 */
.privacy-list li::before {
  display: none !important;
}

/* 実際の箇条書きの点だけオレンジ */
.privacy-list li::marker {
  color: var(--accent-color) !important;
}
