/* ===== ページ固有スタイル: プライバシーポリシー ===== */

/* ===== ページヒーロー ===== */
.page-hero {
  background: var(--bg-light);
  padding: 48px 0;
  color: #1a1a1a;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  margin-bottom: 20px;
  opacity: .8;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(90, 60, 55, 0.75); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { opacity: .5; }
.page-hero-label {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  display: inline-block;
  padding: 3px 16px;
  border-radius: 2px;
  margin-bottom: 16px;
  letter-spacing: .1em;
}
.page-hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
}
.page-hero-meta {
  font-size: 1.4rem;
  opacity: .75;
  line-height: 1.7;
}

/* ===== メインレイアウト ===== */
.privacy-body { padding: 64px 0 80px; }
.privacy-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}

/* ===== 目次（サイドバー） ===== */
.toc-card {
  position: sticky;
  top: 88px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}
.toc-card-head {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-list {
  list-style: none;
  padding: 8px 0;
  counter-reset: toc-item;
}
.toc-list li { counter-increment: toc-item; }
.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 20px;
  font-size: 1.4rem;
  color: #444;
  line-height: 1.5;
  border-bottom: 1px solid var(--bg-light);
  transition: background var(--transition), color var(--transition);
}
.toc-list li:last-child a { border-bottom: none; }
.toc-list a:hover { background: var(--bg-light); color: var(--primary); }
.toc-list a::before {
  content: counter(toc-item) '.';
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 18px;
  font-size: 1.3rem;
}

/* ===== 本文 ===== */
.privacy-content { font-size: 1.6rem; color: #333; line-height: 1.9; }

/* 改定日バー */
.policy-date-bar {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 22px;
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.policy-date-bar strong { color: #444; }

/* 基本方針ボックス */
.policy-summary {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 48px;
  font-size: 1.6rem;
  line-height: 1.9;
}
.policy-summary-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 14px; }

/* セクション見出し */
.privacy-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 48px 0 18px;
  padding: 14px 20px;
  background: var(--bg-light);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  scroll-margin-top: 100px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 10px;
}
.privacy-content h2:first-of-type { margin-top: 0; }
.privacy-content h2 .sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 900;
  flex-shrink: 0;
}
.privacy-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 28px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
}
.privacy-content p { margin-bottom: 16px; line-height: 1.9; }
.privacy-content p:last-child { margin-bottom: 0; }
.privacy-content strong { color: var(--primary); }
.privacy-content a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* リスト */
.privacy-content ul,
.privacy-content ol {
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.privacy-content ul li {
  padding-left: 20px;
  position: relative;
  line-height: 1.75;
  font-size: 1.5rem;
}
.privacy-content ul li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.0rem;
  top: 5px;
}
.privacy-content ol { counter-reset: ol-c; padding-left: 0; }
.privacy-content ol li {
  padding-left: 28px;
  position: relative;
  line-height: 1.75;
  font-size: 1.5rem;
}
.privacy-content ol li::before {
  content: counter(ol-c) '.';
  counter-increment: ol-c;
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--primary);
}

/* テーブル */
.privacy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.privacy-content table th,
.privacy-content table td {
  padding: 13px 18px;
  border: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.7;
}
.privacy-content table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-align: left;
}
.privacy-content table tbody tr:nth-child(even) { background: var(--bg-light); }

/* 注記ボックス */
.policy-note {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 14px;
}

/* 重要事項ボックス */
.policy-important {
  background: #fff8e1;
  border: 1px solid #f5a623;
  border-left: 4px solid #f5a623;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 1.5rem;
  color: #333;
  line-height: 1.8;
  margin: 14px 0;
}

/* 守秘義務ハイライト */
.policy-highlight {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 1.5rem;
  color: #333;
  line-height: 1.8;
  margin: 14px 0;
}

/* 問い合わせ先ボックス */
.contact-box {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 16px;
}
.contact-box-title { font-size: 1.7rem; font-weight: 700; margin-bottom: 16px; }
.contact-box dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  font-size: 1.5rem;
  line-height: 1.8;
}
.contact-box dt { font-weight: 700; opacity: .8; white-space: nowrap; }
.contact-box dd { opacity: .92; }
.contact-box a { color: var(--accent); font-weight: 700; }

/* 制定・改定日（末尾） */
.policy-date-end {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: right;
}
.policy-date-end p { font-size: 1.4rem; color: var(--text-muted); line-height: 1.8; }

/* ===== レスポンシブ（ページ固有） ===== */
@media (max-width: 1040px) {
  .privacy-layout { grid-template-columns: 1fr; }
  .toc-card { position: static; margin-bottom: 40px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 36px 0; }
  .page-hero h1 { font-size: 2.6rem; }
  .privacy-content h2 { font-size: 1.9rem; }
  .contact-box dl { grid-template-columns: 1fr; gap: 4px 0; }
  .contact-box dt { margin-top: 8px; }
  .contact-box dt:first-child { margin-top: 0; }
}
@media (max-width: 480px) {
  .page-hero h1 { font-size: 2.2rem; }
  .policy-date-bar { flex-direction: column; gap: 4px; }
}
