/* nav activeに上線(トグル非表示のlg=992px以上のみ) */
@media (min-width: 992px) {
  li.nav-item .active {
    border-top: 3px solid #ccc;
    margin-top: -3px;
  }
}

/* トップページの画像 */
.hero {
  position: relative;
  background-image: url('../img/top.jpg');
  background-size: cover;
  background-position: center 35%;
  height: 45vh;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;  bottom: 0;
  left: 0;  right: 0;
  background: black;
  opacity:0.4;
}

/* 表セル背景の画像表示 */
td.logo {
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 30px 30px;
  padding-left: 35px;
}
td.logo-k { background-image: url('../img/logo-keio.png');  }
td.logo-t { background-image: url('../img/logo-tokyo.png'); }
td.logo-h { background-image: url('../img/logo-hosei.png'); }
td.logo-m { background-image: url('../img/logo-meiji.png'); }
td.logo-r { background-image: url('../img/logo-rikkyo.png');}
td.logo-w { background-image: url('../img/logo-waseda.png');}

td.rank {
  background-position: 1em center;
  background-repeat: no-repeat;
  background-size: 30px 30px;
}
td.rank1 { background-image: url('../img/m_gold.png'); }
td.rank2 { background-image: url('../img/m_silver.png'); }
td.rank3 { background-image: url('../img/m_bronze.png'); }

@media (max-width: 991px) {
  td.rank {
    background-image: none;
  }
  td.rank1 {
    background-color: #fcc861;
  }
  td.rank2 {
    background-color: #cccccc;
  }
  td.rank3 {
    background-color: #dcb386;
  }
}

/* 大会結果 個人順位表 団体メンバーを網掛け */
table.result-indivi tr.regular td:nth-of-type(5) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

table.result-indivi tr.regular {
  background-color: #f5f5f5;
}

/* 大会結果 幅指定 順位～射座 */
table.result-indivi td:nth-of-type(1) { width:  5%;} /* 順位 */
table.result-indivi td:nth-of-type(2) { width:  5%;} /* 射群 */
table.result-indivi td:nth-of-type(3) { width:  5%;} /* 順位 */
table.result-indivi td:nth-of-type(4) { width: 12%;} /* 氏名 */
table.result-indivi td:nth-of-type(5) { width: 12%;} /* 大学 */

/* 大会結果 幅指定 得点 */
table.result-indivi td:nth-of-type(6),
table.result-indivi td:nth-of-type(7),
table.result-indivi td:nth-of-type(8),
table.result-indivi td:nth-of-type(9),
table.result-indivi td:nth-of-type(10),
table.result-indivi td:nth-of-type(11),
table.result-indivi td:nth-of-type(12),
table.result-indivi td:nth-of-type(13) { width: 5.5%;}

/* ol 括弧付き数字リスト */
ol.list_parentheses{
  padding:0 0 0 1em;
  margin:0;
}
ol.list_parentheses li{
  list-style-type:none;
  list-style-position:inside;
  counter-increment: cnt;
}
ol.list_parentheses li:before{
  display: marker;
  content: "(" counter(cnt) ") ";
}