* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #fafafa;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.5;
}

/* ヘッダー / AppBar */
.app-bar {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding-top: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-bar h1 {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  padding: 0 16px 16px;
}

/* タブバー */
.tab-bar {
  display: flex;
  position: relative;
}

.tab {
  flex: 1;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab.active {
  color: white;
}

.tab:hover {
  color: white;
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: white;
  transition: transform 0.3s ease;
}

/* コンテンツエリア */
.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px;
  min-height: calc(100vh - 120px);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* セクションタイトル */
.section-title {
  font-size: 18px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.87);
  margin-top: 24px;
  margin-bottom: 8px;
}

/* 段落 */
.paragraph {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.7;
  margin-top: 8px;
}

/* 箇条書きリスト */
.bullet-list {
  list-style: none;
  margin-top: 8px;
  padding-left: 8px;
}

.bullet-list li {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
  margin-top: 4px;
}

.bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(0, 0, 0, 0.87);
}

/* レスポンシブ */
@media (max-width: 600px) {
  .app-bar h1 {
    font-size: 18px;
  }

  .tab {
    font-size: 13px;
    padding: 10px 12px;
  }

  .content {
    padding: 12px;
  }

  .section-title {
    font-size: 16px;
  }
}

/* フッターのスペース */
.tab-content {
  padding-bottom: 32px;
}
