html, body {
  overflow-x: hidden;
}

@charset "utf-8";

.content .main-column{
	display:block;
	margin:1.25rem auto;
}

img{
  display:inline-block;
}

/*タブ*/

.panel{
	margin-bottom:0px;
}

.panels > .panel {
  display: none;
}

.panels > .panel.active {
  display: block;
}

.tabs{
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.tabs-rounded .tab{
	margin: 0px 2px;
}

.tab {
	padding:10px 10px;
	background-color: #f1f0f0;
	text-align: center;
	 color: #959595;
	/*float: left; */
	transition: all 0.3s ease;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	width:calc(100% / 2);
}

.tabs a:hover{
	background-color: #ec323d;
  color: #fff;
	text-decoration: none;
}

.tab.active {
  background-color: #ec323d;
  color: #fff;
}

/*タブ*/

/*slide*/

/*
.tab-wrap {
	background: White;
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	padding: 0 0 20px;
}

.tab-label {
	color: Gray;
	cursor: pointer;
	flex: 1;
	font-weight: bold;
	order: -1;
	padding: 12px 24px;
	position: relative;
	text-align: center;
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s;
	user-select: none;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}

.tab-label:hover {
	background: #fbd5d8;
}

.tab-switch:checked + .tab-label {
	color: #ec232d;
}

.tab-label::after {
	background: #ec232d;
	bottom: 0;
	content: '';
	display: block;
	height: 3px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translateX(100%);
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s 80ms;
	width: 100%;
	z-index: 1;
}

.tab-switch:checked ~ .tab-label::after {
	transform: translateX(-100%);
}

.tab-switch:checked + .tab-label::after {
	opacity: 1;
	transform: translateX(0);
}

.tab-content {
	height:0;
	opacity:0;
	padding: 0;
	pointer-events:none;
	transform: translateX(-30%);
	transition: transform .3s 80ms, opacity .3s 80ms;
	width: 100%;
}

.tab-switch:checked ~ .tab-content {
	transform: translateX(30%);
}

.tab-switch:checked + .tab-label + .tab-content {
	height: auto;
	opacity: 1;
	order: 1;
	pointer-events:auto;
	transform: translateX(0);
}

.tab-wrap::after {
	content: '';
	height: 0px;
	order: -1;
	width: 100%;
}

.tab-switch {
	display: none;
} */




/*slide*/

/*ktk*/


.header{
  width:100%;
  height:auto;
  margin:auto;
}

.schedule-list{
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
			flex-direction: row;
	-ms-flex-wrap: nowrap;
			flex-wrap: nowrap;
	-webkit-box-pack: start;
		 -ms-flex-pack: start;
	 justify-content: flex-start;
}

.schedule-thumb img{
  width:160px;
  height:auto;
	margin:2.5px;
}

.channel-container {
		display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
  }

.channel-thumb{
		position: relative;
	}

.channel-thumb img{
  width:320px;
  height:auto;
  margin:auto;
}

.twitter img{
	display: inline-block;
	width:18px;
	vertical-align:text-top;
	margin-right:6px;
}

/*ktk*/

@media screen and (min-width:768px) {

.sp{
	display:none;
	}

.pc{
	display:inline-block;
	}

.content{
	width:100%;
	padding:0;
}

.content .main-column{
	width:72%;
}

/*ktk*/

.channel-wrapper {
width:90%;
margin:auto;
display:-webkit-box;
display:-ms-flexbox;
display:flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
		flex-direction: row;
		-ms-flex-wrap: wrap;
			flex-wrap: wrap;
			-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	 -ms-flex-line-pack: justify;
				align-content: space-between;
			}

.channel-container{
	margin-bottom:30px;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
				 flex: 0 1 50%;
				 -webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
				 -ms-flex-line-pack: justify;
							align-content: space-between;
						}

.channel-description{
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
width:320px;
min-height:80px;
}

.channel-thumb img{
	width:320px;
	height: auto;
	margin: auto;
}

/*ktk*/


}



@media screen and (max-width:767px) {

.sp{
	display:block;
	}

.pc{
	display:none;
	}

body{
	min-width:300px;
	font-size:0.875rem;
	}

.content{
	 min-width:300px;
  /*  padding: 0.5rem; */
	}

.global-header, .global-footer{
	width:100%;
	text-align:center;
	}

.global-header-logo{
	margin:auto;
	}

.heading-large .heading-title {
	float: left;
	font-size: 20px;
	font-weight: bolder;
	margin-bottom: 0
}

.pl60{
		padding-left:0 !important
	}

.pr50{
		padding-right:0 !important
	}

.pr60{
		padding-right:0 !important
	}

.g-unit-1-4{
	width: 70%;
	margin:auto;
	}

	.tab-wrap {
		width:100%;
	}

	.tab {
		width:calc(100% / 2);
	}

/*ktk*/

body{
min-width:300px;
font-size:0.875rem;
}

.content{
min-width:300px;
	padding: 0.5rem;
}

.global-header, .global-footer{
width:100%;
text-align:center;
}

.global-header-logo{
margin:auto;
}

.schedule-thumb img{
  width:80px;
  height:auto;
}

.channel-wrapper {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-wrap: nowrap;
			flex-wrap: nowrap;
	-webkit-box-pack: start;
		 -ms-flex-pack: start;
	 justify-content: flex-start;
	 -webkit-box-align: stretch;
		-ms-flex-align: stretch;
		align-items: stretch;
	-ms-flex-line-pack: justify;
			 align-content: space-between;
}

.channel-container {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
			flex-direction: row;
	-ms-flex-wrap: nowrap;
			flex-wrap: nowrap;
	-webkit-box-pack: start;
		 -ms-flex-pack: start;
	 justify-content: flex-start;
	 -webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	-ms-flex-line-pack: justify;
			 align-content: space-between;
	margin-bottom:25px;
}

.channel-thumb{
	-ms-flex-preferred-size: 160px;
							 flex-basis: 160px;
	padding-right: 0.3rem;
	margin-left: 0.3rem;
}
.channel-thumb img{
	width:160px;
	height:auto;
	margin:auto;
}

h2 img{
	width:80%;
}

h2{
	margin-bottom: 10px;
}

h3{
	margin-bottom: 0;
}

td.date{
	padding-right: 0;
}

.copyright{
	color:#333;
	background-color: #fff;
}
.footer-go-top img{
	display: inline-block;
	vertical-align:top;
}
/*ktk*/

}

.today-badge {
  display: inline-block;
  background: #f7941d;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-weight: bold;
  font-size: 0.9em;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 768px) {
  .today-badge {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 0.8em;
  }
}

/* --- 非インタラクティブ共通クラス --- */
.non-interactive,
.non-interactive * {
  user-select: none;
  caret-color: transparent;
  outline: none;
  -webkit-user-modify: read-only;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.programs-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 750px;
  margin: 0 auto 1em;
  text-align: center;
}

.program-card {
  text-decoration: none;
  color: inherit;
}

.program-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.program-card p {
  font-size: 13px;
  line-height: 1.4;
  margin-top: 6px;
}

@media screen and (max-width: 480px) {
  .programs-2col {
    grid-template-columns: 1fr 1fr; /* 2列キープ */
    gap: 10px;
  }

  .program-card p {
    font-size: 12px;
    line-height: 1.3;
  }
}

@media screen and (max-width: 480px) {
  .program-no-br p br {
    display: none;
  }
}

td.day-cell {
  position: relative;
  border: 1px solid #ccc;
  vertical-align: top;
  min-height: 220px; /* ← 3段以上対応する安全な高さ */
}

}
.cell-wrapper {
  position: relative; /* 追加 */
  height: 100%;
  padding: 4px;
}
.schedule-bar {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 32px;
  font-size: 0.85em;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

