@charset "utf-8";
@media screen and (min-width: 700px){
h2{
    margin: 10px 0px 0px 0px;
    border-top: 3px solid #b70000;
    border-bottom: 3px solid #b70000;
    padding: 0px 0px 0px 20px;
    width: 980px;
    font-weight: normal;
    font-size: 25px;
    line-height: 40px;
    background-color: #ffffff;
    margin-left: auto;
    margin-right: auto;
}
.link{
    font-size: 20px;
    float: right;
    margin-right: 50px;
}
h2 a{
    text-decoration: none;
    color: #333333;
}
.tabs{
    width: 1000px;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
}
.tab_item {
    height: 35px;
    padding: 5px;
    background-color: #c77777;
    margin-right: 2px;
    line-height: 35px;
    font-size: 22px;
    text-align: center;
    color: #fff;
    display: block;
    float: left;
    cursor: pointer;
}
input[name="tab_item"]{
    display: none;
}
.tab_content{
    display: none;
    clear: both;
    overflow: hidden;
}
  #basyo1:checked ~ #basyo1_content,
  #basyo3:checked ~ #basyo3_content,
  #basyo5:checked ~ #basyo5_content,
  #basyo7:checked ~ #basyo7_content,
  #basyo9:checked ~ #basyo9_content,
  #basyo11:checked ~ #basyo11_content {
    display: block;
}
.tabs input:checked + .tab_item{
    background-color: #b70000;
    color: #fff;
}
.nittei{
    font-size: 25px;
    padding-top: 10px;
    text-align: center;
}
table{
    width: 970px;
    margin: 10px 0px;
    padding: 0px 10px;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0px 0px;
}
td{
    text-align: center;
    border: 1px solid #ffffff;
    font-size: 22px;
    width: 50px;
}
.niti{
    line-height: 22px;
    padding: 7px 1px
}
tr{
    background-color: #eff2ff;
}
table td:nth-child(1){
    width: 140px;
    padding-left: 25px;
    padding-bottom: 5px;
    font-size: 20px;
    text-align: left;
    line-height: 25px;
    border: 1px solid #ffffff; 
    background-color: #eff2ff;
}
#makuuchi,#makushita,#sandanme,#jonidan,#jonokuchi{
    width: 105px;
    height: 30px;
    font-weight: normal;
    font-size: 20px;
    line-height: 20px;
    padding-bottom: 0px;
    color: #ffffff;
    background-color: #b70000;
}
table td:nth-child(2){
    width: 155px;
    font-size: 17px;
}
.banzuke{
    font-size: 15px;
}
#yohaku{
    background-color: #ffffff;
}
#container{
    width: 998px;
    margin-left: auto;
    margin-right: auto;
    border-top: 2px solid #b70000;
    background-color: #ffffff;
    border-left: 1px solid #b2b2b2;
    border-right: 1px solid #b2b2b2;
    border-bottom: 1px solid #b2b2b2;
}
p{
    font-size: 30px;
}
.nondisplay{
    display: none;
}
.return{
    margin: 20px 0px 0px 0px;
    border: 3px solid #b70000;
    text-align: center;
    width: 974px;
    height: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-size: 25px;
    line-height: 50px;
    background-color: #ffffff;
}
.return a{
    text-decoration: none;
    color: #333333;
    display: block;
}
}










@media screen and (max-width: 699px){
h2{
    margin: 3px 0px 0px 0px;
    border-top: 2px solid #b70000;
    border-bottom: 2px solid #b70000;
    padding: 0px 0px 0px 10px;
    width: 100%;
    box-sizing: border-box;
    font-weight: normal;
    font-size: 20px;
    line-height: 30px;
    background-color: #ffffff;
    text-align: justify;
}
.link{
    font-size: 15px;
    float: right;
}
h2 a{
    text-decoration: none;
    color: #333333;
}
.tabs{
    width: 100%;
    margin-top: 2px;
    margin-left: 2px;
}
.tab_item {
    width: 28%;
    height: 20px;
    margin-top: 2px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #c77777;
    border-right: 2px solid #fff;
    line-height: 20px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    float: left;
    cursor: pointer;
}
input[name="tab_item"]{
    display: none;
}
.tab_content{
    display: none;
    clear: both;
    overflow: hidden;
}
#basyo1:checked ~ #basyo1_content,
#basyo3:checked ~ #basyo3_content,
#basyo5:checked ~ #basyo5_content,
#basyo7:checked ~ #basyo7_content,
#basyo9:checked ~ #basyo9_content,
#basyo11:checked ~ #basyo11_content {
    display: block;
}
.tabs input:checked + .tab_item{
    background-color: #b70000;
    color: #fff;
}
.nittei{
    font-size: 18px;
    text-align: center;
}
table{
    width: 700px;
    margin: 10px 0px;
    padding: 0px 0px;
    border-spacing: 0px 0px;
}
td{ 
    width: 18px;
    text-align: center;
    border: 1px solid #ffffff;
    font-size: 17px; 
}
.niti{
    line-height: 17px;
    padding: 2px 1px;
}
.nondisplay{
    display: none;
}   
tr{
    background-color: #eff2ff;
}
table td:nth-child(1){
    width: 45px;
    text-align: left;
    padding-left: 4px;
    padding-bottom: 5px;
    font-size: 17px;
    line-height: 20px;
    background-color: #eff2ff;
    border: 1px solid #ffffff; 
    position: sticky;
    left: 0px;
}
#makuuchi,#makushita,#sandanme,#jonidan,#jonokuchi{
    height: 20px;
    font-weight: normal;
    font-size: 15px;
    text-align: left;
    padding-left: 5px;
    padding-top: 5px;
    color: #ffffff;
    background-color: #b70000;
}
    
table td:nth-child(2){
    width: 50px;
    font-size: 12px;
    background-color: #eff2ff;
    position: sticky;
    left: 84px;
}
.banzuke{
    font-size: 11px;
}
#yohaku{
    background-color: #ffffff;
}
#container{
    padding-top: 10px;
    border-top: 2px solid #b70000;
    background-color: #ffffff;
}   
.container{
    overflow: scroll;
}
}