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

*  {
	margin: 0;
	padding: 0;
}
h1,h2,h3,h4,h5,h6,p,address{
	font-size: 1.0em; 
	font-weight: normal;
	font-style : normal;
	line-height: 1.1em;
	letter-spacing: 0.1em;
	word-break: break-all;
	overflow: hidden;
}
body{
	background: #666666;
	margin: 0px; 
	padding: 0px;
	width: 100%;
	/* ie5 center */
	text-align: center; 
	color: #000000;
	font-family: Osaka, "ＭＳ　Ｐゴシック", sans-serif;
	font-size: 1.0em;
}
body a:active{
	color: #ff6633;
}
body a:hover{
	color: #ff6633;
}
#WrapAll{
	/* width: 950px; */
	width: 95%;
	max-width: 950px;
	background: #FFFFFF;
	border: 1px solid #000000;
	text-align: left;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
#Header{
	min-height: 0;
}
@media (max-width: 360px) {
	#HeaderImg {
		margin: 10px;
		text-align: center;
	}
	#HeaderImg img{
		width: 200px;
		height: 150px;
	}
}
@media (min-width: 361px) and (max-width: 461px) {
	#HeaderImg {
		margin: 10px;
		text-align: center;
	}
	#HeaderImg img{
		width: 300px;
		height: 225px;
	}
}
@media (min-width: 461px) and (max-width: 601px) {
	#HeaderImg {
		margin: 10px;
		text-align: center;
	}
	#HeaderImg img{
		width: 400px;
		height: 300px;
	}
}
@media (min-width: 601px) {
	#HeaderImg{
		float: left;
	}
	#HeaderImg img{
		width: 200px;
		height: 150px;
	}
}
@media (max-width: 390px) {
	#Header p{
		padding: 10px 5px;
		line-height: 1.4;
		font-size: 90%;
		text-align: center;
	}
	#Header h1{
		padding: 10px 5px;
		line-height: 1.4;
		font-size: 170%;
		font-weight: bold;
		text-align: center;
	}
	#Header h2{
		padding: 15px 5px;
		line-height: 1.4;
		font-size: 90%;
		text-align: center;
	}
}
@media (min-width: 391px) and (max-width: 601px) {
	#Header p{
		padding: 10px 5px;
		line-height: 1.4;
		font-size: 110%;
		text-align: center;
	}
	#Header h1{
		padding: 10px 5px;
		line-height: 1.4;
		font-size: 200%;
		font-weight: bold;
		text-align: center;
	}
	#Header h2{
		padding: 15px 5px;
		line-height: 1.4;
		font-size: 110%;
		text-align: center;
	}
}

@media (min-width: 601px) and (max-width: 680px) {
	#Header p{
		padding-left: 20px;
		padding-top: 30px;
		line-height: 20px;
		font-size: 90%;
	}
	#Header h1{
		padding-left: 20px;
		line-height: 60px;
		font-size: 200%;
	}
	#Header h2{
		padding-left: 20px;
		line-height: 20px;
		font-size: 90%;
	}

}

@media (min-width: 680px) {
	#Header p{
		padding-left: 20px;
		padding-top: 30px;
		line-height: 20px;
		font-size: 110%;
	}
	#Header h1{
		padding-left: 20px;
		line-height: 60px;
		font-size: 250%;
	}
	#Header h2{
		padding-left: 20px;
		line-height: 20px;
		font-size: 110%;
	}
}
#HeaderText:after{
	content: ".";
	display: block;
	visibility: hidden;
	height: 0.1px;
	font-size: 0.1em;
	line-height: 0;
	clear: both;
}
.Twitter {
	text-align: center;
}

.ContensBox{
	min-height: 0;
}
.Middle{
	vertical-align: middle;
}
@media (max-width: 600px) {
	.Midashi{
		padding: 0 0 0 10px;
		font-size: 110%;
		line-height: 36px;
		background-image: url("../img/midashi.png");
		color: #fff;
	}
}
@media (min-width: 601px) {
	.Midashi{
		margin-top: 10px;
		padding: 0 0 0 10px;
		font-size: 110%;
		font-weight: bold;
		line-height: 36px;
		background-image: url("../img/midashi.png");
		color: #fff;
	}
}
@media (max-width: 600px) {
	.DetailImg{
		display: block;
		width:100%;
	}
	.DetailImg img {
		width:100%;
	}
	.Detail{
		display: block;
		width:100%;
	}
}
@media (min-width: 601px) {
	.DetailImg{
		float: left;
	}
	.DetailImg img {
		width:300px;
	}
}
@media (max-width: 600px) {
	.Detail p{
		padding: 10px;
		font-size: 80%;
		line-height: 1.3;
	}
}
@media (min-width: 601px) {
	.Detail p{
		padding: 10px;
		font-size: 100%;
		line-height: 1.3;
	}
}

