/* ===== インデックスページ専用スタイル ===== */

/* インデックスページ専用の色変数 */
:root {
  --bg: #f5f7fb;
  --card: #fff;
  --text: #121826;
  --muted: #8a94a6;
  --radius: 16px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* グリッドレイアウト */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* カードラッパー */
.card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-wrap--large {
  grid-column: 1 / -1;
}

/* カード */
.card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid #eef1f6;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}

.card-wrap--large .card {
  height: 200px;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.card__label {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

/* レスポンシブ調整 */
@media (max-width: 360px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
