@charset "UTF-8";

table {
border-collapse: collapse;  
}
th {
padding: 2px;
vertical-align: middle;
text-align: center;
color: #e0e0e0;
background-color: #006699;
border: 1px solid #b9b9b9;
}
td {
padding: 2px;
background-color: #ffffff;
border: 1px solid #b9b9b9;
white-space: nowrap;
}
td img {
border: 1px solid #b9b9b9;
vertical-align: middle;
margin-bottom: 3px;
}
th.sub {
background-color: #99cc00;
color: #000000;
text-align: left;
font-weight: bold;
font-size: 125%;
padding: 2px;
white-space: nowrap;
}

.normal {
font-weight: normal;
font-size: 1.0rem;
}

td.data {
text-align: right;
}
td.score {
font-weight: bold;
padding : 3px 3px 1px 3px;
text-align: center;
}
td.before {
font-weight: normal;
}
div.game_card {
//display: inline-block;
min-width: 320px;
padding : 2px 2px;
transition: background-color 0.3s ease;
}
div.game_card:hover {
background-color: #66ccff;
}
span.game_info {
width: 60px;
display: inline-block;
}
span.game_date {
width: 80px;
display: inline-block;
}
span.game_pb {
width: 60px;
display: inline-block;
}
span.score_h, span.score_v {
width: 20px;
display: inline-block;
font-weight: bold;
text-align: center;
}
span.score_h {
margin-left: 2px;
}
span.score_v {
margin-right: 2px;
}
span.state {
font-weight: bold;
text-align: center;
}
.place {
font-size: 1.2rem;
}
div.game_card a span {
display: inline-block;
text-decoration:underline;
}


