



/*番組表全体の囲い*/
.container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  font-family: "gill-sans-nova", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}






/*曜日のボタン全体*/
.tabs {
  display: flex;
  
}

/*曜日のボタン一つ一つ*/

.tabs button {
  flex: 1;
  padding: 10px;
  background: #444;
  color: white;
  border: none;
  cursor: pointer;
	
	font-size:1.5rem;
	font-family: "gill-sans-nova", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	transition: background-color 0.3s ease, color 0.3s ease;
	
	 min-width: 10px; /* 最小幅を決めておくといいかも */
}



.tabs button:hover {
  background-color:  #f04; /* 好きなホバー色 */
  color: #fff;
}


/*この曜日のボタンだよーってやつ*/

.tabs button.active {
  background: #675F4E;
}



/*時間ジャンプボタン*/

.time-nav {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
	font-family: "gill-sans-nova", sans-serif;
	font-size:1.5rem;
	
}

.time-nav a {
  padding: 8px 16px;

  text-decoration: none;
  
  border: 5px solid #000000;
  border-radius: 5px;
}


.jump-links a {
  padding: 10px 20px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-morning {
  background-color: #FAD249; /* 黄色 */
  color: #000000;
}

.btn-noon {
  background-color: #ED6D38; /* オレンジ */
	
	color: #000000;
}

.btn-evening {
  background-color: #3148B9; /* 青 */
	
	color: #E1E1E1;
}








.time-block {
  padding: 10px;
  border-top: 1px solid #ccc;
	
	scroll-margin-top: 80px;
	
}

.program {
  margin-top: 5px;
  background: #f9f9f9;
  padding: 10px;
  border-left: 6px solid #F5A21B;
}




.program a {
  font-size: 1.2rem; /* 今より少し大きめに */
  font-weight: bold; /* 太字で強調 */
  color: #000;       /* 必要なら色も調整可能 */
	display: block; /* これで下にパーソナリティを押し出す */
}



.hidden {
  display: none;
}



/*パーソナリティアイコン
*/

.personality  {
  font-size: 1rem;
  color: #555;;
  margin-left:6px; /* 少し左に余白 */
	  display: flex;
  align-items: center;
  gap: 8px; /* 画像と名前の間の余白 */
  margin-top: 4px;
}




/*パーソナリティアイコンくん*/
.personality img {
  width: 18px; /* お好みで調整！ */
  height: auto;
	border-radius: 0;
}








/*詳細を見るよん*/


.details-button {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 18px;
  background-color: #F5A21B; /*  ボタンの色*/
  color: #0B0000;
  text-decoration: none;
  border-radius: 999999px;
  font-size: 1rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
	font-family: "gill-sans-nova", sans-serif;
	
	font-weight: bold;
border: 5px solid #333; /* 線の太さと色 */
	
	
	
		
		
}



/*番組の詳細を見るをホバーするぴょん*/

.details-button:hover {
  background-color: #58FFAD;
}




.time-with-icon {
  display: flex;
  text-align: center;
  gap: 6px; /* 画像とテキストの間の隙間 */
	 line-height: 1; /* 行の高さを画像と合わせる */
}

.time-with-icon .icon {
   width: 20px;
  height: 20px;
	object-fit: contain;
	 border-radius: 0; /* 角丸を解除 */
}








/*番組もっと見るのアイコン*/
.detail-icon {
    width: 25px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;

}




/*帯番組とかのタイトルネーム*/

.program-title-image {
  display: block;
	
height:20px;
	width:auto;
  
  margin-bottom: 9px; /* 番組名との間のスペース */
}












/*おすすめ番組*/



.recommendations {
	
	 
  max-width: 960px;
  margin: 40px auto 80px;
  padding: 0 20px;
  font-family: "gill-sans-nova", sans-serif;
  margin-bottom: 30px;
	
}

.recommendations h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 24px;
  border-bottom: 5px solid #ED6D38;
  padding-bottom: 8px;
	font-family: "gill-sans-nova", sans-serif;
}

