/* 共通スタイルのインポート */
@import url('common.css');
@import url('footer.css');

/* ==========================================
   利用規約ページ専用スタイル
========================================== */
.terms-page {
  padding: 80px var(--space-lg) var(--space-3xl);
}

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

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

.terms-page .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-page .terms-text {
  font-size: var(--font-sm);
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

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

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

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

.terms-page 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;
}

/* ==========================================
   プライバシーポリシーページ専用スタイル
========================================== */
.privacy-page {
  padding: 80px var(--space-lg) var(--space-3xl);
  font-size: 14px;
}

.privacy-page .page-header {
  margin-bottom: 0;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
  margin-bottom: 40px;
}

.privacy-logo {
  width: 60px;
  height: auto;
  margin-left: auto;
}

ol.privacy-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  list-style-type: decimal;
  padding-left: 1em;
  margin: var(--space-md) 0;
}
