/* チームリストのスタイル */
.team_lists {
	/* 見出し */
	h3 {
		margin-bottom: 20px;
		padding-bottom: 10px;
		color: #c41e3a;
		font-size: 1.4em;
		border-bottom: 2px solid #ffebee;
	}

	/* テーブルコンテナ */
	.TblLists {
		margin-top: 20px;
	}

	/* テーブルのベーススタイル */
	table {
		width: 100%;
		margin: 20px 0;
		background: #fff;
		table-layout: fixed;
		border-collapse: collapse;
		box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	}

	/* テーブルヘッダー */
	thead {
		td {
			padding: 12px 15px;
			color: #fff;
			font-weight: bold;
			text-align: center;
			background: #2c3e50;
			border: 1px solid #e0e0e0;
		}
	}

	/* テーブルセル */
	tbody {
		td {
			padding: 12px 15px;
			text-align: left;
			border: 1px solid #e0e0e0;
			overflow: hidden;
			text-overflow: clip;
			white-space: normal;

			/* カラム幅の設定 */
			&:nth-child(1) {  /* 地域 */
				width: 200px;
			}
			&:nth-child(2) {  /* チーム名 */
				width: 300px;
			}
			&:nth-child(3) {  /* 店舗名 */
				width: calc(100% - 500px);
			}
		}

		tr:hover {
			background: rgba(44, 62, 80, 0.05);
		}
	}
}

.team_lists thead {
	padding: 5px 10px;
	color: #000;
	text-align: center;
	background: #2c3e50;
	border: 1px solid #ccc;
}
.team_lists thead td {
	color: #fff;
	font-weight: bold;
	background: #2c3e50;
}
.team_lists .team_no {
	width: 60px;
	padding: 5px 0px;
	color: #000;
	font-weight: bold;
	text-align: center;
	background: #ddd;
}

.team_lists .TblHead {
	padding: 15px;
	color: #333;
	font-weight: bold;
	background: #f5f5f5;
	border-bottom: 2px solid #ddd;
}

.team_lists th span {
	display: inline-block;
	margin: 10px 0;
	color: white;
	padding: 10px 20px;
	background: #4caf50;
	border-radius: 4px;
}

/* 店舗一覧テーブルのスタイル */
.venue_lists {
	/* フォーム関連 */
	form {
		display: flex;
		margin-bottom: 30px;
		align-items: center;
		gap: 10px;
	}

	/* テーブル共通スタイル */
	table {
		width: 100%;
		background: #fff;
		border-collapse: collapse;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	}

	th,
	td {
		padding: var(--cell-padding);
		text-align: center;
		border-bottom: 1px solid var(--border-color);
	}

	th {
		color: #fff;
		font-weight: normal;
		background: var(--primary-color);
	}

	tr:nth-child(even) {
		background: var(--bg-alt-color);
	}
}

/* TblListsテーブル特有のスタイル */
.TblLists {
	thead tr {
		color: #fff;
		background: var(--primary-color);

		td {
			&.name-cell { width: 25%; }
			&.address-cell { width: 35%; }
			&.phone-cell { width: 15%; }
			&.team-cell { width: 15%; }
		}
	}

	tbody {
		tr td {
			text-align: left;

			&.phone-cell {
				text-align: center;
			}
		}

		li {
			list-style: none;
		}
	}
}

@media (max-width: 767px) {
	.TblLists {
		thead tr {
			font-size: 13px;
		}
	}
	tbody {
		tr td {
			font-size: 13px;
		}
	}

	.team_lists {
		td {
			padding: 3px 3px;
		}
	}
	.venue_lists {
		td {
			padding: 4px;
			font-size: 9px;
		}

		td {
			&.name-cell { font-size: 10px; }
			&.address-cell { font-size: 10px; }
			&.phone-cell { font-size: 10px; }
			&.team-cell { font-size: 10px; }
		}

		td {
			&.name-cell { width: 5%; }
			&.address-cell { width: 30%; }
			&.phone-cell { width: 20%; }
			&.team-cell { width: 30%; }
		}
	}
}

.season-label,
.area-label {
	display: block;
	margin: 20px 0 10px 0;
	color: var(--primary-color);
	font-size: 1.1em;
	font-weight: bold;
}
.team_lists select,
.venue_lists select {
	min-width: 200px;
	margin-bottom: 10px;
	padding: 10px;
	color: #2c3e50;
	font-size: 16px;
	background: #f8f9fa;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 1em;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

/* 
 *都道府県選択テーブル 
 */
.pref_list_container {
  margin-bottom: 24px;
	overflow-X: auto;
	-webkit-overflow-scrolling: touch;
}

.pref_region_block {
	display: flex;
	background-color: #f8f8f8;
	height: 60px;
  margin-bottom: 2px;
}
@media screen and (max-width: 560px) {
	.pref_region_block {
		display: block;
		background-color: #fff;
		height: auto;
	}
}

.pref_region_title {
	display: flex;
	flex-shrink: 0;
	align-items: center;	
  font-weight: bold;
  font-size: 1rem;
	background-color: #f8f8f8;
	width: 200px;
	height: 100%;
	padding: 20px 0;
	padding-left: 40px;
}
@media screen and (max-width: 560px) {
	.pref_region_title {
		background-color: #fff;
		padding-left: 0;
	}
}

.pref_items_wrap {
  display: flex;
	flex-shrink: 0;
	height: 100%;
}
@media screen and (max-width: 560px) {
	.pref_items_wrap {
		flex-wrap: wrap;
	}
}

.pref_item {
	display: flex;
	align-items: center;
	justify-content: center;
  padding: 6px 20px;
  background-color: #f8f8f8;
  text-decoration: none;
  color: #333!important;
  font-size: 1rem;
	line-height: 1;
	font-weight: normal!important;
  transition: background-color 0.2s;
	height: 100%;
}
@media screen and (max-width: 560px) {
	.pref_item {
		font-size: 4vw;
		background-color: #fff;
		border-right: 1px solid #c3c3c3;
		padding: 0 4.1vw;
		padding-bottom: 0.6vw;
		margin-bottom: 5vw;
	}
	.pref_item:nth-child(4),
	.pref_item:nth-child(8),
	.pref_item:last-child {
		border-right: 0px solid #c3c3c3;
	}
}

@media screen and (min-width: 560px) {
  .pref_item:hover {
    background-color: #ddd;
  }
}

.pref_item.selected {
  background-color: #c41e3a;
  color: #fff!important;
}