@charset "UTF-8";
/* CSS Document */

@media screen and ( max-width:767px) {



.sp_table_txt {
  display: block;
  width: 74%;
  margin: 0 auto 15px;
}

.sp_table_txt img {
  display: block;
  width: 100%;
}


/*-----------
top
-----------*/

#main_visual {
  background: none;
}

#main_visual_inner {
  margin: 0 auto;
}

#main_visual_inner .logo_dirtgrade {
  position: absolute;
  top: 0;
  left: 8.1%;
  padding-top: 2.8%;
  width: 13.2%;
  z-index: 1;
}

#main_visual .js-screenFit {
  width: auto !important;
  height: auto !important;
}

#main_visual_inner h1 {
  display: block;
}

#main_visual_inner h1 img {
  width: 100%;
}



/*----top_nav----*/

#top_nav{
  background: url("../img/top_nav_sp_bg.png") center top repeat-y;
  background-size: 100% auto;
}

#top_nav ul{
  width: 100%;
  margin: 0;
  padding: 2% 2% 0;
  box-sizing: border-box;
}

#top_nav li:nth-child(odd) {
  width: 49%;
  margin-right: 1%;
  margin-bottom: 2%;
}

#top_nav li:nth-child(even) {
  width: 49%;
  margin-left: 1%;
  margin-right: 0;
  margin-bottom: 2%;
}

#top_nav li:last-child{
  width: 49%;
}

#top_nav li .nav_icon{
  position: absolute;
  width: 30%;
  height: auto;
  left: -1.8%;
  top: -10%;
}



/* ---- table ---- */

#top_contents {
}

#top_contents h2{
  width: 68.21%;
  height: auto;
  padding-bottom: 0;
  margin: 0 auto;
}

#top_contents #special_column h2{
  width: 92%;
}

#top_contents h2 img{
  width: 100%;
  height: auto;
}


/*----news----*/

#news{
  width: 100%;
  padding: 12% 0 16%;
  margin: 0;
}

#news ul{
  width: 100%;
  padding: 0 4%;
  margin: 10% 0;
  box-sizing: border-box;
}

#news ul li a{
  color: #000;
  position: relative;
  display: block;
  padding: 10px 18px 10px 8px;
}

#news ul li a:after {
  right: 7px;
}

#news a .date{
 display: block;
 width: 100%;
 position: relative;
 left: 0;
}


/*----profile----*/

#profile{
  padding: 12% 0 0;
}

#profile h3{
  width: 70%;
  height: auto;
  margin:0 auto 5%;
}

#profile h3 img{
  width: 100%;
  height: auto;
}

.profile_about{
  width: 100%;
  margin: 10% 0 0;
  display: block;
}

#ml{
  width: 100%;
  padding-bottom: 14%;
}

#ml dl {
  width: 92%;
  margin: 0 4%;
  font-size: 14px;
}

#ml dt{
  width: calc(30% - 2px);
  margin: 0 2px 2px 0;
}

#ml dd{
  width: 70%;
  padding: 15px 10px 15px 15px;
  margin: 0 0 2px 0;
}

#ml dd.txt_l{
  width: 70%;
}

#ml dd.txt_c{
  width: 70%;
  padding: 15px 10px 15px 15px;
}

#pedigree{
  width: 100%;
  padding-bottom: 14%;
}

#pedigree table {
  width: 92%;
  margin: 0 4%;
}

#pedigree table td.w180px{
  width: 50%;
}

#five_generation {
  width: 100%;
  margin: 0 auto 14%;
}



/*----stakes----*/

#stakes {
  width: 100%;
  margin: 0;
  padding: 0 0 16%;
}

#top_contents .table_wrap {
  width: 92%;
  margin: 0 4%;
  overflow-x: auto;
}

#top_contents .table_wrap table {
  width: 1000px;
}

#top_contents .table_wrap table th,
#top_contents .table_wrap table td {
  padding: 6px 10px;
}

.txt_note{
  padding: 10px 4% 0;
}


/*----bg_purple----*/

.bg_purple {
  padding: 6% 0 0;
  background: url("../img/top_nav_sp_bg.png") center top repeat-y;
  background-size: 100% auto;
}

 ul#bnr_area {
  width: 92%;
}

 ul#bnr_area li {
  width: 100%;
  margin-top: -10%;
  padding-top: 14%
}

 ul#bnr_area li .bnr_icon{
  position: absolute;
  width: 22%;
  height: auto;
  left: -1.8%;
  top: 29%;
}

#special_column{
  width: 100%;
  padding: 14% 0 10%;
  margin: 0;
}

#special_column ul{
  width: 92%;
  margin: 6% 4% 0 4%;
}

#special_column ul li{
  margin: 0 0 10px;
}

#special_column ul li .sc_icon{
  position: absolute;
  width: 22%;
  height: auto;
  left: -1.8%;
  top: -13%;
}



/*----comment----*/

#comment{
  width: 100%;
  padding: 12% 0 8%;
  margin: 0;
}


#comment .movie {
  width: 100%;
  margin: 0;
  padding: 10% 4% 0;
  box-sizing: border-box;
}

video {
  width: 100%;
}



}
