@charset "UTF-8";

table {
background-color: #ffffff;
border-collapse: collapse;  
}
th{
padding: 2px;
vertical-align: middle;
text-align: center;
color: #cccccc;
background-color: #006699;
border: 1px solid #b9b9b9;
}
td {
vertical-align: middle;
padding: 2px;
white-space: nowrap;
}
.tt, .na.long, .ds.long {
letter-spacing: -1.5px;
}
.tc.long {
letter-spacing: -2px;
}
td.long {
letter-spacing: -1px;
}
.none{
display: none;
}
#list div.dataTables_scrollBody table tr td:nth-of-type(2){
border-right: 4px double #dddddd!important;
}
table#list tr td:nth-of-type(6){
text-align: right;
}
table#active tr td:nth-of-type(3), table#active tr td:nth-of-type(7), table#active tr td:nth-of-type(8), table#active tr td:nth-of-type(10), table#active tr td:nth-of-type(11), table#active tr td:nth-of-type(13), table#active tr td:nth-of-type(14), table#active tr td:nth-of-type(15), table#active tr td:nth-of-type(17), table#active tr td:nth-of-type(18), table#active tr td:nth-of-type(19), table#active tr td:nth-of-type(21), table#active tr td:nth-of-type(23){
text-align: right;
}
table#active tr td:nth-of-type(14), table#active tr td:nth-of-type(18){
border-right: none!important;
}
table#active tr td:nth-of-type(15), table#active tr td:nth-of-type(19), table#active tr td:nth-of-type(20), table#active tr td:nth-of-type(21){
border-right: none!important;
border-left: none!important;
}
table#active tr td:nth-of-type(16), table#active tr td:nth-of-type(22){
border-left: none!important;
}
span.tm {
width: 80px;
display: inline-block;
text-align: center;
}
.tm.sh {
letter-spacing: -2px;
}

@media (min-device-width: 736px){
td.long {
letter-spacing: -1px;
}
.ts:before {
content: "東京";
}
.db:before {
content: "横浜";
}
.hf:before {
content: "北海道";
}
.te:before {
content: "東北";
}
.ss:before {
content: "埼玉";
}
.cm:before {
content: "千葉";
}
.ok:before {
content: "大阪";
}
.sh:before, .dh:before {
content: "福岡";
}
.hf, .sh {
letter-spacing: -1.5px;
}
}

.container {
display: flex;
width: 100%;
}
.link_grid {
flex-grow: 1;
background: #0066cc;
display: grid;
grid-auto-rows: 1fr;
}
.link_grid {
grid-template-columns: repeat(3, 1fr);
}
.link_grid.nav {
grid-template-columns: repeat(5, 1fr);
margin-bottom: 5px;
}
.link_grid.main {
grid-template-columns: repeat(7, 1fr);
}
.link_grid.year {
grid-template-columns: repeat(10, 1fr);
}
.link_grid > div {
background: #0066cc;
color: #faf0e6;
text-align: center;
vertical-align: middle;
overflow: auto;
min-width: 0;
padding: 8px 5px;
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 > div a {
color: #ffffff!important;
font-weight: normal!important;
}
.link_grid > div a:link, .link_grid > div a:visited {
color: #ffffff;
font-weight: normal;
}
.link_grid > div.off {
color: #999999!important;
font-weight: normal!important;
}
.link_grid.main > div {
background: #0000cc;
}
.link_grid.main div:hover {
background-color: #330099;
}
.link_grid.main div:has(strong) {
background-color: #330066!important;
border: 3px double #ffffff;
}
.link_grid > .nav_reg {
background-color: #9900ff;
}
.link_grid > .nav_inter {
background-color: #ff00cc;
}
.link_grid > .nav_cs {
background-color: #00cc00;
}
.link_grid > .nav_jps {
background-color: #0033cc;
}
.link_grid > .nav_etc {
//background-color: #0033cc;
}
.nav_none {
display: none;
}
.link_grid > .nav_reg:hover {
background-color: #6600cc;
}
.link_grid > .nav_inter:hover {
background-color: #cc00cc;
}
.link_grid > .nav_cs:hover {
background-color: #009933;
}
.link_grid > .nav_jps:hover {
background-color: #000099;
}
.link_grid > .nav_etc:hover {
//background-color: #000099;
}
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;
}
.link_grid.main strong::after {
content: "\025bc";
}

@media (min-width: 736px){
.container {
width: 728px;
}
div.dataTables_wrapper, div.dt-container {
//width: 728px;
}
}

@media (max-width: 960.9px){
.link_grid > div {
padding: 10px 5px;
}
}

@media (max-width: 735.9px){
.link_grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 639.9px){
.link_grid {
grid-template-columns: repeat(3, 1fr);
}
.link_grid.nav {
grid-template-columns: repeat(3, 1fr);
}
.link_grid.main {
grid-template-columns: repeat(4, 1fr);
}
.link_grid.year {
grid-template-columns: repeat(5, 1fr);
}
.nav_none {
display: block;
}
.nav_cs, .nav_etc {
letter-spacing: 2px;
}
}

@media (max-width: 359.9px){
.link_grid > div {
letter-spacing: -1px;
}
}

@media (min-device-width: 736px) and (max-device-width: 960px) and (max-device-height: 479px) and (orientation: landscape){
.link_grid {
grid-template-columns: repeat(3, 1fr);
}
.year_cell.not {
display: none;
}
}

@media (min-device-width: 567px) and (max-device-width: 735px) and (max-device-height: 479px) and (orientation: landscape){
.link_grid {
grid-template-columns: repeat(3, 1fr);
}
.link_grid.nav {
grid-template-columns: repeat(3, 1fr);
}
.link_grid.main {
grid-template-columns: repeat(4, 1fr);
}
.link_grid.year {
grid-template-columns: repeat(5, 1fr);
}
.nav_none {
display: block;
}
.year_cell.not {
display: none;
}
}

