@charset "utf-8";

.lead-text {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 37px;
  margin-top: 4.3%;
}

.event-content {
  margin-top: 120px;
  margin-bottom: 120px;
}

.event-content.detail {
  margin-top: 60px;
  margin-bottom: 120px;
}

.event-content-status {
  margin-bottom: 30px;
  font-size: 1.7rem;
}

.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 54px 6%;
  margin-bottom: 54px;
}

.event-list-item {
  position: relative;
  width: 29.333333333%;
}

.event-list-item:before {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: block;
  content: "";
  width: 20px;
  height: 20px;
  background: url(../event/img/arrow.png) no-repeat;
  background-size: 100% 100%;
}

.event-list-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 20px 10px;
  background: #E5F3F6;
  border-radius: 15px;
  overflow: hidden;
  transition: background-color 0.6s cubic-bezier(.4, 0, .2, 1);
}

.event-list-link:hover {
  background: #C8EBF2;
}

.event-list-thumb {
  position: relative;
  padding-top: 100%;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 6px rgb(0,0,0,.1);
}

.event-list-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

.event-list-link:hover .event-list-thumb img {
  transform: scale(1.04);
}

.event-list-detail {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 10px;
}

.event-list-title {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: bold;
}

.event-list-date {
  margin-top: auto;
  font-size: 1.35rem;
}

.event-more-container {
  text-align: center;
}

.event-more-container {
  text-align: center;
}

.event-more {
  position: relative;
  max-width: 320px;
  color: #fff;
  font-family: "Zen Maru Gothic", "Noto Sans JP", 游ゴシック, "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
  font-size: 2rem;
  font-weight: bold;
  display: inline-block;
  width: 100%;
  padding: 21px;
  line-height: 1;
  border-radius: 15px;
  background-color: #F58CA0;
  transition: opacity 0.6s cubic-bezier(.4, 0, .2, 1);
}

.event-more:hover {
  opacity: 0.7;
}

.event-more:before {
  content: '';
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(135deg);
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
}

.event-more:disabled {
  background: #c1c1c1;
}

.event-more:disabled:before {
  display: none;
}

.event-more:disabled:hover {
  opacity: 1;
}

.event-detail-date {
  font-size: 1.4rem;
}

.event-detail-title {
  margin-top: 0.5rem;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.3;
}

.event-detail-body {
  margin-top: 4rem;
  font-size: 1.7rem;
  line-height: 1.6;
}

.event-detail-images {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.event-detail-image {
  max-width: 47%;
  margin-right: 6%;
}

.event-detail-images .event-detail-image:last-of-type {
  margin-right: 0;
}

.event-detail-image img {
  border-radius: 15px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}


@media screen and (max-width: 767px) {
  .lead-text {
    font-size: 1.4rem;
    line-height: 25px;
    margin-top: 40px;
  }

  .event-content {
    margin-top: 60px;
    margin-bottom: 90px;
  }

  .event-content.detail {
    margin-top: 40px;
    margin-bottom: 90px;
  }

  .event-content-status {
    margin-bottom: 20px;
    font-size: 1.4rem;
  }

  .event-list {
    flex-direction: column;
    gap: 15px 0;
    margin-bottom: 40px;
  }

  .event-list-item {
    width: 100%;
  }

  .event-list-link {
    flex-direction: row;
    align-items: center;
    padding: 10px;
  }

  .event-list-thumb {
    width: 35%;
    padding-top: 35%;
    margin-bottom: 0;
  }

  .event-list-detail {
    flex: 1;
    padding: 0 0 0 15px;
  }

  .event-list-title {
    font-size: 1.7rem;
  }

  .event-list-date {
    font-size: 1.2rem;
  }

  .event-detail-date {
    font-size: 1.2rem;
  }

  .event-detail-title {
    font-size: 2.2rem;
  }

  .event-detail-body {
    font-size: 1.4rem;
  }

  .event-detail-images {
    flex-direction: column;
  }

  .event-detail-image {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-top:  2rem;
  }

  .event-detail-images .event-detail-image:first-of-type {
    margin-top: 0;
  }

}