@charset "UTF-8";
/* 共通 */
#titleArea {
  background: url(../images/pic_title.jpg) center center no-repeat;
  background-size: cover;
}

  #mainArea {
    margin-bottom: 80px;
  }
@media (max-width: 991px) {
  #mainArea {
    margin-bottom: 20px;
  }
}

#forecast .font-sm {
  font-size: 12px;
}

/* 日付エリア */
#forecast .forecast-title {
  padding: 5px 10px;
  color: #fff;
  font-weight: bold;
  vertical-align: middle;
  background-color: #21365b;
  margin-bottom: 5px;
}

#forecast .forecast-title span {
  font-size: 1.5em;
}

#forecast .forecast-title p {
  margin: 0;
  font-size: 0.85em;
}

#forecast .forecast-title {
  display: flex;
  background-color: #3b4952;
  flex-direction: column;
}

#forecast .company {
  display: flex;
  justify-content: end;
  width: 100%;
}

/* タブエリア */
#forecast .list-tab {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

#forecast #tabArea {
  padding: 1rem 8px 0;
  margin-bottom: 2rem;
  overflow: hidden;
  background-color: #f6f6f6;
}

#forecast .list-tab li {
  width: 25%;
  padding: 8px;
}

#forecast .list-tab li a {
  display: block;
  width: 100%;
  padding: 0 15px;
  font-weight: bold;
  line-height: 40px !important;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background-color: #d12d36;
  border: #d12d36 solid 1px;
  border-radius: 5px;
}

#forecast .list-tab li a:hover,
#forecast .list-tab li .active,
#forecast .list-tab li :focus {
  margin: 0;
  color: #d12d36;
  background-color: #fff;
}

#forecast .list-tab li a.round-none {
  display: none !important;
}

/* 本命予想 */
.race-forecast-1,
.race-forecast-2 {
  margin-bottom: 10px;
  flex-wrap: wrap;
  place-content: space-between flex-start;
  align-items: stretch;
  width: 100%;
  padding: 5px;
  color: #fff;
  background: #d12d36;
  border-radius: 5px;
}

.forecast-type {
  top: 0;
  width: 60%;
  padding: 5px 5px 0;
  text-align: center;
}

.forecast-honmei {
  padding-left: 35px;
  background-size: 24px;
}
.forecast-ana {
  padding-left: 33px;
  background-size: 24px;
}

.forecast-honmei,
.forecast-ana {
  display: flex;
  background: url(../images/icon_logo.svg) 3% 0% / 28px 28px no-repeat;
  height: 30px;
  font-size: 1.5em;
  line-height: 37px;
}

.forecast-type-about {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 5px 0;
  margin-bottom: -5px;
}

#forecast .forecast-type-about li {
  align-items: center;
  display: flex;
  justify-content: center;
  width: calc(100% / 5);
  height: 36px;
  margin-right: 2px;
  line-height: 36px;
}

#forecast .forecast-type-about .large {
  font-size: 180%;
}

#forecast .symbol-honmei {
  margin-right: 3px;
  background: #9d2229;
  font-size: 1.5em;
}

#forecast .symbol-ana {
  margin-right: 3px;
  background: #3b4952;
  font-size: 1.5em;
}

.forecast-type-about .kaime-num-1,
.forecast-type-about .kaime-num-2,
.forecast-type-about .kaime-num-3,
.forecast-type-about .kaime-num-4,
.forecast-type-about .kaime-num-5,
.forecast-type-about .kaime-num-6,
.forecast-type-about .kaime-num-7,
.forecast-type-about .kaime-num-8,
.forecast-type-about .kaime-num-9 {
  margin: 2.5px auto;
}

.kaime-num-1::after,
.kaime-num-2::after,
.kaime-num-3::after,
.kaime-num-4::after,
.kaime-num-5::after,
.kaime-num-6::after,
.kaime-num-7::after,
.kaime-num-8::after,
.kaime-num-9::after {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 20px;
  font-weight: bold;
  transform: translate(-50%, -45%);
  line-height: 1;
}

.kaime-num-1::after {
  content: "1";
}

