/* メインタイトル類 */
#container.calendar #main {
    width: 1100px;
    margin: 40px auto 0 auto;
}
#container.calendar .ttl.gray{
	background:#e7e7e8;
}
#container.calendar div.ttl h1.green{
	display:flex;
	justify-content:space-between;
	background: #E7E7E8;
}
#container.calendar h1 p{
	width:100%;
	padding: 0;
}
	#container.calendar h1 p.R{text-align:right;}
#container.calendar h1 p span{
	display: inline-block;
	color: #6FB82C;
	font-size: 40px;
}

/*　カレンダー　*/
.calendar .btn{
	float: left;
	margin: 24px 0 0px;
}
.calendar .btn button{
	border: none;
	background: #A6CC31;
	color: #fff;
	width: 144px;
	font-size: 17px;
	letter-spacing: 2px;
	font-family: UD新ゴ M;
	margin: 0px 10px;
	line-height: 33px;
	position:relative;
}
	.calendar .prev:before{
		content:"";
		position:absolute;
		top:0;
		bottom:0;
		left:13px;
		margin:auto 0;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 5px 8.7px 5px 0;
		border-color: transparent #fff transparent transparent;
	}
	.calendar .next:after{
		content:"";
		position:absolute;
		top:0;
		bottom:0;
		right:13px;
		margin:auto 0;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 5px 0 5px 8.7px;
		border-color: transparent transparent transparent #fff;
	}
.calendar ul,
.calendar .week{
	display:flex;
	flex-wrap:wrap;
}
.calendar .days{
	background:#333644;
	padding:0 20px 20px;
}
.calendar .days li{
	width: 14.28%;
	min-height: 140px;
	background:#fff;
	border-right: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
	font-family: UD新ゴ B;
}
.days li span{
	display: block;
	background: #DFDFDF;
	padding: 0 10px;
	color:#75B937;
	position: relative;
	z-index: 5;
}
.calendar .days .week{
	font-size: 20px;
	font-family: UD新ゴ M;
	justify-content: space-around;
	background:#333644;
	color:#fff;
	width:100%;
	min-height: auto;
	border: none;
	padding: 15px 0 10px;
	height: auto !important;
}
.days .box{
	height: 100%;
}
	.days .type{
		color: #fff;
		padding: 0 10px;
		font-family: UD新ゴ L;
		height: 20px;
		margin: 0 -1px;
		cursor:pointer;
	}
	.days .type1{
		background: #75B937;
		position: relative;
		top: 10px;
	}
	.days .type2{
		background: #66cc33;
		position: relative;
		top: 20px;
	}
	.days .type3{
		background: #84ad54;
		position: relative;
		top: 30px;
	}
	.days .type4{
		background: #88cb7f;
		position: relative;
		top: 40px;
	}
	.days .type5{
		background: #96d13e;
		position: relative;
		top: 50px;
	}
	.days .type6{
		background: #75B937;
		position: relative;
		top: 60px;
	}
	.days .type7{
		background: #66cc33;
		position: relative;
		top: 70px;
	}
	.days .type8{
		background: #84ad54;
		position: relative;
		top: 80px;
	}
	.days .type9{
		background: #88cb7f;
		position: relative;
		top: 90px;
	}
	.days .type10{
		position: relative;
		top: 100px;
	}
.days p{
	font-size:13px;
	line-height: 20px;
}
	.days .type10 > p{
		cursor:pointer;
	}
.days div .info{
	display:none;
	flex-wrap:wrap;
	position:absolute;
	background: #FDFFD5;
	color: #000;
	font-size: 13px;
	padding: 10px 10px;
	width: 220px;
	z-index: 10;
	top: 25px;
}
.info dt{
	width:30%;
}
.info dd{
	width:70%;
}
.info dt.e_ttl{
	width:100%;
}
	.days div:hover > .info{
		display: flex;
	}
/*　タブ切替　*/
input[name="tab_item"] {
	display: none;
}
ul#soccer, ul#baseball, ul#etc {
	display:none;
	clear:both;
}
input#soccer:checked ~ ul#soccer,
input#baseball:checked ~ ul#baseball,
input#etc:checked ~ ul#etc {
	display: flex;
}
.tab_item{
	float:right;
	font-size: 20px;
	font-family:UD新ゴ M;
	color:#75B937;
	line-height: 65px;
	background: #E7E7E7;
	display: inline-block;
	width:180px;
	text-align:center;
	margin:0 0 0 10px;
 	border-radius: 5px 5px 0px 0px;
	transition: all 0.2s ease;
	cursor:pointer;
}
	.tab_item:hover{
		opacity:0.75;
	}
input:checked + .tab_item{
	background:#333644;
	color:#fff;
}

.start p{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#page-top{
	margin-left:570px;
}

.days .none{
	color: #FFFFFF;
	height: 20px;
	margin: 0 -1px;
	position: relative
}

