#newspaper_content {
  min-height: 600px;
  background-image: url(../img/bg_pattern.png);
  background-size: 37.5px;
  background-repeat: repeat;
  background-color: #ffa912;
  padding-bottom: 50px;
  padding-top: 25px;
}

#newspaper_content h2 {
  background-image: url(../img/ttl_newspaper.png);
  background-position: center;
  width: 100%;
  height: 53px;
  background-size: contain;
  background-repeat: no-repeat;
  white-space: nowrap;
  text-indent: 100%;
  overflow: hidden;
}

#newspaper_content .world {
  width: 100%;
  font-size: 20px;
  text-align: center;
  color: #FFFFFF;
  background-color: #4F210B;
  margin-top: 25px;
  border-radius: 20px;
}

#newspaper_content .league_tab {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-top: 15px;
}

#newspaper_content .league_tab ul {
  width: 391px;
  height: 47.7px;
}

#newspaper_content .league_tab li {
  float: left;
  list-style: none;
  width: 133px;
  height: 47.7px;
}

#newspaper_content .league_tab li img {
  width: 133px;
  height: 47.7px;
}

#newspaper_content .league_tab li#middle {
  margin-left: -8px;
}
#newspaper_content .league_tab li#master {
  margin-left: -8px;
}

#newspaper_content .league_tab li.on {
  pointer-events: none;
}

#newspaper_content .league_tab .sort {
  display: none; /* flex; いったん消す */
  font-size: 20px;
  height: 47.7px;
  align-items: center;
}

#newspaper_content .league_tab .sort span {
  color: #4F200A;
  cursor: pointer;
}

#newspaper_content .league_tab .sort #sort_asc {
  display: none;
}

/* スマホ用 */
@media screen and (max-width: 500px) {
  #newspaper_content .league_tab ul {
    width: 261px;
    height: 31.2px;
  }

  #newspaper_content .league_tab li {
    width: 87px;
    height: 31.2px;
  }

  #newspaper_content .league_tab li img {
    width: 87px;
    height: 31.2px;
  }

  #newspaper_content .league_tab li#middle {
    margin-left: -4px;
  }
  #newspaper_content .league_tab li#master {
    margin-left: -4px;
  }

  #newspaper_content .league_tab .sort{
    font-size: 14px;
    width: 49px;
    height: 31.2px;
  }
}


#newspaper_content .year_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 20px;
  row-gap: 5px;
  margin-top: 15px;
}

#newspaper_content .year_list a {
  font-size: 20px;
  text-decoration: none;
  color: #4F200A;
}

#newspaper_content .searchbox {
  display: flex;
  position: relative;
  margin-top: 15px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

#newspaper_content .searchbox input {
  flex: 1;
  font-weight: bold;
  font-size: 18px;
  height: 45px;
  padding: 5px 15px;
  border: 3px solid #4F200A;
  outline: none;
  border-radius: 30px 0 0 30px;
  box-sizing: border-box;
  background-color: white;
}

#newspaper_content .searchbox .cancel {
  position: absolute;
  display: none;
  cursor: pointer;
  top: 9px;
  right: 90px;
}

.cross {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 4px;
  background: #4F200A;
  transform: rotate(45deg);
  vertical-align: middle;
}

.cross::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4F200A;
  transform: rotate(90deg);
}

#newspaper_content .searchbox input::placeholder {
  color: #7E7B7B;
}

#newspaper_content .searchbox button {
  font-size: 20px;
  font-weight: bold;
  color: white;
  flex:  0 0 75px;
  height: 45px;
  border: none;
  padding-right: 10px;
  border-radius: 0 30px 30px 0;
  background-color:  #4F200A;
  cursor: pointer;
}

#newspaper_content .main .year_label {
  color: white;
  font-size: 20px;
  margin-top: 15px;
}
#newspaper_content .main hr {
  border: none;
  border-top: 3px white solid;
}

#newspaper_content .main .newspaper_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 15px;
}

#newspaper_content .main .newspaper_list .item {
  background-color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 14.5px;
  font-weight: bold;
  padding: 5px 0px;
  overflow: hidden;
  white-space: nowrap;
}


#newspaper_content .main .newspaper_list .item a {
  text-decoration: none;
}

/* スマホ用 */
@media screen and (max-width: 540px) {
  #newspaper_content .main .newspaper_list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 410px) {
  #newspaper_content .main .newspaper_list .item {
    font-size: 11.5px;
  }
}

#newspaper_content .main .newspaper_list .item img {
  width: 90%;
}
#newspaper_content .main .newspaper_list.tenkaichi .item img {
  width: 150px;
  float: left;
}

#newspaper_content .main .newspaper_list .item .number {
  color: #FB911F;
}
#newspaper_content .main .newspaper_list .item .team_name {
  color: #632E0C;
}

/* 天下一ページのレイアウトは特別 */
#newspaper_content .main .newspaper_list.tenkaichi {
  grid-template-columns: 1fr;
}
#newspaper_content .main .newspaper_list.tenkaichi .item {
  padding: 10px 10px 7px 10px;
}
#newspaper_content .main .newspaper_list.tenkaichi .item .number {
  font-size: 19px;
  padding-top: 35px;
}
#newspaper_content .main .newspaper_list.tenkaichi .item .team_name {
  font-size: 22px;
  padding-bottom: 35px;
}

/* 個別ページ */

#newspaper_content .main_item {
  margin-top: 15px;
  text-align: center;
  background-color: white;
  border-radius: 5px;
}

#newspaper_content .main_item .number {
  color: #FB911F;
  font-size: 16px;
  font-weight: bold;
  padding-top: 20px;
}

#newspaper_content .main_item .team_name {
  color: #632E0C;
  font-size: 23px;
  font-weight: bold;
}

#newspaper_content .main_item img {
  width: 97%;
  margin: 20px 0px;
}
