﻿/**************************************************

umpire.css
Feb-15-2024

**************************************************/

/******************************/

header nav li:nth-child(6) a {
	color: #ffffff;
	background: #008000;
	background: linear-gradient(#006400, #009900);
}

/******************************/

#mainbox2 p {
	width: 98%;
	margin: 10px auto;
	font-size: 14px;
	line-height: 1.5;
	color: #333333;
}

section {
	width: 100%;
	margin: 10px auto 40px;
	padding: 0px;
}

/******************************/

table.schedule {
	width: 98%;
	max-width: 640px;
	margin: 10px auto;
	padding: 0 0 10px;
	border-collapse: separate;
	border-spacing: 6px;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 1.2;
	background: #ccffa0;
	border-radius: 9px 9px 0 0;
}

img {
	width: 40%;
}

table.schedule caption {
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	margin: 5px 0px;
	padding: 0;
}

table.schedule th {
	width: 50%;
	padding: 0.5em 1em;
	font-size: 18px;
	font-weight: bold;
	border-radius: 6px;
	border: 1px solid;
}

table.schedule th:nth-child(1) {
	background: #ccc;
	color: #000;
	border-color: #888;
}

table.schedule th:nth-child(2) {
	background: #008;
	color: #fff;
	border-color: #004;
}

table.schedule td {
	padding: 0.5em 1em;
	text-align: center;
	border-radius: 6px;
}

table.schedule td.Z,
table.schedule td.M {
	background: white;
}

table.schedule td.Z {
	border: 1px solid #888;
}

table.schedule td.M {
	border: 1px solid #008;
}

table.schedule .date,
table.schedule tr:nth-child(2) .title {
	display: block;
	width: 100%;
	margin: 0 auto;
	padding: 1px 0;
}

table.schedule tr:nth-child(2) td.Z .date,
table.schedule tr:nth-child(2) td.Z .title {
	background: #ccc;
}

table.schedule tr:nth-child(2) td.M .date,
table.schedule tr:nth-child(2) td.M .title {
	background: #008;
	color: white;
}

table.schedule tr:nth-child(2) td.Z .date,
table.schedule tr:nth-child(2) td.M .date {
	border-radius: 6px 6px 0 0;
}

table.schedule tr:nth-child(2) td.Z .title,
table.schedule tr:nth-child(2) td.M .title {
	border-radius: 0 0 6px 6px;
}

table.schedule .keeper {
	display: block;
	margin: 3px auto;
	font-size: 18px;
	font-weight: bold;
}

table.schedule img {
	width: 60%;
	max-width: 120px;
}

/*******************************/
table.schedule .md,
table.schedule .weekday {
	display: inline-block;
	vertical-align: middle;
	margin: 0 1px;
}

table.schedule .md {
	font-size: 18px;
}

table.schedule .weekday {
	font-size: 12px;
}

table.schedule .timeplace,
table.schedule .vs,
table.schedule .toolZ, table.schedule .toolM,
table.schedule .umpire {
	display: block;
}

table.schedule .vs {
	font-size: 18px;
	font-weight: bold;
}

table.schedule .toolZ,
table.schedule .toolM {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	border-radius: 0.5em;
}

table.schedule .toolZ {
	background: #ccc;
}

table.schedule .toolM {
	background: #008;
	color: white;
}

/*******************************/
/*******************************/

table.contents {
	width: 98%;
	max-width: 640px;
	margin: 10px auto;
	border-collapse: separate;
	border-spacing: 6px 0;
	font-size: 14px;
}

table.contents caption {
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2;
	margin: 5px 0px;
	padding: 0;
}

table.contents th {
	width: 50%;
	padding: 0.5em 0;
	font-size: 18px;
	border: 1px solid;
	border-radius: 6px 6px 0 0;
}

table.contents th:first-child {
	background: #ccc;
	border-color: #888;
}

table.contents th:last-child {
	background: #008;
	color: #fff;
	border-color: #004;
}

table.contents td {
	background: white;
	padding: 6px 0 6px;
	box-sizing: border-box;
	text-align: center;
	border-left: 1px solid;
	border-right: 1px solid;
}

table.contents tr:last-child td {
	border-bottom: 1px solid;
	border-radius: 0 0 6px 6px;
}

table.contents td:first-child {
	border-color: #888;
}

table.contents tr:last-child td:first-child {
	border-color: #888;
}

table.contents td:last-child {
	border-color: #004;
}

table.contents tr:last-child td:last-child {
	border-color: #008;
}

#mainbox2 table.contents td img {
	display: block;
	width: 75%;
	max-width: 200px;
	min-width: 135px;
	margin: 0 auto 4px;
}

/* ***** */

#mainbox2 p.document {
	display: flex;
	justify-content: space-evenly;
	width: 100%;
	max-width: 640px;
	margin: 50px auto;
	padding: 0;
	text-align: center;
	flex-wrap: wrap;
}

#mainbox2 p.document a {
	display: inline-block;
	width: 46%;
	max-width: 300px;
	margin: 0.5em 1%;
	padding: 0.5em 0.5em;
	box-sizing: border-box;
	border-radius: 1em;
	color: #b30b00;
	border: 2px solid #b30b00;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.25;
}

#mainbox2 p.document a:nth-child(3) {
	color: #17864d;
	border-color: #17864d;
}

#mainbox2 p.document a:nth-child(4) {
	color: #c94a26;
	border-color: #c94a26;
}

#mainbox2 p.document a:hover {
	color: white;
	background-color: #b30b00;
}

#mainbox2 p.document a:nth-child(3):hover {
	background-color: #17864d;
}

#mainbox2 p.document a:nth-child(4):hover {
	background-color: #c94a26;
}

@media screen and (min-width:480px) {
	/**************************************************

	Stylesheet: 480px以上（iPhone5/SE横）に適用

	**************************************************/
}

@media screen and (min-width:600px) {

	/**************************************************
	
	Stylesheet: 600px以上（iPhone6/7/8横、iPad縦）に適用
	
	**************************************************/
	.umpire br {
		display: none;
	}
}

@media screen and (min-width:960px) {
	/**************************************************
		
		Stylesheet: 960px以上（iPad横、PC）に適用
		
		**************************************************/
}

@media screen and (min-width:1280px) {
	/**************************************************
			
			Stylesheet: 1280px以上（PC）に適用
			
			**************************************************/
}