/* CSS Document */
/* ページ全体設定 */
HTML,
BODY {
	font-size: 9pt;
	text-align: left;
	padding: 5px;
	/* font-family: Meiryo; */
	/*DEBUG用BOREDER
border: 1px dotted orange;
*/
}
/* 全体共通 */
:root {
	--font-size-m: 9px;	/* FONT:9 */
	--font-size-s: 7px;	/* FONT:7 */
	--log-body-pad: 1px;	/* HEADER:PADDING */
	--log-head-mag: 1px;	/* HEADER:MARGIN … PADDING分+2px余分に */
	--diff_wid: 30px;	/* GAME差WIDTH */
	--list-bg: #f0f0f0;
	--scrollbar-size: 8px;
	--scroll-bar-bg-rad: calc(var(--scrollbar-size) * 0.62);
	--sub-title-hei: 67px;
	--btn_bgcolor: #660707;
	--a_color: #015178;
}

/* FONT-FACE設定 MAIN [GenEiLatin-Separate] */
/* @FONT-FACE {
	font-family: 'main';
	src: url('./font/main.woff') format('woff');
} */
/*
@font-face {
	font-family: 'main';
	src: url('font/main.woff') format('woff');
}
*/
A {
	color: var(--a_color);
	text-decoration: none;
	cursor: pointer;
}
A:visited {
	/* color: #66ccff; */
	text-decoration: none;
}
A:hover {
	color: #0091da;
	/* text-decoration: underline; */
}
TD {
	font-size: 9px;
	vertical-align: middle;
}
FORM {
	margin: 0px;
}
HR {
	margin: 10px 0;
}

/* スクロールバー全体共通 */
::-webkit-scrollbar {
	width: var(--scrollbar-size);	/* widthを指定すると縦Scrollbarの設定 */
	height: var(--scrollbar-size);	/* heightを指定すると横Scrollbarの設定 */
}
::-webkit-scrollbar-track { 		/* ScrollBar背景 */
	background-color: var(--list-bg);
	-moz-border-radius: var(--scrollbar-size);
	-webkit-border-radius: var(--scrollbar-size);
	border-radius: var(--scrollbar-size);
}
::-webkit-scrollbar-thumb {			 /* ScrollBarツマミ部 */
	background-color: #c7c7c7;
	-moz-border-radius: var(--scrollbar-size);
	-webkit-border-radius: var(--scrollbar-size);
	border-radius: var(--scrollbar-size);
}

/* 改行DIV S */
.dv_blank_s {
	height: 10px;
}
.dv_blank_ss {
	height: 5px;
}

/* LOG-DIV:WIDTH */
.dv_rank                { width: 11px; }
.dv_team_name           { width: 70px; }
.dv_team_name_s         { width: 22px; }
.dv_match_num           { width: 51px; }
.dv_number              { width: 13px; }
.dv_number_2            { width: 15px; }
.dv_number_3            { width: 19px; }	/* 勝・負・分 */
.dv_number_4            { width: 30px; }	/* 差 */
.dv_number_5            { width: 35px; }	/* 勝率 */
.dv_number_inp          { width: 33px; }	/* 勝・負・分 入力 */
.dv_date                { width: 35px; white-space: nowrap; }
.dv_opponent_team_name  { width: 90px; }
.dv_match_no            { width: 20px; }
.dv_place               { width: 78px; }
.dv_visitors_no         { width: 38px; }
.dv_match_time          { width: 28px; }
.dv_match_score         { width: 32px; white-space: nowrap; }
.dv_match_result        { width: 20px; }
.dv_player_l            { width: 104px; }
.dv_player_s            { width: 67px; }
.dv_player,
.dv_starting_pitcher,
.dv_responsible_pitcher { width: 84px; }
/* .dv_responsible_catcher { width: 112px; } */
.dv_note                { width: 112px; }
.dv_rank_l              { width: 20px; }
.dv_game_difference_top { width: var(--diff_wid); }
.dv_winning_rate        { width: 38px; }

.dv_game_difference_all { 
	width: calc((var(--diff_wid) * 2) + var(--log-head-mag));
	display: flex;
	flex-wrap: nowrap; /* 折り返し禁止 */
    padding: 0;
    gap: 0;            /* 隙間をゼロに固定 */
	box-sizing: border-box;
}	/* GAME差:順位1つ上・TOPから */
/* * 1行目の「-」も2行目の「0.5」も、共通でこの設定にする */ */
.dv_log_body_c > .dv_log_body,
.dv_game_difference_all .dv_log_body_c,
.dv_game_difference_all > .dv_log_body {
    flex: 1 1 0; /* 親の幅を均等に分配 */
    display: flex;
    justify-content: center; /* 左右中央 */
    align-items: center;     /* 上下中央 */
    min-width: 0;
    height: 100%;            /* 親の高さに合わせる */
}

/* 2行目の子要素を強制50% */
.dv_game_difference_all .dv_game_difference {
    flex: 0 0 50% !important;
    max-width: 50%;
}

/* 修正のキモ：transformを殺す */
.dv_log_body_c .dv_log_body {
    position: static !important; /* absoluteだった場合解除 */
    transform: none !important;  /* 0.5pxズレの犯人を排除 */
    width: auto;
    text-align: center;
}	/* GAME差:順位1つ上から */

/* .dv_responsible_catcher span {
	position: absolute;
	right: -1px;
} */
.dv_note_edit {
	position: absolute;
	right: -1px;
}

.dv_magic {
	color: #660707;
	font-weight: bold;
}

.dv_header_link {
	cursor: pointer;
}

.dv_login_temp {
	width: fit-content;
	margin: 50px auto 50px 150px;
	padding: 50px;
	text-align: left;
	color: #571609;
	font-size: 14px;
	font-weight: bold;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10x;
	box-shadow: 0px 0px 3px 2px rgba(50, 50, 50, 0.1);
	hr {
		margin: 30px auto;
	}
	p {
		color: #0b233e;
		font-size: 10px;
	}
	span {
		margin-top: 0;
		color: #661d15;
		font-size: 8px;
		span {
			text-decoration: underline;
			font-weight: bolder;
		}
	}
}

/* FLEX-DIV */
.dv_top_row,
.dv_top_menu,
.gr_import_all div,
.in_tgl_rad div,
.dv_sub_title span,
.dv_sub_title_filter,
.dv_match_result_top,
#dv_match_result_all,
.dv_log_all,
.dv_log_row_head,
.dv_log_row_head_stats,
.dv_log_row,
.dv_log_row_foot,
.dv_log_body_l,
.dv_log_body_c, 
.dv_log_body_r,
.dv_log_body_inp,
.dv_log_head_label span,
.dv_log_head_btn,
.dv_league_c,
.dv_league_p,
.dv_team,
.dv_info_title,
.dv_action_row_simul,
.td_data_update_input div,
/* .dv_info_row .gr_btn_all,  */
.rank_line_all {
	display: -webkit-flex;	/* Chrome 21-27 */
	display: -moz-box;		/* Firefox 2-21 */
	display: -ms-flexbox;	/* IE9 */
	display: flex;
}

