@charset "UTF-8";

/* CSS Document */
:root {
  --font-family-en: 'Roboto', sans-serif;
  --font-family-en-2: 'Arial', sans-serif;
  --font-family-en-3: 'Oswald', sans-serif;
  --font-family-M: 'メイリオ', Meiryo, 'ヒラギノ角ゴシック', 'Hiragino Sans', sans-serif;
  --font-family-J: 'Noto Sans JP', sans-serif;
  --red: #F80000;
  --orange: #FF8000;
  --blue: #39A1DD;
  --black: #000;
}


/* ミディアムデバイス (タブレット) のスタイル */
@media (max-width: 1024px) {

  .header {
    width: 100%;
    height: 80px;
    background: rgb(213, 238, 245);
    background: linear-gradient(180deg, rgba(213, 238, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    padding-top: 18px;
  }

  h3 {
    width: 100%;
    height: 44px;
    background: url("../images/h3_meikan.png") no-repeat center center;
    background-size: contain;
  }

  .contents {
    width: 400px;
    position: relative;
    padding-bottom: 40px;
  }

  #oka_wrapper {
    width: 400px;
    margin: 0 auto;
    padding-bottom: 40px;
  }

  #oka_select {
    width: 100%;
    padding: 10px 10px 0px 10px;
    background: #E6E6E6;
  }


  #oka_select li {
    width: 118px;
    height: 75px;
    cursor: pointer;
    display: inline-block;
    margin: 0 0 10px 10px;
    transition: 0.3s all;
    text-align: center;
    font-family: var(--font-family-J);
    font-weight: 700;
    font-size: 18px;
    line-height: 108px;
    float: left;
  }

  #oka_select li:nth-child(3n+1) {
    margin: 0 0 10px 0px;
  }

  #oka_select li span {
    font-family: var(--font-family-en-2);
    font-weight: 700;
    font-size: 28px;
  }


  #oka_select li:nth-child(1) {
    background: url("../images/oka_ra01_2.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(2) {
    background: url("../images/oka_ra02.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(3) {
    background: url("../images/oka_ra03.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(4) {
    background: url("../images/oka_ra04.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(5) {
    background: url("../images/oka_ra05.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(6) {
    background: url("../images/oka_ra06.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(7) {
    background: url("../images/oka_ra07.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(8) {
    background: url("../images/oka_ra08.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(9) {
    background: url("../images/oka_ra09_2.png") no-repeat center bottom;
    background-size: 100%;
  }


  #oka_select li:nth-child(1).active {
    background: url("../images/oka_ra01_2.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(2).active {
    background: url("../images/oka_ra02.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(3).active {
    background: url("../images/oka_ra03.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(4).active {
    background: url("../images/oka_ra04.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(5).active {
    background: url("../images/oka_ra05.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(6).active {
    background: url("../images/oka_ra06.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(7).active {
    background: url("../images/oka_ra07.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(8).active {
    background: url("../images/oka_ra08.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(9).active {
    background: url("../images/oka_ra09_2.png") no-repeat center top;
    background-size: 100%;
  }


  .news_btn a{
    background: #03A2A3;
    display: block;
    width: 100%;
    text-decoration: none;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    font-size: 24px;
    line-height: 60px;
    position: relative;
  }
  .news_btn a span{
    font-size: 14px;
    position: absolute;
    right: 20px;
  }

  #oka_racers {
    /* width: 1642px; */
    width: 100%;
    margin: 20px auto;
  }

  #oka_racers li {
    display: none;
    /* 初期は非表示 */
    width: 185px;
    height: 360px;
    position: relative;
    float: left;
    margin-left: 10px;
    margin-bottom: 10px;
  }

  #oka_racers a li {
    color: #000;
    text-align: center;
    font-family: var(--font-family-J);
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
  }

  #oka_racers a li span {
    font-family: var(--font-family-en-2);
    font-weight: 400;
    font-size: 22px;
  }

  #oka_racers li img {
    width: 185px;
    height: 262px;
    object-fit: cover;
    margin-top: 10px;
    margin-bottom: 2px;
  }

  #oka_racers li.active {
    display: block;
    /* アクティブな要素だけ表示 */
  }

  #oka_racers li.oka_a1 {
    background: url(../images/oka_pr01.png) center top no-repeat #C30D9A;
    background-size: 50%;
  }

  #oka_racers li.oka_a2 {
    background: url(../images/oka_pr01.png) center top no-repeat #774CED;
    background-size: 50%;
  }

  #oka_racers li.oka_b1 {
    background: url(../images/oka_pr01.png) center top no-repeat #177DC4;
    background-size: 50%;
  }

  #oka_racers li.oka_b2 {
    background: url(../images/oka_pr01.png) center top no-repeat #41AF6B;
    background-size: 50%;
  }

  .grade {
    width: 106px;
    height: 32px;
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 244px;
  }

  #oka_racers li.oka_a1 .grade {
    background: url(../images/oka_pr_a1.png) left top no-repeat;
    background-size: 100%;
  }

  #oka_racers li.oka_a2 .grade {
    background: url(../images/oka_pr_a2.png) left top no-repeat;
    background-size: 100%;
  }

  #oka_racers li.oka_b1 .grade {
    background: url(../images/oka_pr_b1.png) left top no-repeat;
    background-size: 100%;
  }

  #oka_racers li.oka_b2 .grade {
    background: url(../images/oka_pr_b2.png) left top no-repeat;
    background-size: 100%;
  }

  .like_btn {
    width: 50px;
    height: 50px;
    position: absolute;
    z-index: 2;
    right: 10px;
    top: 244px;
    background: url(../images/oka_pr_like.png) left top no-repeat;
    background-size: 100%;
  }

  #oka_racers li.oka_like .like_btn {
    background: url("../images/oka_pr_like_on.png") left top no-repeat;
    background-size: 100%;
  }

  .profiles {
    background: #eaeaea;
    height: 70px;

  }

  .reads {
    width: 400px;
    line-height: 140%;
    padding: 10px 0px;
    background: #D1D1D1;
    position: relative;
  }

  .reads .r01 {
    width: 100%;
    padding-left: 10px;
    font-size: 16px;
    text-align: left;
  }

  .reads .r02 {
    width: 100%;
    padding-left: 60px;
    font-size: 16px;
    text-align: left;
    position: relative;
  }

  .reads .r02 img {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 6px;
    left: 20px;
  }

  .reads .r03 {
    display: none;
  }

  .reads .r04 {
    display: none;
  }

  #cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: none;
    text-indent: -9999px;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0px;
    right: 0px;
    background: url("../images/close.png") no-repeat center center #FFF;
    background-size: 100%;
  }


}