.container {
display: flex;
width: 100%;
}
.link_fixed_left, .link_fixed_right {
width: 72.8px;
text-align: center;
vertical-align: middle;
flex-shrink: 0;
flex-grow: 0;
background-color: #0066cc;
padding: 8px 5px;
border: 1px solid #b9b9b9;
}
.link_fixed_left.grid01, .year_cell.wbc {
background: #ff33cc!important;
color: #000000;
}
.legend span.wbc {
color: #ff33cc;
}
.link_fixed_left.grid02, .year_cell.pre {
background: #00cccc!important;
color: #000000;
}
.legend span.pre {
color: #00cccc;
}
.link_fixed_left.grid02 {
letter-spacing: -1.5px;
}
.link_fixed_left.grid03, .year_cell.oly {
background: #66cc00!important;
color: #000000;
}
.legend span.oly {
color: #66cc00;
}
.link_fixed_left.grid03 {
letter-spacing: -0.5px;
}
.link_grid {
flex-grow: 1;
background: #0066ff;
display: grid;
grid-template-columns: 50px repeat(8, 1fr);
grid-auto-rows: 1fr;
}
.link_grid.navi {
grid-template-columns: repeat(4, 1fr);
line-height: 125%;
}
.link_grid.item {
grid-template-columns: 122.8px repeat(2, 1fr);
}
.link_grid.year {
grid-template-columns: repeat(10, 1fr);
}
.link_grid > div {
background: #0066ff;
color: #faf0e6;
text-align: center;
vertical-align: middle;
//overflow: auto;
min-width: 0;
padding: 8px 3px;
border: 1px solid #b9b9b9;
}
.link_grid div:hover {
background-color: #0099ff;
}
.link_grid div:has(strong) {
background-color: #003399!important;
border: 3px double #ffffff;
}
.link_grid.navi div, .link_fixed_left, .link_fixed_right {
background-color: #0066cc;
}
.link_grid.navi div:hover, .link_fixed_left:hover, .link_fixed_right:hover {
background-color: #0099cc;
}
.link_grid > div a {
color: #ffffff!important;
font-weight: normal!important;
}
.link_grid > div a:link, .link_grid > div a:visited {
color: #ffffff!important;
font-weight: normal!important;
}
.year_cell a:link, .year_cell a:visited{color:#ffffff!important;}
.city_cell.grid03 {
background: #0066ff;
grid-column: 1 / 2;
grid-row: 1 / 3;
font-size:1.3rem;
}
.year_cell.total1 {
grid-column: 1 / 3;
grid-row: 1 / 2;
}
div.item_cell {
background: #ffffff!important;
color: #ff0000;
}
div.city_cell {
background: #0099ff;
color: #001735;
font-size:1.2rem;
}
.city_cell.oly1 {
letter-spacing: -1.5px;
}
.link_fixed_left.grid03 span {
display: inline-block;
font-size:1.0rem;
}
.not {
color: #999999!important;
}
.city_cell.oly1, .city_cell.oly2, .city_cell.oly3, .city_cell.oly4, .city_cell.oly5, .city_cell.oly6, .city_cell.oly7, .city_cell.oly8, .city_cell.oly9 {
border-bottom: none;
}
.year_cell.oly1, .year_cell.oly2, .year_cell.oly3, .year_cell.oly4, .year_cell.oly5, .year_cell.oly6, .year_cell.oly7, .year_cell.oly8, .year_cell.oly9 {
border-top: none;
}
strong {
font-size: 100%;
font-weight: normal;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

@media (min-width: 736px){
.container {
width: 728px;
}
}

@media (min-width: 736px) and (max-width: 960.9px){
.link_fixed_left.grid01, .link_fixed_left.grid02, .link_fixed_left.grid03 {
letter-spacing: -1.0px;
padding: 8px 3px;
}
}

@media (max-width: 735.9px){
.link_fixed_left.navi, .link_fixed_right.navi {
width: 40px;
}
.link_fixed_left.grid02 {
letter-spacing: -1.5px;
padding: 8px 0px;
}
.link_grid.navi {
grid-template-columns: repeat(2, 1fr);
grid-auto-rows: 1fr;
line-height: 125%;
}
.link_grid {
grid-template-columns: 50px repeat(3, 1fr);
grid-auto-rows: 1fr;
}
.link_grid.year {
grid-template-columns: repeat(5, 1fr);
}
.year_cell.grid01 {
grid-column: 1 / 2;
grid-row: 1 / 3;
}
.year_cell.grid02 {
grid-column: 1 / 2;
grid-row: 1 / 2;
}
.city_cell.grid03 {
grid-column: 1 / 2;
grid-row: 1 / 7;
font-size:1.4rem;
}
.year_cell.oly1 {
grid-column: 2 / 3;
grid-row: 2 / 3;
}
.year_cell.oly2 {
grid-column: 3 / 4;
grid-row: 2 / 3;
}
.year_cell.oly3 {
grid-column: 4 / 5;
grid-row: 2 / 3;
}
.city_cell.oly4 {
grid-column: 2 / 3;
grid-row: 3 / 4;
}
.city_cell.oly5 {
grid-column: 3 / 4;
grid-row: 3 / 4;
}
.city_cell.oly6 {
grid-column: 4 / 5;
grid-row: 3 / 4;
}
.year_cell.oly4 {
grid-column: 2 / 3;
grid-row: 4 / 5;
}
.year_cell.oly5 {
grid-column: 3 / 4;
grid-row: 4 / 5;
}
.year_cell.oly6 {
grid-column: 4 / 5;
grid-row: 4 / 5;
}
.city_cell.oly7 {
grid-column: 2 / 3;
grid-row: 5 / 6;
}
.city_cell.oly8 {
grid-column: 3 / 4;
grid-row: 5 / 6;
}
.city_cell.oly9 {
grid-column: 4 / 5;
grid-row: 5 / 6;
}
.year_cell.oly7 {
grid-column: 2 / 3;
grid-row: 6 / 7;
}
.year_cell.oly8 {
grid-column: 3 / 4;
grid-row: 6 / 7;
}
.year_cell.oly9 {
grid-column: 4 / 5;
grid-row: 6 / 7;
}
}

@media (min-device-width: 736px) and (max-device-width: 960px) and (max-device-height: 479px) and (orientation: landscape){
.link_fixed_left {
letter-spacing: -1.0px;
padding: 8px 3px;
}
}

@media (max-device-width: 735px) and (max-device-height: 479px) and (orientation: landscape){
.link_fixed_left {
letter-spacing: -1.0px;
padding: 8px 3px;
}
}

@media (min-width: 736px){
#wbc {
width: 728px;
}
}
@media (max-width: 735.9px){
#wbc {
width: 100%;
}
}
