/* idで指定するなら、"#"で始める */
/* classで指定するなら、"."で始める */

@media (min-width: 576px) {
	.top-info {
		font-size: 200%;
	}
	.viewing-month {
		font-size: 150%;
	}
}

@media (min-width: 768px) {
	.top-info {
		font-size: 160%;
	}
	.viewing-month {
		font-size: 120%;
	}
}

@media (min-width: 992px) {
	.top-info {
		font-size: 100%;
	}
	.viewing-month {
		font-size: 120%;
	}
}

.calendar-top {
	margin-top: 5em;
}

a {
	/* font-size: 4em; */
	text-decoration: none;	/* リンクの下線を消す */
}

.table-calendar {
	width: 100%;
	table-layout: fixed;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* 曜日欄("日"～"土") */
tr.weekdays {
	text-align: center;
}

tr.dates {
	height: 20px;
}

.tk{
	position: relative;
}

.bubble {
	display: none;
	position: absolute;
	/* top: -250%; */
	top: -3em;
	left:  0;
	right: 0;
	margin: auto;
	padding: 2px 5px;
	background: #0000CC;
	color: #FFFFFF;
	white-space: nowrap;
	overflow: visible;
	font-size: 1.2em;
	font-weight: bold;
	width: max-content;	/* 幅を、文字列の長さに合わせる */
}

/* マウスが乗ったまるアイコンに隣接しているbubbleを表示させる */
.tk-circles img:hover + .bubble{
	display: block;
}

/* まるアイコンサイズ & マウスが離れた時のアニメーション */
.tk-circles img {
	width: 40%;
	height: auto;
	transform:scale(1.0, 1.0);
	transition:0.1s all;
}

/* まるアイコンにマウスが上に来た時のアニメーション */
.tk-circles img:hover {
	transform:scale(1.2, 1.2);
	transition:0.1s all;
}



 /* === ボタンを表示するエリア ============================== */
.switchArea {
  line-height		: 30px;                /* 1行の高さ          */
  letter-spacing	: 0;                   /* 文字間             */
  text-align		: center;              /* 文字位置は中央     */
  font-size			: 18px;                /* 文字サイズ         */

  position			: relative;            /* 親要素が基点       */
  margin			: auto;                /* 中央寄せ           */
  margin-bottom		: 10px;
  width				: 64px;                /* ボタンの横幅       */
  background		: #fff;                /* デフォルト背景色   */
}

 /* === チェックボックス (非表示にする) ================== */
.switchArea input[type="checkbox"] {
  display			: none;    
}

 /* === チェックボックスのラベル（標準） ==================== */
.switchArea label {
  display        : block;               /* ボックス要素に変更 */
  box-sizing     : border-box;          /* 枠線を含んだサイズ */
  height         : 32px;                /* ボタンの高さ       */
  border         : 2px solid #999999;   /* 未選択タブのの枠線 */
  border-radius  : 30px;                /* 角丸               */
}

 /* === チェックボックスのラベル（ONのとき） ================ */
.switchArea input[type="checkbox"]:checked +label {
  border-color   : #78bd78;             /* 選択タブの枠線     */
}

 /* === 表示する文字（標準） ================================ */
.switchArea label span:after{
  content        : "OFF";               /* 表示する文字       */
  padding        : 0 0 0 24px;          /* 表示する位置       */
  color          : #999999;             /* 文字色             */
}

 /* === 表示する文字（ONのとき） ============================ */
.switchArea  input[type="checkbox"]:checked + label span:after{
  content	: "ON";                /* 表示する文字       */
  float		: left;
  padding	: 0 0 0 4px;          /* 表示する位置       */
  color		: #78bd78;             /* 文字色             */
}

 /* === 丸部分のSTYLE（標準） =============================== */
.switchArea #swImage {
  position       : absolute;            /* 親要素からの相対位置*/
  width          : 24px;                /* 丸の横幅           */
  height         : 24px;                /* 丸の高さ           */
  background     : #999999;             /* カーソルタブの背景 */
  top            : 4px;                 /* 親要素からの位置   */
  left           : 4px;                 /* 親要素からの位置   */
  border-radius  : 26px;                /* 角丸               */
  transition     : .2s;                 /* 滑らか変化         */
}

 /* === 丸部分のSTYLE（ONのとき） =========================== */
.switchArea input[type="checkbox"]:checked ~ #swImage {
  transform      : translateX(32px);    /* 丸も右へ移動       */
  background     : #78bd78;             /* カーソルタブの背景 */
}



/* スライドスイッチ全般設定 */
.contain-collaborated :not(.title-contain-collabo) {
	line-height: 18px;
	letter-spacing: 0;
	text-align: center;
	/* font-size: 18px; */
	position: relative;
	/* margin-left: 20px; */
	width: 48px;
	background: rgba(0, 0, 0, 0);
	padding-left: 0px;
	/* margin-top: 10px; */
	margin-bottom: 20px;
}

/* チェックボックス本体を見えなくする */
/* .contain-collaborated input[type="checkbox"] { */
	/* display: none; */
/* } */

.contain-collaborated label {
	display: block;
	/* left: 10px; */
	box-sizing: border-box;
	/* height: 24px; */
	border: 2px solid #000033;
	border-radius: 20px;
}

/* スイッチがONになったときの、スイッチの外枠の色 */
.contain-collaborated input[type="checkbox"]:checked+label {
	border-color: #00FF00;
}

.contain-collaborated label span:after {
	content : "";
	padding: 0 0 0 36px;
	color: #CCCCCC;
}

.contain-collaborated input[type="checkbox"]:checked+label span:after {
	content: "";
	padding: 0 4px 0 0 ;
	color: #0000CC;
}

/* コラボキャラの表示|非表示 */
.contain-collaborated #swImage {
	position:		relative;
	top:			1px;
	left:			2px;
	width:			18px;
	height:			18px;
	background:		#CCCCCC;
	border-radius:	20px;
	transition:		.2s;
}

/* スイッチ (checkbox) を押した時、スイッチの丸印の色を変える */
.contain-collaborated input[type="checkbox"]:checked ~ #swImage {
	transform: translateX(24px);
	background: #333399;
}

/* トレインナイトの名前 */
.train_knights a{
	text-decoration: none;
	color: black;
}

/* トレインナイトの名前(誕生日当日) */
a.birthday_today {
	text-decoration: none;
	color: white;
}

/* トレインナイトの名前(マウスが上にある時) */
.train_knights a:hover{
	color: #00FFFF;
}

/* tr.train_knights { */
	/* height: 50px; */
/* } */