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

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.terms-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.last-updated {
  text-align: right;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.terms-content {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.terms-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.terms-content h2:first-child {
  margin-top: 0;
}

.terms-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.terms-content ul,
.terms-content ol {
  margin: 1rem 0 1.5rem 2rem;
}

.terms-content ul {
  list-style-type: disc;
}

.terms-content ol {
  list-style-type: decimal;
}

.terms-content li {
  line-height: 1.8;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.contact-info {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info strong {
  color: var(--text-primary);
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .terms-content {
    padding: 2rem 1.5rem;
  }

  .terms-content h2 {
    font-size: 1.3rem;
  }

  .contact-info {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .terms-section {
    padding: 1rem 0.5rem;
  }

  .terms-content {
    padding: 1.5rem 1rem;
  }

  .terms-content ul,
  .terms-content ol {
    margin-left: 1.5rem;
  }
}