/* ラージデバイス (デスクトップ) のスタイル */
@media (min-width: 1025px) {
  .contents {
    width: 94.8%;
    padding-bottom: 40px;
  }

  .header {
    width: 100%;
    height: 110px;
    background: rgb(213, 238, 245);
    background: linear-gradient(180deg, rgba(213, 238, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
  }

  h3 {
    width: 100%;
    height: 110px;
    background: url("../images/h3_meikan.png") no-repeat center center;
    background-size: 422px 57px;
  }

  #oka_wrapper {
    width: 1700px;
    margin: 0 auto;
    padding-bottom: 40px;
  }



  #oka_select {
    width: 100%;
    padding: 10px 20px;
    background: #E6E6E6;
  }


  #oka_select li {
    width: 156px;
    height: 100px;
    cursor: pointer;
    display: inline-block;
    margin: 0 0 0 14px;
    transition: 0.3s all;
    text-align: center;
    font-family: var(--font-family-J);
    font-weight: 700;
    font-size: 18px;
    line-height: 144px;
    float: left;
  }

  #oka_select li span {
    font-family: var(--font-family-en-2);
    font-weight: 700;
    font-size: 34px;
  }

  #oka_select li#oka_all {
    width: 200px;
  }

  #oka_select li#oka_like {
    width: 224px;
  }

  #oka_select li:nth-child(1) {
    background: url("../images/oka_ra01.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(2) {
    background: url("../images/oka_ra02.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(3) {
    background: url("../images/oka_ra03.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(4) {
    background: url("../images/oka_ra04.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(5) {
    background: url("../images/oka_ra05.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(6) {
    background: url("../images/oka_ra06.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(7) {
    background: url("../images/oka_ra07.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(8) {
    background: url("../images/oka_ra08.png") no-repeat center bottom;
    background-size: 100%;
  }

  #oka_select li:nth-child(9) {
    background: url("../images/oka_ra09.png") no-repeat center bottom;
    background-size: 100%;
  }


  #oka_select li:nth-child(1).active {
    background: url("../images/oka_ra01.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(2).active {
    background: url("../images/oka_ra02.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(3).active {
    background: url("../images/oka_ra03.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(4).active {
    background: url("../images/oka_ra04.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(5).active {
    background: url("../images/oka_ra05.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(6).active {
    background: url("../images/oka_ra06.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(7).active {
    background: url("../images/oka_ra07.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(8).active {
    background: url("../images/oka_ra08.png") no-repeat center top;
    background-size: 100%;
  }

  #oka_select li:nth-child(9).active {
    background: url("../images/oka_ra09.png") no-repeat center top;
    background-size: 100%;
  }

  .news_btn{width: 100%;position: relative; top: -220px; height: 0; display: flex; justify-content: right;}
  .news_btn a{
    background: #03A2A3;
    z-index: 1;
    display: block;
    width: 220px;
    text-decoration: none;
    text-align: center;
    color: #FFF;
    height: 50px;
    font-weight: bold;
    font-size: 20px;
    line-height: 50px;
    text-indent: -15px;
    margin-right: 40px;
    position: relative;
    clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
  }
  .news_btn a span{
    font-size: 14px;
    position: absolute;
    right: 20px;
  }

  #oka_racers {
    width: 1642px;
    margin: 40px auto 0px;
  }

  #oka_racers li {
    display: none;
    /* 初期は非表示 */
    width: 194px;
    height: 370px;
    position: relative;
    float: left;
    margin-left: 10px;
    margin-bottom: 10px;
  }

  #oka_racers a li {
    color: #000;
    text-align: center;
    font-family: var(--font-family-J);
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
  }

  #oka_racers a li span {
    font-family: var(--font-family-en-2);
    font-weight: 400;
    font-size: 22px;
  }

  #oka_racers li img {
    width: 194px;
    height: 275px;
    object-fit: cover;
    margin-top: 10px;
    margin-bottom: 2px;
  }

  #oka_racers li.active {
    display: block;
    /* アクティブな要素だけ表示 */
  }

  #oka_racers li.oka_a1 {
    background: url(../images/oka_pr01.png) center top no-repeat #C30D9A;
    background-size: 50%;
  }

  #oka_racers li.oka_a2 {
    background: url(../images/oka_pr01.png) center top no-repeat #774CED;
    background-size: 50%;
  }

  #oka_racers li.oka_b1 {
    background: url(../images/oka_pr01.png) center top no-repeat #177DC4;
    background-size: 50%;
  }

  #oka_racers li.oka_b2 {
    background: url(../images/oka_pr01.png) center top no-repeat #41AF6B;
    background-size: 50%;
  }

  .grade {
    width: 106px;
    height: 32px;
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 255px;
  }

  #oka_racers li.oka_a1 .grade {
    background: url(../images/oka_pr_a1.png) left top no-repeat;
    background-size: 100%;
  }

  #oka_racers li.oka_a2 .grade {
    background: url(../images/oka_pr_a2.png) left top no-repeat;
    background-size: 100%;
  }

  #oka_racers li.oka_b1 .grade {
    background: url(../images/oka_pr_b1.png) left top no-repeat;
    background-size: 100%;
  }

  #oka_racers li.oka_b2 .grade {
    background: url(../images/oka_pr_b2.png) left top no-repeat;
    background-size: 100%;
  }

  .like_btn {
    width: 42px;
    height: 42px;
    position: absolute;
    z-index: 2;
    right: 10px;
    top: 264px;
    background: url(../images/oka_pr_like.png) left top no-repeat;
    background-size: 100%;
  }

  #oka_racers li.oka_like .like_btn {
    background: url("../images/oka_pr_like_on.png") left top no-repeat;
    background-size: 100%;
  }

  .profiles {
    background: #eaeaea;
    height: 70px;

  }

  .reads {
    width: 1700px;
    height: 34px;
    background: #D1D1D1;
    position: relative;
  }

  .reads .r01 {
    width: 50%;
    float: left;
    padding-left: 30px;
    font-size: 16px;
    line-height: 33px;
    text-align: left;
  }

  .reads .r02 {
    width: 50%;
    float: left;
    padding-right: 30px;
    font-size: 16px;
    line-height: 33px;
    text-align: right;
    position: relative;
  }

  .reads .r02 img {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 5px;
    left: 320px;
  }

  .reads .r03 {
    width: 20px;
    height: 34px;
    position: absolute;
    top: 0px;
    left: -1px;
    background: url("../images/oka_read03.png") left top no-repeat;
    background-size: 100%;
  }

  .reads .r04 {
    width: 20px;
    height: 34px;
    position: absolute;
    top: 0px;
    right: -1px;
    background: url("../images/oka_read04.png") left top no-repeat;
    background-size: 100%;
  }

  #cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: none;
    text-indent: -9999px;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0px;
    right: 0px;
  }


  #cboxClose {
    background: url("../images/close.png") no-repeat center center;
    background-size: 100%;
  }


}