/*タブ切り替え全体のスタイル*/
.tabs {
//	padding-bottom: 40px;
//	background-color: #fff;
//	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
//	width: 700px;
	margin: 0 auto;
	max-width: 560px;
	padding-top: 1em;
	
}

/*タブのスタイル*/
.tab_item {
	width: 14.2%;
//	width: 16.6%;
//	width: 20%;
//	width: 33.3%;
//	width: calc(100%/3);
	height: 2.7em;
	border-bottom: 0.3em solid #ee7d76;
	background-color: #F7FBC3;
	line-height: 2.7em;
	font-size: 1.5em;
	text-align: center;
	color: #ee7d76;
	font-weight: bold;
	display: block;
	float: left;
	transition: all 0.2s ease;
	
	position: -webkit-sticky;
	position: sticky;
	top: 11.6em;
}
.tab_item:hover {
	color: #fff;
	background-color: #f4ada8;
//	opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
	display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
	display: none;
//	padding: 40px 40px 0;
	clear: both;
//	overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#year_a:checked ~ #year_a_content,
#year_b:checked ~ #year_b_content,
#year_c:checked ~ #year_c_content,
#year_d:checked ~ #year_d_content,
#year_e:checked ~ #year_e_content,
#year_f:checked ~ #year_f_content,
#year_g:checked ~ #year_g_content {
	display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
	background-color: #ee7d76;
	color: #fff;
}

.month_flow {
//	position: -webkit-sticky;
//	position: sticky;
//	position: fixed;
	top: 22em;
	width: 100%;
}

/*リンクの位置調整*/
.month_anc {
//	position: -webkit-sticky;
//	position: sticky;
	position: fixed;
	top: 21.9em;
//	padding-top: 10em;

	width: 100%;
	max-width: 560px;
	height: 4.1em;
	background-color: #F7FBC3;
}

.tab_innner {
}

.schedule-tab-title {
	position: -webkit-sticky;
	position: sticky; 
	top:0; 
	
	z-index: 1; 
	padding: 8.5em 0.5em 1em; 
	margin: -8.5em 0 0; 
	background: #F7FBC3;
}


.sticky{
	top: 0;
	position: sticky;
}
.fixedsticky-withoutfixedfixed .fixedsticky-on, .fixed-supported .fixedsticky-on{
	position: fixed;
}



@media screen and (max-width: 640px) {
.month_anc {
	height: 3.5em;
//	background-color: #F7FBC3;
}

}

@media (-ms-high-contrast: none), (-ms-high-contrast: active) {
.schedule-tab-title {
	top: 1em;
	position: relative;
}
.month_anc {
	position: static;
	top: 10em;
}
}