/* === 全体のスタイル ============================= */
body {
  font-family: "MS Gothic", "MS PGothic", 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* === 外枠 ====================================== */
.outer-frame {
  background-color: white;
  padding: 20px;
  width: 90%;
  max-width: 700px;
  border: 1px solid blue;
  box-shadow: 0 0 20px rgba(128, 128, 128, 0.5);
  text-align: center;
  margin: 20px auto;
}

/* === タイトル ================================== */
.title {
  font-size: 36px;
  color: blue;
  margin-bottom: 10px;
}

/* === スクロールテキスト ======================== */
@keyframes marquee {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.scroll-wrapper {
  background-color: white;
  padding: 0;
  width: 100%;
  max-width: 600px;
  max-height: 20px;
  border: 1px solid rgba(0, 0, 255, 0);
  text-align: center;
  overflow: hidden;
  margin: 0 auto;
}

.scroll-text {
  font-size: 14px;
  color: gray;
  white-space: nowrap;
  animation: marquee 11s linear infinite;
}

/* === ナビゲーション ============================ */
.nav ul {
  list-style: none;
  padding: 0;
  margin: 1.5%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav ul li {
  display: inline;
}

.nav ul li a {
  text-decoration: none;
  color: blue;
  font-size: 20px;
  font-weight: bold;
  white-space: nowrap;
}

.nav ul li a:hover {
  text-decoration: underline;
}

/* === ニュースセクション ======================== */
.news-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-section ul li {
  margin-bottom: 20px;
}

/* === 見出し（h3） ============================== */
h3 {
  color: blue;
  text-decoration: underline;
}

/* === ボタン ==================================== */
.release-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  color: white;
  background-color: blue;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid gray;
  box-shadow: 2px 2px 0 gray;
  transition: background-color 0.3s ease;
}

.release-btn:hover {
  background-color: darkblue;
}

/* === イベントカード ============================ */
.event-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
}

.event-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.event-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.event-card h4 {
  font-size: 16px;
  margin: 10px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.2;
  min-height: 50px;
}

/* === ライブ画像 ================================ */
.responsive-live {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* === 汎用画像 ================================= */
img {
  max-width: 100%;
  height: auto;
}

/* === ライブ情報アイテム ======================== */
.live-item {
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
  margin: 0 auto;
}

.live-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.live-item h4 {
  font-size: 18px;
  margin: 10px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
  min-height: 50px;
  color: black;
  font-family: "MS Gothic", "MS PGothic", 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.live-info {
  font-size: 12px;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.4;
  font-family: "MS Gothic", "MS PGothic", 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.live-image {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 5px;
  margin: 8px auto;
  display: block;
}

/* === レスポンシブ：タブレット（〜768px）======= */
@media (max-width: 768px) {
  .outer-frame {
    padding: 15px;
    max-width: 600px;
  }

  .title {
    font-size: 28px;
  }

  .event-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .release-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .scroll-text {
    font-size: 12px;
    animation: marquee 8s linear infinite;
  }
}

/* === レスポンシブ：スマホ（〜480px）=========== */
@media (max-width: 480px) {
  .outer-frame {
    padding: 10px;
    max-width: 90%;
  }

  .title {
    font-size: 24px;
  }

  .event-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .release-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .nav ul {
    gap: 10px;
  }

  .nav ul li a {
    font-size: 14px;
  }

  .scroll-text {
    font-size: 10px;
    animation: marquee 6s linear infinite;
  }

  .live-item h4 {
    font-size: 15px;
  }

  .live-info {
    font-size: 11px;
  }
}