/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  /trouble/
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/
.subhead {
	background: url(head-image.png) repeat-x top center;
}

.subhead .parent a:before {
	background-image: url(/ja/trouble/assets/image/icon.png);
	width: 44px;
	height: 44px;
	background-size: 44px 44px;
}

/*───────────────────────────────────────────────────────
  トラブル情報統合ページ
  (/trouble/)
─────────────────────────────────────────────────────────*/
/*=== 月選択 ===*/
.trouble .calendar > table {
	font-size: 14px;
	font-size: 1.4rem;
	margin-left: 0;
	margin-right: 0;
}
@media only screen and (max-width: 480px) {
	/*文字を小さくする*/
	.trouble .calendar > table thead {
		font-size: 12px;
		font-size: 1.2rem;
	}
}
/*--- ↓Webkitのバグ対策ここから ---*/
.trouble .calendar > table {
	border-collapse: separate;
	border-spacing: 0;
	border: 0;
	border-left: 1px solid #ddd;
}
/*thead罫線*/
.trouble .calendar > table thead th {
	border: 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #fff;
}
.trouble .calendar > table thead th:last-child {
	border-right-color: #ddd;
}
/*tbody罫線*/
.trouble .calendar > table tbody th,
.trouble .calendar > table tbody td {
	border: 0;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
/*--- ↑Webkitのバグ対策ここまで ---*/

/* セルの幅(毎月増えるもののみの設定) */
.trouble .calendar > table {
	width: 100%;
}
.trouble .calendar > table thead th {
	width: 5.6%;/* 5.6% * 12ヶ月 = 67.2% */
}
.trouble .calendar > table thead th:first-child {
	width: 32.8%;/* 上記と合わせて100% */
}
.trouble .calendar > table tbody th:nth-child(1) {
	width: 12%;
}
.trouble .calendar > table tbody th:nth-child(2) {
	width: 20.8%;
}
@media only screen and (max-width: 700px) {
	.sp.trouble .calendar {
		overflow-x: auto;
		padding-bottom: .6em;
	}
	.sp.trouble .calendar > table {
		width: 120%;
	}
	.sp.trouble .calendar > table thead th {
		width: 7%;/* 7% * 12ヶ月 = 84% */
		white-space: nowrap;
	}
	.sp.trouble .calendar > table thead th:first-child {
		width: 16%;/* 上記と合わせて100% */
	}
	.trouble .calendar > table tbody th:nth-child(1) {
		width: 6%;
	}
	.trouble .calendar > table tbody th:nth-child(2) {
		width: 10%;
	}
}
@media only screen and (max-width: 480px) {
	.sp.trouble .calendar > table {
		width: 210%;
	}
	.sp.trouble .calendar > table thead th {
		width: 6%;/* 6% * 12ヶ月 = 72% */
		white-space: nowrap;
	}
	.sp.trouble .calendar > table thead th:first-child {
		width: 28%;/* 上記と合わせて100% */
	}
	.trouble .calendar > table tbody th:nth-child(1) {
		width: 6%;
	}
	.trouble .calendar > table tbody th:nth-child(2) {
		width: 22%;
	}
}

/* th 見出し 見た目 */
.trouble .calendar > table tbody th {
	background: #eee;
	border-bottom-color: #ddd;
	padding: 0 1em;
	text-align: left;
	line-height: 1.41;
}
/* td */
.trouble .calendar > table td {
	text-align: center;
}

/*--- リンク ---*/
.trouble .calendar > table a {
	-webkit-transition: background-color .3s linear;
	        transition: background-color .3s linear;
	display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.trouble .calendar > table a:link,
.trouble .calendar > table a:visited {
	text-decoration: underline; /*どのリンクにも下線を引く*/
	border-bottom: 0;
}
.pc.trouble .calendar > table a:hover,
.pc.trouble .calendar > table a:active,
.pc.trouble .calendar > table a:focus,
.trouble .calendar > table a.touchhover/*タップ時に付くクラス*/ {
	background-color: #4faf00;
	color: #fff;
	font-weight: bold;
}
.trouble .calendar > table th,
.trouble .calendar > table td {
	height: 47px;
	overflow: hidden;
	position: relative;
}
.trouble .calendar th a {
	background: #7bcb0a;
	color: #fff;
}

/* トラブルレベル毎の色設定 */
.trouble .container tbody .a th:not(.parent),
.trouble .container tbody .a th.child {
	background: #eebd08;
	color: #000;
	text-align: center;
}
.trouble .container tbody .b th:not(.parent),
.trouble .container tbody .b th.child {
	background: #ffdc6d;
	color: #000;
	text-align: center;
}
.trouble .container tbody .c th:not(.parent),
.trouble .container tbody .c th.child {
	background: #ffc;
	color: #000;
	text-align: center;
}

/* 文字設定 */
.trouble .container tbody th.child {
	font-size: 13px;
}
.trouble .container tbody th.child span {
	font-size: .7em;
}