/* TOP */
.dv_top_row {
	margin-bottom: 20px;
}
.dv_top_title {
	position: relative;
}
.dv_top_title_bg {
	/* position: absolute; */
	width: 300px;
	z-index: 10;
}
.dv_top_title_mark,
.dv_top_title_team_name {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
}
.dv_top_title_mark {
	left: 20px;
}
.dv_top_title_mark img {
	width: 37px;
	height: 37px;
	filter: drop-shadow(0px 0px 2px rgba(151, 151, 151, 0.7));
}
.dv_top_title_team_name {
	left: 60px;
}
.dv_top_title_team_name img {
	filter: drop-shadow(0px 0px 2px rgba(200, 200, 200, 0.6));
}

.dv_act_label {
	padding: 1px 5px 0 0;
}
.dv_separate {
	height: fit-content;
	margin: auto 0 auto 3px;
}

.dv_login {
	margin: auto 0 auto 15px;
}

/* TOP */
.dv_log_row_head_stats span,
.dv_log_row_head_stats .dv_log_head_btn {
	writing-mode: sideways-lr;
	height: 60px;
	padding-bottom: 3px;
}

/* LOG列DIV */
.dv_log_col {
	margin: 0 10px 0 0;
}

/* FROM-CONTAINER列DIV */
.dv_action_row_simul,
.dv_log_row_foot,
.dv_action_row_result {
	height: 20px;
}
.dv_action_row_simul,
.dv_log_row_foot {
	/* LIST上に配置する場合 */
	/* margin: auto -2px auto auto; */
	/* margin-top: 5px; */
	margin: 5px -2px 0 0;
	/* width: fit-content; */
	/*DEBUG用BOREDER
border: 1px dotted orange;
*/
}
.dv_action_row_simul {
	width: fit-content;
}
.dv_log_row_foot {
	width: 100%;
}
.dv_action_row_simul a {
	margin: 0 0 0 -3px !important;
}
.dv_log_row_foot a {
	margin: 0 calc(var(--scrollbar-size) - 2px) 0 auto !important;
}
.dv_action_row_result {
	/* ScrollBar分左にMargin */
	margin: auto calc(var(--scrollbar-size) - 2px) auto auto;
}

#dv_match_result_all,
.dv_log_sum {
	height: fit-content;
	font-size: 9px;
	background-color: #f2f1f1;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	box-shadow: 0px 0px 3px 2px rgba(50, 50, 50, 0.1) inset;
}
#dv_match_result_all {
	padding: 3px 5px;
	margin-left: 12px;
}
.gr_match_current {
	padding: 1px 2px;
	width: 56px;
	height: 11px;
	margin: 0 0 0 6px;
	text-align: center;
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px;
	justify-content: center;
	align-content: center;
	grid-template-rows: 11px;
	grid-template-columns: 16px min-content 6px min-content 16px;
}

.dv_log_sum {
	padding: 1px 10px;
	margin: auto auto auto 0;
	left: 0;
}
.dv_log_act {
	margin: auto 0 auto auto;
}

/* TeamColor */
:root{
	--indicator_G: rgb(251, 150, 50);
	--indicator_S: rgb(0, 152, 61);
	--indicator_Y: rgb(61, 26, 215);
	--indicator_D: rgb(13, 0, 153);
	--indicator_T: rgb(255, 220, 62);
	--indicator_C: rgb(230, 12, 12);
	--indicator_L: rgb(53, 50, 251);
	--indicator_F: rgb(0, 187, 255);
	--indicator_M: rgb(0, 0, 0);
	--indicator_B: rgb(0, 0, 132);
	--indicator_H: rgb(255, 246, 0);
	--indicator_E: rgb(162, 13, 13);
}

/* TeamColor:1.チームごとのカラー割り当て (ここだけ並べる) --- */
.sp_indicator_G, .dv_indicator_G { --team-color: var(--indicator_G); }
.sp_indicator_S, .dv_indicator_S { --team-color: var(--indicator_S); }
.sp_indicator_Y, .dv_indicator_Y { --team-color: var(--indicator_Y); }
.sp_indicator_D, .dv_indicator_D { --team-color: var(--indicator_D); }
.sp_indicator_T, .dv_indicator_T { --team-color: var(--indicator_T); }
.sp_indicator_C, .dv_indicator_C { --team-color: var(--indicator_C); }
.sp_indicator_L, .dv_indicator_L { --team-color: var(--indicator_L); }
.sp_indicator_F, .dv_indicator_F { --team-color: var(--indicator_F); }
.sp_indicator_M, .dv_indicator_M { --team-color: var(--indicator_M); }
.sp_indicator_B, .dv_indicator_B { --team-color: var(--indicator_B); }
.sp_indicator_H, .dv_indicator_H { --team-color: var(--indicator_H); }
.sp_indicator_E, .dv_indicator_E { --team-color: var(--indicator_E); }

/* TeamColor:2.形状の定義 (一括設定) --- */
[class^="sp_indicator_"] {
	margin: 0 2px;
	padding-left: 3px;
    border-left: solid 3px var(--team-color);
}
[class^="dv_indicator_"] {
    width: 14px;
    height: fit-content;
    margin: 0 auto;
    padding-bottom: 2px;
    border-bottom: solid 3px var(--team-color);
}

