@charset "utf-8";

/*==========================================/
/* body                                    */
/*=========================================*/
html{
  font-size: 62.5%;   /* 10px */
}

body{
  width:100%;/*画面幅いっぱいにWebページを表示させる*/
  max-width: 530px;
  margin: 0 auto;
  font-size:1.6rem;  /* 16px */
  line-height:1.5;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
input, textarea, select{
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;  
}
input[type="submit"]:hover,
input[type="button"]:hover {
  opacity: 0.7;
}
textarea{
  resize: none;
}
a{
  text-decoration: none;
  text-decoration-color: #333333;
  color: #333333;
}
a:hover{
  opacity: 0.7;
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

/*=========================================*/
/* Common                                  */
/*=========================================*/
.text-left{
  text-align: left;
}
.text-center{
  text-align: center;
}
.text-right{
  text-align: right;
}
.text-top{
  vertical-align: top;
}
.margin-left10{
  margin-left: 10px;
}
.margin-right2{
  margin-right: 2px;
}
.margin-top10{
  margin-top: 10px;
}
.margin-top30{
  margin-top: 30px;
}
.w100par{
  width: 100%;
}
.w80par{
  width: 80%;
}
.disp-in-block{
  display: inline-block;
}
.grpclr{
  background: #DDFFDD;
  font-size: 1.9rem;
}
.prsnclr{
  font-weight: 700;
}

/*=========================================*/
/* header                                  */
/*=========================================*/
h1{
  margin: 20px auto;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
}

/*=========================================*/
/* footer                                  */
/*=========================================*/
#footer{
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 2em;
  line-height: 2em;
  font-size: 11px;
  text-align: center;
  color: #fff;
  background: #000;
}

/*=========================================*/
/* Main                                    */
/*=========================================*/
#main{
  padding: 20px 0;
  width: 100%;
  font-size: 1.8rem;
}
.errmsg{
  color: #DD0000;
  font-size: 1.6rem;
  font-weight: 700;
}
/*=========================================*/
/* Error Page                              */
/*=========================================*/
.error_area{
  width: 80%;
  margin: 0 auto;
}
.error_area a{
  display: inline-block;
  text-align: center;
  width: 100%;
  border-radius: 1.5em;
  font-size: 2.4rem;
  margin: 40px 0;
  height: 2em;
  line-height: 2em;
  border: 1px solid #cc8200;
  background: #fca204;
}

.error_area ul li{
  margin-bottom: 20px;
}
.error_area ul li:nth-child(3){
  padding-top: 20px;
  margin-bottom: 5px;
}

/*=========================================*/
/* Login Page                              */
/*=========================================*/
.login_area{
  margin: 0 auto;
  width: 220px;
}
.login_area ul li{
  margin-bottom: 15px;
}
.login_area ul li:nth-child(3){
  text-align: center;
  padding: 10px;
  font-size: 2rem;
}
.login_area ul li:last-child{
  padding-top: 30px;
}
#uid, #pw{
  width: 100%;
  border: 1px solid #000;
  border-radius: 5px;
  font-size: 2.2rem;
  padding: 8px;
}
#login{
  width: 100%;
  height: 3em;
  border-radius: 1.5em;
  border: 1px solid #cc8200;
  background: #fca204;
  font-size: 2.4rem;
}

/*=========================================*/
/* Main Page                               */
/*=========================================*/
.now_area{
  width: 80%;
  margin: 0 auto;
}
.now_status{
  color: #DD0000;
  font-weight: 700;
  font-size: 2rem;
}

.now_schedule{
  font-size: 2.2rem;
  font-weight: 700;
}

.new_game, .score_edit, .grp_edit, .prsn_edit{
  display: inline-block;
  text-align: center;
  width: 100%;
  border-radius: 1.5em;
  font-size: 2.4rem;
  margin: 30px 0 0;
  height: 2em;
  line-height: 2em;
}
.new_game{
  border: 1px solid #01a352;
  background: #5deaa3;
}
.score_edit{
  border: 1px solid #cc8200;
  background: #fca204;
}
.jsk_area{
  width: 95%;
  margin: 0 auto 40px;
}
.jsk_ttl{
  margin-top: 30px;
}
.jsk_data{
  width: 100%;
/*
  max-height: 500px;
  overflow-x: auto;
  overflow-y: auto;  
*/
}
.jsk_area table{
  width: 100%;
/*  margin-bottom: 40px;*/
}
.jsk_area th, .jsk_area td{
  border: 1px solid #333;
  padding: 2px;
  box-sizing: border-box;
}
.jsk_dt{
  width: 75px;
  text-align: center;
}
.jsk_dt a{
  text-decoration: underline;
}
/*
.jsk_grp, .jsk_prsn{
  white-space: nowrap;
}
*/
.jsk_score{
  width: 80px;
  text-align: center;
}

