@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/*過去*/
.blue {
  color:blue;
  font-weight: bold;
}
.underline {
    color: black;
    text-decoration: none;
    border-bottom: dotted 2px blue;
  }
.attention-text {
  font-weight: bold;
  background-color: #fff3b8;
}
ul.list, ol.list {
  font-size:16px;
  margin:10px;
  background: #fffcf4;
  border-radius :8px;/*角の丸み*/
  box-shadow :0px 0px 5px silver;/*5px=影の広がり具合*/
  padding: 0.5em 0.5em 0.5em 2em;
}
ul.list li, ol.list li {
  line-height: 1.5;
  padding: 0.5em 0;
}






/*BASIC*/
a {
text-decoration: none;
}

a:hover {
opacity: 0.7;
}
.bold {
  font-weight: bold;
}
.red {
  font-weight: bold;
  color: red;
}
.center{
  text-align: center;
}
.right{
  text-align: right;
}
.left{
  text-align: left;
}
p.text{
  margin-bottom: 5px;
}
li {
list-style-type: none;
}
.article ul li, .article ol li {
    margin-left: 0;
}

hr {
  border-top: 1px dotted #999;
  border-right: none;
  border-bottom: none;
  border-left: none;
  margin : 0 ;
}

div.button-link {
  text-align: center;
}

div.button-link a {
  position: relative;
  display: inline-block;
  width: 80%;
  background: #eb6100;
  margin: 0;
  padding: 6px 10px;
  color: #fff;
  border-radius: 5px;
  border-bottom: 5px solid #b84c00;

}
div.button-link a:hover {
  margin-top: 3px;
  color: #fff;
  background: #eb6100;
  border-bottom: 2px solid #b84c00;
}

/*heading*/
.article h2{
  background: none;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  padding: 0;
}
.article h3{
  border-top:none;
  border-bottom:none;
  border-left:none;
  border-right:none;
  padding: 0;
}

.article h1{
  margin-bottom: 30px;
  padding: 8px 6px 8px 6px;
  border-bottom:2px solid #ccc;
  border-left:4px solid #e3297d;
}

.article h2 , h2.main-widget-label , div.sub-heading , .custom-html-widget h2 {
  margin: 0 0 25px 0;
  padding: 6px 6px 6px 8px;
  font-weight: bold;
  line-height: 1.5;
  background: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#efefef));
  border-top:1px solid #dbdbdb;
  border-bottom:1px solid #dbdbdb;
  border-left: 5px solid #0050c5;
  border-right:1px solid #dbdbdb;
}
h2.sub-heading , h2.widget-title ,div.sub-heading {
  margin: 0 0 5px 0;
}
.article h3 {
  border-bottom: solid 3px #cce4ff;
  margin-bottom: 1em;
  padding-left: 1.2em;/*アイコン分のスペース*/
  line-height: 1.4;
  position: relative;
}

.article h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  left: 0px;
  width: 50%;
}

.article h3:before {
  font-family: "Font Awesome 6 Free";
  content: "\f00c";/*アイコンのユニコード*/
  font-weight: 900;
  position: absolute;/*絶対位置*/
  font-size: 1em;/*サイズ*/
  left: 0;/*アイコンの位置*/
  top: 0;/*アイコンの位置*/
  color: #5ab9ff; /*アイコン色*/
}

