/* ==========================================================================
   .events-rap コンポーネント一式  (event-style.css から分離)
   ========================================================================== */

/* --- グリッド本体 --- */
.events-rap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

/* --- カード --- */
.events {
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
  background-color: unset;
}

.events:hover:not(:has(.events_tags a:hover)) {
  box-shadow: rgb(211, 211, 211) 4px 4px 10px 0px;
  position: relative;
  z-index: 10;
  background-color: rgb(255, 255, 255) !important;
}

/* --- サムネイル --- */
.events_thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgb(255, 255, 255);
  box-sizing: border-box;
}
.events_thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  box-sizing: border-box;
}

/* --- 本文 --- */
.events_body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

/* --- ステータス --- */
.events_status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.events_status span { font-weight: 700; }

.events_status_free,
.events_status_note { color: rgb(50, 68, 181); }

.events_status_free.is-required,
.events_status_note.is-required {
    color: #dd1818;
}

.events_status_sep { color: rgb(35, 24, 21); }

/* --- タイトル --- */
.events_title {
  margin: 0px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: rgb(0, 0, 0);
  line-height: 1.4;
}

/* --- 日付 --- */
.events_date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: rgb(35, 24, 21);
  line-height: 1;
  font-weight: 400;
}
.events_date_icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* --- タグ --- */
.events_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0px;
  padding: 8px 0px 0px;
  list-style: none;
}
.events_tags li { line-height: unset; }
.events_tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(222, 222, 222);
  border-radius: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: rgb(35, 24, 21);
  text-decoration: none;
  font-weight: 400;
}
.events_tags a:hover {
  color: rgb(255, 255, 255);
  background: rgb(35, 24, 21);
  border: 1px solid rgb(35, 24, 21);
}
.events_list-none p {
    font-size: 16px;
    line-height: 1.7;
    color: #231815;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1359px) {
  .events-rap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .events-rap {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }
  .events { background-color: rgb(255, 255, 255); }
}

@media screen and (max-width: 768px) {
  .events { background-color: rgb(255, 255, 255); }
}