/* LOG-HEAD */
.dv_log_head {
	border-right: 1px solid white;
	/* margin: 0 var(--log-head-mag) 0 0; */
	/* border-bottom: 1px solid #fff; */
}
.dv_log_head_label {
	width: 100%;
	/* height: fit-content; */
	/* padding: var(--log-body-pad); */
	/* text-align: center; */
	/* align-items: center; */
	color: white;
	font-size: var(--font-size-m);
	font-weight: bold;
	background-color: #b49975;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.dv_log_head_label span,
.dv_log_head_btn {
	width: fit-content;
	margin: auto;
}

.dv_log_row_head {
	border-bottom: 1px solid #fff;
}
.dv_log_row {
	/* border: 0 none transparent; */
	border-bottom: 1px solid #fff;
	background-color: #dde4fc;
}
/* ひとつ上の要素内で"dv_log_row"の出現回数:偶数のものの背景色変更 */
.dv_log_row:nth-child(even of .dv_log_row) {
	background-color: #ecf0ff;
}

/* LOG-BODY */
.dv_log_body_l,
.dv_log_body_c,
.dv_log_body_r,
.dv_log_body_inp,
.dv_log_body_sel {
	position: relative;
}
.dv_log_body_l,
.dv_log_body_c,
.dv_log_body_r,
.dv_log_body_memo {
	height: 18px;
	/* margin: 0 var(--log-head-mag) 0 0; */
	border-right: 1px solid #fff;
	/* background-color: #eff1fa; */
    justify-content: center; /* 左右中央 */
    align-items: center;     /* 上下中央 */
}
.dv_log_body_l,
.dv_log_body_c,
.dv_log_body_r,
.dv_log_body_memo {
	border-right: 1px solid #fff;
}

.dv_log_body_memo:nth-child(odd) {
	background-color: #dde4fc;
}
.dv_log_body_inp {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -42%);
}
.dv_log_body_sel {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.dv_log_body {
	width: fit-content;
	font-size: var(--font-size-m);
	position: absolute;
}

.dv_log_body_l .dv_log_body {
	top: 50%;
	left: 2px;
	transform: translateY(-50%);
}
.dv_log_body_c .dv_log_body {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.dv_log_body_r .dv_log_body {
	top: 50%;
	right: 3px;
	transform: translateY(-50%);
}
.dv_log_body_inp {
	height: fit-content;
}
.dv_champ_invalid_close {
	background-color: #fedfdf;
}
.dv_champ_invalid {
	background-color: #ecc2c2;
	color: #660707;
}

.dv_log_body_memo {
	height: fit-content !important;
	width: 350px;
	span {
		margin: 4px 5px;
	}
}

.dv_sub_title,
.dv_sub_title_result,
.dv_league_c,
.dv_league_p,
.dv_team,
.dv_info_title,
.dv_stats {
	/* vertical-align: middle; */
	position: relative;
	text-align: center;
	font-size: 9px;
	font-weight: bold;
	color: white;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	box-shadow: 0px 0px 2px 2px rgba(50, 50, 50, 0.5) inset;
}
/* .dv_league_c img,
.dv_league_p img,
.dv_team img,
.dv_sub_title img {
	display: block;
} */
.dv_league_c img,
.dv_league_p img {
	width: 10px;
	height: 10px;
	margin: auto 5px auto 7px;
}
.dv_team img,
.dv_sub_title img {
	width: 13px;
	height: 13px;
	margin: auto 4px;
}
.dv_league_c span,
.dv_league_p span,
.dv_sub_title span,
.dv_sub_title_result span,
.dv_team span {
	margin: auto 0;
}
.dv_sub_title span {
	margin: auto;
}
.dv_info_title span {
	margin: auto;
}

.dv_stats span {
	position: absolute;
	height: fit-content;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.dv_league_c,
.dv_league_p,
.dv_team,
.dv_stats {
	width: 85px; /* dv_sub_title_result と同期要 */
	height: 16px;
	margin-bottom: 2px;
}
.dv_league_c,
.dv_team,
.dv_stats {
	margin-top: 5px;
}
.dv_league_p {
	margin-top: 5px;
}
.dv_info_title {
	width: 100px;
	margin: -5px 0 10px 0;
}

.dv_league_c {
	background-color: #0f8f2d;
}
.dv_league_p {
	background-color: #3fb1e5;
}
.dv_league_team_stats,
.dv_league_magic {
	width: fit-content !important;
	padding-right: 10px !important;
}
.dv_league_team_stats {
	margin-bottom: 0 !important;
}
.dv_league_magic {
	margin-bottom: 10px !important;
}
.dv_team,
.dv_info_title,
.dv_stats {
	background-color: #949494;
}
.sp_note {
	margin: auto 10px auto auto;
	font-size: 8px;
	color: #666;
}

.dv_sub_title,
.dv_sub_title_result {
	margin-bottom: 5px;
	padding: 3px;
	color: white;
	font-size: 9px;
	font-weight: bold;
	background-color: #626262;
}
.dv_sub_title {
	width: 110px;
}
.dv_sub_title_result {
	width: 79px; /* dv_team と同期要 */
}

.dv_log_body_inp input {
	margin-right: 2px;
	/*DEBUG用BOREDER
border: 1px dotted orange;
*/
}

/* dv_btn */
.dv_btn_calc_all {
	margin-top: -1px;
}
.dv_btn_calc,
.dv_btn_filter,
.dv_btn_order {
	height: 8px;
}
.dv_btn_calc {
	margin: auto;
}
.dv_btn_filter {
	margin: auto 0 3px 0;
}
.dv_btn_order {
	margin: 3px 0 0 0;
}

/* a_btn 種別
	.a_btn_act				Simulation消去/Filterクリア
	.a_btn_act_l			全Team最新成績 IMPORT/試合結果詳細 IMPORT
	.a_btn_act_s			▷ G O ◁
	.a_btn_act_ok			Filter・Note入力DIVのOK
	.a_btn_act_cancel		Cancel
	.a_btn_act_clear		Note入力DIVのCLEAR
	.a_btn_act_login_disp	LoginDIV表示🔐
	.a_btn_act_login_exec	Login実行
	.a_btn_act_logout_exec	Login実行
	.a_btn_act_login_id_reg	アカウント新規作成
	.a_btn_act_login_id_reg	退会
	.a_btn_calc				Simulation△▽
	.a_btn_filter			GAME一覧Filter▽
	.a_btn_order			打撃・投手成績並び替え⇋
*/
/* --- 1.全ボタン共通のベース (a_btn_xxxx) --- */
[class^="a_btn_"] {
	display: inline-block;
	position: relative;
	top: 0;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.1s;
}

/* a_btn:2.小さな操作系 (calc, filter, order) --- */
.a_btn_calc,
.a_btn_filter,
.a_btn_order {
	width: 8px;
	color: #6b6b6b;
	background: #d6d6d6;
	border-radius: 2px;
	border-bottom: 1px solid #444;
}
.a_btn_calc {
	height: 6px;
	font-size: 5px;
}
.a_btn_filter,
.a_btn_order {
	height: 8px;
	margin: auto 0 auto 2px;
	font-size: 6px;
}

/* 小さな操作系のホバー・アクティブ */
.a_btn_calc:hover,
.a_btn_filter:hover,
.a_btn_order:hover {
	color: #a0a0a0;
}
.a_btn_calc:active,
.a_btn_filter:active,
.a_btn_order:active {
	border: 0;
	top: 1px;
}

/* a_btn:3.メインアクション系 (a_btn_actxxxx) --- */
[class^="a_btn_act"] {
	height: 10px;
	padding: 2px 4px;
	font-size: 8px;
	color: #fff;
	border-radius: 4px;
	background: var(--btn_bgcolor);
	box-shadow: 0 2px 0 0 #2e0303;
}

/* 色違いの上書き */
.a_btn_act_cancel {
	background: #5A5A5A;
	box-shadow: 0 2px 0 0 #333333;
}
.a_btn_act_clear,
.a_btn_act_login_id_reg,
.a_btn_act_login_id_del {
	background: #103a78;
	box-shadow: 0 2px 0 0 rgb(6, 27, 58);
}

/* サイズ違いの上書き */
.a_btn_act {
	width: 90px;
}
.a_btn_act_l {
	width: 135px;
}
.a_btn_act_s {
	width: 80%;
}
.a_btn_act_ok,
.a_btn_act_cancel {
	width: 42px;
}
.a_btn_act_login_exec,
.a_btn_act_logout_exec,
.a_btn_act_login_id_reg {
	width: 52px;
}
.a_btn_act_login_id_del {
	width: 40px;
}
.a_btn_act_clear {
	width: fit-content;
	padding: 2px 10px;
}
.a_btn_act_login_disp {
	width: fit-content;
	padding: 2px;
}

/* メインアクション系のホバー・アクティブ */
[class^="a_btn_act"]:hover {
	color: #d0d0d0;
}
[class^="a_btn_act"]:active {
	top: 2px;
	box-shadow: none;
}
.a_btn_act_disbled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* a_btn:4.その他特殊要素 --- */
.sp_btn_act {
	display: inline-block;
	height: 15px;
}
.a_filter_all {
	padding: 0 4px;
	font-size: 9px;
	color: #001357;
	cursor: pointer;
}
.a_win_open,
.team_stats_open {
	color: #fff;
}
.a_win_open:hover,
.team_stats_open:hover {
	color: #e5f3ff;
}

/* MENU */
.dv_top_menu {
	position: relative;
	height: var(--sub-title-hei);
	margin-left: 10px;
	background-color: #f2f1f1;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10x;
	box-shadow: 0px 0px 3px 2px rgba(50, 50, 50, 0.1) inset;
	/*DEBUG用BOREDER
border: 3px dotted green;
*/
}
.dv_sub_title a {
	color: #fff;
	width: 100%;
}
.dv_sub_title_filter label {
	height: 13px !important;
	top: 4px;
	left: 10px;
	padding-left: 12px !important;
}

/* TOP-GRID */
.gr_team_select,
.gr_import_all,
/* .gr_import_player,  */
.gr_match_current,
.gr_match_score,
.gr_team_title,
.gr_player_list,
.gr_note_header,
.gr_btn_all,
.gr_btn_all_login {
	display: grid;
	font-size: 9px;
	align-content: center;
}
.gr_team_select,
.gr_import_all {
	justify-content: left;
	grid-template-rows: 20px;
}

.gr_team_select_title {
	grid-row: 1 / 3;
	grid-column: 1 / 2;
}
.gr_team_select {
	margin: auto 0 auto 7px;
	grid-template-columns: 88px repeat(6, 73px);
}
.gr_team_select img,
#dv_match_result_all img {
	width: 11px;
	height: 11px;
}
.gr_team_select img {
	margin-right: 1px;
}
.lb_team_select,
.gr_match_current {
	background-color: rgb(255, 251, 247);
	box-shadow: 0px 0px 3px 2px rgba(50, 50, 50, 0.1);
}
.lb_team_select {
	margin-right: 9px;
	width: 54px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}
.lb_team_selected {
	background-color: rgb(250, 233, 192) !important;
}
.lb_team_select span {
	font-size: 8px;
	font-weight: bold;
	color: #28345d;
	/* margin-left: -1px; */
}
.lb_team_select .in_tgl_indicator {
	margin-left: 1px;
}

.gr_import_all {
	margin: auto 0 auto 3px;
}
.dv_change_year,
.gr_login {
	text-align: center;
	font-size: 9px;
	/* grid-template-columns: 120px 72px; */
}
.dv_change_year {
	margin: auto 3px;
}
.gr_login {
	margin: auto 10px auto 3px;
}
.dv_change_year .dv_act_label,
.gr_login .dv_act_label {
	height: 16px;
	padding: 1px 0;
}
.dv_change_year .dv_select {
	margin: 3px auto 2px auto;
}
.dv_import_player span {
	margin: 5px 0 5px 15px;
}
.gr_import_all {
	grid-template-columns: 120px 65px;
	/* grid-template-columns: 120px 80px 140px 155px; */
	/* gap: 0 5px */
}
.gr_import_item_01 { order:  1; }
.gr_import_item_02 { order:  2; }
.gr_import_item_03 { order:  3; padding-left: 15px; }
.gr_import_item_04 { order:  4; }
/* .gr_import_item_05 { order:  5; }
.gr_import_item_06 { order:  6; }
.gr_import_item_07 { order:  7; }
.gr_import_item_08 { order:  8; }
.gr_import_item_09 { order:  9; }
.gr_import_item_10 { order: 10; }
.gr_import_item_11 { order: 11; }
.gr_import_item_12 { order: 12; } */
.gr_import_all .dv_select {
	margin-left: 1px;
}
.gr_btn_all,
.gr_btn_all_login {
	margin: 0 auto;
	justify-content: center;
	grid-template-rows: 15px;
	gap: 0 8px							/* 行・列間の間隔 */
}
.gr_btn_all {
	grid-template-columns: repeat(2, auto);
}
.gr_btn_all_login {
	margin-top: 5px;
	grid-template-columns: repeat(4, auto);
}
#frm_submit {
	opacity: 0;
	width: 1px;
	height: 1px;
}

/* dv_iflame */
.iframe {
	width: 1050px;
	margin: 0 10px;
}
.iframe_1 {
	height: 420px;
}
.iframe_2 {
	height: 700px;
}
.dv_iflame {
	margin-top: 20px;
}
.dv_iflame .dv_log_all {
	margin-top: 5px;
}

.td_data_update_title {
	width: 140px;
}
.td_data_update_input {
	width: 115px;
	padding-right: 15px;
}

.dv_scroll {
	overflow: scroll;
	overflow-x: hidden;
	width: fit-content;
	scroll-snap-type: y mandatory;
}
.dv_scroll_match {
	height: 266px;
	/* height: 285px; */
	/* width: 659px; */
}
.dv_scroll_pitcher {
	height: 152px;
}
.dv_scroll_mvp,
.dv_scroll_win {
	height: 57px;
	margin-bottom: 6px;
}
.dv_scroll_catcher {
	height: 76px;
}
.dv_scroll .dv_log_row {
	scroll-snap-align: start;
}
.dv_scroll_stats_bat,
.dv_scroll_stats_pit {
	height: 225px;
}
.dv_scroll_memo {
	height: 232px;
}
.dv_scroll_stats_bat_all,
.dv_scroll_stats_pit_all {
	height: 149px;
}
/* .dv_scroll_stats_bat {
	width: 502px;
}
.dv_scroll_stats_pit {
	width: 505px;
} */
.dv_scroll_note_mvp,
.dv_scroll_note_win,
.dv_scroll_note_catcher {
	width: 150px;
	margin: 0 0 10px 10px;
	padding: 2px 5px;
	background-color: #f8f8f8;
	-moz-border-radius: var(--scrollbar-size);
	-webkit-border-radius: var(--scrollbar-size);
	border-radius: var(--scrollbar-size);
}
.dv_scroll_note_mvp,
.dv_scroll_note_win {
	height: 82px;
}
.dv_scroll_note_catcher {
	height: 49px;
}

.tb_bottom td{
	height: 22px;
}

.dv_filter_on {
	font-weight: bolder;
	color: #ffe8b1;
	text-decoration: underline;
}

.sp_match_result_lose {
	font-size: 12px !important;
}

.dv_graph {
	width: 1078px;
	margin: 5px 0 10px 0;
	padding: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10x;
	box-shadow: 0px 0px 3px 2px rgba(50, 50, 50, 0.1) inset;
	background-color: #f9f9f9;
}

/* INPUT */
:root {
	--inp-height: 12px;
	--inp-pad-top: 1px;
	--inp-pad-left: 3px;
	--inp-rad: 2px;
	--inp-shadow-wid: 1px;
	--inp-linecolor: #acacac;
	--inp-linecolor-focus: rgb(68, 68, 68);
	--prof-det-mag: 20px;
	--inp-fontsize: 9px;
	--tgl-chk-color: #891a1a;
}

.in_all {
	height: var(--inp-height);
	padding: var(--inp-pad-top) var(--inp-pad-left);
	font-size: var(--inp-fontsize);
	/* font-family: main; */
	-moz-border-radius: var(--inp-rad);
	-webkit-border-radius: var(--inp-rad);
	border-radius: var(--inp-rad);
	border: none;
	box-shadow: 0 0 0 var(--inp-shadow-wid) var(--inp-linecolor);
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
.in_all:focus,
.in_tgl:focus {
	outline: 0;
	box-shadow: 0 0 0 var(--inp-shadow-wid) var(--inp-linecolor-focus);
}
.in_remain {
	text-align: center;
	width: 20px;
}
.in_simul {
	width: 17px;
	text-align: center;
}
.in_memo {
	width: 100%;
	text-align: left;
}

.dv_select {
	width: fit-content;
	height: fit-content;
	margin-left: 3px;
	position: relative;
	line-height: 9px;
	cursor: pointer;
}
/* Select矢印 */
.dv_select:before {
	content: "";
	width: 4px;
	height: 4px;
	/* margin: auto; */
	position: absolute;
	top: 50%;
	right: 3px;
	border-top: 2px solid #999;
	border-right: 2px solid #999;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 0 2px 0 0;
	transform: translateY(-60%) rotate(135deg);
	z-index: 1;
	pointer-events: none;
}
/* Select矢印背景 */
.dv_select:after {
	content: "";
	width: 12px;
	height: 100%;
	position: absolute;
	right: 0px;
	background-color: #f5f5f5;
	background: linear-gradient(180deg, #f5f5f5, #d6d6d6);
	border-left: 1px solid #e0e0e0;
	-moz-border-radius: 0 var(--inp-rad) var(--inp-rad) 0;
	-webkit-border-radius: 0 var(--inp-rad) var(--inp-rad) 0;
	border-radius: 0 var(--inp-rad) var(--inp-rad) 0;
	pointer-events: none;
}
.dv_select select {
	height: calc(var(--inp-height));
	padding: 0 18px 0 var(--inp-pad-left);
	font-size: var(--inp-fontsize);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
}
.dv_select select::-ms-expand {
	display: none;
}

.in_tgl {
	display: block;
	position: relative;
	padding-top: 1px;
	padding-left: 18px;
	font-size: 9px;
	margin-bottom: 2px;
	cursor: pointer;
}
.in_tgl input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.in_tgl_indicator {
	width: 9px;
	height: 9px;
	position: absolute;
	top: 50%;
	left: 2px;
	transform: translateY(-50%);
	box-shadow: 0 0 0 var(--inp-shadow-wid) var(--inp-linecolor);
}
.in_tgl_chk .in_tgl_indicator {
	border-radius: var(--inp-rad);
}
.in_tgl_rad {
	padding-left: 14px !important;
}
.in_tgl_rad .in_tgl_indicator {
	border-radius: 50%;
}
.in_tgl:hover input ~ .in_tgl_indicator,
.in_tgl input:focus ~ .in_tgl_indicator {
	box-shadow: 0 0 0 var(--inp-shadow-wid) var(--inp-linecolor-focus);
}
.in_tgl:hover input:not([disabled]):checked ~ .in_tgl_indicator,
.in_tgl input:checked:focus ~ .in_tgl_indicator {
	background: white;
}
.in_tgl input:disabled ~ .in_tgl_indicator {
	/* opacity: 0.4; */
	pointer-events: none;
}
.in_tgl_indicator:after {
	content: '';
	position: absolute;
	display: none;
}
.in_tgl input:checked ~ .in_tgl_indicator:after {
	display: block;
}
.in_tgl_chk .in_tgl_indicator:after {
	content: "✔";
	color: var(--tgl-chk-color);
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translate(-52%, -47%);
}
.in_tgl_chk input:disabled ~ .in_tgl_indicator:after {
	color: var(--main-color-rgba-50);	/* 下層のCheckBoxの一部Checked時はFontColorのOpacity:0.5に */
}
.in_tgl_rad .in_tgl_indicator:after {
	content: "●";
	color: var(--tgl-chk-color);
	font-size: 7px;
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translate(-53%, -52%);
}
.in_login_id { width: 100%; }

/* dv_info */
#dv_info {
	display: none;
	width: fit-content;
	height: fit-content;
	position: absolute;
	/* inset: 140px; */
	font-size: 9px;
	/* top: 0;
	left: 0;
	margin: 0px auto; */
	padding: 10px;
	background-color: #fff;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: 0px 0px 3px 1px rgba(000, 000, 000, 0.3);
	z-index: 110;
	.dv_info_all {
		padding: 10px !important;
	}
	/*DEBUG用BOREDER
	opacity: 0;
	display: none;
border: 2px dotted red;
*/
}
#dv_info .tooltip_above {
	color: var(--a_color);
	cursor: pointer;
}
#dv_info .dv_log_row_head_stats span {
	height: 122px !important;
}
.dv_filter_chk_all {
	margin-bottom: 5px;
}
.dv_info_row {
	width: 100%;
	height: 15px;
	font-size: 9px;
}
/* .dv_info_all {
	padding-bottom: 15px;
} */

