@charset "UTF-8";
/*webフォント*/
/*
@font-face {
  font-family: "kazesawa";
  src: url("../font/Kazesawa-Regular.eot") format("eot"), url("../font/Kazesawa-Regular.woff") format("woff");
  font-weight: normal; }

@font-face {
  font-family: "kazesawa";
  src: url("../font/Kazesawa-bold.eot") format("eot"), url("../font/Kazesawa-bold.woff") format("woff");
  font-weight: bold; }
*/
@media(max-width:767.9px){
  #infoContainer {
        background: #fff url(../img/background.png);
        padding-bottom: 60px;
      }
      
      .pageHeader {
        background: none;
        background-image: url(../img/title_bg.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: top 80px center;
        width: 100%;
        max-width: 800px;
        height: 290px;
        padding-top: 50px;
        text-align: center;
      }
      
      .pageHeader:after {
        background: none;
      }
      
      #infoContainer .pageHeader h2 {
        display: block;
      }
      
      .pageHeader h2 span {
        display: none;
      }
      
      .pageHeader h2 img {
        width: 60%;
        /*margin: 20px auto;*/
        margin: -40px 0 0 0;
      }
      
      #infoContainer .pageHeader h2:after {
        content: url(../img/title.png);
        display: none;
        width: 100%;
        background: none;
        height: auto;
      }
      
      .pageHeader p {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        position: absolute;
        bottom: 30px;
        margin: 10px auto;
        text-align: center;
        padding: 20px 20px 0;
      }
      
      
      
      
      /*　ステップバー　*/
      .stepArea {
        margin-bottom: 20px;
        padding: 0 10px;
      
      }
      
      .step {
        list-style-type: none;
        width: 100%;
        padding: 0;
        overflow: hidden;
      }
      
      .step li {
        color: #fff;
        text-align: center;
        width: calc(50% - 5px);
        display: inline-block;
        margin-bottom: 10px;
        border-radius: 10px;
      }
      
      .step li a {
        display: block;
        color: white;
        padding: 0.5em 0.5em 0.5em 2em;
        text-decoration: none;
      }
      
      
      
      .step li:before {
        top: -15px;
        right: -1em;
        border-style: solid;
        border-color: transparent transparent transparent #fff;
        border-width: 40px 0 40px 1em;
        z-index: 10;
      }
      
      
      
      :root {
        --step1-dark-color: #ae282d;
        --step2-dark-color: #af9235;
        --step3-dark-color: #71ac38;
        --step4-dark-color: #33b58f;
        --step5-dark-color: #0f76a3;
        --step6-dark-color: #2b449c;
        --step7-dark-color: #894e93;
      
        --step1-light-color: #fdcacb;
        --step2-light-color: #f5e8bf;
        --step3-light-color: #d0e8b9;
        --step4-light-color: #c8f5e8;
        --step5-light-color: #c0e5f5;
        --step6-light-color: #cacfe0;
        --step7-light-color: #f0d9f4;
        
        
        --step1-highlight-color: #fff0f0;
        --step2-highlight-color: #fffaea;
        --step3-highlight-color: #f3faec;
        --step4-highlight-color: #eafdf8;
        --step5-highlight-color: #e3f2f8;
        --step6-highlight-color: #e8ebf5;
        --step7-highlight-color: #f8effa;
      }
      
      .bgstep1 {
        background-color: var(--step1-dark-color);
      }
      
      .bgstep2 {
        background-color: var(--step2-dark-color);
      }
      
      
      .bgstep3 {
        background-color: var(--step3-dark-color);
      }
      
      
      .bgstep4 {
        background-color: var(--step4-dark-color);
      }
      
      
      .bgstep5 {
        background-color: var(--step5-dark-color);
      }
      
      
      .bgstep6 {
        background-color: var(--step6-dark-color);
      }
      
      
      .bgstep7 {
        background-color: var(--step7-dark-color);
      }
      
      
      .step li.is-current {
        font-weight: bold;
        background-image: url(../img/icon_current.png);
        background-position: 10px center;
        background-repeat: no-repeat;
      }
      
      .step li.is-current:after {
        /*border-color: transparent transparent transparent #9bbb30;*/
      }
      
      .step li:hover a {
        text-decoration: underline;
      }
      
      
      /*　ステップバー END 　*/
      
      
      
      /*　サブタイトル　*/
      .descArea {
        background-repeat: no-repeat;
        width: calc(100% - 20px);
        margin: 0 auto;
        border-radius: 10px;
        padding: 10px;
        box-sizing: border-box;
        padding-bottom: 150px;
        position: relative;
      }
      
      .descArea:after {
        content: "";
        display: block;
        background-image: url(../img/subtitle_bg.png);
        background-position: 10px bottom;
        background-repeat: no-repeat;
        position: absolute;
        width: 240px;
        height: 200px;
        margin-top: -200px;
        bottom: -50px;
      }
      
      .descArea .subTitle {
        padding: 0;
      }
      
      .descArea .subTitle h2 {
        color: white;
        font-weight: bold;
        display: inline-block;
        width: 100%;
        border-bottom: white 2px dotted;
        position: relative;
        padding-top: 10px;
        padding-bottom: 10px;
      }
      
      .descArea .subTitle p {
        color: white;
        display: inline-block;
        width: 100%;
        padding: 5px 0;
        font-size: 16px;
      }
      
      .descArea .links {
        min-height: 50px;
        margin-bottom: 20px;
      }
      
      /*　サブタイトル END　*/
      
      /* 吹き出しリンク*/
      .links {
        clear: both;
      }
      
      .links ol {
      
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
      }
      
      .arrow_box > * {
        display: flex;
        align-items: center;
      }
      
      .arrow_box > *:first-child {
        flex-direction: column;
      }
      
      .arrow_box > *:first-child > * {
        width: 100%;
      }
      
      .arrow_box {
        display: inline-block;
        position: relative;
        margin: 10px 5px 15px;
        background: #fff;
        border: 3px solid #000;
        border-radius: 10px;
        font-weight: bold;
        color: #000;
        width: calc(50% - 15px);
        background-image: url(../img/icon_linkunker_arr.png);
        background-position: right 5px center;
        background-repeat: no-repeat;
      }
      
      .arrow_box:hover {
        opacity: 0.75;
      }
      
      .arrow_box:nth-child(2n) {
        margin-right:0;
      }
      
      .arrow_box a {
        padding: 10px 10px 10px 0;
        display: block;
        text-decoration: none;
        text-align: center;
        color: black;
        font-weight: bold;
      }
      
      .arrow_box::before {
        content: "";
        position: absolute;
        bottom: -25px;
        left: 24px;
        width: 0;
        height: 0;
        border-top: 25px solid #000;
        border-left: 15px solid transparent;
        border-right: 10px solid transparent;
        transform-origin: left top;
        transform: skewX(-30deg);
      }
      
      .arrow_box::after {
        content: "";
        position: absolute;
        margin: 0 auto;
        bottom: -16px;
        left: 28px;
        width: 0;
        height: 0;
        border-top: 25px solid #FFF;
        border-left: 14px solid transparent;
        border-right: 10px solid transparent;
        transform-origin: left top;
        transform: skewX(-30deg);
      }
      
      
      #mainContainer {
        padding: 20px 0 20px;
        box-sizing: content-box;
      }
      
      #mainContainer.step1 {
        background: var(--step1-light-color);
      }
      
      #mainContainer.step2 {
        background: var(--step2-light-color);
      }
      
      #mainContainer.step3 {
        background: var(--step3-light-color);
      }
      
      #mainContainer.step4 {
        background: var(--step4-light-color);
      }
      
      #mainContainer.step5 {
        background: var(--step5-light-color);
      }
      
      #mainContainer.step6 {
        background: var(--step6-light-color);
      }
      
      #mainContainer.step7 {
        background: var(--step7-light-color);
      }
      
      #mainContainer .sidebar {
        padding-left: 10px;
      }
      
      #mainContainer .sidebar h4 {
        background: #eee;
        margin-bottom: 10px;
      }
      
      #mainContainer.step1 .sidebar {
        border-left: 5px solid var(--step1-dark-color);
      }
      
      #mainContainer.step2 .sidebar {
        border-left: 5px solid var(--step2-dark-color);
      }
      
      #mainContainer.step3 .sidebar {
        border-left: 5px solid var(--step3-dark-color);
      }
      
      #mainContainer.step4 .sidebar {
        border-left: 5px solid var(--step4-dark-color);
      }
      
      #mainContainer.step5 .sidebar {
        border-left: 5px solid var(--step5-dark-color);
      }
      
      #mainContainer.step6 .sidebar {
        border-left: 5px solid var(--step6-dark-color);
      }
      
      #mainContainer.step7 .sidebar {
        border-left: 5px solid var(--step7-dark-color);
      }
      
      #mainContainer article {
        width: calc(100% - 40px);
        margin: 20px auto 40px;
        padding: 40px 20px 20px;
        border-radius: 10px;
        box-sizing: border-box;
      }
      
      #mainContainer article.next {
        padding: 0;
        border-radius: 10px;
        background: none;
        text-align: center;
      }
      
      #mainContainer article p {
        margin-bottom: 20px;
      }
      
      #mainContainer article p.large {
        font-size: 1.2em;
        font-weight: bold;
        margin-bottom: 0;
      }
      #mainContainer article p.large:before {
        content: url(../img/icon_odds_arr.png);
        position: relative;
        top: 3px;
      }
      
      #mainContainer article h3 {
        font-weight: bold;
        border-bottom: 4px dotted #999;
        font-size: 24px;
        margin-top: -50px;
      }
      
      #mainContainer article h3:before {
        content: url(../img/h3title.png);
        position: relative;
        top: 15px;
        left: -45px;
        margin-right: -45px;
      }
      
      #mainContainer.step1 article h3 {
        color: var(--step1-dark-color);
      }
      
      #mainContainer.step2 article h3 {
        color: var(--step2-dark-color);
      }
      
      #mainContainer.step3 article h3 {
        color: var(--step3-dark-color);
      }
      
      #mainContainer.step4 article h3 {
        color: var(--step4-dark-color);
      }
      
      #mainContainer.step5 article h3 {
        color: var(--step5-dark-color);
      }
      
      #mainContainer.step6 article h3 {
        color: var(--step6-dark-color);
      }
      
      #mainContainer.step7 article h3 {
        color: var(--step7-dark-color);
      }
      
      #mainContainer .col2Wrapper {
        margin: 10px 0;
      }
      
      #mainContainer .col2Wrapper:after {
        content: "";
        clear: both;
        display: block;
      }
      
      #mainContainer .col2Wrapper .fl {
        box-sizing: border-box;
      }
      
      #mainContainer .col2Wrapper .fr {
        box-sizing: border-box;
      }
      
      
      #mainContainer .textArea {
        margin: 20px 0 20px;
      }
      
      #mainContainer .fl .textArea {
        margin-top: 0;
      }
      
      #mainContainer .fl .right {
        text-align: right;
      }
      
      #mainContainer .tableArea.m-40,
      #mainContainer .imageArea.m-40,
      #mainContainer .textArea.m-40 {
        margin-bottom: 30px;
      }
      
      #mainContainer .tableArea.m-60,
      #mainContainer .imageArea.m-60,
      #mainContainer .textArea.m-60 {
        margin-bottom: 50px;
      }
      
      #mainContainer .textArea h4 {
        position: relative;
        padding: 4px;
      }
      
      #mainContainer .textArea h4 span.odds {
        color: #DD0000;
       /* font-weight: 900;*/
        font-size: 1.3rem;
        -webkit-text-stroke: 1.5px #DD0000;
      }
      
      #mainContainer .textArea h4 span.odds:before {
        content: url(../img/icon_odds_arr.png);
        position: relative;
        top: 3px;
      }
      
      #mainContainer .textArea h4 span.star {
        /*position: absolute;*/
        display: block;
      }
      
      #mainContainer .textArea h4 span.star {}
      
      #mainContainer .textArea h4 span.star:after {
        content: "";
        display: inline-block;
        width: 110px;
        height: 24px;
        background-size: 110px 24px;
        position: relative;
        top: 5px;
      }
      
      #mainContainer .textArea h4 span.star.rank1:after {
        background-image: url(../img/star_rank1.png);
      }
      
      #mainContainer .textArea h4 span.star.rank2:after {
        background-image: url(../img/star_rank2.png);
      }
      
      #mainContainer .textArea h4 span.star.rank3:after {
        background-image: url(../img/star_rank3.png);
      }
      
      #mainContainer .textArea h4 span.star.rank4:after {
        background-image: url(../img/star_rank4.png);
      }
      
      #mainContainer .textArea h4 span.star.rank5:after {
        background-image: url(../img/star_rank5.png);
      }
      
      
      #mainContainer .textArea p.comment:before {
        content: "※";
        font-size: 12px;
      }
      
      #mainContainer .textArea p.comment {
        margin-top: -15px;
        text-indent: -1em;
        margin-left: 2em;
        font-size: 12px;
      }
      
      #mainContainer a {
        cursor: pointer;
      }
      
      #mainContainer a.btn {
        width: 100%;
        height: auto;
        min-height: 40px;
        margin: 0 5px 10px 0;
        padding: 10px 15px 10px 40px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        display: inline-block;
        background: url(../img/icon_linkbtn_arr_wh.png) 20px 50% no-repeat #1a74bc;
        background-size: 7px auto;
        border-radius: 3px;
        color: #fff;
        line-height: 1.5em;
        font-size: 14px;
        vertical-align: top;
        text-decoration: none;
      }
      
      #mainContainer a.btnNext {
        width: calc(100% - 20px);
        height: auto;
        margin: 0 auto 10px;
        padding: 10px 25px 10px 80px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        display: inline-block;
        background-image: url(../img/icon_linkbtn_arr_wh_next.png);
        background-repeat: no-repeat;
        background-position: left 10px center;
        background-size: 80px auto;
        border-radius: 3px;
        color: #fff;
        line-height: 1.5em;
        font-size: 16px;
        vertical-align: top;
        text-decoration: none;
      }
      
      
      
      #mainContainer a.btn:hover {
        opacity: 0.75;
      }
      
      
      #mainContainer .imageArea {
        margin: 10px 0;
      }
      
      #mainContainer .fr .imageArea img {
        width: 100%;
        max-width: 800px;
        margin-right: 3%;
      }
      
      #mainContainer .imageArea img:nth-child(2n) {
        margin-right: 0;
      }
      
      #mainContainer .imageArea img {
        width: 100%;
      }
      
      #mainContainer .imageArea img.cap {
        border: 1px solid #555;
        width: 48%;
      }
      
      #mainContainer .tableArea {
        margin: 20px 0;
        width: 100%;
        overflow-x: scroll;
        border-radius: 5px;
        border-collapse: separate;
      }

      #mainContainer .ozzu{
        margin: 20px 0;
        width: 100%;
        overflow-x: scroll;
        border-radius: 5px;
        border-collapse: separate;
        white-space:nowrap ;
      }
      
      #mainContainer .tableArea .js-scrollable{
        width: 700px;
      }
      
      #mainContainer .tableArea.middle {
        margin-top: 20px;
        overflow-x: scroll;
        white-space: nowrap;
      }
      
      #mainContainer .fr .tableArea {
        margin: 0 0 20px;
      }
      
      #mainContainer .tableArea table {
        width: 700px;
        border-collapse: separate;
        border: 3px solid #EEE;
        border-radius: 5px;
      }

      #mainContainer .numberpurchase table.re_size{
        width:350px;
      }
      #mainContainer .gohorse table.re_size{
        width:350px;
      }
      #mainContainer .weight-sign table.re_size{
        width:400px;
      }

      #mainContainer .each-rank table.re_size{
        width:400px;
      }

      #mainContainer .race-rank table.re_size{
        width:350px;
      }

      
      #mainContainer .tableArea table th {
        background: #555;
        font-weight: bold;
        color: white;
        text-align: center;
        border-bottom: 1px solid white;
        border-right: 1px solid white;
        padding: 5px;
        font-size: 11px;
      }
      /*
      #mainContainer .tableArea table tr th:first-child,
      #mainContainer .tableArea table tr td:first-child {
        position: -webkit-sticky;
        position: sticky;
        left: 0;
      }*/
      
      
      #mainContainer .tableArea table th:last-child {
        border-right: 1px solid #CCC;
      }
      
      
      #mainContainer .tableArea table tr:first-child th:first-child {
        border-top-left-radius: 5px;
      }
      #mainContainer .tableArea table tr:first-child th:last-child {
        border-top-right-radius: 5px;
      }
      
      
      
      #mainContainer .tableArea table.js-scrollable .w10 {
        width: 10%;
      }
      
      #mainContainer .tableArea table.js-scrollable .w20 {
        width: 20%;
      }
      
      #mainContainer .tableArea table.js-scrollable .w30 {
        width: 30%;
      }
      
      #mainContainer .tableArea table.js-scrollable .w40 {
        width: 40%;
      }
      
      #mainContainer .tableArea table.js-scrollable .w50 {
        width: 50%;
      }
      
      
      #mainContainer.step1 {
        background: var(--step1-light-color);
        background-image: url(../img/bg_step1.png);
      }
      
      #mainContainer.step2 {
        background: var(--step2-light-color);
        background-image: url(../img/bg_step2.png);
      }
      
      #mainContainer.step3 {
        background: var(--step3-light-color);
        background-image: url(../img/bg_step3.png);
      }
      
      #mainContainer.step4 {
        background: var(--step4-light-color);
        background-image: url(../img/bg_step4.png);
      }
      
      #mainContainer.step5 {
        background: var(--step5-light-color);
        background-image: url(../img/bg_step5.png);
      }
      
      #mainContainer.step6 {
        background: var(--step6-light-color);
        background-image: url(../img/bg_step6.png);
      }
      
      #mainContainer.step7 {
        background: var(--step7-light-color);
        background-image: url(../img/bg_step7.png);
      }
      
      
      
      #mainContainer.step1 .tableArea table th {
        background: var(--step1-dark-color);
      }
      
      #mainContainer.step2 .tableArea table th {
        background: var(--step2-dark-color);
      }
      
      #mainContainer.step3 .tableArea table th {
        background: var(--step3-dark-color);
      }
      
      #mainContainer.step4 .tableArea table th {
        background: var(--step4-dark-color);
      }
      
      #mainContainer.step5 .tableArea table th {
        background: var(--step5-dark-color);
      }
      
      #mainContainer.step6 .tableArea table th {
        background: var(--step6-dark-color);
      }
      
      #mainContainer.step7 .tableArea table th {
        background: var(--step7-dark-color);
      }
      
      
      #mainContainer .tableArea table .w20 {
        width: 20%;
      }
      
      #mainContainer .tableArea table .w30 {
        width: 30%;
      }
      
      #mainContainer .tableArea table .w40 {
        width: 40%;
      }
      
      #mainContainer .tableArea table .w50 {
        width: 50%;
      }
      
      #mainContainer .tableArea table td {
        text-align: center;
        padding: 5px;
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #555;
        background: #f8f8f8;
        font-size: 11px;
        overflow: hidden;
      }
      
      
      #mainContainer.step1 .tableArea table td {
        background: var(--step1-highlight-color);
      }
      #mainContainer.step2 .tableArea table td {
        background: var(--step2-highlight-color);
      }
      #mainContainer.step3 .tableArea table td {
        background: var(--step3-highlight-color);
      }
      #mainContainer.step4 .tableArea table td {
        background: var(--step4-highlight-color);
      }
      #mainContainer.step5 .tableArea table td {
        background: var(--step5-highlight-color);
      }
      #mainContainer.step6 .tableArea table td {
        background: var(--step6-highlight-color);
      }
      #mainContainer.step7 .tableArea table td {
        background: var(--step7-highlight-color);
      }
      
      
      #mainContainer .tableArea table td.lasttd {
        border-bottom-left-radius: 5px;
      }
      
      #mainContainer .tableArea table td.noradius {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
      }
      
      
      #mainContainer .tableArea table tr:last-child {
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
      }
      
      
      #mainContainer .tableArea table tr:last-child td:first-child {
        border-bottom-left-radius: 5px;
      }
      #mainContainer .tableArea table tr:last-child td:last-child {
        border-bottom-right-radius: 5px;
      }
      #mainContainer .tableArea table tr:last-child {
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
      }
      
      
      #mainContainer .tableArea table tr:last-child td.noradius {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
      }
      
      
      #mainContainer .tableArea table td.left {
        text-align: left;
      }
      
      #mainContainer .tableArea table td:first-child {
        border-left: 1px solid #ccc;
      }
      
      #mainContainer .tableArea table td.firsttd:first-child {
        border-left: none;
      }
      
      #mainContainer .tableArea table td.b,
      #mainContainer .tableArea table td.b p{
        font-weight: bold;
      }
      
      #mainContainer .tableArea h4 {
        text-align: center;
      }
      
      #mainContainer p {
        line-height: 1.75em;
        font-size: 14px;
      }
      
      /*丸数字*/
      ol.number {
        counter-reset: my-counter;
        list-style: none;
        padding: 0;
        margin: 20px 0;
      }
      
      ol.number li {
        font-size: 15px;
        line-height: 1.5;
        padding-left: 30px;
        margin-bottom: 10px;
        position: relative;
      }
      
      ol.number li:before {
        content: counter(my-counter);
        counter-increment: my-counter;
        background-color: #555;
        border: 1px solid;
        border-radius: 50%;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 22px;
        width: 22px;
        color: #FFF;
        font-size: 85%;
        line-height: 1;
        position: absolute;
        top: -2px;
        left: 0;
      }
      
      /*　馬券買い方*/
      .ticketWrapper {
        /*display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;*/
      }
      
      .ticketItem {
       /* width: calc(50% - 10px);*/
        border: 2px solid #555;
        box-sizing: border-box;
        padding: 10px;
        
        margin-bottom: 20px;
        /*position: relative;
        padding-bottom: 330px;*/
      }
      
      .ticketItem:nth-child(2n - 1) {
        /*margin-right: 20px;*/
      }
      
      .ticketItem .imageArea {
        float: right;
        display: inline-block;
        width: 40%;
        margin: 0;
      
      }
      
      #mainContainer .ticketItem .imageArea img {
        width: 100%;
        margin: 0;
      }
      
      #mainContainer .ticketItem a.btn {
        width: 100%;
      }
      
      #mainContainer .ticketItem .textArea h4 {
        border-bottom: 2px solid #DDD;
        display: inline;
      }
      
      #mainContainer .ticketItem .textArea h4.green {
        border-bottom-color: #009900;
      }
      #mainContainer .ticketItem .textArea h4.blue {
        border-bottom-color: #2a6dc7;
      }
      #mainContainer .ticketItem .textArea h4.red {
        border-bottom-color: #e83e16;
      }
      #mainContainer .ticketItem .textArea h4.yellow {
        border-bottom-color: #cebf0d;
      }
      
      
      #mainContainer .ticketItem .textArea.bottom {
        /*position: absolute;
        bottom: -20px;*/
      }
      
      #mainContainer .ticketItem .textArea p {
        margin-top: 10px;
      }
      
      .clearfix:after {
        content: "";
        display: block;
        clear: both;
      }

      .PC{
        display: none;
        
      }

      #mainContainer .no_scroll{
        overflow-x: hidden;
      }
      #mainContainer table.no_scroll{
         width: 100%;
      }
      
}