

/*トップページ（index.php、category.php）ここから*/

body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  background-color: whitesmoke;
}

#top {
  padding: 0;
  margin: 0;
  height: 50px;
  background: #1E120D url('https://timesync.jp/basic-data/3.0/images/timesync.png') center no-repeat;
}

#main {
  padding: 0;
  margin: 0 auto;
  width: 100%;
  text-align:center;
  font-size: 25pt;
  background-color: white;
  padding-bottom: 100px;
}

#rogo {
  padding: 0;
  margin: 0;
  width: 100%;
}

#rogo img {
  width: 100%;
  margin: 0 auto;
}

#name{
  width: 250px;
  height: 50px;
  font-size: 40px;
}

input[type="button"] {
-webkit-appearance: none;
font-family: FontAwesome /*FontAwesomeをフォント指定*/;
}

.search {
  width: 200px;
  height: 55px;
  border: none;
  margin-top: 30px;
  display: inline-block;
  background-color: #dfe5ef;
  box-shadow: 0 6px #a4a4a4;
  line-height: 1;
  color: #343434;
  position: relative;
  cursor: pointer;
  border-radius: .3em;
  box-shadow: 0 6px #a4a4a4;
  top: 0;
  transition: .2s box-shadow,.2s top,.4s background;
  text-decoration: none;
  font-size: 25pt;
  text-align: center;
}

.search:hover{
    box-shadow: 0 5px #a4a4a4;
    top: 1px;
}

.search:active{
  background-color: #dfe5ef;
  box-shadow: 0 0 #a4a4a4;
  top: 6px;
}


.search_box{
  padding: 30px 0 0 0;
  margin: 20px auto 40px auto;
  width: 55%;
  border-radius: 15px;
  background-color: #1E120D;
  height: 260px;
  color:#fff/*ナンバー/氏名が見えづらいときに変更（白：#fff、黒：#000）*/;
}

p a{
  color: #0044CC;
  text-decoration: none;
}

p.item01{
  font-size:26pt;
  padding-top:5px;
}

p.item01 a{
  color: #0044CC;
  text-decoration: none;
}

p.item01 a:visited{
  color: #0044CC;
  text-decoration: none;
}

p.item02{
  font-size:23pt;
  padding-top:5px;
}

p.item02 a{
  color: #0044CC;
  text-decoration: none;
}

p.item02 a:visited{
  color: #0044CC;
  text-decoration: none;
}

p.item03{
  font-size: 20pt;
}

tr.item04 th{
  font-size: 20pt;
  padding: 0 12px 0 12px;
}

tr.item05{
  border-top: 3px double #1E120D;
}

.dnf_link{
  text-decoration: none;
}

hr.line01 {
  border: 0;
  height: 1px;
  width: 90%;
  margin: 50px auto;
  background: #1E120D;
}

.button01 {
  width: 300px;
  height: 70px;
  padding-top: 30px;
  border: none;
  display: inline-block;
  background-color: #dfe5ef;
  box-shadow: 0 6px #a4a4a4;
  line-height: 1;
  color: #343434;
  position: relative;
  cursor: pointer;
  border-radius: .5em;
  box-shadow: 0 6px #a4a4a4;
  top: 0;
  transition: .2s box-shadow,.2s top,.4s background;
  text-decoration: none;
  font-size: 25pt;
  text-align: center;
}

.button01:hover{
    box-shadow: 0 5px #a4a4a4;
    top: 1px;
}

.button01:active{
  background-color: #dfe5ef;
  box-shadow: 0 0 #a4a4a4;
  top: 6px;
}




.table01 {
  border:0;
  cellspacing: ;
  cellpadding: 2px;
  font-size: 30pt;
}

.table02 {
  padding: 0;
  margin: 0 auto 15px auto;
  font-size: 30pt;
  text-align:center;
  width: 95%;
  border: 1px #1E120D solid;
  border-collapse: blue;
}

.table02 th{
   background-color: #1E120D;
   color: #ffffff;
   font-size: 33px;
}

.table02 td{
  padding: 10px 10px;
}