.gr_btn_all .a_btn_act_s,
.gr_btn_all .a_btn_act_cancel {
	margin: 0 5px;
}
.gr_btn_all span {
	display: inline-block;
	height: fit-content;
	margin: auto 5px auto 0;
}

.a_info_div_close {
	position: absolute;
	width: 11px;
	height: 11px;
	font-size: 8px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	background: var(--btn_bgcolor);
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	border: 2px double #c28a8a;
	top: 13px;
	right: 13px;
}
.a_info_div_close:hover {
	color: #ffd9d9 !important;
}
.dv_login_row {
	margin-top: 5px;
	font-size: 9px;
}
.dv_login_title,
.dv_login_input {
	display: table-cell;
}
.dv_login_title {
	width: 60px;
}
.dv_login_input {
	width: 150px;
}
#dv_info_row_msg {
	display: none;
	margin-top: 5px;
	text-align: center;
	color: #660707;
	font-weight: bold;
}

/* 試合結果詳細 */
:root {
	--score_delimit: #425991;
}
.tb_score,
.tb_score th,
.tb_score td {
	border-collapse: collapse;
	border:1px solid var(--score_delimit);
}
.tb_score {
	margin: 5px 0;
}
.tr_score_header {
	color: #eef1fc;
	background-color: #28345d;
}
.dv_abort {
	width: fit-content;
	margin: 15px auto 0 auto;
	font-weight: bold;
}
.dv_match_progress th,
.dv_match_progress td,
.dv_match_progress h5,
#pc_stats th,
.dv_team_stats th,
.tablefix2 thead th {
	font-weight: normal !important;
	font-size: 8px !important;
}
.tb_score th {
	width: 165px !important;
	padding-left: 2px;
	text-align: left;
	font-weight: normal;
	font-size: 9px;
	border-right: 2px solid var(--score_delimit);
}
.sp_score_team_img_G,
.sp_score_team_img_S,
.sp_score_team_img_Y,
.sp_score_team_img_D,
.sp_score_team_img_T,
.sp_score_team_img_C,
.sp_score_team_img_L,
.sp_score_team_img_F,
.sp_score_team_img_M,
.sp_score_team_img_B,
.sp_score_team_img_H,
.sp_score_team_img_E,
.sp_score_team_img_WL,
.sp_score_team_img_EL,
.sp_score_team_img_CL,
.sp_score_team_img_PL {
	padding-left: 14px;
}

