/* 全体カード化 */
.front-hero {
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 1rem;
  background: #f8f4ee;
}

.front-hero h1 {
  margin-top: 0;
}

.front-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.front-card {
  padding: 1.5rem;
  border: 1px solid #e2d6c8;
  border-radius: 1rem;
  background: #fff;
}

.front-card h2 {
  margin-top: 0;
}

.front-card-link {
  display: inline-block;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .front-card-grid {
    grid-template-columns: 1fr;
  }
}

/* カードに色 */
.front-card.card-intro {
  background: #fff0f5; /* 桃 */
}

.front-card.card-philosophy {
  background: #fff9d9; /* 黄 */
}

.front-card.card-asana {
  background: #eef8e8; /* 緑 */
}

.front-card.card-breath {
  background: #f3edff; /* 紫 */
}

.front-card.card-anatomy {
  background: #ffecec; /* 赤 */
}

.front-card.card-term {
  background: #fff1df; /* オレンジ */
}

.front-card.card-blog {
  background: #eaf4ff; /* 青 */
}

/* ホバー */
.front-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.front-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.front-card:hover .front-card-link {
  text-decoration: underline;
}