.action_area{
  width: 90%;
  margin: 0 auto 20px;
}
.grp_edit, .prsn_edit{
  border: 1px solid #555;
  background: #DDD;
  margin: 10px 0;
  border-radius: 5px;
}

/*=========================================*/
/* New Game Page 開催日入力画面              */
/*=========================================*/
.gamebase_area{
  width: 90%;
  margin: 0 auto;
}
.gamebase_area h2{
  margin-bottom: 20px;
  color: #DD0000;
}
.gamebase_input ul li{
  padding-bottom: 10px;
}
.gamebase_input span{
  width: 5em;
  display: inline-block;
}

.gamebase_input li[class^="hole"] span{
  width: 11em;
}

.gamebase_input select{
  font-size: 2rem;
  padding: 2px 10px;
}
.newgame_action{
  text-align: center;
  margin: 20px auto;
}
input.newgame_save, input.newgame_cancel, .newgame_menu{
  width: 80%;
  text-align: center;
  height: 3em;
  line-height: 3em;
  border-radius: 1.5em;
  font-size: 2.4rem;
  margin: 10px 0;
}
input.newgame_save{
  border: 1px solid #cc8200;
  background: #fca204;
}
input.newgame_cancel{
  border: 1px solid #555;
  background: #fff;
}
.newgame_menu{
  border: 1px solid #555;
  background: #DDD;
}

/*=========================================*/
/* スコアの記録　関連画面                      */
/*=========================================*/
.scorebase_area{
  width: 90%;
  margin: 0 auto;
}
.scorebase_area h2{
  margin-bottom: 20px;
  color: #DD0000;
}
.scorebase_area ul li{
  padding-bottom: 10px;
  font-size: 2rem;
  line-height: 2;
}

.scorebase_area ul li a{
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #555;
  padding: 0 2px 2px;
  width: 100%;
  display: inline-block;
  background: rgba(227, 227, 227, 0.3);
}
.scorebase_area span{
/*  padding-left: 10px;*/
  text-align: right;
  float: right;
}
.scorebase_area .hidden_score{
  display: none;
}
.scorebase_popup{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
/*
  width: 100vw;
  height: 100vh;
*/
  background: rgba(0,0,0,0.8);
  z-index: 999;
}
.scorebase_popup_form{
  margin-top: calc( (100vh - 300px) / 2 );
  margin-left: calc( (100vw - 300px) / 2 );
  width: 300px;
  height: 300px;
  background: #fff;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

.scorebase_popup_form div{
  height: 7.5em;
}
.scorebase_popup_form span.point{
  font-size: 2.2em;
  line-height: 4em;
  float: inherit;
}
#score{
  font-size: 4rem;
  text-align: right;
  width: 3em;
  line-height: 2em;
  margin-top: -40px;
  margin-right: 10px;
}

input.scorebase_save, input.scorebase_back, .scorebase_menu{
  cursor: pointer;
  width: 80%;
  text-align: center;
  height: 3em;
  line-height: 3em;
  border-radius: 1.5em;
  font-size: 2.4rem;
  margin: 10px 0;
}
input.scorebase_save{
  border: 1px solid #cc8200;
  background: #fca204;
}
input.scorebase_back{
  border: 1px solid #555;
  background: #fff;
}
.scorebase_menu{
  border: 1px solid #555;
  background: #DDD;
  display: inline-block;
}
.scorebase_action{
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

/*=========================================*/
/* グループ登録・編集　関連画面                 */
/*=========================================*/
.grpedit_area{
  width: 90%;
  margin: 0 auto;
}
.grpedit_area h2{
  margin-bottom: 20px;
  color: #DD0000;
  white-space: nowrap;
}
.grpedit_input h2{
  margin-bottom: 10px;
  margin-top: 40px;
  color: #000;
}

#gnm{
  font-size: 2.2rem;
  padding: 2px;
  box-sizing: border-box;
  width: 75%;
}
#grpedit_add{
  font-size: 2.2rem;
  margin-left: 5px;
  width: 3em;
  border-radius: 2px;
  border: 1px solid #000;
  background: #EFEFEF;
}


.grpedit_area ul li{
  padding-bottom: 10px;
  font-size: 2rem;
  line-height: 2;
}

.grpedit_area ul li a{
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #555;
  padding: 0 2px 2px;
  width: 100%;
  display: inline-block;
  background: rgba(227, 227, 227, 0.3);
}
.grpedit_action{
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.grpedit_menu{
  cursor: pointer;
  width: 80%;
  text-align: center;
  height: 3em;
  line-height: 3em;
  border-radius: 1.5em;
  font-size: 2.4rem;
  margin: 10px 0;
  border: 1px solid #555;
  background: #DDD;
  display: inline-block;
}

.grpedit_popup{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 999;
}
.grpedit_popup_form{
  margin-top: calc( (100vh - 300px) / 2 );
  margin-left: calc( (100vw - 300px) / 2 );
  width: 300px;
  height: 300px;
  background: #fff;
  padding: 30px 10px;
  box-sizing: border-box;
  text-align: center;
}
#gnm_edit{
  font-size: 3rem;
  width: 95%;
  line-height: 6rem;
  margin-bottom: 30px;
  box-sizing: border-box;
}

