.ui-datepicker {
	display: none;
	margin-top: 10px;
	background: #fff;
	border: 1px solid #b7c0ca;
	font-size: 1.6rem;
	box-sizing: border-box;
}
.ui-datepicker-header {
	height: 30px;
	line-height: 30px;
	color: #000;
	font-weight: lighter;
	margin-bottom: 10px;
	margin-top: 10px;
}
.ui-datepicker-prev, .ui-datepicker-next {
	cursor: pointer;
	display: inline-block;
	height: 30px;
	font-size: 0;
	line-height: 0;
	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: 10px;
}
.ui-datepicker-next {
	float: right;
	margin-right: 10px;
}

.ui-datepicker-title {
	line-height: 30px;
	font-weight: bold;
	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: #f0f4f9;
	font-weight: bold;
}
.ui-datepicker-calendar th span {
	padding: 5px 10px;
}

.ui-datepicker-calendar td {
	padding: 3px;
	background: #fff;
	border: none;
}
.ui-state-default {
	display: block;
	text-decoration: none;
	color: #494747;
	line-height: 111%;
	width: 100%;
	height: 100%;
	padding: 10px;
}
.ui-datepicker-week-end .ui-state-default {
	color: #e50041;
}
.ui-datepicker-week-end:last-child .ui-state-default {
	color: #0165fe;
}

a.ui-state-default:hover,
.ui-datepicker-week-end:last-child a.ui-state-default:hover {
	color: #fff;
	background: #0d2c4f;
	border-radius: 100%;
	text-decoration: none;
}
.ui-datepicker-today a {
	border: solid 1px #0d2c4f;
	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;
}
/* 追記 */
select.ui-datepicker-year,
select.ui-datepicker-month {
	margin: 0 5px;
	padding: 4px 29px 9pxs 4px;
	border: 1px solid #b7c0ca;
	font-weight: bold;
	vertical-align: top;
	background: url(/shared/img/select.svg) no-repeat right 9px center / 9px 8px;
}
.ui-datepicker-prev .ui-icon,
.ui-datepicker-next .ui-icon {
	display: inline-block;
	position: relative;
	font-size: 0;
	width: 30px;
	height: 30px;
}
.ui-datepicker-prev .ui-icon::before {
	content: "";
	display: inline-block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 12px;
	width: 6px;
	height: 6px;
	margin: auto 0;
	border: 0;
	border-top: solid 2px #000;
	border-right: solid 2px #000;
	transform: rotate(-135deg);
}
.ui-datepicker-next .ui-icon::before {
	content: "";
	display: inline-block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 12px;
	width: 6px;
	height: 6px;
	margin: auto 0;
	border: 0;
	border-top: solid 2px #000;
	border-right: solid 2px #000;
	transform: rotate(45deg);
}
/* ------------------------------
 スマホ用コード
------------------------------ */
@media screen and (max-width: 767px) {
	.ui-datepicker {
		position: fixed !important;
		top: auto !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		z-index: 101 !important;
		border-left: none;
		border-right: none;
	}
	.ui-state-default {
		padding: 15px 10px;
		line-height: 100%;
	}
}
@media screen and (max-width: 479px) {
	.ui-state-default {
		padding: 10px 8px;
	}
}
