/* 基本リセット */
body, h1, h2, h3, p, ul, li, main, section {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif;
  line-height: 1.8;
  color: #222;
  background: #F7F7F4; /* 基本背景 */
}

/* ヘッダー・フッター */
.header, .footer {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
/* HERO画像 */
.hero-header {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 35px;
}

/* 画像 */
.hero-image {
    width: 100%;
    height: 100%;
    display: block;
	object-fit: cover;
}

/* HEROテキスト重ね */
.hero-text {
	position: absolute;
 	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	padding: 7px 35px;
	background-color: rgba(139, 0, 0, 0.5); /* 黒の半透明 */
	border-radius: 6px; /* 角丸 optional */
	color: #FFFFFF; /* 白文字 */
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.hero-text h1 {
    font-size: 2.1rem;
    margin-bottom: 0.25rem;
}

.hero-text p {
    font-size: 1.25rem;
}



/* カードコンテナ */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列固定 */
  gap: 30px;
  max-width: 1020px;
  margin: 0 auto 30px;
}

/* カード共通 */
.card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  padding: 25px 30px;
  box-sizing: border-box;
}
.card h2 {
	line-height: 1.35;
}

.card-thumb {
  width: 100%;
  height: auto;
 aspect-ratio: 16 / 9; /* 16:9比率 */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.card-meta {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
}


/* ボタン */
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-button {
  display: inline-block;
  padding: 10px 24px;
  background: #96514d; /* テーマカラー */
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.2s;
}

.card-button:hover {
  opacity: 0.85;
}

/* 共通ボタンは index.html と同じ */
.card-button-outline {
  display: inline-block;
  padding: 8px 24px;
  border: 2px solid #879096;
  color: #5C6A72;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.2s;
}

.card-button-outline:hover {
  background: #879096;
  color: #fff;
}

/* 次回予告カード */
.card-next {
  background: #f9f9f4; /* 少し淡め */
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}
.card-next div {
	margin-bottom: 20px;
	color: #333;
}


/* アーカイブ視聴ページ専用ボックス */
.archive-box {
  max-width: 880px;
  margin: 40px auto 60px;
  padding: 50px 30px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* ナビバー */
.nav-bar {
  max-width: 880px;
  margin: 30px auto 0;
  padding: 0 20px;
}

.nav-bar a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
}

.nav-bar a:hover {
  opacity: 0.8;
}

/* メタ情報 */
.meta-info {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
}

/* 文字起こしボックス */
.transcript-box p {
  margin-bottom: 10px;
  color: #222;
}

/* フッター */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center; /* 中央寄せ */
  gap: 16px; /* © とアイコンの間隔 */
}

.x-link {
  display: flex;
  align-items: center;
  color: #000;
  transition: opacity 0.2s ease;
  width: 16px;
  height: 16px;
}

.x-link:hover {
  opacity: 0.6;
}


/* レスポンシブ */
@media (max-width: 900px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-header {
    height: 250px;
  }
  .hero-image {
    height: 400px;
  }
  .hero-text h1 {
    font-size: 1.75rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }
  .hero-text p {
    font-size: 1.05rem;
    line-height: 1.25;
  }
}

@media (max-width: 600px) {
  .cards-container {
    grid-template-columns: 1fr;
  }

  .hero-header {
    height: 200px;
  }
  .hero-image {
    height: 250px;
  }

  .hero-text {
    top: 50%;
    left: 50%;
    padding: 7px 10px;
  }

  .hero-text h1 {
    font-size: 1.2rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }
  .hero-text p {
    font-size: 1.05rem;
    line-height: 1.2;
  }
}