.sp_score_team_img_G  { background: url("img/team_icon/icon_G.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_S  { background: url("img/team_icon/icon_S.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_Y  { background: url("img/team_icon/icon_Y.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_D  { background: url("img/team_icon/icon_D.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_T  { background: url("img/team_icon/icon_T.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_C  { background: url("img/team_icon/icon_C.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_L  { background: url("img/team_icon/icon_L.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_F  { background: url("img/team_icon/icon_F.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_M  { background: url("img/team_icon/icon_M.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_B  { background: url("img/team_icon/icon_B.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_H  { background: url("img/team_icon/icon_H.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_E  { background: url("img/team_icon/icon_E.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_WL { background: url("img/team_icon/icon_WL.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_EL { background: url("img/team_icon/icon_EL.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_CL { background: url("img/team_icon/icon_CL.svg") left center/12px 12px no-repeat; }
.sp_score_team_img_PL { background: url("img/team_icon/icon_PL.svg") left center/12px 12px no-repeat; }

.tb_score td {
	width: 18px;
	text-align: center;
}
.td_run {
	border-left: 2px solid var(--score_delimit) !important;
}
.dv_match_progress table,
#pc_stats table {
	border-collapse: collapse;
}
.dv_match_progress table {
	width: 100%;
}
.dv_match_progress thead th,
#pc_stats thead th,
.dv_team_stats th,
.dv_player_list_header div,
.dv_player_list_header span,
.tablefix2 thead th {
	color: #fff;
	background-color: #28345d;
	border: 1px solid #616f9e;
	margin-bottom: 2px;
}
.dv_match_progress h4 {
	/* background-color: #a7b3dc; */
	background: linear-gradient(rgba(105, 122, 178, 0.4) 30%, rgba(105, 122, 178, 0.9) 100%);
	margin: 0 0 8px 0;
}
.dv_match_progress h5 {
	background: linear-gradient(rgb(249, 249, 249) 30%, rgba(167, 179, 220, 0.7) 100%);
	margin: 0;
	/* text-decoration: underline; */
}
.dv_scroll_match_detail,
.dv_scroll_stats_detail {
	height: 450px;
	border: 1px solid #999;
}
.dv_scroll_match_detail {
	margin-bottom: 15px;
}

#table_top_b,
#table_top_p,
#table_bottom_b {
	margin-bottom: 8px;
}

.table_score td,
.table_inning th,
.table_score tfoot th,
.dv_match_progress h5,
.dv_match_progress .w1,
.dv_match_progress .w2,
.dv_match_progress h4 {
	padding: 0 0 0 3px;
}
.table_inning th {
	width: 15px;
	padding: 0 !important;
	text-align: right;
}
.dv_match_progress .w1 {
	min-width: 60px;
}
.dv_match_progress .w2 {
	width: 220px;
}
#table_top_p {
	margin-bottom: 10px !important;
}

.table_score td {
	text-align: center !important;
}
.table_score .player,
.table_inning td {
	text-align: left !important;
}
.table_score .inn {
	width: 38px;
}
.table_score .blue {
	color: #2125a4;
}
.table_score .red {
	color: rgb(149, 3, 3);
}
.table_score .green {
	color: #187c01;
}
.table_score tfoot tr,
.stats_table tfoot tr {
	background-color: #dee0e8;
}
.tablefix2 {
	border: 0;
	padding: 0;
	border-spacing: 0;
}

/* 選手情報詳細 */
.dv_player_info,
.dv_team_stats {
	margin: 0 10px;
}
.p_c_wrap,
#pc_v_wrap,
#sns {
	display: -webkit-flex;	/* Chrome 21-27 */
	display: -moz-box;		/* Firefox 2-21 */
	display: -ms-flexbox;	/* IE9 */
	display: flex;
}
.p_c_wrap ul,
#pc_v_wrap ul,
#pc_stats_nav ul,
#p_subinfo ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

#p_subinfo li a::before {
	content: "▶ ";
}
.p_c_wrap ul li a::before {
	content: "▶ NPB公式サイト ";
}
.p_c_wrap ul li a::after {
	content: "選手一覧";
}

.p_c_wrap ul {
	position: absolute;
	left: 30px;
	bottom: 25px;
}
.p_c_wrap div {
	width: fit-content;
	margin: 0 5px 0 auto;
}
.p_c_wrap time {
	display: inline-block;
	text-align: right;
	font-size: 8px;
	color: #666;
}
#p_subinfo {
	margin: 15px 0 20px 0;
}

#pc_vitals {
	.t, .g, .c, .db, .d, .s, .h, .b, .m, .l, .e, .f, .old {
		padding: 20px;
		border-radius: 10px;
	}
}
#pc_vitals {
	.g    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_G.svg") right center/50% no-repeat; }
	.s    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_S.svg") right center/50% no-repeat; }
	.db   { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_Y.svg") right center/50% no-repeat; }
	.d    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_D.svg") right center/50% no-repeat; }
	.t    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_T.svg") right center/50% no-repeat; }
	.c    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_C.svg") right center/50% no-repeat; }
	.l    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_L.svg") right center/50% no-repeat; }
	.f    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_F.svg") right center/50% no-repeat; }
	.m    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_M.svg") right center/50% no-repeat; }
	.b    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_B.svg") right center/50% no-repeat; }
	.h    { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon_H.svg") right center/50% no-repeat; }
	.old  { background: linear-gradient(rgba(75, 75, 75, 0.9), rgba(0, 0, 0, 0.99)), url("img/team_icon/icon.svg")   right center/50% no-repeat; }
}
#pc_v_wrap ul {
	margin: 0 0 0 30px;
	color: #fff;
}
#pc_v_no,
#pc_v_team,
#pc_v_name,
#pc_v_kana {
	font-weight: bold;
}
#pc_v_photo img,
#pc_v_logo img {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.553);
}
#pc_v_no {
	font-size: 40px;
	color: #b8b8b8;
}
#pc_v_name {
	font-size: 22px;
	white-space: nowrap;
	filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.9));
}
#pc_v_team,
#pc_v_kana {
	font-size: 13px;
}
#pc_v_name,
#pc_v_logo {
	position: relative;
	width: 50%;
}
#pc_v_photo img {
	/* width: 72px;
	height: 90px; */
	width: 108px;
	height: 135px;
}
#pc_v_logo img {
	width: 75px;
	height: 75px;
	position: absolute;
	right: 0;
}
#sns {
	width: fit-content;
	height: 15px;
	margin: 8px 0 0 auto;
}
#pc_bio {
	margin: 0 0 15px 0 !important;
}
#pc_bio th,
#pc_bio td {
	text-align: left;
	padding-right: 10px;
	font-size: 10px;
	border-bottom: 1px dashed #7a7a7a;
}
#pc_stats_nav {
	margin: 10px 0 5px 0;
	border-bottom: 2px solid #5A5A5A;
}
#pc_stats td {
	text-align: center;
	font-size: 8px;
	white-space: nowrap;
}
#pc_stats td,
#pc_stats th,
#pc_stats_wrapper .team {
	padding: 0 2px;
}
#pc_stats tbody .team,
#pc_stats_wrapper .team {
	text-align: left;
}
#pc_stats_nav li {
	display: table-cell;
	width: 80px;
	height: 16px;
	border-bottom: 3px solid none;
	color: #999999;
	font-size: 9px;
	text-align: center;
	cursor: pointer;
}
#pc_stats_nav li.current {
	color: #2862AE;
	font-weight: bold;
	border-bottom: 3px solid #2862AE;
	cursor: default;
}
.btn-pagetop {
	display: none;	/* NPB本家siteでしか使えない不要なボタン無効化 */
}