.table02 tr:nth-child(2n+1){
 background: blanchedalmond;
}

.table03 {
  padding: 0;
  margin: 0 auto 15px auto;
  font-size: 25pt;
  text-align:center;
  width: 90%;
  border: 1px #1E120D solid;
  border-collapse: blue;
}

.table03 th{
   background-color: #1E120D;
   color: #ffffff;
   font-size: 24px;
}

.table03 td{
  padding: 10px 10px;
}

.table03 tr:nth-child(2n+1){
 background: blanchedalmond;
}



.search_box{
  padding: 30px 0 0 0;
  margin: 10px auto 40px auto;
  width: 70%;
  border-radius: 15px;
  background-color: #1E120D;
}

#name{
  width: 360px;
  height: 50px;
  font-size: 40px;
}

.search{
  width: 180px;
  height: 50px;
  font-size: 25pt;
}

#namefield{
  width: 90px;
  height: 40px;
  font-size: 34pt;
}


.zekken{
  width: 200px 0 0 0;

}

.detail01 {
  padding: 0;
  margin: 0;
  font-size: 33pt;
}


.detail_item02{
  width:100%;
  padding: 0 0 0 90px;
}

#detail_item {
  padding: 0;
  margin: 10px 0 10px 100px;
  width: 90%;
  font-size: 30pt;
  float: left;
}

#detail_item .detail04 {
  padding: 0;
  width: 80%;
  text-align: left;
}

.detail05 {
  padding: 0;
  margin: 10px auto;
  font-size: 18pt;
  text-align:left;
}


span.deco1{
  font-size: 20pt;
  text-align: left;
}

span.deco2{
  font-size: 30pt;
  background: linear-gradient(transparent 80%, #1E120D 80%);
}

.deco3{
  font-size: 30pt;
  border-bottom: double 5px #1E120D;
}

hr.line01 {
  border: 0;
  height: 1px;
  width: 90%;
  background: #1E120D;
}


input[type=button]{
font-family: FontAwesome /*FontAwesomeをフォント指定*/;
}



/*race.php、cate1.php、cate2.phpここから*/

.table01 {
  border:0;
  cellspacing: ;
  cellpadding: 2px;
  font-size: 30pt;
}

.table02 {
  padding: 0;
  margin: 0 auto 15px auto;
  font-size: 30pt;
  text-align:center;
  width: 90%;
  border: 1px #1E120D solid;
  border-collapse: collapse;
}

.table02 th{
   background-color: #1E120D;
   color: #ffffff;
   font-size: 33pt;
}

.table02 td{
  padding: 10px 10px;
}

.table02 tr:nth-child(2n+1){
 background: blanchedalmond;
}

.table03 {
  padding: 0;
  margin: 0 auto 15px auto;
  font-size: 25pt;
  text-align:center;
  width: 90%;
  border: 1px #1E120D solid;
  border-collapse: collapse;
}

.table03 th{
   background-color: #1E120D;
   color: #ffffff;
   font-size: 24pt;
}

.table03 td{
  padding: 10px 10px;
}

.table03 tr:nth-child(2n+1){
 background: blanchedalmond;
}

.table03 {
  padding: 0;
  margin: 0 auto 15px auto;
  font-size: 25pt;
  text-align:center;
  width: 90%;
  border: 1px #1E120D solid;
  border-collapse: collapse;
}

.table03 th{
   background-color: #1E120D;
   color: #ffffff;
   font-size: 24pt;
}

.table03 td{
  padding: 10px 10px;
}

.table03 tr:nth-child(2n+1){
 background: blanchedalmond;
}

.table04 {
  padding: 0;
  margin: 20px auto 20px auto;
  font-size: 25pt;
  text-align:center;
  width: 90%;
  border: 1px #1E120D solid;
  border-collapse: collapse;
}

.table04 th{
   background-color: #1E120D;
   color: #ffffff;
   font-size: 24pt;
}

.table04 td{
  padding: 10px 10px;
}

.table04 tr:nth-child(2n+1){
 background: blanchedalmond;
}

.table05 {
  padding: 0;
  text-align:center;
  width: 100%;
  border: 1px #1E120D solid;
  border-collapse: collapse;
  font-size: 27pt;
}

.table05 th{
   background-color: #1E120D;
   color: #ffffff;
   padding: 0 40px;
}

.table05 td{
  padding: 10px 10px;
}

.table05 tr:nth-child(2n+1){
 background: blanchedalmond;
}

td.item02{
  font-size:26pt;
}


td.item02 a{
  color: #0044CC;
  text-decoration: none;
}

td.item02 a:visited{
  color: #0044CC;
  text-decoration: none;
}

p.attention{
  font-size: 70%;
}

/*race.php、cate1.php、cate2.phpここまで*/

p.detail_item{
  font-size: 25pt;
}

p.detail06{
  font-size: 20pt;
}

span.detail02 {
  font-size: 30pt;
  color: #1E120D;
}


#staff_title{
  margin: 10px 0;
}

