/* 本体のプライバシーポリシーページ（2026年リニューアル）。共通部品は base.css。
   テーマの body.page-policy（見出し帯の背景写真）だけ使い、旧 .policy の組み方は使わない。文章は旧ページのまま。 */

/* ページタイトルを h1 にしたぶんの調整（テーマは h2＋div で組んでいた） */
.pageTitle__title {
  margin: 0;
}

.pageTitle__title__main,
.pageTitle__title__sub {
  display: block;
}

/* 目次から飛んだとき、固定ヘッダーの下に見出しが隠れないようにする */
body.page-policy [id] {
  scroll-margin-top: 100px;
}

@media print, screen and (max-width: 896px) {
  body.page-policy [id] {
    scroll-margin-top: 72px;
  }
}

.rt-pcpage {
  margin: 0 auto;
  max-width: 890px;
  padding: 30px 15px 0;
}

/* ---------- 目次 ---------- */
.rt-pctoc {
  background-color: var(--rt-pale);
  border-radius: 6px;
  margin: 0 0 20px;
  padding: 24px 30px 26px;
}

.rt-pctoc__title {
  color: var(--rt-navy);
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0 0 12px;
}

.rt-pctoc ol {
  display: grid;
  gap: 8px 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.rt-pctoc a {
  color: var(--rt-navy);
  display: inline-block;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  padding-left: 18px;
  position: relative;
  text-decoration: none;
  word-break: keep-all;
}

.rt-pctoc a::before {
  border-bottom: solid 2px var(--rt-gold);
  border-right: solid 2px var(--rt-gold);
  content: '';
  height: 6px;
  left: 2px;
  position: absolute;
  top: .55em;
  transform: rotate(45deg);
  width: 6px;
}

.rt-pctoc a:hover,
.rt-pctoc a:focus-visible {
  text-decoration: underline;
}

@media print, screen and (max-width: 600px) {
  .rt-pctoc {
    padding: 20px 18px 22px;
  }
  .rt-pctoc ol {
    grid-template-columns: 1fr;
  }
  .rt-pctoc a {
    font-size: 14px;
  }
}

/* ---------- 各項目 ---------- */
.rt-pcsec {
  border-bottom: 1px solid var(--rt-line);
  padding: 40px 0 42px;
}

/* 最後の項目の下はフッターなので線を引かない */
.rt-pcsec:last-child {
  border-bottom: 0;
}

.rt-pcsec h2 {
  align-items: baseline;
  color: var(--rt-navy);
  display: flex;
  font-family: var(--rt-mincho);
  font-size: 24px;
  gap: 12px;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.rt-pcsec__num {
  color: var(--rt-gold);
  flex: 0 0 auto;
  font-size: 28px;
}

.rt-pcsec p {
  font-size: 15px;
  line-height: 2;
  margin: 0 0 12px;
}

.rt-pcsec p:last-child {
  margin-bottom: 0;
}

/* 利用目的の一覧 */
.rt-pclist {
  display: grid;
  gap: 8px 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.rt-pcsec .rt-pclist + p {
  margin-top: 24px;
}

.rt-pclist li {
  font-size: 15px;
  line-height: 1.8;
  padding-left: 1.2em;
  position: relative;
}

.rt-pclist li::before {
  background-color: var(--rt-gold);
  border-radius: 50%;
  content: '';
  height: 6px;
  left: 3px;
  position: absolute;
  top: .8em;
  width: 6px;
}

/* 5.の案内先（Googleのページ）：1列で、段落の前後に置く */
.rt-pclist--links {
  grid-template-columns: 1fr;
  margin: 0 0 12px;
}

.rt-pclist--links:last-child {
  margin-bottom: 0;
}

.rt-pclist--links a {
  color: var(--rt-navy);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 折り返さない単位（inline-block）には下線が引き継がれないので、同じ線を引く */
.rt-pclist--links a .rt-nowrap {
  text-decoration: inherit;
  text-underline-offset: inherit;
}

/* 個人情報の管理の5項目：項目名＋説明 */
.rt-pcitems {
  border-top: 1px solid var(--rt-line);
  counter-reset: pcitem;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.rt-pcitems li {
  border-bottom: 1px solid var(--rt-line);
  counter-increment: pcitem;
  display: grid;
  gap: 4px 24px;
  grid-template-columns: 200px minmax(0, 1fr);
  padding: 16px 0;
}

/* 一覧の最後の線は、項目の区切り線と重なるので引かない */
.rt-pcitems li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rt-pcitems strong {
  color: var(--rt-navy);
  font-size: 15px;
  line-height: 1.9;
}

.rt-pcitems strong::before {
  color: var(--rt-gold);
  content: counter(pcitem) ")";
  display: inline-block;
  margin-right: 8px;
  min-width: 1.4em;
}

.rt-pcitems span {
  font-size: 15px;
  line-height: 1.9;
}

/* お問い合わせ窓口 */
.rt-pccontact {
  background-color: #ffffff;
  border: 1px solid var(--rt-line);
  border-radius: 6px;
  border-top: 3px solid var(--rt-gold);
  margin: 24px 0 0;
  padding: 24px 30px 26px;
}

.rt-pccontact__title {
  color: var(--rt-navy);
  font-family: var(--rt-mincho);
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0 0 4px;
}

.rt-pccontact__person {
  font-size: 15px;
  margin: 0 0 14px;
}

.rt-pccontact dl {
  border-top: 1px solid var(--rt-line);
  margin: 0;
}

.rt-pccontact dl div {
  border-bottom: 1px solid var(--rt-line);
  display: grid;
  gap: 16px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 10px 0;
}

.rt-pccontact dt {
  color: var(--rt-navy);
  font-size: 14px;
  font-weight: bold;
}

.rt-pccontact dd {
  font-size: 15px;
  margin: 0;
  overflow-wrap: anywhere;
}

.rt-pccontact dd a {
  color: var(--rt-navy);
  font-weight: bold;
}

.rt-pcdate {
  color: #666666;
  font-size: 14px;
  margin: 24px 0 0;
  text-align: right;
}

@media print, screen and (max-width: 768px) {
  .rt-pclist {
    grid-template-columns: 1fr;
  }
  .rt-pcitems li {
    grid-template-columns: 1fr;
  }
}

@media print, screen and (max-width: 480px) {
  .rt-pcpage {
    padding-top: 20px;
  }
  .rt-pcsec {
    padding: 32px 0 34px;
  }
  .rt-pcsec h2 {
    font-size: 20px;
    gap: 10px;
  }
  .rt-pcsec__num {
    font-size: 24px;
  }
  .rt-pcsec p,
  .rt-pclist li,
  .rt-pcitems strong,
  .rt-pcitems span {
    font-size: 14px;
  }
  .rt-pccontact {
    padding: 20px 18px 22px;
  }
  .rt-pccontact dl div {
    gap: 2px;
    grid-template-columns: 1fr;
  }
}
