#games {
  list-style: none;
  margin: 0;
  padding: 0;
}

#games > li {
  border: 1px solid darkgray;
  border-bottom-width: 0;
  display: flex;
  padding: 0;
}

#games > li:last-child {
  border-bottom-width: 1;
}

.container {
  max-width: 1344px;
  flex-grow: 1;
  margin: 0 auto;
  position: relative;
  width: auto;
}

.play {
  text-align: center;
  display: flex;
  flex: 0 0 100px;
  flex-direction: row;
  vertical-align: middle;
  align-items: center;
  font-size: 30;
  background-color: whitesmoke;
  cursor: pointer;
}

.play.selected {
  background-color: lightpink;
}

.play:hover {
  background-color: lightpink;
}

.play span {
  margin: auto;
}

.card {
  padding: 5px 10px;
  width: 100%;
}

.header {
  font-weight: 700;
  line-height: 32px;
  font-size: 14px;
}

.group {
  color: grey;
  font-size: 12px;
  line-height: 24px;
}


.main {
  flex-grow: 1;
  /* border-left: 1px solid; */
  /* padding: 5px 10px; */
  display: flex;
  min-height: 32px;
  /* margin-top: 10px; */
}

.team {
  display: flex;
  flex-flow: wrap;
  flex-basis: 50%;
}

.team-name {
  font-weight: 400;
  width: 100%;
  font-size: 80%;
}

.player {
  display: inline-block;
  padding: 0 10px;
  position: relative;
  /* color: var(--clist-item-extra-color); */
  font-weight: 800;
  font-size: 80%;
  /* border-left: 1px solid var(--clist-item-sub-border); */
  line-height: 24px;
}

.blue > .team-name {
  color: blue;
}

.orange > .team-name {
  color: orange;
}

.select_area {
  padding: 0px 0px 10px 0px;
}

.search_area {
  padding: 0px 0px 10px 0px;
}

.val_err {
  background-color: pink;
}

table{
  /* width: 100%; */
  border-collapse:separate;
  border-spacing: 0;
}

table th:first-child{
  border-radius: 5px 0 0 0;
}

table th:last-child{
  border-radius: 0 5px 0 0;
  border-right: 1px solid #3c6690;
}

table th{
  text-align: center;
  color:white;
  background: linear-gradient(#829ebc,#225588);
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  /* width: 25%; */
  padding: 10px 20px;
}

table td{
  text-align: center;
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  /* width: 25%; */
  padding: 10px 20px;
}

table td:last-child{
  border-right: 1px solid #a8b7c5;
}

table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

.accordion{
  padding: 0px 0px 0px 100px;
  text-align: center;
  border: 1px solid darkgray;
  border-bottom-width: 0;
}

.contents{
  padding: 0px 0px 0px 100px;
  text-align: center;
  border: 1px solid darkgray;
  border-bottom-width: 0;
  line-height: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition-duration: 0.4s;
}

.contents.is-open {
  padding: 0px 0px 0px 100px;
  text-align: center;
  border: 1px solid darkgray;
  border-bottom-width: 0;
  line-height: normal;
  height: auto;
  opacity: 1;
}

/* popup */
.open {
  background-color: lightgrey;
  padding: 2px;
  border: 1px solid darkgray;
	cursor:pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
}
#pop-up {
	display: none; /* label でコントロールするので input は非表示に */
}
.overlay {
	display: none; /* input にチェックが入るまでは非表示に */
}
#pop-up:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
.window {
  flex-direction: column;
  flex-wrap: wrap;
  padding: 20px;
	width: 90vw;
	max-width: 380px;
	height: 240px;
	background-color: #ffffff;
	border-radius: 6px;
	display: flex;
	justify-content: center;
	/* align-items: center; */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.text {
	font-size: 18px;
	margin: 0;
}
.close {
	cursor:pointer;
	position: absolute;
	top: 4px;
	right: 4px;
	font-size: 20px;
}