.cards {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.card {
  position: relative;
  background: #f5f5f5;
  border-radius: 12px;
  flex: 1 1 280px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  border: 4px solid #000;
  transition: transform 0.4s ease;
  /* 少しだけ余白あけると見やすい */
  margin-bottom: 20px;
}
	
.card::after {
  content: "";
  position: absolute;
  left: 4px;   /* ボーダーの内側に合わせる */
  right: 4px;  /* ボーダーの内側に合わせる */
  top: 100%;   /* カードの真下に配置 */
  height: 0;
  background: black;
  border-radius: 0 0 12px 12px;
  transition: height 0.3s ease;
  z-index: -1;
}
	
	
	

.card:hover {
  transform: translateY(-6px);
}
	
	
.card:hover::after {
  height: 8px;  /* 下方向に影がにょきっと伸びる */
}
	
.card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #363636;
}

.card p {
  font-size: 1rem;
  color: #555;
}


.name-with-icon {
  display: flex;
  text-align: center;
  gap: 6px; /* アイコンと文字の間の隙間 */
	
}

.name-with-icon .icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 0; /* もし丸くしたくなければ */
}



.program-images{
	
	
	
	width:70%;
	height:auto;
	
	
}







/*タイムテーブル*/



.container2{
	font-family: "gill-sans-nova", sans-serif;
margin-top:150px;
	font-weight: bold;
}

.schedule-wrapper {
   max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
	  /* 横スクロール対応 */
  overflow-x: auto;     /* 横方向にスクロールできる */
  -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
  
}

/* ✅ 表の基本設定 */



.program-schedule {
   width: 100%;  /* ここを auto → 100% に */
  max-width: 100%;      /* 親要素の幅を超えない */
	  max-height: 300px; /* 縦スクロールの高さ */
	
	  overflow-y: auto;
  margin: 20px auto 10px;
  border-collapse: separate;
  border-spacing: 16px 0;
  
 table-layout: fixed; /* ← ここを変えるハム！ */
 
	  min-width: 1500px; /* ここで番組名の横幅調整。あと.program-schedule th,
.program-schedule td {
  min-width: 180px !important; /* ← 強制的に効かせる！で調整する */
	
	/* 高さを固定してtbodyをスクロール可能にする */
 
	
	
}

/* ✅ セルの基本 */
.program-schedule th,
.program-schedule td {
  border: none;
  padding: 18px 6px;
  text-align: center;
  vertical-align: top;
  font-size: 13px;
  min-width: 290px !important; /* ← 強制的に効かせる！ */
  background-color: #fff;
  height: 80px;
	
	
}

/* ✅ 日付ヘッダー（角丸ボタン風に） */
.program-schedule thead th {
  background-color: #FFA500;
  color: #000;
  font-weight: bold;
  border-radius: 15px;    /* ← 上下左右まるく！ */
 padding: 15px 10px;
	line-height: 1.2;
  border: none;           /* ← いらない線を消す */
	 height: 40px;             /* ⬅️ 固定高さで中央揃えしやすく */
  vertical-align: middle;  /* ⬅️ テーブルセル内で縦中央揃え！ */
  text-align: center;       /* ⬅️ 横も中央揃え */
}

/* ✅ 日にちの下に曜日がある場合 */
.program-schedule thead th span.day {
  display: block;
  font-size: 15px;
  
}
/* ⬆️ 日付部分（上のテキスト）を大きく・目立たせる */
.program-schedule thead th .date {
  font-size: 20px;       /* ← 大きく！ */
  font-weight: bold;
  display: block;
 
}

	
	
	
/* ✅ 時間列 */
.program-schedule th.time-col {
  background-color: transparent;
  
  font-weight: normal;
  border: none;
  color: #555;
	 
	  width: 90px;
  min-width: 100px;
  max-width: 100px;
  padding-left: 8px; /* 少し左に寄せたり調整できる */
  text-align: left;  /* すでに設定されてるけど念のため */
  white-space: nowrap; /* 改行しない */
	
}

