/*--------- リスト表示用 ---------*/
.card_list {
	padding: 20px;
}

.card_list details summary {
	font-weight: bold;
	cursor: pointer;
	padding: 0.5em;
	border-radius: 5px;
	margin-bottom: 0.5em;
	display: block;
	list-style: none;
}

.card_list details summary:hover {
	background-color: #f0f0f0;
}  

.card_list .year_block > summary {
  position: relative;
  padding-left: 2.5em;
  cursor: pointer;
  font-weight: bold;
}

.card_list .year_block > summary::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  color: gray;
}

.card_list .year_block[open] > summary::before {
  content: "−";
}

.card {
	border-radius: 5px;
	padding: 4px;
	margin: 0px auto;
	max-width: 800px;
}

/* リストタイトルのグリッドレイアウト用 */
.card_title_grid {
	display: grid;
	grid-template-columns: 100px 1fr;
	grid-template-rows: auto auto;
	column-gap: 20px;
	row-gap: 0px;
}
.card_badge {
	grid-column: 1 / 2;
	grid-row: 1 / 3;
	display: flex;
	border-radius: 10px;
	align-items: center;
    justify-content: center;
	color: white;
	font-size: 0.75em;
	height: 95%;
}
.card_date { 
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	font-size: 0.9em;
}
.card_title { 
	grid-column: 2 / 3;
	grid-row: 2 / 3;
	text-indent: 1em;
}

.badge-incident {
	background-color: #f56e5f;
	font-size: 0.85em;
}

.badge-maintenance {
	background-color: #4baff1;
}

#content .card table {
	margin-bottom: 25px;
}

#content .card table td {
	border: 3px solid #FFF;
}

#content .card table td:first-child {
	background-color: #f2f2f2;
	font-weight: bold;
	width: 20%;
	text-align: center;
	letter-spacing: 0.2em;

	@media screen  and (max-width: 480px){
		letter-spacing: 0.03em;
	}
}

/* ****************************** */