/* ***************************
	共通
*************************** */
.corner__tab-list {
  align-items: stretch;
  -webkit-box-align: stretch;
}
.corner__tab-item {
  display: flex;
  display: -webkit-box;
  align-items: stretch;
  -webkit-box-align: stretch;
}
.corner__tab-list .corner__tab-item .corner__tab-link {
  display: flex;
  display: -webkit-box;
  width: 100%;
}
.corner__tab-item .corner__tab-text--break {
  display: none;
}
img[src*="/images/flag/"] {
  border: solid 1px #ddd;
  vertical-align: middle;
}
@media screen and (max-width: 374px) {
  .corner__tab-item.item3 .corner__tab-text--break {
    display: block;
  }
}

/* ***************************
	日程・結果
*************************** */
.calendar__title {
  text-align: center;
  font-weight: bold;
}
.corner-recent-schedule__item {
  margin: 10px 0 8px;
  padding-top: 8px;
  border-top: solid 1px #ddd;
}
.corner-recent-schedule__item-text {
  display: inline-block;
  margin: 0 10px 8px 0;
  font-size: 12px;
  font-weight: bold;
}
.corner-recent-schedule__item-link {
  display: inline-block;
}
.corner-recent-schedule__item-link-text {
  display: inline-block;
  margin-right: 8px;
  font-size: 12px;
  vertical-align: middle;
}
.corner-recent-schedule__link-img {
  display: inline;
  width: 40px;
  vertical-align: middle;
}
.corner-recent-schedule__item-link-team {
  display: inline;
  margin-left: 5px;
  font-size: 15px;
  font-weight: bold;
  color: #0d7dd9;
  vertical-align: middle;
}
.corner-schedule__note {
  text-align: right;
  font-size: 12px;
  color: #777;
}
.corner-schedule__note + .page_link,
.corner-schedule .corner_ttl_h3:first-child {
  margin-top: 10px;
}
.schedule_list_table {
  padding: 0 2%;
}
.schedule_game_item:nth-child(2) {
  width: 42%;
}
.schedule_game_item:first-child,
.schedule_game_item:last-child {
  width: 29%;
}
.game_kv_item:first-child,
.game_kv_item:last-child {
  height: auto;
}
.game_kv_upper .game_kv_item:first-child img,
.game_kv_upper .game_kv_item:last-child img {
  height: auto;
}
.no_japan_game .game_kv_scoretable tbody td a {
  text-decoration: none;
  pointer-events: none;
}
.no_japan_game .game_result_tab.type01 {
  display: none;
}
@media screen and (min-width: 768px) {
  .game_kv_lower {
    height: 65px;
  }
}
@media screen and (max-width: 369px) {
  .schedule_list_table {
    padding: 0 1%;
  }
}
@media screen and (max-width: 359px) {
  .schedule_game_item:nth-child(2) {
    width: 40%;
  }
  .schedule_game_item:first-child,
  .schedule_game_item:last-child {
    width: 30%;
  }
}
.page_link_item:not(:last-child) {
  border-right: none;
}
.page_link_item:nth-child(2) {
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

/* ***************************
	試合詳細
*************************** */
.game_kv_info {
  padding: 0 8px;
}
.game_kv_place {
  height: auto;
}
.game_kv_item:nth-child(2) {
  width: calc(100% - 200px);
}
.game_kv_point {
  margin: 0 10%;
}
.game_kv_item:first-child,
.game_kv_item:last-child,
.game_kv_lower .game_kv_item:first-child,
.game_kv_lower .game_kv_item:last-child {
  width: 100px !important;
}
.game_kv_upper .game_kv_item:first-child img,
.game_kv_upper .game_kv_item:last-child img {
  width: 70px;
}
.game_inning_team .game_inning_team_title {
  padding-left: 5px;
}
.inning_block .team_logo {
  width: 30px;
  border: solid 1px #ddd;
}
.starting_block .game_member_table {
  margin-top: 0;
}
@media screen and (min-width: 768px) {
  .game_kv_item:nth-child(2) {
    width: calc(100% - 280px);
  }
  .game_kv_point {
    margin: 0 20%;
  }
  .game_kv_item:first-child,
  .game_kv_item:last-child,
  .game_kv_lower .game_kv_item:first-child,
  .game_kv_lower .game_kv_item:last-child {
    width: 140px !important;
  }
}
@media screen and (min-width: 540px) {
  .game_chart_board .game_chart_score .game_chart_score_item span:first-child {
    margin-right: 5px;
  }
}
@media screen and (max-width: 450px) {
  .game_flash_player_inner.left,
  .game_flash_player_inner.right {
    vertical-align: top;
  }
  .game_flash_player_inner.left .game_flash_team p:last-child,
  .game_flash_player_inner.right .game_flash_team p:first-child {
    height: 55px;
  }
  .game_flash_player .game_flash_team > p {
    padding: 0 5px;
    vertical-align: middle;
  }
  .game_flash_player_inner.left .game_flash_team_name:last-child::before {
    border-width: 53px 5px 35px 0;
  }
  .game_flash_player_inner.right .game_flash_team_name:first-child::after {
    border-width: 53px 0px 35px 5px;
  }
  .game_inning_team_time,
  .game_inning_team_title {
    vertical-align: middle;
  }
}

/* ***************************
	順位表
*************************** */
/* トーナメント表 */
.corner-rank__img {
  max-width: 450px;
  margin: 0 auto;
  padding-bottom: 8px;
}
/* 順位決定方式 */
.corner-rank__note {
  padding-bottom: 8px;
}
.corner-rank__note-title {
  padding-bottom: 10px;
  font-size: 15px;
  font-weight: bold;
}
.corner-rank__note-text {
  margin-bottom: 5px;
  font-size: 13px;
}
.corner-rank__note-text--indent {
  padding-left: 1.8em;
  text-indent: -1em;
}
.rank_table ~ .corner_note {
  max-width: 450px;
  margin: 10px auto 10px;
}
.rank_table_scroll table thead th,
.rank_table_scroll table tbody td {
  width: auto !important;
  min-width: 0 !important;
  padding: 0 4px;
}
.team_box .team_name {
  padding-top: 0;
}

/* ***************************
	出場国
*************************** */
/* 出場国一覧 */
.team_list_item:first-child {
  border-top: none;
}
/* チームトップ */
.team_record_list {
  padding: 8px 0;
}
.corner-team__info-table {
  max-width: 100%;
  margin: 8px 0;
  border: solid 1px #ddd;
}
.corner-team__info-table-title {
  width: 40%;
  background-color: #ccc;
}
.corner-team__info-table-text {
  width: 60%;
  padding-left: 8px;
  text-align: left;
}
.corner-team__info-text {
  padding-bottom: 8px;
  line-height: 1.5;
}
/* 選手一覧 */
.corner-team__player-table--position {
  width: 30%;
  font-weight: bold;
}
.corner-team__player-table--backnum {
  width: 20%;
  font-weight: bold;
}
.corner-team__player-table--name {
  width: 50%;
}
/* 選手詳細 */
.player-kv__copy-text {
  margin-top: 5px;
  font-size: 12px;
}
.player_kv_desc {
  margin: 12px 0 8px;
}
.player_kv_profile {
  padding: 20px 0;
}
/* チームヘッダー */
.team_header .team_logo {
  padding-left: 5px;
}
/*関連ニュース*/
.news.none-anime .vList .vList_item:nth-child(n + 6) {
  display: none;
}
.news.none-anime.accordion.js-open .vList .vList_item:nth-child(n + 6) {
  visibility: visible;
  display: block;
  animation: none;
  max-height: 100vh;
  border-bottom: 1px solid #ddd;
}
.news.none-anime.accordion.js-close .vList .vList_item:nth-child(n + 6) {
  display: none;
}

/*-------------------------
  lazyload
---------------------------*/
.lazyload,
.lazyloading {
  opacity: 0;
}
.lazyloaded {
  opacity: 1;
  -webkit-transition: opacity 0.7s;
  transition: opacity 0.7s;
}

/* ***************************
ユーティリティ
*************************** */
.table-row-group {
  display: table-row-group !important;
}

/* ***************************
アプリ版対応・ダークモード対応
*************************** */
/*アプリ対応*/
html.dmenu_sports_app .baseball_samuraijp .fotmenu {
  display: block;
}
html.dmenu_sports_app .baseball_samuraijp .overlay_contents.nav_hight {
  bottom: 60px !important;
}
html.dmenu_sports_app .baseball_samuraijp .fot_goTop {
  bottom: 138px !important;
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
  html.dmenu_sports_app .corner-team__info-table-title {
    background-color: #1a1a1a !important;
  }
  html.dmenu_sports_app .corner-team__info-table {
    border-color: #666 !important;
  }
  html.dmenu_sports_app .corner-recent-schedule__item-link-text,
  html.dmenu_sports_app div.corner-recent-schedule__item-link-team {
    color: #fff !important;
  }
  html.dmenu_sports_app .corner-schedule__note {
    color: #ddd !important;
  }
  html.dmenu_sports_app a.corner-recent-schedule__item-link-team {
    color: #7ac8ff !important;
  }
  html.dmenu_sports_app .game_chart_position_list li {
    color: #404040 !important;
  }
  html.dmenu_sports_app .inning_block .team_logo {
    border: none !important;
  }
}
