@charset "UTF-8";
/* 利用規約ページ専用。共通ヘッダー・フッターは common.css を使用 */
.terms,
.terms * {
  box-sizing: border-box;
}

.terms {
  width: 100%;
  padding: 150px 40px 100px;
  background-color: #f0ede6;
  color: #606060;
}

.terms__inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

.terms__title {
  margin: 0 0 80px;
  color: #606060;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-align: center;
  overflow-wrap: anywhere;
}

.terms__article {
  margin: 0 0 44px;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.1em;
  text-align: left;
  overflow-wrap: anywhere;
}

.terms__article:last-child {
  margin-bottom: 0;
}

.terms__heading {
  margin: 0 0 14px;
  color: #606060;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.terms__article p {
  margin: 0;
}

/* 番号は原稿に含むため、ブラウザの番号は付けない */
.terms__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.terms__list > li {
  margin: 0;
  padding: 0;
}

/* 途中に段落を含む場合も上に余分な余白を作らない */
.terms__list > li > p {
  margin: 0;
}

.terms__list--nested {
  margin: 0;
  padding-left: 0;
}

.terms__article > p + .terms__list {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .terms {
    padding: 115px 0 70px;
  }

  .terms__inner {
    width: calc(100% - 50px);
    max-width: none;
  }

  .terms__title {
    margin: 0 auto 55px;
    font-size: clamp(22px, 5vw, 30px);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.12em;
    text-wrap: balance;
  }

  .terms__article {
    margin-bottom: 32px;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: 0.08em;
  }

  .terms__heading {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.08em;
  }
}
