@charset "utf-8";

/* イベント記事共通
-----------------------------------------------------------*/

.eventMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 10px 20px;
  font-size: 13px;
}

.eventLabel {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid #0264AD;
  color: #0264AD;
  background: #fff;
  line-height: 1.8;
}

.eventLabel.statusBefore {
  color: #fff;
  background: #0264AD;
}

.eventLabel.statusAfter {
  color: #555;
  border-color: #bbb;
  background: #f6f6f0;
}

.eventLead {
  margin-bottom: 30px;
}

.eventItemList {
  margin: 0;
  padding: 0 10px;
}

.eventItemList > li {
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid #ddd;
  background: #fff;
}

.eventItemList h4 {
  margin: 0 0 5px;
  color: #001C4E;
  font-size: 16px;
}

.eventGallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.eventGallery figure {
  margin: 0;
}

.eventGallery img {
  display: block;
  width: 100%;
  height: auto;
}

.eventGallery figcaption,
.eventVideoCaption {
  margin-top: 6px;
  color: #555;
  font-size: 12px;
  line-height: 1.8;
}

.eventVideoItem + .eventVideoItem {
  margin-top: 30px;
}

.eventVideo {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
}

.eventVideo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.eventNotes {
  margin-top: 35px;
  padding: 15px 20px;
  border: 1px solid #ddd;
  background: #f6f6f0;
}

.eventNotes ul {
  margin: 0;
}

.eventNotes li {
  list-style: disc;
  margin-left: 1.5em;
  font-size: 13px;
}

.eventButtons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.eventBack {
  margin-top: 40px;
  text-align: center;
}

/* スマートフォン
-----------------------------------------------------------*/

@media screen and (max-width: 768px) {
  .eventMeta {
    margin-right: 0;
    margin-left: 0;
  }

  .eventGallery {
    grid-template-columns: 1fr;
  }

  .eventButtons {
    display: block;
  }

  .eventButtons .button {
    display: block;
    margin: 0 0 18px;
  }
}
