@charset "UTF-8";

/* イベントコンテナ全体 */
.nagano-event-container {
  margin: 30px 0;
}

.nagano-event-heading {
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid #0073aa;
}

/* グリッドレイアウト（レスポンシブ対応） */
.nagano-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* イベントカードのデザイン */
.nagano-event-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nagano-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 開催日付 */
.nagano-event-date {
  font-size: 0.85rem;
  font-weight: bold;
  color: #0073aa;
  background: #f0f7fb;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}

/* タイトル */
.nagano-event-title {
  font-size: 1.1rem;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.nagano-event-title a {
  color: #333333;
  text-decoration: none;
}

.nagano-event-title a:hover {
  color: #0073aa;
}

/* 概要文 */
.nagano-event-desc {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1; /* カードの高さを統一 */
}

/* 詳細ボタン */
.nagano-event-btn {
  display: inline-block;
  text-align: right;
  font-size: 0.85rem;
  font-weight: bold;
  color: #0073aa;
  text-decoration: none;
  margin-top: auto;
}

.nagano-event-btn:hover {
  text-decoration: underline;
}