@charset "utf-8";

#checkBox {
	margin-top: 1em;
	padding: 0 0 10px;
	border: 1px solid #cdcdcd;
}
#checkBox:after {
	content: '';
	display: block;
	clear: both;
}
#checkBox ul {
	margin-top: 0;
	padding-left: 0;
}
#checkBox li {
	float: left;
	display: block;
	margin: 10px 0 0 -1px;
	padding: 0 20px 0 35px;
	color: #c80000;
	white-space: nowrap;
	line-height: 30px;
	background: url(/ja/rugby/shared/images/bg_game.png) 15px -30px no-repeat;
	border-left: 1px solid #cdcdcd;
	cursor: pointer;
}
#checkBox .selected {
	background-position: 15px 0;
}
#checkBox li:before {
	display: none;
}
section {
	margin-top: 1.5em;
}
section table {
	width: 100%;
}
section th,
section td {
	padding: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
section table a {
	display: inline-block;
	color: #0064d7;
	text-decoration: none;
}
.place a {
	position: relative;
	padding-left: 10px;
	min-height: 12px;
}
.place a:before {
	content: '';
	position: absolute;
	top: 0.7em;
	left: 0;
	display: block;
	width: 0;
	height: 0;
	margin-top: -3px;
	border-style: solid;
	border-width: 3.5px 0 3.5px 5px;
	border-color: transparent transparent transparent #0064d7;
}
section th,
.date,
.result p {
	text-align: center;
}
article table img {
	vertical-align: middle;
}
section tbody th {
	width: 5em;
}
.date,
.record {
	width: 8em;
}
.result {
	width: 9em;
}
.place {
	width: 20%;
}
.opponent p {
	display: table;
	margin: 0;
}
.opponent span {
	display: table-cell;
	font-size: 1.2em;
	font-weight: bold;
	vertical-align: middle;
}
.opponent .logo {
	width: 70px;
	padding: 0 10px;
	text-align: center;
}
.opponent .logo img {
	max-width: 70px;
}
.result p {
	display: none;
	width: 7em;
	margin: 0 auto;
}
.result span {
	display: block;
	font-weight: bold;
}
.result span:first-child {
	color: #fff;
	line-height: 26px;
}
.result span+span {
	font-size: 1.4em;
	line-height: 30px;
}
.result .win {
	display: block;
	border: 1px solid #c80000;
}
.result .win span:first-child {
	background-color: #c80000;
}
.result .draw {
	display: block;
	border: 1px solid #e67d00;
}
.result .draw span:first-child {
	background-color: #e67d00;
}
.result .lose {
	display: block;
	border: 1px solid #878787;
}
.result .lose span:first-child {
	background-color: #878787;
}
.result .play {
	display: block;
}
.result .play span:first-child {
	display: none;
}
.record ul {
	padding-left: 0;
}
.record li {
	padding-left: 18px;
	line-height: 20px;
	white-space: nowrap;
	background: url(/ja/rugby/shared/images/bg_game.png) 0 20px no-repeat;
}
.record li:before {
	display: none;
}
.record .info {
	background-position: 0 -100px;
}
.record .report {
	background-position: 0 -80px;
}
.record .gallery {
	background-position: 0 -60px;
}
@media only screen and (max-width: 700px) {
	#checkBox {
		margin: 0;
		padding: 0;
		border-style: none;
	}
	#checkBox li {
		width: 48%;
		padding: 0;
		text-align: center;
		background-image: none;
		border: 1px solid #cdcdcd;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}
	#checkBox li:before {
		position: static;
		display: inline-block;
		width: 17px;
		height: 28px;
		vertical-align: middle;
		background: url(/ja/rugby/shared/images/bg_game.png) 0 -30px no-repeat;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
	}
	#checkBox .selected:before {
		background-position: 0 0;
	}
	#checkBox li:nth-child(even) {
		float: right;
	}
	section table {
		margin-top: 0;
	}
	section thead {
		display: none;
	}
	section tbody,
	section tbody tr,
	section tbody th,
	section tbody td {
		display: block;
	}
	section tbody th,
	section tbody td {
		width: 100% !important;
	}
	section tbody th {
		margin-top: 25px;
		border-width: 0 0 2px;
		border-color: #fff;
	}
	section tbody td {
		position: relative;
		margin-top: -1px;
		padding-left: 11em;
		text-align: left !important;
		overflow: hidden;
	}
	section tbody td:before {
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		width: 10em;
		margin-top: -50.7em;
		padding: 50em 0;
		text-align: center;
		color: #fff;
		background-color: #333;
		border-right: 1px solid #cdcdcd;
	}
	.result p {
		float: left;
		text-align: center;
	}
	.result p:after {
		content: '';
		display: block;
		clear: both;
	}
	.result span:first-child {
		min-width: 3em;
	}
	.result span+span {
		min-width: 5em;
	}
	.date:before {
		content: 'キックオフ';
	}
	.opponent:before {
		content: '対戦チーム';
	}
	.place:before {
		content: '会場';
	}
	.result:before {
		content: '結果・スコア';
	}
	.record:before {
		content: '記録';
	}
	.date br {
		display: none;
	}
	.result p {
		display: inline-block;
		width: auto;
		margin-left: 0;
	}
	.result span {
		float: left;
		padding: 0 .5em;
		line-height: 32px !important;
	}
	.opponent .logo {
		width: 50px;
	}
	.opponent .logo img {
		max-width: 50px;
	}
}
@media only screen and (min-width: 701px) and (max-width: 800px),
		only screen and (max-width: 479px) {
	.opponent p,
	.opponent span {
		display: block;
		text-align: center;
	}
	.opponent .logo {
		position: static;
		width: auto;
		height: auto;
		margin: 0 0 .5em;
		padding: 0 !important;
		line-height: 0;
	}
}
@media only screen and (max-width: 479px) {
	#checkBox li {
		float: none !important;
		width: auto;
		text-align: left;
	}
	#checkBox li:before {
		margin-left: 10px;
	}
	section tbody td {
		padding-left: 9em !important;
	}
	section tbody td:before {
		width: 8em;
	}
}
div[class*='hv_'] {
	box-sizing:  border-box;
	color: #fff;
	display: block;
	font-size: .75rem;
	line-height: 1.6;
	margin: 0 0 8px;
	max-width: 100%;
	padding: 0 8px;
	text-align: center;
	width: 8em;
}
div.hv_host {
	background-color: #000;
}
div.hv_visitor_red {
	background-color: #b51e30;
}
div.hv_visitor_yellow {
	background-color: #cabc1c;
}
div.hv_visitor_green {
	background-color: #147151;
}
div.hv_visitor_blue {
	background-color: #2146a4;
}