@import url("common.css");

main {
  padding-top: 80px; /* ヘッダーの下に配置 */
}

/* タイトル */
h1 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

/* 情報（日時・場所など） */
.info {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.2;
  opacity: 0.5;
}

/* 説明文 */
.description {
  /*font-size: 1rem;*/
  /*font-weight: 300;*/
  margin: 0 0 1rem;
}

/* クレジット */
.credit {
  /*font-size: 1rem;*/
  /*font-weight: 300;*/
  margin: 0 0 1rem;
}

/* 画像・動画の表示 */
.media-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.media-container img {
  max-width: 100%;
  max-height: 700px;
  height: auto;
  display: block;
}

/* YouTubeなど動画埋め込み */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 アスペクト比 */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.movie-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.movie-wrapper video {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    
  .top p{
    opacity: 0;
  }
  
  h1 {
    font-size: 1rem;
  }

  .description {
    font-size: 0.95rem;
  }

  .media-container img,
  .video-wrapper {
    width: 100%;
    max-width: 100%;
  }
}

