/*番組表*/
.live {
	color: #ffffff;
	border: 1px solid #BF1E2E;
	background-color: #BF1E2E;
	padding: 1px 0px 1px 2px;
	margin: 3px 0px 3px 0px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	text-align: center;
	font-size: 90%;
	background: -webkit-gradient(linear, left top, left bottom,from(#CC0052), color-stop(0.5,#CC0031), color-stop(0.5,#990031), to(#960012));
	background: linear-gradient(to bottom, #cc0052, #960012);
}
.live1 {
	color: #ffffff;
	border: 1px solid #BF1E2E;
	background-color: #BF1E2E;
	padding: 1px 0px 1px 0px;
	margin: 3px 0px 3px 1px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	text-align: center;
	font-size: 50%;
	background: -webkit-gradient(linear, left top, left bottom,from(#CC0052), color-stop(0.5,#CC0031), color-stop(0.5,#990031), to(#960012));

}

.live2 {
	color: #ffffff;
	border: 1px solid #1e65bf;
	background-color: #1e65bf;
	padding: 1px 0px 1px 2px;
	margin: 3px 0px 3px 0px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	text-align: center;
	font-size: 90%;
	background: -webkit-gradient(linear, left top, left bottom,from(#09C), color-stop(0.5,#09C), color-stop(0.5,#069), to(#069));
	background: linear-gradient(to bottom, #0099cc, #006699);
}
.prize {
	color: #ffffff;
	border: 1px solid #B9BF1E;
	background-color: #BF1E2E;
	padding: 1px 0px 1px 2px;
	margin: 3px 0px 3px 0px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	text-align: center;
	font-size: 90%;
	background: -webkit-gradient(linear, left top, left bottom,from(#CC0052), color-stop(0.5,#CC0031), color-stop(0.5,#990031), to(#960012));
	background: linear-gradient(to bottom, #ffd700, #849600);
}
.ipat2 {
	color: #ffffff;
	border: 1px solid #51bb03;
	background-color: #BF1E2E;
	padding: 1px 0px 1px 2px;
	margin: 3px 0px 3px 0px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	text-align: center;
	font-size: 90%;
	background: -webkit-gradient(linear, left top, left bottom,from(#CC0052), color-stop(0.5,#CC0031), color-stop(0.5,#990031), to(#960012));
	background: linear-gradient(to bottom, #00cc18, #00960c);
}
p.future {
	color: #ffffff;
	border: 1px solid #1EBFBF;
	background-color: #BF1E2E;
	padding: 1px 0px 1px 2px;
	margin: 3px 0px 3px 0px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	text-align: center;
	font-size: 90%;
	background: -webkit-gradient(linear, left top, left bottom,from(#CC0052), color-stop(0.5,#CC0031), color-stop(0.5,#990031), to(#960012));
	background: linear-gradient(to bottom, #00BDD6, #00E0E0);
}

table tr td.nagoya {
    background-color: #FFE091;
}
table tr td.nagoya1 {
    background-color: #FF9394;
}
table tr td.kochi {
    background-color: #6FCCEE;
}
table tr td.kanazawa {
    background-color: #F5F8D5;
}
table tr td.bannei {
    background-color: #F8F88F;
}
table tr td.hokaido {
    background-color: #FFC793;
}
table tr td.kasamatu {
    background-color: #F8DF5D;
}
table tr td.daytime {
    padding: 1px 1px 1px 10px;
    width: 20%
}
table tr td.vtr1 {
    background-color: #F0FDFD;
}
table tr td.stop1 {
    background-color: #ffffff;
}

table tr td.cancel1 {
    background-color: #ccc;
}

p.time {
    color: #333;
}
p.time1 {
    color: #333;
}
p.time2 {
    color: #fff;
}
div.stop {
    text-align: center;
    padding: 3px 0 3px 0;
    color: #333;
}
div.cancel {
    text-align: center;
    padding: 3px 0 3px 0;
    color: #333;
    background-color : #ccc;
}

div.vtr {
    color: #0581aa;
    border: 1px solid #0581aa;
    text-align: center;
	padding: 1px 0 1px 0;
	margin: 3px 0 3px 0;
}
p.d {
    margin: 0 0 0 0;
}


/*縦書き*/
#tate {
    overflow:hidden;
    padding: 0 0.5em;
    position:relative;
    color: #333;
    text-align: center;
    margin: 3px 0 3px 0;
}
table tr td.nago {
    background-color: #EB9E79;
}


/*カラムエリア*/
div#no1 {
    /*影を入れる*/
    margin-left: 0;

	/* margin: 20px; */
	padding: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border: 1px;
	border-style: solid;
	border-color: #51bb03;
	background-color: #ffffff;
}
div#no2 {
    /*影を入れる*/
    margin-bottom: 3%;
    margin-left: 0;
	background-color: #ffffff;
	/* margin: 20px; */
	padding: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border: 1px;
	border-style: solid;
	border-color: #51bb03;
	max-width: 100%;
}
div#no3 {
    /*影を入れる*/
    margin-left: 0;
	background-color: #ffffff;
	/* margin: 20px; */
	padding: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border: 1px;
	border-style: solid;
	border-color: #51bb03;
}
div#no1 h4, div#no2 h4, div#no3 h4 {
    text-align: center;
}
div#no1 table.701table {
    padding: 10px 10px 10px 10px;
}
div#no1 table.701table tr td {
    padding: 10px 10px 10px 10px;
}


div#no3 div.no3_1 {
    padding: 5px 10px 10px 10px;
    padding-bottom: 5px;

}
div#no3 div.no3_1 div.news {
    overflow-y: scroll;
    height: 340px;
}
div#no2 div.no2_1 {
    padding: 5px 1px 10px 1px;
}
div#no2 div.no2_2 {
    padding: 5px 10px 10px 10px;
}
div#no2 div.no2_2 p.img01 {

    height: 100%;
}

div#no1 div.no1_1 {
    margin: 0 10px 20px 10px;
    font: normal 15px/24px Meiryo, sans-serif;
}
div#no1 div.no1_1 table tbody tr {
    margin: 0 0 0 0;
}
div#no1 div.no1_2 {
    font: normal 15px/24px Meiryo, sans-serif;
    margin: 0 10px 20px 10px;
}
div.dgr {
    color: #FFFFFF;
	background-color: #bf1e2e;
	padding: 0px 3px 0px 3px;
	border: 1px solid #bf1e2e;
	float: left;
	margin-right: 10px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	background: -webkit-gradient(linear, left top, left bottom,from(#CC0052), color-stop(0.5,#CC0031), color-stop(0.5,#990031), to(#960012));
}
div.ipat {
   color: #FFFFFF;
	background-color: #51bb03;
	padding: 0px 3px 0px 3px;
	border: 1px solid #51bb03;
	float: left;
	margin-right: 10px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	background: -webkit-gradient(linear, left top, left bottom,from(#00CC18), color-stop(0.5,#00CC21), color-stop(0.5,#1F9C00), to(#00960C));
	background: linear-gradient(to bottom, #00cc18, #00960c);
}
.ipat {
   color: #FFFFFF;
	background-color: #51bb03;
	padding: 0px 3px 0px 3px;
	border: 1px solid #51bb03;
	float: left;
	margin-right: 10px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	background: -webkit-gradient(linear, left top, left bottom,from(#00CC18), color-stop(0.5,#00CC21), color-stop(0.5,#1F9C00), to(#00960C));
	background: linear-gradient(to bottom, #00cc18, #00960c);
}
div.free {
    color: #0581aa;
    border: 1px solid;
    float: left;
}
div.free2 {
    color: #FFFFFF;
	background-color: #1e65bf;
	padding: 0px 3px 0px 3px;
	border: 1px solid #1e65bf;
	float: left;
	margin-right: 10px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	background-image: -webkit-gradient(linear, left top, left bottom,from(#09C), color-stop(0.5,#09C), color-stop(0.5,#069), to(#069));
	background: linear-gradient(to bottom, #0099cc, #006699);
}
div.nagokeiba {
    color: #EB9E79;
}
div.kanakeiba {
    color: #40a880;
}

/*バナー部分*/
div.banner1 {
    padding-top: 0px;
    margin-bottom: 70px;

}
div.banner4 {
	float: right;
    padding-top: 20px;

}

/*下層ページ*/
#content {
    background-color: #ffffff;
    padding-top: 20px;
}
a img.alignnone {
    border: 1px solid #51bb03;
}
/*問合せフォーム*/
p.formz {
    padding-left: 40px;
}/*フォント*/
div#no2 div.no2_1 p.font {
	padding-top: 10px;
	color: #333;
    font-size: 100%;
	line-height: 1.2;
	letter-spacing: 0.1em;
}
div#no2 div.no2_2 p.font {
    color: #333;
    font-size: 100%;
	line-height: 1.2;
	letter-spacing: 0.1em;
}
div#no3 div.no3_1 p.font {
	padding-top: 10px;
    color: #333;
    font-size: 100%;
	line-height: 1.2;
	letter-spacing: 0.1em;
}
div#no2 div.no2_1 h4 {
    color: #333;
	font-size: 85%;
	font-family: "メイリオ",Meiryo,"ＭＳ Ｐゴシック","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",sans-serif;
}
div#no2 div.no2_2 h4 {
    color: #333;
	font-size: 85%;
	font-family: "メイリオ",Meiryo,"ＭＳ Ｐゴシック","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",sans-serif;
}
div#no3 div.no3_1 h4 {
    color: #333;
	font-size: 85%;
	font-family: "メイリオ",Meiryo,"ＭＳ Ｐゴシック","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",sans-serif;
}
div#no1 h4 {
    color: #333;
	font-size: 85%;
	font-family: "メイリオ",Meiryo,"ＭＳ Ｐゴシック","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",sans-serif;
}
div#no0 h4 p.font {
	float: left;
	margin-top: 20px;
	padding-left: 0px;
    color: #51bb03;
	font-size: 85%;
	font-family: "メイリオ",Meiryo,"ＭＳ Ｐゴシック","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",sans-serif;
}
.sf-menu > li > a {
    font: normal 15px/20px Meiryo, sans-serif;
	color: #4c4848;
}
/*スペース*/
p.5 {
    margin: 0 0 80px 0;
}
#trust-form {
    width: 700px;
}

html {
	font-size:80%;
	-webkit-text-size-adjust:80%;
	-ms-text-size-adjust:80%;
}

body {
	margin:0;
	font-size:12px;
	color:#333;
	background-color:#fff;
    background:#ffffff;
	font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
}

body table {
    font-family: sans-serif;
}

.span6 {

}

hr {
	border:0;
	border-top:1px solid #51bb03;
	border-bottom:1px solid #fff;
}

table {
	width:100%;
	background-color:transparent;
	border-collapse:collapse;
	border-spacing:0;
	border: 1px ridge #cccccc;
	background-color: #ffffff;
	overflow-x: scroll;
}
table th {
    border: 1px solid #333333;
    color: #ffffff;
	background-color: #333333;
    height: 20px;
}
table th td {
    border: 1px solid #6EB92C;
}

.main-holder input[type="text"], .main-holder input[type="email"], .main-holder textarea {
	width: 80%;
}

p { margin:0 0 0 0; }

.header {
	height: auto !important;
}

/* .header:before {
   background:#fff;
   padding-top: 30px;
   display:block;
   width:100%;
   height:40px;
   overflow:hidden;
   position:absolute;
   left:0;
   bottom:0;
   content:'';
   background: url("http://keiba9.com/wp-content/uploads/2014/03/bar_sozai2.gif") repeat-x;
   } */

#bar-img {
  display:block;
  width:100%;
  background: url("img/bar_sozai2.gif") repeat-x;
  height:5px;
  margin-top:-20px;
  margin-bottom:20px;
}

@media screen and (max-width:767px) {
  #bar-img {
    margin-top:-130px;
  }
  .header {
	height: auto !important;
  }
}

@media screen and (max-width:576px) {
  #bar-img {
    margin-top:-170px;
  }
}