/* 768px未満sp */
@media screen and (max-width:767px){

	#main{
		padding:0;
	}
	#container .ttl.gray{
		margin-left:0;
	}
	#container.calendar div.ttl h1.green{
		display:block;
		padding:0 10px;
		font-size: 35px;
	}

	/* カレンダー */
	.calendar .btn{
		float:none;
		margin-bottom:20px;
		margin-top:10px;
		display: flex;
		justify-content: space-around;
	}
		.calendar .btn:after{
			content:"バーをタップするとイベント詳細を確認できます";
			display:block;
		}
	.calendar .btn button{
		margin-bottom:10px;
	}
	.tab_item{
		width: 26vw;
		font-size: 15px;
		line-height: 35px;
		margin: 0 10px 0 0px;
	}

	.calendar .days{
		background:#fff;
		padding:0px 0 10px;
		border-top:10px solid #333644;
		overflow: hidden;
	}
	.calendar .days li{
		width:100%;
		display:flex;
		margin: 0 0 5px;
		min-height: auto;
		border-top: 1px solid #DDDDDD;
		border-right: none;
	}
	  .calendar .days li:first-child{
			border-top:none;
		}
	.calendar .days .week,
	.calendar .days li:empty{
		display:none;
	}
	.days li span{
		background: #333644;
		color: #fff;
		font-size: 25px;
		width: 55px;
		text-align:center;
	}
	.days .box{
		display: flex;
		width: auto;
	}
	.days .type > p,
	.days .type10 > p{
		-webkit-writing-mode: vertical-rl;
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		height: 140px;
		position: absolute;
		z-index: 5;
		top: 4px;
		left: 0;
		right: 0;
		margin: 0 auto;
		font-size: 11px;
		white-space:nowrap;
		line-height: 6vw;
		overflow:hidden;
		pointer-events: none;
	}
	.days .type10 > p{
		top:0;
		letter-spacing:-1px;
	}
	.days .type{
		min-height: 42px;
		top: 0 !important;
		margin: 0px 0 0;
		padding: 0 4px;
		width: 4vw;
	}
		.days .box > div{
			min-width:6vw;
		}
		.days .type.on,
		.days .type.on:before{
			background:#B99337;
		}
		.days .type1:before,
		.days .type6:before{
			content:"";
			display: block;
			background: #75B937;
			width: 6vw;
			height: 10px;
			position: absolute;
			top: -10px;
			left: 0;
		}
		.days .type2:before,
		.days .type7:before{
			content:"";
			display: block;
			background: #66cc33;
			width: 6vw;
			height: 10px;
			position: absolute;
			top: -10px;
			left: 0;
		}
		.days .type3:before,
		.days .type8:before{
			content:"";
			display: block;
			background: #84ad54;
			width: 6vw;
			height: 10px;
			position: absolute;
			top: -10px;
			left: 0;
		}
		.days .type4:before,
		.days .type9:before{
			content:"";
			display: block;
			background: #88cb7f;
			width: 6vw;
			height: 10px;
			position: absolute;
			top: -10px;
			left: 0;
		}
		.days .type5:before{
			content:"";
			display: block;
			background: #96d13e;
			width: 6vw;
			height: 10px;
			position: absolute;
			top: -10px;
			left: 0;
		}
		.days div:hover > .info{
			display:none;
		}
.days .type1{
	position: relative;
	left: 7px;
}
.days .type2{
	position: relative;
	left: 14px;
}
.days .type3{
	position: relative;
	left: 21px;
}
.days .type4{
	position: relative;
	left: 28px;
}
.days .type5{
	position: relative;
	left: 35px;
}
.days .type6{
	position: relative;
	left: 42px;
}
.days .type7{
	position: relative;
	left: 49px;
}
.days .type8{
	position: relative;
	left: 56px;
}
.days .type9{
	position: relative;
	left: 63px;
}
.days .type10{
	position: relative;
	left: 70px;
}
	.days div .info{
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 100%;
		max-width:300px;
		z-index: 999;
		padding:20px 10px;
	}
	.days div .info:before{
		content: "×";
		background: #F6CF95;
		padding: 0px 5px;
		display: block;
		position: absolute;
		right: 0px;
		top: 0;
		font-size: 15px;
	}
	.days .start:before{
		content:none;
	}
.days .none1{
	position: relative;
	left: 7px;
}
.days .none2{
	position: relative;
	left: 14px;
}
.days .none3{
	position: relative;
	left: 21px;
}
.days .none4{
	position: relative;
	left: 28px;
}
.days .none5{
	position: relative;
	left: 35px;
}
.days .none6{
	position: relative;
	left: 42px;
}
.days .none7{
	position: relative;
	left: 49px;
}
.days .none8{
	position: relative;
	left: 56px;
}
.days .none9{
	position: relative;
	left: 63px;
}
.days .none10{
	position: relative;
	left: 70px;
}

}
