h1 {
  font-size: 25px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 8px;
  margin-top: 40px;
  margin-bottom: 25px;
}

p,
li {
  font-size: 12px;
  line-height: 1.9;
  text-align: justify; /* 両端揃え */
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

ol {
  padding-left: 2em; /* 数字と左端の余白 */
  margin-top: 0;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.5em; /* 各リスト項目の下の余白 */
}

.end-mark {
  text-align: right;
  margin-top: 40px;
}
.terms-container {
  margin: 0px;
  padding: 0px;
  font-size: 12px;
}

/* スマートフォン向けの調整 */
@media (max-width: 768px) {
  .terms-container {
    margin: 0px;
    padding: 0px;
    font-size: 12px;
  }

  h1 {
    font-size: 16px;
  }

  h2 {
    font-size: 14px;
  }

  p,
  li {
    font-size: 12px;
    line-height: 1.8;
  }
}