/* 選手情報詳細 TOOLTIP部表示時 */
#dv_tooltip div {
	top: 0;
	left: 0;
}
#dv_tooltip {
	.p_c_wrap,
	#sns {
		display: none;
	}
	#pc_v_wrap {
		display: -webkit-flex;	/* Chrome 21-27 */
		display: -moz-box;		/* Firefox 2-21 */
		display: -ms-flexbox;	/* IE9 */
		display: flex;
		min-width: 200px;
	}
	#pc_vitals {
		.t, .g, .c, .db, .d, .s, .h, .b, .m, .l, .e, .f, .old {
			padding: 10px;
			border-radius: 10px;
		}
	}
	#pc_v_no {
		font-size: 16px;
	}
	#pc_v_name {
		font-size: 12px;
	}
	#pc_v_team,
	#pc_v_kana {
		font-size: 8px;
	}
	#pc_v_photo img {
		width: 54px;
		height: 67px;
	}
	#pc_v_logo img {
		width: 45px;
		height: 45px;
	}
	#pc_bio {
		margin-top: 10px !important;
	}
	#pc_bio th,
	#pc_bio td {
		font-size: 8px;
	}
	#pc_stats_nav {
		margin-bottom: 5px;
		border-bottom: 2px solid #5A5A5A;
	}
	#pc_stats td {
		text-align: center;
		white-space: nowrap;
	}
	#pc_stats td,
	#pc_stats th,
	#pc_stats_wrapper .team {
		font-size: 8px;
	}
	#p_subinfo {
		display: none;
	}
	#pc_stats_nav li.current {
		color: #2862AE;
		font-weight: bold;
		border-bottom: 3px solid #2862AE;
		cursor: default;
	}
	.a_info_div_close {
		display: none;
	}
	.dv_info_all {
		padding: 15px 0 !important;
	}
}

