@import url(bootstrap-grid.min.css);

body {
  background-image: url(img/comets_flag.jpg);
  background-repeat: repeat;
  color:#222222;
  font-size:15px;
  font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}

main {
  width: 100%;
  max-width: 1000px;
  margin: 0px auto;
}
.container {
  width:100%;
}
/* copyright */
.copyright{
  width: 100%;
  text-align: center;
  text-shadow: 2px 3px 3px #444444;
  font-weight: bold;
  font-size: 80%;
}
/* 汎用のタイトル */
.title{
  display: block;
  font-size: 150%;
  font-weight: bold;
  line-height: 100%;
  color: #ff2222;
  margin: 10px 5px;
  padding: 8px;
  text-shadow: 1px 1px 0px #00ff00, 1px 1px 2px black;
}
.title-bullet{
  border-left: 5px solid #ff2222; 
}
.title-center{
  text-align: center;
}
.title-large{
  font-size: 250%;
}
/* //// index.html //// */
.tac a{
  display:block;
  margin: 5px auto;
  height: 35px;
  padding: 3px;
  max-width:300px;
  text-decoration: none;
  text-align: center;
  color: red;
  font-size: 19px;
  font-weight: bold;
  -webkit-text-stroke: 0.4px white;
  background: linear-gradient(to right, #774400 0%, #eeee88 70%, #ccaa00 100%);
  border-radius: 25px;
  border-bottom: 2px solid gray;
  border-right: 2px solid gray;
  border-top: 1px solid #eeeeee;
  border-left: 1px solid #eeeeee;
}
.tac a:hover{
  background: linear-gradient(to right, #996622 0%, #ffffaa 70%, #eecc22 100%);
}
/* メニューリンクボタン */
.btn-img{
  position: relative;
  max-width: 240px;
  margin: 0 auto;
}
.btn-img img{
  width: 100%;
  height: auto;
}
.btn-img img:first-child{
  z-index: 0;
}
.btn-img img:last-child{
  z-index: 1;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
.btn-img:hover img:last-child{
  visibility: visible;
}
/* 検定リンクボタン */
.btn-img2{
  position: relative;
}
.btn-img2 img{
  width: 50%;
  max-width: 160px;
  height: auto;
  float: left;
}
.btn-img2 img:first-child{
  z-index: 0;
}
.btn-img2 img:last-child{
  z-index: 1;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
.btn-img2:hover img:last-child{
  visibility: visible;
}
/* 規約・フォームリンクボタン */
.link1 {
  display: block;
  width: 400px;
  height: 80px;
  margin: 25px auto;
  background-image:url(img/title_naiki_background.png);
  text-align: center;
  line-height: 85px;
  text-decoration: none;
  color:red;
  text-shadow: white 2px 2px, white -2px -2px;
  font-size: 30px;
  font-weight: bold;
}
.link1:hover {
  text-shadow: #ffffaa 3px 2px, #ffffaa -3px -2px;
}
.link1 + span {
  display: block;
  position: relative;
  top: -20px;
  width: 100px;
  height: 0px;
  font-size: 16px;
  font-weight: bold;
  margin: 0 auto;
}
/* 長野リンクボタン */
.link2 {
  display: block;
  width: 400px;
  height: 80px;
  margin: 25px auto;
  background-image:url(img/title_nagano_background.png);
  text-align: center;
  line-height: 85px;
  text-decoration: none;
  color:#a0a;
  text-shadow: #0ff 2px 2px, #0ff -2px -2px, #008 3px 3px, #008 -3px -3px;;
  font-size: 30px;
  font-weight: bold;
}
.link2:hover {
  text-shadow: #ffffaa 3px 2px, #ffffaa -3px -2px;
}
/*////// コメッツポリシー //////*/
.comets-policy{
  border: 1px solid black;
  border-radius: 50px;
  background-color: red;
  color: yellow;
  font-weight: bold;
  padding:20px 40px 20px 50px;
}
.comets-policy > p{
  margin: 0px;
}
.comets-policy > p:first-child{
  text-align: center;
  margin-bottom: 20px;
}
.comets-policy > p:not(:first-child)::before{
  content: "★";
}
/*////// メイン記事 //////*/
.article > hr {
    margin-top: 35px;
    height: 4px;
    background-color: #eecc22;
}
.post{
  margin-top: 2rem;
}
.post-title{
  display: block;
  font-size: 400%;
  font-weight: bold;
  line-height: 100%;
  color: red;
  text-shadow: 2px 3px 0px #00ff00, 3px 4px 0px black;
}
.post-title2{
  display: block;
  font-size: 200%;
  font-weight: bold;
  line-height: 100%;
  color: #ff2222;
  margin: 10px 5px;
  padding: 8px;
  text-shadow: 1px 1px 0px #00ff00, 1px 1px 2px black;
  border-left: 5px solid #ff2222; 
}
.post-text{
  padding-left: 10px;
  font-size: 160%;
  font-weight: bold;
  line-height: 110%;
  color: blue;
  text-shadow: 2px 2px 0px #ffff22, 4px 4px 0px #ffffff;
}
.post-img{
  width: 100%;
  font-weight: bold;
  text-align: center;
  margin-top:10px;
}
.post-img img{
  display: block;
  width: 100%;
  height: auto;
}
/* メイン記事のランニングスコア */
.post-tbl{
  max-width:100%;
}
.post-tbl table{/* スコア */
  text-align: center;
  margin: 10px 0px;
  border-collapse: collapse;
}
.post-tbl tr{/* 行 */
  background-color: #aaffaa;
}
.post-tbl td{/* セル */
  border: 1px solid #444444;
  line-height: 30px;
  padding-left: 5px;
  padding-right: 5px;
}
.post-tbl tr:first-child{/* 列ヘッダーセル */
  font-size: 85%;
  font-weight: bold;
}
.post-tbl tr > td:first-child{/* 行ヘッダーセル */
  font-weight: bold;
}
.post-tbl tr > td:not(:first-child){/* 行ヘッダー以外のセル */
  min-width: 2rem;
}
.post-tbl div{
  line-height: 1rem;
}
.post-mov {/* 動画リンク */
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  background-size:cover;
  margin: 10px 0;
  background-image: url("img/youtube.png");
}
.post-mov a{
  display:block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  text-shadow: 2px 2px 1px #ffffff, 2px -2px 1px #ffffff;
  font-weight: bold;
  color:#666666;
}
/* チームページのランニングスコア */
.running-score {
  background-color: #ccffcc; 
  padding:10px;
  margin:10px 0px;
}
/*///// 成績表 /////*/
.standing{
  margin: 20px 0px;
}
.standing .as-of{
  position: relative;
  width: 100%;
}
.standing-table{
  text-align: center;
  overflow-x: auto;
  overflow-y: hidden;
  border-collapse: collapse;
  width:100%;
}
.standing-table tr{/* 行 */
  background-color: #aaffff;
}
.standing-table td{/* セル */
  border: 1px solid #888888;
  vertical-align: middle;
  min-width:30px;
}
.standing-table tr:first-child,
.standing-table td:nth-child(1),
.standing-table td:nth-child(2){
  font-weight: bold;
}
.standing-table .win{
  font-size: 90%;
  font-weight: bold;
  background-color: #ffffff;
  border: 1px solid #666666;
  border-radius: 8px;
  min-width:70px;
}
.standing-table .lose{
  font-size: 90%;
  color: #dddddd;
  background-color: #666666;
  border-radius: 8px;
  min-width:70px;
}
.standing-table .draw{
  font-size: 90%;
  border: 1px solid #666666;
  border-radius: 8px;
  min-width:70px;
}
.standing-table .na{
  font-size: 90%;
  min-width:70px;
}
/*///// 個人成績 /////*/
.stats{
  margin: 20px 0px;
}
.stats a{
  display: block;
  font-size: 150%;
  margin-left: 20px;
}
/* /// 役員会 // */
.board-title{
  display: block;
  margin-bottom: 5px;
  width: 200px;
  height: 40px;
  line-height: 40px;
  margin-top:20px;
  background-color: #dd0000;
  border-top: 1px solid black;
  border-left: 1px solid black;
  color: #cccc00;
  font-size: 120%;
  text-shadow: 2px 2px 5px black;
  text-align: center;
}
.board-member{
  display: block;
  margin: 10px 0;
  width: 400px;
}
.board-member > div:first-child{
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding-left: 10px;
  background-color: #008800;
  border-top: 1px solid black;
  border-left: 1px solid black;
  color: #dddddd;
  font-size: 100%;
}
/* /// 会員 /// */
.member-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.member-list a{
  text-decoration: none;
}
.member-list > div{
  margin: 5px;
}
.membership{
  position: relative;
  display: block;
  width: 400px;
  margin-bottom: 5px;
  padding: 20px;
  background: linear-gradient( to bottom, #efefef, #aaffff);
  font-weight: bold;
}
.membership div:nth-child(1){/* よみがな */
  color: #0000aa;
  text-shadow: 3px 3px 3px #888888;
}
.membership div:nth-child(2){/* 氏名 */
  text-shadow: 5px 5px 5px #888888;
  color: #0000aa;
  font-size: 400%;
  line-height: 120%;
}
.membership div:nth-child(3){/* ローマ字 */
  text-shadow: 3px 3px 3px #888888;
  color: #0000aa;
}
.membership div:nth-child(4){/* 入会年 */
  margin-top: 25px;
  text-shadow: 3px 3px 3px #888888;
  color: #bb0000;
}
.membership div:nth-child(4)::after{/* 入会年 */
  content: "年入会";
}
.membership div:nth-child(5){/* 背番号 */
  position: absolute;
  bottom: 5px;
  right: 20px;
  color: #ccffff;
  font-size: 500%;
  text-stroke: 3px #0000aa;
  -webkit-text-stroke: 3px #0000aa; 
  text-shadow: 5px 5px 5px #888888;
}
.membership div:nth-child(6){/* チーム */
  text-shadow: 3px 3px 3px #888888;
  color: #0000aa;
}
.membership div:nth-child(6):not(:empty):before{/* チーム */
  content:"今年度チーム "
}
.membership .link{
  display: block;
  width: 30px;
  height: 50px;
  position: absolute;
  top: 0px;
}
.link:nth-child(1){
  right: 0px;
}
.link:nth-child(2){
  right: 30px;
}
.link:nth-child(3){
  right: 60px;
}
.link:nth-child(4){
  right: 90px;
}
.link:nth-child(5){
  right: 120px;
}
.membership .link-stats{
  background-image: url(img/img_stats.png);
  background-size: 30px 50px;
}
.membership .link-profile{
  background-image: url(img/img_profile.png);
  background-size: 30px 50px;
}
.membership .link-bat{
  background-image: url(img/img_batting.gif);
  background-size: 30px 50px;
}.membership .link-pit{
  background-image: url(img/img_pitching.gif);
  background-size: 30px 50px;
}.membership .link-stl{
  background-image: url(img/img_stealing.gif);
  background-size: 30px 50px;
}
/* //// チーム編成 //// */
.teams{
  display: flex;
  flex-wrap: wrap;
  font-weight: bold;
  margin: 20px auto;
  font-size: 150%;
  justify-content: space-around;
}
.team {
  margin:10px 20px;
}
.team > div:first-child{
  text-shadow: 1px 1px 1px black;
  text-align: center;
  font-size: 200%;
}
.team > div:last-child{
  display: table;
  margin: 0 auto;
}
.team > div:last-child > div{
  display: table-row;
}
.team > div:last-child > div:first-child{
  color: red;
}
.team > div:last-child > div > div{
  display: table-cell;
  padding: 0 5px;
}
.team > div:last-child > div > div:first-child{
  text-align: right;
}
/* //// 試合結果リンクの背景 //// */
.result-list {
  display:table;
  width:95%;
  max-width:500px;
  margin:0 auto;
  border-collapse: separate;
  border-spacing: 0 25px;
}
.result-list > div{
  display:table-row;
}
.result-list > div > div{
  display: table-cell;
  vertical-align: middle;
  text-align:center;
  background-image: url(img/title_score_board.gif);
  background-size: cover;
  padding-top: 50px;
  padding-bottom: 30px;
}
.result-list a{
  color: red;
  text-shadow: 2px 2px 0 greenyellow;
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
  line-height: 35px;
}

/* スマホ用のタイトル文字サイズ */
@media (max-width:480px) {
  body{
    font-size: 14px;
  }
  .title{
    font-size: 150%;
  }
  .title-large{
    font-size: 200%;
  }
  .post-title{
    font-size: 300%;
  }
  .post-title2{
    font-size: 180%;
  }
  .post-text{
    font-size: 130%;
  }  
}