/**
 * ファイル名: auth.css
 * 説明: ActionHub 認証・法定ページ用スタイルシート
 *
 * このファイルには以下が含まれます:
 * - 認証ページ（ログイン）
 * - 法定ページ（利用規約・プライバシーポリシー）
 * - 簡易ナビゲーション
 *
 * 依存: style.css（共通スタイル）
 * 注意: ダークテーマ非対応（ライトテーマ固定）
 */

/* ------------------------------------------------------------
   共通レイアウト
   ------------------------------------------------------------ */

/* ページ背景（グラデーション） */
.page-bg {
  background: linear-gradient(to bottom right, #f8fafc, #e2e8f0);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 中央寄せカード（ログインページ用） */
.center-card {
  max-width: 28rem;
  margin: 4rem auto 0;
  padding: 0 1rem;
}

.center-card-inner {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

/* ------------------------------------------------------------
   簡易ナビゲーション（ログイン・法定ページ用）
   ------------------------------------------------------------ */
.simple-nav {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.simple-nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

@media (min-width: 640px) {
  .simple-nav-inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .simple-nav-inner {
    padding: 0 2rem;
  }
}

.simple-nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
}

.simple-nav-brand i {
  margin-right: 0.5rem;
}

/* ------------------------------------------------------------
   ログインページ
   ------------------------------------------------------------ */
.auth-method-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.auth-method {
  text-align: center;
}

.auth-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #f1f5f9;
  margin-bottom: 0.375rem;
}

.auth-method-icon i {
  font-size: 1.25rem;
  color: #64748b;
}

.auth-method-text {
  font-size: 0.75rem;
  color: #64748b;
}

/* ------------------------------------------------------------
   法定ページ（利用規約・プライバシーポリシー）
   ------------------------------------------------------------ */
.legal-container {
  max-width: 56rem;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

.legal-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.legal-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.legal-date {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.legal-content {
  color: #475569;
  line-height: 1.75;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.25rem;
}

.legal-info-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
}

.legal-info-box h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.legal-info-box p {
  font-size: 0.875rem;
  color: #1e3a8a;
  margin-bottom: 0;
}

.legal-back {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

/* ------------------------------------------------------------
   タイポグラフィ
   ------------------------------------------------------------ */
.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2rem;
}

.page-title i {
  margin-right: 0.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.section-title i {
  margin-right: 0.5rem;
}

/* テキストカラー */
.text-primary { color: #0f172a; }
.text-secondary { color: #64748b; }
.text-muted { color: #94a3b8; }
.text-brand { color: #3b82f6; }
.text-success { color: #10b981; }
.text-danger { color: #ef4444; }
.text-warning { color: #f59e0b; }

/* テキストサイズ */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

/* フォントウェイト */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ------------------------------------------------------------
   ユーティリティ
   ------------------------------------------------------------ */

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* 間隔 */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

/* テキスト配置 */
.text-center { text-align: center; }

/* 表示 */
.hidden { display: none; }
.block { display: block; }

/* スペース */
.space-y-4 > * + * { margin-top: 1rem; }
