/***SMART ASSIST****/
#yoso_sma {
  width: 308px;
  height: 388px;
  position: relative;
  padding-left: 16px;
  font-family: "Noto Serif JP", serif;
  color: #fff;
}

#yoso_sma.all_down {
  pointer-events: none;
}
#yoso_sma.all_down .sma_form01 dt,
#yoso_sma.all_down .sma_form01 dd {
  opacity: 0.3;
}

#yoso_sma_result {
  width: 308px;
  height: 388px;
  position: relative;
  padding-left: 16px;
  font-family: "Noto Serif JP", serif;
  color: #fff;
}

.sma_logo {
  width: 288px;
  height: 34px;
  margin: 0 auto;
  background: url("../images/sma_logo.png") no-repeat center center / 100%;
  text-indent: -9999px;
}
#yoso_sma h6 {
  width: 308px;
  height: 20px;
  background: rgba(190, 11, 124, 0.9);
  border-radius: 10px;
  color: #fff;
  font-size: 11px;
  text-align: center;
  line-height: 21px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.sma_body {
  width: 308px;
  height: 270px;
  padding-top: 6px;
  background: url("../images/sma_body.png") no-repeat center center / 100%;
  position: relative;
}
.sma_body2 {
  width: 298px;
  height: 250px;
  background: #fff;
  border: 5px #be0b7c solid;
  border-radius: 10px;
  overflow-y: auto;
  padding-bottom: 20px;
	scrollbar-width: thin; /* 細め */
	scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

.sma_body2 ul li {
  width: 264px;
  height: 88px;
  margin: 5px auto 0;
}

.sma_body2 .expl {
	color: #000;
	font-size: 14px;
	width: 264px;
	margin: 1em auto 0;

	span {
		font-weight: bold;
	}
}

.sma_body2.sma_odds {
  width: 100%;
  height: 58px;
}
.sma_odds .sam_r_n {
  width: 52px;
  height: 20px;
  float: left;
  text-align: center;
  padding-top: 38px;
}

.sma_odds .hantei {
  width: 50px;
  height: 20px;
  line-height: 20px;
  background: #002b8c;
  font-size: 14px;
  font-weight: 500;
}

#sma_body01 .sam_r_n {background: url("../images/sam_r_n01.png") no-repeat center 10px;}
#sma_body02 .sam_r_n {background: url("../images/sam_r_n02.png") no-repeat center 10px;}
#sma_body03 .sam_r_n {background: url("../images/sam_r_n03.png") no-repeat center 10px;}
#sma_body04 .sam_r_n {background: url("../images/sam_r_n04.png") no-repeat center 10px;}
#sma_body05 .sam_r_n {background: url("../images/sam_r_n05.png") no-repeat center 10px;}
#sma_body06 .sam_r_n {background: url("../images/sam_r_n06.png") no-repeat center 10px;}

.sma_odds .hantei.ren3::after {
  content: "3連単";
}
.sma_odds .hantei.ren2::after {
  content: "2連単";
}
.sma_odds .hantei.tan::after {
  content: "単勝";
}

.sma_odds dl {
  width: 122px;
  height: 34px;
  float: left;
  margin-left: 8px;
  margin-top: 16px;
}
.sma_odds dl dt,
.sma_odds dl dd {
  float: left;
  text-align: center;
}
.sma_odds dl dt {
  width: 30px;
  height: 34px;
  line-height: 34px;
  font-family: "Roboto", serif;
  font-weight: 700;
  font-size: 24px;
}
.sma_odds dl dt.sam_r_deme01 {background: #ffffff; color: #000; border: 1px solid #999;}
.sma_odds dl dt.sam_r_deme02 {background: #222222; color: #fff;}
.sma_odds dl dt.sam_r_deme03 {background: #b40023; color: #fff;}
.sma_odds dl dt.sam_r_deme04 {background: #0061d5; color: #fff;}
.sma_odds dl dt.sam_r_deme05 {background: #f8d01f; color: #000;}
.sma_odds dl dt.sam_r_deme06 {background: #199f00; color: #fff;}
.sma_odds dl dt.sam_r_deme01::after {content: "1";}
.sma_odds dl dt.sam_r_deme02::after {content: "2";}
.sma_odds dl dt.sam_r_deme03::after {content: "3";}
.sma_odds dl dt.sam_r_deme04::after {content: "4";}
.sma_odds dl dt.sam_r_deme05::after {content: "5";}
.sma_odds dl dt.sam_r_deme06::after {content: "6";}

.sma_odds dl dd {
  width: 14px;
  height: 34px;
  line-height: 34px;
  color: #666;
  font-weight: 700;
  font-size: 24px;
}
.sma_odds dl dd::after {
  content: "-";
}

.sam_r_o {
  width: 70px;
  float: left;
  color: #ff6300;
  margin-left: 10px;
  padding-top: 6px;
}
.sam_r_o .sam_r_o_head {
  background: #ff6300;
  color: #fff;
  font-size: 14px;
  height: 20px;
  line-height: 20px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}
.sam_r_o .sam_r_o_head::after {
  content: "オッズ";
}
.sam_r_o .sam_r_o_body {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  text-align: center;
}

.no_odds .sam_r_o .sam_r_o_body {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #999;
}
.no_odds .sam_r_o .sam_r_o_body::after {
  content: "--";
}

.race_num {
  width: 104px;
  height: 24px;
  line-height: 25px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 24px;
  text-align: center;
  margin-bottom: 6px;
}
.race_num::after,
#selcet_num ul li::after {
  content: "R";
  font-size: 16px;
}

#yoso_sma_result .race_num {
  width: 100px;
  height: 28px;
  line-height: 30px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 34px;
  text-align: center;
  color: #bb87ed;
  float: left;
}

.sma_odd_time {
  float: left;
  width: 160px;
  height: 28px;
  line-height: 28px;
  background: url("../images/sma_odd_time.png") no-repeat right center / 100%;
  color: #be0b7c;
  font-family: "Roboto", sans-serif;
  text-align: right;
  font-weight: 600;
  padding-right: 13px;
  font-size: 18px;
  cursor: pointer;
  margin-left: 20px;
}

.sma_vp {
  width: 196px;
  height: 28px;
  margin-top: 2px;
  background: url(../images/vp_logo_b.png) no-repeat #60f8db 8px 6px;
  background-size: 55px 14px;
  border-radius: 4px;
  position: relative;
  font-size: 14px;
  line-height: 28px;
  padding-left: 66px;
  font-weight: 600;
  color: #002b8d;
}
.sma_vp::after {
  content: "的中期待度";
}

.sma_vp .sma_vp_point {
  width: 104px;
  height: 20px;
  position: absolute;
  left: 146px;
  top: 3px;
}
.sma_vp .sma_vp_point.vp_point1 {background: url("../images/vp_point1.png") no-repeat right center / 100%;}
.sma_vp .sma_vp_point.vp_point2 {background: url("../images/vp_point2.png") no-repeat right center / 100%;}
.sma_vp .sma_vp_point.vp_point3 {background: url("../images/vp_point3.png") no-repeat right center / 100%;}
.sma_vp .sma_vp_point.vp_point4 {background: url("../images/vp_point4.png") no-repeat right center / 100%;}
.sma_vp .sma_vp_point.vp_point5 {background: url("../images/vp_point5.png") no-repeat right center / 100%;}

#selcet_num.hidden {
  display: none;
}
#selcet_num {
  width: 115px;
  height: 200px;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 0 10px 3px;
  position: absolute;
  top: 35px;
  left: 0px;
  z-index: 1001;
}
#selcet_num ul li {
  float: left;
  width: 50px;
  height: 30px;
  background: rgba(255, 255, 255, 1);
  color: rgba(190, 11, 124, 1);
  line-height: 30px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 26px;
  text-align: center;
  margin-left: 4px;
  margin-bottom: 4px;
}

.sma_body_input {
  list-style: none;
  padding: 0;
  margin: 0px 0;
  position: relative;
  width: 254px;
  padding-left: 50px;
  height: 34px;
  padding-top: 5px;
}

.sma_body_input li {
  width: 40px;
  float: left;
  margin-left: 21px;
  height: 34px;
  cursor: pointer;
  user-select: none;
  position: relative;
  background: #333;
  background: url("../images/sma_btn.png") no-repeat;
  background-size: 40px 34px;
}
.sma_body_input li:nth-child(1) {
  margin-left: 80px;
}

.sma_body_input.tan {
  background: url("../images/hantei_01.png") no-repeat;
  background-size: 59px 26px;
  background-position: 54px 8px;
}
.sma_body_input.ren2 {
  background: url("../images/hantei_02.png") no-repeat;
  background-size: 59px 26px;
  background-position: 54px 8px;
}
.sma_body_input.ren3 {
  background: url("../images/hantei_03.png") no-repeat;
  background-size: 59px 26px;
  background-position: 54px 8px;
}

.sma_body_input li[class*="num"]::after {
  content: attr(data-num);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  font-size: 30px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}
.sma_body_input li.num1 {
  background: #fff;
  color: #000;
  border: 1px solid #666;
  width: 38px;
  height: 32px;
}
.sma_body_input li.num2 {
  background: #222;
  color: #fff;
}
.sma_body_input li.num3 {
  background: #b40023;
  color: #fff;
}
.sma_body_input li.num4 {
  background: #0061d5;
  color: #fff;
}
.sma_body_input li.num5 {
  background: #f8d01f;
  color: #000;
}
.sma_body_input li.num6 {
  background: #199f00;
  color: #fff;
}

/* リセットボタン */
.reset_ul {
  position: absolute;
  left: -11px;
  top: 7px;
  display: none;
  cursor: pointer;
  user-select: none;
}
.reset_ul div {
  width: 26px;
  height: 26px;
  border-radius: 0px;
  background: url("../images/sma_clear.png") no-repeat center center / 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sma_body_input.has-input .reset_ul {
  display: block;
}

/* ピッカー */
.num-picker {
  position: absolute;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 1000;
}
.num-picker.hidden {
  display: none;
}
.num-picker .grid {
  display: grid;
  grid-template-columns: repeat(6, auto);
  gap: 6px;
}
.num-picker button {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #ddd;
  cursor: pointer;
  font-weight: 700;
  font-size: 20px;
}
.num-picker button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.num-picker .n1 {background: #ffffff; color: #000;}
.num-picker .n2 {background: #222222; color: #fff; border-color: #000000;}
.num-picker .n3 {background: #b40023; color: #fff; border-color: #fa3632;}
.num-picker .n4 {background: #0061d5; color: #fff; border-color: #0f1643;}
.num-picker .n5 {background: #f8d01f; color: #000; border-color: #fdd835;}
.num-picker .n6 {background: #199f00; color: #fff; border-color: #1f9f41;}

.sma_form01 {
  width: 100%;
  height: 32px;
  margin-top: 18px;
}
.sma_form01 dl dt,
.sma_form01 dl dd {
  float: left;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  border-radius: 30px;
  cursor: pointer;
}
.sma_form01 dl dt {
  background: #626262;
  color: #fff;
  border: 2px solid #fff;
  margin-left: 5px;
  width: 140px;
}
.sma_form01 dl dd {
  color: #000;
  border: 2px solid #be0b7c;
  margin-left: 10px;
  background: url("../images/sma_arrow.png") no-repeat #fff;
  background-size: 16px 16px;
  background-position: 110px 8px;
  width: 130px;
  padding-right: 10px;
}
.sma_form01 dl dd a {
  text-decoration: none;
  color: #000;
  line-height: 32px;
  display: block;
}

.sma_form02 {
  width: 100%;
  height: 32px;
  margin-top: 10px;
}
.sma_form02 dl dt,
.sma_form02 dl dd {
  float: left;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  border-radius: 30px;
  cursor: pointer;
}
.sma_form02 dl dt {
  color: #000;
  border: 2px solid #be0b7c;
  margin-left: 10px;
  background: url("../images/sma_arrow2.png") no-repeat #fff;
  background-size: 16px 16px;
  background-position: 20px 8px;
  width: 130px;
  padding-left: 10px;
}
.sma_form02 dl dd {
  color: #fff;
  border: 2px solid #fff;
  margin-left: 10px;
  background: url("../images/sma_arrow3.png") no-repeat #be007c;
  background-size: 16px 16px;
  background-position: 110px 8px;
  width: 130px;
  padding-right: 10px;
  font-size: 18px;
}
.sma_form02 dl dt a {
  text-decoration: none;
  color: #000;
  line-height: 32px;
  display: block;
}
.sma_form02 dl dd a {
  text-decoration: none;
  color: #fff;
  line-height: 32px;
  display: block;
}
#selcet_num ul li.stop_race {
  opacity: 0.3;
  pointer-events: none;
}
