[v-cloak] {
  display: none;
}

.kc-none {
  text-align: center;
  margin: 50px auto;
}

.kc-spinner {
  padding: 50px 0;
}

.kc-l-c1 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.kc-l-c2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* API以外のcss */

/* hover */
.kc-card:hover {
  background-color: #ffffe6;
  text-decoration: none;

}


/* 終了イベント */
.kc-card.endDateTime .kc-image::before {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  content: "終了しました";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  font-size: 22px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  z-index: 1;
}


@media screen and (max-width: 768px) {
  .kc-card.endDateTime .kc-image::before {
    font-size: 16px;
  }
}




/* topページ */

.kc-content {
  margin: 40px 0;

}

.kc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

}

.kc-card {
  padding: 6%;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.kc-image {
  position: relative;
  overflow: hidden;
}

.kc-image img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  height: auto;
}


.kc-info {
  display: flex;
  flex-direction: column;
  padding: 1em 0;
}



.kc-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .4em;
}

.kc-type,
.kc-format {
  font-size: .88em;
  line-height: 1;
  padding: .4em 1em;
  color: #fff;
}

.kc-type {
  border: 1px solid #A8A07B;
  background-color: #A8A07B;
}

.kc-format {
  border: 1px solid #000;
  color: #000;
}

.kc-name {
  font-size: 1em;
  margin: .6em 0;
  font-weight: bold;
  line-height: 1.6;
  /* 高さ調整 */
  /* min-height: calc(1em * 2 * 1.6); */
}

.kc-date,
.kc-address {
  font-size: .88em;
  line-height: 1.4;
  margin-bottom: .8em;
}



@media screen and (max-width: 768px) {
  .kc-cards {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }
}


/* allページ */

.kc-content.-all {
  margin: 40px;
}

@media screen and (max-width: 1000px) {
  .kc-cards.-all {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .kc-content.-all {
    margin: 0;
  }

  .kc-cards.-all {
    grid-template-columns: repeat(1, 1fr);
  }
}