/* 規約・プライバシー・特商法表記（/terms・/privacy・/legal）。site.css の色と部品の上に重ねる。
   本文の字は多いので、Web フォント（予告ページの字だけに絞った woff2）は使わず端末の書体で出す。
   ロゴ「ペタリコ」だけは Mochiy Pop One（予告ページの字に含まれている）。 */

body {
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 400;
  line-height: 1.85;
}

.doc-head {
  max-width: 820px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 20px) var(--gut) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.doc-home { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.doc-home img { width: 44px; }
.doc-home .logo { font-size: 1.6rem; line-height: 1; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-nav a {
  font-size: .82rem; font-weight: 700; text-decoration: none;
  border: 2px solid var(--plum); border-radius: 999px; padding: .15em .9em; background: var(--card);
}
.doc-nav a[aria-current="page"] { background: var(--plum); color: var(--paper); }

.doc {
  max-width: 820px; margin: 20px auto 0;
  padding: 0 var(--gut);
}
.doc-card {
  background: var(--card);
  border: 2.5px solid var(--plum);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 48px);
}
.doc h1 { font-size: clamp(1.45rem, 5vw, 1.9rem); font-weight: 800; line-height: 1.4; }
.doc .doc-date { color: var(--sub); font-size: .88rem; margin-top: .4em; }
.doc .doc-lead { margin-top: 1.4em; }
.doc h2 {
  font-size: 1.12rem; font-weight: 800; line-height: 1.5;
  margin-top: 2.2em; padding-bottom: .3em; border-bottom: 2px dashed var(--grid);
}
.doc h3 { font-size: 1rem; font-weight: 800; margin-top: 1.4em; }
.doc p { margin-top: .8em; }
.doc ol, .doc ul { margin-top: .6em; padding-left: 1.6em; }
.doc ol { list-style: decimal; }
.doc ol.kana { list-style: none; padding-left: 0; counter-reset: kana; }
.doc ol.kana > li { counter-increment: kana; padding-left: 2.2em; text-indent: -2.2em; }
.doc ol.kana > li::before { content: "（" counter(kana) "）"; }
.doc ul { list-style: disc; }
.doc li { margin-top: .35em; }
.doc li > ol, .doc li > ul { text-indent: 0; }
.doc a { color: var(--rose); text-underline-offset: .2em; overflow-wrap: anywhere; }
.doc strong { font-weight: 800; }
.doc .note { color: var(--sub); font-size: .9rem; }

/* 表（特商法表記・取得する情報） */
.doc-table { width: 100%; border-collapse: collapse; margin-top: 1em; font-size: .95rem; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: .75em .6em; border-top: 1.5px solid var(--grid); }
.doc-table tr:last-child th, .doc-table tr:last-child td { border-bottom: 1.5px solid var(--grid); }
.doc-table th { width: 32%; font-weight: 800; background: rgba(243, 234, 219, .5); }
.doc-table td p:first-child { margin-top: 0; }
@media (max-width: 560px) {
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table th, .doc-table td { display: block; width: 100%; }
  .doc-table th { border-bottom: 0; padding-bottom: .2em; background: none; }
  .doc-table td { border-top: 0; padding-top: 0; }
  .doc-table tr { border-top: 1.5px solid var(--grid); padding: .4em 0; }
  .doc-table tr:last-child { border-bottom: 1.5px solid var(--grid); }
  .doc-table tr:last-child th, .doc-table tr:last-child td { border-bottom: 0; }
  .doc-table th, .doc-table td { border-top: 0 !important; }
}

.doc-foot { max-width: 820px; margin: 28px auto 0; padding: 0 var(--gut) calc(env(safe-area-inset-bottom) + 40px); text-align: center; color: var(--sub); font-size: .85rem; }
.doc-foot a { color: inherit; }

@media print {
  body { background: none; }
  .doc-nav, .doc-foot { display: none; }
  .doc-card { border: 0; box-shadow: none; padding: 0; }
}