/* 試合詳細 */
.dv_row_highlights {
	background-color: #f0f0f0;
}
#tablefix_p,
#tablefix_b {
	width: 600px !important;
}
/* span {
	@each $t in $teamFlagList {
		&.teamflag_#{$t} {
			padding: 3px 0 3px 40px;
			background: url(https://p.npb.jp/img/common/flag/flag_#{$t}_ss.gif) left center no-repeat;
		}
	}
	@for $value from 2002 through 202x {
		@each $t in $teamFlagList {
			&.teamflag_#{$t}_#{$value} {
				padding: 3px 0 3px 40px;
				background: url(https://p.npb.jp/img/common/flag/#{$value}/flag_#{$t}_ss.gif) left center no-repeat;
			}
		}
	}

	@each $t in $leagueFlagList {
		&.flag_#{$t} {
			padding: 3px 0 3px 40px;
			background: url(https://p.npb.jp/img/common/flag/flag_#{$t}_ss.gif) left center no-repeat;
		}
	}
	@for $value from 2016 through 202x {
		@each $t in $leagueFlagList {
			&.flag_#{$t}_#{$value} {
				padding: 3px 0 3px 40px;
				background: url(https://p.npb.jp/img/common/flag/#{$value}/flag_#{$t}_ss.gif) left center no-repeat;
			}
		}
	}
} */

/* TEAM成績 */
.dv_team_stats table {
	margin: 5px 0;
}
.dv_team_stats th {
	padding: 3px 0;
}
.tablefix2 thead th {
	padding: 3px;
}
.dv_team_stats td {
	padding: 2px 4px;
	text-align: right;
}
.dv_team_stats .stteam {
	text-align: left;
}

/* TEAM別選手LIST */
/* .dv_player_list  {
	width: 200px;
} */
.dv_player_list img {
	width: 20px;
	height: 20px;
}
.gr_team_title {
	width: fit-content;
	margin-bottom: 10px;
	height: 20px;
	padding: 2px 15px 2px 10px;
	background-color: #efefef;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	box-shadow: 0px 0px 2px 2px rgba(50, 50, 50, 0.5);
	justify-content: left;
	grid-template-rows: 20px;
	grid-template-columns: 25px auto;
}
.gr_team_title div {
	align-content: center;
}
.gr_player_list {
	height: 15px;
	white-space: nowrap;
	grid-template-rows: 15px;
	grid-template-columns: 22px 90px 60px repeat(4, 25px) 230px;
}
.gr_player_list div {
	text-align: left;
	padding-left: 4px;
}
.gr_player_list span {
	width: 100%;
	text-align: center;
}
.dv_player_list .dv_row_highlights {
	width: 500px;
	margin: 5px 0 7px 0;
	padding-left: 4px;
}
.dv_scroll_player_list {
	height: 455px;
	border: 1px solid #999;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.gr_note_header {
	margin-bottom: 5px;
	grid-template-rows: 15px;
	grid-template-columns: 136px auto;
}
.gr_note_header span {
	margin: 2px 8px 0 0;
}

:root {
	--line-1: 18%;
	--line-2: 30%;
	--line-3: 68%;
	--line-4: 80%;
	--line-5: 42%;
	--line-6: 64%;
}
.rank_line_all {
	border: 1px solid gray;
}
.rank_line_up_1,
.rank_line_up_2,
.rank_line_down_1,
.rank_line_down_2,
.rank_line_flat,
.rank_line_blank {
	width: 4px;
	height: 4px;
}
.rank_line_up_2 {
	background: linear-gradient(
		135deg
		,transparent 0%
		,transparent var(--line-1)
		,#d40000 var(--line-1)
		,#d40000 var(--line-2)
		,transparent var(--line-2)
		,transparent 100%
	);
}
.rank_line_up_1 {
	background: linear-gradient(
		135deg
		,transparent 0%
		,transparent var(--line-3)
		,#d40000 var(--line-3)
		,#d40000 var(--line-4)
		,transparent var(--line-4)
		,transparent 100%
	);
}

.rank_line_down_1 {
	background: linear-gradient(
		45deg
		,transparent 0%
		,transparent var(--line-1)
		,#d40000 var(--line-1)
		,#d40000 var(--line-2)
		,transparent var(--line-2)
		,transparent 100%
	);
}
.rank_line_down_2 {
	background: linear-gradient(
		45deg
		,transparent 0%
		,transparent var(--line-3)
		,#d40000 var(--line-3)
		,#d40000 var(--line-4)
		,transparent var(--line-4)
		,transparent 100%
	);
}
.rank_line_flat {
	background: linear-gradient(
		to bottom
		,transparent 0%
		,transparent var(--line-5)
		,#d40000 var(--line-5)
		,#d40000 var(--line-6)
		,transparent var(--line-6)
		,transparent 100%
	);
}

