/* メインコンテンツスタイル */
.app-main {
  padding: var(--spacing-md);
  max-width: 100%;
  margin: 0 auto;
}

/* 共通セクションスタイル */
.section-header {
  margin-bottom: var(--spacing-md);
  position: relative;
}

.section-title {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* ヒーローセクション */
.hero-section {
  margin-bottom: var(--spacing-xl);
  background: linear-gradient(135deg, rgba(103, 242, 226, 0.1) 0%, rgba(255, 123, 84, 0.1) 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  color: var(--accent-color);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
  color: var(--text-dark);
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: var(--spacing-lg);
}

.hero-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

/* ダッシュボードセクション */
.dashboard-section {
  margin-bottom: var(--spacing-xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

.stats-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: var(--spacing-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(103, 242, 226, 0.1);
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(103, 242, 226, 0.3);
}

.stats-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-align: center;
}

.stats-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
  font-size: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.today-icon {
  background-color: var(--primary-color);
  position: relative;
}

.today-icon::before {
  content: '今';
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-dark);
}

.month-icon {
  background-color: var(--accent-color);
  position: relative;
}

.month-icon::before {
  content: '月';
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-light);
}

.total-icon {
  background-color: var(--warning-color);
  position: relative;
}

.total-icon::before {
  content: '累';
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-dark);
}

.stats-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stats-label {
  font-size: 0.85rem;
  color: #1a2a36;
  margin: 0 0 5px 0;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.stats-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

.stats-unit {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 400;
  margin-top: 2px;
}

/* クイックアクセスセクション */
.quick-links-section {
  margin-bottom: var(--spacing-xl);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--spacing-md);
}

.quick-link-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  text-align: center;
  transition: all var(--transition-normal);
}

.quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.link-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-title {
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

/* メディアクエリ - モバイル調整 */
@media (max-width: 768px) {
  .stats-grid, .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-card {
    padding: var(--spacing-sm);
  }
  
  .stats-icon {
    width: 40px;
    height: 40px;
  }
  
  .stats-value {
    font-size: 1.5rem;
  }
  
  .link-icon {
    height: 40px;
    margin-bottom: var(--spacing-sm);
  }
  
  .quick-link-card {
    padding: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
}
