/* @override 
	http://localhost/mlb/style.css?var=240509
	http://localhost/mlb/style.css */

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: #e8eff4;
}

body {
    margin: 0;
    padding: 0;
    border: none;
    -webkit-font-smoothing: antialiased;
    background-color: #e8eff4;
}

* {
    font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h1, h2, h3, h4, h5, h6, p, blockquote, address, big, cite, code, em, font, img, small, strike, sub, sup, li, ol, ul, fieldset, form, label, figcaption, legend, button, table, caption, tr, th, td, dt, dd {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font-style: normal;
    text-align: left;
    line-height: 1.6em;
}

li {
    list-style: none;
}


/*header*/

.header {
    height: 100%;
    background-color: #fff;
    -moz-box-shadow: 0 0 5px #b8b3b3;
    box-shadow: 0 0 5px #b8b3b3;
}

.header img {
    max-width: 70%;
    margin: 10px;
    width: 300px;
}

/* navi mobile  - */
#drawer {
    float: right;
    margin: 20px;
}

input#nav-input.nav-unshown {
    display: none;
}

#nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
}

#nav-close {
    display: none;
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    /*transition: .3s ease-in-out;*/
}

.main-menu {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 200px;
    height: 100%;
    background: #fff;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
}

#nav-open span,
#nav-open span:before,
#nav-open span:after {
    position: absolute;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    display: block;
    content: '';
    cursor: pointer;
}

#nav-open span:before {
    bottom: -8px;
}

#nav-open span:after {
    bottom: -16px;
}

#nav-input:checked~#nav-close {
    display: block;
    opacity: .5;
}

#nav-input:checked~.main-menu {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
    transition: .3s ease-in-out;
}

/* Menus mobile - */

.main-menu {
    font-size: 0.9em;
}

.main-menu label {
    border-bottom: 1px solid #9ab2d6;
    display: block;
    padding: 10px;
    font-weight: bold;
    color: #fff;
}

.main-menu label::before {
    content: "▼";
    color: #9ab2d6;
    margin-right: 5px;
}

.main-menu li {
    display: block;
    position: relative;
}

.main-menu>li {
    padding: 10px 0;
    background-color: #005aa0;
}

.main-menu a {
    padding: 10px 0;
    text-align: center;
    color: #fff;
}

.main-menu ul {
    background-color: #fff;
}

.main-menu ul li {
    border-bottom: 1px solid #eee;
}

.main-menu ul li a {
    display: block;
}




/*content*/
.contents {
    margin: 20px 10px 50px;
}

.column {
    margin: 20px 0 50px 0;

}

p.rank {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-bottom: 5px solid #1471b0;
}

p.rank span {
    font-size: 16px;
}

span.top1 {
    font-size: 24px;
    color: #ffb900;
}


.short {
    font-size: 0.9em;
}

.short p.rank {
    font-size: 1.5em;
}


/*top_ranking*/
div.top_ranking {
    margin-top: 20px;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
}

div.tr_box {
    background-color: white;
    -moz-box-shadow: 5px 5px 5px #e7e6e6;
    box-shadow: 5px 5px 5px #e7e6e6;
    padding: 10px;
    border-radius: 10px;
    min-width: 140px;
    max-width: 250px;
    margin: 8px;
    width: 38%;
}

.table_box {
    max-width: 100%;
    max-height: 100%;
    padding: 10px 0;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

th, td {
    vertical-align: middle;
    padding: 5px;
    border: 1px solid #000;
    color: #000;
    font-size: 14px;
    white-space: nowrap;
    text-align: right;
}

th {
    background: #9ab2d6;
    text-align: left;
}

table tr:nth-child(odd) td {
    background: #fff;
}

table tr:nth-child(even) td {
    background: #dae2f0;
}

.left {
    text-align: left;
}

.sticky_row {
    position: sticky;
    top: 0;
    left: 0;
    background: none;
    border-left: none;
    border-right: none;
    text-align: left;
    /* border-left: 1px solid #000; */
}

.sticky_row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    z-index: -1;
}

.sticky_col {
    position: sticky;
    top: 0;
    left: 0;
    background: none;
    border-top: none;
    border-bottom: none;
}

.sticky_col::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    z-index: -1;
}

.sticky_cross {
    position: sticky;
    text-align: left;
    top: 0;
    left: 0;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    z-index: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 150px;


}

.sticky_cross::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100%;
    height: 100%;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    /* background: #ccc; */
    z-index: -1;
}

th {
    background: #9ab2d6;

}

div.toplists {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

div.toplist {
    margin: 5px 5px 20px;
}

.box_wide {
    width: 360px;
}

date {
    padding: 10px;
    display: block;
}