.header .logo {
  margin-right:15px !important;
}

.logo img {
  width:200px;
  /* height:70px; */
  margin-right:10px;
}

.header .nav__primary .sf-menu {
	float:left;
	margin:0 0 0 0;
}

.header .nav__primary .sf-menu ul {
	background:#4c4848 url(images/sub_menu.gif) repeat-x 0% 0%;
	width:250px;
	padding:26px 20px 18px 20px;
	z-index:98;
}

.header .nav__primary .sf-menu > li {
	background-color: #ffffff;
	margin:0 0 0 20px;
	padding:0 0 0 0;
	width: 134px;
	border: 1px solid #51bb03;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

.header .nav__primary .sf-menu > li:first-child {
	background: #ffffff;
	margin:0;
	padding:0;
}

.header .nav__primary .sf-menu > li > a {
	height:29px;
	margin:0 2px 0 0;
	padding:10px 7px 0 7px;
	border:none;
	text-transform:uppercase;
	text-decoration:none;
	z-index:99;
}

.header .nav__primary .sf-menu > li > a:before {
    background:none;
}

.header .nav__primary .sf-menu li:hover ul, .header .nav__primary .sf-menu li.sfHover ul {
	margin:0 0 0 -80px;
	top:39px;
	left:60%;
}

.header .nav__primary .sf-menu > li > a:hover, .header .nav__primary .sf-menu > li.sfHover> a, .header .nav__primary .sf-menu > li.current-menu-item > a, .header .nav__primary .sf-menu > li.current_page_item > a {
	background:#51bb03;
	color:#fff;
	width: 120px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background: -webkit-gradient(linear, left top, left bottom,from(#00CC18), color-stop(0.5,#02AF1E), color-stop(0.5,#1F9C00), to(#00960C));
	filter: progid:DXImageTransform.Microsoft .gradient(GradientType=0,startColorstr='#ff02af1e', endColorstr='#ff00960c');
	background: -moz-linear-gradient(top, #02af1e, #00960c);
	background: linear-gradient(to bottom, #00cc18, #00960c);
}

#slider-wrapper .camera_thumbs .camera_thumbs_cont { background:none; }
.content-holder {
	margin:0;
	padding: 0px 0 33px 0;
	background: #f0eeef;
}

.footer {
	background:#74bc48;
}

.footer ul li {
    background:none;
	margin:0 0 16px 0;
	padding:0 0 0 11px;
	list-style:none;
	line-height:18px;
	font-size:16px;
	color:#4c4848;
}

.footer .footer-nav ul li {
	background:none;
	margin:0 5px 0 0;
	padding:10px 0 0 11px;
	width: 150px;
	height: 30px;
	border: 3px solid #ffffff;
}

.footer .footer-nav ul li:first-child {
	width: 150px;
	height: 30px;
	border: 3px solid #ffffff;
}

.footer .footer-nav ul li a {
	text-decoration:none;
	color: #fff;
	font-size: 100%;
	margin: 5px 0px;
}

.footer .footer-text {
	float:none;
	margin:53px 0 0 0;
	line-height:16px;
	font-size:12px;
	color:#ffffff;
}

.footer .footer-text a {
	text-decoration:none;
	color:#ffffff;
}
.footer .footer-text a:hover {
	text-decoration:none;
	color:#ffffff;
}

.title-section ul {
	background:none;
	padding:17px 0 11px 0;
	border-top:1px solid #7dbf27;
	border-bottom:1px solid #7dbf27;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
}
.w1 {
	width: 36px;
	padding-left: 10px;
	padding-right: 10px;
}
/*会社概要*/
table tr th.thcompany {
    width: 15%;
}
/*お問合せフォーム*/
div#trust-form.contact-form table th {
    width: 20%;
}

.su-tabs {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.su-tabs-pane {
    -webkit-overflow-scrolling: touch;
}

.horizontal-only
{
	height: auto;
	max-height: 200px;
}
.su-tabs-pane {
    overflow-x: visible !important;
}
.footer .footer-nav ul li {
    width: 180px !important;
}

@media screen and (min-width: 768px) and (max-width: 979px) {
  .footer .span6 {
    width:724px;
  }
}

.footer .footer-text strong a {
  word-break:keep-all;
}

@media screen and (max-width:767px) {
  .content-holder .container {
    margin:0px 20px;
  }

  .logo img {
    width:auto;
    height:auto;
    margin:0px;
  }

}

@media screen and (max-width:640px) {
  .footer .footer-text strong a {
    font-size:20px;
  }
}

@media screen and (max-width:576px) {
  .header .logo {
    margin-bottom:70px !important;
  }
}

@media screen and (max-width:480px) {
  .footer .footer-text strong a {
    font-size:16px;
  }
}

@media screen and (max-width:400px) {
  .footer .footer-text strong a {
    font-size:14px;
  }
}

@media screen and (max-width:320px) {
  .footer .footer-text strong a {
    font-size:10px;
  }
}
