#container #schedule {
	text-align: left;
}

#container #schedule iframe {
	width: 100%;
}

table.calender {
	max-width: 525px;
	width: 100%;
	padding: 0 0 50;
	border-collapse: collapse;
}

table.calender tr th,
table.calender tr td {
	padding: 4px;
	border-top: none;
	border-right: none;
	border-bottom: 1px solid #F5FCFF;
	border-left: none;
	vertical-align: top;
}

table.calender th {
	font-weight: bold;
	color: #0670c6;
}
#ssd-link {
	margin-top: 12px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCCCFF;
	padding-top: 6px;
	padding-bottom: 12px;
}

#mainimage {
	margin-top:0px;
	margin-bottom:0px;
	max-width: 780px;
	width: 100%;
	position:relative;
	min-height: 299px;
}

@media screen and (max-width:779px) {
	#mainimage {
		margin-top:64px;
	}
	table.calender tr {
		display: block;
		width:100%;
	}
	table.calender tr th, table.calender tr td {
		border-bottom:none;
	}
	table.calender tr td {
		padding: 4px 0;
		display: block;
		width:100%;
	}
	table.calender tr td.gaiyoudate {
		border-top: solid 1px #eeeeee;
	}
}
@media screen and (max-width:680px) {
	#mainimage {
		min-height: 240px;
	}
}

@media screen and (max-width:499px) {
	#mainimage {
		min-height: 200px;
	}
}

@media screen and (max-width:355px) {
	#mainimage {
		min-height: 166px;
	}
}


#mainimage  li {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
}

#mainimage  li img {
	width: 100%;
	height: auto;
}

#mainimage  li.active {
    z-index:10;
}

#mainimage  li.last-active {
    z-index:9;
}