#chart01 {
  height: 650px;
}

.finish_scene {
  width: 320px;
  height: 70px;
  padding-top: 30px;
  border: none;
  display: inline-block;
  background-color: #cd201f;
  box-shadow: 0 6px #7a1313;
  line-height: 1;
  color: #ffffff;
  position: relative;
  cursor: pointer;
  border-radius: .5em;
  box-shadow: 0 6px #7a1313;
  top: 0;
  transition: .2s box-shadow,.2s top,.4s background;
  text-decoration: none;
  float: center;
}

.finish_scene:hover{
    box-shadow: 0 5px #7a1313;
    top: 1px;
}

.finish_scene:active{
  background-color: #cd201f;
  box-shadow: 0 0 #7a1313;
  top: 6px;
}

.faild{
  width:70%;
  margin:0 auto;
  text-align:left;
  font-size: 20pt;
}

.fa-gray:before{
  color:#b6b6b6;
  margin:0 0 0 10px;
  opacity:0.0;
}

.fa-red:before{
  color:#ff5959;
  margin:0 0 0 10px;
}

.fa-bule:before{
  color:#0099ff;
  margin:0 0 0 10px;
}

.finisher_box {
  padding: 0;
  margin: 0 auto;
  width: 70%;
  text-align: center;
  border: 3px #1E120D solid;
  border-radius: 15px;
}

.finisher_box img {
  float: center;
  width: 23%;
  height: auto;
  max-width: 200px;
  min-width: 50px;
}

/*lap.php、search.phpここまで*/


/*戻ると更新ボタンここから*/

.disposal_top_box{
  margin: 90px 20% 270px 20%;
}

.disposal_bottom_box{
  margin: 50px 20% 200px 20%;
}

.return {
  width: 200px;
  height: 70px;
  padding-top: 30px;
  border: none;
  display: inline-block;
  background-color: #dfe5ef;
  box-shadow: 0 6px #a4a4a4;
  line-height: 1;
  color: #343434;
  position: relative;
  cursor: pointer;
  border-radius: .5em;
  box-shadow: 0 6px #a4a4a4;
  top: 0;
  transition: .2s box-shadow,.2s top,.4s background;
  text-decoration: none;
  float: left;
}

.return:hover{
    box-shadow: 0 5px #a4a4a4;
    top: 1px;
}

.return:active{
  background-color: #dfe5ef;
  box-shadow: 0 0 #a4a4a4;
  top: 6px;
}

.renew {
  width: 200px;
  height: 70px;
  padding-top: 30px;
  border: none;
  display: inline-block;
  background-color: #b3b7bf;
  box-shadow: 0 6px #727272;
  line-height: 1;
  color: #343434;
  position: relative;
  cursor: pointer;
  border-radius: .5em;
  box-shadow: 0 6px #727272;
  top: 0;
  transition: .2s box-shadow,.2s top,.4s background;
  text-decoration: none;
  float: right;
}

.renew:hover{
    box-shadow: 0 5px #727272;
    top: 1px;
}

.renew:active{
  background-color: #b3b7bf;
  box-shadow: 0 0 #727272;
  top: 6px;
}

