@charset "UTF-8";
/*
 * term.v2.css — 利用規約など長文ページ専用
 * 依存: tokens.css, common.css
 * 添付デザインに合わせたシンプルな規約本文レイアウト
 */

body.has-fixed-header:not(:has(.site-header)) {
  padding-top: 0;
}

/* メイン部分の背景を白に（このページ専用） */
#main {
  background: #fff;
}

.doc-hero {
  text-align: center;
  padding-block: clamp(4rem, 7vw, 7rem) 4rem;
}
.doc-hero h1 {
  color: #111;
  font-size: 3rem;
  font-weight: var(--fw-medium);
  letter-spacing: .04em;
}

.doc.container--narrow { max-width: 960px; }
.doc {
  color: #111;
  font-size: .9rem;
  line-height: 1.85;
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.doc hr {
  border: 0;
  border-top: 1px solid #cfcfcf;
  margin: 0 0 1rem;
}
.doc hr + .indexh2 { margin-top: 0; }
.doc .indexh2 + ul + hr { margin: 1.35rem 0 1.35rem; }

/* 目次 */
.doc .indexh2 {
  font-size: 1.2rem;
  font-weight: var(--fw-normal);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.doc .indexh2 + ul {
  display: grid;
  gap: .22rem;
  grid-template-columns: 1fr;
  padding: 0 0 0 .1rem;
}
.doc .indexh2 + ul li {
  color: #111;
  font-size: .92rem;
  font-weight: var(--fw-normal);
  line-height: 1.55;
}
.doc .indexh2 + ul a {
  color: inherit;
  font-weight: inherit;
}
.doc .indexh2 + ul a:hover { color: var(--c-blue); }

/* 本文見出し */
.doc h2 {
  color: #111;
  font-size: 1.25rem;
  font-weight: var(--fw-medium);
  margin: 2.5rem 0 1.4rem;
  padding-bottom: 0;
  border-bottom: 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.doc h2 b {
  color: inherit;
  font-weight: inherit;
  margin-right: .15em;
}
.doc h3 {
  color: #111;
  font-size: 1rem;
  font-weight: var(--fw-medium);
  margin: 0 0 1.1rem;
}

.doc dl { margin: 0 0 1rem; }
.doc dt {
  color: #111;
  font-weight: var(--fw-medium);
  margin-top: 1.25rem;
}
.doc dt b {
  color: inherit;
  font-weight: inherit;
  margin-right: .25em;
}
.doc dd { margin: .35rem 0 0; color: #111; }
.doc dd ol { margin: .5rem 0 .5rem 1.5rem; list-style: decimal; }
.doc dd ol li { margin-bottom: .35rem; }
.doc p { margin-bottom: 1rem; }
.doc p.strong { font-weight: var(--fw-normal); }
.doc .hlight { background: linear-gradient(transparent 60%, #c0c0c0 60%); }
.doc .copyright {
  color: var(--c-text-muted);
  font-size: .85rem;
  margin-top: 2rem;
  text-align: right;
}

@media (max-width: 767px) {
  .doc-hero {
    padding-block: 3rem 4rem;
  }

  .doc {
    line-height: 1.8;
  }

  .doc h2 {
    margin-top: 2rem;
  }
}