/* ✅ 空の時間セル */
.program-schedule th.empty-time {
  background-color: transparent;
  border: none;
}

/* ✅ 横線（15分ごと）だけ表示 */
.program-schedule tbody tr {
  border-bottom: 1px dotted rgba(255, 165, 0, 0.8); /* 濃くて見やすいオレンジ */
}
	.program-schedule tbody {
  height: 600px; /* 必要に応じて高さ調整 */
		 max-height: 600px; /* 必要な高さ */
  overflow-y: auto; /* 縦スクロール */
  overflow-x: hidden;
		 display: block;
}


/* ✅ ボタンまわり */
.week-buttons {
  margin-bottom: 20px;
  text-align: center;
}

.week-buttons button {
  margin: 0 5px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  border: 3px solid #FFA500;
  background-color: #fff;
  color: #333;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.week-buttons button:hover {
  background-color: #ffe0b3;
}

/* ✅ 表示切替 */
.week-wrapper {
  display: none;
}
.week-wrapper.active {
  display: block;
}
	
	
	.program-schedule tbody td {
  border-bottom: 1px dotted rgba(255, 165, 0, 0.8);
  padding-bottom: 8px; /* 線のスペース確保 */
}
.program-schedule tbody tr {
  border-bottom: none; /* trにはボーダーなし */
}



/* 横線はすべてのtbodyのtdに付けて下に表示 */
.program-schedule tbody td,
.program-schedule tbody th.time-col {
  border-bottom: 1px dotted rgba(255, 165, 0, 0.8);
  padding-bottom: 8px;
}

/* trのボーダーはなしに */
.program-schedule tbody tr {
  border-bottom: none;
}


.program-schedule tbody {
  display: block;
}
.program-schedule thead, .program-schedule tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}





/* ✅ 小画面対応（スマホ） */
@media (max-width: 768px) {
  .program-schedule th,
  .program-schedule td {
    font-size: 15px;
    padding: 4px;
  }
.program.with-eyecatch {
    flex-direction: column;
  }

  .program-info,
  .program-eyecatch {
    flex: none;
    width: 80%;
  }

  .program-eyecatch {
    margin-top: 1em;
  }

   .tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* ボタン間の隙間調整 */
    
  }

  .tabs button {
    flex: 1 0 18%;  /* 幅を約5分の1に */
    min-width: 0;   /* 最小幅制限を解除 */
    padding: 6px 1px; /* パディング少し小さく */
   
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
	      font-size: 14px;  /* 文字サイズアップ */
  }
	
.time-nav {
  font-size: 1.2rem; /* ちょっと小さめに */
}

.time-nav a {
  padding: 6px 12px; /* ボタンの内側の余白も小さく */
  border-width: 3.3px; /* 枠線も細く */

}

	
	
  
  }


	
	.program-schedule th.time-col {
    width: 90px;
  min-width: 90px;
  max-width: 70px;
  padding-left: 4px;
  font-size: 20px;
  white-space: nowrap;
  text-align: left;
}
.program-title {
  text-align: left;
  padding-left: 5px; /* お好みで余白も */
}

.monthprogram{
	
	text-align: center;
}







.program-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.5em;
  text-align: left; /* 必要に応じて調整ハム */
}



.rerun-icon {
  display: inline-block;
  vertical-align: middle;
  width: 1.3em;
  height: auto;
	
 

}
.program-start-time{
	
	color:#9C9C9C;
	
	
}
.program.with-eyecatch {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1em;
  flex-wrap: wrap;
}

.program-info {
  flex: 1 1 60%;
}

.program-eyecatch {
  flex: 0 0 150px;
}

.program-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}