/*TOP*/
.main-rim p.course {
  width:80px;
  color:#fff;
  text-align:center;
  font-weight:bold;
  clear:both;
  padding:6px 0;
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;
  /*IE_PIE6-8.htc-->ie.css*/
  position:relative;/*IE_PIE6-8*/
}
.main-rim p.turf {
  background:url(https://keiba-course.com/wp/wp-content/themes/course-navi-sp/images/bg_turf.gif) bottom;
  padding:1px;
  margin:3px;
}
.main-rim p.dirt {
  background:url(https://keiba-course.com/wp/wp-content/themes/course-navi-sp/images/bg_dirt.gif) bottom;
  padding:1px;
  margin:10px 0 3px;
}

.main-rim ul.flex{
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.main-rim ul.flex li {
  padding: 0;
  margin: 0;
}

.main-rim ul.flex li a {
  display: block;
  text-align:center;
  width:80px;
  font-size:14px;
  padding:8px 0;
  margin: 1px;
  border: solid 1px #479e39;
  background-color:#f3ffef;
}
.main-rim ul.flex li a:hover {
  background-color:#e0f1ff;
}

/*  COURSE-DATA  */
.graderace-table td:nth-child(1) {
  text-align: right;
  padding-right: 0.4em;
}
.graderace-table td:nth-child(3) {
  text-align: center;
}
.graderace-table td:nth-child(4) {
  text-align: center;
}
.graderace-table td:nth-child(5) {
  text-align: center;
}

.course-data td:nth-child(1) {
  font-weight: bold;
}
.course-data td:nth-child(3), .race-data td:nth-child(3) {
  text-align: right;
}
.course-data td:nth-child(4), .race-data td:nth-child(4) {
  text-align: right;
}
.course-data td:nth-child(5), .race-data td:nth-child(5) {
  text-align: right;
}
.remarks {
  font-size: 0.8em;
  text-align: right;
}

/* GRADE-RACE */
p.data-result {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 0.6em;
}
.recommend-level {
  font-weight: bold;
  font-size: 1.4em;
  color: red;
}
.recommend-assess td:nth-child(2) {
  text-align: center;
}
ul.data-list, ol.data-list {
  border-radius :8px;/*角の丸み*/
  box-shadow :0px 0px 5px silver;/*5px=影の広がり具合*/
  padding: 0.5em 0.5em 0.5em 2em;
}
ul.data-list li, ol.data-list li {
  line-height: 1.5;
  padding: 0.2em 0;
}
ul.recommend-horse {
  background: #FFF4F4;
  width: fit-content;
  padding-right: 36px;
}
ul.erase-horse {
  background: #edf4f9;
  width: fit-content;
  padding-right: 36px;
}


/* RANKING */

ul.hit-ranking {
  margin-bottom: 15px;
  padding-left: 0;
  background-color: #fff;
}
.hit-ranking dl {
  margin : 0px;
  padding : 0px;
  overflow: hidden;
}
.hit-ranking dd {
  float: left;
  margin: 0 5px 0 0;
  padding : 0px;
  height: 50px;
  width: 50px;
}
.hit-ranking dt {
  display:table-cell;
  vertical-align:middle;
}
.hit-ranking img {
  height: 50px;
  width: 50px;
}
.hit-ranking li {
  position:relative;
  margin-left: 0 ;
  padding: 1px 0;
  border-bottom: 1px dotted #cccccc ;
  list-style-type: none;
}
.hit-ranking li a:after{
  font-family: "Font Awesome 6 Free";
  content: "\f054";/*アイコンのユニコード*/
  font-weight: 900;
  position: absolute;/*絶対位置*/
  font-size: 1em;/*サイズ*/
  right: 10px;/*アイコンの位置*/
  top: 38%;/*アイコンの位置*/
  color: #999; /*アイコン色*/
}
.hit-ranking li:first-child {
  border-top: 1px dotted #cccccc ;
}
.hit-ranking a {
  display: block;
  font-size: 11px;
  color: #666;
  padding: 0;
  text-decoration: none;
}
.hit-ranking div {
  font-size: 16px;
  color: #1111CC;
  font-weight: bold;
}
div.hit-price {
  font-size: 20px;
  font-weight: bold;
  color: #FF0000;
  padding: 0 15px 0 5px;
}

/*  ADSITE LIST  */

ul.content-list {
  padding-left: 0;
  background-color: #fff;
}
.content-list dl {
  margin : 0px;
  padding : 0px;
  overflow: hidden;
}

.content-list dd {
  float: left;
  margin: 0 5px 0 0;
  padding : 0px;
  height: 60px;
  width: 60px;
}

.content-list dt {
  height: 60px;
  display:table-cell;
  vertical-align:middle;
}

.content-list img {
  height: 60px;
  width: 60px;
}


.content-list li {
  position:relative;
  margin-left: 0 ;
  padding: 5px 0;
  border-bottom: 1px dotted #cccccc ;
  list-style-type: none;
}
.content-list li:first-child {
  border-top: 1px dotted #cccccc ;
}


.content-list a {
  display: block;
  color: #333;
  font-size:16px;
  font-weight:bold;
  padding: 0;
  text-decoration: none;
}
div.sub-text {
  color:#999;
  font-size:10px;
}

/* EXPECT RACE */

img.grade-icon {
  vertical-align: -0.2em;
}

.thisweek_race a {
font-size: 0.8em;
text-decoration: none;
}
.thisweek_race p {
  margin: 0;
  color : #333;
}

.thisweek_race_name {
  font-weight: bold;
  font-size: 1.4em;
  color : #1111cc;
}

.sunday {
  font-weight: bold;
  color : #e60000;
}

.saturday {
  font-weight: bold;
  color : #006cff;
}

.list_bar {
  border-top: 1px dotted #999;
  border-right: none;
  border-bottom: none;
  border-left: none;
  margin : 0 ;
}
p.ad-text {
  margin-bottom: 5px;
}

/*835px以上*/
@media screen and (min-width: 835px){
  /*必要ならばここにコードを書く*/
table th, table td {
	font-size:16px;
	padding: 1px;
}
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	#navi .navi-in > .menu-mobile li {
    width: 16.6%;
    height: 35px;
    line-height: 35px;
	}	
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
/* feature */
table.course-feature td  {
	font-size:16px;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	#navi .navi-in > .menu-mobile li {
    width: 20%;
    height: 35px;
    line-height: 35px;
	}	
}
