/* ==========================================
   3. ヘッダー & メインレイアウト
   ========================================== */
.app-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e1e4e8;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left h1 {
  font-size: 1.25rem;
  color: #1a202c;
}

.term-info {
  background: #edf2f7;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-right {
  display: flex;
  align-items: center;
}

.account-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.user-label strong {
  color: #2b6cb0;
}

/* メインコンテナ・レイアウト */
.app-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
  height: calc(100vh - 65px);
}

.sidebar {
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card h2 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #2d3748;
}

.card h3 {
  font-size: 0.875rem;
  margin: 10px 0 6px 0;
  color: #718096;
}