@charset "utf-8";

div#business-calendar {
	width: 100%;  
	margin: 0; 
	position: relative;
	line-height: 1.8; 
	font-size:0.8rem;
}

/* -- 以下、カレンダーの枠などの設定 -------------------------------------------------------------------------------- */

div#business-calendar table,
div#business-calendar table tr th,
div#business-calendar table tr td {
	border-collapse: collapse;
	border: 1px solid #cccccc;
	text-align: center;
}

div#business-calendar table tr th,
div#business-calendar table tr td {
	padding: 2px 0;
}


div#business-calendar table {
	width: 100%;
	background: #ffffff;
}


div#business-calendar table:first-child {
	margin-top: 0px;
}

div#business-calendar table th {
	font-weight: bold;
}

div#business-calendar table tr {
}

div#business-calendar table tr#year-month th,
div#business-calendar table tr#year-month td {
	padding: 2px 0;
	font-size: .7rem;
}

div#business-calendar table tr#year-month th {
	position: relative;
}

div#business-calendar table tr#year-month th ul {
	width: 100%;
	list-style-type: none;
	overflow: hidden;
	position: absolute;
	display:flex;
	items-align:center;
	justify-content:center;
	left: 0;
	bottom:5px;
}

div#business-calendar table tr#year-month ul li#prev {
	position: relative;
	width:100%;
	font-size: 0.7rem;
	text-align: left;
}

div#business-calendar table tr#year-month ul li#next {
	position: relative;
	width:100%;
	text-align: right;
	font-size: 0.7rem;
}

div#business-calendar table tr#year-month ul li a {
	font-weight: normal;
	color: #3377ff;
	text-decoration: none;
	position: relative;
}

div#business-calendar table tr#year-month ul li#prev a {
	padding: 0 0 0 2px;
}

div#business-calendar table tr#year-month ul li#next a {
	padding: 0 2px 0 0;
}

div#business-calendar table tr#year-month ul li a:hover {
	cursor: pointer;
	color: #106dff;
	text-decoration: underline;
}


div#business-calendar table tr td {
}

div#business-calendar table th.saturday,
div#business-calendar table td.saturday {
	color: #3535ff;
}

div#business-calendar table th.sunday,
div#business-calendar table td.sunday {
	color: #ff3535;
}




/* -- 以下、定休日のセルの色の設定 -------------------------------------------------------------------------------- */

div#business-calendar table td.holiday {
	background: rgba( 255, 0, 0, 0.1 );
}

div#business-calendar table td.holiday span.holiday-label {
	display: block;
	font-size: 0.7em;
	line-height: 1.2;
}




/* -- 以下、「定休日」の文字などの設定 -------------------------------------------------------------------------------- */

div#business-calendar p.holiday-string {
	margin: 15px 0 0;
}

div#business-calendar p.holiday-string:before {
	content: "■ ";
}

div#business-calendar p.holiday-string:before {
	color: rgba( 255, 0, 0, 0.25 );
}




/* -- 以下、ローディング画像 -------------------------------------------------------------------------------- */

span.loading {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-top: 5px solid rgba( 0, 0, 0, 0.15 );
	border-right: 5px solid rgba( 0, 0, 0, 0.15 );
	border-bottom: 5px solid rgba( 0, 0, 0, 0.15 );
	border-left: 5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -30px;
	margin-left: -30px;
}

@-webkit-keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

@keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}








/* --responsive----------------------------------------------------------------------------------------------------------------------- */

/* 1000pixel start */
@media screen and ( max-width: 1000px ) {


div#business-calendar {
	width:180px;  /* カレンダーの横幅はここで調整 */
}


}
/* 1000pixel end */