.kaime-num-2::after {
  content: "2";
}

.kaime-num-3::after {
  content: "3";
}

.kaime-num-4::after {
  content: "4";
}

.kaime-num-5::after {
  content: "5";
}

.kaime-num-6::after {
  content: "6";
}

.kaime-num-7::after {
  content: "7";
}

.kaime-num-8::after {
  content: "8";
}

.kaime-num-9::after {
  content: "9";
}

.ravc-honmei,
.ravc-taiko,
.ravc-tanana,
.ravc-renshita {
  background: rgb(255 255 255 / 70%);
}

#forecast .kaime-num-1,
#forecast .kaime-num-2,
#forecast .kaime-num-3,
#forecast .kaime-num-4,
#forecast .kaime-num-5,
#forecast .kaime-num-6,
#forecast .kaime-num-7,
#forecast .kaime-num-8,
#forecast .kaime-num-9 {
  position: relative;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  margin: 2.5px 0;
  color: #171717;
  background: #fff;
  border: 1px solid #3b4952;
  border-radius: 20px;
}

#forecast .kaime-num-2 {
  color: #fff;
  background: #3e4449;
  border-color: #3e4449;
}

#forecast .kaime-num-3 {
  color: #fff;
  background: #ff0700;
  border-color: #ff0700;
}

#forecast .kaime-num-4 {
  color: #fff;
  background-color: #0074de;
  border-color: #0074de;
}

#forecast .kaime-num-5 {
  background-color: #ffb71a;
  border-color: #ffb71a;
}

#forecast .kaime-num-6 {
  color: #fff;
  background-color: #008d03;
  border-color: #008d03;
}

#forecast .kaime-num-7 {
  background-color: #eb760c;
  border-color: #eb760c;
}

#forecast .kaime-num-8 {
  background-color: #eb0ce3;
  border-color: #eb0ce3;
  color: #fff;
}

#forecast .kaime-num-9 {
  color: #fff;
  background-color: #7b0cff;
  border-color: #7b0cff;
}

.forecast {
  top: 110px;
  display: flex;
  width: 100%;
}

.forecast-kaime {
  float: left;
  width: 55%;
  margin-bottom: 0;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.tan-area {
  display: flex;
  flex-direction: column;
  width: 45%;
}

.tan-area .title {
  display: flex;
  justify-content: space-between;
  line-height: 30px;
  padding: 0 5px;
}

.forecast-tan {
  display: flex;
  flex-wrap: wrap;
  place-content: space-between space-around;
  align-items: stretch;
  padding: 0 5px;
  text-align: center;
  margin-bottom: 0;
}

.ai-character {
  position: relative;
  top: 230px;
  left: 13px;
  width: 120px;
  background-size: 100%;
  border-radius: 5px;
}

.forecast-comment {
  margin-right: 10px;
  position: relative;
  width: calc(100% - 120px);
  padding: 5px 13px;
  font-weight: bold;
  color: #171717;
  background: #fff;
  border-radius: 5px;
}

.race-forecast-1 .forecast-comment::before,
.race-forecast-2 .forecast-comment::before {
  position: absolute;
  top: 33px;
  left: -19px;
  content: " ";
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 0;
}
.race-forecast-1 .forecast-comment::before{
  border-right: 15px solid #d12d36;
}
.race-forecast-2 .forecast-comment::before {
  border-right: 15px solid #2e96d1;
}

.forecast-comment::after {
  position: absolute;
  top: 33px;
  left: -15px;
  content: " ";
  border-top: 15px solid transparent;
  border-right: 15px solid #ffffff;
  border-bottom: 15px solid transparent;
  border-left: 0;
}

.kaime-1,
.kaime-2 {
  margin-bottom: 0;
  height: 36px;
  padding: 0 5px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-left: 5px;
  background: rgb(255 255 255 / 70%);
}

.kaime-1 {
  margin-bottom: 4px;
}

.kaime-2 {
  margin-bottom: 2px;
}

.tan-table {
  display: flex;
  flex-direction: column;
  width: 40%;
  margin-top: -22px;
}

.tan-head-2 {
  width: 50%;
  font-size: 1.25em;
  text-align: center
}

.tan-2-1,
.tan-2-2,
.tan-3-1,
.tan-3-2 {
  width: calc(50% - 5px);
  height: 36px;
  margin: 2px 2.5px;
  font-weight: bold;
  line-height: 45px;
  background: rgb(255 255 255 / 70%);
}

.honmei-tan > .tan-2-1,
.honmei-tan > .tan-2-2,
.honmei-tan > .tan-3-1,
.honmei-tan > .tan-3-2 {
  color: #7c4547;
  font-size: 1.125em;
}

.honmei-tan > .tan-2-1 span,
.honmei-tan > .tan-2-2 span,
.honmei-tan > .tan-3-1 span,
.honmei-tan > .tan-3-2 span {
  font-size: 1.5em;
  color: #d12d36;
}

.ana-tan > .tan-2-1,
.ana-tan > .tan-2-2,
.ana-tan > .tan-3-1,
.ana-tan > .tan-3-2 {
  color: #3b4952;
  font-size: 1.125em;
}

.ana-tan > .tan-2-1 span,
.ana-tan > .tan-2-2 span,
.ana-tan > .tan-3-1 span,
.ana-tan > .tan-3-2 span {
  font-size: 1.5em;
  color: #2e96d1;
}

.kaime-num-minus::after {
  margin: 2px;
  font-weight: bold;
  color: #303030;
  content: "-";
}

#forecast .bottom-area {
  padding: 12px 0 12px 5px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
#forecast .bottom-area::before {
  content: "";
  width: 105px;
  height: 105px;
  background: url(../images/thumb_character.svg) 0 0 / 105px 105px no-repeat;
}

