@charset "utf-8";

/********** SP mode **********/
@media (max-width:720px){

/* common */
body{
    margin-bottom: 56px;
    background: #0069d5;
}
a:hover,input[type="button"]:hover,input[type="submit"]:hover{opacity:1 !important;}

.btn_yellow,.btn_green,.btn_white{
  display:block;
  padding:2% 0;
  text-align:center;
  width:90%;
  margin:4% auto;
  border:none;
  box-shadow:0 2px 1px rgba(0,0,0,0.5);
  border-radius:8px;
  box-sizing:border-box;
  font-weight:bold;
}
.btn_yellow{
  background:#f8ff00;
  color:#004077;
}
.btn_green{
  background:#0069d5;
  color:white;
}
.btn_white{
  background:#ffffff;
  color:#0069d5;
}

/* errmsg */
ul#errmsg{
  background:#ee1d1d;
  color:white;
  padding:2% 4%;
  margin-bottom:2%;
  border-radius:8px;
  font-size:14px;
}

/* pagination */
.pagination{
  margin:4%;
  background:white;
  padding:2% 0;
  border-radius:8px;
  box-shadow:0 3px 3px rgba(0, 0, 0, 0.5);
  border:2px solid #0069d5;
}
.pager{
  text-align:center;
  font-size:13px;
}
.pager span{
  display:inline-block;
  width:30px;
  line-height:28px;
  color:#0e6622;
  box-sizing:border-box;
  background:white;
  margin:0 2px;
  border-radius:4px;
}
.pager span:hover{
  background:#ffdb1f;
  cursor:pointer;
}
.pager span.current{
  background:#0069d5;
  color:white;
}
.pager span.invalid{
  display:none;
}
/* bodytop, bodysub */
.bodytop, .bodysub{
  background-position:center;
  width:100%;
  margin:0 auto;
  min-height:100vh;
  /* padding-bottom: 273px; */
  position:relative;
  box-sizing:border-box;
  display: flex;
  flex-direction: column;
}
.bodytop{
  background-image:url(/img/topbg.jpg);
  background-size:cover;
  background-attachment:fixed;
  background-repeat:no-repeat;
}
.bodysub{
  background-image:url(/img/bgpattern.jpg);
  background-size:256px;
}
/* header common */
.headerarea{
  position:relative;
}
.headerall{
  padding:8px;
  box-sizing:border-box;
  background:#0069d5;
  box-shadow:0 2px 2px rgba(12, 101, 33, 0.5);
}
.headerinner{
  height:42px;
  position:relative;
}
.headerlogo{
  width:auto;
  height:100%;
  float:left;
}
.headerlogo img{
  height:100%;
  width:auto;
}
.header_menu{
  position:absolute;
  top:100%;
  right:0;
  width:100%;
  display:none;
  z-index:100;
  background:white;
  margin-bottom:32px;
  background:#0069d5;
  padding-bottom:8px;
}
.header_menu_btn{
  position:absolute;
  top:50%;
  -webkit-transform:translateY(-50%);
  transform:translateY(-50%);
  right:8px;
  width:32px;
}
.header_menu_icon{
  height:22px;
  position:relative;
}
.header_menu_icon span{
  background:white;
  height:4px;
  width:100%;
  left:0;
  right:0;
  margin:auto;
  border-radius:2px;
  display:block;
  position:absolute;
  -webkit-transition:0.2s linear;
  transition:0.2s linear;
}
.header_menu_icon span:nth-child(1){
  top:0;
  -webkit-transform:translateY(0%) rotate(0deg);
  transform:translateY(0%) rotate(0deg);
}
.header_menu_icon span:nth-child(2){
  top:0;
  bottom:0;
  margin:auto;
  opacity:1;
}
.header_menu_icon span:nth-child(3){
  bottom:0;
  -webkit-transform:translateY(0%) rotate(0deg);
  transform:translateY(0%) rotate(0deg);
}
.hmc-text{
  color:white;
  font-size:10px;
  text-align:center;
  margin-top:6px;
  line-height:1;
}
.hmc-text:after{
  content:"MENU";
}
.hmc-active .header_menu_icon span{
  -webkit-transition:0.2s linear;
  transition:0.2s linear;
}
.hmc-active .header_menu_icon span:nth-child(1){
  top:50%;
  -webkit-transform:translateY(-50%) rotate(45deg);
  transform:translateY(-50%) rotate(45deg);
}
.hmc-active .header_menu_icon span:nth-child(2){
  opacity:0;
}
.hmc-active .header_menu_icon span:nth-child(3){
  bottom:50%;
  -webkit-transform:translateY(50%) rotate(-45deg);
  transform:translateY(50%) rotate(-45deg);
}
.hmc-active .hmc-text:after{
  content:"CLOSE";
}
.header_memberarea{
  background:#0069d5;
}
/* header login */
.headerlogin{
  border-bottom:1px solid lightgray;
  border-top:1px solid #0037ff;
  padding:16px 0;
}
.log_reg_btn{
  background:#f8ff00;
  border:none;
      color: #004077;
  font-weight:bold;
  margin:0 auto;
  width:82%;
  display:block;
  box-shadow:0 2px white inset;
  border-radius:2px;
  padding:4% 0;
  font-size:5.5vw;
  box-sizing:border-box;
  text-align:center;
}
.headerform_idpw{
  display:flex;
  justify-content:space-evenly;
  margin-bottom:12px;
}
.headerform_idpw input{
  border:1px solid lightgray;
  border-radius:16px;
  padding:4px 8px;
  font-size:16px;
  box-sizing:border-box;
  width:46%;
  text-align:center;
}
.headerform_submit{
  margin-bottom:12px;
}
.headerform_submit input{
  background:#ffdb1f;
  border:none;
  color:#297120;
  font-weight:bold;
  border-radius:16px;
  margin:0 auto;
  padding:2% 0;
  font-size:16px;
  box-sizing:border-box;
  display:block;
  width:94%;
}
.headerform_forget{
  text-align:center;
  font-size:0;
}
.headerform_forget a{
  font-size:14px;
}
.headerform_forget a:first-child{
  color:yellow;
  font-weight:bold;
}
.headerform_forget a:last-child{
  color:white;
}
.headerform_forget a:last-child:before{
  content:"|";
  padding:0 8px;
  opacity:0.75;
}
/* header member */