/* ************************/
/*		ToolTip           */
/* ************************/
:root {
	/* 吹き出しの縦横SIZE:数値 */
	--tooltip-bubble-size: 10;
	/* 吹き出しの縦横SIZE:数値 */
	--tooltip-font-size: 8px;
	/* 吹き出しの縦横SIZE:Pixel */
	--tooltip-bubble-wid: calc(var(--tooltip-bubble-size) * 1px);
	/* 吹き出し本文のMargin */
	--tooltip-body-mag: calc(((var(--tooltip-bubble-size) - 1) * 1px) + 5px);
	/* 吹き出しの左右上下表示位置 */
	--tooltip-bubble-pos: calc((var(--tooltip-bubble-size) - 1) * -1px);
	/* 吹き出しの始点Left・Top表示位置 */
	--tooltip-bubble-from: 4px;
	/* 吹き出しの尖り具合 … 大きくするだけ鋭利に */
	--tooltip-bubble-sharp: 4;
	--tooltip-bubble-sharp-from:  calc(100% / var(--tooltip-bubble-sharp)); 				/* 100% / 4 = 25% */
	--tooltip-bubble-sharp-to:    calc(1% * (100 - (100 / var(--tooltip-bubble-sharp))));	/* 100% - (100% / 4) = 75% */
	/* 吹き出し本文の角丸 */
	--tooltip-body-rad: 5px;
	/* 吹き出し本文上塗り色 */
	--tooltip-body-bgcolor: rgb(255, 243, 231);
}

/* ToolTipDIV:本体 */
#tt_down__left,
#tt_down_right,
#tt_up____left,
#tt_up___right,
#tt_right_down,
#tt_right___up,
#tt_left__down,
#tt_left____up {
	opacity: 0;
	width: fit-content;
	height: fit-content;
	padding: 3px 8px;
	position: absolute;
	font-size: var(--tooltip-font-size);
	white-space: nowrap;
	left: 0;
	bottom: 0;
	background-color: var(--tooltip-body-bgcolor);
	-moz-border-radius: var(--tooltip-body-rad);
	-webkit-border-radius: var(--tooltip-body-rad);
	border-radius: var(--tooltip-body-rad);
	filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, .4));
	z-index: 100;
}
.dv_tooltip_err {
	color: #890909;
	font-weight: bold;
}

/* ToolTipDIV:吹き出し */
#tt_down__left::after,
#tt_down_right::after,
#tt_up____left::after,
#tt_up___right::after,
#tt_left__down::after,
#tt_left____up::after,
#tt_right_down::after,
#tt_right___up::after {
	content: "";
	height: var(--tooltip-bubble-wid);
	width: var(--tooltip-bubble-wid);
	position: absolute;
	background-color: var(--tooltip-body-bgcolor);
}
#tt_down_right::after,
#tt_up___right::after {
	right: var(--tooltip-bubble-from);
}
#tt_down__left::after,
#tt_up____left::after{
	left: var(--tooltip-bubble-from);
}
#tt_left__down::after,
#tt_right_down::after {
	bottom: var(--tooltip-bubble-from);
}
#tt_left____up::after,
#tt_right___up::after {
	top: var(--tooltip-bubble-from);
}

/* ClipPath設定
	  X: 0..25..50..75..100
	Y: 0 ┌-----------------┐
	  .. |                 |
	  25 |                 |
	  .. |                 |
	  50 |                 |
	  .. |                 |
	  75 |                 |
	  .. |                 |
	 100 └-----------------┘*/
/* ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
   ⬜⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬛⬛⬛⬜⬜⬛⬛⬛⬛⬜
   ⬜⬜⬜⬜⬛⬜⬛⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬛⬜⬜⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜*/
#tt_down__left::after {
	bottom: var(--tooltip-bubble-pos);
	clip-path: polygon(var(--tooltip-bubble-sharp-from) 0, 0 100%, 100% 0);
}
/* ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
   ⬜⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬛⬛⬛⬜⬜⬛⬛⬛⬛⬜
   ⬜⬜⬜⬜⬜⬛⬜⬛⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬜⬜⬛⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜*/
#tt_down_right::after {
	bottom: var(--tooltip-bubble-pos);
	clip-path: polygon(0 0, 100% 100%, var(--tooltip-bubble-sharp-to) 0);
}
/* ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬛⬜⬛⬜⬜⬜⬜⬜⬜
   ⬜⬛⬛⬛⬛⬜⬜⬛⬛⬛⬛⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬜
   ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜*/
#tt_up____left::after {
	top: var(--tooltip-bubble-pos);
	clip-path: polygon(0 0, var(--tooltip-bubble-sharp-from) 100%, 100% 100%);
}
/* ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬜⬛⬜⬛⬜⬜⬜⬜
   ⬜⬛⬛⬛⬛⬛⬜⬜⬛⬛⬛⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬜
   ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜*/
#tt_up___right::after {
	top: var(--tooltip-bubble-pos);
	clip-path: polygon(0 100%, 100% 0 ,var(--tooltip-bubble-sharp-to) 100%);
}
/* ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬛⬛⬛⬛⬛⬛⬛⬜
   ⬜⬜⬜⬜⬜⬛⬜⬜⬜⬜⬜⬛⬜
   ⬜⬜⬜⬜⬛⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬜⬜⬛⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜⬛⬜
   ⬜⬜⬜⬜⬜⬛⬛⬛⬛⬛⬛⬛⬜
   ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜*/
#tt_left__down::after {
	left: var(--tooltip-bubble-pos);
	clip-path: polygon(100% 0 ,0 100%, 100% var(--tooltip-bubble-sharp-to));
}
/* ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬛⬛⬛⬛⬛⬛⬛⬜
   ⬜⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜⬛⬜
   ⬜⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬜⬜⬛⬜⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬜⬜⬜⬛⬜⬜⬜⬜⬜⬜⬛⬜
   ⬜⬜⬜⬜⬜⬛⬜⬜⬜⬜⬜⬛⬜
   ⬜⬜⬜⬜⬜⬛⬛⬛⬛⬛⬛⬛⬜
   ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜*/
#tt_left____up::after {
	left: var(--tooltip-bubble-pos);
	clip-path: polygon(100% var(--tooltip-bubble-sharp-from), 0 0, 100% 100%);
}
/* ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
   ⬜⬛⬛⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜
   ⬜⬛⬜⬜⬜⬜⬜⬛⬜⬜⬜⬜⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬛⬜⬜⬜⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬛⬜⬜⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜⬜
   ⬜⬛⬜⬜⬜⬜⬜⬛⬛⬛⬛⬛⬜
   ⬜⬛⬛⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜*/
#tt_right_down::after {
	right: var(--tooltip-bubble-pos);
	clip-path: polygon(0 0, 100% 100%, 0 var(--tooltip-bubble-sharp-to));
}
/* ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
   ⬜⬛⬛⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜
   ⬜⬛⬜⬜⬜⬜⬜⬛⬛⬛⬛⬛⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬜⬛⬜⬜⬜
   ⬜⬛⬜⬜⬜⬜⬜⬜⬛⬜⬜⬜⬜
   ⬜⬛⬜⬜⬜⬜⬜⬛⬜⬜⬜⬜⬜
   ⬜⬛⬛⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜
   ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜*/
#tt_right___up::after {
	right: var(--tooltip-bubble-pos);
	clip-path: polygon(0 var(--tooltip-bubble-sharp-from), 100% 0, 0 100%);
}

/* ************************/
/*		DEBUG             */
/* ************************/
.dv_debug_all {
	width: 600px;
	text-align: left;
	font-size: 9px;
	display: none;
	display: block;
	margin-left: 10px;
}
.dv_debug_all span {
	font-size: 8px;
	cursor: pointer;
	/* opacity: 0.3; */
}
.dv_debug {
	display: none;
	display: block;
}