/*
	共通スタイル
*/

html {
	background-image: url("../img/vegetable.jpg");
	background-size: 100%;
	font-size: 16px;
	line-height: 1.5;
}

body {
	position: relative;
	max-width: 80rem;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.9);
}
header, section, footer {
	padding: 1rem;
}

h1 {
	color: darkgreen;
	font-size: 3rem;
	text-shadow: 0.3rem 0.3rem 0.3rem cornsilk;
	background-color: rgba(255, 250, 205, 0.7);
	border-radius: 3rem;
}

h2 {
	color: darkgreen;
	font-size: 2rem;
}

h3 {
	color: darkgreen;
	font-size: 1.5rem;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	font-weight: bold;
}

li {
	list-style: none;
}

button {
	font-size: 1rem;
	padding: 0.2rem 1.5rem;
	margin-left: 2rem;
	background-color: lightgray;
	outline: none;
	border-radius: 1rem;
}

button:hover {
	background-color: gray;
}

table {
	width: 100%;
	background-color: rgba(255, 255, 255, 0.9);
	border: solid 2px green;
}

thead {
	font-weight: bold;
}

th {
	border-bottom: solid 2px green;
	border-left: solid 1px green;
}

tr td {
	padding: 0.3rem;
	color: black;
	border-top: solid 1px lightgreen;
	border-left: solid 1px lightgreen;
}

/*
	農研機構ヘッダー
*/

/*#naro-header {
}*/

#naro-header img {
	float: left;
}

#naro-header ul {
	display: inline-block;
	/*float: right;*/
}

#naro-header li {
	display: inline-block;
	padding: 0 1rem;
}

#naro-header li:hover {
	font-weight: bold;
}

/*
	最適貯蔵条件ヘッダー
*/

#optimal-header {
	clear: both;
	background-image: url(../img/vegetable.jpg);
	border-top: solid 3px green;
	border-bottom: solid 3px green;
}

#optimal-header h1 {
	width: 36rem;
	margin: 3rem auto;
	padding: 0.6rem 0 0.3rem;
	text-align: center;
}

.date {
	margin: 0;
	padding: 0;
	text-align: right;
}

/*
	説明
*/

#explanation div.text {
	margin: 0 2rem;
}

/*
	一覧
*/

#list caption {
	font-size: 1.5rem;
	font-weight: bold;
}

#list th {
	/*width: 3%;*/
	vertical-align: bottom;
}

#list input,select {
	width: 90%;
	height: 1.5rem;
}

#list td {
	text-align: center;
}

#list td.very-low,td.unnecessary {
	background-color: lightgray;
}

#list td.low,td.short {
	background-color: lightblue;
}

#list td.middle,td.perforated {
	background-color: palegreen;
}

#list td.high,td.long,td.effective {
	background-color: pink;
}

#list td.very-high {
	background-color: pink;
}

#list td.vegetable {
	background-color: #66CC66;
}
#list td.fruits {
	background-color: #FFCC99;
}
/*
	最適貯蔵条件フッター
*/

#optimal-footer {
	margin-top: 1rem;
	text-align: center;
	background-color: cornsilk;
	border-top: solid 3px green;
}

#optimal-footer p {
	color: gray;
	margin: 0;
}

/*
	ページトップ移動ボタン
*/

#to-top {
	opacity: 0.3;
	position: fixed;
	bottom: 0;
	left: 0;
}

#to-top.not-show {
	display: none;
}

#to-top i {
	font-size: 2rem;
	color: black;
}

#to-top:hover {
	opacity: 1;
}
