/* Webフォント */
/* @import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600'); */
@import url('cdn/webfonts/sourcesans.css');

/* 初期設定 */
html {
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}
ul {
	margin: 0;
	padding: 0;
}
li {
	list-style: none;
}

/* アニメーション */
.anitext {
	transition: all .4s cubic-bezier(.5, .35, .15, 1.4);
}

/* サインボード */
.signboard {
	font-family: 'Source Sans Pro', sans-serif;
	width: 100px;
	height: 100px;
	margin: auto;
	color: #fff;
	border-radius: 10px;
	text-transform: uppercase;
	user-select: none;
	-webkit-user-select: none;
}
.front {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	background: #ff726b;
	text-align: center;
}
.right {
	position: absolute;
	right: 0;
	z-index: 2;
	transform: rotate(-10deg) translate(7px, 8px);
	background: #ffb21f;
}
.left {
	position: absolute;
	left: 0;
	z-index: 1;
	transform: rotate(5deg) translate(-4px, 4px);
	background: #3498db;
}
.bottom {
	position: absolute;
	z-index: 0;
	transform: rotate(15deg) translate(-2px, 11px);
	background: #cb5498;
}

.outer {
	position: relative;
	top: 50%;
	z-index: 1;
	/* transform: translateY(-50%); */
	cursor: pointer;
}
.outer:hover .inner {
	transform: rotate(0) translate(0);
}
.outer:active .inner {
	transform: rotate(0) translate(0) scale(0.9);
}
.outer:active .right {
	transform: rotate(-5deg) translateX(80px) scale(0.9);
}
.outer:active .left {
	transform: rotate(5deg) translateX(-80px) scale(0.9);
}
.outer:active .bottom {
	transform: translateY(118px) scale(0.9);
}
.outer:active .calendarMain {
	-webkit-transform: scale(1.8);
	opacity: 0;
	visibility: hidden;
}
.outer:active .clock {
	-webkit-transform: scale(1.4);
	opacity: 1;
	visibility: visible;
}
.outer:active .calendarNormal {
	bottom: -30px;
	opacity: 1;
	visibility: visible;
}
.outer:active .boardYear {
	top: -30px;
	opacity: 1;
	visibility: visible;
	letter-spacing: 3px;
}

.calendarMain {
	width: 100%;
	height: 100%;
	position: absolute;
	opacity: 1;
}
.boardMonth1, .boardWeek1 {
	font-size: 10px;
	line-height: 30px;
	font-weight: 600;
	letter-spacing: 3px;
}
.boardDay1 {
	font-size: 40px;
	line-height: 40px;
	font-weight: 300;
	letter-spacing: 3px;
}
.clock {
	width: 100%;
	height: 100%;
	position: absolute;
	font-size: 40px;
	line-height: 100px;
	font-weight: 300;
	letter-spacing: 3px;
	text-align: center;
	opacity: 0;
	visibility: hidden;
}

.boardYear {
	width: 100%;
	position: absolute;
	top: 0;
	font-size: 14px;
	line-height: 30px;
	letter-spacing: 0;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	color: #ff726b;
}
.calendarNormal {
	width: 100%;
	position: absolute;
	bottom: 0;
	font-size: 14px;
	line-height: 30px;
	font-weight: 600;
	letter-spacing: 3px;
	text-align: center;
	opacity: 0;
	visibility: hidden;
}
.boardDay2 {
	color: #ff726b;
}
.boardWeek2 {
	color: #3498db;
}
.boardMonth2 {
	color: #ffb21f;
}
.boardMoon {
	color: #cb5498;
}
.moonView {
	position: relative;
	width: 60px;
	height: 60px;
	top: 50%;
	left:50%;
	transform: translateX(-50%) translateY(-50%);
}


/* Bootstrap4 関連 */
.container, .container-fluid {
	width: 100%;
	padding: 0 12px;
	margin: 0 auto;
}
.row {
	display: flex;
	flex-wrap: wrap;
	/* margin-right: -15px; */
	/* margin-left: -15px; */
	align-items: center!important;
	/* justify-content: center!important; */
}
.col {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	flex: 0 0 100%;
}
.no-gutters {
	margin-right: 0;
	margin-left: 0;
}
.no-gutters>.col, .no-gutters>[class*=col-] {
	padding-right: 0;
	padding-left: 0;
}

.bg-success { background-color: #28a745!important; }
.bg-warning { background-color: #ffc107!important; }
.bg-danger { background-color: #dc3545!important; }

/* スマホ用表示 */
@media (min-width: 576px) {
	.container { max-width: 540px; }
}
/* タブレット用表示 */
@media (min-width: 768px) {
	.container { max-width: 720px; }
}
/* デスクトップ用表示 */
@media (min-width: 992px) {
	.container { max-width: 960px; }
}
/* ワイド・デスクトップ用表示 */
@media (min-width: 1200px) {
	.container { max-width: 1140px; }
}

/* タブレット以上表示（自作グリッド） */
@media (min-width: 768px) {
	.col-timer {
		flex: 0 0 170px;
		order: 2;
	}
	.col-control {
		flex: 0 0 calc(100% - 170px);
		order: 1;
}
