/* ==========================================
   利用規約ページ専用スタイル
========================================== */

/* 共通スタイルのインポート */
@import url('common.css');
@import url('header.css');
@import url('footer.css');
.terms-page {
  padding: 80px var(--space-lg) var(--space-3xl);
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.terms-section {
  margin-bottom: var(--space-3xl);
}

.terms-intro {
  font-size: var(--font-sm);
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background-color: #fff;
}

.terms-text {
  font-size: var(--font-sm);
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* 順序付きリスト（自動番号） */
ol.terms-list {
  list-style-type: decimal;
  padding-left: 1em;
  margin-bottom: var(--space-md);
}

ol.terms-list > li {
  font-size: var(--font-sm);
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* 順序なしリスト（手動番号） */
.terms-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: var(--space-md);
  font-size: var(--font-sm);
}

ul.terms-list > li {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  padding-left: 1em;
}

/* ネストされたサブリスト */
.terms-sublist {
  list-style-type: none;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.terms-sublist > li {
  font-size: var(--font-sm);
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-xs);
}

.terms-subsection {
  margin-bottom: var(--space-lg);
}

.terms-subsection-title {
  font-size: var(--font-sm);
  font-weight: bold;
  color: #c19b2a;
  margin-bottom: var(--space-sm);
}

.terms-back-button {
  text-align: center;
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 2px solid var(--color-border);
}

.terms-subtitle {
  position: relative;
  font-size: var(--font-md);
  font-weight: bold;
  margin-top: var(--space-lg);
  padding-left: 1em;
  margin-bottom: var(--space-sm);
}

.terms-subtitle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0.4em;
  width: 3px;
  height: 3px;
  background-color: #c19b2a;
}