input.grpedit_save, input.grpedit_del, grpedit_menu{
  cursor: pointer;
  text-align: center;
  height: 3em;
  line-height: 3em;
  border-radius: 1.5em;
  font-size: 2.4rem;
  margin: 10px 0;
}
input.grpedit_save{
  width: 45%;
  border: 1px solid #cc8200;
  background: #fca204;
}
input.grpedit_del{
  width: 45%;
  border: 1px solid #cc8200;
  background: #fca204;
}
.grpedit_menu{
  width: 80%;
  border: 1px solid #555;
  background: #DDD;
  display: inline-block;
}

/*=========================================*/
/* 参加者登録・編集　関連画面                  */
/*=========================================*/
.prsnedit_area{
  width: 90%;
  margin: 0 auto;
}
.prsnedit_area h2{
  margin-bottom: 20px;
  color: #DD0000;
  white-space: nowrap;
}
.prsnedit_input h2{
  margin-bottom: 10px;
  margin-top: 40px;
  color: #000;
}
#gnm_lst{
  font-size: 2.2rem;
  padding: 7.5px 2px;
  width: 75%;
}
#pnm{
  font-size: 2.2rem;
  padding: 2px;
  box-sizing: border-box;
  width: 75%;
}
#prsnedit_add{
  font-size: 2.2rem;
  margin-left: 5px;
  width: 3em;
  border-radius: 2px;
  border: 1px solid #000;
  background: #EFEFEF;
}


.prsnedit_area ul li{
  padding-bottom: 10px;
  font-size: 2rem;
  line-height: 2;
}

.prsnedit_area ul li span.gid{
  display: none;
}

.prsnedit_area ul li span:last-child{
  float: right;
}
.prsnedit_area ul li a{
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #555;
  padding: 0 2px 2px;
  width: 100%;
  display: inline-block;
  background: rgba(227, 227, 227, 0.3);
}
.prsnedit_action{
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.prsnedit_menu{
  cursor: pointer;
  width: 80%;
  text-align: center;
  height: 3em;
  line-height: 3em;
  border-radius: 1.5em;
  font-size: 2.4rem;
  margin: 10px 0;
  border: 1px solid #555;
  background: #DDD;
  display: inline-block;
}

.prsnedit_popup{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 999;
}
.prsnedit_popup_form{
  margin-top: calc( (100vh - 400px) / 2 );
  margin-left: calc( (100vw - 300px) / 2 );
  width: 300px;
  height: 400px;
  background: #fff;
  padding: 30px 10px;
  box-sizing: border-box;
  text-align: center;
}
#gnm_lst_edit{
  font-size: 3rem;
/*  box-sizing: content-box;*/
  padding: 16px 0px;
  width: calc(95% + 10px);
  margin-bottom: 20px;
}
#pnm_edit{
  font-size: 3rem;
  width: 95%;
  line-height: 6rem;
  margin-bottom: 30px;
  padding: 0 3px;
}

input.prsnedit_save, input.prsnedit_del, .prsnedit_menu{
  cursor: pointer;
  text-align: center;
  height: 3em;
  line-height: 3em;
  border-radius: 1.5em;
  font-size: 2.4rem;
  margin: 10px 0;
}
input.prsnedit_save{
  width: 45%;
  border: 1px solid #cc8200;
  background: #fca204;
}
input.prsnedit_del{
  width: 45%;
  border: 1px solid #cc8200;
  background: #fca204;
}
.prsnedit_menu{
  width: 80%;
  border: 1px solid #555;
  background: #DDD;
  display: inline-block;
}

/*=========================================*/
/* 開催実績ランキング結果　関連画面                  */
/*=========================================*/
.evtrank_area{
  width: 90%;
  margin: 0 auto;
}
.evtrank_area h2{
  margin-bottom: 20px;
  color: #DD0000;
  white-space: nowrap;
}
.evtrank_input h2{
  margin-bottom: 10px;
  margin-top: 40px;
  color: #000;
}
.evtrank_area ul li{
  padding-bottom: 10px;
  font-size: 2rem;
  line-height: 2;
}
.evtrank_area ul li a{
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #555;
  padding: 0 2px 2px;
  width: 100%;
  display: inline-block;
  background: rgba(227, 227, 227, 0.3);
}
.evtrank_area span{
/*  padding-left: 10px;*/
  text-align: right;
  float: right;
}
.evtrank_area .hidden_score{
  display: none;
}
.evtrank_action{
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.evtrank_menu{
  cursor: pointer;
  width: 80%;
  text-align: center;
  height: 3em;
  line-height: 3em;
  border-radius: 1.5em;
  font-size: 2.4rem;
  margin: 10px 0;
  border: 1px solid #555;
  background: #DDD;
  display: inline-block;
}