.disposal_top_box2{
  margin: 5px 50px 120px auto;
}

.renew2 {
  width: 180px;
  height: 45px;
  padding-top: 10px;
  font-size: 18pt;
  border: none;
  display: inline-block;
  background-color: #b3b7bf;
  box-shadow: 0 6px #727272;
  line-height: 1;
  color: #343434;
  position: relative;
  cursor: pointer;
  border-radius: .5em;
  box-shadow: 0 6px #727272;
  top: 0;
  transition: .2s box-shadow,.2s top,.4s background;
  text-decoration: none;
  float: right;
}

.renew2:hover{
    box-shadow: 0 5px #727272;
    top: 1px;
}

.renew2:active{
  background-color: #b3b7bf;
  box-shadow: 0 0 #727272;
  top: 6px;
}


/*戻ると更新ボタンここまで*/


/*自動更新部分ここから*/

.checkbox {
  width: 230px;
  margin: 50px auto 0;
}

label.auto_renew {
  position: relative;
  display: block;
  width: 100%;
  height: 55px;
  box-sizing: border-box;
  padding: 1px;
  border-radius: 48px;
  background-color: #ebebeb;
}
label.auto_renew::after {
  display: inline-block;
  content: "手動更新";
  width: 100%;
  text-align: left;
  color: #a8a8a8;
  box-sizing: border-box;
  padding: 2px 5px 0;
}
label.auto_renew > span {
  position: absolute;
  right: 8px;
  top: 7px;
  display: block;
  width: 40px;
  height: 40px;
  font-size: 14px;
  line-height: 50px;
  border-radius: 50%;
  text-align:center;
  letter-spacing:normal;
  background-color: #fff;
  cursor: pointer;
  -webkit-transition: .3s ease-out;
  -moz-transition: .3s ease-out;
}

input[type="checkbox"] {
  display: none;
}
input[type="checkbox"]:checked + label {
  background-color: #10705b;
}
input[type="checkbox"]:checked + label::after {
  content: "自動更新中";
  text-align: right;
  color: #fff;
}
input[type="checkbox"]:checked + label > span {
  right: 180px;
}

/*自動更新部分ここまで*/



/*SNSボタンここから*/

.sns_box{
  padding: 0 0 30px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.facebook_button {
  width: 120px;
  height: 60px;
  padding-top: 20px;
  margin: 0 15px 0 15px;
  border: none;
  display: inline-block;
  background-color: #385691;
  box-shadow: 0 6px #213256;
  line-height: 1;
  color: #FFFFFF;
  position: relative;
  cursor: pointer;
  border-radius: .5em;
  box-shadow: 0 6px #213256;
  top: 0;
  transition: .2s box-shadow,.2s top,.4s background;
  text-decoration: none;
  float: left;
  font-size:30pt;
}

.facebook_button:hover{
    box-shadow: 0 5px #213256;
    top: 1px;
}

.facebook_button:active{
  background-color: #385691;
  box-shadow: 0 0 #213256;
  top: 6px;
}

.twitter_button {
  width: 120px;
  height: 60px;
  padding-top: 20px;
  margin: 0 15px 0 15px;
  border: none;
  display: inline-block;
  background-color: #64A8DC;
  box-shadow: 0 6px #184a70;
  line-height: 1;
  color: #FFFFFF;
  position: relative;
  cursor: pointer;
  border-radius: .5em;
  box-shadow: 0 6px #184a70;
  top: 0;
  transition: .2s box-shadow,.2s top,.4s background;
  text-decoration: none;
  float: left;
  font-size:30pt;
}

.twitter_button:hover{
    box-shadow: 0 5px #184a70;
    top: 1px;
}

.twitter_button:active{
  background-color: #64A8DC;
  box-shadow: 0 0 #184a70;
  top: 6px;
}

.line_button {
  width: 120px;
  height: 60px;
  padding-top: 20px;
  margin: 0 15px 0 15px;
  border: none;
  display: inline-block;
  background-color: #34AF35;
  box-shadow: 0 6px #1a551a;
  line-height: 1;
  color: #FFFFFF;
  position: relative;
  cursor: pointer;
  border-radius: .5em;
  box-shadow: 0 6px #1a551a;
  top: 0;
  transition: .2s box-shadow,.2s top,.4s background;
  text-decoration: none;
  float: left;
  font-size:30pt;
}

.line_button:hover{
    box-shadow: 0 5px #1a551a;
    top: 1px;
}

.line_button:active{
  background-color: #34AF35;
  box-shadow: 0 0 #1a551a;
  top: 6px;
}

/*SNSボタンここまで*/

/*トップページタブ切り替え*/
.tabs {
margin-top: 50px;
padding-bottom: 40px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
width: 100%;
margin: 0 auto;}

.tab_item {
width: calc(100%/2);
height: 70px;
padding-top: 10px;
border-bottom: 3px solid #1E120D;
background-color: #d9d9d9;
line-height: 50px;
font-size: 25pt;
text-align: center;
color: #565656;
display: block;
float: left;
text-align: center;
font-weight: bold;
transition: all 0.2s ease;
}
.tab_item:hover {
opacity: 0.75;
}

input[name="tab_item"] {
display: none;
}

.tab_content {
display: none;
padding: 40px 40px 0;
clear: both;
overflow: hidden;
font-size: 15pt;
}

/*選択されているタブのコンテンツのみを表示*/
#cate1:checked ~ #cate1_content,
#race:checked ~ #race_content {
display: block;
}

