@charset "utf-8";

.banner-event2026 {
  background-image: url(/-/media/image/renew/top/bg_event2026.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  max-width: 950px;
  margin: 0 auto 6rem;
  padding: 20px;
}
.banner-event2026 > p {
  font-weight: bold;
  font-size: 300%;
  text-align: center;
}
.banner-event2026 .events-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.banner-event2026 .event-header {
  display: flex;
  gap: 15px;
  margin-bottom: 16px;
  align-items: center;
  flex: 1;
}


.banner-event2026 .event-card {
    width: calc((100% - 40px) /2);
    display: flex;
}

.banner-event2026 .location-badge {
  border: 2px solid #333;
  border-radius: 8px;
  padding: 12px 12px;
  font-weight: bold;
  font-size: 120%;
  min-width: fit-content;
  height: fit-content;
}

.banner-event2026 .event-details {
  flex: 1;
}

.banner-event2026 .date-time {
  font-size: 180%;
  font-weight: bold;
}

.banner-event2026 .location-info {
  font-size: 100%;
  font-weight: bold;
  padding-bottom: 5px;
}

.banner-event2026 .apply-button {
  text-align: center;
}

.banner-event2026 .apply-button a {
  display: inline-block;
  background: #cc0000;
  color: white;
  padding: 5px 0;
  border-radius: 24px;
  border: none;
  font-size: 100%;
  font-weight: bold;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.banner-event2026 .apply-button a:hover {
  background-color: #7D0008;

}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .JS .banner-event2026 {
    background-size: 100% 100%;
  }
  .JS .banner-event2026 > p {
    font-size: 220%;
  }
  .JS .banner-event2026 .events-wrapper {
     gap: 20px;
  }

  .JS .banner-event2026 .event-card {
    width: 100%;
  }
  .JS .banner-event2026 .apply-button a {
    width: 80%;
  }
}
@media (max-width: 399px) {
  .JS .banner-event2026 {
    padding: 10px;
  }
  .JS .banner-event2026 > p {
    font-size: 180%;
    margin-bottom: 5px;
  }
  .JS .banner-event2026 .date-time {
    font-size: 120%;
  }
  .JS .banner-event2026 .location-info {
    font-size: 90%;
  }
  .JS .banner-event2026 .apply-button a {
    width: 100%;
  }
}
