/* =============================================
   Privacy Policy Page Styles
   Figma: Corporate2026 / Privacy_PC (2649:1498)
   記事型テンプレート。事例ページなどにも流用する想定なので、
   クラス名は pv- で統一し、数値は Figma の値をそのまま使う。
   ============================================= */

.header-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

/* 共通CSSの .lp-page { overflow-x: hidden } は要素をスクロールコンテナ扱いにし、
   目次の position: sticky が効かなくなる。clip なら横のはみ出しは切りつつ sticky が動く */
.lp-page {
  overflow-x: clip;
}

.pv-page {
  padding-top: 79px; /* 固定ヘッダーの高さ */
  font-size: 16px;
  color: #1a1a1a;
  background: #fff;
}

.pv-page a {
  color: inherit;
}

/* --- パンくず --- */
.pv-breadcrumb {
  padding: 20px 0;
}

.pv-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1160px; /* 1120 + 左右の余白20 */
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.pv-breadcrumb-inner a {
  color: #2b426d;
  transition: opacity 0.3s;
}

.pv-breadcrumb-inner a:hover {
  opacity: 0.7;
}

.pv-breadcrumb-sep {
  color: #bcc2bf;
}

.pv-breadcrumb-current {
  font-weight: 500;
  color: #1a1a1a;
}

/* --- タイトル枠 --- */
.pv-title {
  padding: 48px 0;
  border-bottom: 1px solid #e3e5e8;
}

.pv-title-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1160px; /* 1120 + 左右の余白20 */
  margin: 0 auto;
  padding: 0 20px;
}

.pv-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #b09253;
}

.pv-title-jp {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.pv-title-en {
  font-family: "Futura", "Poppins", sans-serif;
  font-weight: 500;
  font-size: 54px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.pv-h1 {
  font-weight: 900;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #1a1a1a;
}

.pv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #8a8a8a;
}

/* --- 記事エリア --- */
.pv-article {
  padding: 64px 0 104px;
}

.pv-grid {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  max-width: 1160px; /* 1120 + 左右の余白20 */
  margin: 0 auto;
  padding: 0 20px;
}

.pv-body {
  display: flex;
  flex-direction: column;
  gap: 64px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 776px;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #5a5a5a;
}

.pv-chapter {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pv-chapter-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pv-chapter-no {
  font-family: "Futura-CondensedMedium", "Futura", "Poppins", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #5380d3;
}

.pv-chapter-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}

.pv-rule {
  width: 100%;
  height: 1px;
  border: 0;
  background: #e3e5e8;
}

.pv-h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}

.pv-sub {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}

.pv-p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #5a5a5a;
  overflow-wrap: anywhere;
}

.pv-body a:not(.pv-link) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.3s;
}

.pv-body a:not(.pv-link):hover {
  opacity: 0.7;
}

.pv-link {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #b09253;
  transition: opacity 0.3s;
}

.pv-page a.pv-link {
  color: #b09253;
}

.pv-link:hover {
  opacity: 0.7;
}

/* --- 箇条書き（6pxの金丸 + 8px） --- */
.pv-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.pv-list li {
  position: relative;
  padding-left: 14px;
  overflow-wrap: anywhere;
}

.pv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b09253;
}

/* --- 外部送信の表 --- */
.pv-table {
  width: 100%;
  border: 1px solid #e3e5e8;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.pv-table tr + tr {
  border-top: 1px solid #e3e5e8;
}

.pv-table th,
.pv-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.pv-table th {
  width: 224px;
  font-weight: 500;
  color: #1a1a1a;
  background: #f5f5f2;
}

.pv-table td {
  width: 276px;
  font-weight: 400;
  color: #5a5a5a;
}

.pv-date {
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #5a5a5a;
}

/* --- 目次（サイドバー） --- */
.pv-toc {
  position: sticky;
  top: 103px; /* ヘッダー79 + 24 */
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 280px;
  width: 280px;
  padding: 24px;
  background: #f5f5f2;
}

.pv-toc-label {
  font-family: "Futura-CondensedMedium", "Futura", "Poppins", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #5380d3;
}

.pv-toc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.pv-toc-list a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #5a5a5a;
  transition: opacity 0.3s;
}

.pv-toc-list a:hover {
  opacity: 0.7;
}

.pv-toc-no {
  flex-shrink: 0;
  font-family: "Futura-CondensedMedium", "Futura", "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.pv-toc-text {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  padding-top: 1px;
}

/* 目次リンクでジャンプした時にヘッダーの下に隠れないようにする */
.pv-chapter {
  scroll-margin-top: 103px;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
  .pv-grid {
    flex-direction: column;
    gap: 48px;
  }

  .pv-toc {
    position: static;
    order: -1;
    flex: none;
    width: 100%;
  }

  .pv-body {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .pv-page {
    padding-top: 70px;
  }

  .pv-title {
    padding: 32px 0;
  }

  .pv-title-inner,
  .pv-breadcrumb-inner,
  .pv-grid {
    padding: 0 16px;
  }

  .pv-title-row {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .pv-title-jp {
    font-size: 18px;
  }

  .pv-title-en {
    font-size: 32px;
    line-height: 1.3;
  }

  .pv-h1 {
    font-size: 28px;
  }

  .pv-article {
    padding: 40px 0 64px;
  }

  .pv-body {
    gap: 48px;
  }

  .pv-chapter-no {
    font-size: 28px;
  }

  .pv-chapter-title {
    font-size: 20px;
  }

  .pv-h3 {
    font-size: 18px;
  }

  /* 表は3列を保てないので、見出し行を上に置いて縦に積む */
  .pv-table,
  .pv-table tbody,
  .pv-table tr,
  .pv-table th,
  .pv-table td {
    display: block;
    width: 100%;
  }

  .pv-table td + td {
    border-top: 1px dashed #e3e5e8;
  }

  /* 列名の行は各セルのラベルに置き換わるので隠す */
  .pv-table-cols {
    display: none;
  }

  /* 縦積みにすると列が分からなくなるので、各セルの先頭に列名を出す */
  .pv-table td::before {
    content: attr(data-col);
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #b09253;
  }

  .pv-toc {
    padding: 20px;
  }
}