.tabs input:checked + .tab_item {
background-color: #1E120D;
color: #fff;
}
/*トップページタブ切り替えここまで*/


/*スタッフページタブ切り替え*/
.tabs2 {
margin-top: 50px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
width: 100%;
margin: 0 auto;}

.tab_item2 {
width: calc(100%/2);
height: 70px;
padding-top: 10px;
border-bottom: 3px solid #1E120D;
background-color: #d9d9d9;
line-height: 50px;
font-size: 25pt;
text-align: center;
color: #565656;
display: block;
float: left;
text-align: center;
font-weight: bold;
transition: all 0.2s ease;
}
.tab_item2:hover {
opacity: 0.75;
}

input[name="tab_item2"] {
display: none;
}

.tab_content2 {
display: none;
clear: both;
overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/
#checkin_state:checked ~ #checkin_state_content,
#start_state:checked ~ #start_state_content,
#finish_state:checked ~ #finish_state_content {
display: block;
}

.tabs2 input:checked + .tab_item2 {
background-color: #1E120D;
color: #fff;
}
/*スタッフページタブ切り替えここまで*/

/*各選手状況ページタブ切り替え*/
.tabs3 {
margin-top: 50px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
width: 100%;
margin: 0 auto;}

.tab_item3 {
width: calc(100%/2);
height: 70px;
padding-top: 10px;
border-bottom: 3px solid #1E120D;
background-color: #d9d9d9;
line-height: 50px;
font-size: 27pt;
text-align: center;
color: #565656;
display: block;
float: left;
text-align: center;
font-weight: bold;
transition: all 0.2s ease;
}
.tab_item3:hover {
opacity: 0.75;
}

input[name="tab_item3"] {
display: none;
}

.tab_content3 {
display: none;
clear: both;
overflow: hidden;
font-size: 15pt;
}

/*選択されているタブのコンテンツのみを表示*/
#cate1:checked ~ #cate1_content,
#race:checked ~ #race_content {
display: block;
}

.tabs3 input:checked + .tab_item3 {
background-color: #1E120D;
color: #fff;
}
/*各選手状況ページタブ切り替えここまで*/


/*最下部へのスクロール*/
.scroll_button_btm a{
    position: fixed;
    display: block;
    right:50px;
    bottom:50px;
    background-color: #b3b7bf;
    color: #343434;
    padding:20px;
    border-radius: .5em;
    text-decoration: none;
    border: none;
}
/*最下部へのスクロールここまで*/

.cate2_link{
  text-decoration: none;

}

.sub_title_box{
  float: left;
  margin: 30px 0 50px 100px;
}
