/* ============================================
   フラットデザインシステム
   株式会社 相続サポートセンター
   ============================================ */

/* ==================== 基本設定 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  background: #f5f5f5;
  overflow-x: hidden;
}

/* ==================== カラーシステム（フラット） ==================== */
:root {
  --primary: #2c5aa0;      /* ブルー */
  --primary-dark: #1e3d6f;
  --accent: #e67e22;       /* オレンジ */
  --success: #27ae60;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --border: #bdc3c7;
  --bg-light: #ecf0f1;
  --bg-white: #ffffff;
}

/* ==================== ヘッダー ==================== */
.simple-header {
  background: var(--bg-white);
  border-bottom: 2px solid var(--primary);
  padding: 1rem 0;
}

.logo-simple {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon-simple {
  width: 50px;
  height: 50px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

/* ==================== ナビゲーション ==================== */
.nav-simple {
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-link-simple {
  padding: 1rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.nav-link-simple:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-link-simple.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--bg-light);
}

.btn-primary-simple {
  padding: 0.875rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  transition: background 0.2s;
}

.btn-primary-simple:hover {
  background: #d35400;
}

/* ==================== ページヘッダー ==================== */
.page-header-simple {
  background: var(--primary);
  padding: 4rem 0;
  text-align: center;
  color: #fff;
  border-bottom: 4px solid var(--primary-dark);
}

.page-header-simple h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header-simple p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* ==================== セクション ==================== */
.section-simple {
  padding: 4rem 0;
}

.section-title-simple {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title-simple::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
}

.section-subtitle-simple {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
}

/* ==================== カード ==================== */
.card-simple {
  background: var(--bg-white);
  border: 2px solid var(--border);
  padding: 2rem;
  transition: border-color 0.2s;
}

.card-simple:hover {
  border-color: var(--primary);
}

.card-icon-simple {
  width: 70px;
  height: 70px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.card-title-simple {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-text-simple {
  color: var(--text-light);
  line-height: 1.8;
}

/* ==================== リスト ==================== */
.list-simple {
  list-style: none;
  padding: 0;
  background: var(--bg-white);
  border: 2px solid var(--border);
}

.list-simple li {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.list-simple li:last-child {
  border-bottom: none;
}

.list-icon-simple {
  width: 28px;
  height: 28px;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-weight: 700;
}

/* ==================== テーブル ==================== */
.table-simple {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-white);
  border: 2px solid var(--border);
}

.table-simple th {
  background: var(--primary);
  color: #fff;
  padding: 1.25rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-dark);
}

.table-simple td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.table-simple tr:last-child td {
  border-bottom: none;
}

.table-simple tr:nth-child(even) {
  background: var(--bg-light);
}

/* ==================== CTA セクション ==================== */
.cta-simple {
  background: var(--primary);
  padding: 4rem 0;
  text-align: center;
  color: #fff;
  border-top: 4px solid var(--primary-dark);
  border-bottom: 4px solid var(--primary-dark);
}

.cta-simple h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-simple p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-white-simple {
  padding: 1.25rem 2.5rem;
  background: #fff;
  color: var(--primary);
  border: 3px solid #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
}

.btn-white-simple:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ==================== フッター ==================== */
.footer-simple {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
  border-top: 4px solid var(--accent);
}

.footer-title-simple {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-link-simple {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.footer-link-simple:hover {
  color: var(--accent);
}

.footer-bottom-simple {
  border-top: 2px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ==================== ボタン ==================== */
.btn-outline {
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-accent {
  padding: 0.875rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.btn-accent:hover {
  background: #d35400;
  border-color: #d35400;
}

/* ==================== バッジ ==================== */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-accent {
  background: var(--accent);
}

.badge-success {
  background: var(--success);
}

/* ==================== アラート/注意ボックス ==================== */
.alert {
  padding: 1.25rem;
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  margin-bottom: 1.5rem;
}

.alert-warning {
  background: #fff3cd;
  border-left-color: #f39c12;
  color: #856404;
}

.alert-success {
  background: #d4edda;
  border-left-color: var(--success);
  color: #155724;
}

.alert-info {
  background: #d1ecf1;
  border-left-color: #17a2b8;
  color: #0c5460;
}

/* ==================== ユーティリティ ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.bg-light {
  background: var(--bg-light);
}

.bg-white {
  background: var(--bg-white);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ==================== セパレーター ==================== */
.divider {
  height: 2px;
  background: var(--border);
  margin: 2rem 0;
}

.divider-thick {
  height: 4px;
  background: var(--primary);
  margin: 3rem 0;
}

/* ==================== レスポンシブ ==================== */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  .page-header-simple h1 {
    font-size: 2rem;
  }
  
  .section-title-simple {
    font-size: 1.75rem;
  }
  
  .nav-simple {
    display: none;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .btn-primary-simple,
  .btn-outline,
  .btn-accent {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ==================== プリント用 ==================== */
@media print {
  .simple-header,
  .nav-simple,
  .cta-simple,
  .footer-simple {
    display: none;
  }
  
  body {
    background: #fff;
    font-size: 12pt;
  }
}
