@charset "utf-8";


.container {
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: bold;
}

/* グリッドレイアウト（4列） */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* カードのデザイン */
.card {
    background: #fff;
    border: 2px solid #64b5c1; /* 特徴的な水色の枠線 */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* カード上部のテキストとハート */
.card-header {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.program-theme {
    font-weight: bold;
    color: #2a8a98;
    font-size: 0.95rem;
}

.favorite-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    color: #ff4d4d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* 画像エリア */
.image-box img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* カード下部のテキスト */
.card-body {
    padding: 12px;
}

.company-info {
    font-size: 0.8rem;
    margin: 0 0 10px 0;
    color: #444;
}

/* 期間表示ラベル */
.period-box {
    background-color: #e0f2f5;
    border-radius: 6px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.period-text {
    font-size: 0.85rem;
    font-weight: bold;
    color: #333;
}
/* デフォルト（OFF） */
.favorite-btn {
  background: none;
  border: none;
  color: #ccc;          /* 灰色＝未登録 */
  font-size: 1.4em;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
}

/* 登録済み（ON） */
.favorite-btn.active {
  color: #e74c3c;       /* 赤＝登録済み */
}
