
.ui-datepicker {
	display: none;
	margin-top: 10px;
	background: #fff;
	border: 1px solid #c8c8c8;
	font-size: 2rem;
	box-sizing: border-box;
}
.ui-datepicker-header {
	height: 30px;
	line-height: 40px;
	color: #494747;
	font-weight: lighter;
	margin-bottom: 10px;
	margin-top: 8px;
}
.ui-datepicker-prev, .ui-datepicker-next {
	cursor: pointer;
	font-size: 87%;
	text-decoration: none;
}
.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
	text-decoration: none;
}

.ui-datepicker-prev.ui-state-disabled {
	opacity: 0.2;
}

.ui-datepicker-prev {
	float: left;
	margin-left: 20px; 
}
.ui-datepicker-next {
	float: right;
	margin-right: 20px;
}

.ui-datepicker-title {
	text-align: center;
}
.ui-datepicker-calendar {
	width: 85%;
	margin: 0 auto;
	margin-bottom: 10px;
	text-align: center;
}
.ui-datepicker-calendar th {
	padding: 3px;
	border: none;
	background: #fff;
}
.ui-datepicker-calendar th span {
	padding: 10px;
}

.ui-datepicker-calendar td {
	padding: 3px;
	background: #fff;
	border: none;
}
.ui-state-default {
	display: block;
	text-decoration: none;
	color: #494747;
	line-height: 100%;
	width: 100%;
	height: 100%;
	padding: 10px;
}
.ui-datepicker-week-end .ui-state-default {
	color: #da251c;
}
.ui-datepicker-week-end:last-child .ui-state-default {
	color: #0073b8;
}

a.ui-state-default:hover,
.ui-datepicker-week-end:last-child a.ui-state-default:hover {
	color: #fff;
	background: #003366;
	border-radius: 100%;
	text-decoration: none;
}
.ui-datepicker-today a {
	border: solid 1px #003366;
	border-radius: 100%;
}
a.ui-state-default.ui-state-active,
.ui-datepicker-week-end:last-child a.ui-state-default.ui-state-active {
	color: #fff;
	background-color: #363636;
	border-radius: 100%;
}
.ui-state-disabled .ui-state-default {
	opacity: 0.2;
}



/* ------------------------------
 スマホ用コード
------------------------------ */
@media screen and (max-width: 767px) {
	.ui-datepicker {
		position: fixed !important;
		top: auto !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		border-left: none;
		border-right: none;
	}
	
	.ui-state-default {
		padding: 15px 10px;
	}
}
@media screen and (max-width: 479px) {
	
	.ui-state-default {
		padding: 10px 8px;
	}
}