/* 注釈エリア */
#forecast .notice {
  display:flex;
  align-items: center;
}
#forecast .notice::before {
  content:"";
  width:16px;
  height:16px;
  margin-right: 4px;
  vertical-align:text-bottom;
  background: url(../images/icon_exclamation.svg) 0 0 no-repeat;
}

/* 穴予想 */
.race-forecast-2 {
  background: #2e96d1;
}

.on-forecast,
.off-forecast {
  display: none;
}

@media (max-width: 395px) {
  /* フォントサイズ */
  .tan-head-2 {
    font-size: 1.2em;
  }
  .kaime-num-minus::after {
    margin: 0px;
  }

  .kaime-1,
  .kaime-2 {
    height: 36px;
    padding: 0 20px;
  }
  /* ○× */
  #forecast .forecast-type-about li {
    align-items: center;
  }
  /* 車番 */
  .kaime-1,
  .kaime-2 {
    align-items: center;
    padding: 1px 2px;
  }

  #forecast .kaime-num-1,
  #forecast .kaime-num-2,
  #forecast .kaime-num-3,
  #forecast .kaime-num-4,
  #forecast .kaime-num-5,
  #forecast .kaime-num-6,
  #forecast .kaime-num-7,
  #forecast .kaime-num-8,
  #forecast .kaime-num-9 {
    width: 23px;
    height: 23px;
  }
}

@media (min-width: 768px) {
  #forecast .tan-table {
    margin-top: -22px;
  }
  .kaime-1,
  .kaime-2 {
    padding: 0 2em;
  }
}