.headermember{
  box-sizing:border-box;
  line-height:1;
  padding: 0 4% 2%;
  font-size:0;
  text-align:center;
}
.headermember_left{
  display:inline-block;
  width:80%;
  vertical-align:middle;
}
.headermember_item{
	padding:4px 8px;
	margin-bottom:4px;
	border:1px solid;
	color:#ffffff;
	font-size:14px;
	border-radius:6px;
	box-sizing:border-box;
}

.headermember_item p{
  line-height:1.25;
  text-align:center;
}

.headermember_item span{
  font-weight:bold;
  padding-left:4px;
}
.headermember_mail{
  display:inline-block;
  position:relative;
  margin-left:2%;
  max-width:15%;
  vertical-align:middle;
}

.headermember_mailicon a{
  display:block;
}

.headermember_mailicon a img{
  width:auto;
}

.headermember_badge{
  position:absolute;
  top:-4px;
  right:-4px;
  color:white;
  font-weight:bold;
  background:#ff3a3a;
  border-radius:16px;
  line-height:20px;
  width:20px;
  font-size:15px;
  text-align:center;
  border:2px solid white;
  box-shadow:0 1px 1px black;
  text-shadow:0 1px 0px black;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
}

.headermember_logout{
  color:white;
  display:flex;
  justify-content:space-between;
}

.headermember_logout a{
  font-size:14px;
  font-weight:bold;
  display:block;
  background:#ffdb1f;
  color:#0069d5;
  padding:6px 12px;
  border-radius:8px;
  width:49%;
  text-align:center;
  box-sizing:border-box;
}

/* nav */
.navall{
  background:white;
}
.nav>li>a{
  padding:8px 16px;
  border-bottom:1px solid #d4d4d4;
  position:relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav>li>a:after{
  content:"";
  display:block;
  width:12px;
  height:12px;
  border-top:3px solid #666c75;
  border-right:3px solid #666c75;
  box-sizing:border-box;
  -webkit-transform:rotate(45deg);
  transition:rotate(45deg);
  margin-left: 8px;
}
.nav>li a img{
  width: 180px;
}
.nav>li ul.nav_pulldown{
  font-size:14px;
  background:#d4d4d4;
  box-sizing:border-box;
}
.nav>li ul.nav_pulldown>li{
  text-align:center;
  line-height:2;
  background:#d4d4d4;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}
.nav>li ul.nav_pulldown>li>a{
  display:block;
  font-size:20px;
  width:29%;
  margin:0 1% 2%;
  font-weight:bold;
  background:white;
  color:#0069d5;
  box-sizing:border-box;
}
/* fixed-menu */
.fixed-menu {
    position: fixed;
    justify-content: space-evenly;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(to bottom,#328ae4,#0069d5);
    z-index: 10;
    display: flex;
    height: 56px;
    align-items: center;
}
.fixed-menu a {
    text-align: center;
    height: 88%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ffffff33;
}

.fixed-menu a:last-child {
    border-right: none;
}
.fixed-menu a img {
    max-height: 100%;
}
/* content */
.contentall{
  padding:4% 2%;
}
/* topimg */
.topimage{
  margin:0 0 16px;
}
/* topcta */
div#cta_wrap{
  margin:0 0 16px;
  padding:24px 0px;
  background:#fffead;
  border:1px solid lightgray;
}
div#cta_toptext{
  text-align:center;
  font-size:14px;
}
div#cta_box{
  text-align:center;
  margin:8px 0 0;
}
div#cta_box form input{
  box-sizing:border-box;
}
div#cta_box form input[type="text"]{
  width:60%;
  border:1px solid lightgray;
  padding:8px;
  box-sizing:border-box;
}
div#cta_box form input[type="submit"]{
  width:20%;
  background:linear-gradient(#29f600, #fbff00);
  border:1px solid #9b4d00;
  padding:12px 0;
  cursor:pointer;
}
/* content_box */
.content_box{
  border:2px solid #0069d5;
    background: #ffdb1feb;
  margin-bottom:4%;
  border-radius:8px;
  padding:2%;
  box-shadow:0 1px 3px rgba(0, 0, 0, 0.5);
}
.content_title{
  margin-bottom:2%;
  color: #0069d5;
  font-size:24px;
  font-weight:bold;
}
.content_title img{
  height:100%;
  max-height:32px;
}
.content_sub{
  background:#ffffe9;
  border-radius:8px;
  padding:2%;
  font-size:14px;
  color:dimgray;
  margin-bottom:2%;
  display: flex;
  justify-content:flex-end;
  /*flex-direction: row-reverse;*/
  align-items: center;
}
.content_body{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-evenly;
  margin-bottom:2%;
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
}
.content_body>a{
  display:block;
  font-size:0;
  margin-bottom:2%;
  background:white;
  border-radius:4px;
  padding:2% 2%;
  width:32%;
  box-sizing:border-box;
  box-shadow:0 2px 2px rgba(0, 0, 0, 0.5);
}
.venueicon{
  vertical-align:middle;
  border:1px solid #008063;
  box-sizing:border-box;
  width:100%;
  height:0;
  margin:0 auto 4%;
  padding-bottom:50%;
  position:relative;
  overflow:hidden;
}

