body {
  background-image: url(img/comets_flag.jpg);
  background-repeat: repeat;
  color:#222222;
  font-size:16px;
  font-family:"Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

main {
  width: 100%;
  max-width: 1000px;
  margin: 0px auto;
}

/* 改行なしフレーズ */
span.nb {
  display: inline-block;
}

/* 汎用のタイトル */ 
.title{
  display: block;
  font-size: 140%;
  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%;
}

/* rules.html,forms.html */
.link {
  display: block;
  width: 90%;
  max-width: 400px;
  height: 50px;
  margin: 15px auto;
  border-right: 1px solid gray;
  border-bottom: 1px solid gray;
  text-align: center;
  line-height: 50px;
  text-decoration: none;
  color:#dd2222;
  text-shadow: 0.5px 0px 0px #dd2222;
  font-size: 20px;
}
.link1 {
  background:rgba(255, 255, 255, 0.7);
}
.link2 {
  background:rgba(255, 230, 255, 0.7);
}
.link1:hover {
  background:rgba(255, 255, 255, 0.95);
}
.link2:hover {
  background:rgba(255, 230, 255, 0.95);
}
/*////// メイン記事 //////*/
.article > hr {
    margin-top: 35px;
    height: 4px;
    background-color: #eecc22;
}
.post{
  margin-top: 2rem;
}
.post-title{
  display: block;
  font-size: 350%;
  font-weight: bold;
  line-height: 100%;
  color: red;
  text-shadow: 2px 2px 0px #00ff00, 3px 3px 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: 140%;
  font-weight: bold;
  line-height: 110%;
  color: blue;
  text-shadow: 1px 1px 0px #ffff22, 2px 2px 0px #ffffff;
}
.post-img{
  width: 100%;
  font-size: 110%;
  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: #ddffdd;
}
.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: #ddffee;
  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: #ccffff;
}
.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 td>div {
  display: block;
  font-size: 90%;
  border-radius: 8px;
  min-width:70px;
  margin:2px 0;
  line-height: 1.1rem;
}
.standing-table .win{
  border: 1px solid #666;
  background-color: #fff;
  font-weight: bold;
}
.standing-table .lose{
  border: 1px solid #666;
  background-color: #666;
  color: #eee;
}
.standing-table .draw{
  border: 1px solid #666;
}
/* /// 役員会 // */
.board-title{
  display: block;
  margin-bottom: 5px;
  width: 200px;
  height: 30px;
  line-height: 30px;
  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: 380px;
  height: 25px;
  line-height: 25px;
  padding-left: 10px;
  padding-right: 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: 95%;
  max-width: 400px;
  margin-bottom: 5px;
  padding: 10px;
  background: linear-gradient( to bottom, #efefef, #aaffff);
  font-weight: bold;
}
.membership div:nth-child(1){/* よみがな */
  margin-left: 120px;
  color: #0000aa;
  font-size: 80%;
  text-shadow: 3px 3px 3px #888888;
}
.membership div:nth-child(2){/* 氏名 */
  margin-left: 120px;
  text-shadow: 5px 5px 5px #888888;
  color: #0000aa;
  font-size: 250%;
  line-height: 100%;
}
.membership div:nth-child(3){/* ローマ字 */
  margin-left: 120px;
  text-shadow: 3px 3px 3px #888888;
  color: #0000aa;
  font-size: 80%;
}
.membership div:nth-child(4){/* 入会年 */
  margin-left: 120px;
  display: inline-block;
  text-shadow: 3px 3px 3px #888888;
  color: #bb0000;
}
.membership div:nth-child(4)::after{/* 入会年 */
  content: "年入会";
}
.membership div:nth-child(5){/* チーム */
  display: inline-block;
  margin-left: 10px;
  text-shadow: 3px 3px 3px #888888;
  color: #0000aa;
}
.membership div:nth-child(5):not(:empty):before{/* チーム */
  content:"今年度チーム "
}
.membership div:nth-child(6){/* 背番号 */
  position: absolute;
  left: 15px;
  top: 10px;
  color: #ccffff;
  font-size: 420%;
  text-stroke: 3px #0000aa;
  -webkit-text-stroke: 3px #0000aa; 
  text-shadow: 5px 5px 5px #888888;
}
.link-stats{
  display: block;
  width: 30px;
  height: 50px;
  position: absolute;
  top: 0px;
  right: 0px;
  background-image: url(img/img_stats.png);
  background-size: 30px 50px;
}
/* //// チーム編成 //// */ 
.teams{
  display: flex;
  flex-wrap: wrap;
  font-weight: bold;
  margin: 20px auto;
  font-size: 150%;
  justify-content: space-around;
}
.team {
  width:245px;
  margin:10px 0;
}
.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;
}
/* スマホ用のタイトル文字サイズ */
@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%;
  }  
}