@media (min-width: 992px) {
  /* 日付エリア */
  #forecast .forecast-title p {
    margin: 0;
    font-size: 1em !important;
  }

  #forecast .forecast-title {
    flex-direction: unset;
    align-items: center;
    justify-content: space-between;
  }

  /* タブエリア */
  #tabArea {
    background-color: unset !important;
    position: 8px 0 0;
    position: relative;
  }
  #tabArea::after {
    content: "";
    display: block;
    position: absolute;
    border-bottom: 2px solid #d12d36;
    width: 100%;
    left: 0;
    bottom: 0;
  }

  #forecast .list-tab li a:hover,
  #forecast .list-tab li .active,
  #forecast .list-tab li :focus {
    margin: 0;
    color: #d12d36;
    background-color: #fff;
    border-bottom: solid 2px #fff;
    position: relative;
    z-index: 1;
  }

  #forecast .list-tab {
    flex-wrap: nowrap;
  }

  #forecast #tabArea {
    padding: 8px 0 0;
  }

  #forecast .list-tab li {
    width: none;
    padding: 0;
  }

  #forecast .list-tab li a {
    border: #d12d36 solid 2px;
    border-radius: 0;
  }

  #forecast .tabs {
    margin-right: -0.2rem;
  }

  #forecast .row-tab {
    margin-right: 0.2rem;
  }

  #forecast .tabs li:last-child {
    margin-right: 0;
  }

  /* 本命予想 */

  .ai-character {
    width: 115px;
    height: 115px;
    top: 0;
    left: 0;
    background: url(../images/thumb_character.svg) 0 0 / 115px 115px no-repeat;
  }

  .forecast-type {
    width: 20%;
  }

  .forecast-kaime {
    width: 35%;
    margin: 0;
    margin-top: 7px;
  }
  .tan-area {
    width: calc(40% - 115px);
    justify-content: end;
  }

  .tan-2-1,
  .tan-2-2,
  .tan-3-1,
  .tan-3-2 {
    height: 40px;
  }

  #forecast .forecast-type-about li {
    width: calc(110% / 5);
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
  }

  .kaime-1,
  .kaime-2 {
    height: 40px;
    padding: 0 1em;
  }

  .forecast-honmei,
  .forecast-ana {
    background: url(../images/icon_logo.svg) 9% 0% / 28px 28px no-repeat;
  }

  .forecast-honmei,
  .forecast-ana {
    padding-left: 45px;
  }

  .race-forecast-1,
  .race-forecast-2 {
    height: unset;
    padding: 5px 10px 10px 10px;
  }

  #forecast .top-area {
    margin-bottom: 5px;
    display: flex;
    width: 100%;
    align-items: end;
  }

  #forecast .forecast-type-about .large {
    font-size: 185%;
  }

  .forecast-type {
    margin-bottom: 2px;
    box-sizing: border-box;
    width: 25%;
    font-weight: 700;
    text-align: center;
  }

  .forecast-honmei,
  .forecast-ana {
    margin-top: -4px;
  }

  .kaime-num-minus::after {
    display: flex;
    font-size: 50px;
    line-height: 0.5;
  }

  .tan-head-2 {
    margin-bottom: -5px;
  }

  .forecast-tan {
    place-content: space-between space-around;
    align-items: stretch;
    padding: 0 0 0 5px;
    margin-top: 5px;
  }

  .tan-head-2 {
    font-size: 1.25em;
  }

  #forecast .tan-table {
    margin-top: -4px;
  }

  .forecast-type-about {
    justify-content: end;
  }

  #forecast .kaime-num-1,
  #forecast .kaime-num-2,
  #forecast .kaime-num-3,
  #forecast .kaime-num-4,
  #forecast .kaime-num-5,
  #forecast .kaime-num-6,
  #forecast .kaime-num-7,
  #forecast .kaime-num-8,
  #forecast .kaime-num-9 {
    font-size: 1.5em;
    width: 34px;
    height: 34px;
    margin: 2.5px auto;
  }

  .kaime-1 {
    margin-top: 30px;
  }

  #forecast .bottom-area {
    position: relative;
    padding: 0;
  }
  #forecast .bottom-area::before {
    content: none;
  }

  .forecast-comment {
    width: 100%;
    margin-right: 0;
    font-size: 1.25em;
    padding: 16px;
  }

  .forecast-comment::after {
    top: -10px;
    left: 35px;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-bottom: 15px solid #ffffff;
    border-top: 0;
  }

  .race-forecast-1 .forecast-comment::before,
  .race-forecast-2 .forecast-comment::before {
    top: -15px;
    left: 35px;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-top: 0;
  }
  .race-forecast-1 .forecast-comment::before {
    border-bottom: 15px solid #d12d36;
  }
  .race-forecast-2 .forecast-comment::before {
    border-bottom: 15px solid #2e96d1;
  }
}

@media (min-width: 1400px) {
  .forecast-honmei,
  .forecast-ana {
    padding-left: 55px;
  }
}