.venueicon img{-webkit-transform:translateY(-25%);transform:translateY(-25%);}
.venuetext{
  vertical-align:middle;
}
.venuetext img{
  width:100%;
}
/* result */
.result_title{
  background:linear-gradient(#c2722b, #f0a82c);
  border:3px solid #c2722b;
  box-shadow:0 1px 1px rgba(0, 0, 0, 0.25), 0 1px 1px rgba(255, 255, 255, 0.75) inset;
  text-align:center;
  padding:6px 0 4px;
  position:relative;
  z-index:1;
}
.result_body{
  margin-bottom:16px;
  padding:2% 2%;
  border:1px solid #c2722b;
  border-top:0;
  display:flex;
  justify-content:space-evenly;
  background:#fff6e2;
  position:relative;
  z-index:0;
}
.content_body .result_item{
  background:url(/img/result_bg_sp.png);
  background-repeat:no-repeat;
  background-size:100% 100%;
  padding: 2% 2% 22%;
  margin:0 0 2%;
  width: 48%;
  box-sizing:border-box;
  font-size:0;
  position:relative;
  box-shadow:0 2px 2px rgba(0,0,0,0.5);
  border:2px solid #7f4802;
  border-radius:8px;
  display: unset;
  color:unset;
}
.result_text{
  position:absolute;
  top:16%;
  left:28%;
}
.result_text p{
  line-height:1.25;
  color:#0069d5;
  white-space:nowrap;
  font-size:3.5vw;
}
.result_text p:nth-child(1){
  font-size:11px;
  margin-bottom:2px;
}
.result_text p:nth-child(2){
  font-weight:bold;
  display:inline;
}
.result_text p:nth-child(2):after{
  content:"-";
}
.result_text p:nth-child(3){
  display:inline;
  font-weight:bold;
}

.result_text p:nth-child(4){
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  width:30vw;
  font-size:12px;
  margin-top:2px;
  font-weight:bold;
}
.result_amount{
  position:absolute;
  font-size:4vw;
  bottom:10%;
  text-align:center;
  left:0;
  right:0;
}
.result_amount>span{
  font-size:1.5em;
}
.result_link{
  text-align:center;
  margin-bottom:2%;
}
.result_link a{
  display:block;
  background:white;
  width:80%;
  padding:4% 0;
  margin:0 auto;
  box-shadow:0 2px 1px rgba(0, 0, 0, 0.5);
  border-radius:8px;
  box-sizing:border-box;
  color:#0069d5;
  font-weight:bold;
  font-size:14px;
}
/* SUBPAGE pagetitle head */
.pagetitle_all{
  margin-bottom:3%;
}
.pagetitle_head{
  border-image:url(/img/borderimage-gold.png) 34 stretch;
  border-image-width:32px;
  border-width:22px;
  border-style:solid;
  border-image-outset:2px;
  border-radius:32px;
  background:#befc00;
/*   filter:drop-shadow(0 6px 1px rgba(0, 0, 0, 0.4)); */
  margin:0 auto 2%;
  text-align:center;
  position:relative;
  z-index:1;
}

.pagetitle_body{
  border-image:url(/img/borderimage-gold.png) 34 stretch;
  border-image-width:32px;
  border-width:22px;
  border-style:solid;
  border-image-outset:2px;
  border-radius:32px;
  text-align:center;
  background:#ffffe4;
  position:relative;
  z-index:0;
}
.pagetitle_text_main{
  font-size:22px;
  font-weight:bold;
  color:#424242;
}
.pagetitle_text_sub{
  font-size:14px;
}
/* SUBPAGE voice */
.voice_all{
  margin-bottom:2%;
  border-radius:8px;
  padding:4%;
  background:#ffffff;
}
.voice_item{
  border-bottom:1px solid #e6e6e6;
  margin:0;
  padding:3% 0;
  font-size:14px;
}
.voice_item:last-of-type{
  border-bottom:none;
}
.voice_item:last-child{
  margin-bottom:0;
}
.voice_item_info{
  font-size:12px;
  color:#909090;
  margin-bottom:2%;
}
.voice_item_info .vii_admin{
  border-radius:4px;
  color:#5a5a5a;
  background:#f5da22;
  padding:2px 8px;
  display:inline-block;
  line-height:1;
}
.voice_item_info .vii_report a{
  color:white;
  background:#909090;
  padding:0 8px;
  margin-left:0.4em;
  border-radius:4px;
}
.voice_item_reply{
  text-align:right;
}
.voice_item_reply>input[type="button"]{
  display:inline-block;
  background:#008fbb;
  border:none;
  color:white;
  padding:0.5% 2%;
  border-radius:12px;
  font-size:14px;
}
div#voiceform{
  border-radius:8px;
  background:#ffffff;
  padding:4%;
}
.form_title{
  color:#0069d5;
  font-weight:bold;
  font-size:16px;
}
.form_body textarea{
  display:block;
  width:100%;
  resize:vertical;
  min-height:120px;
  border:1px solid lightgray;
  box-sizing:border-box;
  margin-bottom:1%;
  padding:1%;
}
.form_body input[type="submit"]{
  background:#f3d91e;
  padding:1%;
  border:none;
  box-shadow:0 2px 1px rgba(0, 0, 0, 0.5);
  border-radius:8px;
  box-sizing:border-box;
  color:#0069d5;
  font-weight:bold;
}
.form_beforeregist_text{
  padding:2%;
  margin:2% 0 4%;
  background:#d4d4d4;
  font-size:14px;
}

  /* voice-report */
  .modal{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  display:none;
  }

  .overLay{
  position:absolute;
  top:0;
  left:0;
  background:rgba(200, 200, 200, 0.9);
  width:100%;
  height:100%;
  z-index:10;
  }

  .modal .inner{
  position:fixed;
  z-index:11;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:100%;
  }

  #modal_form{
  width:90%;
  margin:0 auto;
  background:white;
  max-width:600px;
  text-align:center;
  border:4px solid #0069d5;
  color:#0069d5;
  margin-bottom:3%;
  border-radius:16px;
  padding:2% 2% 4%;
  box-sizing:border-box;
  box-shadow:0 1px 3px rgba(0,0,0,0.5);
  }
  .buttonSubmit,
  .buttonCancel{
  width:50%;
  margin:2% auto;
  padding:12px;
  color:white;
  display:block;
  box-sizing:border-box;
  border:none;
  }
  .buttonSubmit{background:#ff5d5d;}
  .buttonCancel{background:#3e3939;}

/* contact */
.contact_sending_box{
  margin-bottom:1%;
}
.contact_form{
  margin-bottom:1%;
  width:100%;
  margin:0 auto 4%;
}
.contact_form p{
  font-weight:bold;
  color:#0069d5;
  margin-bottom:2%;
}
.contact_form input, .contact_form textarea{
  border:1px solid lightgray;
  box-sizing:border-box;
  padding:4px 8px;
  border-radius:8px;
}
.contact_form input{
  width:100%;
}
.contact_form textarea{
  width:100%;
  resize:vertical;
  min-height:160px;
}
.contact_submit{
  text-align:center;
  margin:4% 0;
}
.contact_submit form{
  margin:0 1% 1%;
  display:inline;
}
.contact_confirm_text{
  border:1px solid lightgray;
  box-sizing:border-box;
  padding:4px 8px;
  border-radius:8px;
  background:lightyellow;
  color:dimgray;
}
.contact_done_box{
  text-align:center;
  border-radius:16px;
  background:#ffffff;
  padding:2%;
}
.contact_done_box p{
  font-weight:bold;
  margin-bottom:1%;
}
/* SUBPAGE textpage */
.textpage_all{
  border-radius:8px;
  padding:2%;
  background:#ffffff;
  font-size:14px;
}
.textpage_all p.leadtext{
  font-weight:bold;
  margin-bottom:4%;
  padding:2% 4%;
  border-bottom:1px solid lightgray;
}
.textpage_all dl dt{
  margin-bottom:4%;
  font-weight:bold;
  color:#ff5c30;
}

.textpage_all dl p{
  margin-bottom:1em;
}

.textpage_all dl img{
  margin-bottom:1em;
}
.textpage_all dl dd{
  margin-bottom:4%;
  padding:0 4%;
}
.textpage_all table{
  width:100%;
}
.textpage_all table tr{
  border-bottom:1px solid #e2e2e2;
  padding:3% 0;
  display:block;
}
.textpage_all table th, .textpage_all table td{
  display:inline-block;
  vertical-align:middle;
  box-sizing:border-box;
}
.textpage_all table th{
  text-align:left;
  font-weight:bold;
  color:#ff5c30;
}

/* SUBPAGE mypage */
.mypage_item{
  margin-bottom:2%;
  border:2px solid #0069d5;
  background:white;
  padding:2%;
  border-radius:8px;
  font-size:14px;
}
.mypage_item_title{
  font-weight:bold;
  margin-bottom:0.5%;
}
.mypage_item_text{
  font-weight:bold;
  color:#0069d5;
}
.mypage_change_list{
  margin-bottom:2%;
}
.mypage_change_title{
  margin-bottom:0.5%;
}
.mypage_change_text{
  font-weight:bold;
  color:#0069d5;
}
.mypage_change_input input{
  background:white;
  border:2px solid #0069d5;
  padding:1%;
  border-radius:8px;
}


/* regist */
.cta_compkari_text{
  font-weight:bold;
  color:#0069d5;
  background:white;
  border:2px solid #0069d5;
  border-radius:8px;
  margin:2% 0 0;
  padding:2%;
  text-align:center;
}
.cta_compkari_text p{
  margin-bottom:1em;
}
.cta_compkari_text p:last-of-type{
  margin-bottom:unset;
}
/* form common */
.form_confirm{
  border:1px solid lightgray;
  background:#ffffe9;
  border-radius:8px;
  padding:1.5%;
  margin-bottom:1%;
}
.form_btn_yes, .form_btn_no{
  margin:1% 0;
}
/* racelist */
.racelist_day_title{
  background:#0069d5;
  color:white;
  padding:2% 0;
  margin-bottom:2%;
  border-radius:16px;
  font-weight:bold;
  text-align:center;
  font-size:16px;
}
.racelist_venue_all{
  margin-bottom:5%;
  padding:0 2%;
}
.racelist_venue_item{
  border: 3px solid #0069d5;
  margin-bottom: 1%;
  border-radius: 12px;
  background: white;
}
.racelist_venue_title{
  display:flex;
  align-items:center;
  padding: 2%;
  font-weight: bold;
  font-size:14px;
}
.racelist_venue_title:after {content: "▼";display: block;}
.racelist_venue_title h3 {
  margin-right: 2%;
  display: flex;
  align-items: center;
  width: 54%;
}

.racelist_venue_title h3 img:nth-child(1) {
    width: 28%;
    margin-right: 2%;
}

.racelist_venue_title h3 img:nth-child(2) {
    width: 70%;
}

.racelist_venue_title p {
    margin-left: auto;
    white-space: nowrap;
    font-size: 12px;
}
.racelist_race_all{
  display:flex;
  flex-wrap:wrap;
  margin:0 0 1%;
  justify-content:space-evenly;
}
.racelist_race_item{
  width: 46%;
  color: #0069d5;
  margin: 2% 0;
  border-radius:8px;
  padding: 3%;
  box-sizing:border-box;
  text-align: center;
}
.racelist_race_R{
  font-weight:bold;
  font-size: 14px;
}
.racelist_race_name{
  font-weight:bold;
  font-size:14px;
  text-align:right;
}
a.racelist_race_item{
  border:3px solid #0069d5;
  background:#fffbe4;
  opacity:1;
  box-shadow:0 2px 1px rgba(0, 0, 0, 0.5), 0 -2px 1px #cac088 inset, 0 2px 1px white inset;
}
a.racelist_race_item .racelist_race_name{
  color:#0069d5;
}
.modal_cta{
  background:url(/img/bgpattern.jpg);
  background-size:256px;
  background-position:center;
  overflow:hidden;
  border-radius:8px;
  padding:4% 0;
  margin-bottom:4%;
}
.modal_cta_attention{
  display:inline-block;
  background:#ffffff;
  padding:2% 4%;
  font-weight:bold;
  border-radius:16px;
  font-size:3.6vw;
}
.moda_cta_text{
  background:#ffdb1f;
  padding:2% 0;
  margin:4% 0;
  font-size:6vw;
  text-align:center;
}
.modal_cta_logo{
  padding:0 8%;
  filter:drop-shadow(0 4px 4px rgba(0,0,0,0.5));
}
a.modal_cta_btn{
  width:100%;
  margin:0 auto;
  background:#ff690e;
  color:#ffffff;
  font-size:5.5vw;
  padding:4% 0;
  display:block;
  text-align:center;
  border:3px solid #fffde8;
  border-radius:16px;
  box-sizing:border-box;
  box-shadow:0 3px 6px rgba(0,0,0,0.5);
  text-shadow:0 4px 6px rgba(0,0,0,0.5);
  -webkit-animation:lpfvform-pc 1s infinite;
  animation:lpfvform-pc 1s infinite;
}

/* past race list */
.pastracelist_all {
    display: flex;
    flex-wrap: wrap;
}
.pastracelist_item {
   width: 48%;
   color:#aba164;
   margin: 0 1% 2%;
   border-radius:8px;
   padding: 2% 1%;
   box-sizing:border-box;
   background:white;
   border:3px solid #0069d5;
   opacity:1;
   box-shadow:0 2px 1px rgba(0,0,0,0.5),0 -2px 1px #cac088 inset,0 2px 1px white inset;
   font-weight:bold;
   font-size: 18px;
   color:#0069d5;
   text-align:center;
}

/* race */
.race_number_list {
    display: flex;
    width: 100%;
    overflow-x: scroll;
    padding: 0 0 4%;
    box-sizing: border-box;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}
.race_number_list a {
    background: linear-gradient(to bottom,#2d89e8,#0069d5);
    color: white;
    display: block;
    text-align: center;
    padding: 0.3em 1em;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 3px #004994,0 3px 3px #00000088;
    text-shadow: 0 2px 2px #00000088;
    font-size: 14px;
    margin: 0 .2em;
}
.race_outline_date{font-size:14px;}
.race_outline_info{font-size:0;margin-right: auto;}
.race_outline_name{
  background:#0069d5;
  padding:2px 8px;
  text-align:center;
  font-size:14px;
  color:white;
  border-radius:4px;
  line-height:1.2;
  margin-right:4px;
  display:inline-block;
  vertical-align:middle;
}

.race_outline_name br {
    display: none;
}
.race_outline_name span{
  font-size:16px;
  font-weight:bold;
  padding-left: .25em;
}
.race_outline_title{
  display:inline-block;
  vertical-align:middle;
  font-size:14px;
}
.race_outline_title span{
  font-weight:bold;
  color:#0069d5;
  font-size:16px;
}
.race_table{
	margin-bottom:4%;
}
.race_table table{
  background-color:white;
  width:100%;
  font-size:14px;
}
.race_table table th,
.race_table table td{
  text-align:left;
  font-weight:bold;
  vertical-align:middle;
  border:1px solid rgba(0,0,0,0.5);
  padding:2% 1%;
}
.race_table table th{
  background-color:#fff4ac;
  font-size:12px;
  line-height:1.1;
}
.race_table table th:nth-child(1),.race_table table td:nth-child(1),.race_table table th:nth-child(2),.race_table table td:nth-child(2){
	text-align:center;
  width:1em;
}
.race_table table th:nth-child(4),.race_table table td:nth-child(4){
	text-align:center;
	width:3.5em;
}
.race_table table td:nth-child(4){
  font-size:12px;
}
.race_table table th:nth-child(5),.race_table table td:nth-child(5){
	text-align:center;
	width:2em;
}
.race_table table th:last-child{
	background:#ff0415;
	color:white;
}
.race_table table td:last-child{
	color:#ff0415;
}
.race_table table th span,.race_table table td span{
  font-weight:normal;
  font-size:11px;
}
.kaime_title{
  background:#0069d5;
  color:white;
  font-size:20px;
  text-align:center;
  border-radius:16px;
  margin-bottom:4%;
  padding:2% 0;
}
.kaime_area{
	margin-bottom:15px;
}
.kaime_item{
	border:1px solid #0069d5;
	background-color:white;
	margin-bottom:2%;
	border-radius:8px;
	overflow:hidden;
}
.kaime_type{
  background:#0069d5;
  color:white;
  font-size:16px;
  text-align:center;
  padding:4px 0;
  font-weight:bold;
}
.kaime{
	font-size:14px;
	padding:4%;
	box-sizing:border-box;
}

.race_result{
    display:flex;
    text-align:center;
    justify-content:center;
    align-items:center;
    font-size:22px;
}
.race_result_num{
    width:3em;
    line-height:2em;
    background:white;
    border-radius:8px;
    font-weight:bold;
    color: #0069d5;
}
.rece_result_allow{
    box-sizing:border-box;
    width:.5em;
    height:.5em;
    border:0.5em solid transparent;
    border-left-color:#0069d5;
    margin-left:0.5em;
}

/* message */
.message_all{
  margin-bottom:4%;
  border-radius:8px;
  padding:4%;
  background:#ffffff;
}

.message_item{
  border-bottom:1px solid lightgray;
  padding:3% 0;
  font-size:14px;
}
.message_item:last-child{
  border-bottom:none;
}
.ms_unread{
  font-weight:bold;
}

.message_item a{
  display:block;
  color:#b1b1b1;
  position:relative;
  padding-right:1.5em;
}
.message_item a:after{
  content:"\025bc";
  display:block;
  color:gray;
  position:absolute;
  right:0;
  top:50%;
  font-size:12px;
  -webkit-transform:translateY(-50%) rotateZ(-90deg);
  transform:translateY(-50%) rotateZ(-90deg);
}
.ms_unread a{
  color:#424242;
}

.message_status{
  padding:0 8px;
  border-radius:8px;
  font-size:13px;
  vertical-align:middle;
}
.ms_unread .message_status{
  background:#ff3a39;
  color:white;
}
.ms_read .message_status{
  background:gray;
  color:white;
}
.ms_sent .message_status{
  background:#53a555;
  color:white;
}

.message_date{
  vertical-align:middle;
  font-size:13px;
}

.message_subject{display:block;}
.message_body{
  display:none;
}

.message_sort{
  font-size:12px;
}

.message_sort a{
  color:#0069d5;
  font-weight:bold;
  display:inline-block;
}

.message_sort_title{
  margin-right:4px;
  padding-right:4px;
}

/* message detail */
.message_detail_head{
  margin-bottom:4%;
  padding-bottom:4%;
  border-bottom:1px solid lightgray;
}
.message_detail_subject{
  font-size:18px;
  font-weight:bold;
}
.message_detail_date{
  font-size:12px;
  color:gray;
  text-align:right;
}
.message_detail_body{
  font-size:14px;
  word-break:break-all;
}
.message_btn{
  text-align:center;
}
/* aboutus */
.aboutus-fv-text{
  color:#006814;
  background:#f4d002;
  font-size:20px;
  top:16px;
  left:0;
  right:0;
  margin:auto;
  text-align:center;
  box-shadow:0 2px 4px rgba(0,0,0,0.5);
  padding:8px 0;
  line-height:1.2;
}
.aboutus-fv-img{
  width:90%;
  margin:16px auto;
  filter:drop-shadow(0 3px 3px black);
}
.aboutus-fv-img img{
  width:100%;
}
.aboutus_links{
  display:flex;
  flex-wrap:wrap;
}
.aboutus_links a{
  width:48%;
  text-align:center;
  margin:1% 1%;
}

/* aboutus */
.aboutus_links{
  display:flex;
  flex-wrap:wrap;
}
.aboutus_links a{
  width:48%;
  text-align:center;
  margin:1% 1%;
}
.htu_item{
  border-radius:8px;
  padding:4%;
  background:#ffffff;
  font-size:14px;
  margin-bottom:4%;
}
.htu_title{
  background:#0069d5;
  color:white;
  padding:2%;
  border-radius:8px;
  font-weight:bold;
  margin-bottom:1em;
}
.htu_body{
  font-size:14px;
}
.htu_body p{
  margin-bottom:1em;
}
.htu_body img{
  border:3px solid lightgray;
  width:100%;
  box-sizing:border-box;
  margin-bottom:1em;
}
.htu_body img.htu_img_pc{
	display:none;
}

/* toppagerec */
.toppagerec-item{
    border:2px solid #0b6520;
    border-radius:8px;
    overflow:hidden;
    margin-bottom:4%;
}
.toppagerec-item a{
    display:block;
    color:#333;
}
.toppagerec-img img{
    vertical-align:bottom;
}
.toppagerec-result{
    background:white;
    text-align:center;
    padding:2% 0;
}
.toppagerec-result p{
  font-size: 3.6vw;
}
.toppagerec-result p span{
    font-weight:bold;
    font-size:1.5em;
    padding:0.2em;
    color:#ff4141;
}

/* rec link */
.rec_link{
    margin-bottom:4%;
    text-align:center;
}
.rec_link a{
    display:inline-block;
    padding: 4% 8% 4% 17vw;
    border-radius:16px;
    background: #f8ff00;
    border:none;
    color: #0069d5;
    font-weight:bold;
    margin:5px;
    box-shadow:0 1px #ffdb20 inset, 0 2px white inset, 0 3px 3px rgba(0,0,0,0.5);
    box-sizing:border-box;
    font-size:5.5vw;
    position:relative;
    text-shadow:0 5px 1px rgba(0, 0, 0, 0.1);
    text-align:left;
    line-height:1.25;
}
.rec_link a:before{
    content:"";
    display:inline-block;
    vertical-align:middle;
    width: 12vw;
    height:16vw;
    background:url(/img/rec_link.png);
    background-repeat:no-repeat;
    background-size: 100% auto;
    background-position: center;
    position:absolute;
    left: 4vw;
    top:50%;
    transform:translateY(-50%);
}

/* recommend page*/
.recm-head{
    background:#f4d002;
    border:4px solid #0069d5;
    margin:auto;
    box-shadow:0 2px 4px rgba(0,0,0,0.5);
    padding:2%;
    border-radius:16px;
}
.recm-head-title{
    font-size:7vw;
    color: #0069d5;
    padding-bottom:2%;
    text-align:center;
}
.recm-head-desc{
    font-size:14px;
    background:white;
    padding:2%;
    border-radius:16px;
}

.recm-body{
    background:#f4d002;
    border:4px solid #0069d5;
    padding:2%;
    margin:2% 0 6%;
    box-shadow:0 3px 6px rgba(0,0,0,0.75);
    border-radius:16px;
}

.recm-item{
    margin-bottom:8%;
    border-bottom:4px dotted rgba(11, 101, 32, 0.5);
}

.recm-item:last-child{
    margin:unset;
    padding:unset;
    border:unset;
}

.recm-sitename{
    background:#0b6521;
    color:white;
    padding:1% 0;
    text-shadow:0 2px 3px rgba(0,0,0,0.5);
    text-align:center;
    border-radius:8px;
    margin-bottom:4%;
}
.recm-sitename h2{
    font-size:6vw;
}
.recm-sitename p{font-size:14px;}

.recm-siteimg{
    margin-bottom:4%;
    }
.recm-siteimg img{
    width:100%;
    vertical-align:bottom;
}

.recm-sitetext{
    background:white;
    padding:4%;
    margin-bottom:4%;
    border-radius:16px;
    border:1px solid lightgray;
    font-size:14px;
}

.recm-sitetext h3{
  font-size:1.2em;
  margin-bottom:1em;
  color:#0b6521;
}

.recm-sitetext p{
    margin-bottom:1em;
}

.recm-sitebtn{
    text-align:center;
    margin-bottom:8%;
    display:flex;
    flex-direction:column;
    align-items:center;
}
.recm-linkbtn,
.recm-reviewbtn{
  color:#ffffff;
  padding:4%;
  margin:2% 0;
  border:none;
  box-shadow:0 2px 1px rgba(0,0,0,0.5);
  text-shadow:0 2px 3px rgba(0,0,0,0.5);
  border-radius:8px;
  box-sizing:border-box;
  font-weight:bold;
  font-size:16px;
}
.recm-linkbtn{
  background:#4ac300;
}
.recm-reviewbtn{
  background:#ff3131;
}

/* recm2 */
.recm2-standard {
    text-align: center;
    background: white;
    padding: 2%;
    border-radius: 8px;
    margin-bottom: 4%;
}

.recm2-standard h2 {
    font-size: 6vw;
    color:#ff5151;
}

.recm2-standard ul {
    display: inline-block;
    text-align: left;
    margin: .5em 0 0;
}

.recm2-standard li {
    font-size: 15px;
    margin:.5em 0;
    font-weight:bold;
}

.recm2-standard li:before{
    content:"";
    display:inline-block;
    background-image:url(/img/recm2-checkbox.png);
    background-size:100% auto;
    background-repeat:no-repeat;
    background-position:center;
    width:1.5em;
    height:1.5em;
    vertical-align:middle;
    margin-right:0.3em;
}
.recm2-item {
    background: white;
    margin-bottom: 2%;
    border-radius: 16px;
    overflow: hidden;
    padding: 4%;
}

.recm2-item img {
    vertical-align: bottom;
}

.recm2-head {
}

.recm2-title {
}

.recm2-logo {
    font-size: 6vw;
    text-align: center;
    color: white;
    background: #0069d5;
    padding: 1% 2%;
    border-radius: 12px;
    text-shadow: 0 2px 3px #000000aa;
}

.recm2-logo img {
}

.recm2-master-star {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 3% 0;
}

.recm2-master-star:before {
    content: "総合評価";
    display: block;
    background: #ff901d;
    color: white;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 8px;
    font-size: 3.7vw;
    white-space: nowrap;
}

.recm2-master-star img {
    width: 50%;
    margin: 0 2%;
}

.recm2-master-star p {
    font-size: 4vw;
}


.recm2-img-point {
}
.recm2-img {
}
.recm2-point {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff9d9;
    padding: 4%;
}

.recm2-point h3 {
    font-size: 6vw;
    color: #0069d5;
}

.recm2-point h3:before {content: "";display: inline-block;width: 1.25em;height: 1.25em;background: url(/img/recm2-pencil.png) no-repeat;background-size: 100%;vertical-align: -0.25em;}

.recm2-point ul {
    text-align: left;
}

.recm2-point li {
    font-size: 14px;
    margin-bottom: .5em;
    padding-bottom: .5em;
    border-bottom: 1px solid #00000033;
}
.recm2-point li:first-child{
  border-top:1px solid #00000033;
  padding-top:.5em;
  margin-top:.5em;
}
.recm2-point li:last-child {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recm2-review {
    margin: 2% 0;
    border: 4px solid;
    border-left-color: #dacea5;
    border-right-color: #886b0b;
    border-top: none;
    border-bottom: none;
    position:relative;
}

.recm2-review:before,
.recm2-review:after {
  content:"";
  display:block;
  position:absolute;
  height:4px;
  width:100%;
  background:linear-gradient(to right,#dacea5,#886b0b);
}
.recm2-review:before {
  top:0;
}
.recm2-review:after {
  bottom:0;
}

.recm2-chart {padding: 2%;}
.recm2-sub-star {
    font-size: 4.5vw;
    padding: 4%;
    box-sizing: border-box;
    font-weight:bold;
    background: #ffed84;
}

.recm2-sub-star h3 {
    display: flex;
    align-items: center;
    margin-bottom: 4%;
    border-bottom: 1px solid;
    padding-bottom: 4%;
}

.recm2-sub-star h3 span {
    display: inline-block;
    background: #fe901c;
    color: white;
    text-shadow: 0 2px 2px #00000088;
    padding: 0.25em 2em;
    margin-left: auto;
    font-size: 1.2em;
    border-radius: 12px;
}
.recm2-sub-star table{}
.recm2-sub-star table th,
.recm2-sub-star table td{
  vertical-align:middle;
}
.recm2-sub-star table th{
  width:45%;
  text-align:left;
}
.recm2-sub-star table td{
  width:55%;
}
.recm2-linkbtn {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 6vw;
    margin: 4% 0;
}

.recm2-linkbtn a {color: white;font-weight: bold;padding: 0.5em 0;width: 100%;box-sizing: border-box;border-radius: 16px;margin: .3em 0;text-shadow: 0 2px 2px #00000088;}

.recm2-linkbtn a:nth-child(1) {background: #4AC301;box-shadow: 0 4px #3da200, 0 6px 2px rgba(0,0,0,0.5);}

.recm2-linkbtn a:nth-child(2) {
    background: red;
    box-shadow: 0 4px #b91e1f, 0 6px 2px rgba(0,0,0,0.5);
}

.recm2-text {
    padding: 2% 0;
    border-radius: 16px;
    line-height: 1.5;
}

.recm2-text h3 {
    font-size: 1em;
    font-weight: bold;
    margin: 1em -4%;
    padding: 0.4em .2em 0.4em 2.5em;
    background: #0069d5;
    color: white;
    position:relative;
    line-height: 1.2;
}
.recm2-text h3:before {
  content: "";
  display: block;
  width: 2.3em;
  height: 2.3em;
  background: url(/img/recm2-h3icon.png);
  background-size: 100% auto;
  position: absolute;
  left: .2em;
  top: 0;
  bottom: 0;
  margin: auto;
}

.recm2-text h4 {
    font-weight: bold;
    margin: 1em 0;
    border-left: .5em solid;
    padding-left: 0.4em;
    color: #0069d5;
}

.recm2-text p {
    margin: 0 .0 .8em;
    font-size: 15px;
}



/* column */
.column_list{
    margin-bottom:2%;
}
.column_item{
    margin:8px 0;
}
.column_item a{
    display: flex;
    color:#333;
    border-radius:8px;
    overflow:hidden;
    background:white;
    padding: 4%;
    box-shadow:0 3px 3px rgba(0,0,0,0.5);
}
.column_item a:after{
  content:"";
  display:block;
  clear:both;
}
.column_item_eyecatch{
    width: 30%;
    overflow:hidden;
    margin-right: 2%;
}
.column_item_eyecatch img{vertical-align:bottom;}
.column_item_body{
  width: 68%;
}
.column_item_date{
    font-size:12px;
    line-height:1;
    margin-bottom: 0.2em;
}
.column_item_title{
    font-weight:bold;
    font-size:16px;
    line-height: 1.2;
}
.column_item_text{
    font-size:14px;
    display:none;
}

/* column open */
.column_open{
    background:white;
    border-radius:8px;
    overflow:hidden;
    margin-bottom:8px;
}
.column_open_eyecatch{
  background:url(/img/common_eyecatchBG.png);
  background-size:cover;
  width:100%;
  height:0;
  padding-bottom:50%;
  position:relative;
}
.column_open_eyecatch img{
    width:100%;
    vertical-align:bottom;
}
.column_open_header{
    color:#0b6521;
    padding:8px;
    margin:0 0 8px;
    background:#fff8de;
}

.column_open_title{
    font-weight:bold;
    font-size:4.5vw;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    -webkit-transform:translateY(-50%);
    left:0;
    right:0;
    text-align:center;
    padding:0 2vw;
    color:white;
    text-shadow:0px 0px 5px #0069d5, 0px 0px 5px #0069d5, 0px 0px 5px #0069d5, 0px 0px 5px #0069d5, 0px 0px 5px #0069d5, 0px 0px 5px #0069d5, 0px 0px 5px #0069d5, 0px 0px 5px #0069d5, 0px 0px 5px #0069d5, 0px 0px 5px #0069d5, 0px 0px 5px #0069d5;
}
.column_open_title p{
    font-size:1.5em;
     line-height:1.2;
    color:#ffdb20;
}
.column_open_date{
    font-size:12px;
    text-align:right;
}
.column_open_text{
    padding:0 12px 16px;
    text-align:justify;
    font-size:15px;
    line-height:1.5;
}
.column_open_text h2{
    background: #227fdf;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    line-height: 1.5;
    margin: 2em -12px 0.5em;
    padding: 5px 7px;
    letter-spacing: -1px;
}
.column_open_text h3, .column_open_text h4, .column_open_text h5, .column_open_text p{
    margin-bottom:16px;
}
.column_open_text h3{
    font-weight:bold;
    font-size:20px;
    color: #0069d5;
    border-bottom:2px solid;
}
.column_open_text h4{
    font-weight:bold;
    font-size:18px;
    color: #0069d5;
    border-left:8px solid;
    padding-left:4px;
}
.column_open_text h5{
    font-weight:bold;
    font-size:16px;
}
/* brotherhood link */
.brotherhood-link {
    text-align: center;
    background: #ffdb20;
    padding: 2%;
}
.brotherhood-link p {
    font-size: 12px;
    color: #333;
}
.brotherhood-link a {
    height: 48px;
    display: inline-block;
    margin: 0 1%;
}
.brotherhood-link a img {
    height: 100%;
    vertical-align: bottom;
}
/* footer */
.footer_all{
  background:#eef2f5;
  color:#0069d5;
  font-size:14px;
  /* position:absolute; */
  /* bottom:0; */
  width:100%;
  margin-top: auto;
}
.footer_menu{
  background: #0069d5;
  font-size: 14px;
}
.footer_menu a{
  color: white;
  display:block;
  text-align:center;
  padding: 0.5em 0;
}
.footer_menu a img{
  height:18px;
}
.footer_copy{
  bottom:0;
  left:0;
  right:0;
  padding:4px 0;
  margin:auto;
  text-align:center;
  background: #333;
  color:white;
}
/* footer btn */
.footer_btn{
  display:flex;
  justify-content:space-evenly;
}
.footer_btn a{
  background:white;
  border-radius:16px;
  padding:1% 0;
  text-align:center;
  width:48%;
}
.footer_btn a img{
  width:30%;
}


/* ranking banner */
.ranking-banner {
  max-width: 720px;
  margin: 0 auto 3%;
}
.ranking-banner img {
  vertical-align: bottom;
}

}
