@charset "UTF-8";

/* --- ページ全体の基本設定 --- */
main {
  padding-top: 120px;
  padding-bottom: 80px;
}
.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- イベントヘッダー部分 --- */
.event-header {
  text-align: center;
  margin-bottom: 60px;
}
.event-header h1 {
  font-family: 'M PLUS 1p', sans-serif;
  font-weight: 700;
  font-size: 3.6rem;
  color: #fa6603;
  margin-bottom: 40px;
}
.event-image {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.event-date {
  font-size: 1.8rem;
  color: #555;
  font-weight: bold;
}

/* --- リンクエリア --- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
}
.link-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.link-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.link-item a {
  display: block;
  text-decoration: none;
}
.link-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}
.link-item .caption {
  padding: 20px 15px;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  color: #2c3e50;
}

/* --- SP用スタイル (768px以下) --- */
@media screen and (max-width: 768px) {
  main {
    padding-top: 100px;
  }
  .wrapper {
    padding: 0 20px;
  }
  /* ▼▼▼ スマホ画面でのタイトルフォントサイズ調整 ▼▼▼ */
  .event-header h1 {
    font-size: 2.8rem;
  }
  /* ▲▲▲ ここまで ▲▲▲ */
  .link-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .link-item .caption {
    font-size: 1.6rem;
    padding: 15px;
  }
}