
/*===========================================================
+-----+// timetable
===========================================================*/
#time_head{
	position: -webkit-sticky;
	position: sticky;
	z-index: 101;
	top: 80px;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
    background: #1d3952;
}

#time_head .h1_ttl {
	margin-top: 0;
}

#time_head .h1_ttl img {
	display: block;
	width: auto;
	height: 36px;
	margin: 0 auto;
}

#time_head a{
	transition: all 0.3s;
}
#time_head a:hover{
	opacity: 0.7;
}

.quality{
	right: 15px;
	top: 30px;
}

.quality.weekly{
	top: -173px;	
}

.quality ul{
	display: flex;
}

.quality_btn {
	font-family: inherit;
	font-size: 2.0rem;
	width: 85px;
	height: 40px;
	margin-left: 8px;
	line-height: 40px;
	display: block;
	color: #555;
	border: none;
	border-radius: 5px;
	background: #EEE;
	font-weight: bold;
	text-align: center;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

.quality .active {
	color: #fff;
	background: #222222;
}

.time_nav {
    max-width: 1280px;
    margin: 0 auto 25px !important;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
}
.time_format {
	display: flex;
	justify-content: flex-start;
	flex-wrap: nowrap;
	width: 360px;
	border-radius: 5px;
	overflow: hidden;
}
.time_format li {
	width: 50%;
}
.time_format a,
.time_format span{
	height: 40px;
	line-height: 40px;
	text-align: center;
	display: block;
	color: #fff;
	background: #cccccc;
}
.time_format .active {
	background: #222222;
}

.time_select {
	display: flex;
	justify-content: flex-end;
	flex-wrap: nowrap;
}

.time_select a{
	width: 120px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	display: block;
	color: #fff;
	border-radius: 20px;
	margin-left: 10px;
	padding-right: 12px;
	font-weight: 700;
	box-sizing: border-box;
	background: url("/images/icons/arrow03_d.png") right 12px center no-repeat #fff;
}
		
.time_select li:nth-child(1) a{
	background-color: #1c87bb;
}
.time_select li:nth-child(2) a{
	background-color: #dd960f;
}
.time_select li:nth-child(3) a{
	background-color: #5f89c6;
}
.time_select li:nth-child(4) a{
	background-color: #a093f7;
}
		
.time_select .active a{
	background: #222222;
}

/*===========================================================
+-----+// time_tab
===========================================================*/

.time_tab{
	max-width: 1280px;
	margin: 0 auto;
	padding-bottom: 8px;
	display: flex;
	justify-content: flex-start;
	flex-wrap: nowrap;
	position: relative;
	align-items: flex-end;
}

.time_tab a{
	transition: all 0.3s;
}

.time_tab ul{
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	flex-wrap: nowrap;
	position: relative;
	padding-top: 7px;
	height: 42px;
	width: 95.5%;
}	
/*.time_tab:after{
	position: absolute;
	content:'';
	z-index: 10;
	width: 100%;
	bottom: 0;
	height: 8px;
	background: #333;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}*/
			
.time_tab li{
	position: relative;
	width: 12.5%;
	height: 42px;
	text-align: center;
	line-height: 1.1;
}

.time_tab.daily li{
/*	position: absolute;*/
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.time_tab.weekly li{
	background: #eee;
}

.time_tab li.active{
	z-index: 10 !important;
	top: 0;
	height: 50px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.time_tab li.active a,
.time_tab.weekly li.active{
	height: 50px;
	color: #fff !important;
	background: #28aecc;
}

.time_tab.weekly li.active {
	position: relative;
	left: auto;
	margin-top: -8px;
	border-radius: 5px 5px 0 0;
}

.time_tab li a:hover:after,
.time_tab li.active a:after,
.time_tab.weekly li.active::after{
	position: absolute;
	bottom: -15px;
	left: calc(50% - 15px);
	content: "";
	border-top: 15px solid #28aecc;
	border-right: 15px solid transparent;
	border-left: 15px solid transparent;
}

.time_tab li.Sat a{color: #05f5f0;}
.time_tab li.Sun a{color: #f03f4d;}
			
/*.time_tab li:nth-child(1){z-index: 8;left: 0}
.time_tab li:nth-child(2){z-index: 7;left: 12.5%}
.time_tab li:nth-child(3){z-index: 6;left: calc(12.5% * 2)}
.time_tab li:nth-child(4){z-index: 5;left: calc(12.5% * 3)}
.time_tab li:nth-child(5){z-index: 4;left: calc(12.5% * 4)}
.time_tab li:nth-child(6){z-index: 3;left: calc(12.5% * 5)}
.time_tab li:nth-child(7){z-index: 2;left: calc(12.5% * 6)}
.time_tab li:nth-child(8){z-index: 1;left: calc(12.5% * 7)}*/
			
			
.time_tab ul a{
	display: block;
	height: 42px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background: linear-gradient(114.88deg, #1c87bb 0%, #29b5ce 97.15%);
	line-height: 25px;
}		
.time_tab ul span{
	font-size: 2.2rem;
	font-weight: bold;
	padding-top: 10px;
	display: inline-block;
}
.time_tab .back,
.time_tab .next{
	width: 4.5%;	
}
.time_tab .back a,
.time_tab .next a{
	height: 42px;
	display: block;
	text-indent: -9999px;
	background:url("/images/icons/arrow03_l.png") center center no-repeat #999999;
	background-size: 14px auto;
	margin-top: 7px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.time_tab .next a{
	background:url("/images/icons/arrow03_r.png") center center no-repeat #999999;
	background-size: 14px auto;
}

.time_tab .back a:hover,
.time_tab .next a:hover{
	opacity: 0.7;
}

/*===========================================================
+-----+// ch_head
===========================================================*/
.ch_head {
	position: -webkit-sticky;
	position: sticky;
	top: 294px;
	z-index: 100;
	display: flex;
	max-width: 1280px;
	margin: 0 auto;
	padding-left: 54px;
	background-color: #f21828;
	box-sizing: border-box;
	/*border-bottom: 1px solid #DDD;*/
}

.ch_head::before {
	content: "";
	position: absolute;
	top: 0;
	left: calc(50% + 27px);
	z-index: 2;
	width: 1px;
	height: 100%;
	background-color: #333;
}

.ch_head li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50%;
	height: 42px;
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	background-color: #27aacb;
}

/*===========================================================
+-----+// timetable_content
===========================================================*/

.timetable_content .icons{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: calc(100% - 100px);
	margin:0 0 10px;
}	
.timetable_content .icons li{
	text-align: center;
	min-width: 46px;
	height: 22px;
	box-sizing: border-box;
	margin: 5px 10px 0 0;
	font-size: 1.2rem;
	font-weight: bold;
	border: solid 2px #4d4d4d;
	padding: 0 5px;
}

/*===========================================================
+-----+// timetable daily
===========================================================*/
.timetable_wrap {
	position: relative;
}

.timetable_wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: calc(50% + 27px);
	z-index: 2;
	width: 1px;
	height: 100%;
	background-color: #DDD;
}

.timetable_content {
	position: relative;
	display: grid;
	row-gap: 1px;
	grid-template-columns: 54px 1fr 1fr;
	max-width: 1280px;
	margin: 0 auto 100px;
	border-bottom: solid 2px #eeeeee;
	border-top: 1px solid #DDD;
	border-right: 1px solid #DDD;
	box-sizing: border-box;
}

.timetable_content.ch4k {
	grid-template-columns: 54px 1fr;
}

.weekly2 .timetable_content {
	grid-template-columns: 54px 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.weekly1 .timetable_content {
	border-right: none;
	border-left: 1px solid #DDD;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 54px;
}

.timetable_content .hour {
	position: relative;
	grid-column: 1 / 2;
	grid-row: 1 / 60;
	padding: 40px 0;
	font-size: 2rem;
	color: #fff;
	text-align: center;
	background-color: #27aacb;
	box-sizing: border-box;
}

.weekly1 .timetable_content .hour {
	grid-column: 9 / 10;
}

.timetable_content .h5 { grid-row: 60 / 120; }
.timetable_content .h6 { grid-row: 120 / 180; }
.timetable_content .h7 { grid-row: 180 / 240; }
.timetable_content .h8 { grid-row: 240 / 300; }
.timetable_content .h9 { grid-row: 300 / 360; }
.timetable_content .h10 { grid-row: 360 / 420; }
.timetable_content .h11 { grid-row: 420 / 480; }
.timetable_content .h12 { grid-row: 480 / 540; }
.timetable_content .h13 { grid-row: 540 / 600; }
.timetable_content .h14 { grid-row: 600 / 660; }
.timetable_content .h15 { grid-row: 660 / 720; }
.timetable_content .h16 { grid-row: 720 / 780; }
.timetable_content .h17 { grid-row: 780 / 840; }
.timetable_content .h18 { grid-row: 840 / 900; }
.timetable_content .h19 { grid-row: 900 / 960; }
.timetable_content .h20 { grid-row: 960 / 1020; }
.timetable_content .h21 { grid-row: 1020 / 1080; }
.timetable_content .h22 { grid-row: 1080 / 1140; }
.timetable_content .h23 { grid-row: 1140 / 1200; }
.timetable_content .h24 { grid-row: 1200 / 1260; }
.timetable_content .h25 { grid-row: 1260 / 1320; }
.timetable_content .h26 { grid-row: 1320 / 1380; }
.timetable_content .h27 { grid-row: 1380 / 1440; }
.timetable_content .h28 { grid-row: 1440 / 1500; }

.timetable_content .afternoon {
	background-color: #dd960f;
}

.timetable_content .night {
	background-color: #5f89c6;
}

.timetable_content .lateNight {
	background-color: #7369b4;
}

.timetable_content .program {
	position: relative;
	margin-bottom: 0;
	/*background-color: #fff;*/
	box-sizing: border-box;
}

.timetable_content .hour::before,
.timetable_content .program::before,
.timetable_content .program::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 1px;
	background-color: #DDD;
}

.daily .program.first::before {
	content: none;
}

.daily .program.unique{
	/*background: #FFF1D1;*/
}

.daily .program.nowprogram{
	/*background: #fce8ec;*/
}

.daily .program.ch1 {
	grid-column: 2 / 3;
}

.daily .program.ch2 {
	grid-column: 3 / 4;
}

.daily .program .inner {
	display: block;
	height: 100%;
	padding: 4%;
	box-sizing: border-box;
}

.daily .ch4k .program .inner {
	display: flex;
	align-items: flex-start;
	padding: 40px;
}

.timetable_content .program a {
	transition: background 0.3s;
}

.timetable_content .program a:hover{
	/*background: #fce8ec;*/
}

.daily .ch4k .program .detail {
	width: calc(100% - 460px);
	padding-right: 20px;
	box-sizing: border-box;
}

.daily .program .time {
	display: inline-block;
	width: 7.7rem;
	font-size: 1.2rem;
	vertical-align: top;
}

.daily .timetable_content .icons {
	display: inline-flex;
	width: calc(100% - 7.7rem);
}

.daily .program .title {
	font-size: 1.2rem;
	font-weight: bold;
	line-height: 1.4;
}

.daily .program .text {
	word-break: break-all;
	margin-top: 30px;
}

.daily .ch4k .program figure {
	width: 460px;
}

.daily .program figure img {
	width: 100%;
	height: auto;
	margin-top: 24px;
}

.daily .program figcaption {
	margin-top: 8px;
	text-align: right;
	font-size: 1.4rem;
}

.daily .program .multichBtn {
	display: none;
}

/*===========================================================
+-----+// timetable weekly
===========================================================*/
.weekly .program .inner {
	display: block;
	height: 100%;
	padding: 0 5px;
	box-sizing: border-box;
}

.weekly .program .time {
	display: inline-block;
	font-size: 1.4rem;
	font-weight: bold;
	vertical-align: top;
	white-space: nowrap;
}

.weekly .timetable_content .border {
	position: absolute;
	top: 0;
	z-index: 2;
	width: 1px;
	height: 100%;
	background-color: #DDD;
}

.weekly2 .b01 { left: calc(12.5% + 47.25px); }
.weekly2 .b02 { left: calc(25% + 40.5px); }
.weekly2 .b03 { left: calc(37.5% + 33.25px); }
.weekly2 .b04 { left: calc(50% + 27px); }
.weekly2 .b05 { left: calc(62.5% + 20.25px); }
.weekly2 .b06 { left: calc(75% + 13.5px); }
.weekly2 .b07 { left: calc(87.5% + 6.75px); }

.weekly1 .b01 { left: calc(12.5% - 6.75px); }
.weekly1 .b02 { left: calc(25% - 13.5px); }
.weekly1 .b03 { left: calc(37.5% - 20.25px); }
.weekly1 .b04 { left: calc(50% - 27px); }
.weekly1 .b05 { left: calc(62.5% - 33.75px); }
.weekly1 .b06 { left: calc(75% - 40.5px); }
.weekly1 .b07 { left: calc(87.5% - 47.25px); }

.weekly .timetable_content .icons {
	width: auto;
	margin: 0;
}

.weekly .timetable_content .icons li {
	min-width: auto;
	height: auto;
	padding: 0 5px;
	margin: 0 5px 5px 0;
	font-size: 1.4rem;
	font-weight: normal;
	text-align: left;
	border: solid 2px #000;
}

.weekly .program .title {
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.4;
	word-break: break-all;
}

.weekly .program .text {
	font-size: 1.4rem;
	word-break: break-all;
}