.Detail:after{
	content: ".";
	display: block;
	visibility: hidden;
	height: 0.1px;
	font-size: 0.1em;
	line-height: 0;
	clear: both;
}

#Footer{
	margin: 0px;
	padding: 1em 0em;
	background-color: #00cc33;
	text-align: center;
}
#Footer p{
	font-size: 0.9em; 
	margin: 0px;
	padding: 0.2em 0em;
	text-align: center;
}

.adsence {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.ad {
    display: inline;
}
.adimg{
    border:1px solid;
    padding:6px 0px;
    width:300px;height:
    230px;display:inline;
    float:left;
    vertical-align:baseline
}
.adContents{
    border:1px solid;
    margin:0px;
    padding:6px 0px;
    width:160px;
    height:230px;
    text-align:center;
    float:left
}
.ad:after{
	content: ".";
	display: block;
	visibility: hidden;
	height: 0.1px;
	font-size: 0.1em;
	line-height: 0;
	clear: both;
}
@media (max-width: 509px) {
	.ad_0_509 {
		margin: 5px auto;
		text-align: center;
	}
	.ad_509_649 {
		display: none;
	}
	.ad_650_950 {
		display: none;
	}
}
@media (min-width: 510px) and (max-width: 649px) {
	.ad_0_509 {
		display: none;
	}
	.ad_509_649 {
		margin: 5px auto;
		text-align: center;
	}
	.ad_650_950 {
		display: none;
	}
}
@media (min-width: 650px) {
	.ad_0_509 {
		display: none;
	}
	.ad_509_649 {
		display: none;
	}
	.ad_650_950 {
		margin: 5px auto;
		text-align: center;
	}
}
.NextPage {
	margin: 0px auto; 
	padding: 0px;
	width: 100%;
	/* ie5 center */
	text-align: center;
	font-size: 30px;
}
.NextPage img {
    margin: 5px 0px;
    width: 60px;
    border: 0px;
    vertical-align:middle;
}
.dvdkaitori {
	max-width: 728px;
}

/* *********************************
*********************************** */
.DataTable {
	margin: 5px;
}
.DataTable table{
  width: 100%;
  border-collapse:separate;
  border-spacing: 0;
}

.DataTable table th:first-child{
  border-radius: 5px 0 0 0;
}

.DataTable table th:last-child{
  border-radius: 0 5px 0 0;
  border-right: 1px solid #3c6690;
}

.DataTable table th{
  text-align: center;
  color:white;
  background: linear-gradient(#829ebc,#225588);
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  padding: 5px 0;
}

.DataTable table td{
  text-align: center;
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  padding: 5px 0;
}

.DataTable table td:last-child{
  border-right: 1px solid #a8b7c5;
}

.DataTable table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

.DataTable table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}
@media (max-width: 320px) {
	.DataTable th {
		font-size: 80%;
	}
	.DataTable td {
		font-size: 80%;
	}
}
@media (min-width: 321px) and (max-width: 420px) {
	.DataTable th {
		font-size: 90%;
	}
	.DataTable td {
		font-size: 90%;
	}
}
@media (min-width: 321px) and (max-width: 768px) {
	.DataTable th {
		font-size: 100%;
	}
	.DataTable td {
		font-size: 100%;
	}
}
@media (min-width: 769px) {
	.DataTable th {
		font-size: 100%;
	}
	.DataTable td {
		font-size: 100%;
	}
}


/*****************************
  開催情報ページ
********************************/
.KaisaiTable {
	margin: 15px 0px;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
.KaisaiTable tr {
	height: 37px;
}

.KaisaiRaceNo{
	width: 19%;
	border: 1px solid #666;
	text-align: center;
	color: #660066;
	background-color: #CC9900;
}
.KaisaiTitle {
}
.KaisaiTitle1 {
	color: #FFFF99;
	background-color: #965042;
}
.KaisaiTitle2 {
	color: #CCFFCC;
	background-color: #429650;
}
.KaisaiTitle3 {
	color: #CCFFFF;
	background-color: #428896;
}
.KaisaiTime {
	width: 27%;
	border: 1px solid #666;
	text-align: center;
}


